S390: Move utf16-utf32-z9.c to multiarch folder and use s390_libc_ifunc_expr macro.
[glibc.git] / ChangeLog
blob74de16248297d775480430c1601dd29f6febf986
1 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
4         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
7         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
8         New Define.
10 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
12         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
13         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
14         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
15         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
16         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
17         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
19 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
21         * sysdeps/s390/multiarch/ifunc-resolve.h
22         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
23         * sysdeps/s390/multiarch/8bit-generic.c
24         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
25         define ifunc resolvers.
27 2017-04-21  Florian Weimer  <fweimer@redhat.com>
29         [BZ #20424]
30         * manual/memory.texi (Replacing malloc): New section.
31         (Allocating Storage For Program Data): Reference it.
32         (The GNU Allocator): Likewise.
34 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
36         * stdlib/Versions (__strtod_internal): List explicitly, not as
37         wildcard.
38         (__strtof_internal): Likewise.
39         (__strtold_internal): Likewise.
40         (__strtol_internal): Likewise.
41         (__strtoll_internal): Likewise.
42         (__strtoul_internal): Likewise.
43         (__strtoull_internal): Likewise.
44         (__strtoq_internal): Likewise.
45         (__strtouq_internal): Likewise.
46         * wcsmbs/Versions (__wcstod_internal): Likewise.
47         (__wcstof_internal): Likewise.
48         (__wcstold_internal): Likewise.
49         (__wcstol_internal): Likewise.
50         (__wcstoll_internal): Likewise.
51         (__wcstoul_internal): Likewise.
52         (__wcstoull_internal): Likewise.
54 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
56         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
57         struct timespec definition.
59 2017-04-19  Florian Weimer  <fweimer@redhat.com>
61         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
63 2017-04-19  Florian Weimer  <fweimer@redhat.com>
65         * inet/rcmd.c (rresvport_af): Fix typo in comment.
66         * inet/rexec.c (rexec_af): Likewise.
68 2017-04-19  Zack Weinberg  <zackw@panix.com>
70         * posix/tst-mmap-offset.c: Include stdint.h.
71         * resolv/tst-ns_name_compress.c: Include string.h.
72         * resolv/tst-resolv-edns.c: Include resolv.h.
74 2017-04-19  Florian Weimer  <fweimer@redhat.com>
76         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
77         with __glibc_likely.
78         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
79         Replace __builtin_expect with __glibc_unlikely.
80         * resolv/res_init.c (__res_vinit): Likewise.
81         * resolv/res_query.c (__libc_res_nquery): Likewise.
82         * resolv/res_send.c (__libc_res_nsend): Likewise.
84 2017-04-19  Florian Weimer  <fweimer@redhat.com>
86         [BZ #15722]
87         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
88         with SOCK_CLOEXEC.
89         * resolv/res_send.c (send_vc, reopen): Likewise.
90         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
91         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
92         Likewise.
93         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
94         * inet/rexec.c (rexec_af): Add comment.
95         * inet/rcmd.c (rresvport_af): Likewise.
97 2017-04-19  Florian Weimer  <fweimer@redhat.com>
99         * nscd/connections.c (have_accept4): Removed definition.
100         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
101         accept4 works.
102         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
103         ia64 because that was the first version with accept4 support.
104         * support/Makefile (libsupport-routines): Add xaccept4.
105         * support/xsocket.h (xaccept4): Declare.
106         * support/xaccept4.c: New file.
107         * socket/tst-accept4.c: New file.
108         * socket/Makefile (tests): Add tst-accept4.
109         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
110         definition.
111         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
112         comment.
113         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
114         implementation is available.
115         (accept4): Use the system call if available, otherwise use the
116         socket call.
117         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
118         Set to 3.2.18.
119         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
120         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
121         accept4 is unconditionally available in later 3.2 stable kernels.
122         (__ASSUME_ACCEPT4_SYSCALL): Define.
123         * sysdeps/unix/sysv/linux/kernel-features.h
124         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
125         definitions.
126         * sysdeps/unix/sysv/linux/i386/kernel-features.h
127         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
129 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
131         * conform/Makefile (tests-special): Do not make addition of
132         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
133         (generated): Do not make addition of $(conformtest-header-base)
134         conditional on [$(cross-compiling) = no].
136         [BZ #21267]
137         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
138         if defined by <asm/socket.h> and not previously defined.
139         (IOCSIZE_SHIFT): Likewise.
140         (IOC_IN): Likewise.
141         (IOC_INOUT): Likewise.
142         (IOC_OUT): Likewise.
144 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
146         [BZ #21396]
147         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
148         Prefer_No_AVX512 if AVX512ER isn't available.
149         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
150         (index_arch_Prefer_No_AVX512): Likewise.
151         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
152         AVX512 version if Prefer_No_AVX512 is set.
153         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
154         Likewise.
155         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
156         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
157         Likewise.
158         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
159         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
160         Likewise.
161         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
162         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
163         Likewise.
165 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
167         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
168         Prefer_No_VZEROUPPER if AVX512ER is available.
169         * sysdeps/x86/cpu-features.h
170         (bit_cpu_AVX512PF): New.
171         (bit_cpu_AVX512ER): Likewise.
172         (bit_cpu_AVX512CD): Likewise.
173         (bit_cpu_AVX512BW): Likewise.
174         (bit_cpu_AVX512VL): Likewise.
175         (index_cpu_AVX512PF): Likewise.
176         (index_cpu_AVX512ER): Likewise.
177         (index_cpu_AVX512CD): Likewise.
178         (index_cpu_AVX512BW): Likewise.
179         (index_cpu_AVX512VL): Likewise.
180         (reg_AVX512PF): Likewise.
181         (reg_AVX512ER): Likewise.
182         (reg_AVX512CD): Likewise.
183         (reg_AVX512BW): Likewise.
184         (reg_AVX512VL): Likewise.
186 2017-04-18  Florian Weimer  <fweimer@redhat.com>
188         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
189         O_CLOEXEC is defined.
190         * include/fcntl.h (__have_o_cloexec): Remove declaration.
191         * io/Makefile (aux): Remove.
192         * io/have_o_cloexec.c: Remove file.
193         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
194         defined and works.
195         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
196         defined.
197         * login/utmp_file.c (O_flags): Remove definition.
198         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
199         O_CLOEXEC works.
200         (pututline_file): Likewise.
201         * malloc/mtrace.c: Assume that O_CLOEXEC works.
202         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
203         definition.
204         (internal_setgrent): Assume that O_CLOEXEC works.
205         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
206         Remove definition.
207         (internal_setgrent): Assume that O_CLOEXEC works.
208         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
209         definition.
210         (internal_setpwent): Assume that O_CLOEXEC works.
211         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
212         definition.
213         (internal_setspent): Assume that O_CLOEXEC works.
214         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
215         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
216         O_CLOEXEC is defined and works.
217         * nss/Makefile (libnss_files-routines): Remove
218         files-have_o_cloexec.
219         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
220         defined.
221         * nss/nss_files/files-XXX.c (internal_setent): Assume that
222         O_CLOEXEC is defined and works.
223         * nss/nss_files/files-alias.c (internal_setent): Likewise.
224         * nss/nss_files/files-have_o_cloexec.c: Remove.
225         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
226         defined.
227         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
228         and works.
229         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
230         definition.
231         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
232         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
233         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
234         (__opendirat, __opendir): Adjust opendir_oflags call.
235         (check_have_o_cloexec): Remove.
236         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
237         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
238         defined.
239         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
240         Remove definition.
242 2017-04-18  Florian Weimer  <fweimer@redhat.com>
244         * include/unistd.h (__have_dup3): Remove declaration.
245         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
246         dup3 is available.
247         * libio/freopen64.c (freopen64): Likewise.
248         * socket/Makefile (aux): Remove have_sock_cloexec.
249         * socket/have_sock_cloexec.c: Remove file.
250         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
251         definition.
252         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
253         Likewise.
254         * sysdeps/nacl/kernel-features.h: Update comment.
256 2017-04-18  Florian Weimer  <fweimer@redhat.com>
258         * include/unistd.h (__have_pipe2): Remove declaration.
259         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
260         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
261         available.
262         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
263         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
264         Remove definition.
266 2017-04-18  Florian Weimer  <fweimer@redhat.com>
268         * malloc/malloc.c (cfree): Turn into compat symbol.
269         (__cfree): Remove alias.
270         * stdlib/stdlib.h (cfree): Remove declaration.
271         * malloc/malloc.h (cfree): Likewise.
272         * manual/memory.texi (Freeing after Malloc): Remove cfree.
273         * malloc/Versions (GLIBC_2.26): Add.
275 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
277         * sysdeps/powerpc/powerpc64/multiarch/Makefile
278         (sysdep_routines): Add strrchr-power8.
279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
280         (strrchr): Add __strrchr_power8 to list of strrchr functions.
281         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
282         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
283         (strrchr): Add __strrchr_power8 to ifunc list.
284         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
286 2017-04-17  Rabin Vincent  <rabinv@axis.com>
288         [BZ #21357]
289         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
290         Call free() outside of mutex.
292 2017-04-13  Florian Weimer  <fweimer@redhat.com>
294         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
295         is defined.
296         * elf/rtld.c (process_envvars): Likewise.
297         * sysdeps/posix/shm_open.c (shm_open): Likewise.
298         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
299         O_NOFOLLOW directly.
300         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
302 2017-04-13  Florian Weimer  <fweimer@redhat.com>
304         [BZ #21369]
305         Remove EDNS fallback.
306         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
307         handling.
308         * resolv/res_send.c (send_dg): Likewise.
309         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
310         "tcp." prefixes.
311         (do_test): Send a "formerr."-prefixed query in an attempt to
312         trigger EDNS fallback.
314 2017-04-13  Florian Weimer  <fweimer@redhat.com>
316         [BZ #21361]
317         Limit EDNS buffer size to 1200 bytes.
318         * include/resolv.h (__res_nopt): Remove declaration.
319         * resolv/Makefile (tests): tst-resolv-edns.
320         (tst-resolv-edns): Link with -lresolv, -lpthread.
321         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
322         interval [512, 1200].
323         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
324         we can resize the buffer.
325         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
326         (__res_nopt): Declare.
327         * resolv/tst-resolv-edns.c: New file.
328         * resolv/resolv_test.h (struct resolv_edns_info): Define.
329         (struct resolv_response_context): Add edns member.
330         * resolv/resolv_test.c (struct query_info): Add edns member.
331         (parse_query): Extract EDNS information from the query.
332         (server_thread_udp_process_one): Propagate EDNS data.
333         (server_thread_tcp_client): Likewise.
335 2017-04-13  Florian Weimer  <fweimer@redhat.com>
337         [BZ #21359]
338         * resolv/ns_name.c (ns_name_pack): Do not require an additional
339         byte in the destination buffer.  Avoid out-of-bounds pointer
340         arithmetic.
341         * resolv/Makefile (tests): Add tst-ns_name_compress.
342         (tst-ns_name_compress): Link with -lresolv.
343         * resolv/tst-ns_name_compress.c: New file.
344         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
345         (response): Recognize LONG_NAME.
346         (do_test): Add LONG_NAME tests.
347         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
348         for ns_name_unpack.  Add tests for ns_name_pton and
349         ns_name_compress.
351 2017-04-13  Florian Weimer  <fweimer@redhat.com>
353         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
354         (res_nisourserver): Remove definition.
355         (p_section, res_npquery, res_nisourserver): Remove declaration.
356         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
357         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
358         ... here.
359         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
360         <resolv.h>.
361         * resolv/res_query.c: Likewise.
362         * resolv/res_debug.c (p_section): Define as static.
364 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
366         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
367         strncat-power8.
368         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
369         __strncat_power8 to ifunc list.
370         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
371         (strncat): Add __strncat_power8 to list of strncat functions.
372         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
374 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
376         [BZ #21270]
377         * posix/tst-mmap-offset.c (do_prepare): New function.
378         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
379         (do_test_bz21270): New function.
380         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
381         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
382         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
383         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
384         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
385         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
386         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
387         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
388         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
389         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
390         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
391         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
392         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
393         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
394         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
395         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
396         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
397         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
398         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
399         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
400         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
401         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
402         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
403         from auto-generation list.
404         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
405         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
406         * sysdeps/unix/sysv/linux/mmap.c: New file.
407         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
408         offsets and support for mmap2 syscall.
410         * posix/globtest.sh: Add cleanup routine on trap 0.
412 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
414         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
415         implementation-specific function name and remove unneeded
416         macros definition.
417         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
418         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
419         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
420         name if not defined and pass as parameter to macros accordingly.
421         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
422         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
424         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
425         implementation-specific function name and remove unneeded
426         macros definition.
427         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
428         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
429         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
430         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
431         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
432         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
433         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
434         name if not defined and pass as parameter to macros accordingly.
435         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
436         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
437         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
438         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
439         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
440         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
442         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
443         implementation-specific function name and remove unneeded macros
444         definition.
445         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
446         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
447         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
448         function name if not defined and pass as parameter to macros
449         accordingly.
450         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
451         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
453         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
454         implementation-specific function name and remove unneeded macros
455         definition.
456         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
457         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
458         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
459         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
460         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
461         not defined and pass as parameter to macros accordingly.
462         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
463         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
464         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
465         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
467         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
468         strcasestr implementation name and remove unneeded macros definition.
469         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
470         strstr implementation name and remove unneeded macros definition.
471         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
472         name if not defined and pass as parameter to macros accordingly.
473         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
475         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
476         implementation-specific function name and remove unneeded macros
477         definition.
478         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
479         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
480         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
481         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
482         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
483         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
484         function name if not defined and pass as parameter to macros
485         accordingly.
486         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
487         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
488         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
489         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
491         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
492         the strlen implementation name and remove unneeded macros definition.
493         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
494         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
495         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
496         the strnlen implementation name and remove unneeded macros definition.
497         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
498         name if not defined and pass as parameter to macros accordingly.
499         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
500         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
501         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
503         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
504         the implementation-specific function name and remove unneeded
505         macros definition.
506         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
507         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
508         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
509         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
510         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
511         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
512         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
513         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
514         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
515         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
516         name if not defined and pass as parameter to macros accordingly.
517         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
518         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
519         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
520         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
521         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
522         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
523         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
524         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
526         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
527         implementation-specific function name and remove unneeded macros
528         definition.
529         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
530         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
531         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
532         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
533         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
534         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
535         function name if not defined.
536         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
537         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
539 2017-04-11  Paul Clarke  <pc@us.ibm.com>
541         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
542         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
543         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
544         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
546 2017-04-11  Florian Weimer  <fweimer@redhat.com>
547             Zack Weinberg  <zackw@panix.com>
549         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
550         readdir64 as thread-safe.  Update warning about readdir_r.
552 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
554         * sysdeps/unix/sysv/linux/x86/Implies: New file.
555         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
556         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
557         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
558         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
559         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
560         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
562 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
564         * sysdeps/i386/dl-procinfo.c: Include
565         <sysdeps/x86/dl-procinfo.c>.
566         * sysdeps/x86_64/dl-procinfo.c: Likewise.
567         * sysdeps/x86/dl-procinfo.c: New file.
569 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
571         * sysdeps/generic/math_private.h: Remove declarations of
572         many functions that are already declared in math.h.
573         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
574         declaration for __frexpl.
575         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
576         the declarations for __scalbnl and fabsl.
578 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
580         [BZ #20831]
581         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
582         of __mprotect to change protection on the excess portion
583         to disallow all access.
585 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
587         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
588         HAS_CPU_FEATURE to check for SSE.
589         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
590         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
591         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
592         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
593         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
594         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
595         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
596         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
597         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
598         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
599         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
600         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
601         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
602         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
603         (index_cpu_SSE): Likewise.
604         (reg_SSE): Likewise.
606 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
608         * posix/getopt1.c: Include <config.h>, not "config.h".
610 2017-04-07  Zack Weinberg  <zackw@panix.com>
612         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
613         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
614         Mention in top-of-file boilerplate that these files are shared
615         with gnulib.
616         * posix/getopt.h, posix/bits/getopt_posix.h:
617         Mention in top-of-file boilerplate that these files are NOT shared
618         with gnulib, unlike the rest of the getopt implementation.
620         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
621         New files, intended to be shared with gnulib.
622         * posix/bits/getopt_posix.h:
623         New file, not intended to be shared with gnulib.
624         * posix/getopt.h: Now just includes features.h,
625         bits/getopt_core.h, and bits/getopt_ext.h.  Will
626         no longer be shared with gnulib.
627         * include/bits/getopt_core.h, include/bits/getopt_ext.h
628         * include/bits/getopt_posix.h: New wrappers.
629         * posix/Makefile: Install new headers.
630         * posix/unistd.h, libio/stdio.h:
631         Include bits/getopt_posix.h instead of getopt.h.
633         * include/libc-symbols.h: For gnulib compatibility, define
634         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
635         _GL_ATTRIBUTE_CONST.
636         * posix/getopt.c (_getopt_initialize): Mark argc and argv
637         parameters with _GL_UNUSED.
639         * posix/getopt.c: When used standalone, define __libc_use_alloca
640         as always false and alloca to abort if called.
641         (process_long_option): Rewrite handling of ambiguous long options
642         to use a single boolean vector, not a linked list; use
643         __libc_use_alloca to decide whether to allocate this using alloca.
644         * posix/tst-getopt_long1.c: Adjust text of expected error message.
646         * posix/getopt.c (process_long_option): New function split out
647         from _getopt_internal_r.
648         (_getopt_internal_r): Replace both copies of the long-option
649         processing code with calls to process_long_option.
650         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
651         (do_test): Differentiate argv[0] in the two subtests.
653         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
654         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
655         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
657         * posix/getopt.h: Add backup definition of __nonnull for
658         consistency with gnulib.  Define __getopt_argv_const to const
659         if not already defined.
660         (getopt): Update doc comment from gnulib.  Prototype
661         unconditionally.  Add __nonnull annotation.
662         (__posix_getopt): Add __nonnull annotation.
663         (getopt_long, getopt_long_only): Use __getopt_argv_const in
664         prototypes for consistency with gnulib.  Add __nonnull
665         annotations.
666         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
667         (getopt_internal): Change 'argv' argument to type 'char **'.
668         Remove now-unnecessary casts.
669         (getopt, __posix_getopt): Eliminate repetition with a macro.
670         Cast 'argv' to 'char **' when calling _getopt_internal.
671         * posix/getopt1.c (getopt_long, getopt_long_only):
672         Use __getopt_argv_const for consistency with gnulib.
673         Cast 'argv' to 'char **' when calling _getopt_internal.
674         (_getopt_long_r, _getopt_long_only_r):
675         Change 'argv' argument to type 'char **'.
676         (main): Constify 'long_options'.
677         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
678         (_getopt_long_r, _getopt_long_only_r):
679         Change 'argv' argument to type 'char **'.
681         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
682         (locked_vfxprintf): New helper function. Handle arbitrary
683         multibyte strings, not just ASCII.
684         * include/stdio.h: Declare __fxprintf_nocancel.
685         * posix/getopt.c: When _LIBC is defined, define fprintf to
686         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
687         to _IO_funlockfile.  When neither _LIBC nor
688         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
689         funlockfile as no-ops.
690         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
691         the standalone error-printing code can now be used for libc as
692         well.  Add an flockfile/funlockfile pair around one case where
693         the error message is printed in several chunks.  Don't use fputc.
694         * posix/tst-getopt-cancel.c: New test.
695         * posix/Makefile: Run it.
697         * posix/getopt.c (_getopt_internal_r): Don't increment
698         d->optind a second time when reporting ambiguous -W options.
700         * posix/getopt_int.h: Include getopt.h.
701         Use impl-namespace names for all arguments to _getopt_internal and
702         _getopt_internal_r.
703         Declare __ordering enum outside the struct.
704         Harmonize comments with gnulib.
705         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
706         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
707         #ifdef TEST block and make unconditional.  Do not define NULL.
708         * posix/getopt.c: Partial merge from gnulib, covering the
709         initial includes and global declarations, commentary, and
710         a couple of semantically-neutral code changes.
712         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
713         Use '...' instead of `...' for quotation marks inside
714         comments and strings.
716         * config.h.in (USE_NONOPTION_FLAGS): Remove.
717         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
718         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
719         * posix/getopt_int.h: Likewise.
720         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
721         __libc_argc and __libc_argv externs, which were only used by
722         #ifdef USE_NONOPTION_FLAGS blocks.
723         * posix/getopt_init.c: Remove file.
724         * posix/Makefile (routines): Remove getopt_init.
725         * include/getopt.h: Don't declare __getopt_initialize_environment.
726         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
727         a comment.
729 2017-04-07  Florian Weimer  <fweimer@redhat.com>
731         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
733 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
735         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
736         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
737         to __wrap_.udiv.
738         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
739         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
741         * sysdeps/i386/symbol-hacks.h: New file.
742         * sysdeps/m68k/symbol-hacks.h: New file.
743         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
744         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
745         * sysdeps/unix/sysv/linux/i386/Makefile
746         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
747         [$(subdir) = csu] (sysdep-only-routines): Likewise.
748         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
749         * sysdeps/unix/sysv/linux/m68k/Makefile
750         [$(subdir) = csu] (sysdep_routines): Likewise.
751         [$(subdir) = csu] (sysdep-only-routines): Likewise.
752         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
754         [$(subdir) = csu] (sysdep_routines): Likewise.
755         [$(subdir) = csu] (sysdep-only-routines): Likewise.
756         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
757         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
758         [$(subdir) = csu] (sysdep_routines): Likewise.
759         [$(subdir) = csu] (sysdep-only-routines): Likewise.
760         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
761         * sysdeps/wordsize-32/Makefile: Remove file.
762         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
763         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
765 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
767         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
768         (TEST_FUNCTION_ARGV): New.
770 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
772         * elf/next.c: Import support/test-driver.c instead of
773         test-skeleton.c and delete TEST_FUNCTION macro definition.
774         * elf/nodelete.c: Likewise.
775         * elf/order2.c: Likewise.
776         * elf/tst-_dl_addr_inside_object.c: Likewise.
777         * elf/tst-addr1.c: Likewise.
778         * elf/tst-align.c: Likewise.
779         * elf/tst-align2.c: Likewise.
780         * elf/tst-audit11.c: Likewise.
781         * elf/tst-audit12.c: Likewise.
782         * elf/tst-audit2.c: Likewise.
783         * elf/tst-audit9.c: Likewise.
784         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
785         * elf/tst-deep1.c: Likewise.
786         * elf/tst-dl-iter-static.c: Likewise.
787         * elf/tst-dlmodcount.c: Likewise.
788         * elf/tst-dlmopen1.c: Likewise.
789         * elf/tst-dlmopen2.c: Likewise.
790         * elf/tst-dlmopen3.c: Likewise.
791         * elf/tst-dlopen-aout.c: Likewise.
792         * elf/tst-dlopenrpath.c: Likewise.
793         * elf/tst-dlsym-error.c: Likewise.
794         * elf/tst-execstack-needed.c: Likewise.
795         * elf/tst-execstack-prog.c: Likewise.
796         * elf/tst-execstack.c: Likewise.
797         * elf/tst-global1.c: Likewise.
798         * elf/tst-gnu2-tls1.c: Likewise.
799         * elf/tst-latepthread.c: Likewise.
800         * elf/tst-leaks1.c: Likewise.
801         * elf/tst-linkall-static.c: Likewise.
802         (do_test): New function.
803         * elf/tst-nodelete-opened.c: Likewise.
804         * elf/tst-nodelete.cc: Likewise.
805         * elf/tst-nodelete2.c: Likewise.
806         * elf/tst-noload.c: Likewise.
807         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
808         * elf/tst-order-main.c: Likewise.
809         * elf/tst-pathopt.c: Likewise.
810         * elf/tst-pie2.c: Likewise.
811         * elf/tst-piemod1.c: Likewise.
812         * elf/tst-prelink.c: Likewise.
813         * elf/tst-protected1a.c: Likewise.
814         * elf/tst-protected1b.c: Likewise.
815         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
816         and define _GNU_SOURCE macro.
817         (cmdline_process_function): New function.
818         * elf/tst-relsort1.c: Likewise.
819         * elf/tst-stackguard1.c: Likewise, import getopt.h,
820         and define _GNU_SOURCE macro.
821         (cmdline_process_function): New function.
822         * elf/tst-thrlock.c: Likewise.
823         * elf/tst-tls-dlinfo.c: Likewise.
824         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
825         * elf/tst-tls1.c: Likewise.
826         * elf/tst-tls10.c: Likewise.
827         * elf/tst-tls11.c: Likewise.
828         * elf/tst-tls12.c: Likewise.
829         * elf/tst-tls13.c: Likewise.
830         * elf/tst-tls14.c: Likewise.
831         * elf/tst-tls15.c: Likewise.
832         * elf/tst-tls16.c: Likewise.
833         * elf/tst-tls17.c: Likewise.
834         * elf/tst-tls18.c: Likewise.
835         * elf/tst-tls19.c: Likewise.
836         * elf/tst-tls2.c: Likewise.
837         * elf/tst-tls3.c: Likewise.
838         * elf/tst-tls4.c: Likewise.
839         * elf/tst-tls5.c: Likewise.
840         * elf/tst-tls6.c: Likewise.
841         * elf/tst-tls7.c: Likewise.
842         * elf/tst-tls8.c: Likewise.
843         * elf/tst-tls9.c: Likewise.
844         * elf/tst-tlsalign-extern.c: Likewise.
845         * elf/tst-tlsalign.c: Likewise.
846         * elf/tst-unique1.c: Likewise.
847         * elf/tst-unique2.c: Likewise.
848         * elf/vismain.c: Likewise.
850 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
852         * string/test-strnlen.c (do_page_tests): New function
853         to check length of strings ending at the page boundary.
854         (test_main): Added call to the do_page_tests function.
856 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
857             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
859         * sysdeps/powerpc/powerpc64/multiarch/Makefile
860         (sysdep_routines): Add strnlen-power8.
861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
862         (strnlen): Add __strnlen_power8 to list of strnlen functions.
863         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
864         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
865         (__strnlen): Add __strnlen_power8 to ifunc list.
866         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
868 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
870         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
871         the TEST_FUNCTION macro definition.
872         * wcsmbs/tst-mbrtowc2.c: Likewise.
873         * wcsmbs/tst-mbsrtowcs.c: Likewise.
874         * wcsmbs/tst-wchar-h.c: Likewise.
875         * wcsmbs/tst-wcpncpy.c: Likewise.
876         * wcsmbs/tst-wcrtomb.c: Likewise.
877         * wcsmbs/tst-wcsnlen.c: Likewise.
878         * wcsmbs/tst-wcstof.c: Likewise.
880 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
882         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
883         CALL_THREAD_FCT macro usage.
884         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
885         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
886         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
888         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
889         * sysdeps/unix/sysv/linux/arm/kernel-features.h
890         (__ASSUME_REQUEUE_PI): Likewise.
891         * sysdeps/unix/sysv/linux/kernel-features.h
892         (__ASSUME_REQUEUE_PI): Likewise.
893         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
894         (__ASSUME_REQUEUE_PI): Likewise.
895         * sysdeps/unix/sysv/linux/mips/kernel-features.h
896         (__ASSUME_REQUEUE_PI): Likewise.
897         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
898         (__ASSUME_REQUEUE_PI): Likewise.
900 2017-04-04  Florian Weimer  <fweimer@redhat.com>
902         * resolv/tst-resolv-canonname.c: New file.
903         * resolv/Makefile (tests): Add tst-resolv-canonname.
904         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
906 2017-04-04  Florian Weimer  <fweimer@redhat.com>
908         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
909         Declare.
910         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
911         (NS_MAXCDNAME): Remove definition.
912         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
913         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
914         (NS_MAXCDNAME): Remove definition.
915         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
917 2017-04-04  Florian Weimer  <fweimer@redhat.com>
919         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
920         call whose result is not used.
922 2017-04-04  Florian Weimer  <fweimer@redhat.com>
924         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
925         * resolv/Makefile (tests): Add tst-ns_name.
926         (tst-ns_name): Link with -lresolv.
927         (tst-ns_name.out): Depend on the input data file.
929 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
931         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
932         Clobber also r14.
934 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
936         [BZ #21253]
937         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
938         slack space by 32KiB.
940 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
942         [BZ #21338]
943         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
944         instead of incorrect do_set_arena_test
946 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
948         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
949         * math/bits/math-finite.h: Likewise.
951 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
953         [BZ #21289]
954         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
956 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
958         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
959         non expected inotify_add_watch and quotactl return.
961 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
963         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
964         to int32_t.
965         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
966         as returning int32_t.
968 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
970         * math/math.h: Include bits/math-finite.h once per
971         floating-point type.
972         * math/bits/math-finite.h: Macroize all declarations by
973         floating-point type.
975 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
977         [BZ #21182]
978         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
979         near end of a page.
980         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
981         overflow calculation.
983 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
985         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
986         (IMPL) Call with 1 instead of 0 as argument.
988 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
990         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
991         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
992         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
993         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
994         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
995         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
996         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
997         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
998         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
999         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1000         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1001         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1002         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1003         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1004         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1005         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1006         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1007         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1008         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1009         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1010         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1011         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1012         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1013         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1014         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1015         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1016         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1017         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1018         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1019         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1020         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1021         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1022         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1023         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1024         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1025         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1026         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1027         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1028         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1029         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1030         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1031         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1032         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1033         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1034         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1035         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1036         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1037         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1038         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1039         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1040         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1041         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1042         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1043         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1044         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1045         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1046         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1047         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1048         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1049         defined.
1050         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1051         __NR_setgroups32 if defined.
1052         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1053         if defined.
1054         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1055         __NR_setresgid32 is defined.
1056         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1057         __NR_setresuid32 if defined.
1058         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1059         __NR_setreuid32 if defined.
1060         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1061         defined.
1062         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1063         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1064         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1065         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1066         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1067         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1068         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1069         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1070         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1071         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1072         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1073         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1074         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1075         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1076         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1077         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1078         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1079         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1080         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1081         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1082         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1083         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1084         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1085         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1086         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1087         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1088         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1089         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1090         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1091         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1092         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1093         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1094         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1095         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1096         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1097         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1098         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1099         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1100         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1101         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1102         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1103         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1104         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1105         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1106         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1107         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1108         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1109         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1110         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1111         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1112         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1113         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1114         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1115         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1116         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1117         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1118         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1119         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1120         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1121         defined.
1122         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1123         __NR_setgroups32 if defined.
1124         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1125         if defined.
1126         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1127         __NR_setresgid32 is defined.
1128         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1129         __NR_setresuid32 if defined.
1130         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1131         __NR_setreuid32 if defined.
1132         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1133         defined.
1135 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1137         [BZ #21277]
1138         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1139         unconditionally.
1140         (IMAXBEL): Likewise.
1141         (IUTF8): Likewise.
1143 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1145         * sysdeps/aarch64/libm-test-ulps: Update.
1147 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1149         * README.tunables: Updated descriptions.
1150         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1151         * scripts/gen-tunables.awk: Updated the code related to the
1152         commit.
1154 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1156         * benchtests/Makefile (string-benchset): Add memcpy-random.
1157         * benchtests/bench-memcpy-random.c: New file.
1159 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1161         * stdio-common/printf.h (register_printf_modifier): Change the
1162         order of __wur and __THROW.
1163         (register_printf_type): Likewise.
1165 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1167         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1168         test_main ().
1169         (CMDLINE_PROCESS): Use function instead of defined macro.
1170         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1171         <suppport/support.h> to use set_fortify_handler().
1172         * string/bug-envz1.c: Import support/test-driver.c instead of
1173         test-skeleton.c.
1174         * string/bug-strcoll2.c: Likewise.
1175         * string/bug-strtok1.c: Likewise.
1176         * string/stratcliff.c: Likewise.
1177         * string/test-ffs.c: Likewise.
1178         * string/test-memccpy.c: Likewise.
1179         * string/test-memchr.c: Likewise.
1180         * string/test-memcmp.c: Likewise.
1181         * string/test-memcpy.c: Likewise.
1182         * string/test-memmem.c: Likewise.
1183         * string/test-memmove.c: Likewise.
1184         * string/test-memrchr.c: Likewise.
1185         * string/test-memset.c: Likewise.
1186         * string/test-rawmemchr.c: Likewise.
1187         * string/test-strcasecmp.c: Likewise.
1188         * string/test-strcasestr.c: Likewise.
1189         * string/test-strcat.c: Likewise.
1190         * string/test-strchr.c: Likewise.
1191         * string/test-strcmp.c: Likewise.
1192         * string/test-strcpy.c: Likewise.
1193         * string/test-string.h: Likewise.
1194         * string/test-strlen.c: Likewise.
1195         * string/test-strncasecmp.c: Likewise.
1196         * string/test-strncat.c: Likewise.
1197         * string/test-strncmp.c: Likewise.
1198         * string/test-strncpy.c: Likewise.
1199         * string/test-strnlen.c: Likewise.
1200         * string/test-strpbrk.c: Likewise.
1201         * string/test-strrchr.c: Likewise.
1202         * string/test-strspn.c: Likewise.
1203         * string/test-strstr.c: Likewise.
1204         * string/tst-bswap.c: Likewise.
1205         * string/tst-cmp.c: Likewise.
1206         * string/tst-endian.c: Likewise.
1207         * string/tst-inlcall.c: Likewise.
1208         * string/tst-strcoll-overflow.c: Likewise.
1209         * string/tst-strfry.c: Likewise.
1210         * string/tst-strlen.c: Likewise.
1211         * string/tst-strtok.c: Likewise.
1212         * string/tst-strtok_r.c: Likewise.
1213         * string/tst-strxfrm.c: Likewise.
1214         * string/tst-strxfrm2.c: Likewise.
1215         * string/tst-svc.c: Likewise.
1216         * string/tst-svc2.c: Likewise.
1218 2017-03-22  Zack Weinberg  <zackw@panix.com>
1220         * stdio-common/bug25.c: Include stdlib.h.
1221         * support/tst-support_format_dns_packet.c: Include stdio.h,
1222         stdlib.h, and string.h.
1223         * support/tst-support_record_failure.c: Include string.h.
1224         * support/tst-support_record_failure-2.sh: Adjust line number
1225         expectations and correct a typo in an error message.
1227 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1229         [BZ #21258]
1230         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1231         Define only if _dl_runtime_resolve is defined to
1232         _dl_runtime_resolve_sse_vex.
1233         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1234         Fallthrough to _dl_runtime_resolve_sse_vex.
1236 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1238         * INSTALL: Regenerated.
1240 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1242         * config.h.in: Add LINK_OBSOLETE_NSL.
1243         * config.make.in: Add build-obsolete-nsl.
1244         * configure.ac: Add obsolete-nsl option.
1245         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1246         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1247         * include/rpcsvc/nislib.h: Likewise.
1248         * include/rpcsvc/ypclnt.h: Likewise.
1249         * manual/install.texi: Document --enable-obsolete-nsl.
1250         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1251         * nis/nis_add.c: Replace libnsl_hidden_def with
1252         libnsl_hidden_nolink_def.
1253         * nis/nis_addmember.c: Likewise.
1254         * nis/nis_call.c: Likewise.
1255         * nis/nis_clone_obj.c: Likewise.
1256         * nis/nis_defaults.c: Likeise.
1257         * nis/nis_domain_of_r.c: Likewise.
1258         * nis/nis_error.c: Likewise.
1259         * nis/nis_file.c: Likewise.
1260         * nis/nis_free.c: Likewise.
1261         * nis_local_names.c: Likewise.
1262         * nis/nis_lookup.c: Likewise.
1263         * nis/nis_modify.c: Likewise.
1264         * nis/nis_print.c: Likewise.
1265         * nis/nis_remove.c: Likewise.
1266         * nis/nis_table.c: Likewise.
1267         * nis/nis_util.c: Likewise.
1268         * nis/nis_xdr.c: Likewise.
1269         * nis/yp_xdr.c: Likewise.
1270         * nis/ypclnt.c: Likewise.
1271         * nis/ypupdate_xdr.c: Likewise.
1272         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1273         * nis/nis_clone_dir.c: Likewise.
1274         * nis/nis_clone_res.c: Likewise.
1275         * nis/nis_creategroup.c: Likewise.
1276         * nis/nis_destroygroup.c: Likewise.
1277         * nis/nis_domain_of.c: Likewise.
1278         * nis/nis_getservlist.c: Likewise.
1279         * nis/nis_ismember.c: Likewise.
1280         * nis/nis_mkdir.c: Likewise.
1281         * nis/nis_ping.c: Likewise.
1282         * nis/nis_print_group_entry.c: Likewise.
1283         * nis/nis_removemember.c: Likewise.
1284         * nis/nis_rmdir.c: Likewise.
1285         * nis/nis_server.c: Likewise.
1286         * nis/nis_subr.c: Likewise.
1287         * nis/nis_verifygroup.c: Likewise.
1289 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1291         * malloc/tst-interpose-aux.c (check_for_allocations):
1292         Move compiler barrier before free.
1294 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1296         [BZ #21279]
1297         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1298         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1299         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1300         x86_64-x32-linux.
1301         (mq_attr.mq_maxmsg): Likewise.
1302         (mq_attr.mq_msgsize): Likewise.
1303         (mq_attr.mq_curmsgs): Likewise.
1305         [BZ #21278]
1306         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1307         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1308         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1309         mips-o32-linux.
1311         [BZ #21268]
1312         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1313         if [__USE_MISC]
1314         (NL3): Likewise.
1316 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1318         [BZ #21275]
1319         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1320         __stack to __stackbase.
1321         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1322         checks so we can include defined(__ia64__) first.
1324 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1326         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1327         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1328         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1329         Call is_pty when the link does not exist or does not match, fail
1330         with ENODEV when it returns true.
1331         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1332         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1333         Call is_pty when the link does not exist or does not match, fail
1334         with ENODEV when it returns true.
1336 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1338         [BZ #16437]
1339         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1340         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1341         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1342         x86_64-x32-linux.
1343         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1344         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1345         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1347         [BZ #21261]
1348         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1349         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1350         names for all fields.
1351         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1352         for jmp_buf field renaming.
1353         (_JMPBUF_UNWINDS_ADJ): Likewise.
1355         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1356         with allow-header.
1358 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1360         * malloc/malloc.c (unlink): Add consistency check between size and
1361         next->prev->size, to further harden against 1-byte overflows.
1363 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1365         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1366         CPU_FEATURES_CPU_P.
1368 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1370         [BZ #21259]
1371         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1372         unconditionally, not just for [__USE_MISC].
1374         [BZ #17786]
1375         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1376         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1377         mips-o32-linux.
1379         [BZ #21260]
1380         * sysdeps/unix/sysv/linux/alpha/Makefile
1381         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1382         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1384         * conform/conformtest.pl ($cross): New variable.
1385         (--cross): New command-line option.
1386         (runtest): Skip test execution when cross-compiling.
1387         * conform/Makefile (conformtest-cross): New variable.
1388         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1389         conformtest.pl.
1391         * conform/conformtest.pl ($xfail_str): New variable.
1392         (--xfail=): New command-line option.
1393         (top level): Handle expectations starting xfail[cond]-.
1394         * conform/Makefile (conformtest-xfail): New variable.
1395         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1396         conformtest.pl.
1398 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1400         * conform/conformtest.pl: Use compilation instead of execution
1401         tests for testing values of constants and usability in #if.
1403 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1405         * math/auto-libm-test-in: Mark some catan and catanh as
1406         xfail-rounding:ibm128-libgcc.
1407         * math/auto-libm-test-out-catan: Regenerate.
1408         * math/auto-libm-test-out-catanh: Likewise.
1410 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1412         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1413         (__END_NAMESPACE_STD): Likewise.
1414         (__USING_NAMESPACE_STD): Likewise.
1415         (__BEGIN_NAMESPACE_C99): Likewise.
1416         (__END_NAMESPACE_C99): Likewise.
1417         (__USING_NAMESPACE_C99): Likewise.
1418         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1419         undefine macro.
1420         (_Mdouble_END_NAMESPACE): Likewise.
1421         * ctype/ctype.h: Do not handle C++ namespaces.
1422         * libio/bits/stdio-ldbl.h: Likewise.
1423         * libio/stdio.h: Likewise.
1424         * locale/locale.h: Likewise.
1425         * math/bits/mathcalls.h: Likewise.
1426         * setjmp/setjmp.h: Likewise.
1427         * signal/signal.h: Likewise.
1428         * stdlib/bits/stdlib-float.h: Likewise.
1429         * stdlib/bits/stdlib-ldbl.h: Likewise.
1430         * stdlib/stdlib.h: Likewise.
1431         * string/string.h: Likewise.
1432         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1433         * time/bits/types/clock_t.h: Likewise.
1434         * time/bits/types/struct_tm.h: Likewise.
1435         * time/bits/types/time_t.h: Likewise.
1436         * time/time.h: Likewise.
1437         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1438         * wcsmbs/uchar.h: Likewise.
1439         * wcsmbs/wchar.h: Likewise.
1440         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1441         * wctype/wctype.h: Do not handle C++ namespaces.
1442         * scripts/begin-end-check.pl: Remove.
1443         * Makefile (installed-headers): Likewise.
1444         (tests-special): Do not add $(objpfx)begin-end-check.out.
1445         ($(objpfx)begin-end-check.out): Remove.
1447 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1448             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1450         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1451         (DL_PLATFORM_INIT): New define.
1452         (dl_platform_init): New function.
1453         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1454         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1455         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1456         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1457         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1459 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1461         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1462         instead of PIC.
1464 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1466         [BZ #21094]
1467         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1468         24+24+24-bit pi for wider range of values around pi/2.
1469         * math/auto-libm-test-in: Add more tests of cos and tan.
1470         * math/auto-libm-test-out-cos: Regenerated.
1471         * math/auto-libm-test-out-tan: Likewise.
1473 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1475         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1476         (RTLD_START): Don't record stack end address in _dl_start_user.
1478 2017-03-15  Alexey Neyman  <stilor@att.net>
1480         [BZ #21088]
1481         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1482         around definitions match those around use.
1484 2017-03-15  Alexey Neyman  <stilor@att.net>
1486         * configure.ac: Avoid empty subexpression in grep.
1487         * configure: Regenerate.
1489 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1491         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1492         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1493         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1494         (test_wrp_rv): Fix format.
1495         (test_wrp_rv2): New macro.
1496         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1497         binaries.
1499 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1501         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1502         Use a union when storing pointers.
1503         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1504         cast result when passing to INIT_VEC_PTRS_LOOP.
1505         (VECTOR_WRAPPER_fFF_3): Likewise.
1506         (VECTOR_WRAPPER_fFF_4): Likewise.
1508 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1510         * include/bits/mathcalls-helper-functions.h: New file.
1511         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1512         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1513         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1514         math/bits/mathcalls-helper-functions.h.
1515         * math/bits/mathcalls-helper-functions.h: New file.
1516         * math/math.h: Include bits/mathcalls-helper-functions.h for
1517         float, double, and long double.
1519 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1521         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1522         instead of feraiseexcept.
1524 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1526         [BZ #21243]
1527         * support/temp_file.c (support_delete_temp_files): Add comment
1528         about ignored errors.
1530 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1532         [BZ #21244]
1533         * support/xclose.c: New file.
1534         * support/Makefile (libsupport-routines): Add xclose.
1535         * support/xunistd.h (xclose): Declare.
1536         * support/resolv_test.c (server_thread_tcp_client)
1537         (server_thread_tcp, make_server_sockets, resolv_test_start)
1538         (resolv_test_end): Call xclose instead of close.
1539         * support/support_enter_network_namespace.c
1540         (support_enter_network_namespace): Likewise.
1541         * support/support_run_diff.c (write_to_temp_file): Likewise.
1543 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1545         * support/support_format_dns_packet.c (support_format_dns_packet):
1546         Handle CNAME records in the response.  Extract RDATA names from
1547         rdata, not the whole packet.  Check AAAA record length.
1548         * support/tst-support_format_dns_packet.c: New file.
1549         * support/Makefile (tests): Add tst-support_format_dns_packet.
1550         (tst-support_format_dns_packet): Link against libresolv.
1552 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1554         [BZ #21232]
1555         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1556         posix_fadvise64 weak_alias for static build.
1558 2017-03-14  Andreas Schwab  <schwab@suse.de>
1560         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1561         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1562         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1563         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1564         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1565         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1566         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1567         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1569 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1571         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1572         posix error code.
1573         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1575 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1577         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1578         no_isolate usage for SH.
1580 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1582         [BZ #15105]
1583         [BZ #19463]
1584         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1585         * inet/rcmd.c (rcmd_af): Likewise.
1586         * inet/rexec.c   (rexec_af): Likewise.
1587         * intl/dcigettext.c (_LIBC): Likewise.
1588         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1589         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1590         * locale/setlocale.c (setlocale): Likewise.
1591         * posix/spawn_faction_addopen.c
1592         (posix_spawn_file_actions_addopen): Likewise.
1593         * stdlib/putenv.c (putenv): Use __strndup.
1594         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1596         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1597         (__Need_M_And_C) Remove define/undef.
1598         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1599         (__malloc_and_calloc_defined): Remove define.
1600         * string/bits/string2.h (__strdup): Remove define.
1601         (strdup): Likewise.
1602         (__strndup): Likewise.
1603         (strndup): Likewise.
1605 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1607         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1608         macro.
1609         (IPV6_ADDR_PREFERENCES): Likewise.
1610         (IPV6_MINHOPCOUNT): Likewise.
1611         (IPV6_ORIGDSTADDR): Likewise.
1612         (IPV6_RECVORIGDSTADDR): Likewise.
1613         (IPV6_TRANSPARENT): Likewise.
1614         (IPV6_UNICAST_IF): Likewise.
1615         (IPV6_RECVFRAGSIZE): Likewise.
1617 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1619         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1621 2017-03-12  Alexey Neyman <stilor@att.net>
1623         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1624         in R_SH_DIR32 case is always false when inlined from
1625         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1627 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1629         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1630         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1631         __ASSUME_SEND_SYSCALL.
1633 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1635         * sunrpc/Makefile: don't build and install rpcsvc header
1636         files, rpcgen and librpcsvc.a by default.
1638 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1640         * math/auto-libm-test-out-catan: Regenerated.
1641         * math/auto-libm-test-out-catanh: Likewise.
1642         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1644 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1646         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1647         for long double with corrected test expectations.
1649 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1651         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1652         Define.
1653         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1654         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1655         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1656         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1657         * sysdeps/unix/sysv/linux/tile/sysdep.h
1658         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1659         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1660         (__ASSUME_RECV_SYSCALL): Define.
1661         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1662         (__ASSUME_RECV_SYSCALL): Likewise.
1663         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1664         (__ASSUME_RECV_SYSCALL): Likewise.
1665         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1666         (__ASSUME_RECV_SYSCALL): Likewise.
1667         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1668         (__ASSUME_RECV_SYSCALL): Likewise.
1669         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1670         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1671         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1672         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1673         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1674         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1675         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1676         auto-generation list.
1677         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1678         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1679         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1680         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1681         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1682         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1683         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1684         __ASSUME_SENDTO_SYSCALL.
1685         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1686         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1687         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1689         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1690         auto-generation list.
1691         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1692         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1693         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1694         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1695         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1696         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1697         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1698         * sysdeps/unix/sysv/linux/kernel-features.h
1699         (__ASSUME_SENDTO_SYSCALL): Define by default.
1700         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1701         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1702         __NR_sendto.
1703         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1704         (__ASSUME_SENDTO_SYSCALL): Likewise.
1705         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1706         (__ASSUME_SENDTO_SYSCALL): Likewise.
1707         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1708         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1709         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1710         (__ASSUME_SENDTO_SYSCALL): Likewise.
1711         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1712         (__ASSUME_SENDTO_SYSCALL): Likewise.
1713         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1715         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1716         auto-generation list.
1717         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1718         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1719         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1720         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1721         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1722         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1723         (__ASSUME_RECV_SYSCALL): New define.
1724         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1725         (__ASSUME_RECV_SYSCALL): Likewise.
1726         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1727         (__ASSUME_RECV_SYSCALL): Likewise.
1728         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1729         (__ASSUME_RECV_SYSCALL): Likewise.
1730         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1731         (__ASSUME_RECV_SYSCALL): Likewise.
1732         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1733         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1734         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1735         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1736         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1737         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1738         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1739         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1740         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1741         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1742         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1743         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1745         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1746         auto-generation list.
1747         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1748         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1749         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1750         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1751         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1752         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1753         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1754         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1755         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1756         * sysdeps/unix/sysv/linux/kernel-features.h
1757         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1758         __NR_recvfrom.
1759         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1760         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1761         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1762         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1763         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1764         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1765         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1766         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1767         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1768         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1769         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1770         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1771         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1773         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1774         auto-generation list.
1775         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1776         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1777         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1778         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1779         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1780         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1781         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1782         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1783         * sysdeps/unix/sysv/linux/kernel-features.h
1784         (__ASSUME_CONNECT_SYSCALL): Define.
1785         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1786         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1787         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1788         (__ASSUME_CONNECT_SYSCALL): Likewise.
1789         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1790         (__ASSUME_CONNECT_SYSCALL): Likewise.
1791         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1792         (__ASSUME_CONNECT_SYSCALL): Likewise.
1794         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1795         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1796         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1797         auto-generation list.
1798         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1799         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1800         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1801         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1802         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1803         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1804         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1805         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1806         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1807         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1808         * sysdeps/unix/sysv/linux/kernel-features.h
1809         (__ASSUME_ACCEPT_SYSCALL): New define.
1810         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1811         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1812         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1813         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1814         (__ASSUME_ACCEPT_SYSCALL): Define.
1815         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1816         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1817         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1818         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1819         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1820         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1821         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1822         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1823         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1825 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1826             Zack Weinberg  <zackw@panix.com>
1828         * posix/test-errno.c: New file.
1829         * posix/Makefile (tests): Add test-errno.
1830         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1831         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1833 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1835         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1837 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1839         * time/tzset.c (compute_offset): Open-code min macro.
1840         (min, max, sign): Remove.
1842 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1844         [BZ #15576]
1845         Remove TZNAME_MAX limit from sysconf.
1846         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1847         declaration.
1848         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1849         compute_tzname_max.
1850         (compute_tzname_max): Remove.
1851         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1852         (update_vars): Do not update __tzname_cur_max.
1853         (tzset_internal): Remove argument.
1854         (__tzset): Adjust call to tzset_internal.
1855         (__tz_convert): Likewise.
1857         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1858         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1859         * manual/conf.texi (Sysconf Definition): Update comment.
1861 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1863         [BZ #21209]
1864         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1865         AT_SECURE processes.
1866         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1867         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1868         (test_child): Likewise.
1869         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1871 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1873         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1875 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1877         * sysdeps/s390/atomic-machine.h
1878         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1879         (__arch_compare_and_exchange_val_8_acq,
1880         __arch_compare_and_exchange_val_16_acq,
1881         __arch_compare_and_exchange_val_32_acq,
1882         __arch_compare_and_exchange_val_64_acq):
1883         Delete macro.
1884         (atomic_compare_and_exchange_val_acq,
1885         atomic_compare_and_exchange_val_rel,
1886         atomic_compare_and_exchange_bool_acq,
1887         catomic_compare_and_exchange_bool_acq,
1888         atomic_exchange_acq, atomic_exchange_rel,
1889         atomic_exchange_and_add_acq,
1890         atomic_exchange_and_add_rel,
1891         catomic_exchange_and_add, atomic_or_val,
1892         atomic_or, catomic_or, atomic_bit_test_set,
1893         atomic_and_val, atomic_and, catomic_and):
1894         Define macros with help of C11 atomic builtins.
1896 2017-03-03  Justus Winter <justus@gnupg.org>
1898         * sysdeps/mach/hurd/ftruncate64.c: New file.
1899         * sysdeps/mach/hurd/truncate64.c: Likewise.
1901 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1903         * time/tzfile.c (NOID): Do not define.
1904         * time/tzset.c (NOID): Likewise.
1906 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1908         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1910 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1912         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1914 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1916         [BZ #21015]
1917         * manual/install.texi (Configuring and compiling): Document
1918         --enable-bind-now.
1919         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1920         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1921         (format.lds): Likewise.
1922         [bind-now] (LDFLAGS-c.so): Remove.
1923         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1924         be R_X86_64_GLOB_DAT.
1925         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1926         relocation can be R_386_GLOB_DAT.
1927         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1928         relocaiton can be R_ALPHA_GLOB_DAT.
1929         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1931 2017-03-01  Zack Weinberg  <zackw@panix.com>
1933         * include/libc-pointer-arith.h: New file.  Define
1934         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1935         PTR_ALIGN_DOWN here.
1936         * include/libc-internal.h: Definitions of above macros
1937         moved from here.  Don't include libc-diag.h anymore either.
1938         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1939         Don't include libc-internal.h.
1941         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1942         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1943         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1944         * string/strcoll_l.c, sysdeps/nacl/brk.c
1945         * sysdeps/unix/clock_settime.c
1946         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1947         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1948         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1949         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1950         Don't include libc-internal.h.
1952         * elf/get-dynamic-info.h, iconv/loop.c
1953         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1954         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1955         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1956         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1957         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1958         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1959         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1960         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1961         * sysdeps/ieee754/ldbl-128/k_tanl.c
1962         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1963         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1964         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1965         Include libc-diag.h instead of libc-internal.h.
1967         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1968         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1969         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1970         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1971         * sysdeps/unix/sysv/linux/spawni.c
1972         * sysdeps/x86_64/nptl/tls.h:
1973         Include libc-pointer-arith.h instead of libc-internal.h.
1975         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1976         * sysdeps/x86_64/atomic-machine.h:
1977         Add multiple include guard.
1979         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1980         * string/strcasestr.c: No need to include config.h.
1981         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1982         sys/auxv.h. Don't include sysdep.h.
1983         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1985         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1986         DL_LOOKUP_ADDRESS.
1987         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1988         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1989         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1990         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
1991         of ARTIFICIAL_LIMIT.
1992         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
1993         declaration of __clone2.
1995 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1997         * scripts/backport-support.sh (latest_commit): New file.
1999 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2001         [BZ #20257]
2002         * inet/Makefile (routines): Add deadline.
2003         (tests-static): Add tst-deadline.
2004         * inet/net-internal.h (struct deadline_current_time)
2005         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2006         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2007         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2008         * inet/deadline.c: New file.
2009         * inet/tst-deadline.c: Likewise.
2010         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2011         tst-udp-timeout, tst-udp-garbage.
2012         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2013         explicitly.
2014         (tst-udp-garbage): Likewise.  Also link against thread library.
2015         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2016         struct layout is part of the ABI.
2017         (clntudp_call): Rework timeout handling.
2018         * sunrpc/tst-udp-garbage.c: New file.
2019         * sunrpc/tst-udp-nonblocking.c: Likewise.
2020         * sunrpc/tst-udp-timeout.c: Likewise.
2022 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2024         [BZ #5010]
2025         * sunrpc/svc.c (svc_is_mapped): Remove.
2026         (svc_unregister): Obtain mapped status while the service is still
2027         registered.
2028         * sunrpc/Makefile [have-thread-library] (tests): Add
2029         tst-svc_register.
2030         (tst-svc_register): Link against libc.so explicitly and the thread
2031         library.
2032         * sunrpc/tst-svc_register.c: New file.
2034 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2036         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2037         * sysdeps/pthread/bits/sigthread.h: Likewise.
2039 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2041         [BZ #21115]
2042         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2043         * sunrpc/Makefile (tests): Add tst-udp-error.
2044         (tst-udp-error): Link against libc.so explicitly.
2045         * sunrpc/tst-udp-error: New file.
2047 2017-02-25  Zack Weinberg  <zackw@panix.com>
2049         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2050         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2052         * sysdeps/generic/math_ldbl.h
2053         * sysdeps/ia64/fpu/math_ldbl.h
2054         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2056         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2057         * sysdeps/powerpc/fpu/math_ldbl.h
2058         * sysdeps/x86_64/fpu/math_ldbl.h:
2059         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2060         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2061         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2062         Add copyright notices.
2064         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2065         Don't use EXTRACT_WORDS64.
2067         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2068         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2069         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2070         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2071         Include math_ldbl.h, not math_private.h.
2073 2017-02-25  Zack Weinberg  <zackw@panix.com>
2075         * include/libc-diag.h: New file.  Define ignore_value,
2076         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2077         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2079         * include/libc-internal.h: Definitions of above macros moved from
2080         here.  Include libc-diag.h.  Add copyright notice.
2082         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2083         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2084         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2085         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2086         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2087         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2088         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2089         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2090         Include libc-diag.h instead of libc-internal.h.
2092         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2093         call to unsetenv (NULL).
2094         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2095         call to pthread_mutexattr_destroy (NULL).
2097 2017-02-25  Zack Weinberg  <zackw@panix.com>
2099         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2100         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2101         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2102         gets was removed from C++ in C++14.
2103         * include/stdio.h: Remove redundant declaration of gets.
2104         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2105         be declared, since we are testing it.
2106         * stdio-common/Makefile (tst-gets.c): Compile with
2107         -Wno-deprecated-declarations.
2108         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2109         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2110         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2111         Compile with -Wno-deprecated-declarations.
2113 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2115         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2116         numbers.
2118 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2120         * resolv/tst-resolv-qtypes.c (domain):
2121         Change type to const pointer to const char.
2123 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2125         * math/Makefile (libm-tests-generated): Remove variable.
2126         (libm-tests-base-normal): New variable.
2127         (libm-tests-base-finite): Likewise.
2128         (libm-tests-base-inline): Likewise.
2129         (libm-tests-base): Likewise.
2130         (libm-tests-normal): Likewise.
2131         (libm-tests-finite): Likewise.
2132         (libm-tests-inline): Likewise.
2133         (libm-tests-vector): Likewise.
2134         (libm-tests): Define in terms of these new variables.
2135         (libm-tests-for-type): New variable.
2136         (libm-tests.o): Move definition.
2137         (tests): Move addition of $(libm-tests).
2138         (generated): Update for new and removed libm test files.
2139         ($(objpfx)libm-test.c): Remove target.
2140         ($(objpfx)libm-have-vector-test.h): Likewise.
2141         (CFLAGS-test-double-vlen2.c): Remove variable.
2142         (CFLAGS-test-double-vlen4.c): Likewise.
2143         (CFLAGS-test-double-vlen8.c): Likewise.
2144         (CFLAGS-test-float-vlen4.c): Likewise.
2145         (CFLAGS-test-float-vlen8.c): Likewise.
2146         (CFLAGS-test-float-vlen16.c): Likewise.
2147         (CFLAGS-test-float.c): Likewise.
2148         (CFLAGS-test-float-finite.c): Likewise.
2149         (CFLAGS-libm-test-support-float.c): Likewise.
2150         (CFLAGS-test-double.c): Likewise.
2151         (CFLAGS-test-double-finite.c): Likewise.
2152         (CFLAGS-libm-test-support-double.c): Likewise.
2153         (CFLAGS-test-ldouble.c): Likewise.
2154         (CFLAGS-test-ldouble-finite.c): Likewise.
2155         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2156         (libm-test-inline-cflags): New variable.
2157         (CFLAGS-test-ifloat.c): Remove variable.
2158         (CFLAGS-test-idouble.c): Likewise.
2159         (CFLAGS-test-ildouble.c): Likewise.
2160         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2161         dependencies.
2162         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2163         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2164         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2165         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2166         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2167         Likewise.
2168         (dependencies on libm-test-support-*.o): Remove.
2169         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2170         rules using iterators.
2171         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2172         Likewise.
2173         ($(objpfx)libm-test-support-$(o).o): Likewise.
2174         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2175         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2176         instead.
2177         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2178         define rule instead.
2179         * math/README.libm-test: Update.
2180         * math/libm-test-acos.inc: Include libm-test-driver.c.
2181         (do_test): New function.
2182         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2183         (do_test): New function.
2184         * math/libm-test-asin.inc: Include libm-test-driver.c.
2185         (do_test): New function.
2186         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2187         (do_test): New function.
2188         * math/libm-test-atan.inc: Include libm-test-driver.c.
2189         (do_test): New function.
2190         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2191         (do_test): New function.
2192         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2193         (do_test): New function.
2194         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2195         (do_test): New function.
2196         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2197         (do_test): New function.
2198         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2199         (do_test): New function.
2200         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2201         (do_test): New function.
2202         * math/libm-test-carg.inc: Include libm-test-driver.c.
2203         (do_test): New function.
2204         * math/libm-test-casin.inc: Include libm-test-driver.c.
2205         (do_test): New function.
2206         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2207         (do_test): New function.
2208         * math/libm-test-catan.inc: Include libm-test-driver.c.
2209         (do_test): New function.
2210         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2211         (do_test): New function.
2212         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2213         (do_test): New function.
2214         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2215         (do_test): New function.
2216         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2217         (do_test): New function.
2218         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2219         (do_test): New function.
2220         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2221         (do_test): New function.
2222         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2223         (do_test): New function.
2224         * math/libm-test-clog.inc: Include libm-test-driver.c.
2225         (do_test): New function.
2226         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2227         (do_test): New function.
2228         * math/libm-test-conj.inc: Include libm-test-driver.c.
2229         (do_test): New function.
2230         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2231         (do_test): New function.
2232         * math/libm-test-cos.inc: Include libm-test-driver.c.
2233         (do_test): New function.
2234         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2235         (do_test): New function.
2236         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2237         (do_test): New function.
2238         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2239         (do_test): New function.
2240         * math/libm-test-creal.inc: Include libm-test-driver.c.
2241         (do_test): New function.
2242         * math/libm-test-csin.inc: Include libm-test-driver.c.
2243         (do_test): New function.
2244         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2245         (do_test): New function.
2246         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2247         (do_test): New function.
2248         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2249         (do_test): New function.
2250         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2251         (do_test): New function.
2252         * math/libm-test-erf.inc: Include libm-test-driver.c.
2253         (do_test): New function.
2254         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2255         (do_test): New function.
2256         * math/libm-test-exp.inc: Include libm-test-driver.c.
2257         (do_test): New function.
2258         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2259         (do_test): New function.
2260         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2261         (do_test): New function.
2262         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2263         (do_test): New function.
2264         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2265         (do_test): New function.
2266         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2267         (do_test): New function.
2268         * math/libm-test-floor.inc: Include libm-test-driver.c.
2269         (do_test): New function.
2270         * math/libm-test-fma.inc: Include libm-test-driver.c.
2271         (do_test): New function.
2272         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2273         (do_test): New function.
2274         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2275         (do_test): New function.
2276         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2277         (do_test): New function.
2278         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2279         (do_test): New function.
2280         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2281         (do_test): New function.
2282         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2283         (do_test): New function.
2284         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2285         (do_test): New function.
2286         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2287         (do_test): New function.
2288         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2289         (do_test): New function.
2290         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2291         (do_test): New function.
2292         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2293         (do_test): New function.
2294         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2295         (do_test): New function.
2296         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2297         (do_test): New function.
2298         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2299         (do_test): New function.
2300         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2301         (do_test): New function.
2302         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2303         (do_test): New function.
2304         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2305         (do_test): New function.
2306         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2307         (do_test): New function.
2308         * math/libm-test-isless.inc: Include libm-test-driver.c.
2309         (do_test): New function.
2310         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2311         (do_test): New function.
2312         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2313         (do_test): New function.
2314         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2315         (do_test): New function.
2316         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2317         (do_test): New function.
2318         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2319         (do_test): New function.
2320         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2321         (do_test): New function.
2322         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2323         (do_test): New function.
2324         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2325         (do_test): New function.
2326         * math/libm-test-j0.inc: Include libm-test-driver.c.
2327         (do_test): New function.
2328         * math/libm-test-j1.inc: Include libm-test-driver.c.
2329         (do_test): New function.
2330         * math/libm-test-jn.inc: Include libm-test-driver.c.
2331         (do_test): New function.
2332         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2333         (do_test): New function.
2334         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2335         (do_test): New function.
2336         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2337         (do_test): New function.
2338         * math/libm-test-llround.inc: Include libm-test-driver.c.
2339         (do_test): New function.
2340         * math/libm-test-log.inc: Include libm-test-driver.c.
2341         (do_test): New function.
2342         * math/libm-test-log10.inc: Include libm-test-driver.c.
2343         (do_test): New function.
2344         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2345         (do_test): New function.
2346         * math/libm-test-log2.inc: Include libm-test-driver.c.
2347         (do_test): New function.
2348         * math/libm-test-logb.inc: Include libm-test-driver.c.
2349         (do_test): New function.
2350         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2351         (do_test): New function.
2352         * math/libm-test-lround.inc: Include libm-test-driver.c.
2353         (do_test): New function.
2354         * math/libm-test-modf.inc: Include libm-test-driver.c.
2355         (do_test): New function.
2356         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2357         (do_test): New function.
2358         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2359         (do_test): New function.
2360         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2361         (do_test): New function.
2362         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2363         (do_test): New function.
2364         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2365         (do_test): New function.
2366         * math/libm-test-pow.inc: Include libm-test-driver.c.
2367         (do_test): New function.
2368         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2369         (do_test): New function.
2370         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2371         (do_test): New function.
2372         * math/libm-test-rint.inc: Include libm-test-driver.c.
2373         (do_test): New function.
2374         * math/libm-test-round.inc: Include libm-test-driver.c.
2375         (do_test): New function.
2376         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2377         (do_test): New function.
2378         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2379         (do_test): New function.
2380         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2381         (do_test): New function.
2382         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2383         (do_test): New function.
2384         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2385         (do_test): New function.
2386         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2387         (do_test): New function.
2388         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2389         (do_test): New function.
2390         * math/libm-test-significand.inc: Include libm-test-driver.c.
2391         (do_test): New function.
2392         * math/libm-test-sin.inc: Include libm-test-driver.c.
2393         (do_test): New function.
2394         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2395         (do_test): New function.
2396         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2397         (do_test): New function.
2398         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2399         (do_test): New function.
2400         * math/libm-test-tan.inc: Include libm-test-driver.c.
2401         (do_test): New function.
2402         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2403         (do_test): New function.
2404         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2405         (do_test): New function.
2406         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2407         (do_test): New function.
2408         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2409         (do_test): New function.
2410         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2411         (do_test): New function.
2412         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2413         (do_test): New function.
2414         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2415         (do_test): New function.
2416         * math/libm-test-y0.inc: Include libm-test-driver.c.
2417         (do_test): New function.
2418         * math/libm-test-y1.inc: Include libm-test-driver.c.
2419         (do_test): New function.
2420         * math/libm-test-yn.inc: Include libm-test-driver.c.
2421         (do_test): New function.
2422         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2423         (HAVE_VECTOR): Remove macro.
2424         (START): Do not call HAVE_VECTOR.
2425         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2426         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2427         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2428         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2429         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2430         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2431         * math/test-math-vector.h (FUNC_TEST): New macro.
2432         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2433         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2434         (double-vlen4-funcs): Likewise.
2435         (double-vlen4-avx2-funcs): Likewise.
2436         (double-vlen8-funcs): Likewise.
2437         (float-vlen4-funcs): Likewise.
2438         (float-vlen8-funcs): Likewise.
2439         (float-vlen8-avx2-funcs): Likewise.
2440         (float-vlen16-funcs): Likewise.
2441         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2442         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2443         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2444         macro.
2445         (TEST_VECTOR_sin): Likewise.
2446         (TEST_VECTOR_sincos): Likewise.
2447         (TEST_VECTOR_log): Likewise.
2448         (TEST_VECTOR_exp): Likewise.
2449         (TEST_VECTOR_pow): Likewise.
2450         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2451         Likewise.
2452         (TEST_VECTOR_sin): Likewise.
2453         (TEST_VECTOR_sincos): Likewise.
2454         (TEST_VECTOR_log): Likewise.
2455         (TEST_VECTOR_exp): Likewise.
2456         (TEST_VECTOR_pow): Likewise.
2457         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2458         Likewise.
2459         (TEST_VECTOR_sinf): Likewise.
2460         (TEST_VECTOR_sincosf): Likewise.
2461         (TEST_VECTOR_logf): Likewise.
2462         (TEST_VECTOR_expf): Likewise.
2463         (TEST_VECTOR_powf): Likewise.
2464         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2465         Likewise.
2466         (TEST_VECTOR_sinf): Likewise.
2467         (TEST_VECTOR_sincosf): Likewise.
2468         (TEST_VECTOR_logf): Likewise.
2469         (TEST_VECTOR_expf): Likewise.
2470         (TEST_VECTOR_powf): Likewise.
2471         * math/gen-libm-have-vector-test.sh: Remove file.
2472         * math/libm-test.inc: Likewise.
2473         * math/libm-test-support-double.c: Likewise.
2474         * math/libm-test-support-float.c: Likewise.
2475         * math/libm-test-support-ldouble.c: Likewise.
2476         * math/test-double-finite.c: Likewise.: Likewise.
2477         * math/test-double.c: Likewise.
2478         * math/test-float-finite.c: Likewise.
2479         * math/test-float.c: Likewise.
2480         * math/test-idouble.c: Likewise.
2481         * math/test-ifloat.c: Likewise.
2482         * math/test-ildouble.c: Likewise.
2483         * math/test-ldouble-finite.c: Likewise.
2484         * math/test-ldouble.c: Likewise.
2485         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2486         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2487         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2488         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2489         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2490         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2491         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2492         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2493         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2494         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2496 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2497            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2499         * math/Makefile: Add wrappers to gen-libm-calls.
2500         * math/w_acos_template.c: New file.
2501         * math/w_acosh_template.c: Likewise.
2502         * math/w_asin_template.c: Likewise.
2503         * math/w_atan2_template.c: Likewise.
2504         * math/w_atanh_template.c: Likewise.
2505         * math/w_cosh_template.c: Likewise.
2506         * math/w_exp10_template.c: Likewise.
2507         * math/w_exp2_template.c: Likewise.
2508         * math/w_exp_template.c: Likewise.
2509         * math/w_fmod_template.c: Likewise.
2510         * math/w_hypot_template.c: Likewise.
2511         * math/w_j0_template.c: Likewise.
2512         * math/w_j1_template.c: Likewise.
2513         * math/w_jn_template.c: Likewise.
2514         * math/w_lgamma_r_template.c: Likewise.
2515         * math/w_lgamma_template.c: Likewise.
2516         * math/w_log10_template.c: Likewise.
2517         * math/w_log2_template.c: Likewise.
2518         * math/w_log_template.c: Likewise.
2519         * math/w_pow_template.c: Likewise.
2520         * math/w_remainder_template.c: Likewise.
2521         * math/w_sinh_template.c: Likewise.
2522         * math/w_sqrt_template.c: Likewise.
2523         * math/w_tgamma_template.c: Likewise.: Likewise.
2524         * sysdeps/generic/math-type-macros-double.h
2525         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2526         the new wrappers.
2527         * sysdeps/generic/math-type-macros-float.h: Likewise.
2528         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2530 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2532         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2533         New enum constant and macro.
2535         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2536         kernel version to 4.10.
2538 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2540         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2542 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2546 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2548         * sysdeps/powerpc/tst-set_ppr.c: New file.
2549         Implement test cases for __ppc_set_ppr_* functions.
2550         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2551         in the list of tests.
2553 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2555         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2556         instead of test-skeleton.c.
2557         (do_test): Replaced pthread_create and pthread_join with
2558         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2559         Removed unneeded status variable.
2560         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2561         instead of test-skeleton.c.
2562         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2564 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2566         [BZ #20313]
2567         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2568         201605L, for Unicode 9.
2570 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2572         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2573         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2574         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2575         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2576         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2577         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2579 2017-02-19  Zack Weinberg  <zackw@panix.com>
2581         * rt/tst-mqueue4.c: Include stdint.h.
2583 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2585         * sysdeps/arm/libm-test-ulps: Update.
2586         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2587         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2588         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2590 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2592         [BZ #21029]
2593         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2594         * sysdeps/unix/sysv/linux/i386/Makefile
2595         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2596         (uses-6-syscall-arguments): Remove.
2597         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2598         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2599         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2600         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2601         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2602         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2603         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2604         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2605         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2606         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2607         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2608         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2609         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2610         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2611         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2612         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2613         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2614         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2615         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2616         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2617         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2618         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2619         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2620         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2621         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2622         Likewise.
2623         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2624         Likewise.
2625         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2626         Likewise.
2627         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2628         Likewise.
2629         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2630         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2631         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2632         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2633         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2634         ebp on inline assembly.
2635         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2636         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2637         Set if CAN_USE_REGISTER_ASM_EBP is set.
2639 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2641         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2642         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2644 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2646         * math/auto-libm-test-in: Add tests of catan and catanh.
2647         * math/auto-libm-test-out-catan: New generated file.
2648         * math/auto-libm-test-out-catanh: Likewise.
2649         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2650         Move tests with finite inputs, except divide-by-zero cases, to
2651         auto-libm-test-in.
2652         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2653         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2654         (libm-test-funcs-noauto): Remove catan and catanh.
2655         * sysdeps/i386/fpu/libm-test-ulps: Update.
2656         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2659         * math/auto-libm-test-in: Add tests of casin and casinh.
2660         * math/auto-libm-test-out-casin: New generated file.
2661         * math/auto-libm-test-out-casinh: Likewise.
2662         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2663         Move tests with finite inputs to auto-libm-test-in.
2664         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2665         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2666         (libm-test-funcs-noauto): Remove casin and casinh.
2667         * sysdeps/i386/fpu/libm-test-ulps: Update.
2668         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2671         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2672         * math/auto-libm-test-out-cacos: New generated file.
2673         * math/auto-libm-test-out-cacosh: Likewise.
2674         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2675         Move tests with finite inputs to auto-libm-test-in.
2676         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2677         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2678         (libm-test-funcs-noauto): Remove cacos and cacosh.
2679         * sysdeps/i386/fpu/libm-test-ulps: Update.
2680         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2683         Revert:
2684         2017-02-16  Zack Weinberg  <zackw@panix.com>
2686         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2687         Don't include init-arch.h.
2688         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2689         Don't include init-arch.h.
2691 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2693         [BZ #21171]
2694         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2695         +Inf and raise divide-by-zero when x is negative.
2696         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2697         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2698         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2699         -Inf and raise divide-by-zero when x = +-0.
2700         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2701         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2702         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2703         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2704         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2705         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2706         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2708 2017-02-16  Zack Weinberg  <zackw@panix.com>
2710         * scripts/build-many-glibcs.py (bot_build_mail): If the
2711         bot_config does not contain all of the necessary email-
2712         related settings, just print a warning and continue.
2714 2017-02-16  Zack Weinberg  <zackw@panix.com>
2716         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2717         * dirent/opendir-tst1.c: Include sys/stat.h.
2718         * dirent/tst-fdopendir.c: Include sys/stat.h.
2719         * dirent/tst-fdopendir2.c: Include stdlib.h.
2720         * dirent/tst-scandir.c: Include stdbool.h.
2721         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2722         * elf/tst-tls15.c: Include stdlib.h.
2723         * elf/tst-tls16.c: Include stdlib.h.
2724         * elf/tst-tls17.c: Include stdlib.h.
2725         * elf/tst-tls18.c: Include stdlib.h.
2726         * iconv/tst-iconv6.c: Include endian.h.
2727         * iconvdata/bug-iconv11.c: Include limits.h.
2728         * io/test-utime.c: Include stdint.h.
2729         * io/tst-faccessat.c: Include sys/stat.h.
2730         * io/tst-fchmodat.c: Include sys/stat.h.
2731         * io/tst-fchownat.c: Include sys/stat.h.
2732         * io/tst-fstatat.c: Include sys/stat.h.
2733         * io/tst-futimesat.c: Include sys/stat.h.
2734         * io/tst-linkat.c: Include sys/stat.h.
2735         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2736         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2737         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2738         * io/tst-openat.c: Include stdbool.h.
2739         * io/tst-readlinkat.c: Include sys/stat.h.
2740         * io/tst-renameat.c: Include sys/stat.h.
2741         * io/tst-symlinkat.c: Include sys/stat.h.
2742         * io/tst-unlinkat.c: Include stdbool.h.
2743         * libio/bug-memstream1.c: Include stdlib.h.
2744         * libio/bug-wmemstream1.c: Include stdlib.h.
2745         * libio/tst-fwrite-error.c: Include stdlib.h.
2746         * libio/tst-memstream1.c: Include stdlib.h.
2747         * libio/tst-memstream2.c: Include stdlib.h.
2748         * libio/tst-memstream3.c: Include stdlib.h.
2749         * malloc/tst-interpose-aux.c: Include stdint.h.
2750         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2751         * nptl/tst-basic7.c: Include limits.h.
2752         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2753         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2754         * nptl/tst-cancel4_1.c: Include stddef.h.
2755         * nptl/tst-cancel4_2.c: Include stddef.h.
2756         * nptl/tst-cond16.c: Include limits.h.
2757         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2758         * nptl/tst-cond18.c: Include limits.h.
2759         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2760         * nptl/tst-cond4.c: Include stdint.h.
2761         * nptl/tst-cond6.c: Include stdint.h.
2762         * nptl/tst-stack2.c: Include limits.h.
2763         * nptl/tst-stackguard1.c: Include stddef.h.
2764         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2765         * nptl/tst-tls4moda.c: Include stddef.h.
2766         Don't include stdio.h, unistd.h, or tls.h.
2767         * nptl/tst-tls4modb.c: Include stddef.h.
2768         Don't include stdio.h, unistd.h, or tls.h.
2769         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2770         * posix/tst-getaddrinfo2.c: Include stdio.h.
2771         * posix/tst-getaddrinfo5.c: Include stdio.h.
2772         * posix/tst-pathconf.c: Include sys/stat.h.
2773         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2774         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2775         * posix/tst-regex.c: Include stdint.h.
2776         Don't include spawn.h or spawn_int.h.
2777         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2778         * posix/tst-vfork3.c: Include sys/stat.h.
2779         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2780         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2781         * resolv/tst-resolv-search.c: Include stdlib.h.
2782         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2783         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2784         * stdlib/test-canon.c: Include sys/stat.h.
2785         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2786         * string/test-memchr.c: Include stdint.h.
2787         * string/tst-cmp.c: Include stdint.h.
2788         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2789         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2790         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2791         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2792         Don't include init-arch.h.
2793         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2794         Don't include init-arch.h.
2795         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2796         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2797         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2798         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2799         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2800         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2801         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2802         * time/clocktest.c: Include stdint.h.
2803         * time/tst-posixtz.c: Include stdint.h.
2804         * timezone/tst-timezone.c: Include stdint.h.
2806 2017-02-16  Zack Weinberg  <zackw@panix.com>
2808         * string/string.h [__USE_MISC]: Include strings.h.
2809         (__bzero, bcmp, bcopy, bzero, index, rindex)
2810         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2811         (ffs, ffsl, ffsll): Don't declare.
2812         * string/strings.h: Do not suppress the file if string.h has
2813         already been included.
2814         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2815         annotations.
2816         (index, rindex): Define inline forwarders even if
2817         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2818         (ffs): Use __attribute_const__.
2819         (ffsl, ffsll): Declare here.
2820         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2821         have now been standardized.
2822         * include/string.h (__bzero): Declare here.
2824         * bits/types.h: Move to posix/bits.
2825         * include/bits/types.h: New wrapper.
2827 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2829         * string/bits/string2.h (strcmp): Remove define.
2830         (__strcmp_cg): Likewise.
2831         (strncmp): Likewise.
2833 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2835         * include/string.h: Add __cplusplus check.
2837 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2839         [BZ #21134]
2840         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2841         "divide by zero" exception when the input is zero.
2842         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2843         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2844         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2845         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2846         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2848 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2850         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2851         and include ...
2852         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2853         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2854         to, and include ...
2855         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2856         file.
2857         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2858         and include ...
2859         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2860         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2861         and include ...
2862         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2863         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2864         and include ...
2865         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2866         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2867         and include ...
2868         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2869         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2870         to, and include ...
2871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2872         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2873         and include ...
2874         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2876 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2878         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2879         here.
2880         * math/libm-test-support.c (libm_test_init): Do not call
2881         INIT_ARCH_EXT here.
2882         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2883         (main): Call INIT_ARCH_EXT.
2885 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2887         [BZ #21130]
2888         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2889         with the "invalid" exception raised when x is -Inf.
2890         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2892 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2894         * string/bits/string2.h (strchr): Remove define.
2896 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2898         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2899         tst-avx512.
2900         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2901         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2902         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2903         ($(objpfx)tst-sse): New rule.
2904         ($(objpfx)tst-avx): Likewise.
2905         ($(objpfx)tst-avx512): Likewise.
2906         (CFLAGS-tst-avx-aux.c): New.
2907         (CFLAGS-tst-avxmod.c): Likewise.
2908         (CFLAGS-tst-avx512-aux.c): Likewise.
2909         (CFLAGS-tst-avx512mod.c): Likewise.
2910         * sysdeps/x86_64/tst-avx-aux.c: New file.
2911         * sysdeps/x86_64/tst-avx.c: Likewise.
2912         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2913         * sysdeps/x86_64/tst-avx512.c: Likewise.
2914         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2915         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2916         * sysdeps/x86_64/tst-sse.c: Likewise.
2917         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2919 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2921         * math/auto-libm-test-in: Add more tests of csin and csinh.
2922         * math/auto-libm-test-out-csin: Regenerated.
2923         * math/auto-libm-test-out-csinh: Likewise.
2924         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2925         auto-libm-test-in.
2926         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2928 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2930         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2931         libm-compat-calls-auto.
2932         (libm-compat-calls): Likewise.
2933         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2934         w_lgamma_compatF and k_standardF (merged from the items above).
2935         (libm-routines): Use libm-compat-calls, instead of
2936         libm-compat-calls-auto, with type-foreach.
2938 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2940         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2941         macro.
2942         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2943         (CFLAGS-test-ifloat.c): ... this.  Remove
2944         -U__LIBC_INTERNAL_MATH_INLINES.
2945         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2946         (CFLAGS-test-idouble.c): ... this.  Remove
2947         -U__LIBC_INTERNAL_MATH_INLINES.
2948         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2949         (CFLAGS-test-ildouble.c): ... this.  Remove
2950         -U__LIBC_INTERNAL_MATH_INLINES.
2952 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2954         * math/libm-test-support.c: New file.  Content from
2955         math/libm-test-driver.c.
2956         * math/libm-test-support.h: Likewise.
2957         * math/libm-test-support-double.c: New file.
2958         * math/libm-test-support-float.c: Likewise.
2959         * math/libm-test-support-ldouble.c: Likewise.
2960         * math/libm-test-driver.c: Remove main comment and header
2961         includes.  Include libm-test-support.h.
2962         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2963         (flag_test_errno): Remove static.
2964         (flag_test_exceptions): Likewise.
2965         (flag_test_finite): Likewise.
2966         (flag_test_inline): Likewise.
2967         (flag_test_mathvec): Likewise.
2968         (test_msg): Likewise.
2969         (NO_EXCEPTION): Remove.
2970         (INVALID_EXCEPTION): Likewise.
2971         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2972         (OVERFLOW_EXCEPTION): Likewise.
2973         (UNDERFLOW_EXCEPTION): Likewise.
2974         (INEXACT_EXCEPTION): Likewise.
2975         (INVALID_EXCEPTION_OK): Likewise.
2976         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2977         (OVERFLOW_EXCEPTION_OK): Likewise.
2978         (UNDERFLOW_EXCEPTION_OK): Likewise.
2979         (NO_INEXACT_EXCEPTION): Likewise.
2980         (EXCEPTIONS_OK): Likewise.
2981         (IGNORE_ZERO_INF_SIGN): Likewise.
2982         (TEST_NAN_SIGN): Likewise.
2983         (TEST_NAN_PAYLOAD): Likewise.
2984         (NO_TEST_INLINE): Likewise.
2985         (XFAIL_TEST): Likewise.
2986         (ERRNO_UNCHANGED): Likewise.
2987         (ERRNO_EDOM): Likewise.
2988         (ERRNO_ERANGE): Likewise.
2989         (IGNORE_RESULT): Likewise.
2990         (NON_FINITE): Likewise.
2991         (TEST_SNAN): Likewise.
2992         (NO_TEST_MATHVEC): Likewise.
2993         (__CONCATX): Likewise.
2994         (TYPE_MIN): Likewise.
2995         (TYPE_TRUE_MIN): Likewise.
2996         (TYPE_MAX): Likewise.
2997         (MIN_EXP): Likewise.
2998         (MAX_EXP): Likewise.
2999         (MANT_DIG): Likewise.
3000         (FSTR_MAX): Likewise.
3001         (ulp_idx): Likewise.
3002         (qtype_str): Remove static.
3003         (TEST_COND_binary32): Remove.
3004         (TEST_COND_binary64): Likewise.
3005         (TEST_COND_binary128): Likewise.
3006         (TEST_COND_ibm128): Likewise.
3007         (TEST_COND_intel96): Likewise.
3008         (TEST_COND_m68k96): Likewise.
3009         (TEST_COND_ibm128_libgcc): Likewise.
3010         (XFAIL_IBM128_LIBGCC): Likewise.
3011         (PAYLOAD_DIG): Likewise.
3012         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3013         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3014         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3015         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3016         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3017         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3018         (TEST_COND_long32): Likewise.
3019         (TEST_COND_long64): Likewise.
3020         (TEST_COND_before_rounding): Likewise.
3021         (TEST_COND_after_rounding): Likewise.
3022         (ulps_file_name): Likewise.
3023         (ulps_file): Likewise.
3024         (output_ulps): Likewise.
3025         (output_dir): Likewise.
3026         (noErrors): Likewise.
3027         (noTests): Likewise.
3028         (noExcTests): Likewise.
3029         (noErrnoTests): Likewise.
3030         (verbose): Likewise.
3031         (output_max_error): Likewise.
3032         (output_points): Likewise.
3033         (ignore_max_ulp): Likewise.
3034         (max_error): Likewise.
3035         (real_max_error): Likewise.
3036         (imag_max_error): Likewise.
3037         (prev_max_error): Likewise.
3038         (prev_real_max_error): Likewise.
3039         (prev_imag_max_error): Likewise.
3040         (max_valid_error): Likewise.
3041         (TYPE_DECIMAL_DIG): Likewise.
3042         (TYPE_HEX_DIG): Likewise.
3043         (fmt_ftostr): Likewise.
3044         (compare_ulp_data): Likewise.
3045         (find_ulps): Likewise.
3046         (init_max_error): Likewise.
3047         (set_max_error): Likewise.
3048         (print_float): Likewise.
3049         (print_screen): Likewise.
3050         (print_screen_max_error): Likewise.
3051         (update_stats): Likewise.
3052         (print_function_ulps): Likewise.
3053         (print_complex_function_ulps): Likewise.
3054         (fpstack_test): Likewise.
3055         (print_max_error): Likewise.
3056         (print_complex_max_error): Likewise.
3057         (test_single_exception): Likewise.
3058         (test_exceptions): Likewise.
3059         (test_single_errno): Likewise.
3060         (test_errno): Likewise.
3061         (ULPDIFF): Likewise.
3062         (ulp): Likewise.
3063         (check_float_internal): Likewise.
3064         (check_float): Likewise.
3065         (check_complex): Likewise.
3066         (check_int): Likewise.
3067         (check_long): Likewise.
3068         (check_bool): Likewise.
3069         (check_longlong): Likewise.
3070         (check_intmax_t): Likewise.
3071         (check_uintmax_t): Likewise.
3072         (enable_test): Likewise.
3073         (matherr): Likewise.
3074         (initialize): Likewise.
3075         (options): Likewise.
3076         (doc): Remove static.
3077         (argp): Likewise.
3078         (parse_opt): Remove.
3079         (check_ulp): Likewise.
3080         (libm_test_init): Likewise.
3081         (libm_test_finish): Likewise.
3082         * math/Makefile (libm-test-support): New variable.
3083         (test-extras): Add libm-test-support files.
3084         (extra-test-objs): Likewise.
3085         (CFLAGS-libm-test-support-float.c): New variable.
3086         (CFLAGS-libm-test-support-double.c): Likewise.
3087         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3088         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3089         libm-test-support objects.
3091 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3093         * math/Makefile (libm-calls): Move w_exp...
3094         (libm-compat-calls-auto): Here.
3096         * math/w_expl.c: Add suffix "_compat" to filename.
3097         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3098         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3099         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3100         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3101         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3102         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3103         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3104         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3106         * math/w_expl_compat.c: New file, copied from above.
3107         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3108         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3109         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3110         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3111         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3112         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3113         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3114         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3116         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3117         to filename.
3118         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3120         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3121         copied from above and adjusted for the new filenames.
3122         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3124 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3126         * math/Makefile (libm-calls): Move w_lgammaF...
3127         (libm-compat-calls-auto): Here.
3129         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3130         * math/w_lgammaf.c: Likewise.
3131         * math/w_lgammal.c: Likewise.
3133         * math/w_lgamma_compat2.c: New file, copied from above.
3134         * math/w_lgammaf_compat2.c: Likewise.
3135         * math/w_lgammal_compat2.c: Likewise.
3137 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3139         * math/Makefile (libm-calls): Move w_lgammaF_r...
3140         (libm-compat-calls-auto): Here.
3142         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3143         * math/w_lgammaf_r.c: Likewise.
3144         * math/w_lgammal_r.c: Likewise.
3145         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3146         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3147         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3149         * math/w_lgamma_r_compat.c: New file, copied from above.
3150         * math/w_lgammaf_r_compat.c: Likewise.
3151         * math/w_lgammal_r_compat.c: Likewise.
3152         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3153         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3154         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3156         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3157         to filename.
3158         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3160         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3161         copied from above and adjusted for the new filenames.
3162         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3164 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3166         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3167         calculation in SYSCALL_ERROR_HANDLER().
3169 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3171         * manual/contrib.texi: Fix typo.
3173 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3175         [BZ #21109]
3176         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3177         tunable_val_t as argument.
3178         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3179         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3180         argument.
3181         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3183 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3185         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3186         Add PTRACE_EVENT_STOP.
3187         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3188         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3189         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3190         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3191         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3192         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3194 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3196         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3197         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3198         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3199         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3200         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3201         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3202         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3203         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3204         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3205         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3207         [BZ #21112]
3208         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3209         12 bits zero.
3210         (cp_l): Update for new value of cp_h.
3211         * math/auto-libm-test-in: Add another test of pow.
3212         * math/auto-libm-test-out-pow: Regenerated.
3214 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3216         * manual/contrib.texi: Fix typo.
3218 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3220         [BZ #15998]
3221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3222         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3225 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3227         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3228         STRCHR as __strchr_power8.
3229         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3230         strlen as __strlen_power8.
3232 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3234         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3235         unaligned load for shorter strings.
3236         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3238 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3240         * math/libm-test-driver.c (flag_test_errno): New variable.
3241         (flag_test_exceptions): Likewise.
3242         (flag_test_finite): Likewise.
3243         (flag_test_inline): Likewise.
3244         (flag_test_mathvec): Likewise.
3245         (test_msg): Likewise.
3246         (ulp_idx): Likewise.
3247         (qtype_str): Likewise.
3248         (ULP_IDX): Remove macro.
3249         (QTYPE_STR): Likewise.
3250         (find_ulps): Use ulp_idx not ULP_IDX.
3251         (print_function_ulps): Use qtype_str, printed with %s, not
3252         QTYPE_STR, printed with concatentation to format string.
3253         (print_complex_function_ulps): Likewise.
3254         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3255         (test_errno): Use flag_test_errno not TEST_ERRNO.
3256         (enable_test): Use flag_test_inline, flag_test_finite and
3257         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3258         TEST_MATHVEC.
3259         (libm_test_init): New function.  Factored out of main.
3260         (libm_test_finish): Likewise.
3261         (main): Call libm_test_init and libm_test_finish and move most
3262         code to those functions.
3264         * math/libm-test-driver.c (STRX): New macro.
3265         (STR): Likewise.
3266         (STR_FLOAT): Likewise.
3267         (STR_VEC_LEN): Likewise.
3268         (TEST_MSG): Likewise.  Define here instead of expecting to be
3269         defined by including file.
3270         * math/test-double-finite.c (TEST_MSG): Remove macro.
3271         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3272         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3273         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3274         * math/test-double.c (TEST_MSG): Likewise.
3275         * math/test-float-finite.c (TEST_MSG): Likewise.
3276         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3277         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3278         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3279         * math/test-float.c (TEST_MSG): Likewise.
3280         * math/test-idouble.c (TEST_MSG): Likewise.
3281         * math/test-ifloat.c (TEST_MSG): Likewise.
3282         * math/test-ildouble.c (TEST_MSG): Likewise.
3283         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3284         * math/test-ldouble.c (TEST_MSG): Likewise.
3286         * math/libm-test.inc: Move all tests of individual functions to
3287         libm-test-*.inc and #include libm-test-*.c files.
3288         (acos_test_data): Remove.
3289         (acos_test): Likewise.
3290         (acosh_test_data): Likewise.
3291         (acosh_test): Likewise.
3292         (asin_test_data): Likewise.
3293         (asin_test): Likewise.
3294         (asinh_test_data): Likewise.
3295         (asinh_test): Likewise.
3296         (atan_test_data): Likewise.
3297         (atan_test): Likewise.
3298         (atanh_test_data): Likewise.
3299         (atanh_test): Likewise.
3300         (atan2_test_data): Likewise.
3301         (atan2_test): Likewise.
3302         (cabs_test_data): Likewise.
3303         (cabs_test): Likewise.
3304         (cacos_test_data): Likewise.
3305         (cacos_test): Likewise.
3306         (cacosh_test_data): Likewise.
3307         (cacosh_test): Likewise.
3308         (canonicalize_test_data): Likewise.
3309         (canonicalize_test): Likewise.
3310         (carg_test_data): Likewise.
3311         (carg_test): Likewise.
3312         (casin_test_data): Likewise.
3313         (casin_test): Likewise.
3314         (casinh_test_data): Likewise.
3315         (casinh_test): Likewise.
3316         (catan_test_data): Likewise.
3317         (catan_test): Likewise.
3318         (catanh_test_data): Likewise.
3319         (catanh_test): Likewise.
3320         (cbrt_test_data): Likewise.
3321         (cbrt_test): Likewise.
3322         (ccos_test_data): Likewise.
3323         (ccos_test): Likewise.
3324         (ccosh_test_data): Likewise.
3325         (ccosh_test): Likewise.
3326         (ceil_test_data): Likewise.
3327         (ceil_test): Likewise.
3328         (cexp_test_data): Likewise.
3329         (cexp_test): Likewise.
3330         (cimag_test_data): Likewise.
3331         (cimag_test): Likewise.
3332         (clog_test_data): Likewise.
3333         (clog_test): Likewise.
3334         (clog10_test_data): Likewise.
3335         (clog10_test): Likewise.
3336         (conj_test_data): Likewise.
3337         (conj_test): Likewise.
3338         (copysign_test_data): Likewise.
3339         (copysign_test): Likewise.
3340         (cos_test_data): Likewise.
3341         (cos_test): Likewise.
3342         (cosh_test_data): Likewise.
3343         (cosh_test): Likewise.
3344         (cpow_test_data): Likewise.
3345         (cpow_test): Likewise.
3346         (cproj_test_data): Likewise.
3347         (cproj_test): Likewise.
3348         (creal_test_data): Likewise.
3349         (creal_test): Likewise.
3350         (csin_test_data): Likewise.
3351         (csin_test): Likewise.
3352         (csinh_test_data): Likewise.
3353         (csinh_test): Likewise.
3354         (csqrt_test_data): Likewise.
3355         (csqrt_test): Likewise.
3356         (ctan_test_data): Likewise.
3357         (ctan_test): Likewise.
3358         (ctanh_test_data): Likewise.
3359         (ctanh_test): Likewise.
3360         (erf_test_data): Likewise.
3361         (erf_test): Likewise.
3362         (erfc_test_data): Likewise.
3363         (erfc_test): Likewise.
3364         (exp_test_data): Likewise.
3365         (exp_test): Likewise.
3366         (exp10_test_data): Likewise.
3367         (exp10_test): Likewise.
3368         (pow10_test): Likewise.
3369         (exp2_test_data): Likewise.
3370         (exp2_test): Likewise.
3371         (expm1_test_data): Likewise.
3372         (expm1_test): Likewise.
3373         (fabs_test_data): Likewise.
3374         (fabs_test): Likewise.
3375         (fdim_test_data): Likewise.
3376         (fdim_test): Likewise.
3377         (floor_test_data): Likewise.
3378         (floor_test): Likewise.
3379         (fma_test_data): Likewise.
3380         (fma_test): Likewise.
3381         (fmax_test_data): Likewise.
3382         (fmax_test): Likewise.
3383         (fmaxmag_test_data): Likewise.
3384         (fmaxmag_test): Likewise.
3385         (fmin_test_data): Likewise.
3386         (fmin_test): Likewise.
3387         (fminmag_test_data): Likewise.
3388         (fminmag_test): Likewise.
3389         (fmod_test_data): Likewise.
3390         (fmod_test): Likewise.
3391         (fpclassify_test_data): Likewise.
3392         (fpclassify_test): Likewise.
3393         (frexp_test_data): Likewise.
3394         (frexp_test): Likewise.
3395         (fromfp_test_data): Likewise.
3396         (fromfp_test): Likewise.
3397         (fromfpx_test_data): Likewise.
3398         (fromfpx_test): Likewise.
3399         (getpayload_test_data): Likewise.
3400         (getpayload_test): Likewise.
3401         (hypot_test_data): Likewise.
3402         (hypot_test): Likewise.
3403         (ilogb_test_data): Likewise.
3404         (ilogb_test): Likewise.
3405         (iscanonical_test_data): Likewise.
3406         (iscanonical_test): Likewise.
3407         (iseqsig_test_data): Likewise.
3408         (iseqsig_test): Likewise.
3409         (isfinite_test_data): Likewise.
3410         (isfinite_test): Likewise.
3411         (finite_test): Likewise.
3412         (isgreater_test_data): Likewise.
3413         (isgreater_test): Likewise.
3414         (isgreaterequal_test_data): Likewise.
3415         (isgreaterequal_test): Likewise.
3416         (isinf_test_data): Likewise.
3417         (isinf_test): Likewise.
3418         (isless_test_data): Likewise.
3419         (isless_test): Likewise.
3420         (islessequal_test_data): Likewise.
3421         (islessequal_test): Likewise.
3422         (islessgreater_test_data): Likewise.
3423         (islessgreater_test): Likewise.
3424         (isnan_test_data): Likewise.
3425         (isnan_test): Likewise.
3426         (isnormal_test_data): Likewise.
3427         (isnormal_test): Likewise.
3428         (issignaling_test_data): Likewise.
3429         (issignaling_test): Likewise.
3430         (issubnormal_test_data): Likewise.
3431         (issubnormal_test): Likewise.
3432         (isunordered_test_data): Likewise.
3433         (isunordered_test): Likewise.
3434         (iszero_test_data): Likewise.
3435         (iszero_test): Likewise.
3436         (j0_test_data): Likewise.
3437         (j0_test): Likewise.
3438         (j1_test_data): Likewise.
3439         (j1_test): Likewise.
3440         (jn_test_data): Likewise.
3441         (jn_test): Likewise.
3442         (lgamma_test_data): Likewise.
3443         (lgamma_test): Likewise.
3444         (gamma_test): Likewise.
3445         (llogb_test_data): Likewise.
3446         (llogb_test): Likewise.
3447         (lrint_test_data): Likewise.
3448         (lrint_test): Likewise.
3449         (llrint_test_data): Likewise.
3450         (llrint_test): Likewise.
3451         (log_test_data): Likewise.
3452         (log_test): Likewise.
3453         (log10_test_data): Likewise.
3454         (log10_test): Likewise.
3455         (log1p_test_data): Likewise.
3456         (log1p_test): Likewise.
3457         (log2_test_data): Likewise.
3458         (log2_test): Likewise.
3459         (logb_test_data): Likewise.
3460         (logb_test): Likewise.
3461         (lround_test_data): Likewise.
3462         (lround_test): Likewise.
3463         (llround_test_data): Likewise.
3464         (llround_test): Likewise.
3465         (modf_test_data): Likewise.
3466         (modf_test): Likewise.
3467         (nearbyint_test_data): Likewise.
3468         (nearbyint_test): Likewise.
3469         (nextafter_test_data): Likewise.
3470         (nextafter_test): Likewise.
3471         (nextup_test_data): Likewise.
3472         (nextup_test): Likewise.
3473         (nextdown_test_data): Likewise.
3474         (nextdown_test): Likewise.
3475         (nexttoward_test_data): Likewise.
3476         (nexttoward_test): Likewise.
3477         (pow_test_data): Likewise.
3478         (pow_test): Likewise.
3479         (remainder_test_data): Likewise.
3480         (remainder_test): Likewise.
3481         (drem_test): Likewise.
3482         (remquo_test_data): Likewise.
3483         (remquo_test): Likewise.
3484         (rint_test_data): Likewise.
3485         (rint_test): Likewise.
3486         (round_test_data): Likewise.
3487         (round_test): Likewise.
3488         (roundeven_test_data): Likewise.
3489         (roundeven_test): Likewise.
3490         (scalb_test_data): Likewise.
3491         (scalb_test): Likewise.
3492         (scalbn_test_data): Likewise.
3493         (scalbn_test): Likewise.
3494         (ldexp_test): Likewise.
3495         (scalbln_test_data): Likewise.
3496         (scalbln_test): Likewise.
3497         (setpayload_test_data): Likewise.
3498         (setpayload_test): Likewise.
3499         (setpayloadsig_test_data): Likewise.
3500         (setpayloadsig_test): Likewise.
3501         (signbit_test_data): Likewise.
3502         (signbit_test): Likewise.
3503         (sin_test_data): Likewise.
3504         (sin_test): Likewise.
3505         (sincos_test_data): Likewise.
3506         (sincos_test): Likewise.
3507         (sinh_test_data): Likewise.
3508         (sinh_test): Likewise.
3509         (sqrt_test_data): Likewise.
3510         (sqrt_test): Likewise.
3511         (tan_test_data): Likewise.
3512         (tan_test): Likewise.
3513         (tanh_test_data): Likewise.
3514         (tanh_test): Likewise.
3515         (tgamma_test_data): Likewise.
3516         (tgamma_test): Likewise.
3517         (totalorder_test_data): Likewise.
3518         (totalorder_test): Likewise.
3519         (totalordermag_test_data): Likewise.
3520         (totalordermag_test): Likewise.
3521         (trunc_test_data): Likewise.
3522         (trunc_test): Likewise.
3523         (ufromfp_test_data): Likewise.
3524         (ufromfp_test): Likewise.
3525         (ufromfpx_test_data): Likewise.
3526         (ufromfpx_test): Likewise.
3527         (y0_test_data): Likewise.
3528         (y0_test): Likewise.
3529         (y1_test_data): Likewise.
3530         (y1_test): Likewise.
3531         (yn_test_data): Likewise.
3532         (yn_test): Likewise.
3533         (significand_test_data): Likewise.
3534         (significand_test): Likewise.
3535         * math/Makefile (auto-libm-test-out-files): Remove variable.
3536         (libm-test-funcs-noauto): New variable.
3537         (libm-test-funcs-all): Likewise.
3538         (libm-test-c-auto): Likewise.
3539         (libm-test-c-noauto): Likewise.
3540         (libm-tests-generated): Add $(libm-test-c-auto) and
3541         $(libm-test-c-noauto).
3542         (generated): Do not add auto-libm-test-out.
3543         (libm-test-c-auto-obj): New variable.
3544         (libm-test-c-noauto-obj): Likewise.
3545         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3546         ($(libm-test-c-noauto-obj)): New static pattern rule.
3547         ($(libm-test-c-auto-obj)): Likewise.
3548         (libm-test-incs): New variable.
3549         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3550         and pass it to gen-libm-have-vector-test.sh.
3551         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3552         be passed on command line.
3553         * math/libm-test-acos.inc: New file.  Content from
3554         math/libm-test.inc.
3555         * math/libm-test-acosh.inc: Likewise.
3556         * math/libm-test-asin.inc: Likewise.
3557         * math/libm-test-asinh.inc: Likewise.
3558         * math/libm-test-atan.inc: Likewise.
3559         * math/libm-test-atan2.inc: Likewise.
3560         * math/libm-test-atanh.inc: Likewise.
3561         * math/libm-test-cabs.inc: Likewise.
3562         * math/libm-test-cacos.inc: Likewise.
3563         * math/libm-test-cacosh.inc: Likewise.
3564         * math/libm-test-canonicalize.inc: Likewise.
3565         * math/libm-test-carg.inc: Likewise.
3566         * math/libm-test-casin.inc: Likewise.
3567         * math/libm-test-casinh.inc: Likewise.
3568         * math/libm-test-catan.inc: Likewise.
3569         * math/libm-test-catanh.inc: Likewise.
3570         * math/libm-test-cbrt.inc: Likewise.
3571         * math/libm-test-ccos.inc: Likewise.
3572         * math/libm-test-ccosh.inc: Likewise.
3573         * math/libm-test-ceil.inc: Likewise.
3574         * math/libm-test-cexp.inc: Likewise.
3575         * math/libm-test-cimag.inc: Likewise.
3576         * math/libm-test-clog.inc: Likewise.
3577         * math/libm-test-clog10.inc: Likewise.
3578         * math/libm-test-conj.inc: Likewise.
3579         * math/libm-test-copysign.inc: Likewise.
3580         * math/libm-test-cos.inc: Likewise.
3581         * math/libm-test-cosh.inc: Likewise.
3582         * math/libm-test-cpow.inc: Likewise.
3583         * math/libm-test-cproj.inc: Likewise.
3584         * math/libm-test-creal.inc: Likewise.
3585         * math/libm-test-csin.inc: Likewise.
3586         * math/libm-test-csinh.inc: Likewise.
3587         * math/libm-test-csqrt.inc: Likewise.
3588         * math/libm-test-ctan.inc: Likewise.
3589         * math/libm-test-ctanh.inc: Likewise.
3590         * math/libm-test-erf.inc: Likewise.
3591         * math/libm-test-erfc.inc: Likewise.
3592         * math/libm-test-exp.inc: Likewise.
3593         * math/libm-test-exp10.inc: Likewise.
3594         * math/libm-test-exp2.inc: Likewise.
3595         * math/libm-test-expm1.inc: Likewise.
3596         * math/libm-test-fabs.inc: Likewise.
3597         * math/libm-test-fdim.inc: Likewise.
3598         * math/libm-test-floor.inc: Likewise.
3599         * math/libm-test-fma.inc: Likewise.
3600         * math/libm-test-fmax.inc: Likewise.
3601         * math/libm-test-fmaxmag.inc: Likewise.
3602         * math/libm-test-fmin.inc: Likewise.
3603         * math/libm-test-fminmag.inc: Likewise.
3604         * math/libm-test-fmod.inc: Likewise.
3605         * math/libm-test-fpclassify.inc: Likewise.
3606         * math/libm-test-frexp.inc: Likewise.
3607         * math/libm-test-fromfp.inc: Likewise.
3608         * math/libm-test-fromfpx.inc: Likewise.
3609         * math/libm-test-getpayload.inc: Likewise.
3610         * math/libm-test-hypot.inc: Likewise.
3611         * math/libm-test-ilogb.inc: Likewise.
3612         * math/libm-test-iscanonical.inc: Likewise.
3613         * math/libm-test-iseqsig.inc: Likewise.
3614         * math/libm-test-isfinite.inc: Likewise.
3615         * math/libm-test-isgreater.inc: Likewise.
3616         * math/libm-test-isgreaterequal.inc: Likewise.
3617         * math/libm-test-isinf.inc: Likewise.
3618         * math/libm-test-isless.inc: Likewise.
3619         * math/libm-test-islessequal.inc: Likewise.
3620         * math/libm-test-islessgreater.inc: Likewise.
3621         * math/libm-test-isnan.inc: Likewise.
3622         * math/libm-test-isnormal.inc: Likewise.
3623         * math/libm-test-issignaling.inc: Likewise.
3624         * math/libm-test-issubnormal.inc: Likewise.
3625         * math/libm-test-isunordered.inc: Likewise.
3626         * math/libm-test-iszero.inc: Likewise.
3627         * math/libm-test-j0.inc: Likewise.
3628         * math/libm-test-j1.inc: Likewise.
3629         * math/libm-test-jn.inc: Likewise.
3630         * math/libm-test-lgamma.inc: Likewise.
3631         * math/libm-test-llogb.inc: Likewise.
3632         * math/libm-test-llrint.inc: Likewise.
3633         * math/libm-test-llround.inc: Likewise.
3634         * math/libm-test-log.inc: Likewise.
3635         * math/libm-test-log10.inc: Likewise.
3636         * math/libm-test-log1p.inc: Likewise.
3637         * math/libm-test-log2.inc: Likewise.
3638         * math/libm-test-logb.inc: Likewise.
3639         * math/libm-test-lrint.inc: Likewise.
3640         * math/libm-test-lround.inc: Likewise.
3641         * math/libm-test-modf.inc: Likewise.
3642         * math/libm-test-nearbyint.inc: Likewise.
3643         * math/libm-test-nextafter.inc: Likewise.
3644         * math/libm-test-nextdown.inc: Likewise.
3645         * math/libm-test-nexttoward.inc: Likewise.
3646         * math/libm-test-nextup.inc: Likewise.
3647         * math/libm-test-pow.inc: Likewise.
3648         * math/libm-test-remainder.inc: Likewise.
3649         * math/libm-test-remquo.inc: Likewise.
3650         * math/libm-test-rint.inc: Likewise.
3651         * math/libm-test-round.inc: Likewise.
3652         * math/libm-test-roundeven.inc: Likewise.
3653         * math/libm-test-scalb.inc: Likewise.
3654         * math/libm-test-scalbln.inc: Likewise.
3655         * math/libm-test-scalbn.inc: Likewise.
3656         * math/libm-test-setpayload.inc: Likewise.
3657         * math/libm-test-setpayloadsig.inc: Likewise.
3658         * math/libm-test-signbit.inc: Likewise.
3659         * math/libm-test-significand.inc: Likewise.
3660         * math/libm-test-sin.inc: Likewise.
3661         * math/libm-test-sincos.inc: Likewise.
3662         * math/libm-test-sinh.inc: Likewise.
3663         * math/libm-test-sqrt.inc: Likewise.
3664         * math/libm-test-tan.inc: Likewise.
3665         * math/libm-test-tanh.inc: Likewise.
3666         * math/libm-test-tgamma.inc: Likewise.
3667         * math/libm-test-totalorder.inc: Likewise.
3668         * math/libm-test-totalordermag.inc: Likewise.
3669         * math/libm-test-trunc.inc: Likewise.
3670         * math/libm-test-ufromfp.inc: Likewise.
3671         * math/libm-test-ufromfpx.inc: Likewise.
3672         * math/libm-test-y0.inc: Likewise.
3673         * math/libm-test-y1.inc: Likewise.
3674         * math/libm-test-yn.inc: Likewise.
3675         * math/README.libm-test: Update.
3677         * math/gen-auto-libm-tests.c: Update comment about use of program.
3678         (generate_output): Add argument FUNCTION.
3679         (main): Require extra argument.  Pass function name to
3680         generate_output.
3681         * math/Makefile (generated): Add auto-libm-test-out.
3682         (libm-test-funcs-auto): New variable.
3683         (auto-libm-test-out-files): New variable.
3684         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3685         Concatenate those files to form $(objpfx)auto-libm-test-out and
3686         use it as input to gen-libm-test.pl.
3687         * math/README.libm-test: Update.
3688         * math/auto-libm-test-out: Remove.
3689         * math/auto-libm-test-out-acos: New generated file.
3690         * math/auto-libm-test-out-acosh: Likewise.
3691         * math/auto-libm-test-out-asin: Likewise.
3692         * math/auto-libm-test-out-asinh: Likewise.
3693         * math/auto-libm-test-out-atan: Likewise.
3694         * math/auto-libm-test-out-atan2: Likewise.
3695         * math/auto-libm-test-out-atanh: Likewise.
3696         * math/auto-libm-test-out-cabs: Likewise.
3697         * math/auto-libm-test-out-carg: Likewise.
3698         * math/auto-libm-test-out-cbrt: Likewise.
3699         * math/auto-libm-test-out-ccos: Likewise.
3700         * math/auto-libm-test-out-ccosh: Likewise.
3701         * math/auto-libm-test-out-cexp: Likewise.
3702         * math/auto-libm-test-out-clog: Likewise.
3703         * math/auto-libm-test-out-clog10: Likewise.
3704         * math/auto-libm-test-out-cos: Likewise.
3705         * math/auto-libm-test-out-cosh: Likewise.
3706         * math/auto-libm-test-out-cpow: Likewise.
3707         * math/auto-libm-test-out-csin: Likewise.
3708         * math/auto-libm-test-out-csinh: Likewise.
3709         * math/auto-libm-test-out-csqrt: Likewise.
3710         * math/auto-libm-test-out-ctan: Likewise.
3711         * math/auto-libm-test-out-ctanh: Likewise.
3712         * math/auto-libm-test-out-erf: Likewise.
3713         * math/auto-libm-test-out-erfc: Likewise.
3714         * math/auto-libm-test-out-exp: Likewise.
3715         * math/auto-libm-test-out-exp10: Likewise.
3716         * math/auto-libm-test-out-exp2: Likewise.
3717         * math/auto-libm-test-out-expm1: Likewise.
3718         * math/auto-libm-test-out-fma: Likewise.
3719         * math/auto-libm-test-out-hypot: Likewise.
3720         * math/auto-libm-test-out-j0: Likewise.
3721         * math/auto-libm-test-out-j1: Likewise.
3722         * math/auto-libm-test-out-jn: Likewise.
3723         * math/auto-libm-test-out-lgamma: Likewise.
3724         * math/auto-libm-test-out-log: Likewise.
3725         * math/auto-libm-test-out-log10: Likewise.
3726         * math/auto-libm-test-out-log1p: Likewise.
3727         * math/auto-libm-test-out-log2: Likewise.
3728         * math/auto-libm-test-out-pow: Likewise.
3729         * math/auto-libm-test-out-sin: Likewise.
3730         * math/auto-libm-test-out-sincos: Likewise.
3731         * math/auto-libm-test-out-sinh: Likewise.
3732         * math/auto-libm-test-out-sqrt: Likewise.
3733         * math/auto-libm-test-out-tan: Likewise.
3734         * math/auto-libm-test-out-tanh: Likewise.
3735         * math/auto-libm-test-out-tgamma: Likewise.
3736         * math/auto-libm-test-out-y0: Likewise.
3737         * math/auto-libm-test-out-y1: Likewise.
3738         * math/auto-libm-test-out-yn: Likewise.
3740         * math/Makefile (generated): Do not include libm-test.stmp.
3741         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3742         on $(objpfx)libm-test.stmp.
3743         ($(objpfx)libm-test.stmp): Remove rule.
3744         ($(objpfx)libm-test-ulps.h): New rule.
3745         ($(objpfx)libm-test.c): Likewise.
3746         ($(objpfx)libm-have-vector-test.h): Likewise.
3747         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3748         individual generated files, not libm-test.stmp.
3750         * math/gen-libm-test.pl ($output_dir): Remove variable.
3751         ($srcdir): Likewise.
3752         ($opt_a): New variable.
3753         ($opt_c): Likewise.
3754         ($opt_C): Likewise.
3755         ($opt_H): Likewise.
3756         (-n): Make option take argument and use it as NewUlps output.
3757         (-a): New option.  Use its argument for auto-libm-test-out input.
3758         (-c): New option.  Use its argument for libm-test.inc input.
3759         (-C): New option.  Use its argument for libm-test.c output.
3760         (-H): New option.  Use its argument for libm-test-ulps.h output.
3761         (top level): Only process inputs needed to generate outputs
3762         specified by command-line options.  Only generate outputs
3763         specified by command-line options.
3764         * math/README.libm-test: Update example gen-libm-test.pl command.
3765         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3766         commands.
3767         (regen-ulps): Likewise.
3769 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3771         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3772         * include/string.h (index): Remove define.
3773         (rindex): Likewise.
3774         * misc/getttyent.c (__getttyent): Rename index to strchr.
3775         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3776         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3778 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3780         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3781         * math/libm-test.inc: Move all contents, other than tests of
3782         individual functions, to libm-test-driver.c.
3783         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3784         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3785         [!FE_UPWARD] (FE_UPWARD): Likewise.
3786         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3787         (NO_EXCEPTION): Likewise.
3788         (INVALID_EXCEPTION): Likewise.
3789         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3790         (OVERFLOW_EXCEPTION): Likewise.
3791         (UNDERFLOW_EXCEPTION): Likewise.
3792         (INEXACT_EXCEPTION): Likewise.
3793         (INVALID_EXCEPTION_OK): Likewise.
3794         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3795         (OVERFLOW_EXCEPTION_OK): Likewise.
3796         (UNDERFLOW_EXCEPTION_OK): Likewise.
3797         (NO_INEXACT_EXCEPTION): Likewise.
3798         (EXCEPTIONS_OK): Likewise.
3799         (IGNORE_ZERO_INF_SIGN): Likewise.
3800         (TEST_NAN_SIGN): Likewise.
3801         (TEST_NAN_PAYLOAD): Likewise.
3802         (NO_TEST_INLINE): Likewise.
3803         (XFAIL_TEST): Likewise.
3804         (ERRNO_UNCHANGED): Likewise.
3805         (ERRNO_EDOM): Likewise.
3806         (ERRNO_ERANGE): Likewise.
3807         (IGNORE_RESULT): Likewise.
3808         (NON_FINITE): Likewise.
3809         (TEST_SNAN): Likewise.
3810         (NO_TEST_MATHVEC): Likewise.
3811         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3812         (__CONCATX): Likewise.
3813         (TYPE_MIN): Likewise.
3814         (TYPE_TRUE_MIN): Likewise.
3815         (TYPE_MAX): Likewise.
3816         (MIN_EXP): Likewise.
3817         (MAX_EXP): Likewise.
3818         (MANT_DIG): Likewise.
3819         (FSTR_MAX): Likewise.
3820         (ULP_IDX): Likewise.
3821         (QTYPE_STR): Likewise.
3822         (TEST_COND_binary32): Likewise.
3823         (TEST_COND_binary64): Likewise.
3824         (TEST_COND_binary128): Likewise.
3825         (TEST_COND_ibm128): Likewise.
3826         (TEST_COND_intel96): Likewise.
3827         (TEST_COND_m68k96): Likewise.
3828         (TEST_COND_ibm128_libgcc): Likewise.
3829         (XFAIL_IBM128_LIBGCC): Likewise.
3830         (PAYLOAD_DIG): Likewise.
3831         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3832         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3833         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3834         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3835         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3836         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3837         (TEST_COND_long32): Likewise.
3838         (TEST_COND_long64): Likewise.
3839         (TEST_COND_before_rounding): Likewise.
3840         (TEST_COND_after_rounding): Likewise.
3841         (lit_pi_3_m_4_d): Likewise.
3842         (lit_pi_3_m_4_ln10_m_d): Likewise.
3843         (lit_pi_2_ln10_m_d): Likewise.
3844         (lit_pi_4_ln10_m_d): Likewise.
3845         (lit_pi_ln10_d): Likewise.
3846         (lit_pi_2_d): Likewise.
3847         (lit_pi_4_d): Likewise.
3848         (lit_pi): Likewise.
3849         (lit_e): Likewise.
3850         (ulps_file_name): Likewise.
3851         (ulps_file): Likewise.
3852         (output_ulps): Likewise.
3853         (output_dir): Likewise.
3854         (noErrors): Likewise.
3855         (noTests): Likewise.
3856         (noExcTests): Likewise.
3857         (noErrnoTests): Likewise.
3858         (verbose): Likewise.
3859         (output_max_error): Likewise.
3860         (output_points): Likewise.
3861         (ignore_max_ulp): Likewise.
3862         (plus_zero): Likewise.
3863         (minus_zero): Likewise.
3864         (plus_infty): Likewise.
3865         (minus_infty): Likewise.
3866         (qnan_value_pl): Likewise.
3867         (qnan_value): Likewise.
3868         (snan_value_pl): Likewise.
3869         (snan_value): Likewise.
3870         (max_value): Likewise.
3871         (min_value): Likewise.
3872         (min_subnorm_value): Likewise.
3873         (snan_value_ld): Likewise.
3874         (max_error): Likewise.
3875         (real_max_error): Likewise.
3876         (imag_max_error): Likewise.
3877         (prev_max_error): Likewise.
3878         (prev_real_max_error): Likewise.
3879         (prev_imag_max_error): Likewise.
3880         (max_valid_error): Likewise.
3881         (TYPE_DECIMAL_DIG): Likewise.
3882         (TYPE_HEX_DIG): Likewise.
3883         (fmt_ftostr): Likewise.
3884         (compare_ulp_data): Likewise.
3885         (find_ulps): Likewise.
3886         (init_max_error): Likewise.
3887         (set_max_error): Likewise.
3888         (print_float): Likewise.
3889         (print_screen): Likewise.
3890         (print_screen_max_error): Likewise.
3891         (update_stats): Likewise.
3892         (print_function_ulps): Likewise.
3893         (print_complex_function_ulps): Likewise.
3894         (fpstack_test): Likewise.
3895         (print_max_error): Likewise.
3896         (print_complex_max_error): Likewise.
3897         (test_single_exception): Likewise.
3898         (test_exceptions): Likewise.
3899         (test_single_errno): Likewise.
3900         (test_errno): Likewise.
3901         (ULPDIFF): Likewise.
3902         (ulp): Likewise.
3903         (check_float_internal): Likewise.
3904         (check_float): Likewise.
3905         (check_complex): Likewise.
3906         (check_int): Likewise.
3907         (check_long): Likewise.
3908         (check_bool): Likewise.
3909         (check_longlong): Likewise.
3910         (check_intmax_t): Likewise.
3911         (check_uintmax_t): Likewise.
3912         (enable_test): Likewise.
3913         (struct test_f_f_data): Likewise.
3914         (struct test_ff_f_data): Likewise.
3915         (struct test_fj_f_data): Likewise.
3916         (struct test_fi_f_data): Likewise.
3917         (struct test_fl_f_data): Likewise.
3918         (struct test_if_f_data): Likewise.
3919         (struct test_fff_f_data): Likewise.
3920         (struct test_fiu_M_data): Likewise.
3921         (struct test_fiu_U_data): Likewise.
3922         (struct test_c_f_data): Likewise.
3923         (struct test_f_f1_data): Likewise.
3924         (struct test_fF_f1_data): Likewise.
3925         (struct test_ffI_f1_data): Likewise.
3926         (struct test_c_c_data): Likewise.
3927         (struct test_cc_c_data): Likewise.
3928         (struct test_f_i_data): Likewise.
3929         (struct test_ff_i_data): Likewise.
3930         (struct test_f_l_data): Likewise.
3931         (struct test_f_L_data): Likewise.
3932         (struct test_fFF_11_data): Likewise.
3933         (struct test_Ff_b1_data): Likewise.
3934         (IF_ROUND_INIT_): Likewise.
3935         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3936         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3937         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3938         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3939         (ROUND_RESTORE_): Likewise.
3940         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3941         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3942         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3943         (ROUND_RESTORE_FE_UPWARD): Likewise.
3944         (RM_): Likewise.
3945         (RM_FE_DOWNWARD): Likewise.
3946         (RM_FE_TONEAREST): Likewise.
3947         (RM_FE_TOWARDZERO): Likewise.
3948         (RM_FE_UPWARD): Likewise.
3949         (COMMON_TEST_SETUP): Likewise.
3950         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3951         (COMMON_TEST_CLEANUP): Likewise.
3952         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3953         (RUN_TEST_f_f): Likewise.
3954         (RUN_TEST_LOOP_f_f): Likewise.
3955         (RUN_TEST_fp_f): Likewise.
3956         (RUN_TEST_LOOP_fp_f): Likewise.
3957         (RUN_TEST_2_f): Likewise.
3958         (RUN_TEST_LOOP_2_f): Likewise.
3959         (RUN_TEST_ff_f): Likewise.
3960         (RUN_TEST_LOOP_ff_f): Likewise.
3961         (RUN_TEST_LOOP_fj_f): Likewise.
3962         (RUN_TEST_fi_f): Likewise.
3963         (RUN_TEST_LOOP_fi_f): Likewise.
3964         (RUN_TEST_fl_f): Likewise.
3965         (RUN_TEST_LOOP_fl_f): Likewise.
3966         (RUN_TEST_if_f): Likewise.
3967         (RUN_TEST_LOOP_if_f): Likewise.
3968         (RUN_TEST_fff_f): Likewise.
3969         (RUN_TEST_LOOP_fff_f): Likewise.
3970         (RUN_TEST_fiu_M): Likewise.
3971         (RUN_TEST_LOOP_fiu_M): Likewise.
3972         (RUN_TEST_fiu_U): Likewise.
3973         (RUN_TEST_LOOP_fiu_U): Likewise.
3974         (RUN_TEST_c_f): Likewise.
3975         (RUN_TEST_LOOP_c_f): Likewise.
3976         (RUN_TEST_f_f1): Likewise.
3977         (RUN_TEST_LOOP_f_f1): Likewise.
3978         (RUN_TEST_fF_f1): Likewise.
3979         (RUN_TEST_LOOP_fF_f1): Likewise.
3980         (RUN_TEST_fI_f1): Likewise.
3981         (RUN_TEST_LOOP_fI_f1): Likewise.
3982         (RUN_TEST_ffI_f1_mod8): Likewise.
3983         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3984         (RUN_TEST_Ff_b1): Likewise.
3985         (RUN_TEST_LOOP_Ff_b1): Likewise.
3986         (RUN_TEST_Ffp_b1): Likewise.
3987         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3988         (RUN_TEST_c_c): Likewise.
3989         (RUN_TEST_LOOP_c_c): Likewise.
3990         (RUN_TEST_cc_c): Likewise.
3991         (RUN_TEST_LOOP_cc_c): Likewise.
3992         (RUN_TEST_f_i): Likewise.
3993         (RUN_TEST_LOOP_f_i): Likewise.
3994         (RUN_TEST_f_i_tg): Likewise.
3995         (RUN_TEST_LOOP_f_i_tg): Likewise.
3996         (RUN_TEST_ff_b): Likewise.
3997         (RUN_TEST_LOOP_ff_b): Likewise.
3998         (RUN_TEST_ff_i_tg): Likewise.
3999         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4000         (RUN_TEST_f_b): Likewise.
4001         (RUN_TEST_LOOP_f_b): Likewise.
4002         (RUN_TEST_f_b_tg): Likewise.
4003         (RUN_TEST_LOOP_f_b_tg): Likewise.
4004         (RUN_TEST_f_l): Likewise.
4005         (RUN_TEST_LOOP_f_l): Likewise.
4006         (RUN_TEST_f_L): Likewise.
4007         (RUN_TEST_LOOP_f_L): Likewise.
4008         (RUN_TEST_fFF_11): Likewise.
4009         (RUN_TEST_LOOP_fFF_11): Likewise.
4010         (VEC_SUFF): Likewise.
4011         (STR_CONCAT): Likewise.
4012         (STR_CON3): Likewise.
4013         (HAVE_VECTOR): Likewise.
4014         (START): Likewise.
4015         (END): Likewise.
4016         (END_COMPLEX): Likewise.
4017         (ALL_RM_TEST): Likewise.
4018         (matherr): Likewise.
4019         (initialize): Likewise.
4020         (options): Likewise.
4021         (doc): Likewise.
4022         (parse_opt): Likewise.
4023         (argp): Likewise.
4024         (check_ulp): Likewise.
4025         (main): Likewise.
4026         (do_test): New function.  Call tests of individual functions
4027         previously called from main.
4029         * math/libm-test.inc: Remove comment listing functions tested and
4030         not tested.
4032 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4034         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4035         (allocate_stack): Remove COLORING_INCREMENT usage.
4036         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4037         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4039 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4041         * manual/libm-err-tab.pl (@all_functions): Change to
4042         %all_functions.  Initialize as empty.
4043         (parse_ulps): Add to %all_functions based on functions found in
4044         ulps files.  Ignore results for non-default rounding modes and
4045         vector functions.
4046         (print_platforms): Use %all_platforms.
4047         * manual/math.texi (Errors in Math Functions): Document omissions
4048         from the table.
4050         * math/Makefile (before-compile): Remove.
4052 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4054         [BZ #21075]
4055         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4056         unused assignment.
4057         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4059 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4061         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4062         Add __glibc_unlikely hint.
4064 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4066         [BZ #16640]
4067         * sysdeps/i386/i686/strtok.S: Remove file.
4068         * sysdeps/i386/i686/strtok_r.S: Likewise.
4069         * sysdeps/i386/strtok.S: Likewise.
4070         * sysdeps/i386/strtok_r.S: Likewise.
4071         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4072         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4073         * sysdeps/x86_64/strtok.S: Likewise.
4074         * sysdeps/x86_64/strtok_r.S: Likewise.
4076         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4077         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4078         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4079         (__ASSUME_FADVISE64_AS_64_64): Define.
4080         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4081         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4082         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4083         __ALIGNMENT_ARG usage.
4084         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4085         __NR_fadvise64_64 if it is not defined.
4087 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4089         * version.h (RELEASE): Set to "development"
4090         (VERSION): Set to 2.25.90.
4091         * NEWS: Add 2.26 section.
4093         * version.h (RELEASE): Set to "stable"
4094         (VERSION): Set to 2.25.
4095         * include/features.h (__GLIBC_MINOR__): Set to 25.
4097         * manual/contrib.texi: Add more contributors from this release
4098         and past releases.
4100         * NEWS (2.25): Add list of bugs fixed.
4102         * NEWS: Add missing news items.
4104 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4106         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4107         parent if child exited in that manner.  Print WEXITSTATUS
4108         instead of the raw status.
4109         (do_test_prep): Rename to do_test.
4110         (do_test): Return the result of run_executable_sgid.
4111         (TEST_FUNCTION_ARGV): Adjust.
4113 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4114             Florian Weimer  <fweimer@redhat.com>
4115             Carlos O'Donell  <carlos@redhat.com>
4117         [BZ #20915]
4118         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4119         Do not initialize DTV.
4120         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4122 2017-02-03  David S. Miller  <davem@davemloft.net>
4124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4127         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4132         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4133         (libm-sysdep_routines): Update.
4134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4139         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4140         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4141         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4142         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4144         Likewise.
4145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4147         Likewise.
4148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4150         Likewise.
4151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4153         Likewise.
4154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4156         (libm-sysdep_routines): Update.
4158 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4160         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4161         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4162         against unrelocated shared library.
4163         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4165 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4167         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4168         * elf/tst-env-setuid-tunables.c
4169         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4170         GLIBC_TUNABLES is removed in a setgid process.
4172         [BZ #21073]
4173         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4174         * elf/dl-tunables.c (tunables_strdup): Remove.
4175         (get_next_env): Also return the previous envp.
4176         (parse_tunables): Erase tunables of category
4177         TUNABLES_SECLEVEL_SXID_ERASE.
4178         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4179         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4180         (__tunables_init)[TUNABLES_FRONTEND ==
4181         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4182         after parsing.
4183         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4184         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4185         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4186         to security_level.
4187         * elf/dl-tunables.list: Add security_level annotations for all
4188         tunables.
4189         * scripts/gen-tunables.awk: Recognize and generate enum values
4190         for security_level.
4191         * elf/tst-env-setuid.c: New test case.
4192         * elf/tst-env-setuid-tunables: new test case.
4193         * elf/Makefile (tests-static): Add them.
4195 2017-02-01  Richard Henderson  <rth@twiddle.net>
4197         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4198         adjusting the byte count.
4200 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4202         * conform/Makefile (linknamespace-libs): Define.
4204         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4205         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4206         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4207         operands.
4209 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4211         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4213 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4215         [BZ #21081]
4216         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4217         (L(stosb)): Add VZEROUPPER before ret.
4219 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4220             Alexey Makhalov <amakhalov@vmware.com>
4221             Florian Weimer <fweimer@redhat.com>
4223         [BZ #20116]
4224         * nptl/pthread_create.c: Document concurrency notes.
4225         Enhance thread creation notes.
4226         (create_thread): Use bool *stopped_start.
4227         (START_THREAD_DEFN): Comment ownership of PD.
4228         (__pthread_create_2_1): Add local bool stopped_start and use
4229         that instead of pd->stopped_start where appropriate.
4230         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4231         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4232         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4233         * nptl/tst-create-detached.c: New file.
4234         * nptl/Makefile (tests): Add tst-create-detached.
4235         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4236         Reference the enhanced thread creation notes.
4237         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4238         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4239         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4240         (__pthread_current_priority): Likewise.
4241         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4242         xpthread_attr_init, xpthread_attr_setdetachstate, and
4243         xpthread_attr_setstacksize.
4244         * support/xpthread_attr_destroy.c: New file.
4245         * support/xpthread_attr_init.c: New file.
4246         * support/xpthread_attr_setdetachstate.c: New file.
4247         * support/xpthread_attr_setstacksize.c: New file.
4248         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4249         xpthread_attr_init, xpthread_attr_setdetachstate, and
4250         xpthread_attr_setstacksize.
4252 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4254         * nptl/Makefile (tests): Add tst-robust-fork.
4255         * nptl/tst-robust-fork.c: New file.
4256         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4257         xpthread_mutex_consistent, xpthread_mutex_destroy,
4258         xpthread_mutex_init, xpthread_mutexattr_destroy,
4259         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4260         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4261         xpthread_mutexattr_settype.
4262         * support/xmmap.c: New file.
4263         * support/xmunmap.c: Likewise.
4264         * support/xpthread_mutex_consistent.c: Likewise.
4265         * support/xpthread_mutex_destroy.c: Likewise.
4266         * support/xpthread_mutex_init.c: Likewise.
4267         * support/xpthread_mutexattr_destroy.c: Likewise.
4268         * support/xpthread_mutexattr_init.c: Likewise.
4269         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4270         * support/xpthread_mutexattr_setpshared.c: Likewise.
4271         * support/xpthread_mutexattr_setrobust.c: Likewise.
4272         * support/xpthread_mutexattr_settype.c: Likewise.
4273         * support/xthread.h (xpthread_mutexattr_destroy)
4274         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4275         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4276         (xpthread_mutexattr_settype, xpthread_mutex_init)
4277         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4278         * support/xunistd.h (xmmap, xmunmap): Likewise.
4280 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4282         * string/Makefile (xtests): Add comment.
4283         (LOCALES): Add en_GB.UTF-8.
4284         (tst-strcoll-overflow.out): Depend on generated locales.
4285         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4286         (SIZE, TIMEOUT): Update comments.
4287         (do_test): Define as static.  Fail test if setlocale fails.
4288         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4289         messages.
4290         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4291         TIMEOUT at 300 seconds should be enough to run this test
4292         successfully.
4294 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4296         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4297         /* FALLTHRU */ comments.
4299 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4301         [BZ #21053]
4302         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4303         constants instead of the old R* ones.
4304         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4305         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4306         (NGREG): ... to this, to fit in with other architectures.
4307         (gpregset_t): Use new NGREG macro.
4308         [__USE_GNU]: Remove condition; all architectures other than tile
4309         are unconditional.
4310         (R*): Rename to REG_R*.
4312 2017-01-20  DJ Delorie  <dj@redhat.com>
4314         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4315         (tunable_set_val_if_valid_range_signed) ... this, and ...
4316         (tunable_set_val_if_valid_range_unsigned) ... this.
4317         (tunable_initialize): Call the correct one of the above based on type.
4319 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4321         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4322         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4323         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4324         * sysdeps/microblaze/libm-test-ulps: Likewise.
4325         * sysdeps/sh/libm-test-ulps: Likewise.
4327         * math/README.libm-test: Update list of characters for input and
4328         output types.
4330 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4332         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4333         (__lll_unlock_elision): Fix adapt_count decrement.
4335 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4337         * README.pretty-printers (Known issues): Warn about printers not
4338         always covering everything.
4339         * nptl/nptl-printers.py (MutexPrinter): Change output.
4340         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4342 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4344         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4345         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4346         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4347         (__lll_lock_elision): Do not test futex before starting a
4348         transaction.  Use __glibc_likely instead of __builtin_expect.
4349         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4350         (__lll_trylock_elision): Do not test futex before starting a
4351         transaction.  Use __glibc_likely instead of __builtin_expect.
4353 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4355         * po/Makefile (update-translations): New target.
4357 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4359         [BZ #21061]
4360         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4362 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4364         * elf/dl-tunables (get_next_env): Always advance envp.
4365         * stdlib/tst-empty-env.c: New test case.
4366         * stdlib/Makefile (tests): Use it.
4368 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4370         [BZ #21047]
4371         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4372         name for instruction.
4373         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4375 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4377         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4378         for make install.
4380 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4382         * po/bg.po: Merge from Translation Project.
4383         * po/fr.po: Likewise.
4384         * po/ko.po: Likewise.
4385         * po/nl.po: Likewise.
4386         * po/sv.po: Likewise.
4388 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4390         * manual/install.texi (Tools for Compilation): Update GCC version
4391         known to work to build glibc.
4392         * INSTALL: Regenerated.
4394 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4396         [BZ #21006]
4397         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4399 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4401         [BZ #21045]
4402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4403         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4404         to __sigprocmask.
4406 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4408         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4409         wrap-around.
4410         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4412         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4414 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4416         * NEWS: Fix typo.
4418 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4420         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4421         barriers and comments.
4422         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4423         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4424         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4426 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4428         [BZ #19402]
4429         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4430         mutexes.
4432 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4434         [BZ #20985]
4435         * nptl/Makefile: Adapt.
4436         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4437         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4438         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4439         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4440         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4441         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4442         lll_robust* functions and adapt.
4443         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4444         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4445         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4446         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4447         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4448         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4449         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4450         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4451         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4452         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4453         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4454         * nptl/lowlevelrobustlock.c: Remove file.
4455         * nptl/lowlevelrobustlock.sym: Likewise.
4456         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4457         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4459 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4461         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4463 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4465         * po/cs.po: Merge translations from the Translation Project.
4466         * po/de.po: Likewise.
4467         * po/pl.po: Likewise.
4468         * po/ru.po: Likewise.
4469         * po/tr.po: Likewise.
4470         * po/uk.po: Likewise.
4471         * po/vi.po: Likewise.
4472         * po/zh_CN.po: Likewise.
4474 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4476         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4478         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4479         object.
4481 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4483         [BZ #16458]
4484         * bits/uintn-identity.h: New file.
4485         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4486         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4487         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4488         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4489         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4490         * string/endian.h: Include <bits/uintn-identity.h>.
4491         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4492         __uint16_identity.
4493         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4494         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4495         __uint32_identity.
4496         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4497         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4498         __uint64_identity.
4499         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4500         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4501         __uint16_identity.
4502         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4503         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4504         __uint32_identity.
4505         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4506         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4507         __uint64_identity.
4508         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4509         * string/Makefile (headers): Add bits/uintn-identity.h.
4510         (tests): Add test-endian-types.
4511         * string/test-endian-types.c: New file.
4512         * inet/Makefile (tests): Add test-hnto-types.
4513         * inet/test-hnto-types.c: New file.
4515 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4517         * po/be.po: Update from Translation Project.
4518         * po/bg.po: Likewise.
4519         * po/ca.po: Likewise.
4520         * po/cs.po: Likewise.
4521         * po/da.po: Likewise.
4522         * po/de.po: Likewise.
4523         * po/el.po: Likewise.
4524         * po/eo.po: Likewise.
4525         * po/es.po: Likewise.
4526         * po/fi.po: Likewise.
4527         * po/fr.po: Likewise.
4528         * po/gl.po: Likewise.
4529         * po/hr.po: Likewise.
4530         * po/hu.po: Likewise.
4531         * po/ia.po: Likewise.
4532         * po/id.po: Likewise.
4533         * po/it.po: Likewise.
4534         * po/ja.po: Likewise.
4535         * po/ko.po: Likewise.
4536         * po/lt.po: Likewise.
4537         * po/nb.po: Likewise.
4538         * po/nl.po: Likewise.
4539         * po/pl.po: Likewise.
4540         * po/pt_BR.po: Likewise.
4541         * po/ru.po: Likewise.
4542         * po/rw.po: Likewise.
4543         * po/sk.po: Likewise.
4544         * po/sl.po: Likewise.
4545         * po/sv.po: Likewise.
4546         * po/tr.po: Likewise.
4547         * po/uk.po: Likewise.
4548         * po/vi.po: Likewise.
4549         * po/zh_CN.po: Likewise.
4550         * po/zh_TW.po: Likewise.
4552 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4554         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4555         -Wformat-truncation instead of -Wformat-length.
4556         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4557         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4558         GCC 7.
4559         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4560         (do_test): Ignore -Wformat-truncation for GCC 7.
4562         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4563         buffer used to print long int value.
4565         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4566         one byte.  Print it with %ld, cast to long int.
4568 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4570         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4571         (re.fullmatch, subprocess.run): Likewise.
4573 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4575         * po/libc.pot: Regenerate.
4577 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4579         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4580         (min_strlen): Likewise.
4581         (disable_tunable): Likewise.
4582         (maybe_disable_malloc_check): Rename to
4583         maybe_enable_malloc_check.
4584         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4585         if /etc/suid-debug file exists.
4586         (__tunables_init): Update caller.
4587         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4588         secure.
4590 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4592         * nptl/DESIGN-rwlock.txt: Remove.
4593         * nptl/lowlevelrwlock.sym: Remove.
4594         * nptl/Makefile: Add new tests.
4595         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4596         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4597         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4598         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4599         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4600         PTHREAD_RWLOCK_FUTEX_USED): New.
4601         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4602         implementation.
4603         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4604         (__pthread_rwlock_rdlock): Adapt.
4605         * nptl/pthread_rwlock_timedrdlock.c
4606         (pthread_rwlock_timedrdlock): Adapt.
4607         * nptl/pthread_rwlock_timedwrlock.c
4608         (pthread_rwlock_timedwrlock): Adapt.
4609         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4610         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4611         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4612         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4613         (__pthread_rwlock_wrlock): Adapt.
4614         * nptl/tst-rwlock10.c: Adapt.
4615         * nptl/tst-rwlock11.c: Adapt.
4616         * nptl/tst-rwlock17.c: New file.
4617         * nptl/tst-rwlock18.c: New file.
4618         * nptl/tst-rwlock19.c: New file.
4619         * nptl/tst-rwlock2b.c: New file.
4620         * nptl/tst-rwlock8.c: Adapt.
4621         * nptl/tst-rwlock9.c: Adapt.
4622         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4623         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4624         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4625         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4626         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4627         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4628         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4629         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4630         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4631         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4632         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4633         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4634         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4635         (pthread_rwlock_t): Adapt.
4636         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4637         (pthread_rwlock_t): Adapt.
4638         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4639         * nptl/nptl-printers.py (): Adapt.
4640         * nptl/nptl_lock_constants.pysym: Adapt.
4641         * nptl/test-rwlock-printers.py: Adapt.
4642         * nptl/test-rwlockattr-printers.c: Adapt.
4643         * nptl/test-rwlockattr-printers.py: Adapt.
4645 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4647         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4648         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4649         (fma_test_data): Likewise.
4650         (hypot_test_data): Likewise.
4651         (log1p_test_data): Likewise.
4652         (modf_test_data): Likewise.
4653         (pow_test_data): Likewise.
4654         (remainder_test_data): Likewise.
4655         (remquo_test_data): Likewise.
4656         (scalb_test_data): Likewise.
4657         (scalbn_test_data): Likewise.
4658         (scalbln_test_data): Likewise.
4659         * math/gen-libm-test.pl (parse_args): Transform
4660         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4661         on the rounding mode.
4663 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4665         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4666         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4667         and those that can underflow to zero.
4668         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4669         add others.
4670         * math/auto-libm-test-out: Regenerated.
4672         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4673         supported.
4674         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4675         modes support if not supported.
4677         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4678         Add libc.so PLT entry.
4679         (__tls_get_addr): Make ld.so PLT entry optional.
4681 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4683         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4684         * string/bits/string3.h: ... here.
4686 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4688         [BZ #21028]
4689         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4690         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4691         if EXCEPTION_TESTS returns false.
4693 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4695         [BZ #20558]
4696         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4697         strings_fortified.h.
4698         [__USE_MISC] (bzero): Likewise.
4699         [__USE_MISC] (explicit_bzero): Likewise.
4700         * string/strings.h: Include strings_fortified.h.
4701         * string/Makefile (headers): Add strings_fortified.h.
4702         * string/bits/strings_fortified.h: New file.
4703         * include/bits/strings_fortified.h: Likewise.
4705 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4707         * elf/tst-tls13.c (TIMEOUT): Remove.
4708         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4709         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4710         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4711         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4712         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4714         [BZ #21026]
4715         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4716         (readahead): New syscall entry.
4718 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4720         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4721         around tests of strncat with large sizes.
4723         * malloc/tst-malloc.c: Include <libc-internal.h>.
4724         (do_test): Disable -Walloc-size-larger-than= around tests of
4725         malloc with negative sizes.
4726         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4727         (do_test): Disable -Walloc-size-larger-than= around tests of
4728         malloc and realloc with negative sizes.
4729         * malloc/tst-realloc.c: Include <libc-internal.h>.
4730         (do_test): Disable -Walloc-size-larger-than= around tests of
4731         realloc with negative sizes.
4733         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4734         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4735         allowed to 16 ulps.
4736         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4737         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4738         * math/auto-libm-test-out: Regenerated.
4740 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4742         * math/Makefile (libm-calls): Move wrappers...
4743         (libm-compat-call-auto): Here.
4744         (libm-routines): Add items in libm-compat-calls-auto.
4745         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4746         the filenames of the wrappers that have been renamed.
4747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4750         * math/w_acos.c: Add _compat suffix to filename.
4751         * math/w_acosf.c: Likewise.
4752         * math/w_acosh.c: Likewise.
4753         * math/w_acoshf.c: Likewise.
4754         * math/w_acoshl.c: Likewise.
4755         * math/w_acosl.c: Likewise.
4756         * math/w_asin.c: Likewise.
4757         * math/w_asinf.c: Likewise.
4758         * math/w_asinl.c: Likewise.
4759         * math/w_atan2.c: Likewise.
4760         * math/w_atan2f.c: Likewise.
4761         * math/w_atan2l.c: Likewise.
4762         * math/w_atanh.c: Likewise.
4763         * math/w_atanhf.c: Likewise.
4764         * math/w_atanhl.c: Likewise.
4765         * math/w_cosh.c: Likewise.
4766         * math/w_coshf.c: Likewise.
4767         * math/w_coshl.c: Likewise.
4768         * math/w_exp10.c: Likewise.
4769         * math/w_exp10f.c: Likewise.
4770         * math/w_exp10l.c: Likewise.
4771         * math/w_exp2.c: Likewise.
4772         * math/w_exp2f.c: Likewise.
4773         * math/w_exp2l.c: Likewise.
4774         * math/w_fmod.c: Likewise.
4775         * math/w_fmodf.c: Likewise.
4776         * math/w_fmodl.c: Likewise.
4777         * math/w_hypot.c: Likewise.
4778         * math/w_hypotf.c: Likewise.
4779         * math/w_hypotl.c: Likewise.
4780         * math/w_j0.c: Likewise.
4781         * math/w_j0f.c: Likewise.
4782         * math/w_j0l.c: Likewise.
4783         * math/w_j1.c: Likewise.
4784         * math/w_j1f.c: Likewise.
4785         * math/w_j1l.c: Likewise.
4786         * math/w_jn.c: Likewise.
4787         * math/w_jnf.c: Likewise.
4788         * math/w_jnl.c: Likewise.
4789         * math/w_log10.c: Likewise.
4790         * math/w_log10f.c: Likewise.
4791         * math/w_log10l.c: Likewise.
4792         * math/w_log2.c: Likewise.
4793         * math/w_log2f.c: Likewise.
4794         * math/w_log2l.c: Likewise.
4795         * math/w_log.c: Likewise.
4796         * math/w_logf.c: Likewise.
4797         * math/w_logl.c: Likewise.
4798         * math/w_pow.c: Likewise.
4799         * math/w_powf.c: Likewise.
4800         * math/w_powl.c: Likewise.
4801         * math/w_remainder.c: Likewise.
4802         * math/w_remainderf.c: Likewise.
4803         * math/w_remainderl.c: Likewise.
4804         * math/w_scalb.c: Likewise.
4805         * math/w_scalbf.c: Likewise.
4806         * math/w_scalbl.c: Likewise.
4807         * math/w_sinh.c: Likewise.
4808         * math/w_sinhf.c: Likewise.
4809         * math/w_sinhl.c: Likewise.
4810         * math/w_sqrt.c: Likewise.
4811         * math/w_sqrtf.c: Likewise.
4812         * math/w_sqrtl.c: Likewise.
4813         * math/w_tgamma.c: Likewise.
4814         * math/w_tgammaf.c: Likewise.
4815         * math/w_tgammal.c: Likewise.
4817         * math/w_acos_compat.c: New file copied from above and
4818         adjusted for new #includes path
4819         * math/w_acosf_compat.c: Likewise.
4820         * math/w_acosh_compat.c: Likewise.
4821         * math/w_acoshf_compat.c: Likewise.
4822         * math/w_acoshl_compat.c: Likewise.
4823         * math/w_acosl_compat.c: Likewise.
4824         * math/w_asin_compat.c: Likewise.
4825         * math/w_asinf_compat.c: Likewise.
4826         * math/w_asinl_compat.c: Likewise.
4827         * math/w_atan2_compat.c: Likewise.
4828         * math/w_atan2f_compat.c: Likewise.
4829         * math/w_atan2l_compat.c: Likewise.
4830         * math/w_atanh_compat.c: Likewise.
4831         * math/w_atanhf_compat.c: Likewise.
4832         * math/w_atanhl_compat.c: Likewise.
4833         * math/w_cosh_compat.c: Likewise.
4834         * math/w_coshf_compat.c: Likewise.
4835         * math/w_coshl_compat.c: Likewise.
4836         * math/w_exp10_compat.c: Likewise.
4837         * math/w_exp10f_compat.c: Likewise.
4838         * math/w_exp10l_compat.c: Likewise.
4839         * math/w_exp2_compat.c: Likewise.
4840         * math/w_exp2f_compat.c: Likewise.
4841         * math/w_exp2l_compat.c: Likewise.
4842         * math/w_fmod_compat.c: Likewise.
4843         * math/w_fmodf_compat.c: Likewise.
4844         * math/w_fmodl_compat.c: Likewise.
4845         * math/w_hypot_compat.c: Likewise.
4846         * math/w_hypotf_compat.c: Likewise.
4847         * math/w_hypotl_compat.c: Likewise.
4848         * math/w_j0_compat.c: Likewise.
4849         * math/w_j0f_compat.c: Likewise.
4850         * math/w_j0l_compat.c: Likewise.
4851         * math/w_j1_compat.c: Likewise.
4852         * math/w_j1f_compat.c: Likewise.
4853         * math/w_j1l_compat.c: Likewise.
4854         * math/w_jn_compat.c: Likewise.
4855         * math/w_jnf_compat.c: Likewise.
4856         * math/w_jnl_compat.c: Likewise.
4857         * math/w_log10_compat.c: Likewise.
4858         * math/w_log10f_compat.c: Likewise.
4859         * math/w_log10l_compat.c: Likewise.
4860         * math/w_log2_compat.c: Likewise.
4861         * math/w_log2f_compat.c: Likewise.
4862         * math/w_log2l_compat.c: Likewise.
4863         * math/w_log_compat.c: Likewise.
4864         * math/w_logf_compat.c: Likewise.
4865         * math/w_logl_compat.c: Likewise.
4866         * math/w_pow_compat.c: Likewise.
4867         * math/w_powf_compat.c: Likewise.
4868         * math/w_powl_compat.c: Likewise.
4869         * math/w_remainder_compat.c: Likewise.
4870         * math/w_remainderf_compat.c: Likewise.
4871         * math/w_remainderl_compat.c: Likewise.
4872         * math/w_scalb_compat.c: Likewise.
4873         * math/w_scalbf_compat.c: Likewise.
4874         * math/w_scalbl_compat.c: Likewise.
4875         * math/w_sinh_compat.c: Likewise.
4876         * math/w_sinhf_compat.c: Likewise.
4877         * math/w_sinhl_compat.c: Likewise.
4878         * math/w_sqrt_compat.c: Likewise.
4879         * math/w_sqrtf_compat.c: Likewise.
4880         * math/w_sqrtl_compat.c: Likewise.
4881         * math/w_tgamma_compat.c: Likewise.
4882         * math/w_tgammaf_compat.c: Likewise.
4883         * math/w_tgammal_compat.c: Likewise.
4885         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4886         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4887         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4888         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4889         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4890         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4891         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4892         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4893         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4894         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4895         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4896         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4897         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4898         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4899         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4900         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4901         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4902         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4903         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4904         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4905         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4906         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4907         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4908         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4909         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4910         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4911         * sysdeps/ia64/fpu/w_log.c: Likewise.
4912         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4913         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4914         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4915         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4916         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4917         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4918         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4919         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4920         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4921         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4922         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4923         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4924         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4925         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4926         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4927         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4928         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4929         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4930         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4931         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4932         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4933         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4934         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4935         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4936         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4937         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4938         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4939         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4940         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4941         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4942         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4943         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4944         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4945         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4946         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4947         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4948         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4949         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4950         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4951         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4952         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4953         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4954         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4955         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4956         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4957         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4958         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4959         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4960         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4961         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4962         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4963         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4964         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4965         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4966         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4967         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4968         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4969         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4970         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4971         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4972         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4973         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4974         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4975         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4976         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4977         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4978         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4979         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4980         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4981         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4982         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4983         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4984         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4986         Likewise.
4987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4988         Likewise.
4989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
4991         Likewise.
4992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
4993         Likewise.
4994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
4995         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4996         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4997         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4998         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4999         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5000         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5005         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5006         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5007         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5008         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5010         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5011         and adjusted for new #includes path
5012         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5013         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5014         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5015         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5016         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5017         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5018         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5019         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5020         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5021         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5022         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5023         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5024         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5025         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5026         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5027         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5028         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5029         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5030         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5031         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5032         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5033         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5034         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5035         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5036         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5037         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5038         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5039         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5040         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5041         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5042         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5043         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5044         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5045         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5046         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5047         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5048         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5049         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5050         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5051         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5052         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5053         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5054         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5055         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5056         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5057         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5058         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5059         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5060         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5061         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5062         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5063         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5064         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5065         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5066         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5067         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5068         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5069         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5070         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5071         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5072         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5073         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5074         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5075         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5076         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5077         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5078         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5079         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5080         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5081         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5082         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5083         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5084         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5085         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5086         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5087         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5088         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5089         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5090         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5091         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5092         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5093         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5094         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5095         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5096         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5097         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5098         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5099         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5100         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5101         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5102         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5103         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5104         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5105         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5106         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5107         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5108         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5109         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5110         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5112         Likewise.
5113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5114         Likewise.
5115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5116         Likewise.
5117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5118         Likewise.
5119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5120         Likewise.
5121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5122         Likewise.
5123         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5124         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5125         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5126         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5127         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5128         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5130         Likewise.
5131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5132         Likewise.
5133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5134         Likewise.
5135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5136         Likewise.
5137         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5138         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5139         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5140         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5142 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5144         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5145         __jmp_buf_internal_tag.
5147         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5148         preserve NaN payload if [__mips_nan2008].
5149         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5151         [BZ #21022]
5152         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5154 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5156         * sysdeps/i386/fpu/libm-test-ulps: Update.
5158 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5160         * sysdeps/ia64/strcat.c: Remove file.
5161         * sysdeps/powerpc/strcat.c: Likewise.
5162         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5163         C implementation.
5164         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5165         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5167 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5168             Steven Munroe  <sjmunroe@us.ibm.com>
5169             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5171         [BZ #20822]
5172         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5173         (__lll_lock_elision): Access adapt_count via C11 atomics.
5174         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5175         (__lll_trylock_elision): Likewise.
5176         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5177         (__lll_unlock_elision):  Update adapt_count variable inside the
5178         critical section using C11 atomics.
5180 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5182         * math/test-fenvinline.c (do_test): Disable tests of raised
5183         exceptions if !EXCEPTION_TESTS (FLOAT).
5185 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5187         [BZ #19390]
5188         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5189         maximum string size.
5190         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5191         in pointer addition.
5192         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5193         Likewise.
5195 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5197         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5198         passed to tst-ldconfig-X.sh.
5200 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5202         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5204 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5206         [BZ #21019]
5207         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5208         New syscall entry.
5209         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5210         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5211         lseek.
5213         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5214         power4 glibc for powerpc-linux-gnu.
5216 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5218         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5219         semctl.
5221 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5223         * math/test-nearbyint-except.c: Include <stdbool.h>.
5224         (any_supported): New variable.
5225         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5226         set any_supported.
5227         (do_test): Return 77 if no floating-point type supported
5228         exceptions.
5230         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5231         condition on [__mips_hard_float].
5233 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5235         [BZ #21014]
5236         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5237         in pointer addition.
5238         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5240 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5242         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5243         new condvar.
5245 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5247         * scripts/build-many-glibcs.py (Context.checkout): Default
5248         binutils version to 2.28 branch.
5250 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5252         * support/support_format_netent.c (support_format_netent): Work
5253         around alpha struct netent definition difference.
5255 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5257         * support/xwrite.c (xwrite): Use %td for pointer difference.
5259 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5261         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5262         have-tunables only.
5263         (tests-static): Add tst-malloc-usable-static-tunables for
5264         have-tunables only.
5266 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5268         * scripts/config.guess: Update to version 2017-01-01.
5269         * scripts/config.sub: Update to version 2017-01-01.
5271         * NEWS: Update copyright dates.
5272         * catgets/gencat.c (print_version): Likewise.
5273         * csu/version.c (banner): Likewise.
5274         * debug/catchsegv.sh: Likewise.
5275         * debug/pcprofiledump.c (print_version): Likewise.
5276         * debug/xtrace.sh (do_version): Likewise.
5277         * elf/ldconfig.c (print_version): Likewise.
5278         * elf/ldd.bash.in: Likewise.
5279         * elf/pldd.c (print_version): Likewise.
5280         * elf/sotruss.sh: Likewise.
5281         * elf/sprof.c (print_version): Likewise.
5282         * iconv/iconv_prog.c (print_version): Likewise.
5283         * iconv/iconvconfig.c (print_version): Likewise.
5284         * locale/programs/locale.c (print_version): Likewise.
5285         * locale/programs/localedef.c (print_version): Likewise.
5286         * login/programs/pt_chown.c (print_version): Likewise.
5287         * malloc/memusage.sh (do_version): Likewise.
5288         * malloc/memusagestat.c (print_version): Likewise.
5289         * malloc/mtrace.pl: Likewise.
5290         * manual/libc.texinfo: Likewise.
5291         * nptl/version.c (banner): Likewise.
5292         * nscd/nscd.c (print_version): Likewise.
5293         * nss/getent.c (print_version): Likewise.
5294         * nss/makedb.c (print_version): Likewise.
5295         * posix/getconf.c (main): Likewise.
5296         * scripts/test-installation.pl: Likewise.
5297         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5299         * All files with FSF copyright notices: Update copyright dates
5300         using scripts/update-copyrights.
5301         * intl/plural.c: Regenerated.
5302         * locale/programs/charmap-kw.h: Likewise.
5303         * locale/programs/locfile-kw.h: Likewise.
5305 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5307         [BZ #20593]
5308         Update DNS RR type definitions.
5309         * scripts/gen-rrtypes.py: New file.
5310         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5311         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5312         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5313         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5314         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5315         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5316         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5317         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5318         ns_t_ta, ns_t_dlv.
5319         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5320         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5321         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5322         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5323         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5324         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5325         Define.
5326         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5327         entry for ns_t_zxfr.
5329 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5331         [BZ #18784]
5332         CVE-2015-5180
5333         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5334         T_UNSPEC.  Adjust value.
5335         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5336         * resolv/res_query.c (__libc_res_nquery): Likewise.
5337         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5338         QTYPEs.
5339         * resolv/tst-resolv-qtypes.c: New file.
5340         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5341         (tst-resolv-qtypes): Link against libresolv and libpthread.
5343 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5345         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5347 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5349         * manual/tunables.texi: New chapter.
5350         * manual/Makefile (chapters): Add it.
5351         * manual/probes.texi (@node): Point to the Tunables chapter.
5353         * Makeconfig (have-tunables): Check for non-negative instead
5354         of positive.
5355         * configure.ac: Add 'valstring' as a valid value for
5356         --enable-tunables.
5357         * configure: Regenerate.
5358         * elf/Makefile (have-tunables): Check for non-negative instead
5359         of positive.
5360         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5361         dl-tunables.c.
5362         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5363         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5364         (tunables_strdup): Likewise.
5365         (disable_tunables): Likewise.
5366         (parse_tunables): Likewise.
5367         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5368         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5369         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5370         (TUNABLES_FRONTEND_yes): New macro, define as
5371         TUNABLES_FRONTEND_valstring by default.
5372         * manual/install.texi: Document new acceptable values for
5373         --enable-tunables.
5374         * INSTALL: Regenerate.
5376         * config.make.in (have-loop-to-function): Define.
5377         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5378         -fno-tree-loop-distribute-patterns.
5379         * elf/dl-tunables.c: Include libc-internals.h.
5380         (GLIBC_TUNABLES): New macro.
5381         (tunables_strdup): New function.
5382         (parse_tunables): New function.
5383         (min_strlen): New function.
5384         (__tunables_init): Use the new functions and macro.
5385         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5386         * malloc/tst-malloc-usable-tunables.c: New test case.
5387         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5388         * malloc/Makefile (tests, tests-static): Add tests.
5390         * manual/install.texi: Add --enable-tunables option.
5391         * INSTALL: Regenerate.
5392         * README.tunables: New file.
5393         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5394         (before-compile): Generate dl-tunable-list.h early.
5395         * config.h.in: Add HAVE_TUNABLES.
5396         * config.make.in: Add have-tunables.
5397         * configure.ac: Add --enable-tunables option.
5398         * configure: Regenerate.
5399         * csu/init-first.c (__libc_init_first): Move
5400         __libc_init_secure earlier...
5401         * csu/init-first.c (LIBC_START_MAIN):... to here.
5402         Include dl-tunables.h, libc-internal.h.
5403         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5404         binaries.
5405         * elf/Makefile (dl-routines): Add dl-tunables.
5406         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5407         namespace.
5408         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5409         only when !HAVE_TUNABLES.
5410         * elf/rtld.c (process_envvars): Likewise.
5411         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5412         (_dl_sysdep_start): Call __tunables_init.
5413         * elf/dl-tunable-types.h: New file.
5414         * elf/dl-tunables.c: New file.
5415         * elf/dl-tunables.h: New file.
5416         * elf/dl-tunables.list: New file.
5417         * malloc/tst-malloc-usable-static.c: New test case.
5418         * malloc/Makefile (tests-static): Add it.
5419         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5420         Define TUNABLE_NAMESPACE.
5421         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5422         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5423         callback functions.
5424         (ptmalloc_init): Set tunable values.
5425         * scripts/gen-tunables.awk: New file.
5426         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5427         (_dl_sysdep_start): Call __tunables_init.
5429 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5431         * resolv/resolv.h (RES_BLAST): Deprecate.
5432         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5433         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5434         to RES_BLAST.
5436 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5438         [BZ #19582]
5439         Deprecate RES_USE_INET6.
5440         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5441         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5442         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5443         RES_USE_INET6.
5444         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5445         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5446         (_nss_nisplus_gethostbyaddr_r): Likewise.
5447         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5448         of res_use_inet6.
5449         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5450         instead of RES_USE_INET6.
5451         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5452         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5453         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5454         Likewise.
5455         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5456         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5457         Likewise.
5458         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5459         (_nss_dns_gethostbyname_r): Likewise.
5460         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5461         alternate RES_USE_INET6 handling.
5462         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5463         instead of RES_USE_INET6.
5464         * resolv/res_init.c (res_setoptions): Likewise.
5465         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5466         * resolv/resolv-internal.h: New file.
5467         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5468         make the deprecation warning non-fatal.
5469         * resolv/README (Using the resolver in multi-threaded code): Drop
5470         reference to RES_USE_INET6.
5471         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5472         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5474 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5476         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5477         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5478         tst-resolv-search.
5479         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5480         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5481         with libresolv and libpthread.
5482         * resolv/tst-bug18665.c: New file.
5483         * resolv/tst-bug18665-tcp: Likewise.
5484         * resolv/tst-res_use_inet6: Likewise.
5485         * resolv/tst-resolv-basic: Likewise.
5486         * resolv/tst-resolv-network: Likewise.
5487         * resolv/tst-resolv-search: Likewise.
5488         * support/Makefile (libsupport-routines): Add check_addrinfo,
5489         check_dns_packet, check_hostent, check_netent, resolv_test,
5490         support_format_address_family, support_format_addrinfo,
5491         support_format_dns_packet, support_format_herrno,
5492         support_format_hostent, support_format_netent, support_run_diff,
5493         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5494         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5495         xstrdup, xwrite.
5496         * support/check_addrinfo.c: New file.
5497         * support/check_dns_packet.c: Likewise.
5498         * support/check_hostent.c: Likewise.
5499         * support/check_netent.c: Likewise.
5500         * support/check_nss.h: Likewise.
5501         * support/format_nss.h: Likewise.
5502         * support/resolv_test.c: Likewise.
5503         * support/resolv_test.h: Likewise.
5504         * support/run_diff.h: Likewise.
5505         * support/support_format_address_family.c: Likewise.
5506         * support/support_format_addrinfo.c: Likewise.
5507         * support/support_format_dns_packet.c: Likewise.
5508         * support/support_format_herrno.c: Likewise.
5509         * support/support_format_hostent.c: Likewise.
5510         * support/support_format_netent.c: Likewise.
5511         * support/support_run_diff.c: Likewise.
5512         * support/xaccept.c: Likewise.
5513         * support/xbind.c: Likewise.
5514         * support/xconnect.c: Likewise.
5515         * support/xfclose.c: Likewise.
5516         * support/xfopen.c: Likewise.
5517         * support/xgetsockname.c: Likewise.
5518         * support/xlisten.c: Likewise.
5519         * support/xmemstream.c: Likewise.
5520         * support/xmemstream.h: Likewise.
5521         * support/xpoll.c: Likewise.
5522         * support/xpthread_once.c: Likewise.
5523         * support/xrecvfrom.c: Likewise.
5524         * support/xsendto.c: Likewise.
5525         * support/xsetsockopt.c: Likewise.
5526         * support/xstdio.h: Likewise.
5527         * support/xstrdup.c: Likewise.
5528         * support/support.h (xstrdup): Declare.
5529         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5530         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5531         * support/xthread.h (xpthread_once): Likwise.
5532         * support/xunistd.h (xwrite): Declare.
5534 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5536         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5537         (test_verbose): Declare.
5538         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5539         * support/support_test_main.c (default_options): Likewise.
5540         (usage, support_test_main): Handle 'v'.
5541         (test_verbose): Define.
5542         * support/tst-support_record_failure.c (do_test): Use
5543         test_verbose.
5544         * support/tst-support_record_failure-2.sh (different_status): Add
5545         --verbose test.
5547 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5549         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5550         test failures are recorded.
5551         * support/check.c (support_print_failure_impl): Call
5552         support_record_failure.
5553         (support_exit_failure_impl): Call support_record_failure if status
5554         indicates failure.
5555         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5556         * support/xasprintf.c (xasprintf): Likewise.
5557         * support/xfork.c (xfork): Likewise.
5558         * support/xpthread_check_return.c (xpthread_check_return):
5559         Likewise.
5560         * support/xsocket.c (xsocket): Likeweise.
5561         * support/xwaitpid.c (xwaitpid): Likewise.
5562         * support/support_record_failure.c (struct test_failures): Adjust
5563         to coding style.
5564         * support/support_test_verify_impl.c (support_test_verify_impl):
5565         Adjust error messages.
5566         * support/tst-support_record_failure-2.sh (different_status):
5567         Adjust error messages.
5569 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5571         * support/namespace.h: New file.
5572         * support/support_become_root.c: Likewise.
5573         * support/support_enter_network_namespace.c: Likewise.
5574         * support/tst-support-namespace.c: Likewise.
5575         * support/xsocket.c: Likewise.
5576         * support/xsocket.h: Likewise.
5577         * support/Makefile (libsupport-routines): Add support_become_root,
5578         support_enter_network_namespace, xsocket.
5579         (tests): Add tst-support-namespace.
5581 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5583         [BZ #17252]
5584         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5585         __USE_GNU.
5587 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5589         [BZ #13165]
5590         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5591         use new algorithm.
5592         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5593         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5594         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5595         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5596         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5597         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5598         __condvar_cleanup_waiting, __condvar_dec_grefs,
5599         __pthread_cond_wait_common): New.
5600         (__condvar_cleanup): Remove.
5601         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5602         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5603         Likewise.
5604         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5605         Likewise.
5606         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5607         * nptl/tst-cond1.c: Add comment.
5608         * nptl/tst-cond20.c (do_test): Adapt.
5609         * nptl/tst-cond22.c (do_test): Likewise.
5610         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5611         structure.
5612         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5613         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5614         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5615         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5616         Likewise.
5617         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5618         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5619         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5620         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5621         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5622         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5623         Likewise.
5624         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5625         Likewise.
5626         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5627         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5628         (COND_CLOCK_BITS): Adapt.
5629         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5630         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5631         __PTHREAD_COND_SHARED_MASK): New.
5632         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5633         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5634         * nptl/nptl_lock_constants.pysym: Adapt.
5635         * nptl/test-cond-printers.py: Adapt.
5636         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5637         cond_compat_check_and_clear): Adapt.
5638         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5639         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5640         (__pthread_cond_timedwait): ... and move here.
5641         * nptl/DESIGN-condvar.txt: Remove file.
5642         * nptl/lowlevelcond.sym: Likewise.
5643         * nptl/pthread_cond_timedwait.c: Likewise.
5644         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5645         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5646         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5647         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5648         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5649         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5650         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5651         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5652         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5653         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5654         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5655         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5656         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5657         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5658         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5659         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5661 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5663         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5664         (fromfp): New declaration.
5665         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5666         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5667         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5668         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5669         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5670         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5671         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5673         * math/math.h: Include <bits/types.h>.
5674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5675         constant and macro.
5676         (FP_INT_DOWNWARD): Likewise.
5677         (FP_INT_TOWARDZERO): Likewise.
5678         (FP_INT_TONEARESTFROMZERO): Likewise.
5679         (FP_INT_TONEAREST): Likewise.
5680         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5681         (fromfpf): Likewise.
5682         (fromfpl): Likewise.
5683         (ufromfp): Likewise.
5684         (ufromfpf): Likewise.
5685         (ufromfpl): Likewise.
5686         (fromfpx): Likewise.
5687         (fromfpxf): Likewise.
5688         (fromfpxl): Likewise.
5689         (ufromfpx): Likewise.
5690         (ufromfpxf): Likewise.
5691         (ufromfpxl): Likewise.
5692         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5693         s_fromfpxF and s_ufromfpxF.
5694         * math/gen-fromfp-tests.py: New file.
5695         * math/gen-fromfp-tests-inputs: Likewise.
5696         * math/libm-test.inc: Include <stdint.h>
5697         (check_intmax_t): New function.
5698         (check_uintmax_t): Likewise.
5699         (struct test_fiu_M_data): New type.
5700         (struct test_fiu_U_data): Likewise.
5701         (RUN_TEST_fiu_M): New macro.
5702         (RUN_TEST_LOOP_fiu_M): Likewise.
5703         (RUN_TEST_fiu_U): Likewise.
5704         (RUN_TEST_LOOP_fiu_U): Likewise.
5705         (fromfp_test_data): New array.
5706         (fromfp_test): New function.
5707         (fromfpx_test_data): New array.
5708         (fromfpx_test): New function.
5709         (ufromfp_test_data): New array.
5710         (ufromfp_test): New function.
5711         (ufromfpx_test_data): New array.
5712         (ufromfpx_test): New function.
5713         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5714         ufromfpx_test.
5715         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5716         characters.
5717         * math/test-tgmath-ret.c: Include <stdint.h>.
5718         (rm): New variable.
5719         (width): Likewise.
5720         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5721         called function.
5722         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5723         CHECK_RET_CONST_TYPE.
5724         (CHECK_RET_CONST_DOUBLE): Likewise.
5725         (CHECK_RET_CONST_LDOUBLE): Likewise.
5726         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5727         macros.
5728         (fromfp): New CHECK_RET_CONST call.
5729         (ufromfp): Likewise.
5730         (fromfpx): Likewise.
5731         (ufromfpx): Likewise.
5732         (do_test): Call check_return_fromfp, check_return_ufromfp,
5733         check_return_fromfpx and check_return_ufromfpx.
5734         * math/test-tgmath.c: Include <stdint.h>
5735         (NCALLS): Increase to 138.
5736         (F(compile_test)): Initialize i.  Call fromfp functions.
5737         (F(fromfp)): New function.
5738         (F(fromfpx)): Likewise.
5739         (F(ufromfp)): Likewise.
5740         (F(ufromfpx)): Likewise.
5741         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5742         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5743         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5744         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5745         ufromfpxl.
5746         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5747         ufromfp and ufromfpx.
5748         * math/fromfp.h: New file.
5749         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5750         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5751         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5752         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5753         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5754         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5755         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5756         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5757         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5758         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5759         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5760         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5761         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5762         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5763         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5764         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5765         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5766         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5767         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5768         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5769         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5770         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5771         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5772         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5773         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5774         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5775         ufromfp, fromfpx and ufromfpx.
5776         (CFLAGS-nldbl-fromfp.c): New variable.
5777         (CFLAGS-nldbl-fromfpx.c): Likewise.
5778         (CFLAGS-nldbl-ufromfp.c): Likewise.
5779         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5780         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5781         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5782         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5783         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5784         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5785         * sysdeps/nacl/libm.abilist: Update.
5786         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5787         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5788         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5789         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5790         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5791         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5792         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5793         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5794         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5795         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5796         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5797         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5799         Likewise.
5800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5801         Likewise.
5802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5803         Likewise.
5804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5805         Likewise.
5806         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5807         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5808         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5809         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5810         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5812         Likewise.
5813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5814         Likewise.
5815         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5816         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5817         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5819 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5821         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5822         compat-gethnamaddr.
5823         (CPPFLAGS): Remove.
5824         * resolv/gethnamaddr.c: Rename ...
5825         * resolv/compat-gethnamaddr.c: ... to this file.
5826         (_endhtent): Make static.
5827         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5828         symbol.
5829         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5830         compat symbol.
5831         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5832         symbol.
5833         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5834         Turn into compat symbol.
5835         * include/resolv.h (_endhtent): Remove declaration.
5837 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5839         * bits/types.h (__intmax_t): New typedef.
5840         (__uintmax_t): Likewise.
5841         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5842         (intmax_t): Define using __intmax_t.
5843         (uintmax_t): Define using __uintmax_t.
5845         * support/Makefile (tests-special): Make definition conditional on
5846         [$(run-built-tests) = yes].
5847         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5848         on [$(run-built-tests) = yes].
5850 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5852         * Rules (tests): Add tests-printers-programs to tests to be
5853         built.
5855 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5857         * sysvipc/Makefile (tests): Add test-sysvshm.
5858         * sysvipc/test-sysvshm.c: New file.
5860         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5861         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5862         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5863         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5864         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5865         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5866         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5867         Likewise.
5868         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5869         Likewise.
5870         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5871         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5872         is defined.
5874         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5875         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5876         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5877         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5878         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5879         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5880         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5881         Likewise.
5882         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5883         Likewise.
5884         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5885         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5886         defined.
5888         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5889         oldshmctl.
5890         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5891         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5892         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5893         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5894         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5895         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5896         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5897         Likewise.
5898         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5899         Likewise.
5900         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5901         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5902         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5903         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5904         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5905         implementation.
5906         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5907         if it is defined.
5909         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5910         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5911         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5912         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5913         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5914         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5915         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5916         Likewise.
5917         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5918         Likewise.
5919         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5920         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5921         Define to __NR_osf_shmat.
5922         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5923         defined.
5925         * sysvipc/Makefile (tests): Add test-sysvsem.
5926         * sysvipc/test-sysvsem.c: New file.
5928         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5929         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5930         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5931         Likewise.
5932         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5933         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5934         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5935         Likewise.
5936         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5937         Likewise.
5938         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5939         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5940         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5941         add a comment about s390 syscall difference from default one.
5942         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5943         syscall if it is defined.
5945         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5946         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5947         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5948         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5949         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5950         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5951         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5952         Likewise.
5953         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5954         Likewise.
5955         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5956         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5957         defined.
5959         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5960         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5961         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5962         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5963         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5964         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5965         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5966         Likewise.
5967         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5968         Likewise.
5969         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5970         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5971         if it is defined.
5973         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5974         oldsemctl.
5975         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5976         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5977         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5978         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5979         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5980         implementation.
5981         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5982         syscall if it is defined.
5983         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5984         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5985         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5986         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5987         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5988         Likewise.
5989         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
5991         * sysvipc/Makefile (tests): Add test-sysvmsg.
5992         * sysvipc/test-sysvmsg.c: New file.
5993         * support/check.h (FAIL_UNSUPPORTED): New define.
5995         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
5996         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5997         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
5998         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
5999         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6000         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6001         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6002         Likewise.
6003         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6004         Likewise.
6005         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6006         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6007         define.
6009         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6010         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6011         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6012         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6013         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6014         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6015         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6016         Likewise.
6017         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6018         Likewise.
6019         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6020         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6021         if defined.
6023         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6024         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6025         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6026         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6027         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6028         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6029         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6030         Likewise.
6031         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6032         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6035         if defined.
6036         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6038         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6039         oldmsgctl.
6040         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6041         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6042         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6043         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6044         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6045         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6046         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6047         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6048         Likewise.
6049         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6050         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6051         implementation.
6052         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6053         if defined.
6055         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6056         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6057         definition and define its own.
6058         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6059         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6060         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6061         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6062         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6063         definitions to common header.
6064         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6065         operation from ipc_ops.h.
6067         * sysdeps/unix/sysv/linux/kernel-features.h
6068         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6069         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6070         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6071         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6072         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6073         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6074         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6075         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6076         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6077         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6078         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6079         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6080         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6081         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6082         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6084 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6086         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6087         overflow in pointer addition.
6089 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6091         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6092         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6094         (strchr): Add __strchr_power8 to list of strchr functions.
6095         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6096         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6097         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6098         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6099         (strchr): Add __strchr_power8 to ifunc list.
6100         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6101         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6102         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6103         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6105 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6107         * support/Makefile (libsupport-routines): Add
6108         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6109         (tests): Add tst-support_record_failure.
6110         (tests-special): tst-support_record_failure-2.
6111         (tst-support_record_failure-2.out): Depend on
6112         tst-support_record_failure-2.sh and tst-support_record_failure.
6113         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6114         (support_test_verify_impl, support_record_failure)
6115         (support_report_failure, support_report_failure_reset): Declare.
6116         * support/support_test_main.c (adjust_exit_status): New function.
6117         (support_test_main): Call it to incorporate record test failures.
6118         * support/support_test_verify_impl.c: New file.
6119         * support/support_record_failure.c: Likewise.
6120         * support/tst-support_record_failure.c: Likewise.
6121         * support/tst-support_record_failure-2.sh: Likewise.
6122         * support/xunistd.h: Likewise.
6123         * support/xfork.c: Likewise.
6124         * support/xwaitpid.c: Likewise.
6126 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6128         * scripts/check-c++-types.sh: Add comments.
6130 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6132         [BZ #19514]
6133         * resolv/res_send.c: Fix typo in comment.
6134         * sysdeps/i386/i386-mcount.S: Likewise.
6135         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6136         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6137         * sysdeps/sparc/sparc-mcount.S: Likewise.
6139 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6141         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6142         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6143         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6144         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6145         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6146         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6147         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6148         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6150 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6152         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6154 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6156         [BZ #17252]
6157         * posix/unistd.h (getentropy): Declare.
6159 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6161         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6162         Remove.
6163         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6164         (cmd): Remove spoof, nospoof, spoofalert.
6165         (parse_line): Ignore spoof-related lines.
6166         (do_init): Do not process RESOLV_SPOOF_CHECK.
6168 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6170         [BZ #20964]
6171         sunrpc: Always obtain AF_INET addresses from NSS.
6172         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6173         * sunrpc/rpc_gethostbyname.c: New file.
6174         * sunrpc/Makefile (routines): Add it.
6175         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6176         * sunrpc/clnt_simp.c (callrpc): Likewise.
6177         * sunrpc/getrpcport.c (getrpcport): Likewise.
6179 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6181         * sunrpc/rpcinfo.c: Remove.
6182         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6184 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6186         [BZ #19387]
6187         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6188         addition.
6189         * string/test-memchr.c (do_test): Remove alignment limitation.
6190         (test_main): Add test that trigger BZ #19387.
6192 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6194         [BZ #7065]
6195         Enable stack protectore if requested by ./configure.
6196         * Makeconfig (+stack-protector): New variable.
6197         (+cflags): Use it.
6199 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6201         [BZ #7065]
6202         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6203         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6204         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6205         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6206         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6208 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6210         [BZ #7065]
6211         * login/Makefile (pt_chown-cflags): Remove.
6212         * nscd/Makefile (CFLAGS-nscd): Likewise.
6213         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6215 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6217         [BZ #7065]
6218         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6219         non-libc-linking testcase.
6221 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6222             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6223             Florian Weimer  <fweimer@redhat.com>
6225         [BZ #7065]
6226         PLT avoidance for __stack_chk_fail*.
6227         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6228         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6229         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6230         __stack_chk_fail_local alias.
6231         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6232         (__stack_chk_fail): Turn into hidden reference to
6233         __stack_chk_fail_local.
6235 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6237         [BZ #7065]
6238         * configure.ac: Add check for unsupported stack-protection level.
6239         (libc_cv_predef_stack_protector): Remove.
6240         (no_ssp): New variable.
6241         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6242         (stack_protector): Set to -fno-stack-protector similarly.
6243         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6244         (libc_cv_asm_set_directive): Likewise.
6245         (libc_cv_protected_data): Likewise.
6246         (libc_cv_z_combreloc): Likewise.
6247         (libc_cv_hashstyle): Likewise.
6248         (libc_cv_has_glob_dat): Likewise.
6249         (libc_cv_output_format): Likewise.
6250         (libc_cv_output_format): Likewise.
6251         (libc_cv_ehdr_start): Likewise.
6252         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6253         (LIBC_LINKER_FEATURE): Likewise.
6254         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6256 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6258         [BZ #7065]
6259         * elf/Makefile (dummy-stack-chk-fail): New.
6260         (librtld.map): Use it.
6262 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6264         [BZ #7065]
6265         Compile the dynamic linker without stack protection.
6266         * elf/Makefile (elide-stack-protector): New.
6267         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6268         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6269         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6270         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6272 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6274         [BZ #7065]
6275         * config.make.in (have-ssp, no-stack-protector): New.
6276         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6277         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6278         (CFLAGS-sbrk.op): Likewise.
6279         (CFLAGS-brk.o): Likewise.
6280         (CFLAGS-brk.op): Likewise.
6281         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6282         (CFLAGS-wordcopy.c): Likewise.
6284 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6286         [BZ #7065]
6287         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6288         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6289         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6290         (__ifunc_resolver): Use it.
6291         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6292         inhibit_stack_protector.
6293         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6294         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6295         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6296         (foo_protected_ifunc): Likewise.
6297         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6298         (foo_protected_ifunc): Likewise.
6299         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6300         * sysdeps/nacl/nacl_interface_query.c
6301         (nacl_interface_query_ifunc): Likewise.
6302         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6303         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6304         Likewise.
6305         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6306         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6307         the generated vDSO syscall resolver.
6309 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6310             Florian Weimer  <fweimer@redhat.com>
6312         [BZ #7065]
6313         Initialize the stack guard earlier when linking statically.
6314         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6315         (__pthread_initialize_minimal): Declare.
6316         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6317         declaration.
6318         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6319         stack canary and apply_irel initialization up.  Call
6320         __pthread_initialize_minimal only if linked in.
6321         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6322         constant values.
6323         (__pthread_initialize_minimal): Remove.
6324         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6325         (__pthread_initialize_minimal_internal): Do not call
6326         __libc_setup_tls.
6328 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6330         [BZ #7065]
6331         * configure.ac (libc_cv_ssp): Move up.
6332         (libc_cv_ssp_strong): Likewise.
6333         (libc_cv_ssp_all): New.
6334         (stack_protector): Augment, adding -fstack-protector-all.
6335         (no_stack_protector): New.
6336         (STACK_PROTECTOR_LEVEL): New.
6337         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6338         * manual/install.texi (--enable-stack-protector): Document it.
6339         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6341 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6343         * README.pretty-printers: Must specify CPPFLAGS-* also.
6344         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6345         (CPPFLAGS-test-mutex-printers.c): Define.
6346         (CPPFLAGS-test-condattr-printers.c): Define.
6347         (CPPFLAGS-test-cond-printers.c): Define.
6348         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6349         (CPPFLAGS-test-rwlock-printers.c): Define.
6351         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6352         (tests): Add tst-cancel-getpwuid_r.
6353         * nss/tst-cancel-getpwuid_r.c: New file.
6355         [BZ #11941]
6356         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6357         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6358         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6359         tst-nodelete-dlclose.
6360         (modules-names): Add tst-nodelete-dlclose-dso and
6361         tst-nodelete-dlclose-plugin.
6362         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6363         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6364         ($(objpfx)tst-nodelete-dlclose): Define.
6365         ($(objpfx)tst-nodelete-dlclose.out): Define.
6367 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6369         * scripts/test_printers_common.py: Log GDB output in case of
6370         Python detection failure.
6372 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6374         * configure.ac: Check for python3 or python.
6375         * configure: Regenerated.
6376         * config.make.in (PYTHON): New variable.
6377         * benchtests/Makefile: Don't define PYTHON.
6378         (bench): Define target only if PYTHON was defined.
6379         * Rules: Don't define PYTHON.
6380         Define pretty printer targets only if PYTHON was defined.
6381         (tests-printers): Add to tests-unsupported if PYTHON is not
6382         found.
6383         (python-flags, python-invoke): Remove.
6384         (tests-printers-out): Use PYTHON instead of python-invoke.
6386 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6388         [BZ #20978]
6389         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6390         Compare name == NULL, not name != NULL.
6392         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6393         trailing whitespace removed.
6394         * scripts/config.guess: Update to version 2016-10-02.
6395         * scripts/config.sub: Update to version 2016-11-19.
6396         * scripts/install-sh: Update to version 2016-01-11.22.
6397         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6398         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6400 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6402         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6403         (do_one_test) Restore original string so iteration works.
6404         * string/string-inlines.c (do_test): Create better input strings.
6405         (test_main) Reduce number of testruns.
6406         * string/string-inlines.c (__old_strsep_1c): New function.
6407         (__old_strsep_2c): Likewise.
6408         (__old_strsep_3c): Likewise.
6409         * string/strsep.c (__strsep): Remove case of small delim string.
6410         Call strcspn directly rather than strpbrk.
6411         * string/bits/string2.h (__strsep): Remove define.
6412         (__strsep_1c): Remove.
6413         (__strsep_2c): Remove.
6414         (__strsep_3c): Remove.
6415         (strsep): Remove.
6416         * sysdeps/unix/sysv/linux/internal_statvfs.c
6417         (__statvfs_getflags): Rename to __strsep.
6419 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6421         * csu/libc-tls.c (_dl_tls_setup): Remove.
6422         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6423         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6424         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6426 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6428         [BZ #7065]
6429         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6430         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6432 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6433             Florian Weimer  <fweimer@redhat.com>
6435         [BZ #7065]
6436         * csu/Makefile (tests): Empty assignment and document it.
6437         (tests-static): Remove.
6438         * csu/tst-empty.c: Move to...
6439         * misc/tst-empty.c: ... here.  Switch to new test driver.
6440         * csu/tst-atomic.c: Move to...
6441         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6442         * csu/tst-atomic-long.c: Move to...
6443         * misc/tst-atomic-long.c: ... here.
6444         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6445         tst-atomic-long.
6446         (tests-static): Add tst-empty.
6448 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6450         * manual/nss.texi: Change incorrect @vtable to @table.
6451         * manual/arith.texi: Convert @tables of variables to @vtables
6452         and remove unnecessary indexing.
6453         * manual/filesys.texi: Likewise.
6454         * manual/llio.texi: Likewise.
6455         * manual/memory.texi: Likewise.
6456         * manual/process.texi: Likewise.
6457         * manual/resource.texi: Likewise.
6458         * manual/search.texi: Likewise.
6459         * manual/signal.texi: Likewise.
6460         * manual/socket.texi: Likewise.
6461         * manual/stdio.texi: Likewise.
6462         * manual/sysinfo.texi: Likewise.
6463         * manual/syslog.texi: Likewise.
6464         * manual/terminal.texi: Likewise.
6465         * manual/time.texi: Likewise.
6466         * manual/users.texi: Likewise.
6468 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6470         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6471         (roundeven): New declaration.
6472         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6473         macro.
6474         * math/Versions (roundeven): New libm symbol at version
6475         GLIBC_2.25.
6476         (roundevenf): Likewise.
6477         (roundevenl): Likewise.
6478         * math/Makefile (libm-calls): Add s_roundevenF.
6479         * math/libm-test.inc (roundeven_test_data): New array.
6480         (roundeven_test): New function.
6481         (main): Call roundeven_test.
6482         * math/test-tgmath.c (NCALLS): Increase to 134.
6483         (F(compile_test)): Call roundeven.
6484         (F(roundeven)): New function.
6485         * manual/arith.texi (Rounding Functions): Document roundeven,
6486         roundevenf and roundevenl.
6487         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6488         * include/math.h (roundeven): Use libm_hidden_proto.
6489         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6490         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6491         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6492         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6493         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6494         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6495         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6496         roundeven.
6497         (CFLAGS-nldbl-roundeven.c): New variable.
6498         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6499         * sysdeps/nacl/libm.abilist: Update.
6500         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6501         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6502         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6503         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6504         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6505         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6506         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6507         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6508         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6509         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6510         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6511         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6513         Likewise.
6514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6515         Likewise.
6516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6517         Likewise.
6518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6519         Likewise.
6520         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6521         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6522         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6523         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6524         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6526         Likewise.
6527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6528         Likewise.
6529         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6530         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6531         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6533 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6535         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6536         preprocessor indentation inside #if.
6538 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6540         * math/libm-test.inc (fmt_ftostr): New function.
6541         (print_float, check_float_internal): Replace some uses of
6542         FTOSTR with uses of fmt_ftostr.
6543         (print_max_error, print_complex_max_error, print_function_ulps)
6544         (print_complex_function_ulps): Remove uses of the macros
6545         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6546         * math/test-double.h (FTOSTR): Define to strfromd.
6547         (PRINTF_EXPR): Delete.
6548         (PRINTF_XEXPR): Likewise.
6549         (PRINTF_NEXPR): Likewise.
6550         * math/test-float.h (FTOSTR): Define to strfromf.
6551         (PRINTF_EXPR): Delete.
6552         (PRINTF_XEXPR): Likewise.
6553         (PRINTF_NEXPR): Likewise.
6554         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6555         (PRINTF_EXPR): Delete.
6556         (PRINTF_XEXPR): Likewise.
6557         (PRINTF_NEXPR): Likewise.
6559 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6561         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6562         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6563         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6564         (__lll_lock_elision): Decrement adapt_count while unlocking
6565         instead of before locking.
6566         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6567         (__lll_trylock_elision): Likewise.
6568         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6569         (__lll_unlock_elision): Likewise.
6571 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6573         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6574         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6575         Use __libc_tbegin_retry macro.
6577 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6579         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6580         Add -msoft-float.
6581         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6582         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6583         Use __libc_t* transaction macros instead of __builtin_t*.
6584         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6585         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6587 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6589         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6590         (__lll_lock_elision): Use atomics to load / store adapt_count.
6591         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6592         (__lll_trylock_elision): Likewise.
6594 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6596         Do not require memset elimination in explicit_bzero test.
6597         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6598         (enum test_expectation): Add NO_EXPECTATIONS.
6599         (subtests): NO_EXPECTATIONS for ordinary clear.
6600         (check_test_buffer): Handle NO_EXPECTATIONS.
6601         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6603 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6605         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6606         (fmaxmag): New declaration.
6607         (fminmag): Likewise.
6608         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6609         macro.
6610         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6611         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6612         (fmaxmagf): Likewise.
6613         (fmaxmagl): Likewise.
6614         (fminmag): Likewise.
6615         (fminmagf): Likewise.
6616         (fminmagl): Likewise.
6617         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6618         * math/s_fmaxmag_template.c: New file.
6619         * math/s_fminmag_template.c: Likewise.
6620         * math/libm-test.inc (fmaxmag_test_data): New array.
6621         (fmaxmag_test): New function.
6622         (fminmag_test_data): New array.
6623         (fminmag_test): New function.
6624         (main): Call fmaxmag_test and fminmag_test.
6625         * math/test-tgmath.c (NCALLS): Increase to 132.
6626         (F(compile_test)): Call fmaxmag and fminmag.
6627         (F(fminmag)): New function.
6628         (F(fmaxmag)): Likewise.
6629         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6630         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6631         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6632         fminmag.
6633         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6634         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6635         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6636         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6637         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6638         and fminmag.
6639         (CFLAGS-nldbl-fmaxmag.c): New variable.
6640         (CFLAGS-nldbl-fminmag.c): Likewise.
6641         * sysdeps/nacl/libm.abilist: Update.
6642         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6643         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6644         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6645         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6646         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6647         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6648         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6649         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6650         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6651         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6652         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6653         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6655         Likewise.
6656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6657         Likewise.
6658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6659         Likewise.
6660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6661         Likewise.
6662         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6663         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6664         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6665         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6666         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6668         Likewise.
6669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6670         Likewise.
6671         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6672         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6673         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6675 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6677         [BZ #20973]
6678         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6679         wake-up in robust mutexes.
6680         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6682 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6684         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6685         (CFLAGS-bench-fmaxf.c): New rule.
6686         (CFLAGS-bench-fminf.c): Likewise.
6687         * benchtests/fmaxf-inputs: New file.
6688         * benchtests/fminf-inputs: Likewise.
6690         * benchtests/Makefile (bench-math): Add fmin and fmax.
6691         (CFLAGS-bench-fmax.c): New rule.
6692         (CFLAGS-bench-fmin.c): Likewise.
6693         * benchtests/fmax-inputs: New file.
6694         * benchtests/fmin-inputs: Likewise.
6696         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6697         parenthesis.
6698         (CMDLINE_PROCESS): Define using function instead of macro.
6699         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6700         of test-skeleton.
6701         * benchtests/bench-memchr.c: Likewise.
6702         * benchtests/bench-memcmp.c: Likewise.
6703         * benchtests/bench-memcpy-large.c: Likewise.
6704         * benchtests/bench-memcpy.c: Likewise.
6705         * benchtests/bench-memmem.c: Likewise.
6706         * benchtests/bench-memmove-large.c: Likewise.
6707         * benchtests/bench-memmove.c: Likewise.
6708         * benchtests/bench-memset-large.c: Likewise.
6709         * benchtests/bench-memset.c: Likewise.
6710         * benchtests/bench-rawmemchr.c: Likewise.
6711         * benchtests/bench-strcasecmp.c: Likewise.
6712         * benchtests/bench-strcasestr.c: Likewise.
6713         * benchtests/bench-strcat.c: Likewise.
6714         * benchtests/bench-strchr.c: Likewise.
6715         * benchtests/bench-strcmp.c: Likewise.
6716         * benchtests/bench-strcpy.c: Likewise.
6717         * benchtests/bench-strcpy_chk.c: Likewise.
6718         * benchtests/bench-strlen.c: Likewise.
6719         * benchtests/bench-strncasecmp.c: Likewise.
6720         * benchtests/bench-strncmp.c: Likewise.
6721         * benchtests/bench-strncpy.c: Likewise.
6722         * benchtests/bench-strnlen.c: Likewise.
6723         * benchtests/bench-strpbrk.c: Likewise.
6724         * benchtests/bench-strrchr.c: Likewise.
6725         * benchtests/bench-strsep.c: Likewise.
6726         * benchtests/bench-strspn.c: Likewise.
6727         * benchtests/bench-strstr.c: Likewise.
6728         * benchtests/bench-strtok.c: Likewise.
6730 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6732         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6733         stepping identification.
6734         (init_cpu_features): Add handle of Haswell.
6736 2016-11-25  Jim Meyering  <meyering@fb.com>
6738         [BZ #20386]
6739         Let gcc detect assert(a = 1) errors.
6740         * assert/assert.h (assert): Rewrite, retaining the old definintion
6741         when required, but otherwise putting the expression as-is in an "if"
6742         expression (hence, with no added parentheses) within a statement
6743         expression.
6745 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6747         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6748         DSO.
6750 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6752         * Rules (python-flags, python-invoke): New.
6753         ($(test-printers-out)): Use $(python-flags).
6755 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6757         * manual/arith.texi (Math Error Reporting): Document that sNaN
6758         arguments are not considered domain errors.
6760 2016-12-16  Zack Weinberg <zackw@panix.com>
6761             Florian Weimer <fweimer@redhat.com>
6762             Nick Mathewson <nickm@torproject.org>
6764         * string/explicit_bzero.c: New routine.
6765         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6766         * string/Makefile (routines, strop-tests, tests): Add them.
6767         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6768         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6770         * debug/explicit_bzero_chk.c: New routine.
6771         * debug/Makefile (routines): Add it.
6772         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6773         * string/bits/string3.h: Fortify explicit_bzero.
6775         * manual/string.texi: Document explicit_bzero.
6776         * NEWS: Mention addition of explicit_bzero.
6778         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6779         data before returning, using explicit_bzero.
6780         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6781         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6782         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6784         * include/string.h: Redirect internal uses of explicit_bzero
6785         to __explicit_bzero_chk[_internal].
6786         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6787         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6788         * sysdeps/arm/nacl/libc.abilist
6789         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6790         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6791         * sysdeps/unix/sysv/linux/arm/libc.abilist
6792         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6793         * sysdeps/unix/sysv/linux/i386/libc.abilist
6794         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6795         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6796         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6797         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6798         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6799         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6800         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6801         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6802         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6807         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6808         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6809         * sysdeps/unix/sysv/linux/sh/libc.abilist
6810         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6811         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6814         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6815         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6816         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6817         Add entries for explicit_bzero and __explicit_bzero_chk.
6819 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6821         * math/fenv.h
6822         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6823         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6824         * math/test-fe-snans-always-signal.c: New file.
6825         * math/Makefile (tests): Add test-fe-snans-always-signal.
6826         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6827         * manual/arith.texi (Infinity and NaN): Document
6828         FE_SNANS_ALWAYS_SIGNAL.
6830 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6832         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6833         bracket.
6835 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6837         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6838         before calling execv.
6840 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6842         [BZ #20971]
6843         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6844         overflow in pointer addition.
6845         * string/test-memchr.c (do_test): Add an argument to pass as
6846         the size on memchr.
6847         (test_main): Add check for SIZE_MAX.
6849 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6851         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6852         (libm-calls): Add w_scalblnF.
6853         * math/w_scalbln.c: Remove.
6854         * math/w_scalblnf.c: Likewise.
6855         * math/w_scalblnl.c: Likewise.
6856         * math/w_scalbln_template.c: New file with type-generic
6857         implementation based on math/w_scalbln.c.
6858         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6859         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6861 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6863         [BZ #20947]
6864         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6865         either is a signaling NaN.
6866         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6867         follow fmaxl more closely.
6868         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6869         when either is a signaling NaN.
6870         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6871         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6872         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6873         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6874         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6875         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6876         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6877         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6878         (fmin_test_data): Likewise.
6880 2016-12-15  Andreas Schwab  <schwab@suse.de>
6882         * support/support_test_main.c (support_test_main): Don't shadow
6883         file-local variable test_pid.
6885 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6887         [BZ #20947]
6888         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6889         either is a signaling NaN.
6890         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6892 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6894         [BZ #20947]
6895         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6896         when either is a signaling NaN.
6897         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6899         * bits/long-double.h: New file.
6900         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6901         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6902         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6903         * sysdeps/mips/bits/long-double.h: Likewise.
6904         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6905         * math/Makefile (headers): Add bits/long-double.h.
6906         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6907         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6908         <bits/wordsize.h>.
6909         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6910         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6911         * math/math.h: Do not include <bits/mathdef.h>.
6912         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6913         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6914         inclusion.
6915         * sysdeps/ia64/bits/mathdef.h: Remove file.
6916         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6917         * sysdeps/mips/bits/mathdef.h: Likewise.
6918         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6919         * sysdeps/s390/bits/mathdef.h: Likewise.
6920         * sysdeps/sparc/bits/mathdef.h: Likewise.
6921         * sysdeps/x86/bits/mathdef.h: Likewise.
6922         * sysdeps/s390/s390-32/bits/wordsize.h
6923         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6924         conditional code.
6925         * sysdeps/s390/s390-64/bits/wordsize.h
6926         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6927         Likewise.
6928         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6929         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6930         Likewise.
6931         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6932         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6933         Likewise.
6934         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6935         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6936         Likewise.
6938         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6939         <linux/falloc.h>.
6940         (FALLOC_FL_KEEP_SIZE): Remove.
6941         (FALLOC_FL_PUNCH_HOLE): Likewise.
6942         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6943         (FALLOC_FL_ZERO_RANGE): Likewise.
6945 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6947         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6949 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6951         * sysdeps/unix/sysv/linux/renameat.c: New file.
6952         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6954         * sysdeps/unix/sysv/linux/rename.c: New file.
6955         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6957 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6959         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6960         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6961         * string/strtok_r.c (__strtok_r): Optimize for performance.
6962         * string/string-inlines.c (__old_strtok_r_1c): New function.
6963         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6965 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6967         * math/Makefile (gen-libm-calls): Add w_log1pF.
6968         (libm-calls): Remove w_log1pF.
6969         * math/w_log1p.c: Remove.
6970         * math/w_log1pf.c: Likewise.
6971         * math/w_log1pl.c: Likewise.
6972         * math/w_log1p_template.c: New file with type-generic
6973         implementation based on math/w_log1p.c.
6974         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6975         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6977 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6979         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6981 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6983         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6984         kernel version to 4.9.
6986 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6988         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6989         ($(inst_libdir)/libm.a): Fix rule to create the target only.
6991 2016-12-13  Andreas Schwab  <schwab@suse.de>
6993         * sysdeps/powerpc/dl-procinfo.c: Don't define
6994         _dl_powerpc_platforms.
6995         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
6996         constants instead of referencing _dl_powerpc_platforms.
6997         (_dl_platform_string): Remove.
6999 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7001         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7003 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7005         * Rules (binaries-shared-tests, binaries-pie-tests)
7006         (binaries-static-tests): Link with $(link-extra-libs-tests).
7007         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7008         Remove $(link-extra-libs-tests).
7010 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7012         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7013         (sysdep_routines): Add strncmp_power9.
7014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7015         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7016         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7017         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7018         (strncmp): Add __strncmp_power9 to ifunc list.
7019         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7021 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7023         [BZ #17252]
7024         Add getentropy, getrandom.
7025         * stdlib/sys/random.h: New file.
7026         (headers): Add it.
7027         * stdlib/Makefile (routines): Add getentropy, getrandom.
7028         (tests): Add tst-getrandom.
7029         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7030         * stdlib/getentropy.c: New file.
7031         * stdlib/getrandom.c: Likewise.
7032         * stdlib/tst-getrandom.c: Likewise.
7033         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7034         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7035         * manual/crypt.texi (Unpredictable Bytes): New section.
7036         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7037         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7038         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7039         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7040         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7041         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7042         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7043         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7044         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7045         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7046         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7047         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7048         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7049         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7050         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7051         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7053         Likewise.
7054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7055         Likewise.
7056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7058         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7059         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7060         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7061         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7062         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7069 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7071         [BZ #20956]
7072         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7073         as additional compiler barriers.
7074         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7075         (fn2, do_test): Declare with external linkage.
7076         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7077         (do_test): Declare with external linkage.
7078         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7079         (do_test): Declare with external linkage.
7080         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7081         (do_test): Declare with external linkage.
7083 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7085         * support/support_test_main.c (support_test_main): Use correct
7086         timeout.
7088 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7089             Florian Weimer  <fweimer@redhat.com>
7091         [BZ #16421]
7092         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7093         and __u6_addr32 members.
7094         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7095         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7096         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7097         Use __u6_addr32.
7098         * inet/tst-checks.c: Use <support/test-driver.c>
7099         * inet/tst-checks-posix.c: New file.
7100         * inet/Makefile (tests): Add it.
7101         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7103 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7105         New subdirectory support for build and test infrastructure.
7106         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7107         setting install-lib.
7108         * Makeconfig (link-extra-libs-tests): Define.
7109         (+link-pie-tests, +link-static-tests, +link-tests): Use
7110         link-extra-libs-tests.
7111         (rpath-dirs, all-subdirs): Add support.
7112         (built-modules): Add libsupport.
7113         (libsupport): Define.
7114         * support: New directory.
7115         * support/Makefile: New file.
7116         * support/check.c: Likewise.
7117         * support/check.h: Likewise.
7118         * support/delayed_exit.c: Likewise.
7119         * support/ignore_stderr.c: Likewise.
7120         * support/oom_error.c: Likewise.
7121         * support/set_fortify_handler.c: Likewise.
7122         * support/support.h: Likewise.
7123         * support/temp_file-internal.h: Likewise.
7124         * support/temp_file.c: Likewise.
7125         * support/test-driver.c: Likewise.
7126         * support/test-driver.h: Likewise.
7127         * support/test_main.c: Likewise.
7128         * support/write_message.c: Likewise.
7129         * support/xasprintf.c: Likewise.
7130         * support/xcalloc.c: Likewise.
7131         * support/xmalloc.c: Likewise.
7132         * support/xpthread_barrier_destroy.c: Likewise.
7133         * support/xpthread_barrier_init.c: Likewise.
7134         * support/xpthread_barrier_wait.c: Likewise.
7135         * support/xpthread_cancel.c: Likewise.
7136         * support/xpthread_check_return.c: Likewise.
7137         * support/xpthread_cond_wait.c: Likewise.
7138         * support/xpthread_create.c: Likewise.
7139         * support/xpthread_detach.c: Likewise.
7140         * support/xpthread_join.c: Likewise.
7141         * support/xpthread_mutex_lock.c: Likewise.
7142         * support/xpthread_mutex_unlock.c: Likewise.
7143         * support/xpthread_sigmask.c: Likewise.
7144         * support/xpthread_spin_lock.c: Likewise.
7145         * support/xpthread_spin_unlock.c: Likewise.
7146         * support/xrealloc.c: Likewise.
7147         * support/xsignal.h: Likewise.
7148         * support/xthread.h: Likewise.
7149         * support_tempfile.h: Likewise.
7150         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7151         (TEST_DATA_LIMIT): Remove unused macro.
7152         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7153         <support/check.h>.
7154         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7155         (ignore_stderr, set_fortify_handler): Remove.  Now in
7156         <support/support.h>.
7157         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7158         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7159         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7160         (xpthread_join): Remove.  Now in <support/xthread.h>.
7161         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7162         Introduce legacy wrappers.
7163         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7164         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7165         (write_message): Remove.
7166         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7167         test-skeleton.c.
7168         * io/test-open-tmpfile: Likewise.
7169         * io/tst-posix_fallocate-common.c: Likewise.
7170         * libio/tst-fseek.c: Likewise.
7171         * malloc/tst-malloc-backtrace.c: Likewise.
7172         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7173         * malloc/tst-malloc-thread-exit.c: Likewise.
7174         * nptl/tst-cancel7.c: Likewise.
7175         * nptl/tst-cleanup0.c: Likewise.
7176         * posix/tst-posix_fadvise-common.c: Likewise.
7177         * rt/tst-shm.c: Likewise.
7178         * time/bug-getdate1.c: Likewise.
7179         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7180         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7181         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7183 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7185         * Rules [$(run-built-tests) != no] (tests-expected): Add
7186         $(tests-printers).
7187         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7189 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7191         [BZ #20539]
7192         * math/Makefile (install-lib-ldscripts): Add libm.a.
7193         (install_subdir): Remove.
7194         (install-others): Add.
7195         ($(inst_libdir)/libm.a): Add rule for installation as
7196         linker script.
7197         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7199 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7201         * INSTALL: Regenerated.
7202         * Makeconfig: Add comments and whitespace to make the control flow
7203         clearer.
7204         (+link-printers-tests, +link-pie-printers-tests,
7205         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7206         built-rtld-LDFLAGS, link-libc-rpath,
7207         link-libc-tests-after-rpath-link,
7208         link-libc-printers-tests): New.
7209         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7210         link-libc-tests): Use the new variables as required.
7211         * Makerules ($(py-const)): New rule.
7212         generated: Add $(py-const).
7213         * README.pretty-printers: New file.
7214         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7215         (others): Depend on $(py-const).
7216         (tests): Depend on $(tests-printers-programs) or
7217         $(tests-printers-out),
7218         as required.  Pass $(tests-printers) to merge-test-results.sh.
7219         * manual/install.texi: Add requirements for testing the pretty
7220         printers.
7221         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7222         tests-printers, CFLAGS-test-mutexattr-printers.c
7223         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7224         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7225         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7226         * nptl/nptl-printers.py: New file.
7227         * nptl/nptl_lock_constants.pysym: Likewise.
7228         * nptl/test-cond-printers.c: Likewise.
7229         * nptl/test-cond-printers.py: Likewise.
7230         * nptl/test-condattr-printers.c: Likewise.
7231         * nptl/test-condattr-printers.py: Likewise.
7232         * nptl/test-mutex-printers.c: Likewise.
7233         * nptl/test-mutex-printers.py: Likewise.
7234         * nptl/test-mutexattr-printers.c: Likewise.
7235         * nptl/test-mutexattr-printers.py: Likewise.
7236         * nptl/test-rwlock-printers.c: Likewise.
7237         * nptl/test-rwlock-printers.py: Likewise.
7238         * nptl/test-rwlockattr-printers.c: Likewise.
7239         * nptl/test-rwlockattr-printers.py: Likewise.
7240         * scripts/gen-py-const.awk: Likewise.
7241         * scripts/test_printers_common.py: Likewise.
7242         * scripts/test_printers_exceptions.py: Likewise.
7244 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7246         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7247         argument.
7248         (Glibc.build_glibc): Strip installed shared libraries if
7249         requested.
7250         (get_parser): Add --strip option.
7251         (main): Update Context call.
7253 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7254             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7256         [BZ #20847]
7257         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7258         array bounds for else branch.
7259         (__execvpe): Style fixes.
7260         * posix/tst-vfork3.c (run_script): New function.
7261         (create_script): Likewise.
7262         (do_test): Use run_script internal function.
7263         (do_prepare): Use create_script internal function.
7265 2016-12-07  Andreas Schwab  <schwab@suse.de>
7267         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7268         (__elision_available): Don't declare.
7269         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7270         (__elision_available): Don't define.
7271         (elision_init): Don't set __elision_available.
7273 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7275         [BZ #20940]
7276         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7277         return Inf for arguments Inf and sNaN.
7278         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7279         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7280         Likewise.
7281         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7282         Likewise.
7283         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7284         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7285         for arguments Inf and sNaN.  When returning a NaN, compute it by
7286         arithmetic on the arguments.
7287         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7288         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7289         arguments.
7291 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7293         [BZ #20916]
7294         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7295         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7296         to compute result.
7297         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7298         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7300 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7302         * include/atomic.h (__atomic_check_size_ls): New.
7303         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7304         atomic_store_release): Use it.
7305         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7306         (elision_adapt, ELIDE_LOCK): Use atomics.
7307         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7308         atomics and improve code comments.
7309         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7310         (__lll_trylock_elision): Likewise.
7312 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7314         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7315         programs.
7317 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7319         [BZ #20916]
7320         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7321         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7322         arguments to compute result.
7323         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7324         1 for arguments (sNaN, 0) or (1, sNaN).
7325         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7326         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7328         [BZ #20919]
7329         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7330         NaN first argument when raised to power 0.
7331         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7332         raising to power zero.
7333         * math/w_powf.c (__powf): Likewise.
7334         * math/w_powl.c (__powl): Likewise.
7335         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7336         pow (0, 0) or pow (NaN, 0).
7338 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7340         [BZ #20918]
7341         * configure.ac: Test for static NSS cryptographic libraries and set
7342         libc_cv_static_nss_crypt.
7343         * configure: Regenerate.
7344         * config.make.in (static-nss-crypt): Define.
7345         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7346         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7347         (CFLAGS-tst-linkall-static.c): Define.
7348         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7349         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7350         ($(objpfx)tst-linkall-static): Define.
7351         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7352         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7354 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7356         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7357         (one-hundred, tst-tls-many-dynamic-modules): Define.
7358         (modules-names): Add $(tst-tls-many-dynamic-modules).
7359         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7360         macros.
7361         (tst-tls-manydynamic): Link against libdl, libpthread.
7362         (tst-tls-manydynamic.out): The test needs the test modules at run
7363         time.
7364         * elf/tst-tls-manydynamic.c: New file.
7365         * elf/tst-tls-manydynamic.h: Likewise.
7366         * elf/tst-tls-manydynamicmod.c: Likewise.
7368 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7370         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7371         (TLS_DTV_UNALLOCATED): Add.
7372         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7373         offsets.
7375 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7377         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7379 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7381         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7382         Add -fno-optimize-sibling-calls.
7384 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7386         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7387         New declaration.
7388         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7389         macro.
7390         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7391         New macro.
7392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7393         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7394         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7395         (llogbf): Likewise.
7396         (llogbl): Likewise.
7397         * math/Makefile (gen-libm-calls): Add w_llogbF.
7398         (tests): Add test-fp-llogb-constants.
7399         * math/w_llogb_template.c: New file.  Based on
7400         math/w_ilogb_template.c.
7401         * math/libm-test.inc (llogb_test_data): New array.
7402         (llogb_test): New function.
7403         (main): Call llogb_test.
7404         * math/test-fp-llogb-constants.c: New file.  Based on
7405         math/test-fp-ilogb-constants.c.
7406         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7407         (do_test): Call check_return_llogb.
7408         * math/test-tgmath.c (NCALLS): Increase to 126.
7409         (F(compile_test)): Call llogb.
7410         (F(llogb)): New function.
7411         * manual/math.texi (Exponents and Logarithms): Document llogb,
7412         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7413         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7414         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7415         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7416         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7417         (CFLAGS-nldbl-llogb.c): New variable.
7418         * sysdeps/nacl/libm.abilist: Update.
7419         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7420         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7421         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7422         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7423         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7424         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7425         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7426         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7427         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7428         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7429         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7430         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7432         Likewise.
7433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7434         Likewise.
7435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7436         Likewise.
7437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7438         Likewise.
7439         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7440         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7441         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7442         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7443         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7445         Likewise.
7446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7447         Likewise.
7448         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7449         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7450         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7452 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7454         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7455         _Float128 instead of long double.
7456         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7458         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7459         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7460         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7461         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7462         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7463         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7464         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7465         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7466         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7467         Likewise.
7469 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7471         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7472         Remove redirection to __strrchr_ppc.
7474 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7476         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7477         (sysdep_routines): Add strcmp_power9.
7478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7479         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7480         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7481         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7482         (strcmp): Add __strcmp_power9 to ifunc list.
7483         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7485 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7487         * bits/fp-logb.h: New file.
7488         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7489         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7490         * sysdeps/x86/bits/fp-logb.h: Likewise.
7491         * math/Makefile (headers): Add bits/fp-logb.h.
7492         * math/math.h: Include <bits/fp-logb.h>.
7493         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7494         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7495         * bits/mathdef.h (FP_ILOGB0): Remove.
7496         (FP_ILOGBNAN): Likewise.
7497         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7498         (FP_ILOGBNAN): Likewise.
7499         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7500         (FP_ILOGBNAN): Likewise.
7501         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7502         (FP_ILOGBNAN): Likewise.
7503         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7504         (FP_ILOGBNAN): Likewise.
7505         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7506         (FP_ILOGBNAN): Likewise.
7507         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7508         (FP_ILOGBNAN): Likewise.
7509         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7510         (FP_ILOGBNAN): Likewise.
7511         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7512         (FP_ILOGBNAN): Likewise.
7513         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7514         (FP_ILOGBNAN): Likewise.
7516         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7517         time module.
7518         (Context.__init__): Initialize self.logsdir_old.
7519         (Context.run_builds): Handle bot action.
7520         (Context.bot_cycle): Copy logs directory before running builds.
7521         (Context.bot_run_self): Take argument for whether to check
7522         subprocess result.  Flush stdout before running subprocess.
7523         (Context.bot): New function.
7524         (get_parser): Allow bot action.
7526 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7528         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7529         Import email.mime.text, email.utils and smtplib modules.
7530         (Context.__init__): Initialize self.bot_config_json.
7531         (Context.run_builds): Handle bot-cycle action.
7532         (Context.load_bot_config_json): New function.
7533         (Context.part_build_old): Likewise.
7534         (Context.bot_cycle): Likewise.
7535         (Context.bot_build_mail): Likewise.
7536         (Context.bot_run_self): Likewise.
7537         (get_parser): Allow bot-cycle action.
7539 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7541         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7542         Remove redirection to __stpcpy_ppc.
7544 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7546         Remove __libc_memalign from ld.so because it is unused.
7547         * elf/dl-minimal.c: Update comment on the malloc implementation.
7548         (malloc): Renamed from __libc_memalign, replacing the original
7549         malloc implementation.  Replace the align parameter with
7550         MALLOC_ALIGNMENT.
7551         * elf/Versions (ld): Update comment and remove __libc_memalign.
7552         * sysdeps/nacl/ld.abilist: Likewise.
7553         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7554         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7555         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7556         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7557         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7558         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7559         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7560         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7561         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7562         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7563         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7564         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7565         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7569         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7570         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7571         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7572         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7573         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7576         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7577         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7578         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7579         * sysdeps/generic/localplt.data (ld.so): Likewise.
7580         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7581         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7582         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7583         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7584         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7585         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7586         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7587         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7588         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7590         (ld.so): Likewise.
7591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7592         (ld.so): Likewise.
7593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7594         Likewise.
7595         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7596         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7597         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7598         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7599         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7601 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7603         [BZ #16628]
7604         Implement _dl_catch_error, _dl_signal_error in libc.so.
7605         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7606         (catch_hook): Define as thread-local or regular variable,
7607         depending on DL_ERROR_BOOTSTRAP.
7608         (CATCH_HOOK): Remove.
7609         (dl_signal_error, _dl_catch_error): Use
7610         catch_hook.  Add hidden definition for libc.
7611         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7612         for DL_ERROR_BOOTSTRAP only.
7613         * elf/dl-error.c: New file.
7614         * elf/dl-error-minimal.c: Likewise.
7615         * elf/tst-latepthread.c: Likewise.
7616         * elf/tst-latepthreadmod.c: Likewise.
7617         * elf/Makefile (routines): Add dl-error.
7618         (dl-routines): Remove dl-error.
7619         (rtld-routines): Add dl-error-minimal.
7620         [build-shared] (tests): Add tst-latepthread.
7621         (module-names): Add tst-latepthreadmod.
7622         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7623         symbol.
7624         (tst-latepthreadmod.so): Link against libpthread.
7625         (tst-latepthread): Link against libdbl.
7626         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7627         _dl_catch_error.
7628         [ld] (GLIBC_PRIVATE): Likewise.
7629         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7630         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7631         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7632         directly.
7633         * elf/dl-tsd.c: Remove file.
7634         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7635         _dl_catch_error, _dl_signal_error.
7636         (_dl_initial_error_catch_tsd): Remove definition.
7637         (do_preload): Remove initialization of dl_error_catch_tsd.
7638         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7639         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7640         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7641         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7642         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7643         set dl_error_catch_tsd.
7644         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7645         _dl_error_catch_tsd member.
7646         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7647         members.
7648         (_dl_initial_error_catch_tsd): Remove declaration.
7649         (_dl_dprintf): Provide definition for use outside of ld.so.
7650         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7651         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7652         prototype for libc.
7653         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7654         _dl_catch_error.
7655         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7656         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7657         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7658         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7659         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7660         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7661         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7662         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7663         Likewise.
7664         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7666         (ld.so): Likewise.
7667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7668         (ld.so): Likewise.
7669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7670         Likewise.
7671         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7672         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7673         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7674         Likewise.
7675         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7676         Likewise.
7677         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7679 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7681         [BZ #4099]
7682         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7683         _IO_BUFSIZ (8192).
7685 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7687         * PROJECTS: Remove file.
7689 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7691         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7693 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7694             Steve Ellcey  <sellcey@caviumnetworks.com>
7696         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7697         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7698         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7699         fxstatat.
7700         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7701         lxstat.
7702         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7703         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7704         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7705         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7706         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7707         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7708         __xstat.
7710 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7712         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7713         Define.
7714         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7715         definition.
7717 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7719         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7720         version and turn into strong alias.  Remove compat symbol.
7722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7723         (__longjmp): Remove.
7725 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7727         * bits/fp-fast.h: New file.
7728         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7729         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7730         * math/Makefile (headers): Add bits/fp-fast.h.
7731         * math/math.h: Include <bits/fp-fast.h>.
7732         * bits/mathdef.h (FP_FAST_FMA): Remove.
7733         (FP_FAST_FMAF): Likewise.
7734         (FP_FAST_FMAL): Likewise.
7735         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7736         (FP_FAST_FMAF): Likewise.
7737         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7738         (FP_FAST_FMAF): Likewise.
7739         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7740         (FP_FAST_FMAF): Likewise.
7741         (FP_FAST_FMAL): Likewise.
7742         * sysdeps/arm/bits/mathdef.h: Remove file.
7743         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7744         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7745         * sysdeps/tile/bits/mathdef.h: Likewise.
7747 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7749         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7750         * math/w_ilogb.c: Remove.
7751         * math/w_ilogbf.c: Likewise.
7752         * math/w_ilogbl.c: Likewise.
7753         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7754         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7755         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7756         (libm-calls): Remove w_ilogbF.
7757         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7758         (LDOUBLE_ilogbl_libm_version): New macro.
7760         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7762         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7763         [!__STRICT_ANSI__ && !__cplusplus].
7765 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7767         [BZ #20750]
7768         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7769         of PIC.
7771 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7772             Yury Norov  <ynorov@caviumnetworks.com>
7773             Steve Ellcey  <sellcey@caviumnetworks.com>
7775         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7776         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7777         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7778         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7779         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7780         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7781         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7782         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7783         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7784         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7785         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7786         to get correct reg name for ILP32.
7787         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7788         (RELA_SIZE): New Macro.
7789         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7790         to support ILP32.
7791         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7792         cast for ILP32 mode.
7793         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7794         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7795         * sysdeps/aarch64/memset.S (__memset): Ditto.
7796         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7797         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7798         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7799         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7800         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7801         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7802         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7803         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7804         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7805         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7806         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7807         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7808         change PTR_MANGLE call to use register numbers instead of names.
7809         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7810         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7811         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7812         * sysdeps/aarch64/start.S (_start): Ditto.
7813         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7814         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7815         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7816         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7817         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7818         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7819         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7820         Make defined values dependent on __ILP32__.
7821         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7822         (sem_t): Change __align type.
7823         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7824         PTR_SIZE): New Macros.
7825         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7826         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7827         Set when in ILP32 mode.
7828         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7829         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7830         Set elf flags for ILP32.
7831         (add_system_dir): Set ILP32 library directories.
7832         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7833         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7834         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7835         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7836         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7837         New Macros.
7838         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7840 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7842         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7843         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7844         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7846 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7848         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7849         <asm/cachectl.h>.
7851 2016-11-27  Zack Weinberg  <zackw@panix.com>
7853         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7854         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7856 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7858         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7859         error_t to fix usage in C++ programs.
7861 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7863         * scripts/build-many-glibcs.py: Import datetime module.
7864         (Context.__init__): Load JSON build state.  Initialize list of
7865         status logs.
7866         (Context.run_builds): Update saved build state.
7867         (Context.add_makefile_cmdlist): Update list of status logs.
7868         (Context.load_build_state_json): New function.
7869         (Context.store_build_state_json): Likewise.
7870         (Context.clear_last_build_state): Likewise.
7871         (Context.update_build_state): Likewise.
7872         (CommandList.status_logs): Likewise.
7874 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7876         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7877         script being executed.
7878         (Context.get_script_text): New function.
7879         (Context.exec_self): Likewise.
7880         (Context.checkout): Re-exec script if changed by checkout process.
7882 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7884         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7885         (setpayloadsig): New declaration.
7886         * math/Versions (setpayloadsig): New libm symbol at version
7887         GLIBC_2.25.
7888         (setpayloadsigf): Likewise.
7889         (setpayloadsigl): Likewise.
7890         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7891         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7892         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7893         (setpayloadsig_test_data): New array.
7894         (setpayloadsig_test): New function.
7895         (main): Call setpayloadsig_test.
7896         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7897         setpayloadsigf and setpayloadsigl.
7898         * manual/libm-err-tab.pl: Update comment on interfaces without
7899         ulps tabulated.
7900         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7901         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7902         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7903         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7904         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7905         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7906         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7907         setpayloadsig.
7908         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7909         * sysdeps/nacl/libm.abilist: Update.
7910         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7911         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7912         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7913         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7914         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7915         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7916         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7917         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7918         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7919         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7920         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7921         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7923         Likewise.
7924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7925         Likewise.
7926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7927         Likewise.
7928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7929         Likewise.
7930         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7931         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7932         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7933         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7934         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7936         Likewise.
7937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7938         Likewise.
7939         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7940         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7941         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7943         * scripts/build-many-glibcs.py: Import json module.
7944         (Context.__init__): Take replace_sources argument.  Load
7945         versions.json.
7946         (Context.load_versions_json): New function.
7947         (Context.store_json): Likewise.
7948         (Context.store_versions_json): Likewise.
7949         (Context.set_component_version): Likewise.
7950         (Context.checkout): Update versions.json.  Check for and handle
7951         changes of version.  Prefer previously explicitly specified
7952         version to default version.
7953         (Context.checkout_vcs): Return a revision identifier.
7954         (Context.git_checkout): Likewise.
7955         (Context.gcc_checkout): Likewise.
7956         (get_parser): Add --replace-sources option.
7957         (main): Pass replace_sources argument to Context call.
7959 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7961         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7962         * nptl/allocatestack.c (allocate_stack): Likewise.
7963         (__reclaim_stacks): Likewise.
7964         (setxid_signal_thread): Obtain pid through syscall.
7965         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7966         (sighandle_setxid): Likewise.
7967         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7968         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7969         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7970         Likewise.
7971         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7972         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7973         comment.
7974         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7975         * nptl/descr.h (struct pthread): Change comment about pid value.
7976         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7977         pid assert.
7978         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7979         Do not set pid value.
7980         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7981         pid cache check.
7982         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7983         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7984         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7985         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7986         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7987         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7988         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7989         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7990         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
7991         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
7992         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
7993         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7994         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
7995         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7996         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
7997         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
7998         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7999         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8000         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8001         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8002         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8003         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8004         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8005         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8006         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8009         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8010         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8011         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8012         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8013         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8014         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8015         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8016         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8017         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8018         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8019         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8020         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8021         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8022         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8023         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8024         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8027         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8028         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8029         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8030         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8031         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8032         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8033         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8034         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8035         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8036         struct access.
8037         (clone_test): Remove function.
8038         (do_test): Rewrite to take in consideration pid is not cached anymore.
8040 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8042         * bits/flt-eval-method.h: New file.
8043         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8044         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8045         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8046         * math/Makefile (headers): Add bits/flt-eval-method.h.
8047         * math/math.h: Include <bits/flt-eval-method.h>.
8048         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8049         [__USE_ISOC99] (double_t): Likewise.
8050         * bits/mathdef.h (float_t): Remove.
8051         (double_t): Likewise.
8052         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8053         (double_t): Likewise.
8054         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8055         (double_t): Likewise.
8056         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8057         (double_t): Likewise.
8058         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8059         (double_t): Likewise.
8060         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8061         (double_t): Likewise.
8062         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8063         (double_t): Likewise.
8064         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8065         (double_t): Likewise.
8066         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8067         (double_t): Likewise.
8068         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8069         (double_t): Likewise.
8070         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8071         (double_t): Likewise.
8072         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8073         (double_t): Likewise.
8074         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8075         (double_t): Likewise.
8076         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8077         (double_t): Likewise.
8079 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8081         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8082         instead of PIC.
8084 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8086         [BZ #20859]
8087         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8088         (-0x7fffffff) instead of 0x80000001.
8089         * math/test-fp-ilogb-constants.c: New file.
8090         * math/Makefile (tests): Add test-fp-ilogb-constants.
8092 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8094         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8095         (_init): Use it in place of hardcoded R_MIPS_JALR.
8096         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8097         (_init): Use it in place of hardcoded R_MIPS_JALR.
8098         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8099         (_init): Use it in place of hardcoded R_MIPS_JALR.
8101 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8103         [BZ #20787]
8104         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8105         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8106         (double_t): Do not define to double if [__x86_64__] when
8107         __FLT_EVAL_METHOD__ is nonzero.
8108         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8109         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8110         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8111         test-flt-eval-method-387 and test-flt-eval-method-sse.
8112         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8113         variable.
8114         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8116 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8118         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8119         use of -fno-isolate-erroneous-paths options for tilepro.
8121 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8123         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8124         structure initialization is no longer needed.
8126 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8128         [BZ #20855]
8129         * bits/mathdef.h (float_t): Define to float.
8130         * math/test-flt-eval-method.c: New file.
8131         * math/Makefile (tests): Add test-flt-eval-method.
8132         (CFLAGS-test-flt-eval-method.c): New variable.
8134 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8136         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8137         and __fstatfs.  Make them aliases of __fstatfs64 if
8138         STATFS_IS_STATFS64 is set to non-zero.
8139         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8140         and __statfs64.
8141         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8142         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8143         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8144         for __statfs and statfs.
8145         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8146         to 0.
8147         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8148         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8149         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8150         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8151         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8152         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8155         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8156         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8157         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8158         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8160 2016-11-22  Andreas Schwab  <schwab@suse.de>
8162         * misc/mkstemp.c: Include <fcntl.h>.
8163         * misc/mkstemps.c: Likewise.
8164         * misc/mkostemp.c: Likewise.
8165         * misc/mkostemps.c: Likewise.
8167 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8169         [BZ #20847]
8170         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8171         array bounds.
8172         (__execvpe): Likewise.
8174 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8176         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8177         -fno-isolate-erroneous-paths options for tilepro.
8179 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8181         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8182         to 0 when in 32 bit mode.
8183         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8184         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8185         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8186         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8188         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8189         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8190         XSTAT_IS_XSTAT64 test.
8191         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8192         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8193         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8194         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8195         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8196         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8197         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8198         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8199         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8200         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8201         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8203 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8205         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8206         (setpayload): New declaration.
8207         * math/Versions (setpayload): New libm symbol at version
8208         GLIBC_2.25.
8209         (setpayloadf): Likewise.
8210         (setpayloadl): Likewise.
8211         * math/Makefile (libm-calls): Add s_setpayloadF.
8212         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8213         test_Ff_b1_data.
8214         (RUN_TEST_Ff_b1): New macro.
8215         (RUN_TEST_LOOP_Ff_b1): Likewise.
8216         (canonicalize_test_data): Update type.
8217         (setpayload_test_data): New array.
8218         (setpayload_test): New function.
8219         (main): Call setpayload_test.
8220         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8221         setpayloadf and setpayloadl.
8222         * manual/libm-err-tab.pl: Update comment on interfaces without
8223         ulps tabulated.
8224         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8225         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8226         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8227         Likewise.
8228         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8229         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8230         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8231         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8232         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8233         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8234         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8235         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8236         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8237         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8238         setpayload.
8239         (CFLAGS-nldbl-setpayload.c): New variable.
8240         * sysdeps/nacl/libm.abilist: Update.
8241         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8242         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8243         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8244         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8245         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8246         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8247         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8248         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8249         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8250         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8251         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8252         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8254         Likewise.
8255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8256         Likewise.
8257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8258         Likewise.
8259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8260         Likewise.
8261         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8262         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8263         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8264         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8265         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8267         Likewise.
8268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8269         Likewise.
8270         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8271         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8272         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8274 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8276         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8277         * include/unistd.h: Extend comment about __access_noerrno return
8278         semantics.
8279         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8280         (access_common): Correct typo for EACCES.
8282 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8284         * sysdeps/tile/math-tests.h: New file.
8286         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8287         (__old_set_dataplane): Rename from set_dataplane and make a
8288         compatibility symbol.
8289         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8290         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8291         sys/dataplane.h.
8293 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8295         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8296         script quote words in command output to log suitably for input to
8297         the shell.
8299 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8300             Maciej W. Rozycki  <macro@imgtec.com>
8302         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8303         `.Lno_weak_fn' label.
8304         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8305         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8307 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8308             Yury Norov  <ynorov@caviumnetworks.com>
8310         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8311         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8312         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8313         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8314         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8316         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8317         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8318         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8319         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8320         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8321         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8322         (sysdep_routines): Remove oldgetrlimit64.
8323         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8324         (sysdep_routines): Likewise.
8325         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8326         (sysdep_routines): Likewise.
8327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8328         [$(subdir) = resource] (sysdep_routines): Likewise.
8329         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8330         [$(subdir) = resource] (sysdep_routines): Likewise.
8331         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8332         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8333         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8334         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8335         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8336         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8337         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8338         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8339         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8340         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8341         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8342         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8343         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8344         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8345         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8346         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8347         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8348         setrlimit and getrlimit.
8349         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8350         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8351         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8354         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8355         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8356         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8357         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8358         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8359         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8360         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8361         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8362         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8363         (__old_getrlimit64): Add compatibility symbol.
8364         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8366 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8368         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8369         newly built gmp, mpfr and mpc.
8371         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8373 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8375         * conform/Makefile (linknamespace-libs): Rename to
8376         linknamespace-libs-thr.
8377         (linknamespace-libs-posix): New variable.
8378         (linknamespace-libs-xsi): Likewise.
8379         (linknamespace-libs-XPG3): Include libcrypt.a.
8380         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8381         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8382         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8383         (linknamespace-libs-XOPEN2K): Likewise.
8384         (linknamespace-libs-XOPEN2K8): Likewise.
8385         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8387         [BZ #20829]
8388         * stdio-common/Versions (__snprintf): Add to version
8389         GLIBC_PRIVATE.
8390         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8391         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8392         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8393         of snprintf.
8394         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8396 2016-11-16  Zack Weinberg  <zackw@panix.com>
8398         * string/string.h: Remove obsolete comment stating that
8399         strcoll_l and strxfrm_l have not yet been standardized.
8401 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8403         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8404         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8405         __access_noerrno.
8406         * io/access.c (__access_noerrno): New function.
8407         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8408         (hurd_fail_seterrno): Likewise.
8409         (access_common): Likewise.
8410         (__access_noerrno): Likewise.
8411         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8412         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8413         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8414         macro.
8416 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8418         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8419         Only declare fpregs if [__SH_FPU_ANY__].
8421 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8423         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8424         Make code unconditional.
8425         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8427 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8429         * manual/sysinfo.texi (S_APPEND): Delete.
8430         (S_IMMUTABLE): Likewise.
8432 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8433             Magnus Granberg  <zorry@gentoo.org>
8434             Mike Frysinger  <vapier@gentoo.org>
8436         [BZ #20662]
8437         * configure.ac (libc_cv_predef_stack_protector): Also check for
8438         __stack_chk_fail_local symbols.
8439         * configure: Regenerated.
8441 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8443         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8444         (libc_hidden_def): Remove redefinition.
8445         (__sigsetjmp): Add hidden definition.
8446         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8447         (libc_hidden_def): Remove redefinition.
8448         (__sigsetjmp): Add hidden definition.
8450 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8452         * scripts/build-many-glibcs.py (os.path): Do not import.
8453         (Context): Inherit explicitly from object.  Remove blank line
8454         between class and docstring.
8455         (Config): Likewise.
8456         (Glibc): Likewise.
8457         (Command): Likewise.
8458         (CommandList): Likewise.
8459         (Context.write_files): Store chmod mode in a variable.
8461         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8462         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8463         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8465 2016-11-14  Zack Weinberg  <zackw@panix.com>
8467         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8468         creating or re-creating it.
8470         * string/bits/string2.h: Fix typo in comment.
8472 2016-11-14  Zack Weinberg  <zackw@panix.com>
8474         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8475         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8476         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8477         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8478         of redirected function names.
8480         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8481         as well.  Document that MESSAGE must be a single string literal.
8483 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8485         * scripts/build-many-glibcs.py: New file.
8487         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8488         (do_test): Disable -Wmaybe-uninitialized around uses of
8489         except_mask.
8491         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8493 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8495         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8496         (atomic_store_release): Provide tilepro-specific implementations.
8498 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8500         * math/math.h (__MATH_TG): New macro.
8501         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8502         [__USE_ISOC99] (signbit): Likewise.
8503         [__USE_ISOC99] (isfinite): Likewise.
8504         [__USE_ISOC99] (isnan): Likewise.
8505         [__USE_ISOC99] (isinf): Likewise.
8506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8509         __MATH_TG and __MATH_EVAL_FMT2.
8510         * sysdeps/generic/math_private.h (fabs_tg): Define using
8511         __MATH_TG.
8512         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8513         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8514         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8515         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8516         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8517         macro.
8518         (__iscanonical): Likewise.
8519         (iscanonical): Define using __MATH_TG.
8521 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8523         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8524         guards.
8526         * sysdeps/unix/sysv/linux/access.c: New file.
8527         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8529 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8531         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8532         and __WORDSIZE32_PTRDIFF_LONG.
8534 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8536         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8538 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8540         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8541         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8542         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8543         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8544         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8546         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8547         * sysdeps/unix/sysv/linux/truncate.c: New file.
8548         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8549         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8550         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8551         Remove.
8552         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8553         Likewise.
8555         * posix/tst-truncate-common.c: New file.
8556         * posix/tst-truncate.c: Use tst-truncate-common.c.
8557         * posix/tst-truncate64.c: Likewise and add LFS tests.
8558         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8559         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8560         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8561         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8562         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8564         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8565         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8566         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8567         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8568         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8569         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8570         Remove.
8571         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8572         Likewise.
8574 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8576         [BZ #20790]
8577         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8578         to MAXLINESIZE.
8579         * sunrpc/bug20790.x: New file.
8580         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8581         variable.
8582         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8583         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8585         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8587         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8589         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8590         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8591         calloc, realloc, free, memalign and __libc_memalign rather than
8592         making them optional.
8594         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8595         for libc.so.
8597 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8599         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8600         ptw-lseek64.
8601         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8602         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8603         Likewise.
8604         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8605         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8606         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8607         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8608         * sysdeps/unix/sysv/linux/lseek.c: New file.
8609         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8610         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8611         __libc_lseek64 from auto-generation.
8612         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8613         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8615 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8617         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8618         * nptl/tst-cleanup1.c (do_test): Likewise.
8619         * nptl/tst-cleanup3.c (do_test): Likewise.
8620         * nptl/tst-key1.c (do_test): Likewise.
8621         * nptl/tst-key2.c (tf, do_test): Likewise.
8622         * nptl/tst-key3.c (tf, do_test): Likewise.
8623         * nptl/tst-stdio1.c (do_test): Likewise.
8624         * nptl/tst-stdio2.c (do_test): Likewise.
8626         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8627         * nptl/tst-kill6.c (handler): Likewise.
8628         * nptl/tst-tls2.c (CB): Likewise.
8629         * nptl/tst-tls3.c (CB): Likewise.
8631 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8633         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8635 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8636             Steve Ellcey  <sellcey@caviumnetworks.com>
8638         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8639           __ASSUME_ST_INO_64_BIT as 0
8640         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8641         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8642           over the code where __ASSUME_ST_INO_64_BIT is used.
8643         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8644         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8645         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8647 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8649         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8650         Document ABI exposure of the __kind offset.
8651         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8652         Mention reason for the __kind offset exposure in the ABI.
8653         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8654         Likewise.
8655         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8656         Likewise.
8657         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8658         Likewise.
8659         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8660         (struct __pthread_mutex_s): Likewise.
8661         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8662         Likewise.
8663         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8664         Likewise.
8665         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8666         Likewise.
8667         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8668         Likewise.
8669         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8670         Likewise.
8671         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8672         Likewise.
8673         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8674         (struct __pthread_mutex_s): Likewise.
8675         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8676         (struct __pthread_mutex_s): Likewise.
8677         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8678         Likewise.
8680 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8682         * test-skeleton.c: Document do_test usage.
8684 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8686         * iconv/gconv.h (__gconv_info): Define __data element using a
8687         zero-length array.
8689 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8691         * math/test-tgmath2.c: Split up test function.
8693 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8695         * Rules (tests-expected): New variable, depending on
8696         $(run-built-tests).
8697         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8698         $(tests).
8700         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8701         $(tests-unsupported).
8703 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8705         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8706         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8708 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8710         [BZ #20768]
8711         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8712         __fegetenv instead of fegetenv.
8714         [BZ #14139]
8715         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8716         (find_files): Obtain platform name from libm-test-ulps-name and
8717         store in %pplatforms.
8718         (canonicalize_platform): Remove.
8719         (print_platforms): Use $pplatforms directly.
8720         (by_platforms): Do not allow for platforms missing from
8721         %pplatforms.
8722         * sysdeps/aarch64/libm-test-ulps-name: New file.
8723         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8724         * sysdeps/arm/libm-test-ulps-name: Likewise.
8725         * sysdeps/generic/libm-test-ulps-name: Likewise.
8726         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8727         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8728         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8729         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8730         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8731         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8732         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8733         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8734         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8735         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8736         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8737         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8738         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8739         * sysdeps/sh/libm-test-ulps-name: Likewise.
8740         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8741         * sysdeps/tile/libm-test-ulps-name: Likewise.
8742         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8744         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8746         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8747         (test-xfail-check-execstack): New variable.
8749         * sysdeps/mips/localplt.data: New file.
8751 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8752             Steve Ellcey  <sellcey@caviumnetworks.com>
8754         * bits/wordsize.h: Add documentation.
8755         * sysdeps/aarch64/bits/wordsize.h : New file
8756         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8757         definitions.
8758         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8759         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8760         with #if instead of #ifdef.
8761         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8762         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8763         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8764         Add or change defines.
8765         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8766         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8767         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8768         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8769         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8770         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8771         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8772         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8773         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8774         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8775         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8776         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8777         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8778         * sysdeps/x86/bits/wordsize.h: Likewise.
8780 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8781             Kevin Petit  <kevin.petit@arm.com>
8783         * sysdeps/aarch64/memchr.S (__memchr): New file.
8785 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8787         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8789 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8791         [BZ #19398]
8792         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8793         $(linknamespace-symlists-tests).
8795 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8797         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8799 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8800             Carlos O'Donell  <carlos@redhat.com>
8802         [Bug #20729]
8803         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8804         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8805         for -Os related change.
8807 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8809         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8811 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8813         [BZ #19673]
8814         * manual/math.texi (Exponents and Logarithms): Correct description
8815         of clog10.
8817 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8819         [Bz #20729]
8820         * locale/weight.h: Include libc-internal.h.
8821         * locale/weightwc.h: Likewise.
8822         * nptl/nptl_dbP.h: Likewise.
8824 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8826         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8827         when it is MACH_PORT_NULL.
8829 2016-10-31  Andreas Schwab  <schwab@suse.de>
8831         [BZ #20707]
8832         * posix/glob.c (glob): Initialize pglob before checking for
8833         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8834         valid brace expression despite GLOB_BRACE.
8835         * posix/globtest.sh: Test it.
8837 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8839         [BZ #20729]
8840         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8841         Define.
8842         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8843         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8844         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8845         for seq2.back_us and seq1.back_us only for -Os compiles.
8846         * locale/weightwc.h (findix): Likewise.
8847         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8848         DB_GET_FIELD_ADDRESS only for -Os compiles.
8849         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8850         for slen only for -Os compiles.
8851         * string/strcoll_l.c (get_next_seq): Ignore
8852         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8853         for -Os compiles.
8855         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8856         * include/crypt.h: New file.
8858 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8860         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8861         from test-skeleton.c.
8862         (statclass): Replace calls to write with calls to write_message.
8864 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8866         * math/math.h
8867         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8868         New macro.
8869         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8870         Likewise.
8871         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8872         Likewise.
8873         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8874         SNANL.
8875         * math/test-double.h (snan_value_MACRO): New macro.
8876         * math/test-float.h (snan_value_MACRO): Likewise.
8877         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8878         * math/libm-test.inc (issignaling_test_data): Add tests of
8879         snan_value_MACRO.
8881 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8883         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8884         behavior when eliding a lock not held by the current thread.
8885         * sysdeps/powerpc/nptl/elide.h: Likewise.
8887 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8889         [BZ #20728]
8890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8891         branch to _exit() by a function call.
8893 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8895         * malloc/malloc.c: Update chunk layout comments.
8896         (chunk_main_arena): Update comment.
8898 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8900         * crypt/sha256.c, crypt/sha256-block.c,
8901         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8902         sha256_process_block to __sha256_process_block.
8903         * crypt/sha512.c, crypt/sha512-block.c,
8904         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8905         sha512_process_block to __sha512_process_block.
8907 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8909         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8911         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8913 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8915         [BZ #20019]
8916         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8917         definition in unrelocated shared library.
8918         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8920 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8922         [BZ #20729]
8923         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8924         * sysdeps/unix/sysv/linux/i386/Makefile
8925         (uses-6-syscall-arguments): Define.
8926         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8927         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8928         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8929         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8930         Likewise.
8931         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8932         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8933         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8934         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8935         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8936         (CFLAGS-fallocate64.os): Likewise.
8937         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8938         (CFLAGS-pthread_rwlock_timedrdlock.os)
8939         (CFLAGS-pthread_rwlock_timedwrlock.o)
8940         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8941         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8942         (CFLAGS-sem_timedwait.os): Likewise.
8944 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8946         * elf/tst-linkall-static.c: New file.
8947         * elf/Makefile (tests-static): Add tst-linkall-static.
8948         (tst-linkall-static): Link against static libraries.
8950 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8952         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8953         mmaped chunks.
8955 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8957         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8958         members to mchunk_prev_size, mchunk_size.
8959         (chunk_main_arena): Reverse sense and rename from
8960         chunk_non_main_arena.
8961         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8962         mchunk_size instead of size.
8963         (set_non_main_arena): Define.
8964         (chunksize): Use chunksize_nomask instead of direct member access.
8965         (chunksize_nomask): Define.
8966         (next_chunk): Use chunksize instead of direct member access.
8967         (prev_size, set_prev_size): Define.
8968         (prev_chunk): Use prev_size instead of direct member access.
8969         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8970         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8971         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8972         (mchunk_prev_size, mchunk_size): Poison tokens.
8973         (unlink): Use chunksize_nomask, prev_size accessors.
8974         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8975         (do_check_free_chunk): Use prev_size accessor.
8976         (sysmalloc): Use set_prev_size, set_head accessors.
8977         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8978         (__libc_free): Use chunksize_nomask accessor.
8979         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8980         chunk_main_arena accessors.
8981         (_int_free): Use chunksize_nomask, prev_size accessors.
8982         (malloc_consolidate): Use chunksize, prev_size accessors.
8983         (_int_realloc): Use chunksize_nomask accessor.
8984         (_int_memalign): Use set_prev_size accessor.
8985         (__malloc_info): Use chunksize_nomask accessor.
8986         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8987         accessors.
8988         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8989         (heap_trim): Use chunksize_nomask, prev_size accessors.
8991 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8993         [BZ #19380]
8994         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
8995         for inexact results.
8996         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
8997         of inexact result where mpfr_subnormalize is the only inexact
8998         step.
8999         * stdlib/tst-strtod-round-data.h: Regenerated.
9000         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9001         Define to 0.
9002         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9004 2016-10-27  David S. Miller  <davem@davemloft.net>
9006         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9008 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9010         * malloc/malloc.c (do_set_mallopt_check): New function.
9011         (do_set_mmap_threshold): Likewise.
9012         (do_set_mmaps_max): Likewise.
9013         (do_set_top_pad): Likewise.
9014         (do_set_perturb_byte): Likewise.
9015         (do_set_trim_threshold): Likewise.
9016         (do_set_arena_max): Likewise.
9017         (do_set_arena_test): Likewise.
9018         (__libc_mallopt): Use them.
9020 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9022         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9023         (canonicalize): New declaration.
9024         * math/Versions (canonicalize): New libm symbol at version
9025         GLIBC_2.25.
9026         (canonicalizef): Likewise.
9027         (canonicalizel): Likewise.
9028         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9029         * math/s_canonicalize_template.c: New file.
9030         * math/libm-test.inc: Update comment on functions tested and
9031         testing of NaN payloads.
9032         (TEST_NAN_PAYLOAD): New macro.
9033         (NO_TEST_INLINE): Update value.
9034         (XFAIL_TEST): Likewise.
9035         (ERRNO_UNCHANGED): Likewise.
9036         (ERRNO_EDOM): Likewise.
9037         (ERRNO_ERANGE): Likewise.
9038         (IGNORE_RESULT): Likewise.
9039         (NON_FINITE): Likewise.
9040         (TEST_SNAN): Likewise.
9041         (NO_TEST_MATHVEC): Likewise.
9042         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9043         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9044         (struct test_Ffp_b1_data): New type.
9045         (RUN_TEST_Ffp_b1): New macro.
9046         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9047         (canonicalize_test_data): New array.
9048         (canonicalize_test): New function.
9049         (main): Call canonicalize_test.
9050         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9051         canonicalizef and canonicalizel.
9052         * manual/libm-err-tab.pl: Update comment on interfaces without
9053         ulps tabulated.
9054         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9055         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9056         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9057         canonicalize.
9058         (CFLAGS-nldbl-canonicalize.c): New variable.
9059         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9060         to ...
9061         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9062         ... here.
9063         (do_test): Also test canonicalizel.
9064         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9065         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9066         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9067         file.
9068         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9069         Use libm_hidden_def.
9070         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9071         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9072         (do_test): Also test canonicalizel.
9073         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9074         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9075         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9076         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9077         libm_hidden_def.
9078         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9079         macro.
9080         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9081         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9082         * sysdeps/nacl/libm.abilist: Update.
9083         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9084         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9085         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9086         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9087         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9088         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9089         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9090         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9091         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9092         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9093         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9094         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9096         Likewise.
9097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9098         Likewise.
9099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9100         Likewise.
9101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9102         Likewise.
9103         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9104         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9105         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9106         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9107         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9109         Likewise.
9110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9111         Likewise.
9112         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9113         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9114         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9116         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9117         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9118         getpayload.
9119         (CFLAGS-nldbl-getpayload.c): New variable.
9121 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9123         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9124         integer from the format string.
9126 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9128         [BZ #19473]
9129         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9130         declarations.
9131         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9132         weak aliases.
9133         * malloc/hooks.c (__malloc_get_state): Remove definition.
9134         (malloc_get_state): New stub implementation as
9135         compatibility symbol.
9136         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9137         compat symbol.
9138         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9139         malloc_set_state.
9140         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9142 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9144         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9145         (names): Turn into concatenation of strings.
9146         (gconv_init): Adapt iteration over names.
9148 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9150         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9151         make const.
9152         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9153         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9154         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9155         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9156         character in sbconv.
9157         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9158         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9159         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9161 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9163         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9165         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9166         (M_TRIM_THRESHOLD): Likewise.
9168         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9169         (M_ARENA_MAX): Likewise.
9170         * malloc/malloc.c: Remove obsolete comment.
9172         * manual/memory.texi: Add environment variable alternatives to
9173         setting mallopt parameters.
9175 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9177         * include/atomic.h
9178         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9179         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9181 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9183         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9184         * stdlib/tst-strfrom.h: New file.
9185         * stdlib/tst-strfrom.c: New file.
9186         * stdlib/tst-strfrom-locale.c: New file.
9188         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9189         * stdlib/bug-strtod2.c: Likewise.
9190         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9191         * stdlib/tst-strtod6.c: Likewise.
9192         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9194 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9196         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9197         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9198         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9199         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9200         * stdlib/stdlib.h (strfromd): New declaration.
9201         (strfromf): Likewise.
9202         (strfroml): Likewise.
9203         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9204         strfrom.
9205         * stdlib/strfromd.c: New file.
9206         * stdlib/strfromf.c: Likewise.
9207         * stdlib/strfroml.c: Likewise.
9208         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9209         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9210         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9211         * sysdeps/arm/nacl/libc.abilist: Update.
9212         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9213         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9214         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9215         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9216         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9217         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9218         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9219         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9220         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9221         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9222         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9223         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9224         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9225         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9230         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9231         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9232         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9233         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9234         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9237         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9238         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9239         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9241 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9243         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9244         instead of cmpli.
9245         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9246         instead of cmpli.
9248 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9250         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9251         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9252         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9253         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9254         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9255         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9257 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9259         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9260         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9261         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9262         SYSCALL_LL64_PRW.
9263         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9264         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9265         __ASSUME_PRW_DUMMY_ARG.
9266         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9267         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9268         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9269         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9270         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9271         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9273 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9275         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9277 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9279         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9280         "C++", to override a potential extern "C" directive around the
9281         header file inclusion.
9283 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9285         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9287 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9289         * sysdeps/powerpc/fpu/fenv_private.h:
9290         (_FPU_MASK_ALL): Rename to...
9291         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9292         XE FPSCR bits.
9294         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9296         (_FPU_MASK_ROUNDING): Rename to...
9297         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9298         NI bits.
9300         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9301         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9302         bits and rounding bits.
9304         (__libc_feholdbits_ppc): New inline function to mask, set,
9305         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9306         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9307         (libc_feholdexcept_setround_ppc): Likewise.
9309         (__libc_femergeenv_ppc): New function to dynamically mask both
9310         old and new FP environments and merge.
9311         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9312         (libc_feresetround_ppc): Likewise.
9313         (libc_feupdateenv_test_ppc): Likewise.
9314         (libc_feupdateenv_ppc): Likewise.
9316         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9317         of ISA RN bits, and update macro names.
9318         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9319         effectively the same as the previously mentioned function.
9321         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9322         usage with fe_resetround_ppc.
9324         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9325         to be used.
9326         (libc_feholdexcept_setround_ctxf): Likewise.
9327         (libc_feholdexcept_setround_ctxl): Likewise.
9329 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9331         [BZ #20715]
9332         * math/math.h [__cplusplus] (iszero): Define as function template.
9333         * math/Makefile [CXX] (tests): Add test-math-iszero.
9334         (CFLAGS-test-math-iszero.cc): Set.
9335         * math/test-math-iszero.cc: New file.
9337 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9339         [BZ #20660]
9340         * sysdeps/arm/e_sqrt.c: New file.
9341         * sysdeps/arm/e_sqrtf.c: Likewise.
9343 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9345         [BZ #20718]
9346         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9347         not use floating-point comparisons to test sign.
9348         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9349         Likewise.
9351         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9352         (getpayload): New declaration.
9353         * math/Versions (getpayload): New libm symbol at version
9354         GLIBC_2.25.
9355         (getpayloadf): Likewise.
9356         (getpayloadl): Likewise.
9357         * math/Makefile (libm-calls): Add s_getpayloadF.
9358         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9359         (struct test_f_f_data): Add comment.
9360         (RUN_TEST_fp_f): New macro.
9361         (RUN_TEST_LOOP_fp_f): Likewise.
9362         (getpayload_test_data): New array.
9363         (getpayload_test): New function.
9364         (main): Call getpayload_test.
9365         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9366         descriptor.
9367         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9368         getpayloadf and getpayloadl.
9369         * manual/libm-err-tab.pl: Update comment on interfaces without
9370         ulps tabulated.
9371         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9372         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9373         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9374         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9375         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9376         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9377         * sysdeps/nacl/libm.abilist: Update.
9378         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9379         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9380         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9381         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9382         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9383         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9384         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9385         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9386         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9387         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9388         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9389         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9391         Likewise.
9392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9393         Likewise.
9394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9395         Likewise.
9396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9397         Likewise.
9398         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9399         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9400         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9401         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9402         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9404         Likewise.
9405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9406         Likewise.
9407         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9408         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9409         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9411 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9413         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9414         tst-fallocate{64}.
9415         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9416         on syscall return.
9418 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9420         [BZ #20689]
9421         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9422         usable.
9424 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9426         * sysdeps/generic/nan-high-order-bit.h: New file.
9427         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9428         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9429         * sysdeps/hppa/math_private.h: Remove file.
9430         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9431         not define here.
9432         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9433         <nan-high-order-bit.h>.
9434         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9435         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9436         <nan-high-order-bit.h>.
9437         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9438         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9439         <nan-high-order-bit.h>.
9440         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9441         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9442         <nan-high-order-bit.h>.
9443         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9444         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9445         <nan-high-order-bit.h>.
9446         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9447         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9448         <nan-high-order-bit.h>.
9449         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9450         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9451         <nan-high-order-bit.h>.
9452         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9453         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9454         <nan-high-order-bit.h>.
9455         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9456         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9457         <nan-high-order-bit.h>.
9458         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9459         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9460         <nan-high-order-bit.h>.
9461         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9462         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9463         <nan-high-order-bit.h>.
9464         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9465         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9466         <nan-high-order-bit.h>.
9467         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9468         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9469         <nan-high-order-bit.h>.
9470         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9471         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
9472         <nan-high-order-bit.h>.
9473         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9474         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
9475         <nan-high-order-bit.h>.
9476         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9477         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
9478         <nan-high-order-bit.h>.
9479         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9480         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9481         <nan-high-order-bit.h>.
9482         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9483         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9484         <nan-high-order-bit.h>.
9485         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9487 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9489         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9491 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9493         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9494         abort-instr.h.
9495         (EFAULT): Remove conditional define.
9496         (ENOSYS): Likewise.
9497         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9498         instead of conditional branch instructions.
9500 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9502         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9503         (totalordermag): New declaration.
9504         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9505         New macro.
9506         * math/Versions (totalordermag): New libm symbol at version
9507         GLIBC_2.25.
9508         (totalordermagf): Likewise.
9509         (totalordermagl): Likewise.
9510         * math/Makefile (libm-calls): Add s_totalordermagF.
9511         * math/libm-test.inc (totalordermag_test_data): New array.
9512         (totalordermag_test): New function.
9513         (main): Call totalordermag_test.
9514         * math/test-tgmath.c (NCALLS): Increase to 125.
9515         (F(compile_test)): Call totalordermag.
9516         (F(totalordermag)): New function.
9517         * manual/arith.texi (FP Comparison Functions): Document
9518         totalordermag, totalordermagf and totalordermagl.
9519         * manual/libm-err-tab.pl: Update comment on interfaces without
9520         ulps tabulated.
9521         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9522         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9523         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9524         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9525         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9526         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9527         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9528         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9529         totalordermag.
9530         (CFLAGS-nldbl-totalordermag.c): New variable.
9531         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9532         (do_test): Also test totalordermagl.
9533         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9534         Likewise.
9535         * sysdeps/nacl/libm.abilist: Update.
9536         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9537         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9538         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9539         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9540         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9541         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9542         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9543         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9544         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9545         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9546         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9547         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9549         Likewise.
9550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9551         Likewise.
9552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9553         Likewise.
9554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9555         Likewise.
9556         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9557         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9558         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9559         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9560         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9562         Likewise.
9563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9564         Likewise.
9565         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9566         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9567         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9569 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9571         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9572         boolean.
9574 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9576         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9577         raising FE_INVALID with feraisexcept in case where part of
9578         argument is infinite, subtract that part of argument from itself.
9579         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9580         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9581         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9583 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9585         * math/libm-test.inc (totalorder_test_data): Add more tests.
9587 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9589         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9590         Undefine weak_alias and add a comment why mips64 require
9591         versioning.
9593 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9595         [BZ #20647]
9596         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9597         maximum CPUID level is less than 2.
9599 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9601         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9602         (totalorder): New declaration.
9603         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9604         New macro.
9605         * math/Versions (totalorder): New libm symbol at version
9606         GLIBC_2.25.
9607         (totalorderf): Likewise.
9608         (totalorderl): Likewise.
9609         * math/Makefile (libm-calls): Add s_totalorderF.
9610         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9611         string.
9612         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9613         (qnan_value_pl): Likewise.
9614         (snan_value_pl): Likewise.
9615         (qnan_value): Define using qnan_value_pl.
9616         (snan_value): Define using snan_value_pl.
9617         (struct test_ff_i_data): Add comment about which tests use this
9618         structure.
9619         (RUN_TEST_ff_b): New macro.
9620         (RUN_TEST_LOOP_ff_b): Likewise.
9621         (totalorder_test_data): New array.
9622         (totalorder_test): New function.
9623         (main): Call totalorder_test.
9624         * math/test-tgmath.c (NCALLS): Increase to 122.
9625         (F(compile_test)): Call totalorder.
9626         (F(totalorder)): New function.
9627         * manual/arith.texi (FP Comparison Functions): Document
9628         totalorder, totalorderf and totalorderl.
9629         * manual/libm-err-tab.pl: Update comment on interfaces without
9630         ulps tabulated.
9631         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9632         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9633         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9634         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9635         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9636         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9637         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9638         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9639         totalorder.
9640         (CFLAGS-nldbl-totalorder.c): New variable.
9641         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9642         file.
9643         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9644         Add test-totalorderl-ldbl-128ibm.
9645         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9646         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9647         test-totalorderl-ldbl-96.
9648         * sysdeps/nacl/libm.abilist: Update.
9649         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9650         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9651         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9652         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9653         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9654         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9655         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9656         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9657         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9658         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9659         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9660         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9662         Likewise.
9663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9664         Likewise.
9665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9666         Likewise.
9667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9668         Likewise.
9669         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9670         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9671         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9672         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9673         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9675         Likewise.
9676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9677         Likewise.
9678         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9679         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9680         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9682 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9684         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9685         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9686         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9687         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9688         remove ENOSYS implementation.
9689         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9690         Consolidate all Linux implementations.
9692 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9694         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9695         * resolv/herror.c (herror): Cast away const-ness.
9696         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9697         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9699 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9701         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9702         instead of M_NAN + M_NAN.
9703         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9705 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9707         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9708         unused variable 'p'.
9710 2016-10-09  Alan Modra  <amodra@gmail.com>
9711             Andreas Schwab  <schwab@linux-m68k.org>
9713         [BZ #20554]
9714         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9715         [PIC && !SHARED]: Set up PIC register for PLT call.
9717 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9719         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9720         conditional on value of [__FLT_EVAL_METHOD__].
9721         * math/test-iseqsig-excess-precision.c: New file.
9722         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9724 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9726         * math/s_iseqsig_template.c: Include math-private.h.
9728         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9729         * posix/tst-posix_fadvise.c: New file.
9730         * posix/tst-posix_fadvise64.c: Likewise.
9731         * posix/tst-posix_fadvise-common.c: Likewise.
9732         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9733         (__ASSUME_FADVISE64_64_6ARG): Define.
9734         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9735         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9736         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9737         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9738         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9739         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9740         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9741         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9742         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9743         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9744         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9745         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9748         Likewise.
9749         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9750         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9751         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9752         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9753         Alias to __posix_fadvise64_l32.
9754         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9755         Add compat definition to posix_fadvise64.
9756         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9757         Add versioned definition to posix_fadvise64.
9758         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9759         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9760         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9761         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9762         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9764         * io/Makefile (tests): Add tst-posix_fallocate and
9765         tst-posix_fallocate64.
9766         * io/tst-posix_fallocate-common.c: New file.
9767         * io/tst-posix_fallocate.c: Likewise.
9768         * io/tst-posix_fallocate64.c: Likewise.
9769         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9770         file.
9771         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9772         Likewise.
9773         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9774         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9775         Likewise.
9776         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9777         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9778         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9779         SYSCALL_LL to pass both offset and len arguments.
9780         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9781         Likewise.
9782         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9783         __libc_pwrite64 alias used by posix_fallocate64.
9785         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9786         tst-fallocate64.
9787         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9788         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9789         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9790         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9791         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9792         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9793         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9794         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9795         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9796         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9797         macro on offset argument.
9798         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9799         SYSCALL_LL64 on offset argument.
9801         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9802         tst-fallocate64.
9803         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9804         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9805         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9806         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9807         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9808         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9809         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9810         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9811         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9812         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9813         macro on offset argument.
9814         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9815         SYSCALL_LL64 on offset argument.
9816         * test-skeleton.c (FAIL_RET): Add macro.
9817         (FAIL_EXIT): Likewise.
9818         (FAIL_EXIT1): Likewise.
9819         (_FAIL): Likewise.
9821 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9823         [BZ #20629]
9824         resolv: Remove RES_USEBSTRING and its implementation.
9825         * resolv/resolv.h (RES_USEBSTRING): Remove.
9826         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9827         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9828         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9829         (labellen): Remove extended label types support.
9830         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9831         * resolv/res_init.c (res_setoptions): Likewise.
9832         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9834 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9836         resolv: Remove RES_NOIP6DOTINT and its implementation.
9837         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9838         (RES_NOIP6DOTINT): Remove.
9839         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9840         handling.
9841         * resolv/res_debug.c (p_option): Likewise.
9842         * resolv/res_init.c (res_setoptions): Likewise.
9843         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9845 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9847         resolv: Deprecate unimplemented flags.
9848         * misc/sys/cdefs.h (__glibc_macro_warning1)
9849         (__glibc_macro_warning): Define.
9850         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9851         (RES_KEEPTSIG): Mark as deprecated.
9852         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9853         RES_NOCHECKNAME, RES_KEEPTSIG.
9854         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9856 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9858         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9859         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9860         Use strong_alias to create symbols for glibc verison 2.19.
9862 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9864         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9866 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9868         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9870 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9872         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9874 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9876         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9877         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9878         in header for using it as type for ifunc function because __GI_* symbols
9879         for ppc32 do not target the ifunc symbols.
9880         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9882 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9884         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9885         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9886         libc_ifunc_hidden_def.
9887         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9888         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9889         Redirect ifunced function in header for using it as type of ifunc'ed
9890         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9891         function for __GI_* symbol.
9892         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9893         * include/libc-symbols.h
9894         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9896 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9898         [BZ #20478]
9899         * sysdeps/s390/multiarch/ifunc-resolve.h
9900         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9901         to create ifunc symbols.
9902         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9903         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9904         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9905         for using it as type for ifunc function.
9906         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9907         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9908         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9909         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9910         * sysdeps/s390/multiarch/strcat.c: Likewise.
9911         * sysdeps/s390/multiarch/strchr.c: Likewise.
9912         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9913         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9914         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9915         * sysdeps/s390/multiarch/strlen.c: Likewise.
9916         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9917         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9918         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9919         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9920         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9921         * sysdeps/s390/multiarch/strspn.c: Likewise.
9922         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9923         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9924         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9925         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9926         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9927         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9928         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9929         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9930         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9931         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9932         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9933         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9935 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9937         * include/libc-symbols.h (__ifunc_resolver):
9938         New macro is used by __ifunc* macros.
9939         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9940         depending on HAVE_GCC_IFUNC.
9941         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9942         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9944         Redirect ifunced function in header for using as type for ifunc function.
9945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9949         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9950         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9951         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9952         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9953         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9954         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9955         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9956         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9957         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9958         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9964         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9965         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9966         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9967         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9968         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9969         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9970         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9971         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9972         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9973         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9974         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9975         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9976         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9977         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9979         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9980         instead of libc_ifunc() macro.
9981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9982         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9984 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9986         * config.h.in (HAVE_GCC_IFUNC): New undef.
9987         * configure.ac: Add check if gcc supports attribute ifunc feature.
9988         * configure: Regenerated.
9989         * manual/install.texi: Add recommendation for gcc with
9990         indirect-function support.
9991         * INSTALL: Regenerated.
9993 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
9995         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
9996         macro.
9997         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9998         (__iseqsig): New declaration.
9999         * math/s_iseqsig_template.c: New file.
10000         * math/Versions (__iseqsigf): New libm symbol at version
10001         GLIBC_2.25.
10002         (__iseqsig): Likewise.
10003         (__iseqsigl): Likewise.
10004         * math/libm-test.inc (iseqsig_test_data): New array.
10005         (iseqsig_test): New function.
10006         (main): Call iseqsig_test.
10007         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10008         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10009         * manual/libm-err-tab.pl: Update comment on interfaces without
10010         ulps tabulated.
10011         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10012         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10013         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10014         * sysdeps/nacl/libm.abilist: Update.
10015         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10016         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10017         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10018         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10019         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10020         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10021         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10022         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10023         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10024         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10025         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10026         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10028         Likewise.
10029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10030         Likewise.
10031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10032         Likewise.
10033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10034         Likewise.
10035         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10036         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10037         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10038         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10039         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10041         Likewise.
10042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10043         Likewise.
10044         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10045         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10046         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10048 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10050         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10051         do_sincos_2, sloww, sloww1): Update comments.
10053         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10054         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10056         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10057         K boolean and rename it.
10058         (__sin): Adjust.
10059         (__cos): Adjust.
10061 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10062             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10064         * manual/nss.texi: Fix typos in the manual.
10066 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10068         * manual/contrib.texi: Fix typos in the manual.
10070         * manual/maint.texi: Fix typos in the manual.
10072         * manual/install.texi: Fix typos in the manual.
10073         * INSTALL: Regenerated.
10075         * manual/lang.texi: Fix typos in the manual.
10077         * manual/probes.texi: Fix typos in the manual.
10079         * manual/threads.texi: Fix typos in the manual.
10081         * manual/debug.texi: Fix typos in the manual.
10083         * manual/crypt.texi: Fix typos in the manual.
10085         * manual/conf.texi: Fix typos in the manual.
10087         * manual/sysinfo.texi: Fix typos in the manual.
10089         * manual/users.texi: Fix typos in the manual.
10091         * manual/job.texi: Fix typos in the manual.
10093         * manual/process.texi: Fix typos in the manual.
10095         * manual/argp.texi: Fix typos in the manual.
10096         * manual/getopt.texi: Likewise.
10097         * manual/startup.texi: Likewise.
10099         * manual/signal.texi: Fix typos in the manual.
10101         * manual/setjmp.texi: Fix typos in the manual.
10103         * manual/resource.texi: Fix typos in the manual.
10105         * manual/time.texi: Fix typos in the manual.
10107         * manual/arith.texi: Fix typos in the manual.
10109         * manual/math.texi: Fix typos in the manual.
10111         * manual/syslog.texi: Fix typos in the manual.
10113         * manual/terminal.texi: Fix typos in the manual.
10115         * manual/socket.texi: Fix typos in the manual.
10117         * manual/filesys.texi: Fix typos in the manual.
10119         * manual/llio.texi: Fix typos in the manual.
10121         * manual/stdio.text: Fix typos in the manual.
10123 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10125         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10126         instead of K1.
10128         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10129         SHIFT_QUADRANT and make it bool.
10130         (do_sincos_2): Likewise.
10131         (sloww): Likewise.
10132         (sloww1): Likewise.
10133         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10134         (__cos): Likewise.
10136 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10138         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10140 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10142         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10143         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10144         0x7fffffffL].
10145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10147 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10149         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10150         inline by __inline__.
10151         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10152         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10153         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10154         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10155         sigset_t from signal.h.
10156         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10157         which is already required.
10159 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10161         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10163 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10165         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10166         (struct tcp_repair_window): New type.
10168 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10170         * libio/tst-memstream3.c: Include string.h.
10172 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10174         [BZ #18241]
10175         [BZ #20181]
10176         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10177         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10178         write position is at the end the buffer.
10179         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10180         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10181         (_IO_str_seekoff): Set correct offset from negative displacement and
10182         set EINVAL for invalid ones.
10183         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10184         buffer length.
10185         (_IO_wstr_switch_to_get_mode): New function.
10186         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10187         set EINVAL for invalid ones.
10188         * libio/tst-memstream3.c: New file.
10189         * libio/tst-wmemstream3.c: Likewise.
10190         * manual/examples/memstrm.c: Remove warning when priting size_t.
10192 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10194         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10195         macro to use __builtin_fma.
10196         * sysdeps/x86_64/fpu/dla.h: Remove file.
10198         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10199         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10200         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10202 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10204         [BZ #20292]
10205         * elf/Makefile (routines): Add dl-addr-obj.
10206         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10207         tst-_dl_addr_inside_object.
10208         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10209         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10210         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10211         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10212         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10213         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10214         * elf/dl-open.c: Likewise.
10215         * elf/dl-addr-obj.c: New file.
10216         * elf/tst-_dl_addr_inside_object.c: New file.
10218 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10220         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10221         <bits/iscanonical.h>.
10222         * bits/iscanonical.h: New file.
10223         * math/s_iscanonicall.c: Likewise.
10224         * math/Versions (__iscanonicall): New libm symbol at version
10225         GLIBC_2.25.
10226         * math/libm-test.inc (iscanonical_test_data): New array.
10227         (iscanonical_test): New function.
10228         (main): Call iscanonical_test.
10229         * math/Makefile (headers): Add bits/iscanonical.h.
10230         (type-ldouble-routines): Add s_iscanonicall.
10231         * manual/arith.texi (Floating Point Classes): Document
10232         iscanonical.
10233         * manual/libm-err-tab.pl: Update comment on interfaces without
10234         ulps tabulated.
10235         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10236         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10237         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10238         Likewise.
10239         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10240         test-iscanonical-ldbl-128ibm.
10241         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10242         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10243         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10244         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10245         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10246         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10247         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10249         Likewise.
10250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10251         Likewise.
10252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10253         Likewise.
10254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10255         Likewise.
10256         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10257         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10259 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10261         * string/bits/string3.h: Remove C++ style comments.
10263 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10265         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10266         instead of ternary condition.
10267         (do_sincos_2): Likewise.
10268         (__sin): Likewise.
10269         (__cos): Likewise.
10270         (slow): Likewise.
10271         (sloww): Likewise.
10272         (sloww1): Likewise.
10273         (bsloww): Likewise.
10274         (bsloww1): Likewise.
10276         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10277         instead of ternary condition.
10278         (do_sin_slow): Likewise.
10279         (do_sincos_1): Likewise.
10280         (do_sincos_2): Likewise.
10281         (__cos): Likewise.
10282         (sloww): Likewise.
10283         (sloww1): Likewise.
10284         (sloww2): Likewise.
10285         (bsloww): Likewise.
10286         (bsloww1): Likewise.
10287         (bsloww2): Likewise.
10289         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10290         check from here...
10291         (slow2): ... and here...
10292         (__sin): ... to here.
10294 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10296         * math/math.h
10297         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10298         Cast argument to its own type.
10299         * math/test-iszero-excess-precision.c: New file.
10300         * math/Makefile (tests): Add test-iszero-excess-precision.
10301         (CFLAGS-test-iszero-excess-precision.c): New variable.
10303 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10305         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10306         field, add err field.
10307         (__spawni_child): Report error through err member instead of pipe.
10308         (__spawnix): Likewise.
10310 2016-09-28  Zack Weinberg  <zackw@panix.com>
10312         * scripts/check-installed-headers.sh: Generalize treatment of
10313         sys/elf.h to all target architectures.
10315         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10316         deleted typedef ucontext_t.
10318 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10320         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10321         (__INTERNAL_SYSCALL1): Likewise.
10322         (__INTERNAL_SYSCALL2): Likewise.
10323         (__INTERNAL_SYSCALL3): Likewise.
10324         (__INTERNAL_SYSCALL4): Likewise.
10325         (__INTERNAL_SYSCALL5): Likewise.
10326         (__INTERNAL_SYSCALL6): Likewise.
10327         (__INTERNAL_SYSCALL7): Likewise.
10328         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10329         (__INTERNAL_SYSCALL_NARGS): Likewise.
10330         (__INTERNAL_SYSCALL_DISP): Likewise.
10331         (INTERNAL_SYSCALL_CALL): Likewise.
10332         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10333         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10334         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10335         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10336         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10337         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10338         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10339         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10340         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10341         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10342         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10343         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10344         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10346 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10348         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10349         macro.
10350         * math/libm-test.inc (iszero_test_data): New array.
10351         (iszero_test): New function.
10352         (main): Call iszero_test.
10353         * manual/arith.texi (Floating Point Classes): Document iszero.
10354         * manual/libm-err-tab.pl: Update comment on interfaces without
10355         ulps tabulated.
10357 2016-09-23  Zack Weinberg  <zackw@panix.com>
10359         * scripts/check-installed-headers.sh: New script.
10360         * Rules: In each directory that defines header files to be installed,
10361         run check-installed-headers.sh on them as a special test.
10362         * Makefile: Likewise for the headers installed at top level.
10364         * include/aliases.h, include/alloca.h, include/argz.h
10365         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10366         * include/elf.h, include/envz.h, include/err.h
10367         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10368         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10369         * include/link.h, include/malloc.h, include/mcheck.h
10370         * include/mntent.h, include/netinet/ether.h
10371         * include/nss.h, include/obstack.h, include/printf.h
10372         * include/pty.h, include/resolv.h, include/rpc/auth.h
10373         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10374         * include/rpc/clnt.h, include/rpc/des_crypt.h
10375         * include/rpc/key_prot.h, include/rpc/netdb.h
10376         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10377         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10378         * include/rpc/rpc_msg.h, include/rpc/svc.h
10379         * include/rpc/svc_auth.h, include/rpc/xdr.h
10380         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10381         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10382         * include/rpcsvc/ypupd.h, include/shadow.h
10383         * include/stdio_ext.h, include/sys/epoll.h
10384         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10385         * include/sys/prctl.h, include/sys/profil.h
10386         * include/sys/statfs.h, include/sys/sysctl.h
10387         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10388         * sysdeps/arm/nacl/include/bits/setjmp.h
10389         * sysdeps/mips/include/sys/asm.h
10390         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10391         * sysdeps/unix/sysv/linux/include/sys/timex.h
10392         * sysdeps/x86/fpu/include/bits/fenv.h:
10393         Add #ifndef _ISOMAC guard around internal declarations.
10394         Add multiple-inclusion guard if not already present.
10396 2016-09-23  Zack Weinberg  <zackw@panix.com>
10398         * sysdeps/generic/sys/ucontext.h
10399         * sysdeps/arm/sys/ucontext.h
10400         * sysdeps/i386/sys/ucontext.h
10401         * sysdeps/m68k/sys/ucontext.h
10402         * sysdeps/mips/sys/ucontext.h
10403         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10404         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10405         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10406         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10407         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10408         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10409         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10410         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10411         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10412         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10413         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10414         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10415         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10416         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10417         Include both bits/sigcontext.h and bits/sigstack.h.
10418         Fix grammar error in comment, if present.
10420         * bits/sigstack.h
10421         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10422         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10423         * sysdeps/unix/sysv/linux/bits/sigstack.h
10424         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10425         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10426         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10427         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10428         * bits/sigcontext.h
10429         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10430         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10431         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10432         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10433         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10434         as well as signal.h, if this was not already allowed.  Request
10435         definition of size_t if necessary.  Minimize semantically-null
10436         differences across files.
10438 2016-09-23  Zack Weinberg  <zackw@panix.com>
10440         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10441         Remove all logic conditional on __need macros.  Move all the
10442         conditionally defined types to their own headers...
10443         * time/bits/types/clock_t.h: Define clock_t here.
10444         * time/bits/types/clockid_t.h: Define clockid_t here.
10445         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10446         * time/bits/types/struct_timespec.h: Define struct timespec here.
10447         * time/bits/types/struct_timeval.h: Define struct timeval here.
10448         * time/bits/types/struct_tm.h: Define struct tm here.
10449         * time/bits/types/time_t.h: Define time_t here.
10450         * time/bits/types/timer_t.h: Define timer_t here.
10451         * time/Makefile: Install the new headers.
10453         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10454         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10455         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10456         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10457         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10458         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10459         * sysdeps/unix/sysv/linux/bits/resource.h
10460         * sysdeps/unix/sysv/linux/bits/timex.h
10461         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10462         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10463         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10464         * sysdeps/unix/sysv/linux/sys/acct.h
10465         * sysdeps/unix/sysv/linux/sys/timerfd.h
10466         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10467         * time/sys/time.h, time/sys/timeb.h
10468         Use the new bits/types headers.
10470         * include/time.h: Remove __need logic.
10471         * include/bits/time.h
10472         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10473         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10474         * include/bits/types/struct_itimerspec.h
10475         * include/bits/types/struct_timespec.h
10476         * include/bits/types/struct_timeval.h
10477         * include/bits/types/struct_tm.h:
10478         New wrapper headers.
10480 2016-09-23  Zack Weinberg  <zackw@panix.com>
10482         * sysdeps/mach/hurd/net/if_ppp.h
10483         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10484         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10485         if __USE_MISC is defined, to ensure struct ifreq is declared.
10487         * inet/netinet/ether.h: Condition all function prototypes
10488         on __USE_MISC, to ensure struct ether_addr is declared.
10490         * socket/bits/types/struct_osockaddr.h: New header.
10491         * include/bits/types/struct_osockaddr.h: New wrapper.
10492         * socket/Makefile: Install the new header.
10493         * socket/sys/socket.h, inet/protocols/talkd.h:
10494         Refer to bits/types/struct_osockaddr.h for the definition of
10495         struct osockaddr.
10497 2016-09-23  Zack Weinberg  <zackw@panix.com>
10499         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10500         * inet/protocols/routed.h, inet/protocols/talkd.h
10501         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10502         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10503         * sysdeps/generic/netinet/if_ether.h
10504         * sysdeps/generic/netinet/in_systm.h
10505         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10506         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10507         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10508         * sysdeps/mach/hurd/net/if_arp.h
10509         * sysdeps/mach/hurd/net/if_ppp.h
10510         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10511         * sysdeps/unix/sysv/linux/bits/in.h
10512         * sysdeps/unix/sysv/linux/net/ethernet.h
10513         * sysdeps/unix/sysv/linux/net/if_arp.h
10514         * sysdeps/unix/sysv/linux/net/if_ppp.h
10515         * sysdeps/unix/sysv/linux/net/if_shaper.h
10516         * sysdeps/unix/sysv/linux/net/route.h
10517         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10518         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10519         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10520         * sysdeps/unix/sysv/linux/netipx/ipx.h
10521         * sysdeps/unix/sysv/linux/sys/acct.h
10522         * include/arpa/nameser.h, include/resolv.h:
10523         Change all uses of u_char to unsigned char,
10524         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10525         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10526         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10527         and u_int64_t and u_quad_t to uint64_t.
10529         * mach/sys/reboot.h: Remove two casts of integer literals
10530         to the types they already have.
10532         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10533         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10534         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10535         from referring to 'unsigned char' to 'uint8_t' for consistency with
10536         the macro definition below.
10538         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10539         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10540         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10541         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10542         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10543         * sysdeps/unix/sysv/linux/sys/acct.h
10544         * include/arpa/nameser.h, include/resolv.h:
10545         Fix indentation disrupted by mechanical edits.
10547         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10548         * sysdeps/generic/netinet/in_systm.h
10549         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10550         * sysdeps/gnu/netinet/udp.h
10551         * sysdeps/unix/sysv/linux/net/ethernet.h
10552         * sysdeps/unix/sysv/linux/net/if_arp.h
10553         * sysdeps/unix/sysv/linux/net/if_ppp.h
10554         * sysdeps/unix/sysv/linux/net/if_shaper.h
10555         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10556         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10557         * sysdeps/unix/sysv/linux/netipx/ipx.h
10558         * sysdeps/unix/sysv/linux/sys/acct.h
10559         Include stdint.h for uintNN_t definitions.
10560         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10562 2016-09-23  Zack Weinberg  <zackw@panix.com>
10564         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10565         * sysdeps/unix/sysv/linux/netrose/rose.h:
10566         Include sys/socket.h and netax25/ax25.h.
10568         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10569         * resolv/arpa/nameser_compat.h:
10570         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10572         * sysdeps/unix/sysv/linux/sys/quota.h:
10573         Use __caddr_t instead of caddr_t.
10574         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10575         Use __clockid_t instead of clockid_t.
10577         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10579         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10580         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10581         expanding it.
10583         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10584         Define __glibc_c99_flexarr_available to 1 when the compiler
10585         supports C99-compatible flexible array members, 0 otherwise.
10586         * sysdeps/unix/sysv/linux/bits/socket.h
10587         * sysdeps/mach/hurd/bits/socket.h
10588         * bits/socket.h: Use __glibc_c99_flexarr_available in
10589         definitions of struct cmsghdr and CMSG_DATA.
10591 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10593         * manual/nss.texi (NSS Modules Interface): Adjust function return
10594         type to enum nss_status.  Document errnop argument.  Clarify
10595         h_errnop semantics.  Fix cross-reference formatting.
10596         (NSS Module Function Internals): Mention that *errnop needs to be
10597         set on failure, but not to zero.
10599 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10601         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10602         (get_random_name): New functions.
10603         (check_wrapper_flags_mode): Use linkat to give the new file a name
10604         determined by get_random_name.
10605         (do_test): Add calls to test open64 and openat64.
10607 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10609         * test-skeleton.c: Remove #include <stdarg.h>.
10611 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10613         [BZ #19826]
10614         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10615         initialization of static TLS entries.
10616         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10617         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10619 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10621         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10622         _hurd_malloc_fork_prepare.
10623         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10624         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10625         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10626         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10627         (_hurd_fork_child_hook): Drop malloc_fork_child.
10628         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10629         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10630         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10631         after locking locks (notably hurd_dtable_lock). Call
10632         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10633         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10634         __malloc_fork_unlock_child.
10635         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10637 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10639         * soft-fp/extendhftf2.c: New.
10640         * soft-fp/fixhfti.c: Likewise.
10641         * soft-fp/fixunshfti.c: Likewise.
10642         * soft-fp/floattihf.c: Likewise.
10643         * soft-fp/floatuntihf.c: Likewise.
10644         * soft-fp/half.h: Likewise.
10645         * soft-fp/trunctfhf2.c: Likewise.
10647 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10649         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10650         macro.
10651         * math/libm-test.inc (issubnormal_test_data): New array.
10652         (issubnormal_test): New function.
10653         * manual/arith.texi (Floating Point Classes): Document
10654         issubnormal.
10655         * manual/libm-err-tab.pl: Update comment on interfaces without
10656         ulps tabulated.
10658         * sysdeps/generic/stdint.h: Define
10659         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10660         <bits/libc-header-start.h> instead of including <features.h>.
10661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10662         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10664         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10665         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10666         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10667         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10668         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10669         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10670         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10671         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10672         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10673         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10674         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10675         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10676         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10677         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10678         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10679         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10680         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10681         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10682         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10683         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10692         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10693         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10694         * manual/arith.texi (Integers): Document these macros for types
10695         specified by width properties.
10696         * manual/lang.texi (Width of Type): Document these macros for
10697         other standard typedefs.
10698         * stdlib/tst-width-stdint.c: New file.
10699         * stdlib/Makefile (tests): Add tst-width-stdint.
10701 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10703         [BZ #20016]
10704         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10705         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10706         Move ...
10707         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10708         ... here, as compatibility symbols in a new file.
10709         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10710         * resolv/res_init.c (__res_vinit): Adjust member names.
10711         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10712         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10713         (res_send_rhook): Remove.
10714         (struct __res_state): Rename qhook, rhook members.
10716 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10718         malloc: Use __libc_lock wrappers.
10719         * malloc/arena.c (list_lock, free_list_lock): Define using
10720         __libc_lock_define_initialized.
10721         (arena_lock): Adjust formatting.
10722         * malloc/malloc.c (struct malloc_state): Define mutex using
10723         __libc_lock_define.
10724         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10725         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10726         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10727         (mutex_unlock, mutex_trylock): Remove.
10728         (__pthread_initialize): Remove unused macro.
10729         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10730         (mutex_unlock, mutex_trylock): Remove.
10732 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10734         [BZ #20592]
10735         Remove RR type classification macros.
10736         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10737         (ns_t_udp_p, ns_t_xfr_p): Remove.
10739 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10741         Remove misleading version information.
10742         * resolv/arpa/nameser.h (__NAMESER): Remove.
10743         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10745 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10747         Remove the always-defined BIND_4_COMPAT macro.
10748         * resolv/arpa/nameser.h: Unconditionally include
10749         <arpa/nameser_compat.h>.
10750         (BIND_4_COMPAT): Remove.
10751         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10753 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10755         [BZ #20591]
10756         Remove obsolete DNSSEC support.
10757         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10758         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10759         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10760         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10761         (ns_cert_types): Add comment.
10762         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10763         separately.
10764         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10765         (dst_s_dns_key_id): Remove.
10766         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10767         variables.
10769 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10771         [BZ #20524]
10772         * manual/string.texi (String/Array Comparison): Clarify the
10773         strverscmp behavior.
10775 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10777         * test-skeleton.c (xasprintf): Add function.
10778         * io/tst-open-tmpfile.c: New test.
10779         * io/Makefile (tests): Add it.
10781 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10783         Avoid running $(CXX) during build to obtain header file paths.
10784         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10785         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10786         * Makerules (cstdlib, cmath): Remove variables.  Use
10787         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10788         * configure: Regenerate.
10790 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10792         * Makeconfig (all-object-suffixes): Include .op only if
10793         $(build-profile).
10795 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10797         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10798         conditionals.  Do not define PATH_MAX.
10800 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10802         * posix/Makefile (tests): Add tst-spawn3.
10803         * posix/tst-spawn3.c: New file.
10804         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10805         if it is already opened for open action.
10807         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10808         all signals when executing the clone vfork child.
10809         (SIGALL_SET): Remove macro.
10811         * nptl/Makefile (tests): Add tst-exec5.
10812         * nptl/tst-exec5.c: New file.
10813         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10814         asynchronous cancellation.
10816 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10818         * hurd/exc2signal.c: #include <hurd/signal.h>
10819         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10820         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10821         accordingly.
10822         * mach/mach_error.c (mach_error): Fix old-style function definition.
10823         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10825 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10827         * math/Makefile (libm-calls): Remove s_nanF.
10828         (gen-libm-calls): Add s_nanF.
10830         * math/s_nan.c: Refactor into ...
10831         * math/s_nan_template.c: New file.
10833         * math/s_nanf.c: Removed.
10834         * math/s_nanl.c: Removed.
10835         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10836         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10838         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10839         (LDOUBLE_nanl_libm_version): New macro.
10841         * sysdeps/generic/math-type-macros-double.h:
10842         (M_STRTO_NAN): New macro.
10843         * sysdeps/generic/math-type-macros-float.h: Likewise.
10844         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10846         * sysdeps/generic/math-type-macros.h: Document
10847         M_STRTO_NAN.
10849 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10851         * math/s_nanf.c: Remove __nanf undef.
10852         * math/s_nan.c: Remove __nan undef.
10853         * math/s_nanl.c: Remove __nanl undef.
10855         * sysdeps/generic/math_private.h (__nan): Remove macro
10856         override.
10857         (__nanf): Likewise.
10858         (__nanl): Likewise.
10860 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10862         * math/Makefile (gen-all-calls): New variable.
10863         (generated): Replace gen-libm-calls with gen-all-calls.
10864         (gen-libm-templates.stmp): Likewise.  Also, ensure
10865         the output directory exists or is created and add
10866         dependency on the Makefile.
10867         (calls): Move s_ldexpF into gen-calls.
10868         (gen-calls): New variable.
10870         * math/s_ldexpf.c: Removed.
10871         * math/s_ldexpl.c: Removed.
10872         * math/s_ldexp.c: Refactored into ...
10873         * math/s_ldexp_template.c: New file.
10875         * sysdeps/generic/math-type-macros-double.h: Remove
10876         redundant fall-through definition of declare_mgen_alias.
10877         (declare_mgen_alias_2): New macro.
10879         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10880         New macro for function aliased to two exported symbols.
10882         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10883         new template file.
10884         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10886 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10888         * Makeconfig (all-object-suffixes): Remove .og.
10889         * Makerules (elide-routines.og): Remove.
10890         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10891         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10892         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10894 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10896         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10897         .os objects.
10899 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10901         [BZ #20615]
10902         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10903         fpu directory by non-fpu.
10904         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10905         on non-fpu directory from a fpu directory.
10907 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10909         * include/limits.h: Define
10910         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10911         <bits/libc-header-start.h> instead of including <features.h>.
10912         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10913         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10915         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10916         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10917         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10918         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10919         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10920         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10921         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10922         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10923         * manual/lang.texi (Width of Type): Document these macros.
10924         * stdlib/tst-width.c: New file.
10925         * stdlib/Makefile (tests): Add tst-width.
10927 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10929         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10930         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10932 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10934         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10935         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10936         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10938 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10940         [BZ #18243]
10941         * rt/Makefile (test): Add tst-shm-cancel.
10942         * rt/tst-shm-cancel.c: New file.
10943         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10945         [BZ #18243]
10946         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10947         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10948         definition.
10949         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10950         uncontended case.
10951         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10952         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10953         (tf): Fix check for uncontended case.
10954         (do_test): Likewise.
10955         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10956         (tf): Fix check for uncontended case.
10957         (do_test): Likewise.
10958         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10959         (tf): Fix check for uncontended case.
10960         (do_test): Likewise.
10961         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10962         (tf): Fix check for uncontended case.
10963         (do_test): Likewise.
10965         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10966         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10968         [BZ #15765]
10969         * nptl/Makefile (tests): Add tst-sem16.
10970         * nptl/tst-sem16.c: New file.
10971         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10973         * nptl/sem_open.c (sem_open): Init pad value to 0.
10974         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10975         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10977 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10979         [BZ #20611]
10980         * inet/Makefile (routines): Add inet6_scopeid_pton.
10981         (tests): Add tst-inet6_scopeid_pton.
10982         * inet/inet6_scopeid_pton.c: New file.
10983         * inet/net-internal.h: Likewise.
10984         * inet/tst-inet6_scopeid_pton.c: New test.
10985         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10986         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10989 2016-09-14  Florian Weimer  <fweimer@redhat.com>
10991         Remove support for compiling wrappers with PTW.
10992         * sysdeps/nptl/Makeconfig: Drop ptw- support.
10993         * nptl/Makefile (pthread-compat-wrappers): Define.
10994         (libpthread-routines): Use pthread-compat-wrappers.
10995         * sysdeps/unix/sysv/linux/alpha/Makefile
10996         (libpthread-routines, libpthread-shared-only-routines): Remove
10997         ptw- prefix.
10998         * sysdeps/s390/nptl/Makefile
10999         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11000         * sysdeps/ia64/nptl/Makefile
11001         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11002         * sysdeps/nacl/Makefile (libpthread-routines): Use
11003         pthread-compat-wrappers to filter the routines list instead of the
11004         ptw- prefix.
11006 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11008         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11009         with L() and remove explicit suffix, convert real literals
11010         which can be equivalentally substituted with integers, and
11011         transform -L(x) to L(-x).
11013         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11014         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11015         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11016         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11017         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11018         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11019         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11020         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11021         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11022         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11023         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11024         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11025         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11026         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11027         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11028         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11029         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11030         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11031         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11032         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11033         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11034         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11035         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11036         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11037         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11038         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11039         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11040         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11041         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11042         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11043         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11044         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11045         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11046         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11047         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11048         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11049         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11050         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11051         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11052         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11053         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11054         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11055         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11056         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11057         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11058         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11059         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11060         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11061         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11062         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11064 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11066         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11068 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11070         * malloc/Makefile (tests): Remove individual static test names
11071         and just add all of tests-static.
11073         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11075 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11077         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11078         file.
11080         * sysdeps/sparc/fpu/fegetmode.c: New file.
11081         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11083         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11084         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11086         * sysdeps/s390/fpu/fegetmode.c: New file.
11087         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11089         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11090         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11091         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11092         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11093         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11094         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11096         * sysdeps/mips/fpu/fegetmode.c: New file.
11097         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11099         * sysdeps/m68k/fpu/fegetmode.c: New file.
11100         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11102         * sysdeps/ia64/fpu/fegetmode.c: New file.
11103         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11105         * sysdeps/hppa/fpu/fegetmode.c: New file.
11106         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11108         * sysdeps/arm/fegetmode.c: New file.
11109         * sysdeps/arm/fesetmode.c: Likewise.
11111         * sysdeps/alpha/fpu/fegetmode.c: New file.
11112         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11114         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11115         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11117         * math/fegetmode.c: New file.
11118         * math/fesetmode.c: Likewise.
11119         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11120         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11121         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11122         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11123         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11124         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11125         declaration.
11126         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11127         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11128         typedef.
11129         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11130         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11131         (femode_t): New typedef.
11132         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11133         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11134         (femode_t): New typedef.
11135         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11136         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11137         (femode_t): New typedef.
11138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11139         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11140         (femode_t): New typedef.
11141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11142         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11143         (femode_t): New typedef.
11144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11145         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11146         (femode_t): New typedef.
11147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11148         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11149         (femode_t): New typedef.
11150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11151         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11152         (femode_t): New typedef.
11153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11154         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11155         (femode_t): New typedef.
11156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11157         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11158         (femode_t): New typedef.
11159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11160         declaration.
11161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11162         * sysdeps/s390/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/sh/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/sparc/fpu/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/tile/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/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11175         (femode_t): New typedef.
11176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11177         * manual/arith.texi (FE_DFL_MODE): Document macro.
11178         (fegetmode): Document function.
11179         (fesetmode): Likewise.
11180         * math/Versions (fegetmode): New libm symbol at version
11181         GLIBC_2.25.
11182         (fesetmode): Likewise.
11183         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11184         (tests): Add test-femode and test-femode-traps.
11185         * math/test-femode-traps.c: New file.
11186         * math/test-femode.c: Likewise.
11187         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11188         alias for __fe_dfl_env.
11189         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11190         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11191         (__fe_dfl_mode): Likewise.
11192         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11193         version GLIBC_2.25.
11194         * sysdeps/nacl/libm.abilist: Update.
11195         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11196         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11197         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11198         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11199         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11200         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11201         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11202         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11203         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11204         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11205         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11206         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11208         Likewise.
11209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11210         Likewise.
11211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11212         Likewise.
11213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11214         Likewise.
11215         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11216         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11217         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11218         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11219         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11221         Likewise.
11222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11223         Likewise.
11224         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11225         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11226         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11228 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11230         [BZ #20495]
11231         [BZ #20508]
11232         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11233         processors, set Use_dl_runtime_resolve_slow and set
11234         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11235         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11236         New.
11237         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11238         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11239         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11240         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11241         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11242         if Use_dl_runtime_resolve_opt is set.  Use
11243         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11244         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11245         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11246         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11247         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11248         New.
11249         (_dl_runtime_resolve_opt): Likewise.
11250         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11251         defined.
11253 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11255         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11256         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11258 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11260         Convert malloc to __libc_lock.  Automated part, using this Perl
11261         s/// command:
11262           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11263             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11264         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11265         conversion.
11267 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11269         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11270         (linknamespace-symlists-tests): Likewise.
11271         (linknamespace-header-tests): Likewise.
11273 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11275         [BZ #19810]
11276         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11277         * elf/tst-noload.c: New test case.
11278         * elf/Makefile (tests): Add tst-noload.
11280 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11282         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11284         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11285         not any more.
11287         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11289 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11291         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11292         (do_cos_slow): Likewise.
11293         (do_sin): Likewise.
11294         (do_sin_slow): Likewise.
11295         (slow): Likewise.
11296         (slow1): Likewise.
11297         (slow2): Likewise.
11298         (sloww): Likewise.
11299         (sloww1): Likewise.
11300         (sloww2): Likewise.
11301         (bsloww): Likewise.
11302         (bsloww1): Likewise.
11303         (bsloww2): Likewise.
11304         (cslow2): Likewise.
11306         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11308         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11309         arguments.  Consolidate input partitioning from callers here.
11310         (do_cos_slow): Likewise.
11311         (do_sin): Likewise.
11312         (do_sin_slow): Likewise.
11313         (do_sincos_1): Remove the no longer necessary input partitioning.
11314         (do_sincos_2): Likewise.
11315         (__sin): Likewise.
11316         (__cos): Likewise.
11317         (slow1): Likewise.
11318         (slow2): Likewise.
11319         (sloww1): Likewise.
11320         (sloww2): Likewise.
11321         (bsloww1): Likewise.
11322         (bsloww2): Likewise.
11323         (cslow2): Likewise.
11325 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11327         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11328         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11329         outside of allocated array.
11331 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11333         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11334         instead of MB_CUR_MAX to avoid variable-length array.
11336 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11338         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11339         (type-double-routines): Add k_rem_pio2.
11340         (type-float-routines): Add k_rem_pio2f.
11342         * sysdeps/generic/math_private.h:
11343         (__kernel_rem_pio2l): Removed.
11345         * math/k_rem_pio2l.c: Removed.
11346         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11347         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11348         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11349         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11351 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11353         * math/Makefile (gen-libm-calls): Add s_fmin
11354         (libm-calls): Remove above.
11356         * math/s_fmin.c: Refactor into ...
11357         * math/s_fmin_template.c: New file.
11359         * math/s_fminf.c: Removed.
11360         * math/s_fminl.c: Removed.
11361         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11362         (LDOUBLE_fmin_libm_version): New macro.
11364         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11365         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11367 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11369         * math/Makefile: (gen-libm-calls): Add s_fmax.
11370         (libm-calls): Remove above.
11372         * math/s_fmax.c: Refactor into ...
11373         * math/s_fmax_template.c: New file.
11374         * math/s_fmaxf.c: Removed.
11375         * math/s_fmaxl.c: Removed.
11377         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11378         (LDOUBLE_fmaxl_libm_version): New macro.
11380         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11381         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11383         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11384         s_fmin.c to pick the aarch64 version of the file.
11385         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11386         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11388 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11390         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11391         (libm-calls): Remove above.
11393         * math/s_nextdown.c: Refactor into ...
11394         * math/s_nextdown_template.c: New file.
11395         * math/s_nextdownf.c: Removed.
11396         * math/s_nextdownl.c: Removed.
11398         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11400 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11402         * math/Makefile (gen-libm-calls): Add s_fdim.
11403         (libm-calls): Move to above.
11405         * math/s_fdim.c: Renamed and refactored into to ...
11406         * math/s_fdim_template.c: New file.
11407         * math/s_fdiml.c: Removed.
11408         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11409         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11411         * sysdeps/generic/math-type-macros-double.h:
11412         (declare_mgen_alias): Don't declare if already declared.
11413         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11414         Likewise.
11416         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11417         (declare_mgen_alias): Don't declare if already declared.
11418         (M_LIBM_NEED_COMPAT): Likewise.
11419         (declare_mgen_libm_compat): Likewise.
11420         (LDOUBLE_fdiml_libm_version): New macro.
11422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11423         Include math/s_fdim.c now that ldbl-opt version is not needed.
11424         (declare_mgen_alias): New macro to disable aliasing.
11426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11427         (declare_mgen_alias): Likewise.
11428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11429         (declare_mgen_alias): Likewise.
11430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11431         (declare_mgen_alias): Likewise.
11432         (M_LIBM_NEED_COMPAT): Likewise.
11434 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11436         [BZ #20525]
11437         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11438         Include <linux/quota.h>.
11439         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11440         and btodb.
11441         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11442         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11443         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11444         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11445         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11446         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11447         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11448         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11449         types.
11450         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11451         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11453 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11455         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11456         (gammal_positive): Fix spacing.
11457         (__ieee754_gammal_r): Likewise.
11459 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11461         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11462         (_Float128): Define as long double, always.
11463         (L): Apply long double type suffix, always.
11465         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11466         _Float128, excepting comments.
11468         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11469         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11470         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11471         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11472         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11473         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11474         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11475         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11476         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11477         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11478         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11479         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11480         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11481         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11482         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11483         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11484         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11485         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11486         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11487         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11488         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11489         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11490         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11491         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11492         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11493         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11494         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11495         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11496         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11497         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11498         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11499         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11500         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11501         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11502         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11503         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11504         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11505         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11506         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11507         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11508         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11509         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11510         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11511         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11512         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11513         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11514         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11515         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11516         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11517         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11518         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11519         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11520         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11521         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11522         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11523         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11524         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11525         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11526         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11527         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11528         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11529         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11530         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11531         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11532         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11533         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11534         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11535         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11537         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11538         _Float128, and include math_private.h.
11539         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11541         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11542         long double semantics.
11543         (_Float128): Likewise.
11544         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11545         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11546         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11547         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11549 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11551         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11552         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11553         * sysdeps/s390/configure: Regenerated.
11554         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11555         instruction for raising over-/underflow if z196 zarch is supported
11556         by default.
11557         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11559 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11561         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11562         it point to a dumb buffer for RPC to fill it.
11564 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11566         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11567         instead of if/else.
11568         (do_sin_slow): Likewise.
11569         (do_sincos_1): Use fabs instead of if/else.
11570         (do_sincos_2): Likewise.
11571         (__sin): Likewise.
11572         (__cos): Likewise.
11573         (slow2): Likewise.
11574         (sloww): Likewise.
11575         (sloww1): Likewise.  Drop argument M.
11576         (sloww2): Use fabs instead of if/else.
11577         (bsloww): Likewise.
11578         (bsloww1): Likewise.
11579         (bsloww2): Likewise.
11581         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11582         fall through comment.
11583         (do_sincos_1): Likewise.
11585         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11586         Consolidate switch cases 0 and 2.
11588 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11590         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11591         (libm-calls): Remove the above.
11593         * math/s_cexp_template.c: Update using type-generic macros.
11594         * math/s_clog10_template.c: Likewise.
11595         * math/s_cpow_template.c: Likewise.
11596         * math/s_clog_template.c: Likewise.
11597         * math/s_cproj_template.c: Likewise.
11598         * math/s_csqrt_template.c: Likewise.
11600         * math/s_cexp.c: Removed.
11601         * math/s_cexpf.c: Removed.
11602         * math/s_cexpl.c: Removed.
11603         * math/s_clog10.c: Removed.
11604         * math/s_clog10f.c: Removed.
11605         * math/s_clog10l.c: Removed.
11606         * math/s_cpow.c: Removed.
11607         * math/s_cpowf.c: Removed.
11608         * math/s_cpowl.c: Removed.
11609         * math/s_clog.c: Removed.
11610         * math/s_clogf.c: Removed.
11611         * math/s_clogl.c: Removed.
11612         * math/s_cproj.c: Removed.
11613         * math/s_cprojf.c: Removed.
11614         * math/s_cprojl.c: Removed.
11615         * math/s_csqrt.c: Removed.
11616         * math/s_csqrtf.c: Removed.
11617         * math/s_csqrtl.c: Removed.
11619         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11620         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11621         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11622         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11623         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11624         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11626         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11627         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11628         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11629         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11630         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11631         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11632         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11633         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11634         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11635         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11636         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11638         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11639         version.
11641         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11642         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11643         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11644         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11646 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11648         * s_cexp_template.c: Copy of s_cexp.c.
11649         * s_clog_template.c: Copy of s_clog.c.
11650         * s_clog10_template.c: Copy of s_clog10.c.
11651         * s_cpow_template.c: Copy of s_cpow.c.
11652         * s_cproj_template.c: Copy of s_cproj.c.
11653         * s_csqrt_template.c: Copy of s_csqrt.c.
11655 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11657         [BZ #20517]
11658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11659         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11660         exported.
11662 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11664         * math/fetestexceptflag.c: New file.
11665         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11666         Stefan Liebler.
11667         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11668         (fetestexceptflag): New function declaration.
11669         * manual/arith.texi (fetestexceptflag): Document function.
11670         * math/Versions (fetestexceptflag): New libm symbol at version
11671         GLIBC_2.25.
11672         * math/Makefile (libm-support): Add fetestexceptflag.
11673         (tests): Add test-fetestexceptflag.
11674         * math/test-fetestexceptflag.c: New file.
11675         * sysdeps/nacl/libm.abilist: Update.
11676         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11677         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11678         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11679         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11680         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11681         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11682         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11683         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11684         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11685         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11686         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11687         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11689         Likewise.
11690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11691         Likewise.
11692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11693         Likewise.
11694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11695         Likewise.
11696         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11697         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11698         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11699         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11700         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11702         Likewise.
11703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11704         Likewise.
11705         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11706         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11707         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11709 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11711         [BZ #20432]
11712         Avoid strong references to malloc-internal symbols when linking
11713         statically, to support statically interposed mallocs.
11714         * include/libc-symbols.h (call_function_static_weak): New macro.
11715         * malloc/Makefile (tests): Add tst-interpose-nothread,
11716         tst-interpose-thread, tst-interpose-static-nothread,
11717         tst-interpose-static-thread.
11718         (tests-static): Add tst-interpose-static-nothread,
11719         tst-interpose-static-thread.
11720         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11721         tst-interpose-aux-thread.o.
11722         (test-extras): Add tst-interpose-aux-nothread,
11723         tst-interpose-aux-thread.
11724         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11725         tst-interpose-aux-nothread.o.
11726         (tst-interpose-thread, tst-interpose-static-thread): Link with
11727         tst-interpose-aux-thread.o and libthread.
11728         * malloc/tst-interpose-aux-nothread.c: New file.
11729         * malloc/tst-interpose-aux-thread.c: Likewise.
11730         * malloc/tst-interpose-aux.c: Likewise.
11731         * malloc/tst-interpose-aux.h: Likewise.
11732         * malloc/tst-interpose-nothread.c: Likewise.
11733         * malloc/tst-interpose-skeleton.c: Likewise.
11734         * malloc/tst-interpose-static-nothread.c: Likewise.
11735         * malloc/tst-interpose-static-thread.c: Likewise.
11736         * malloc/tst-interpose-thread.c: Likewise.
11737         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11738         * sysdeps/mach/hurd/fork.c (__fork): Only call
11739         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11740         __malloc_fork_unlock_child if defined.
11741         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11743 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11745         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11746         timespec C99 designated initialization.
11748 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11750         [BZ #19946]
11751         Avoid expected SIGALRM signals.
11752         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11753         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11754         (xpthread_create, xpthread_detach, xpthread_join)
11755         (delayed_exit_thread, delayed_exit): New functions.
11756         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11757         (tf): Use xpthread_cond_wait.
11758         (do_test): Likewise.  Replace alarm with delayed_exit.
11759         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11760         (do_test): Call delayed_exit.  Report failure.
11761         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11762         (do_test): Call delayed_exit.
11763         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11764         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11765         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11766         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11767         error.
11768         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11769         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11770         error.
11771         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11772         (do_test): Call delayed_exit.
11773         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11774         (do_test): Call delayed_exit.
11775         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11776         (do_test): Call delayed_exit instead of alarm.  Use
11777         xpthread_mutex_lock.
11778         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11779         (do_test): Call delayed_exit instead of alarm.  Use
11780         xpthread_mutex_lock.
11781         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11782         (do_test): Call delayed_exit instead of alarm.
11783         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11784         (do_test): Call delayed_exit instead of alarm.  Use
11785         xpthread_spin_lock.
11786         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11787         (do_test): Call delayed_exit instead of alarm.  Use
11788         xpthread_join.
11790 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11792         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11793         adjust CFA when allocating register save area on re-aligned
11794         stack.
11796 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11798         * string/tst-cmp.c: New test.
11799         * string/Makefile (tests): Add it.
11801 2016-08-25  Mark Wielaard  <mark@klomp.org>
11803         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11804         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11805         (check_tree_recurse): Use newly defined accessors.
11806         (check_tree): Likewise.
11807         (maybe_split_for_insert): Likewise.
11808         (__tfind): Likewise.
11809         (__tdelete): Likewise.
11810         (trecurse): Likewise.
11811         (tdestroy_recurse): Likewise.
11812         (__tsearch): Likewise. And add asserts for malloc alignment.
11813         (__twalk): Cast root to node in case CHECK_TREE is defined.
11815 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11817         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11819 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11821         * math/Makefile (libm-gen-calls): Add
11822         catan, catanh, ctan, ctanh.
11823         (libm-calls): Remove the above.
11825         * math/s_catan_template.c: Update using type-generic macros.
11826         * math/s_catanh_template.c: Likewise.
11827         * math/s_ctan_template.c: Likewise.
11828         * math/s_ctanh_template.c: Likewise.
11830         * math/s_catanf.c: Removed.
11831         * math/s_catan.c: Removed.
11832         * math/s_catanl.c: Removed.
11833         * math/s_catanhf.c: Removed.
11834         * math/s_catanh.c: Removed.
11835         * math/s_catanhl.c: Removed.
11836         * math/s_ctanf.c: Removed.
11837         * math/s_ctan.c: Removed.
11838         * math/s_ctanl.c: Removed.
11839         * math/s_ctanhf.c: Removed.
11840         * math/s_ctanh.c: Removed.
11841         * math/s_ctanhl.c: Removed.
11843         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11844         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11845         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11846         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11847         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11848         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11850         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11851         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11852         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11853         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11855 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11857         * s_catan_template.c: Copy of s_catan.c.
11858         * s_catanh_template.c: Copy of s_catanh.c.
11859         * s_ctan_template.c: Copy of s_ctan.c.
11860         * s_ctanh_template.c: Copy of s_ctanh.c.
11862 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11864         * math/Makefile (gen-libm-calls): Move
11865         casin, casinh, csin, csinh here.
11866         (libm-calls): Remove the above.
11868         * math/s_casin_template.c: Update using type-generic macros.
11869         * math/s_casinh_template.c: Likewise.
11870         * math/s_csin_template.c: Likewise.
11871         * math/s_csinh_template.c: Likewise.
11872         * math/k_casinh_template.c: Likewise.
11874         * math/s_casinf.c: Removed.
11875         * math/s_casin.c: Removed.
11876         * math/s_casinl.c: Removed.
11877         * math/s_casinh.c: Removed.
11878         * math/s_casinhf.c: Removed.
11879         * math/s_casinhl.c: Removed.
11880         * math/s_csin.c: Removed.
11881         * math/s_csinf.c: Removed.
11882         * math/s_csinl.c: Removed.
11883         * math/s_csinh.c: Removed.
11884         * math/s_csinhf.c: Removed.
11885         * math/s_csinhl.c: Removed.
11886         * math/k_casinh.c: Removed.
11887         * math/k_casinhf.c: Removed.
11888         * math/k_casinhl.c: Removed.
11890         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11891         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11892         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11893         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11895         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11896         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11897         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11898         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11899         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11900         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11901         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11902         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11904         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11905         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11906         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11907         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11909         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11910         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11911         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11912         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11914 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11916         * s_casin_template.c: Copy of s_casin.c.
11917         * s_casinh_template.c: Copy of s_casinh.c.
11918         * s_csin_template.c: Copy of s_csin.c.
11919         * s_csinh_template.c: Copy of s_csinh.c.
11920         * k_casinh_template.c: Copy of k_casinh.c.
11922 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11924         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11926 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11928         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11929         (mul_split) Remove, rename as mul_splitl, remove
11930         redundant float.h include, and include via mul_splitl.h
11932         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11933         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11934         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11935         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11936         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11938         * math/mul_splitl.h: New file.
11940         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11941         Move into mul_split.h, and remove redundant float.h include.
11943         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11944         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11945         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11946         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11948         * math/mul_split.h: New file.
11950 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11952         * math/Makefile (libm-gen-calls): Move
11953         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11954         (libm-calls): Remove above.
11956         * math/s_cacos_template.c: Update using type-generic macros.
11957         * math/s_cacosh_template.c: Likewise.
11958         * math/s_ccos_template.c: Likewise.
11959         * math/s_ccosh_template.c: Likewise.
11961         * math/s_cacosf.c: Removed.
11962         * math/s_cacos.c: Removed.
11963         * math/s_cacosl.c: Removed.
11964         * math/s_cacoshf.c: Removed.
11965         * math/s_cacosh.c: Removed.
11966         * math/s_cacoshl.c: Removed.
11967         * math/s_ccosf.c: Removed.
11968         * math/s_ccos.c: Removed.
11969         * math/s_ccosl.c: Removed.
11970         * math/s_ccoshf.c: Removed.
11971         * math/s_ccosh.c: Removed.
11972         * math/s_ccoshl.c: Removed.
11974         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11975         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11976         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11977         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11978         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11979         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11981         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11982         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11983         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11984         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11986         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11987         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11988         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11989         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
11991 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11993         * s_cacos_template.c: Copy of s_cacos.c.
11994         * s_cacosh_template.c: Copy of s_cacosh.c.
11995         * s_ccos_template.c: Copy of s_ccos.c.
11996         * s_ccosh_template.c: Copy of s_ccosh.c.
11998 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12000         * stdlib/tst-strtod-round-skeleton.c:
12001         Refactored from tst-strtod-round.c.
12003         (L_): New macro to apply literal modifier.
12004         (FNPFX): New macro to select str or wcs prefix.
12005         (CHAR): New macro to choose wchar_t or char.
12006         (STRM): New macro to choose printf for tested character type.
12008         (STRTO): New macro to choose appropriate string -> real function.
12009         (FNPFXS): Stringitized version of FNPFX.
12010         (STR): Support for above macro.
12011         (STRX): Likewise.
12013         (TEST): Update with above macros.
12014         (test): Likewise.
12015         (GEN_ONE_TEST): Likewise.
12016         (test_in_one_mode): Likewise.
12018         * stdlib/tst-strtod-round.c: New file.
12019         * wcsmbs/tst-wcstod-round.c: New file.
12021         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12022         (tst-wcstod-round): Add libm depencency for fesetround.
12024 2016-08-19  Zack Weinberg  <zackw@panix.com>
12026         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12028 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12030         [BZ #20477]
12031         * resolv/res_hconf.c (do_init): Use atomic access.
12032         * resolv/res_hconf.h: Add comments.
12033         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12034         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12037 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12039         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12040         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12041         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12042         Likewise.
12044 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12046         [BZ #16907]
12047         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12048         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12049         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12050         (__attribute__): Remove definition.
12052 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12054         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12055         Remove unused sqrtl declaration.
12057 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12059         * math/Makefile: (gen-libm-templates.stmp): New rule.
12060         (libm-calls): Move carg conj cimag and cabs into ...
12061         (gen-libm-calls): New variable.
12062         (generated): Inform Make objects from gen-libm-calls
12063         may be generated.
12065         * sysdeps/generic/math-type-macros.h: New file.
12066         * sysdeps/generic/math-type-macros-float.h: Likewise.
12067         * sysdeps/generic/math-type-macros-double.h: Likewise.
12068         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12069         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12070         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12072         * math/cabs.c: Refactor into
12073         * math/cabs_template.c: new file.
12074         * math/cabsf.c: Removed.
12075         * math/cabsl.c: Removed.
12076         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12077         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12079         * math/carg.c: Refactor into
12080         * math/carg_template.c: new file.
12081         * math/cargf.c: Removed.
12082         * math/cargl.c: Removed.
12083         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12084         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12086         * math/conj.c: Refactor into
12087         * math/conj_template.c: new file.
12088         * math/conjf.c: Removed.
12089         * math/conjl.c: Removed.
12090         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12091         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12093         * math/cimag.c: Refactor into
12094         * math/cimag_template.c: new file.
12095         * math/cimagf.c: Removed.
12096         * math/cimagl.c: Removed.
12097         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12098         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12100         * math/cimag.c: Refactor into
12101         * math/cimag_template.c: new file.
12102         * math/cimagf.c: Removed.
12103         * math/cimagl.c: Removed.
12104         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12105         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12107 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12109         Reduce time to expected nptl/tst-once5 failure.
12110         * nptl/tst-once5.cc (TIMEOUT): Define.
12112 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12114         [BZ #20452]
12115         Avoid additional copies of objects in libc.a in static libraries.
12116         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12117         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12118         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12119         rt-sysdep.
12120         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12121         Add nptl-sysdep.
12122         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12123         Add ptw-sysdep.
12124         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12125         rt-sysdep.
12126         * sysdeps/unix/sysv/linux/alpha/Makefile
12127         (libpthread-shared-only-routines): Add ptw-sysdep,
12128         ptw-sigprocmask, ptw-rt_sigaction.
12129         * sysdeps/unix/sysv/linux/ia64/Makefile
12130         (librt-shared-only-routines): Add rt-sysdep.
12131         * sysdeps/unix/sysv/linux/i386/Makefile
12132         (libpthread-shared-only-routines): Add libc-do-syscall.
12133         * sysdeps/unix/sysv/linux/microblaze/Makefile
12134         (libpthread-shared-only-routines): Add sysdep.
12135         * sysdeps/unix/sysv/linux/powerpc/Makefile
12136         (librt-shared-only-routines): Add rt-sysdep.
12137         (libpthread-shared-only-routines): Add sysdep.
12138         * sysdeps/unix/sysv/linux/s390/Makefile
12139         (librt-shared-only-routines): Add rt-sysdep.
12140         * sysdeps/unix/sysv/linux/sparc/Makefile
12141         (librt-shared-only-routines): Add rt-sysdep.
12142         (libpthread-shared-only-routines): Add sysdep.
12143         * sysdeps/unix/sysv/linux/tile/Makefile
12144         (libpthread-shared-only-routines): Likewise.
12146 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12148         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12149         Mask implicit bit out of unpacked value.
12150         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12151         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12152         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12154         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12156         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12158         * sysdeps/s390/fpu/fesetexcept.c: New file.
12160         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12161         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12162         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12164         * sysdeps/mips/fpu/fesetexcept.c: New file.
12166         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12168         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12170         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12172         * sysdeps/arm/fesetexcept.c: New file.
12174         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12176         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12178         * math/fesetexcept.c: New file.
12179         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12180         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12181         * math/fenv.h: Define
12182         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12183         <bits/libc-header-start.h> instead of including <features.h>.
12184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12185         declaration.
12186         * manual/arith.texi (fesetexcept): Document function.
12187         * math/Versions (fesetexcept): New libm symbol at version
12188         GLIBC_2.25.
12189         * math/Makefile (libm-support): Add fesetexcept.
12190         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12191         * math/test-fesetexcept.c: New file.
12192         * math/test-fesetexcept-traps.c: Likewise.
12193         * sysdeps/nacl/libm.abilist: Update.
12194         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12195         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12196         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12197         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12198         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12199         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12200         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12201         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12202         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12203         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12204         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12205         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12207         Likewise.
12208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12209         Likewise.
12210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12211         Likewise.
12212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12213         Likewise.
12214         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12215         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12216         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12217         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12218         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12220         Likewise.
12221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12222         Likewise.
12223         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12224         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12225         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12227 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12229         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12230         New.
12231         (do_test): Apply default_stack_size_in_mb if not set.
12232         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12234 2016-08-15  Andreas Schwab  <schwab@suse.de>
12236         [BZ #20435]
12237         CVE-2016-6323
12238         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12239         as .cantunwind.
12241 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12243         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12244         comment from fraiseexcpt.c.
12246         * math/test-fexcept.c (feraiseexcept_exact): New function.
12247         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12248         (test_except): Likewise.
12250 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12252         [BZ #20455]
12253         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12254         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12255         to be restored.
12257         * math/test-fexcept-traps.c: New file.
12258         * math/test-fexcept.c: Likewise.
12259         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12260         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12261         macro.
12262         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12263         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12265 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12267         * include/atomic.h (atomic_fetch_and_relaxed,
12268         atomic_fetch_and_release, atomic_fetch_or_release,
12269         atomic_fetch_xor_release): New.
12271 2016-08-06  Christian Seiler  <christian@iwakd.de>
12273         [BZ #20444]
12274         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12275         MACH_PORT_NULL.
12277 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12279         * math/s_fdim.c: Avoid alias renamed.
12280         * math/s_fdimf.c: Likewise.
12281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12282         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12283         Add s_fdimf-vis3, s_fdim-vis3.
12284         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12285         (CFLAGS-s_fdim-vis3.c): Likewise.
12286         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12287         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12289 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12292         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12293         Remove s_fdimf-vis3, s_fdim-vis3.
12294         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12295         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12302         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12303         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12305 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12307         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12308         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12309         -Wa,-Av9a -mvis.
12311 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12313         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12314         LIT() to individual constants in simple expressions
12315         after splitting on spaces.
12316         (_apply_lit): Rename replaced version, and use it to
12317         apply to what appears to be a token.
12319         * math/libm-test.inc: Fix many, many issues with
12320         spacing.
12322 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12324         * math/math.h: Move comment about <bits/mathdef.h> definitions
12325         above inclusion of <bits/mathdef.h>.  Do not mention
12326         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12328 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12330         * include/atomic.h (atomic_exchange_relaxed): New.
12332 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12334         * math/e_scalb.c: Do not include <fenv.h>.
12335         (invalid_fn): Do calculation resulting in NaN instead of raising
12336         FE_INVALID and returning a NaN explicitly.
12337         * math/e_scalbf.c: Do not include <fenv.h>.
12338         (invalid_fn): Do calculation resulting in NaN instead of raising
12339         FE_INVALID and returning a NaN explicitly.
12340         * math/e_scalbl.c: Do not include <fenv.h>.
12341         (invalid_fn): Do calculation resulting in NaN instead of raising
12342         FE_INVALID and returning a NaN explicitly.
12344 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12346         * po/de.po: Updated from Translation Project.
12347         * po/fi.po: Likewise.
12348         * po/sv.po: Likewise.
12350 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12352         [BZ #20452]
12353         Use sysdep.o from libc.a in static libraries.
12354         * sysdeps/unix/sysv/linux/i386/Makefile
12355         (libpthread-shared-only-routines): Add sysdep.
12356         (librt-shared-only-routines): Likewise.
12358 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12360         * math/tgmath.h (nextdown): Define if
12361         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12362         (nextup): Likewise.
12364         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12365         macro.
12366         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12367         Document.
12368         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12369         Document macro.
12370         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12371         (exp10f): Likewise.
12372         (exp10l): Likewise.
12373         * math/bits/mathcalls.h (exp10): Declare if
12374         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12376         * manual/arith.texi (nextup): Fix typo in last change.
12378 2016-08-03  Zack Weinberg  <zackw@panix.com>
12380         [BZ #19239]
12381         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12382         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12383         define major, minor, and makedev to issue deprecation warnings on use.
12384         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12385         previously-activated deprecation warnings for these macros and prevent
12386         subsequent inclusions of this header from having any effect.
12387         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12388         including <sys/sysmacros.h>, and undefine it again afterward.
12390 2016-08-03  Zack Weinberg  <zackw@panix.com>
12392         * sysdeps/generic/sys/sysmacros.h: Delete file.
12393         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12394         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12395         * bits/sysmacros.h: ... here; this encoding is now the generic
12396         encoding.  Now defines only the following macros:
12397         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12398         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12399         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12401         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12402         bits/sysmacros.h and the above new macros to generate the
12403         public implementations of major, minor, and makedev.
12404         * misc/tst-makedev.c: New test.
12405         * include/sys/sysmacros.h: New wrapper.
12407         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12408         (routines): Add makedev.
12409         (tests): Add tst-makedev.
12410         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12411         gnu_dev_makedev.
12412         * posix/Makefile (headers): Remove sys/sysmacros.h.
12413         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12415         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12416         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12417         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12418         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12419         * sysdeps/unix/sysv/linux/arm/libc.abilist
12420         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12421         * sysdeps/unix/sysv/linux/i386/libc.abilist
12422         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12423         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12424         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12425         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12426         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12427         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12428         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12429         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12430         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12435         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12436         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12437         * sysdeps/unix/sysv/linux/sh/libc.abilist
12438         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12439         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12442         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12443         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12444         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12445         Add GLIBC_2.25.
12447         * include/features.h (__glibc_clang_prereq): New macro.
12448         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12449         (__attribute_deprecated_msg__): New macros.
12451 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12453         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12454         macro.
12455         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12456         * manual/arith.texi (issignaling): Document as ISO from TS
12457         18661-1:2014.
12458         (nextup): Likewise.
12459         (nextupf): Likewise.
12460         (nextupl): Likewise.
12461         (nextdown): Likewise.
12462         (nextdownf): Likewise.
12463         (nextdownl): Likewise.
12464         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12465         macro.
12466         * math/math.h: Define
12467         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12468         <bits/libc-header-start.h> instead of including <features.h>.
12469         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12470         [__USE_GNU].
12471         * math/bits/mathcalls.h (nextdown): Declare if
12472         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12473         (nextup): Likewise.
12474         (__issignaling): Likewise.
12476 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12478         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12479         check, and remove __glibc_likely hint
12480         from FP_INFINITE check.
12481         * s_csinhf.c (__csinhf): Likewise.
12483         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12484         hint from FP_INFINITE check.
12485         * s_csinhl.c (__csinhl): Likewise.
12487 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12489         * math/Makefile (libm-calls): Insert F placeholder into
12490         object names.  Move w_lgamma_compat* routines into
12491         (libm-compat-calls): New variable.
12492         (libm-compat-calls-ldouble-yes): New variable.
12493         (calls): Insert F placeholder.
12494         (generated): Redefine using new type-foreach macro call.
12495         (routines): Likewise.
12497         (types): New variable to hold a list of symbolic names
12498         for each type supported by the target machine.
12499         (libm-routines): Redefine using new types variable.
12500         (type-foreach): macro to replace fooF with the
12501         appropriately suffixed foo for each types.
12503         (type-ldouble-suffix): New variable.
12504         (type-ldouble-routines): Likewise.
12505         (type-ldouble-yes): Likewise.
12506         (type-double-suffix): Likewise.
12507         (type-double-routines): Likewise.
12508         (type-float-suffix): Likewise.
12509         (type-float-routines): Likewise.
12511         (dbl-only-routines): Remove.
12512         (long-c-yes): Likewise.
12513         (long-m-routines): Likewise.
12514         (long-m-support): Likewise.
12515         (long-m-yes): Likewise.
12516         (test-longdouble-yes): Likewise.
12518         (test-float.o): Simplify by increasing the scope of the
12519         recipe which adds libm-test.stmp to the vector types.
12520         (test-ifloat.o): Likewise.
12521         (test-float-finite.o): Likewise.
12522         (test-double.o): Likewise
12523         (test-idouble.o): Likewise.
12524         (test-double-finite.o): Likewise.
12525         (test-ldouble.o): Likewise
12526         (test-ildoubl.o): Likewise.
12527         (test-ldouble-finite.o): Likewise.
12529         (libm-tests): Redefine type tests using foreach and the
12530         list of types in types.
12532         (CPPFLAGS-test-ildoubl.c): Rename to
12533         (CPPFLAGS-test-ildouble.c): New variable
12535         * math/test-ildoubl.c: Rename to
12536         * math/test-ildouble.c: New file.
12538 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12540         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12541         Use fabsl instead of fabs.
12542         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12543         Likewise.
12544         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12545         Add long double suffix to constant to ensure proper
12546         promotion to long double.
12548 2016-08-03  Tom Tromey  <tom@tromey.com>
12550         [BZ #20311]
12551         * nptl_db/Makefile (headers): Add proc_service.h.
12552         * nptl_db/proc_service.h: Add include guard.  Use
12553         __BEGIN/__END_DECLS.
12554         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12555         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12556         arguments.
12559 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12561         [BZ #17730]
12562         Avoid using memalign for TCB allocations.
12563         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12564         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12565         Avoid alignment gap in the TLS_DTV_AT_TP case.
12566         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12567         determine the pointer to free.
12568         * nptl/tst-tls3-malloc.c: New test.
12569         * nptl/Makefile (tests): Add it.
12570         (tst-tls3-malloc): Link with libdl, libpthread.
12571         (LDFLAGS-tst-tls3-malloc): Set.
12572         (tst-tls3-malloc.out): Depend on DSO used in test.
12574 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12576         [BZ #17730]
12577         Avoid using memalign for TLS allocations.
12578         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12579         is_static member with to_free member.
12580         (union dtv): Use struct dtv_pointer.
12581         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12582         dtv_pointer instead of is_static.
12583         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12584         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12585         instead of val.
12586         (allocate_dtv_entry): New function.
12587         (allocate_and_init): Return struct dtv_pointer.  Call
12588         allocate_dtv_entry instead of __libc_memalign.
12589         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12590         instead of val.
12591         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12592         instead of is_static.  Adjust call to allocate_and_init.
12593         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12594         struct dtv_pointer instead of val.
12596 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12598         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12599         (MALLOC_ALIGN_MASK): Move ...
12600         * malloc/malloc-internal.h: ... to here.
12601         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12603 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12605         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12606         (UDP_ENCAP_GTP1U): Likewise.
12608         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12609         (PF_MAX): Update value.
12610         (AF_QIPCRTR): New macro.
12612 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12614         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12615         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12616         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12617         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12618         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12619         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12620         s_truncf-vis3, s_trunc-vis3.
12621         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12622         (CFLAGS-s_ceil-vis3.c): Likewise.
12623         (CFLAGS-s_floorf-vis3.c): Likewise.
12624         (CFLAGS-s_floor-vis3.c): Likewise.
12625         (CFLAGS-s_truncf-vis3.c): Likewise.
12626         (CFLAGS-s_trunc-vis3.c): Likewise.
12627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12628         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12629         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12634         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12635         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12636         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12637         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12638         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12640 2016-08-02  David S. Miller  <davem@davemloft.net>
12642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12643         (__nearbyint_vis3): Don't check for sNaN before float register is
12644         loaded with the incoming argument.
12645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12646         (__nearbyintf_vis3): Likewise.
12647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12648         Likewise.
12649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12650         Likewise.
12652         * string/test-strncmp.c (do_test_limit): Make sure the test data
12653         stream is aligned as required for the type "CHAR".
12654         (do_test): Likewise.
12656 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12658         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12659         by beq instructions jumping to the end of the function.
12660         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12661         clobber list. Use "i" constraint instead of "X".
12662         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12663         of "X".
12665 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12667         * bits/libc-header-start.h: New file.
12668         * Makefile (headers): Add bits/libc-header-start.h.
12669         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12670         (__GLIBC_USE): New macro.
12671         * libio/stdio.h: Define
12672         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12673         <bits/libc-header-start.h> instead of including <features.h>.
12674         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12675         (open_memstream): Likewise.
12676         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12677         (__asprintf): Likewise.
12678         (asprintf): Likewise.
12679         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12680         (getdelim): Likewise.
12681         (getline): Likewise.
12682         * string/string.h: Define
12683         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12684         <bits/libc-header-start.h> instead of including <features.h>.
12685         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12686         (strndup): Likewise.
12687         * wcsmbs/wchar.h: Define
12688         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12689         <bits/libc-header-start.h> instead of including <features.h>.
12690         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12691         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12693 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12695         Support linking against compatibility symbols, for use in tests.
12696         * include/libc-symbols.h (symbol_version_reference): New macro.
12697         (symbol_version): Use it.
12698         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12699         (compat_symbol): Use compat_symbol_reference.
12700         (compat_symbol_1, compat_symbol_2): Remove.
12701         (compat_symbol_reference, compat_symbol_reference_1)
12702         (compat_symbol_reference_2): New macro.  Use
12703         symbol_version_reference.
12705 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12707         [BZ #19469]
12708         * malloc/Makefile (CPPFLAGS): Compile tests with
12709         -DTEST_NO_MALLOPT.
12710         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12712 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12714         [BZ #20033]
12715         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12716         finite version.
12717         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12718         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12719         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12720         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12721         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12722         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12723         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12724         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12725         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12726         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12727         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12728         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12729         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12730         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12731         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12732         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12733         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12734         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12735         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12736         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12737         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12738         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12739         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12740         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12741         in zero power.
12743 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12745         [BZ #20370]
12746         * malloc/arena.c (get_free_list): Update comment.  Assert that
12747         arenas on the free list have no attached threads.
12748         (remove_from_free_list): New function.
12749         (reused_arena): Call it.
12751 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12753         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12754         when it is a NaN.
12755         [_IEEE_FP_INEXACT] Remove.
12756         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12757         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12758         when it is a NaN.
12759         [_IEEE_FP_INEXACT] Remove.
12760         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12761         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12762         when it is a NaN.
12763         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12764         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12765         when its absolute value is greater than 0x1.0p52.
12766         [_IEEE_FP_INEXACT] Remove.
12767         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12768         when its absolute value is greater than 0x1.0p23.
12769         [_IEEE_FP_INEXACT] Remove.
12771 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12773         * version.h (RELEASE): Set to "development"
12774         (VERSION): Set to 2.24.90.
12775         * NEWS: Add 2.25 section.
12777         * version.h (RELEASE): Set to "stable"
12778         (VERSION): Set to 2.24.
12779         * include/features.h (__GLIBC_MINOR__): Set to 24.
12781         * NEWS: Add 2.24 fixed bugs.
12782         * po/libc.pot: Regenerate.
12784 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12787         [$(subdir) = math] (libm-sysdep_routines): Remove.
12788         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12789         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12790         s_truncf-vis3, s_trunc-vis3.
12791         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12793         file.
12794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12816         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12819         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12820         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12821         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12822         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12824         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12825         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12827         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12828         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12829         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12830         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12831         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12832         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12833         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12834         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12835         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12836         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12838 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12840         [BZ #20384]
12841         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12842         test-double-libmvec-sincos-avx-main.o,
12843         test-double-libmvec-sincos-avx2-main.o,
12844         test-double-libmvec-sincos-main.o,
12845         test-float-libmvec-sincosf-avx-main.o,
12846         test-float-libmvec-sincosf-avx2-main.o and
12847         test-float-libmvec-sincosf-main.o.
12848         test-float-libmvec-sincosf-avx512-main.o.
12849         ($(objpfx)test-double-libmvec-sincos): Also link with
12850         $(objpfx)test-double-libmvec-sincos-main.o.
12851         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12852         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12853         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12854         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12855         ($(objpfx)test-float-libmvec-sincosf): Also link with
12856         $(objpfx)test-float-libmvec-sincosf-main.o.
12857         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12858         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12859         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12860         test-double-libmvec-sincos-avx512-main.o and
12861         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12862         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12863         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12864         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12865         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12866         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12867         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12868         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12869         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12870         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12871         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12872         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12873         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12874         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12875         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12876         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12877         -DREQUIRE_AVX2.
12878         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12879         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12880         -DREQUIRE_AVX512F.
12881         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12882         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12883         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12884         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12885         file.
12886         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12887         Likewise.
12888         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12889         Likewise.
12890         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12891         Likewise.
12892         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12893         Likewise.
12894         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12895         Likewise.
12896         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12897         Likewise.
12898         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12899         Likewise.
12901 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12903         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12905 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12907         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12908         and typo in a comment about AT_HWCAP entry.
12910 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12912         * sysdeps/aarch64/libm-test-ulps: Updated.
12914 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12916         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12917         of r13 as it is not restored in mvcle case.
12919 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12921         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12922         Rename "ret" to "__ret".
12923         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12924         inline_syscall5, inline_syscall6): Likewise.
12926 2016-07-19   Will Newton  <will.newton@gmail.com>
12928         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12929         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12930         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12931         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12932         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12934 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12936         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12937         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12938         -mfpmath=387 with $(rtld-CFLAGS).
12939         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12940         $(rtld-CFLAGS).
12942 2016-07-18   Ross Burton  <ross.burton@intel.com>
12943              Khem Raj  <raj.khem@gmail.com>
12945         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12946         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12947         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12948         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12949         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12950         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12951         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12952         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12953         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12954         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12955         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12956         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12957         R_METAG_TLS_DTPOFF): New.
12959 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12960             Matt Clay  <mclay@lycos.com>
12962         [BZ #20357]
12963         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12964         to call __mpsin/__mpcos and to negate values.
12965         * math/auto-libm-test-in: Add test.
12966         * math/auto-libm-test-out: Regenerate.
12968 2016-07-18  Zack Weinberg  <zackw@panix.com>
12970         * grp/Makefile: Don't install the internal header grp-merge.h.
12972 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12974         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12976 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12978         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12980 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12982         [BZ #15368]
12983         * sysdeps/unix/sysv/linux/nptl-signals.h
12984         (__nptl_clear_internal_signals): New function.
12985         (__libc_signal_block_all): Likewise.
12986         (__libc_signal_block_app): Likewise.
12987         (__libc_signal_restore_set): Likewise.
12988         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12989         implementation.
12990         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
12991         the cached pid/tid value in pthread structure.
12993 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
12995         [BZ #20347]
12996         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12998 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13000         [BZ #20348]
13001         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13002         preadv64, pwrite64 and pwritev64.
13004 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13006         [BZ #20350]
13007         * posix/tst-preadwrite.c: Renamed to ...
13008         * posix/tst-preadwrite-common.c: This.
13009         (PREAD): Removed.
13010         (PWRITE): Likewise.
13011         (STRINGIFY): Likewise.
13012         (STRINGIFY2): Likewise.
13013         (do_prepare): Make it static and remove function arguments.
13014         (do_test): Likewise.
13015         (PREPARE): Updated.
13016         (TEST_FUNCTION): New.
13017         (name): Make it static.
13018         (fd): Likewise.
13019         (do_prepare): Use create_temp_file.
13020         (do_test): Renamed to ...
13021         (do_test_with_offset): This.  Make it static and accept offset.
13022         Properly check return value of PWRITE and PREAD.  Return bytes
13023         read.  Don't close fd nor unlink name.
13024         * posix/tst-preadwrite.c: Rewrite.
13025         * posix/tst-preadwrite64.c: Likewise.
13027 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13029         [BZ #20309]
13030         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13031         -mtls-dialect=gnu2 works.
13032         * configure: Regenerated.
13033         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13034         (tests): Add tst-gnu2-tls1.
13035         (modules-names): Add tst-gnu2-tls1mod.
13036         ($(objpfx)tst-gnu2-tls1): New.
13037         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13038         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13039         * elf/tst-gnu2-tls1.c: New file.
13040         * elf/tst-gnu2-tls1mod.c: Likewise.
13041         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13042         bytes for push in the PLT entry to align the stack.
13044 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13046         [BZ #20349]
13047         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13049 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13051         [BZ #18707]
13052         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13053         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13055 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13057         * sysdeps/unix/sysv/linux/sysdep.h
13058         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13059         guards.
13060         * misc/tst-preadvwritev-common.c: New file.
13061         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13062         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13063         a check for files larger than 2GB.
13065         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13066         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13067         * sysdeps/unix/sysv/linux/pread.c
13068         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13069         __OFF_T_MATCHES_OFF64_T.
13070         * sysdeps/unix/sysv/linux/pread64.c
13071         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13072         * sysdeps/unix/sysv/linux/preadv.c
13073         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13074         * sysdeps/unix/sysv/linux/preadv64.c
13075         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13076         * sysdeps/unix/sysv/linux/pwrite.c
13077         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13078         * sysdeps/unix/sysv/linux/pwrite64.c
13079         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13080         * sysdeps/unix/sysv/linux/pwritev.c
13081         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13082         * sysdeps/unix/sysv/linux/pwritev64.c
13083         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13085 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13087         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13088         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13090 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13092         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13094 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13096         [BZ #20240]
13097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13098         (CFLAGS-s_modf-ppc32.c): New variable.
13099         (CFLAGS-s_modff-ppc32.c): Likewise.
13100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13101         (CFLAGS-s_modf-ppc64.c): Likewise.
13102         (CFLAGS-s_modff-ppc64.c): Likewise.
13104 2016-07-07  Andreas Schwab  <schwab@suse.de>
13106         [BZ #20263]
13107         * nptl/tst-robust10.c: New test.
13108         * nptl/Makefile (tests): Add tst-robust10.
13110 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13112         [BZ #20263]
13113         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13115 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13117         * sysdeps/s390/linkmap.h (struct link_map_machine):
13118         Remove member gotplt and add member jmprel.
13119         * sysdeps/s390/s390-32/dl-machine.h
13120         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13121         instead of gotplt with &got[3].
13122         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13123         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13125 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13127         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13129 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13131         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13132         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13133         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13134         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13135         * libio/vtables.c (_IO_vtable_check)
13136         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13137         * libio/libioP.h (IO_set_accept_foreign_vtables)
13138         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13140 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13142         [BZ #20314]
13143         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13144         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13145         $(common-objpfx)cmath.
13146         ($(common-objpfx)cstdlib): New target.
13147         ($(common-objpfx)cmath): Likewise.
13149 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13151         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13153 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13155         [BZ #20327]
13156         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13157         are not part of the string.
13159 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13161         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13162         * nptl/tst-cancel4-common.h (fifoname): New variable.
13163         (fifofd): Likewise.
13164         (cl_fifo): New function.
13165         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13166         SIGINT.
13167         (tf_open): Add early cancel test.
13169 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13171         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13173 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13175         * sysdeps/generic/ldsodefs.h
13176         (dl_symbol_visibility_binds_local_p): New inline function.
13177         * elf/dl-addr.c (determine_info): Treat hidden and internal
13178         symbols as local.
13179         * elf/dl-lookup.c (do_lookup_x): Likewise.
13180         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13182 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13184         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13185         invalid exception for a sNaN input.
13186         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13187         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13188         (__nearbyint_vis3): Likewise
13189         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13190         (__nearbyintf_vis3): Likewise
13191         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13192         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13193         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13194         Likewise.
13195         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13196         Likewise.
13198 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13200         [BZ #20139]
13201         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13202         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13203         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13204         2.24 or above.
13205         (HAVE_AVX512_ASM_SUPPORT): Removed.
13206         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13207         * sysdeps/x86_64/configure: Regenerated.
13208         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13209         check unconditional.
13210         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13211         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13212         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13213         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13214         Likewise.
13215         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13216         Likewise.
13217         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13218         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13219         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13220         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13221         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13222         Likewise.
13223         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13224         Likewise.
13225         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13226         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13228         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13229         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13230         Likewise.
13231         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13232         Likewise.
13233         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13234         Likewise.
13235         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13236         Likewise.
13237         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13238         Likewise.
13239         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13240         Likewise.
13241         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13242         Likewise.
13243         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13244         Likewise.
13245         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13246         Likewise.
13247         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13248         Likewise.
13249         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13250         Likewise.
13252 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13254         [BZ #20024]
13255         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13256         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13257         of this implementation of vector function.
13258         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13259         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13260         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13261         Likewise.
13262         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13263         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13264         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13265         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13266         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13267         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13268         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13269         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13270         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13271         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13272         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13273         for testing vector sincos with fixed ABI.
13274         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13275         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13276         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13277         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13278         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13279         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13280         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13281         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13282         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13283         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13284         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13285         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13286         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13287         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13288         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13289         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13291 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13293         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13295 2016-06-30  Anton Blanchard  <anton@samba.org>
13297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13298         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13299         s_sinf-ppc64.
13300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13303         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13305 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13308         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13309         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13310         e_expf-ppc64.
13311         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13312         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13313         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13314         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13316 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13318         [BZ #20277]
13319         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13320         when SHARED is defined.
13322 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13324         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13325         (index_arch_Prefer_ERMS): Likewise.
13326         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13327         __memcpy_erms for Prefer_ERMS.
13328         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13329         (__memmove_erms): Enabled for libc.a.
13330         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13331         __memmove_erms or Prefer_ERMS.
13332         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13333         __mempcpy_erms for Prefer_ERMS.
13334         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13335         __memset_erms for Prefer_ERMS.
13337 2016-06-30  Andreas Schwab  <schwab@suse.de>
13339         [BZ #20262]
13340         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13341         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13342         of memory.
13344 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13346         [BZ #18645]
13347         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13348         (test-extras): Add tst-cleanupx4aux.
13349         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13350         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13351         tst-cleanupx4aux.o.
13352         * nptl/tst-cleanupx4aux.c: New file.
13354 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13356         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13358 2016-06-29  Andreas Schwab  <schwab@suse.de>
13360         [BZ #20260]
13361         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13362         address before the beginning of the string as an integer to avoid
13363         array-bounds warning.
13365 2016-06-28  Richard Henderson  <rth@redhat.com>
13367         * elf/elf.h (EM_BPF): New.
13368         (EM_NUM): Update.
13369         (R_BPF_NONE, R_BPF_MAP_FD): New.
13371         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13372         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13373         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13374         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13375         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13376         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13377         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13378         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13379         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13380         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13381         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13382         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13383         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13384         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13385         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13386         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13387         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13388         (EM_NUM): Update.
13390 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13392         [BZ #18960]
13393         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13394         Set _nl_current_LC_CATEGORY_used to two instead of one.
13396 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13398         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13399         (do_test): ... this.
13400         (TEST_FUNCTION): New macro.
13401          Include test-skeleton.c.
13402         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13403         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13405 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13407         [BZ #15479]
13408         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13409         floating-point environment rather than just control word.
13410         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13411         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13412         floating-point environment, with "invalid" exceptions merged in,
13413         rather than just control word.
13414         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13415         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13416         "inexact" exceptions.
13418         [BZ #15479]
13419         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13420         floating-point environment rather than just control word.
13421         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13422         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13423         floating-point environment, with "invalid" exceptions merged in,
13424         rather than just control word.
13425         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13426         * math/libm-test.inc (floor_test_data): Do not allow spurious
13427         "inexact" exceptions.
13429         [BZ #15479]
13430         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13431         floating-point environment rather than just control word.
13432         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13433         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13434         floating-point environment, with "invalid" exceptions merged in,
13435         rather than just control word.
13436         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13437         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13438         "inexact" exceptions.
13440 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13442         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13443         __libc_vfork.
13444         (__vfork) [IS_IN (libc)]: Remove alias.
13445         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13446         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13447         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13449 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13451         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13452         of atomic_compare_and_exchange_bool_rel.
13453         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13454         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13455         catomic_compare_and_exchange_bool_rel): Remove.
13456         * sysdeps/aarch64/atomic-machine.h
13457         (atomic_compare_and_exchange_bool_rel): Likewise.
13458         * sysdeps/alpha/atomic-machine.h
13459         (atomic_compare_and_exchange_bool_rel): Likewise.
13460         * sysdeps/arm/atomic-machine.h
13461         (atomic_compare_and_exchange_bool_rel): Likewise.
13462         * sysdeps/mips/atomic-machine.h
13463         (atomic_compare_and_exchange_bool_rel): Likewise.
13464         * sysdeps/microblaze/atomic-machine.h
13465         ( __arch_compare_and_exchange_bool_8_rel,
13466         __arch_compare_and_exchange_bool_16_rel): Likewise.
13467         * sysdeps/powerpc/atomic-machine.h
13468         ( __arch_compare_and_exchange_bool_8_rel,
13469         __arch_compare_and_exchange_bool_16_rel): Likewise.
13470         * sysdeps/powerpc/powerpc32/atomic-machine.h
13471         ( __arch_compare_and_exchange_bool_32_rel,
13472         __arch_compare_and_exchange_bool_64_rel): Likewise.
13473         * sysdeps/powerpc/powerpc64/atomic-machine.h
13474         ( __arch_compare_and_exchange_bool_32_rel,
13475         __arch_compare_and_exchange_bool_64_rel): Likewise.
13476         * sysdeps/tile/atomic-machine.h
13477         (atomic_compare_and_exchange_bool_rel): Likewise.
13479 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13481         [BZ #20296]
13482         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13483         when either argument is a NaN.
13484         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13485         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13487         * math/libm-test.inc (snan_value_ld): New macro.
13488         (isgreater_test_data): Add sNaN tests.
13489         (isgreaterequal_test_data): Likewise.
13490         (isless_test_data): Likewise.
13491         (islessequal_test_data): Likewise.
13492         (islessgreater_test_data): Likewise.
13493         (isunordered_test_data): Likewise.
13494         (nextafter_test_data): Likewise.
13495         (nexttoward_test_data): Likewise.
13496         (remainder_test_data): Likewise.
13497         (remquo_test_data): Likewise.
13498         (significand_test_data): Likewise.
13499         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13501 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13503         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13504         environment macros are defined.
13505         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13507 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13509         [BZ #20191]
13510         Implement vtable verification in libio.
13511         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13512         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13513         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13514         _IO_new_file_init_internal instead of _IO_file_init.
13515         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13516         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13517         * libio/Makefile (routines): Add vtables.
13518         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13519         (_IO_init): Remove, not for internal use.
13520         (_IO_init_internal): Declare, internal replacement for _IO_init.
13521         (_IO_file_init): Remove, not for internal use.
13522         (_IO_new_file_init): Remove, not for internal use.
13523         (_IO_new_file_init_internal): Declare, internal replacement for
13524         _IO_new_file_init.
13525         (_IO_old_file_init): Remove, not for internal use.
13526         (_IO_old_file_init_internal): Declare, internal replacement for
13527         _IO_old_file_init.
13528         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13529         internal use.
13530         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13531         Declare.
13532         (libio_vtable): New macro.
13533         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13534         functions.
13535         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13536         _IO_new_file_init.
13537         (_IO_new_file_init): New externally visible wrapper which disables
13538         vtable verification.
13539         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13540         Define as vtables.
13541         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13542         (_IO_init): New externally visible wrapper which disables
13543         vtable verification.
13544         * libio/iofdopen.c (_IO_new_fdopen): Call
13545         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13546         comment.
13547         * libio/iofopen.c (__fopen_internal): Call
13548         _IO_new_file_init_internal instead of _IO_file_init.
13549         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13550         Define as vtables.
13551         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13552         _IO_new_file_init_internal instead of _IO_file_init.
13553         * libio/iopopen.c (_IO_new_popen): Likewise.
13554         (_IO_proc_jumps): Define as vtable.
13555         * libio/iovdprintf.c (_IO_vdprintf): Call
13556         _IO_new_file_init_internal instead of _IO_file_init.
13557         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13558         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13559         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13560         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13561         _IO_old_file_init.
13562         (_IO_old_file_init): New externally visible wrapper which disables
13563         vtable verification.
13564         (_IO_old_file_jumps): Define as vtable.
13565         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13566         _IO_old_file_init_internal instead of _IO_old_file_init.
13567         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13568         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13569         (_IO_old_proc_jumps): Define as vtable.
13570         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13571         Define as vtables.
13572         * libio/vtables.c: New file.
13573         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13574         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13575         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13576         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13577         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13578         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13579         instead of _IO_init.
13581 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13583         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13585 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13587         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13588         potentially unused.
13590 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13592         * test-skeleton.c (write_message): New function.
13593         * malloc/tst-mallocfork2.c (write_message): Remove.
13594         * debug/tst-longjmp_chk2.c (write_indented): New function.
13595         (write_message): Remove.
13596         (stackoverflow_handler): Call write_indented.
13598 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13600         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13601         "inexact" exceptions after fnstenv.
13602         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13603         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13604         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13606 2015-06-22  Zack Weinberg  <zackw@panix.com>
13608         * sysdeps/generic/bits/hwcap.h: Moved to ...
13609         * bits/hwcap.h: Here.
13611 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13613         * sysdeps/aarch64/memcpy.S (memcpy):
13614         Further tuning for performance.
13616 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13618         [BZ #20284]
13619         * malloc/arena.c (reused_arena): Do not return NULL if we start
13620         out with a non-corrupted arena.
13622 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13624         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13625         * misc/tst-preadvwritev.c: New file.
13626         * misc/tst-preadvwritev64.c: Likewise.
13627         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13628         usage.
13629         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13630         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13631         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13632         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13634 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13636         [BZ #19654]
13637         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13638         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13639         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13640         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13641         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13642         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13643         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13644         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13645         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13646         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13647         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13648         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13649         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13650         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13651         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13652         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13653         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13654         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13655         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13656         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13657         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13658         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13659         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13660         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13661         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13662         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13664 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13666         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13667         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13669 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13671         * sysdeps/aarch64/memcpy.S (memcpy):
13672         Rewrite of optimized memcpy and memmove.
13673         * sysdeps/aarch64/memmove.S (memmove): Remove
13674         memmove code (merged into memcpy.S).
13676 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13678         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13679         * sysdeps/generic/dl-dtv.h: New file.
13680         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13681         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13682         (dtv_t): Remove.
13683         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13684         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13685         (dtv_t): Remove.
13686         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13687         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13688         (dtv_t): Remove.
13689         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13690         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13691         (dtv_t): Remove.
13692         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13693         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13694         (dtv_t): Remove.
13695         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13696         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13697         (dtv_t): Remove.
13698         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13699         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13700         (dtv_t): Remove.
13701         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13702         (dtv_t): Remove.
13703         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13704         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13705         (dtv_t): Remove.
13706         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13707         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13708         (dtv_t): Remove.
13709         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13710         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13711         (dtv_t): Remove.
13712         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13713         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13714         (dtv_t): Remove.
13715         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13716         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13717         (dtv_t): Remove.
13718         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13719         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13720         (dtv_t): Remove.
13721         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13722         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13723         (dtv_t): Remove.
13724         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13725         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13726         (dtv_t): Remove.
13728 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13730         Revert symbol poisoning of  __malloc_initialize_hook.
13731         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13732         poisoning.
13733         * malloc/Makefile: Remove un-poisoning.
13734         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13735         instead of old__malloc_initialize_hook.
13736         * malloc/malloc-hooks.h: Likewise.
13737         * malloc/malloc.c: Likewise.
13738         * malloc/mcheck-init.c: Likewise.
13740 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13742         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13744 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13746         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13747         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13748         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13749         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13751 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13753         * NEWS: Mention addition of nextup and nextdown.
13754         * manual/arith.texi: Document nextup and nextdown.
13755         * manual/libm-err-tab.pl: Add nextup and nextdown.
13756         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13757         * math/Versions (libm): Add GLIBC_2.24.
13758         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13759         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13760         Add new test.
13761         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13762         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13763         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13764         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13765         (nextup_test_data): Likewise.
13766         (nextdown_test_data): Likewise.
13767         * math/s_nextdown.c: New file.
13768         * math/s_nextdownf.c: Likewise.
13769         * math/s_nextdownl.c: Likewise.
13770         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13771         F(nextup): New function.
13772         F(nextdown): Likewise.
13773         * math/tgmath.h: Add nextup and nextdown.
13774         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13775         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13776         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13777         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13778         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13779         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13780         Add nextup and nextdown.
13781         (CFLAGS-nldbl-nextup.c): New variable.
13782         (CFLAGS-nldbl-nextdown.c): Likewise.
13783         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13784         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13785         * sysdeps/nacl/libm.abilist: Update.
13786         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13787         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13788         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13789         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13790         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13791         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13792         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13793         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13794         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13795         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13796         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13797         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13800         Likewise.
13801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13803         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13804         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13805         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13806         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13807         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13810         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13811         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13812         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13813         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13815 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13817         * manual/pattern.texi: Fix typos & grammar errors.
13819 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13821         * manual/search.texi: Fix typos & grammar errors.
13823 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13825         * manual/message.texi: Fix typos & grammar errors.
13827 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13829         * manual/contrib.texi: Fix spelling typos.
13830         * manual/crypt.texi: Likewise.
13831         * manual/filesys.texi: Likewise.
13832         * manual/locale.texi: Likewise.
13833         * manual/message.texi: Likewise.
13834         * manual/nss.texi: Likewise.
13835         * manual/string.texi: Likewise.
13837 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13839         * manual/locale.texi: Fix typos & grammar errors.
13841 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13843         * manual/charset.texi: Fix typos & grammar errors.
13845 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13847         * manual/string.texi: Fix typos.
13849 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13851         * manual/ctype.texi: Fix typos.
13853 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13855         * manual/memory.texi: Fix various typos & grammar errors.
13857 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13859         [BZ #20255]
13860         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13861         * math/libm-test.inc (fdim_test_data): Add another test.
13863         [BZ #6796]
13864         [BZ #20255]
13865         [BZ #20256]
13866         * math/s_fdim.c: Include <math_private.h>.
13867         (__fdim): Use math_narrow_eval on result.
13868         * math/s_fdimf.c: Include <math_private.h>.
13869         (__fdimf): Use math_narrow_eval on result.
13870         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13871         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13872         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13873         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13874         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13875         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13876         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13877         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13878         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13879         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13880         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13881         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13882         overflow.  Add sNaN tests.
13884         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13885         fpclassify.
13886         * math/s_fdimf.c (__fdimf): Likewise.
13887         * math/s_fdiml.c (__fdiml): Likewise.
13889 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13891         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13892         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13893         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13894         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13895         ifunc'ed strcasecmp/strncasecmp.
13896         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13897         [EALIGN]: Removed.
13898         [END]: Likewise.
13899         [__strcasecmp]: Define instead of the above to control symbol name.
13900         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13901         for __strcasecmp_power8.
13902         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13903         for __strncasecmp_power8.
13904         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13905         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13906         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13907         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13908         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13909         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13911 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13913         [BZ #20252]
13914         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13915         arguments when second argument is a NaN.
13916         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13917         qNaN tests.
13919         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13920         (conj_test_data): Likewise.
13921         (copysign_test_data): Likewise.
13922         (creal_test_data): Likewise.
13923         (fma_test_data): Likewise.
13924         (fmod_test_data): Likewise.
13926         [BZ #20250]
13927         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13928         itself.
13929         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13930         zero input to itself.
13931         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13932         Likewise.
13933         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13934         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13935         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13936         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13937         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13939 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13941         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13942         * nptl/tst-cancel4-common.c: New file.
13943         * nptl/tst-cancel4-common.h: Likewise.
13944         * nptl/tst-cancel4.c: Move common definitions to
13945         tst-cancel4-common.{c,h} file.
13946         * nptl/tst-cancel4_1.c: New test.
13947         * nptl/tst-cancel4_2.c: New test.
13949 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13951         [BZ #20248]
13952         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13953         (write_message): New function.
13954         (stackoverflow_handler): Call it instead of printf, to avoid
13955         excessive stack usage by printf.
13956         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13958 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13960         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13961         (prio_inherit_missing): Remove define.
13962         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13963         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13964         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13965         Likewise.
13966         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13967         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13968         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13969         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13970         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13971         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13973 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13975         [BZ #19670]
13976         [BZ #19672]
13978         * io/test-lfs.c (do_prepare): Use xmalloc.
13979         * io/tst-fcntl.c (do_prepare): Likewise.
13980         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13981         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13982         * login/tst-utmp.c (do_prepare): Likewise.
13983         * posix/tst-exec.c (do_prepare): Likewise.
13984         * posix/tst-pathconf.c (prepare): Likewise.
13985         * posix/tst-spawn.c (do_prepare): Likewise.
13986         * posix/tst-truncate.c (do_prepare): Likewise.
13987         * rt/tst-aio.c (do_prepare): Likewise.
13988         * rt/tst-aio64.c (do_prepare): Likewise.
13990 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13992         [BZ #20237]
13993         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
13994         (get*ent): Set entidx to NULL during initialization.  If entidx is
13995         NULL, start iteration from the beginning.
13997 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13999         * malloc/malloc.c (musable): Return correct size for dumped fake
14000         mmapped chunk.
14002 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14004         [BZ #20222]
14005         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14006         (_IO_cookie_write): Likewise.
14007         (_IO_cookie_seek): Likewise.
14008         (_IO_cookie_close): Likewise.
14009         (_IO_old_cookie_seek): Likewise.
14010         (set_callbacks): New function.
14011         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14013 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14015         * locale/programs/localedef.c (oldstyle_tables): Remove.
14016         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14018 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14020         [BZ #20240]
14021         * math/Makefile (CFLAGS-s_modf.c): New variable.
14022         (CFLAGS-s_modff.c): Likewise.
14023         (CFLAGS-s_modfl.c): Likewise.
14024         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14026 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14028         [BZ #20215]
14029         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14030         [!__GNUC_PREREQ (3,2)]: Likewise.
14032 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14034         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14035         (msghdr.msg_controllen): Likewise.
14036         (cmsghdr.cmsg_len): Likewise.
14037         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14038         ptw-oldsendmsg.
14039         (CFLAGS-oldrecvmsg.c): Remove rule.
14040         (CFLAGS-oldsendmsg.c): Likewise.
14041         (CFLAGS-recvmsg.c): Add rule.
14042         (CFLAGS-sendmsg.c): Likewise.
14043         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14044         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14045         (CFLAGS-recvmsg.c): Remove rule.
14046         (CFLAGS-sendmsg.c): Likewise.
14047         (CFLAGS-oldrecvmsg.c): Likewise.
14048         (CFLAGS-oldsendmsg.c): Likewise.
14049         (CFLAGS-recvmmsg.c): Likewise.
14050         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14051         to kernel defined interfaces.
14052         (msghdr.msg_controllen): Likewise.
14053         (cmsghdr.cmsg_len): Likewise.
14054         (msghdr.__glibc_reserved1): Remove member.
14055         (msghdr.__glibc_reserved2): Likewise.
14056         (cmsghdr.__glibc_reserved1): Likewise.
14057         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14058         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14059         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14060         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14061         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14062         version.
14063         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14064         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14065         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14066         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14067         Remove recvmsg and sendmsg.
14068         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14069         Likewise.
14070         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14071         Likewise.
14072         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14073         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14074         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14075         Likewise.
14076         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14077         Likewise.
14078         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14079         [libc] (GLIBC_2.24): Likewise.
14080         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14081         Likewise.
14082         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14083         Likewise.
14084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14085         [libc] (GLIBC_2.24): Likewise.
14086         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14087         Likewise.
14088         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14089         Likewise.
14090         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14091         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14092         Likewise.
14093         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14094         Likewise.
14095         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14096         Likewise.
14097         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14098         Likewise.
14099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14100         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14101         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14102         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14103         version for {recv,send,recm,sendm}msg.
14104         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14105         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14106         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14107         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14108         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14109         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14110         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14111         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14112         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14113         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14114         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14115         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14117         Likewise.
14118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14119         Likewise.
14120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14122         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14123         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14124         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14125         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14126         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14127         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14130         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14131         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14132         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14134 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14136         [BZ #19564]
14137         Remove __malloc_initialize_hook from the API.
14138         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14139         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14140         #pragma GCC poison.
14141         * malloc/malloc-hooks.h: New file.
14142         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14143         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14144         (old__malloc_initialize_hook): Rename from
14145         __malloc_initialize_hook to evade poisoning.  Turn into compat
14146         symbol.
14147         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14148         __malloc_initialize_hook.
14149         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14150         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14151         * manual/memory.texi (Hooks for Malloc): Remove
14152         __malloc_initialize_hook.  Adjust hook example.
14154 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14156         [BZ #20235]
14157         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14158         itself.
14159         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14160         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14162         [BZ #20234]
14163         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14164         infinity or NaN input to itself.
14166         [BZ #20233]
14167         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14168         to itself.
14170         [BZ #20232]
14171         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14172         itself.
14174 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14176         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14177         __libc_start_main via GOT.
14179 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14181         * sysdeps/x86_64/memcopy.h: New file.
14182         * sysdeps/x86_64/wordcopy.c: Likewise.
14184 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14186         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14187         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14188         <cstdlib>.
14189         (optimization_barrier): New.
14190         (do_test): Use it.  Call quick_exit in the global namespace.
14191         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14192         instead of <cstdlib>, <thread>.
14193         (optimization_barrier): New.
14194         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14195         Call quick_exit in the global namespace.
14196         (do_test): Call optimization_barrier.  Use pthread_create,
14197         pthread_join instead of std::thread.
14199 2016-06-09  Andreas Schwab  <schwab@suse.de>
14201         [BZ #19755]
14202         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14203         new entries in auto-propagate mode.
14204         * nscd/grpcache.c (cache_addgr): Likewise.
14206 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14208         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14209         New functions.
14210         (add_temp_file): Use them.
14212 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14214         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14216 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14218         [BZ #20229]
14219         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14220         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14221         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14223         [BZ #20228]
14224         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14225         itself.
14226         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14227         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14229         [BZ #20227]
14230         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14231         itself.
14232         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14233         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14234         * math/libm-test.inc (log_test_data): Add sNaN tests.
14236         [BZ #20226]
14237         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14238         itself.
14239         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14240         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14241         (exp10_test_data): Likewise.
14242         (expm1_test_data): Likewise.
14244         [BZ #20225]
14245         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14246         itself.
14247         * math/s_ldexpf.c (__ldexpf): Likewise.
14248         * math/s_ldexpl.c (__ldexpl): Likewise.
14249         * math/w_scalbln.c (__w_scalbln): Likewise.
14250         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14251         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14252         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14253         (scalbln_test_data): Likewise.
14255         [BZ #20224]
14256         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14257         argument to itself.
14258         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14260 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14262         [BZ #19776]
14263         * sysdeps/x86_64/memcpy.S: Make it dummy.
14264         * sysdeps/x86_64/mempcpy.S: Likewise.
14265         * sysdeps/x86_64/memmove.S: New file.
14266         * sysdeps/x86_64/memmove_chk.S: Likewise.
14267         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14268         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14269         * sysdeps/x86_64/memmove.c: Removed.
14270         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14271         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14272         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14273         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14274         Likewise.
14275         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14276         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14277         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14278         memcpy-sse2-unaligned, memmove-avx-unaligned,
14279         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14281         (__libc_ifunc_impl_list): Replace
14282         __memmove_chk_avx512_unaligned_2 with
14283         __memmove_chk_avx512_unaligned.  Remove
14284         __memmove_chk_avx_unaligned_2.  Replace
14285         __memmove_chk_sse2_unaligned_2 with
14286         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14287         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14288         with __memmove_avx512_unaligned.  Replace
14289         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14290         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14291         with __memcpy_chk_avx512_unaligned.  Remove
14292         __memcpy_chk_avx_unaligned_2.  Replace
14293         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14294         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14295         Replace __memcpy_avx512_unaligned_2 with
14296         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14297         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14298         with __mempcpy_chk_avx512_unaligned.  Remove
14299         __mempcpy_chk_avx_unaligned_2.  Replace
14300         __mempcpy_chk_sse2_unaligned_2 with
14301         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14302         Replace __mempcpy_avx512_unaligned_2 with
14303         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14304         Replace __mempcpy_sse2_unaligned_2 with
14305         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14306         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14307         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14308         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14309         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14310         (ENTRY): Removed.
14311         (END): Likewise.
14312         (ENTRY_CHK): Likewise.
14313         (libc_hidden_builtin_def): Likewise.
14314         Don't include ../memcpy.S.
14315         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14316         __memcpy_chk_avx512_unaligned_erms and
14317         __memcpy_chk_avx512_unaligned.  Use
14318         __memcpy_chk_avx_unaligned_erms and
14319         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14320         Default to __memcpy_chk_sse2_unaligned.
14321         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14322         Change function suffix from unaligned_2 to unaligned.
14323         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14324         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14325         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14326         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14327         (ENTRY): Removed.
14328         (END): Likewise.
14329         (ENTRY_CHK): Likewise.
14330         (libc_hidden_builtin_def): Likewise.
14331         Don't include ../mempcpy.S.
14332         (mempcpy): New.  Add a weak alias.
14333         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14334         __mempcpy_chk_avx512_unaligned_erms and
14335         __mempcpy_chk_avx512_unaligned.  Use
14336         __mempcpy_chk_avx_unaligned_erms and
14337         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14338         Default to __mempcpy_chk_sse2_unaligned.
14340 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14342         [BZ #19881]
14343         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14344         into ...
14345         * sysdeps/x86_64/memset.S: This.
14346         (__bzero): Removed.
14347         (__memset_tail): Likewise.
14348         (__memset_chk): Likewise.
14349         (memset): Likewise.
14350         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14351         defined.
14352         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14353         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14354         (__memset_zero_constant_len_parameter): Check SHARED instead of
14355         PIC.
14356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14357         memset-avx2 and memset-sse2-unaligned-erms.
14358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14359         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14360         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14361         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14362         (__bzero): Enabled.
14363         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14364         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14365         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14366         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14367         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14368         (memset): Removed.
14369         (__memset_chk): Likewise.
14370         (MEMSET_SYMBOL): New.
14371         (libc_hidden_builtin_def): Replace __memset_sse2 with
14372         __memset_sse2_unaligned.
14373         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14374         __memset_chk_sse2 and __memset_chk_avx2 with
14375         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14376         Use __memset_chk_sse2_unaligned_erms or
14377         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14378         __memset_chk_avx512_unaligned_erms and
14379         __memset_chk_avx512_unaligned.
14381 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14383         * math/gen-auto-libm-test.c (fp_format_desc): remove
14384         suffix member.
14385         (output_generic_value): Remove usage of suffix member,
14386         and the resulting unuse of the fp_format argument.
14387         (output_for_one_input_case): Remove unused fp_format
14388         parameter.
14390         * math/auto-libm-test-out: Regenerate.
14392         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14393         usage with TEST_COND_ibm128.
14394         (TEST_COND_flt_32): Remove.
14395         (TEST_COND_dbl_64): Remove.
14396         (TEST_COND_ldbl_96_intel): Remove.
14397         (TEST_COND_ldbl_96_m68k): Remove.
14398         (TEST_COND_ldbl_128): Remove.
14400 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14402         * auto-libm-test-in:
14403         Replace flt-32 usage with binary32.
14404         Replace dbl-64 usage with binary64.
14405         Replace ldbl-intel-96 usage with intel96.
14406         Replace ldbl-m68k-96 usage with m68k96.
14407         Replace ldbl-128ibm usage with ibm128.
14408         Replace ldbl-128 usage with binary128.
14410         * auto-libm-test-out: Regenerate.
14412 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14414         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14415         (parse_ulps): Dynamically generate type name matching
14416         string from all_floats.
14417         (get_ulps): Generate the ulps as an array instead.
14418         (output_ulps): Dynamically compose the type based
14419         on the number of supported formats, and print
14420         the indices as type specific helper macros.
14422         * math/libm-test.inc: Remove comment about CHOOSE.
14423         (ulp_data): Generate the type in libm-test-ulps.h.
14424         (ULP_IDX): New macro.
14425         (find_ulps): Update usage of max_ulp.
14427         * math/test-double-vlen2.h (CHOOSE): Remove.
14428         * math/test-double-vlen4.h (CHOOSE): Likewise.
14429         * math/test-double-vlen8.h (CHOOSE): Likewise.
14430         * math/test-float.c (CHOOSE): Likewise.
14431         * math/test-float-finite.c (CHOOSE): Likewise.
14432         * math/test-double.c (CHOOSE): Likewise.
14433         * math/test-double-finite.c (CHOOSE): Likewise.
14434         * math/test-idouble.c (CHOOSE): Likewise.
14435         * math/test-ifloat.c (CHOOSE): Likewise.
14436         * math/test-ildoubl.c (CHOOSE): Likewise.
14437         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14438         * math/test-ldouble.c (CHOOSE): Likewise.
14440         * math/test-float.h (TEST_FLOAT): Remove.
14441         * math/test-double.h (TEST_DOUBLE): Likewise.
14442         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14444 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14446         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14447         (parse_args): Strip C suffix from floating point literals
14448         typed with 'f' and wrap them with LIT().
14450         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14451         (test_ff_f_data_nexttoward): Rename to
14452         (test_fj_f_data): New struct.
14453         (nexttoward_test_data): Relabel tests as
14454         TEST_fj_f instead of TEST_ff_f.
14456 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14458         Emacs bug 23726.
14459         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14460         (__libc_realloc): Correct size computation for dumped fake mmapped
14461         chunks.
14463 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14465         [BZ #20219]
14466         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14467         to itself.
14468         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14470         [BZ #20218]
14471         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14472         to itself.
14473         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14475 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14477         [BZ #20195]
14478         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14479         check to ...
14480         (init_cpu_features): Here.
14482 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14484         [BZ #20214]
14485         * sysdeps/unix/sysv/linux/bits/in.h
14486         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14487          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14488         Define to 1.
14489         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14490          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14491         Define to 0.
14492         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14493         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14495 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14497         [BZ #20198]
14498         * stdlib/Makefile (tests): Add tst-quick_exit, and
14499         tst-thread-quick_exit.
14500         [ifeq ($(have-cxx-thread_local),yes)]
14501         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14502         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14503         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14504         (LDLIBS-tst-thread-quick_exit): Likewise.
14505         [ifneq ($(have-cxx-thread_local),yes)]
14506         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14507         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14508         If run_dtors is true call __call_tls_dtors.
14509         (exit): Call __run_exit_handlers with run_dtors set to true.
14510         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14511         definition.
14512         * stdlib/quick_exit.c (quick_exit): Remove function.
14513         (__new_quick_exit): New function.
14514         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14515         function.
14516         * stdlib/tst-quick_exit.cc: New file.
14517         * stdlib/tst-thread-quick_exit.cc: New file.
14518         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14519         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14520         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14521         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14522         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14523         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14524         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14525         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14526         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14527         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14528         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14529         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14530         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14531         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14532         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14533         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14538         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14539         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14540         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14541         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14542         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14545         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14546         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14547         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14549 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14551         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14552         a typo in comments.
14554 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14556         [BZ #20213]
14557         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14558         argument to itself.
14559         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14561 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14563         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14564         required flags.
14565         (CFLAGS-pwritev64.c): Likewise.
14566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14567         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14568         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14569         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14570         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14571         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14572         syscall from auto-generation.
14573         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14574         [WORDSIZE == 64] (pwritev64): Remove macro.
14575         [!PWRITEV] (PWRITEV): Likewise.
14576         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14577         [!PWRITEV] (PWRITE): Likewise.
14578         [!PWRITEV] (OFF_T): Likewise.
14579         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14580         (LO_HI_LONG): Remove macro.
14581         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14582         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14583         (PWRITEV): Remove macro.
14584         (PWRITEV_REPLACEMENTE): Likewise.
14585         (PWRITE): Likewise.
14586         (OFF_T): Likewise.
14587         (pwritev64): New function.
14588         * nptl/tst-cancel4.c (tf_writev): Add test.
14590         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14591         required flags.
14592         (CFLAGS-preadv64.c): Likewise.
14593         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14594         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14595         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14596         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14597         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14598         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14599         syscall from auto-generation.
14600         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14601         [WORDSIZE == 64] (preadv64): Remove macro.
14602         [!PREADV] (PREADV): Likewise.
14603         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14604         [!PREADV] (PREAD): Likewise.
14605         [!PREADV] (OFF_T): Likewise.
14606         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14607         (LO_HI_LONG): Remove macro.
14608         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14609         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14610         (PREADV): Remove macro.
14611         (PREADV_REPLACEMENTE): Likewise.
14612         (PREAD): Likewise.
14613         (OFF_T): Likewise.
14614         (preadv64): New function.
14615         * nptl/tst-cancel4.c (tf_preadv): Add test.
14617 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14619         [BZ #20212]
14620         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14621         argument to itself.
14622         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14624 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14626         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14627         New symbol defined as libc_hidden_def.
14628         (strcasestr): Became a weak alias to __strcasestr.
14629         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14630         according to multi-arch support.  Move __stpncpy hidden
14631         definition from here to...
14632         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14633         symbol stpncpy.
14634         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14635         libc_hidden_builtin_def.
14636         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14637         memset symbol to use when multi-arch support is available.
14639 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14641         * dlfcn/tst-rec-dlopen.c: Include string.h.
14643 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14645         * manual/install.texi: Remove mention of --without-tls
14646         * INSTALL: Regenerate.
14648 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14650         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14651         Remove.
14652         (call_function, interposed_malloc_called): New variables.
14653         (malloc): New function.
14654         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14655         and clear call_function as needed.
14657 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14659         * include/wchar.h (__wmemset): Use __typeof.
14661 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14663         * include/wchar.h (__wmemset): Declare function without typeof.
14665 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14667         [BZ #20205]
14668         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14669         exponent when incrementing negative subnormal with low mantissa
14670         word zero.
14671         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14672         Add another test.
14674 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14676         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14677         __wmemset instead of wmemset.
14679 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14681         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14682         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14683         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14684         __USE_KERNEL_IPV6_DEFS to 0.
14685         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14686         Update comment.
14688 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14690         [BZ #19861]
14691         Do not use IFUNC resolver with potentially unrelocated symbol.
14692         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14693         (DEFINE_FORK): Remove macro and inline definition.
14694         (fork_alias): Renamed from fork_ifunc.
14695         (__fork_alias): Renamed from __fork_ifunc.
14697 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14699         [BZ 19653]
14700         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14701         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14703 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14705         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14706         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14707         i386-linux-gnu).
14708         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14709         Set to no.
14710         * sysdeps/mach/hurd/configure: Refresh.
14712 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14714         [BZ #20178]
14715         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14716         on failure instead of exit.
14718 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14720         [BZ #3629]
14721         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14722         of POSIX.1-2008.
14724 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14726         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14727           Use PLT entry for calling _hurd_self_sigstate.
14729 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14731         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14732         available logical processors with SMT level type sharing L2
14733         cache for Intel processors.
14735 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14737         [BZ #20160]
14738         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14739         argument to itself before returning the result.
14740         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14741         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14742         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14743         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14744         Likewise.
14745         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14746         Likewise.
14747         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14748         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14749         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14750         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14751         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14752         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14754         [BZ #20160]
14755         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14756         argument to itself before returning the result.
14757         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14758         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14759         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14760         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14761         Likewise.
14762         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14763         Likewise.
14764         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14765         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14766         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14767         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14768         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14769         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14771 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14773         * libm-test.inc: Replace usage of M_El with
14774         (lit_e): New macro.
14776 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14778         * libm-test.inc: Replace usage of M_PI_4l with
14779         (lit_pi_4_d): New macro.
14781 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14783         * libm-test.inc: Replace usage of M_PIl with
14784         (lit_pi): New macro.
14786 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14788         * libm-test.inc: Replace usage of M_PI2l with
14789         (lit_pi_2_d): New macro.
14791         * math/test-double.h (LITM): New macro.
14792         * math/test-float.h (LITM): Likewise.
14793         * math/test-ldouble.h (LITM): Likewise.
14795 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14797         * libm-test.inc (M_PI_34l): Rename to
14798         (lit_pi_3_m_4_d): New Macro.
14799         (M_PI_34_LOG10El): Rename to
14800         (lit_pi_3_m_4_ln10_m_d): New Macro.
14801         (M_PI2_LOG10El): Rename to
14802         (lit_pi_2_ln10_m_d):  New Macro.
14803         (M_PI4_LOG10El): Rename to
14804         (lit_pi_4_ln10_m_d):  New Macro.
14805         (M_PI_LOG10El): Rename to
14806         (lit_pi_ln10_d):  New Macro.
14808 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14810         [BZ #20157]
14811         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14812         determine whether to negate low half if [_ARCH_PPCGR], and integer
14813         comparison otherwise.
14814         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14815         determine whether to negate low half.
14817         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14818         (NO_TEST_INLINE_DOUBLE): Likewise.
14819         (TEST_COND_x86_64): Likewise.
14820         (TEST_COND_x86): Likewise.
14821         (M_PI_6l): Likewise.
14823 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14825         * math/libm-test.inc:
14826         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14827         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14828         (TEST_LDOUBLE): Update usage to evaluate as true if
14829         the guarded tests match the property being tested.
14830         (LDBL_MAX_EXP): Change to MAX_EXP.
14831         (LDBL_MIN_EXP): Change to MIN_EXP.
14832         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14833         nexttoward tests.
14835 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14837         * math/libm-test.inc:
14838         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14839         (TYPE_MIN): Likewise.
14840         (TYPE_TRUE_MIN): Likewise.
14841         (TYPE_MAX): Likewise.
14842         (MIN_EXP): Likewise.
14843         (MAX_EXP): Likewise.
14844         (MANT_DIG): Likewise.
14846         (FSTR_MAX): New macro.
14847         (__CONCATX): Likewise.
14848         (QTYPE_STR): Likewise.
14849         (TEST_COND_binary32): Likewise.
14850         (TEST_COND_binary64): Likewise.
14851         (TEST_COND_binary128): Likewise.
14852         (TEST_COND_ibm128): Likewise.
14853         (TEST_COND_intel96): Likewise.
14854         (TEST_COND_m68k96): Likewise.
14856         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14857         (TEST_COND_dbl_64): Likewise.
14858         (TEST_COND_ldbl_96_intel): Likewise.
14859         (TEST_COND_ldbl_96_m68k): Likewise.
14860         (TEST_COND_ldbl_128): Likewise.
14861         (TEST_COND_ldbl_128ibm): Likewise.
14863         (plus_zero): Redefine using LIT macro.
14864         (minus_zero): Likewise.
14865         (plus_infty): Redefine as (INF).
14866         (minux_infty): Redefine as (-INF).
14867         (max_value): Redefine as TYPE_MAX.
14868         (min_value): Redefine as TYPE_MIN.
14869         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14871         (print_float): Refactor to use snprintf to convert FLOAT values
14872         to string. This brings it closer to dropin replacement of strtof
14873         for the TS 18661 defined types.
14874         (update_stats): Likewise.
14875         (print_complex_function_ulps): Likewise.
14876         (print_max_error): Likewise.
14877         (print_complex_max_error): Likewise.
14878         (check_float_internal): Likewise.
14880         * math/test-float.h (PREFIX): New macro.
14881         (LIT): Likewise.
14882         (TYPE_STR): Likewise.
14883         (FTOSTR): Likewise.
14885         * math/test-double.h (PREFIX): New macro.
14886         (LIT): Likewise.
14887         (TYPE_STR): Likewise.
14888         (FTOSTR): Likewise.
14890         * math/test-ldouble.h (PREFIX): New macro.
14891         (LIT): Likewise.
14892         (TYPE_STR): Likewise.
14893         (FTOSTR): Likewise.
14895 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14897         [BZ #20156]
14898         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14899         to itself when zero or not finite.
14900         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14901         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14902         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14903         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14905 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14907         [BZ #20153]
14908         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14909         x * x + x for infinities and NaNs.
14911         [BZ #20151]
14912         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14913         argument to itself before returning result.
14914         (__ieee754_y0l): Likewise.
14915         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14916         (__ieee754_y1l).
14918         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14919         (atan_test_data): Likewise.
14920         (ceil_test_data): Likewise.
14921         (cos_test_data): Likewise.
14922         (cosh_test_data): Likewise.
14923         (erf_test_data): Likewise.
14924         (exp2_test_data): Likewise.
14925         (fabs_test_data): Likewise.
14926         (floor_test_data): Likewise.
14927         (ilogb_test_data): Likewise.
14928         (j0_test_data): Likewise.
14929         (j1_test_data): Likewise.
14930         (jn_test_data): Likewise.
14931         (lgamma_test_data): Likewise.
14932         (lrint_test_data): Likewise.
14933         (llrint_test_data): Likewise.
14934         (logb_test_data): Likewise.
14935         (lround_test_data): Likewise.
14936         (llround_test_data): Likewise.
14937         (nearbyint_test_data): Likewise.
14938         (rint_test_data): Likewise.
14939         (round_test_data): Likewise.
14940         (sin_test_data): Likewise.
14941         (sincos_test_data): Likewise.
14942         (sinh_test_data): Likewise.
14943         (sqrt_test_data): Likewise.
14944         (tan_test_data): Likewise.
14945         (tanh_test_data): Likewise.
14946         (tgamma_test_data): Likewise.
14947         (trunc_test_data): Likewise.
14948         (y0_test_data): Likewise.
14949         (y1_test_data): Likewise.
14950         (yn_test_data): Likewise.
14952         * math/libm-test.inc: Update comment about NaN testing.
14953         (TEST_SNAN): New macro.
14954         (snan_value): Likewise.
14955         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14956         (fpclassify_test_data): Add sNaN tests.
14957         (isfinite_test_data): Likewise.
14958         (isinf_test_data): Likewise.
14959         (isnan_test_data): Likewise.
14960         (isnormal_test_data): Likewise.
14961         (issignaling_test_data): Likewise.
14962         (signbit_test_data): Likewise.
14963         * math/gen-libm-test.pl (%beautify): Add snan_value.
14964         (show_exceptions): Add argument $test_snan.
14965         (parse_args): Handle snan_value as non-finite.  Update call to
14966         show_exceptions.
14967         * math/Makefile (libm-test-no-inline-cflags): Add
14968         -fsignaling-nans.
14970 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14972         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14973         (CFLAGS-oldsendmsg.c): Add rule.
14974         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14975         Correct recvmsg symbol name.
14976         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14977         Likewise.
14979 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14981         * sysdeps/unix/sysv/linux/Makefile
14982         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14983         oldsendmmsg.
14984         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14985         sendmmsg.
14986         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14987         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14988         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14989         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14991         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14992         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14994         Likewise.
14995         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14996         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
14997         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14998         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
14999         iovlen and controllen fields to adjust to POSIX specification.
15000         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15002         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15003         and change to correct expected type.
15004         (msghdr.msg_controllen): Likewise.
15005         (cmsghdr.cmsg_len): Likewise.
15006         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15007         expected POSIX assumption about the size.
15008         (msghdr.msg_controllen): Likewise.
15009         (msghdr.__glibc_reserved1): Likewise.
15010         (msghdr.__glibc_reserved2): Likewise.
15011         (cmsghdr.cmsg_len): Likewise.
15012         (cmsghdr.__glibc_reserved1): Likewise.
15013         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15014         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15015         (CFLAGS-sendmsg.c): Remove rule.
15016         (CFLAGS-recvmsg.c): Likewise.
15017         (CFLAGS-oldsendmsg.c): Add rule.
15018         (CFLAGS-oldrecvmsg.c): Likewise.
15019         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15020         recvmsg and sendmsg.
15021         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15022         Likewise.
15023         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15024         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15025         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15026         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15027         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15028         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15029         Likewise.
15030         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15031         Likewise.
15032         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15033         Likewise.
15034         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15035         Likewise.
15036         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15037         Likewise.
15038         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15039         Likewise.
15040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15041         (GLIBC_2.24): Likewise.
15042         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15043         Likewise.
15044         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15045         Likewise.
15046         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15047         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15048         Likewise.
15049         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15050         Likewise.
15051         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15052         Likewise.
15053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15054         (GLIBC_2.24): Likewise.
15055         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15056         Likewise.
15057         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15058         Likewise.
15059         * sysdeps/unix/sysv/linux/Makefile
15060         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15061         (CFLAGS-sendmsg.c): Add rule.
15062         (CFLAGS-recvmsg.c): Likewise.
15063         (CFLAGS-oldsendmsg.c): Likewise.
15064         (CFLAGS-oldrecvmsg.c): Likewise.
15065         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15066         initialization.
15067         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15068         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15069         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15070         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15071         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15072         iovlen and controllen fields to adjust to POSIX specification.
15073         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15074         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15075         added recvmsg and sendmsg.
15076         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15077         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15078         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15079         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15080         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15081         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15082         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15083         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15084         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15085         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15086         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15087         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15089         Likewise.
15090         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15092         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15093         Likewise.
15094         Likewise.
15095         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15096         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15097         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15098         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15099         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15100         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15102         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15104         Likewise.
15105         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15106         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15108         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15109         from auto-generation.
15110         (sendmsg): Likewise.
15111         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15112         (sendmsg): Likewise.
15113         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15114         (sendmsg): Likewise.
15115         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15116         (sendmsg): Likewise.
15117         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15118         (sendmsg): Likewise.
15119         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15120         (sendmsg): Likewise.
15121         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15122         Likewise.
15123         (sendmsg): Likewise.
15124         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15125         (sendmsg): Likewise.
15126         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15127         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15128         Remove.
15129         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15130         Likewise.
15131         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15132         Undefine.
15133         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15134         Likewise.
15135         * sysdeps/unix/sysv/linux/kernel-features.h
15136         (__ASSUME_SENDMSG_SYSCALL): Define.
15137         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15138         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15139         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15140         Remove.
15141         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15142         Likewise.
15143         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15144         Undefine.
15145         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15146         Likewise.
15147         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15149         Remove.
15150         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15151         Likewise.
15152         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15153         Undefine.
15154         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15155         Likewise.
15156         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15157         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15158         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15159         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15160         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15161         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15162         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15163         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15164         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15166 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15168         * stdlib/gen-tst-strtod-round.c: Add backslash to
15169         compile command in comment.
15170         (printfp): Remove the literal suffix, and define an infinite
15171         value as INF to avoid expansion clash with INFINITY.
15172         (round_str): Remove the literal suffix.
15173         (round_for_all): Likewise, remove the now duplicate ldbl-64
15174         entry, and remove some magic constants.
15176         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15177         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15178         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15179         (_CONCAT): New macro.
15180         (CONCAT): Likewise.
15181         (CHOOSE_ld): Likewise.
15182         (CHOOSE_f): Likewise.
15183         (CHOOSE_d): Likewise.
15184         (FTYPE_MEMBER): Likewise.
15185         (BOOL_MEMBER): Likewise.
15186         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15187         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15188         (_XNTRY): Likewise.
15189         (XNTRY): Likewise.
15190         (_ENTRY): Likewise.
15191         (ENTRY): Likewise.
15192         (test_exactness): Generate members via macro.
15193         (test_results): Likewise.
15194         (test): Update members.
15195         (TEST): Redefine using new macros.
15196         (INF): New macro.
15197         (fetestmodes): New structure.
15198         (do_test): Refactor to be type generic.
15199         (test_in_one_mode): Refactor duplicate code into
15200         (GEN_ONE_TEST): New macro.
15202         * stdlib/tst-strtod-round-data.h: Regenerate.
15204         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15205         Extend to pass additional arbitrary parameters to
15206         generators.
15208 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15210         [BZ #15479]
15211         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15212         floating-point state after first floating-point operation on
15213         input.  Restore full floating-point state instead of just rounding
15214         mode.
15215         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15216         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15217         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15218         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15219         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15221         [BZ #15479]
15222         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15223         floating-point state after first floating-point operation on
15224         input.  Restore full floating-point state instead of just rounding
15225         mode.
15226         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15227         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15228         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15229         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15230         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15232 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15234         [BZ #19727]
15235         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15236         valid high surrogate.
15237         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15238         of an utf16 surrogate.
15239         * iconv/gconv_simple.c (BODY): Likewise.
15240         * iconvdata/bug-iconv12.c: New file.
15241         * iconvdata/Makefile (tests): Add bug-iconv12.
15243 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15245         [BZ #19726]
15246         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15247         outptrp in case of an illegal input.
15248         * iconv/tst-iconv6.c: New file.
15249         * iconv/Makefile (tests): Add tst-iconv6.
15251 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15253         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15254         an error in case of a value in range of an utf16 low surrogate.
15256 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15258         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15259         an error in case of a value in range of an utf16 low surrogate.
15261 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15263         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15264         Move to ...
15265         * sysdeps/s390/Makefile: ... here.
15266         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15267         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15268         (BRANCH_ON_COUNT): New define.
15269         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15270         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15271         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15272         run on s390-32, too.
15273         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15274         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15275         run on s390-32, too.
15276         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15277         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15278         run on s390-32, too.
15280 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15282         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15283         etf3eh or new vector loop-variant.
15285 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15287         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15288         etf3eh or new vector loop-variant.
15290 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15292         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15293         or new vector loop-variant.
15295 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15297         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15298         Rename to TR_LOOP and usage of tr instead of troo instruction.
15300 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15302         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15303         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15305 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15307         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15308         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15309         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15310         New override define.
15311         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15313 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15315         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15316         * sysdeps/s390/configure.ac: Add test for S390 vector register
15317         support in gcc.
15318         * sysdeps/s390/configure: Regenerated.
15320 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15322         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15323         Install file from $(objpfx)gconv-modules.
15324         ($(objpfx)gconv-modules): Concatenate architecture specific file
15325         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15326         * sysdeps/s390/gconv-modules: New file.
15327         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15328         Deleted.
15329         ($(objpfx)gconv-modules-s390): Deleted.
15330         (sysdeps-gconv-modules): New variable.
15332 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15334         [BZ #15479]
15335         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15336         of immediate operand to rounding instruction.
15337         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15338         Likewise.
15339         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15340         Likewise.
15341         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15342         Likewise.
15344 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15346         * math/libm-test.inc (MIN_EXP): Directly define as
15347         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15349 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15351         * math/libm-test.inc (MANT_DIG): Directly define as
15352         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15354 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15356         * stdlib/gen-tst-strtod-round.c (main):
15357           Change usage to more closely match the generated
15358           output.  Add usage and compilation instructions.
15359           (string_to_fp): Add and use FILE* parameter as
15360           output target.
15361           (print_fp): Likewise.
15362           (round_str): Likewise.
15363           (round_for_all): Likewise.
15364         * stdlib/tst-strtod-round.c (tests): Move into
15365         * stdlib/tst-strtod-round-data.h: New file.
15367 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15369         [BZ #15479]
15370         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15371         (__round): Do not force "inexact" exception.
15372         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15373         variable.
15374         (__round): Do not force "inexact" exception.
15375         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15376         (__roundf): Do not force "inexact" exception.
15377         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15378         (__roundl): Do not force "inexact" exception.
15379         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15380         (__roundl): Do not force "inexact" exception.
15381         * math/libm-test.inc (round_test_data): Do not allow spurious
15382         "inexact" exceptions.
15384         [BZ #15479]
15385         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15386         exception in comment.
15387         (huge): Remove variable.
15388         (__floor): Do not force "inexact" exception.
15389         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15390         "inexact" exception in comment.
15391         (huge): Remove variable.
15392         (__floor): Do not force "inexact" exception.
15393         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15394         exception in comment.
15395         (huge): Remove variable.
15396         (__floorf): Do not force "inexact" exception.
15397         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15398         exception in comment.
15399         (huge): Remove variable.
15400         (__floorl): Do not force "inexact" exception.
15402         [BZ #15479]
15403         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15404         exception in comment.
15405         (huge): Remove variable.
15406         (__ceil): Do not force "inexact" exception.
15407         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15408         "inexact" exception in comment.
15409         (huge): Remove variable.
15410         (__ceil): Do not force "inexact" exception.
15411         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15412         (__ceilf): Do not force "inexact" exception.
15413         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15414         exception in comment.
15415         (huge): Remove variable.
15416         (__ceill): Do not force "inexact" exception.
15418 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15420         * config.h.in (BIND_NOW): New.
15421         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15422         * configure: Regenerated.
15423         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15424         indirect branch via the GOT slot.
15426 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15428         [BZ #19765]
15429         * sysdeps/s390/mempcpy.S: New File.
15430         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15431         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15432         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15433         Add mempcpy variants.
15434         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15435         (memcpy): Adjust to be usable from mempcpy entry point.
15436         (__memcpy_mvcle): Likewise.
15437         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15438         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15439         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15440         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15441         (__memcpy_z10): Likewise.
15442         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15444 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15446         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15447         Remove __GI_ symbol.
15448         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15449         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15450         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15451         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15452         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15453         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15455 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15457         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15458         Use cghi instead of chi to compare 64bit value.
15460 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15462         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15463         Jump to 1MB check before executing mvc-loop.
15465 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15467         [BZ #6527]
15468         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15469         unconditionally.
15470         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15472 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15474         * stdlib/tst-strtod6.c (do_test): Use new type generic
15475         invocation of the test function.
15476         (test): Refactor into ...
15477         (TEST_STRTOD): New macro base function.
15479 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15481         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15482         (TEST_STRTOD): New macro.
15483         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15485 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15487         * stdlib/tst-strtod6.c (do_test): Use new type generic
15488         invocation of the test function.
15489         (test): Refactor into ...
15490         (TEST_STRTOD): New macro base function.
15492 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15494         CVE-2016-4429
15495         [BZ #20112]
15496         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15497         payload.
15499 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15501         [BZ #20111]
15502         * bits/sockaddr.h (_SS_SIZE): Define.
15503         * bits/socket.h (_SS_SIZE): Remove.
15504         (_SS_PADSIZE): Adjust to account for all padding.
15505         (struct sockaddr_storage): Update comment.  Avoid implicit
15506         padding.
15507         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15508         (_SS_PADSIZE): Adjust to account for all padding.
15509         (struct sockaddr_storage): Update comment.  Avoid implicit
15510         padding.
15511         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15512         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15513         (_SS_PADSIZE): Adjust to account for all padding.
15514         (struct sockaddr_storage): Update comment.  Avoid implicit
15515         padding.
15516         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15517         __SS_SIZE is 126 in this version.
15518         * inet/tst-sockaddr.c: New file.
15519         * inet/Makefile (tests): Add tst-sockaddr.c
15520         (tst-sockaddr.c): Compile with non-strict aliasing.
15522 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15524         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15525         [XPG3 || XPG4].
15526         (NL_ARGMAX): Also expect for [XPG3].
15527         (NL_LANGMAX): Likewise.
15528         (NL_MSGMAX): Likewise.
15529         (NL_NMAX): Likewise.
15530         (NL_SETMAX): Likewise.
15531         (NL_TEXTMAX): Likewise.
15532         (NZERO): Likewise.
15533         (TMP_MAX): Likewise.
15534         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15535         variable.
15537         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15538         (PF_MAX): Update value.
15539         (AF_KCM): New macro.
15540         (SOL_NETBEUI): Likewise.
15541         (SOL_LLC): Likewise.
15542         (SOL_DCCP): Likewise.
15543         (SOL_NETLINK): Likewise.
15544         (SOL_TIPC): Likewise.
15545         (SOL_RXRPC): Likewise.
15546         (SOL_PPPOL2TP): Likewise.
15547         (SOL_BLUETOOTH): Likewise.
15548         (SOL_PNPIPE): Likewise.
15549         (SOL_RDS): Likewise.
15550         (SOL_IUCV): Likewise.
15551         (SOL_CAIF): Likewise.
15552         (SOL_ALG): Likewise.
15553         (SOL_NFC): Likewise.
15554         (SOL_KCM): Likewise.
15555         (MSG_BATCH): New enum value and macro.
15557 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15559         [BZ #18185]
15560         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15561         sharing L2 cache to 2 for Knights Landing.
15563 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15565         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15566         (FTW_DP): Do not expect for [XPG3 || XPG4].
15567         (FTW_SL): Do not expect for [XPG3].
15568         (FTW_SLN): Likewise.
15569         (FTW_PHYS): Likewise.
15570         (FTW_MOUNT): Likewise.
15571         (FTW_DEPTH): Likewise.
15572         (FTW_CHDIR): Likewise.
15573         (nftw): Likewise.
15574         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15575         variable.
15577 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15579         * manual/errno.texi: Fix various typos & grammar errors.
15581 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15583         * manual/intro.texi: Fix duplicated typo.
15585 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15587         [BZ #13304]
15588         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15589         <float.h>, <math_private.h> and <stdlib.h>.
15590         (add_split): New function.
15591         (mul_split): Likewise.
15592         (ext_val): New typedef.
15593         (store_ext_val): New function.
15594         (mul_ext_val): New function.
15595         (compare): New function.
15596         (add_split_ext): New function.
15597         (__fmal): After checking for Inf, NaN and zero, compute result as
15598         an exact sum of scaled double values in round-to-nearest before
15599         adding those up and adjusting for other rounding modes.
15600         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15601         tests of fma.
15602         * math/auto-libm-test-out: Regenerated.
15604 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15606         [BZ #20119]
15607         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15608         processor level type mask for CPUID with EAX == 11.
15610 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15612         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15613         logical threads if the HTT bit is 0.
15614         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15615         (index_cpu_HTT): Likewise.
15616         (reg_HTT): Likewise.
15618 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15620         [BZ #20115]
15621         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15622         Remove alignments on jump targets.
15624 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15626         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15627         (getpwent): Likewise.
15628         (setpwent): Likewise.
15629         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15630         variable.
15632         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15633         (remque): Likewise.
15634         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15635         variable.
15637 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15639         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15640         not being tested.
15642 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15644         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15645         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15646         call.
15647         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15648         (__condvar_cleanup1): Likewise.
15650 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15652         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15653         New
15654         (__pthread_unwind): Renamed to ...
15655         (PTHREAD_UNWIND): This.
15656         (__pthread_enable_asynccancel): Replace
15657         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15659 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15661         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15662         (CLONE_NEWCGROUP): New macro.
15664         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15665         (Q_GETNEXTQUOTA): New macro.
15667 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15669         [BZ #19907]
15670         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15671         buffer updated by the previous run.
15672         * string/test-memcpy.c (do_one_test): Likewise.
15673         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15674         * string/test-memmove.c (do_one_test): Likewise.
15676 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15678         [BZ #20094]
15679         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15680         not [__USE_XOPEN].
15681         (unlockpt): Likewise.
15682         (ptsname): Likewise.
15683         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15684         variable.
15686         [BZ #20076]
15687         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15688         instead of [__USE_UNIX98].
15689         (S_ISSOCK): Likewise.
15690         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15691         variable.
15693         [BZ #20074]
15694         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15695         [__USE_POSIX].
15696         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15697         variable.
15699         [BZ #20051]
15700         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15701         (ttyslot): Do not declare.
15702         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15703         (ttyslot): New prototype.
15704         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15705         variable.
15706         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15708 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15710         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15712 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15714         Fix race condition in tst-mallocfork2, use fewer resources.
15715         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15716         to current process group.
15717         (signal_sender): Yield in the non-sleeping case.
15719 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15721         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15722         (ecvt): Likewise.
15723         (fcvt): Likewise.
15724         (gcvt): Likewise.
15725         (getsubopt): Likewise.
15726         (grantpt): Likewise.
15727         (initstate): Likewise.
15728         (l64a): Likewise.
15729         (mktemp): Likewise.
15730         (mkstemp): Likewise.
15731         (ptsname): Likewise.
15732         (random): Likewise.
15733         (realpath): Likewise.
15734         (setstate): Likewise.
15735         (srandom): Likewise.
15736         (ttyslot): Likewise.
15737         (unlockpt): Likewise.
15738         (valloc): Likewise.
15740         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15741         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15742         variable.
15744 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15746         [BZ #20072]
15747         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15748         init_cpu_features only if SHARED is defined.
15749         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15751 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15753         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15754         non-inclusive caches on Intel processors.
15756 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15758         * malloc/malloc.c (dumped_main_arena_start)
15759         (dumped_main_arena_end): New variables.
15760         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15761         (do_check_chunk): Skip dumped fake mmapped chunks.
15762         (munmap_chunk): Likewise.
15763         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15764         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15765         mmapped chunks.
15766         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15767         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15768         and dumped_main_arena_end to cover the dumped heap.
15770 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15772         * conform/data/time.h-data (getdate_err): Do not expect for
15773         [XPG3].
15774         (getdate): Likewise.
15775         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15776         variable.
15778         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15779         (F_ULOCK): Likewise.
15780         (F_TEST): Likewise.
15781         (F_TLOCK): Likewise.
15782         (useconds_t): Likewise.
15783         (intptr_t): Do not expect for [XPG3] or [XPG4].
15784         (brk): Do not expect for [XPG3]
15785         (fchown): Likewise.
15786         (fchdir): Likewise.
15787         (ftruncate): Likewise.
15788         (getdtablesize): Likewise.
15789         (gethostid): Likewise.
15790         (getpagesize): Likewise.
15791         (getpgid): Likewise.
15792         (getsid): Likewise.
15793         (getwd): Likewise.
15794         (lchown): Likewise.
15795         (lockf): Likewise.
15796         (readlink): Likewise.
15797         (sbrk): Likewise.
15798         (setpgrp): Likewise.
15799         (setregid): Likewise.
15800         (setreuid): Likewise.
15801         (symlink): Likewise.
15802         (sync): Likewise.
15803         (truncate): Likewise.
15804         (ualarm): Likewise.
15805         (usleep): Likewise.
15806         (vfork): Likewise.
15807         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15808         variable.
15810         [BZ #20054]
15811         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15812         not [__USE_UNIX98].
15813         * conform/data/unistd.h-data (gethostname): Do not expect for
15814         [XPG3].
15816         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15817         [!POSIX] (S_IFBLK): Likewise.
15818         [!POSIX] (S_IFCHR): Likewise.
15819         [!POSIX] (S_IFIFO): Likewise.
15820         [!POSIX] (S_IFREG): Likewise.
15821         [!POSIX] (S_IFDIR): Likewise.
15822         [!POSIX] (S_IFLNK): Likewise.
15823         [!POSIX] (S_IFSOCK): Likewise.
15824         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15825         variable.
15826         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15828 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15830         * sysdeps/aarch64/memset.S (__memset):
15831         Rewrite of optimized memset.
15833 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15835         [BZ #19703]
15836         Partially async-signal-safe fork for single-threaded processes.
15837         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15838         variable.  Do not acquire and reset/release malloc and libio locks
15839         in single-threaded processes.
15840         * malloc/tst-mallocfork2.c: New file.
15841         * malloc/Makefile (tests): Add it.
15843 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15845         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15846         argument.  Use scratch buffer instead of extend_alloca.
15847         (gethosts): Use scratch buffer instead of extend_alloca.
15848         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15849         extend_alloca.
15850         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15852 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15854         [BZ #20055]
15855         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15856         instead of [__USE_UNIX98].
15857         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15858         [__USE_UNIX98].
15859         * conform/data/termios.h-data (tcgetsid): Do not expect for
15860         [XPG3].
15861         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15862         variable.
15863         (test-xfail-XPG4/termios.h/conform): Likewise.
15865 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15867         Do not use mcheck in localedef.
15868         * locale/programs/localedef.c (turn_on_mcheck)
15869         (__malloc_initialize_hook): Remove.
15871 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15873         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15874         * sysdeps/s390/s390-64/Makefile: Likewise.
15876 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15878         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15879         Remove ifunc-defines.sym.
15880         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15881         Likewise.
15882         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15883         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15884         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15885         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15886         rtld-global-offsets.sym.
15887         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15888         * sysdeps/x86/cpu-features-offsets.sym: This.
15889         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15890         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15892 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15894         [BZ #20073]
15895         * io/sys/stat.h (fchmod): Declare for
15896         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15897         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15898         variable.
15900         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15901         [XPG3] (S_IFSOCK): Likewise.
15902         [XPG3] (S_ISVTX): Likewise.
15903         [XPG3] (S_ISLNK): Likewise.
15904         [XPG3] (S_ISSOCK): Likewise.
15905         [XPG3] (fchmod): Likewise.
15906         [XPG3] (lstat): Likewise.
15907         [XPG3] (mknod): Likewise.
15909         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15910         [XPG3].  Expect type long and XFAIL for [XPG4].
15911         (st_blocks): Likewise.
15913         [BZ #20044]
15914         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15915         (pthread_atfork): New prototype.
15916         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15917         variable.
15919         [BZ #20043]
15920         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15921         prototype.
15923 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15925         [BZ #20017]
15926         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15927         gmtime.
15929 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15931         [BZ #19994]
15932         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15933         flag in _res.options.
15935 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15937         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15938         [XPG3 || XPG4].
15939         (blksize_t): Likewise.
15940         (clockid_t): Likewise.
15941         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15942         variable.
15943         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15945 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15947         * sysdeps/unix/sysv/linux/s390/init-first.c:
15948         Add VDSO_SYMBOL(getcpu).
15949         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15950         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15951         Add VDSO_SYMBOL(getcpu).
15952         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15953         New define HAVE_GETCPU_VSYSCALL.
15954         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15956 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15958         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15959         instead of <sysdeps/x86_64/cacheinfo.c>.
15960         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15961         * sysdeps/x86/cacheinfo.c: Here.
15963 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15965         * malloc/malloc-internal.h: Adjust header file guard.
15967 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15969         [BZ #19787]
15970         * inet/getnameinfo.c (check_sprintf_result): New function.
15971         (CHECKED_SNPRINTF): New macro.
15972         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15973         to the host buffer.
15974         (gni_host_local): Use checked_copy to copy the host name.
15975         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15976         (gni_serv_local): Use checked_copy to copy the service name.
15977         (getnameinfo): Remove unnecessary truncation of result buffers.
15979 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15981         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15982         in case of inet_ntop failure.
15984 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15986         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15987         avoid long lines.
15988         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15989         variables.
15990         (gni_host_inet, gni_host_local): Add comment.
15991         (gni_host): Add comment.  Use temporary to avoid long lines.
15993 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15995         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
15996         registers specifiers where general purpose registers specifiers should
15997         have been used.
15999 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16001         [BZ #19779]
16002         CVE-2016-1234
16003         Avoid copying names of directory entries.
16004         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16005         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16006         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16007         (struct readdir_result): New type.
16008         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16009         (GL_READDIR): New macros.
16010         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16011         (convert_dirent, convert_dirent64): New functions.
16012         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16013         convert_dirent64.  Adjust references to the readdir result.
16014         * sysdeps/unix/sysv/linux/i386/glob64.c:
16015         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16016         * posix/bug-glob2.c (LONG_NAME): Define.
16017         (filesystem): Add LONG_NAME.
16018         (my_DIR): Increase the size of room_for_dirent.
16020 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16022         [BZ #20041]
16023         * misc/sys/select.h (__need_timespec): Only define if
16024         [__USE_XOPEN2K].
16025         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16026         variable.
16027         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16028         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16029         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16031 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16032             Segher Boessenkool  <segher@gcc.gnu.org>
16034         [BZ #20004]
16035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16036         (__novec_swapcontext): Add missing load.
16038 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16040         [BZ #20023]
16041         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16042         <time.h>.
16043         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16044         variable.
16045         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16047 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16050         flags CLONE_VM compare.
16052 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16054         [BZ #20031]
16055         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16056         completely empty.
16058 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16060         [BZ #19573]
16061         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16062         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16063         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16064         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16065         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16066         (hesiod_free_list): Mark as hidden.
16067         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16068         res_set, res_get.
16069         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16070         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16071         (hesiod_init): Remove obsolete res_ninit call.
16072         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16073         (hesiod_bind): Do not call init.
16074         (get_txt_records): Use res_mkquery, res_send instead of
16075         res_nmkquery, res_nsend.
16076         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16077         instead of _nss_hesiod_init.
16078         (_nss_hesiod_initgroups_dyn): Likewise.
16079         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16080         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16081         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16083 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16085         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16086         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16088 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16090         * hesiod/hesiod.h: Remove RCS keyword.
16091         * hesiod/hesiod_p.h: Likewise.
16093         * hesiod/hesiod.c: Likewise.
16095 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16097         [BZ #12450]
16098         * locale/iso-639.def: Add Samogitian/sgs.
16100 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16102         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16104         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16106 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16107             Carlos O'Donell  <carlos@redhat.com>
16109         [BZ #19072]
16110         * grp/Makefile (headers): Add grp-merge.h
16111         (routines): Add grp-merge.
16112         * grp/getgrgid_r.c: Include grp-merge.h.
16113         (DEEPCOPY_FN): Define.
16114         (MERGE_FN): Define.
16115         * grp/getgrname_r.c: Include grp-merge.h.
16116         (DEEPCOPY_FN): Define.
16117         (MERGE_FN): Define.
16118         * grp/grp-merge.c: New file.
16119         * grp/grp-merge.h: New file.
16120         * include/grp-merge.h: New file.
16121         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16122         __copy_grp@GLIBC_PRIVATE.
16123         * manual/nss.texi (Actions in the NSS configuration): Describe
16124         return, continue, and merge.
16125         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16126         (DEEPCOPY_FN): Define.
16127         (MERGE_FN): Define.
16128         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16129         (DEEPCOPY_FN): Define.
16130         (MERGE_FN): Define.
16131         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16132         [!MERGE_FN]: Define __merge_einval.
16133         (CHECK_MERGE): Define.
16134         (REENTRANT_NAME): Process merge if do_merge is true.
16135         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16136         (__nss_getent_r): Likewise.
16137         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16138         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16140 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16142         [BZ #20012]
16143         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16144         length to calculate the buffer to read.
16145         (fmemopen_write): Set the buffer position based on bytes written.
16146         (fmemopen_seek): Return EINVAL for invalid whence modes.
16148         [BZ #19957]
16149         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16150         tst-getpid2.
16151         (test): Add tst-clone2.
16152         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16153         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16154         pid/tid fields for CLONE_VM.
16155         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16156         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16157         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16158         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16159         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16160         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16161         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16162         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16164         Likewise.
16165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16166         Likewise.
16167         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16168         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16169         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16170         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16171         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16172         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16173         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16174         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16176 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16178         [BZ #19642]
16179         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16180         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16181         (gni_serv_local, gni_serv): New functions extracted from
16182         getnameinfo.
16183         (getnameinfo): Call gni_host and gni_serv to perform the
16184         processing.  Always free scratch buffer.
16186 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16188         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16189         remaining bytes in the dest string, with zeros.
16191 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16193         [BZ #20010]
16194         CVE-2016-3706
16195         * sysdeps/posix/getaddrinfo.c
16196         (convert_hostent_to_gaih_addrtuple): New function.
16197         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16198         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16199         AF_INET data.
16201 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16203         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16204         callback function gl_readdir.
16205         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16206         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16207         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16208         memcpy to copy the name.
16209         * manual/pattern.texi (Calling Glob): Document requirements for
16210         implementations of the gl_readdir callback function.
16211         * manual/examples/mkdirent.c: New example.
16212         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16213         per the manual guidance.
16214         * posix/tst-gnuglob.c (my_readdir): Likewise.
16216 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16218         [BZ #20014]
16219         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16220         not [__USE_POSIX].
16221         (getchar_unlocked): Likewise.
16222         (putc_unlocked): Likewise.
16223         (putchar_unlocked): Likewise.
16224         (flockfile): Likewise.
16225         (ftrylockfile): Likewise.
16226         (funlockfile): Likewise.
16227         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16228         variable.
16229         (test-xfail-XPG4/stdio.h/conform): Likewise.
16231         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16232         Expect constant.
16233         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16234         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16235         variable.
16236         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16237         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16239         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16240         [__USE_LARGEFILE64] (off64_t): Likewise.
16241         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16242         variable.
16244 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16246         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16248 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16250         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16251         * resolv/res_init.c: Likewise.
16252         * resolv/res_mkquery.c: Likewise.
16254 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16256         * resolv/res_init.c (isascii): Do not define.  Use definition in
16257         <ctype.h>.
16258         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16259         (LOG_AUTH): Remove.
16260         (SPRINTF): Remove, adjust caller.
16261         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16263 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16265         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16266         SUNSECURITY conditional.
16267         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16269 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16271         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16272         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16273         Remove BSD-related preprocessor conditionals.
16274         * conf/portability.h: Remove.
16276 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16278         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16279         * resolv/res_data.c: Likewise.
16281 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16283         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16284         * resolv/res_data.c: Remove code conditional on ultrix.
16286 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16288         * resolv/res_init.c (RFC1535): Do not define.  Remove
16289         RFC1535 preprocessor conditionals.
16290         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16291         because there configuration options which make the resolver
16292         behavior different.
16294 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16296         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16297         RESOLVSORT preprocessor conditionals.
16298         * resolv/nss_dns/dns-host.c: Likewise.
16299         * resolv/res_init.c: Likewise.
16301 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16303         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16304         is never defined.
16306 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16308         * inet/inet_lnaof.c: Remove SCSS keyword.
16309         * inet/inet_mkadr.c: Likewise.
16310         * inet/inet_net.c: Likewise.
16311         * inet/inet_netof.c: Likewise.
16312         * inet/rcmd.c: Likewise.
16313         * inet/rexec.c: Likewise.
16314         * inet/ruserpass.c: Likewise.
16316 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16318         * resolv/inet_addr.c: Remove _LIBC conditionals.
16319         * resolv/res_data.c: Likewise.
16320         * resolv/res_init.c: Likewise.
16321         * resolv/res_mkquery.c: Likewise.
16322         * resolv/res_libc.c: Update comment.
16323         * resolv/README: Update.
16325 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16327         * resolv/gethnamaddr.c: Remove SCSS keyword.
16328         * resolv/herror.c: Likewise.
16329         * resolv/inet_addr.c: Likewise.
16330         * resolv/inet_net_ntop.c: Likewise.
16331         * resolv/inet_net_pton.c: Likewise.
16332         * resolv/inet_neta.c: Likewise.
16333         * resolv/inet_ntop.c: Likewise.
16334         * resolv/inet_pton.c: Likewise.
16335         * resolv/ns_date.c: Remove RCS keyword.
16336         * resolv/ns_name.c: Likewise.
16337         * resolv/ns_netint.c: Likewise.
16338         * resolv/ns_parse.c: Likewise.
16339         * resolv/ns_print.c: Likewise.
16340         * resolv/ns_samedomain.c: Likewise.
16341         * resolv/ns_ttl.c: Likewise.
16342         * resolv/nsap_addr.c: Likewise.
16343         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16344         * resolv/res_data.c: Remove RCS keyword.
16345         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16346         * resolv/res_init.c: Likewise.
16347         * resolv/res_mkquery.c: Likewise.
16348         * resolv/res_query.c: Likewise.
16349         * resolv/res_send.c: Likewise.
16351 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16353         * conform/data/stdio.h-data (fdopen): Expect also for
16354         [XPG3 || XPG4].
16356         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16357         (fseeko): Likewise.
16358         (ftello): Likewise.
16359         (ftrylockfile): Likewise.
16360         (funlockfile): Likewise.
16361         (getc_unlocked): Likewise.
16362         (getchar_unlocked): Likewise.
16363         (putc_unlocked): Likewise.
16364         (putchar_unlocked): Likewise.
16366 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16368         [BZ #19868]
16369         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16370         DNS packet syntax checks (which were not needed before).  Skip
16371         over non-PTR records.
16373 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16375         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16376         definition.  Include <stddef.h> instead.
16378 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16380         [BZ #19831]
16381         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16382         function.
16383         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16384         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16386 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16388         [BZ #19862]
16389         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16390         (getanswer_r): Do not call syslog.
16391         (gaih_getanswer_slice): Likewise.
16392         * resolv/gethnamaddr.c (AskedForGot): Remove.
16393         (getanswer): Do not call syslog.
16394         (gethostbyaddr): Likewise.
16396 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16398         * conform/data/signal.h-data (union sigval): Expect also if
16399         [XOPEN2K].
16400         (struct sigevent): Likewise.
16401         (SIGEV_NONE): Likewise.
16402         (SIGEV_SIGNAL): Likewise.
16403         (SIGEV_THREAD): Likewise.
16404         (SIGRTMIN): Likewise.
16405         (SIGRTMAX): Likewise.
16406         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16407         variable.
16408         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16410 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16412         [BZ #19830]
16413         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16414         (gaih_getanswer_slice): Likewise.
16415         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16416         Also check for availability of RR metadata.
16418 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16420         [BZ #19825]
16421         * resolv/res_send.c (send_vc): Remove early *resplen2
16422         initialization.  Set *resplen2 on socket error.  Call
16423         close_and_return_error for other errors.
16425 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16427         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16428         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16429         (SCM_IUCV_TRGCLS): New define.
16431 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16433         [BZ #20005]
16434         * libio/fmemopen.c (fmemopen_write): Update internal position after
16435         write.
16436         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16437         * stdio-common/tst-fmemopen4.c: New file..
16439 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16441         [BZ #19996]
16442         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16443         not [__USE_XOPEN2K].
16444         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16445         variable.
16447         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16448         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16449         variable.
16451         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16452         [__USE_XOPEN2K8].
16453         [__USE_LARGEFILE64] (off64_t): Likewise.
16454         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16455         variable.
16457 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16459         [BZ #19989]
16460         * libio/stdio.h (cuserid): Do not declare if
16461         [__USE_XOPEN2K && !__USE_GNU].
16462         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16463         variable.
16465 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16467         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16468         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16470         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16471         ifunc'ed strcspn.
16472         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16473         [EALIGN]: Removed.
16474         [END]: Likewise
16475         [STRSPN]: Define instead of the above to control symbol name.
16476         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16477         New file.
16478         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16479         Likewise.
16480         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16481         Likewise.
16482         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16483         Likewise.
16484         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16485         [INITIAL_MASK]: New macro.
16486         [STRCSPN]: Likewise.
16487         [UPDATE_MASK]: Likewise.
16488         [USE_AS_STRCSPN]: Likewise.
16490 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16492         [BZ #19931]
16493         * stdio-common/tst-vfprintf-width-prec.c: New file.
16494         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16495         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16496         (generated): Add mtrace-related files.
16497         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16498         (tst-%-mem.out): New pattern rule, replaces
16499         tst-printf-bz18872-mem.out.
16500         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16501         specifier, deallocate any previously allocated work buffer.
16503 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16505         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16506         Add nop before __startcontext, add explaining comments.
16508 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16510         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16511         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16512         completely different API.
16514         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16515         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16516         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16517         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16518         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16519         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16520         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16521         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16522         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16523         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16525 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16527         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16529 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16531         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16532         when it is the default of 0.
16534 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16536         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16537         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16538         (sysdep_routines): Add new strcasestr targets.
16539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16540         (__libc_ifunc_impl_list): Likewise.
16541         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16542         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16543         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16544         * sysdeps/powerpc/powerpc64/power8/Makefile:
16545         New file to add strcasestr-ppc64 to sysdep_routines.
16546         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16547         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16549 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16551         * benchtests/Makefile (wcsmbs-benchset): Include only for
16552         native builds and runs.
16553         (LOCALES): Likewise.
16554         (bench-build): Build timing-type here instead of the bench
16555         target.  Generate locale only for native builds.
16556         * benchtests/README: Add note for cross-building.
16558         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16560         * benchtests/README: Update README to include instructions on
16561         using bench-build.
16563         * Makefile.in (bench-build): New target.
16564         * Rules (PHONY): Add bench-build target.
16565         * benchtests/Makefile (bench): Depend on bench-build.
16566         (bench-build): New target.
16568 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16570         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16571         profil_reply_port.
16572         (profile_waiter): Do not initialize profil_reply_port.
16573         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16574         frequency instead of tick length in us.
16576 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16578         [BZ #18712]
16579         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16580         (__old_mempcpy_small): Likewise.
16581         (__old_strcpy_small): Likewise.
16582         (__old_stpcpy_small): Likewise.
16583         (__old_strpbrk_c2): Fix compat symbol name.
16584         (__old_strpbrk_c3): Likewise.
16585         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16586         (__mempcpy_small): Remove.
16587         (__strcpy_small): Remove.
16588         (__stpcpy_small): Remove.
16590 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16592         [BZ #19400]
16593         * locale/iso-639.def: Add the Talossan/tzl language.
16595 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16597         [BZ #16983]
16598         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16599         comment.  Add "ln" to strchr check on postal_fmt.
16601 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16603         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16604         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16605         tel_dom_fmt.
16607 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16609         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16610         (sysdep_routines): Added __strlen_power8.
16611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16612         __strlen_power8 entry.
16613         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16614         Implementation for POWER8.
16615         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16616         for __strlen_power8.
16617         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16618         Implementation for POWER8.
16620 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16622         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16624 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16626         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16627         Goldmont and Airmont processors.
16629 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16631         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16632         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16633         (__STRING2_SMALL_GET32): Remove.
16634         (memset): Remove.
16635         (__memset_1): Remove.
16636         (__memset_gc): Remove.
16637         (__mempcpy): Remove.
16638         (mempcpy): Remove.
16639         (__mempcpy_args): Remove.
16640         (strchr): Remove.
16641         (strcpy): Remove.
16642         (strcpy_args): Remove.
16643         (__stpcpy_args): Remove.
16644         (__strcmp_cc): Remove.
16645         (__strcmp_gc): Remove.
16646         (strstr): Remove.
16648 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16650         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16651         * nis/nis_call.c (nis_server_cache_add): Likewise.
16653 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16655         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16657 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16659         * malloc/arena.c (__malloc_fork_lock_parent)
16660         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16661         internal_function attribute.
16663 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16665         * stdio-common/printf_fp.c (__printf_fp_l):
16666         Rename ___printf_fp_l to __printf_fp_l and
16667         remove strong alias. Use libc_hidden_def instead
16668         of ldbl_hidden_def macro.
16670 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16672         Remove malloc hooks from fork handler.  They are no longer needed
16673         because malloc runs right before fork, and no malloc calls from
16674         other fork handlers are not possible anymore.
16675         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16676         declarations.
16677         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16678         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16679         (atfork_recursive_cntr): Remove.
16680         (__malloc_fork_lock_parent): Do not override malloc hooks and
16681         thread_arena.
16682         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16683         thread_arena.
16684         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16685         thread_arena instead of save_arena.
16687 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16689         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16690         (thread_atfork, thread_atfork_static): Remove.
16691         * sysdeps/mach/hurd/malloc-machine.h:
16692         (thread_atfork, thread_atfork_static): Remove.
16694 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16696         [BZ #19431]
16697         Run the malloc fork handler as late as possible to avoid deadlocks.
16698         * malloc/malloc-internal.h: New file.
16699         * malloc/malloc.c: Include it.
16700         * malloc/arena.c (ATFORK_MEM): Remove.
16701         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16702         Update comment.
16703         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16704         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16705         Remove outdated comment.
16706         (ptmalloc_init): Do not call thread_atfork.  Remove
16707         thread_atfork_static.
16708         * malloc/tst-malloc-fork-deadlock.c: New file.
16709         * Makefile (tests): Add tst-malloc-fork-deadlock.
16710         (tst-malloc-fork-deadlock): Link against libpthread.
16711         * manual/memory.texi (Aligned Memory Blocks): Update safety
16712         annotation comments.
16713         * sysdeps/nptl/fork.c (__libc_fork): Call
16714         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16715         __malloc_fork_unlock_child.
16716         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16718 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16720         [BZ #19613]
16721         Remove union wait.
16722         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16723         (w_stopsig, w_stopval): Remove.
16724         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16725         stat_loc argument.
16726         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16727         (__WAIT_STATUS_DEFN): Remove.
16728         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16729         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16730         (wait, wait3, wait4): Use int * for the stat_loc argument.
16731         * posix/wait.c (__wait): Likewise.
16732         * posix/wait3.c (__wait3): Likewise.
16733         * posix/wait4.c (__wait4): Likewise.
16734         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16735         (__WAIT_STATUS_DEFN): Remove.
16736         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16737         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16738         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16739         argument.
16740         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16741         * sysdeps/posix/wait3.c (__wait3): Likewise.
16742         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16743         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16744         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16745         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16746         stat_loc argument.
16747         * manual/process.texi (BSD Wait Functions): Remove union wait.
16749 2016-04-13  Andreas Schwab  <schwab@suse.de>
16751         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16752         (test-extras): Add tst-tlsalign-vars.
16753         * math/Makefile: Wrap long lines.
16754         (libm-vec-test-wrappers): Define.
16755         (test-extras): Add $(libm-vec-test-wrappers).
16756         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16757         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16758         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16759         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16760         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16761         (extra-test-objs): Add corresponding objects.
16763 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16765         [BZ #19928]
16766         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16767         New.
16768         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16769         times of shared cache size.
16770         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16771         (VMOVNT): New.
16772         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16773         (VMOVNT): Likewise.
16774         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16775         (VMOVNT): Likewise.
16776         (VMOVU): Changed to movups for smaller code sizes.
16777         (VMOVA): Changed to movaps for smaller code sizes.
16778         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16779         comments.
16780         (PREFETCH): New.
16781         (PREFETCH_SIZE): Likewise.
16782         (PREFETCHED_LOAD_SIZE): Likewise.
16783         (PREFETCH_ONE_SET): Likewise.
16784         Rewrite to use forward and backward loops, which move 4 vector
16785         registers at a time, to support overlapping addresses and use
16786         non temporal store if size is above the threshold and there is
16787         no overlap between destination and source.
16789 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16791         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16792         Include dl-vdso.
16793         * sysdeps/unix/sysv/linux/mips/Versions: Add
16794         __vdso_clock_gettime.
16795         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16796         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16797         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16798         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16799         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16800         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16801         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16802         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16803         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16805 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16807         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16808         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16810         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16811         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16812         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16815         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16816         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16817         syscalls generation.
16818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16819         [__NR_pwrite64] (__NR_write): Remove define.
16820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16821         [__NR_pwrite64] (__NR_write): Remove define.
16822         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16823         Remove define.
16824         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16825         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16826         Remove define.
16827         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16828         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16829         Linux implementation as base.
16830         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16832         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16833         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16834         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16835         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16838         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16840         syscall generation.
16841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16842         [__NR_pread64] (__NR_pread): Remove define.
16843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16844         [__NR_pread64] (__NR_pread): Likewise.
16845         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16846         define.
16847         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16848         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16849         Remove define.
16850         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16851         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16852         Linux implementation as base.
16853         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16854         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16855         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16857         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16858         definition.
16859         (__ALIGNMENT_COUNT): Likewise.
16860         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16861         (__ALIGNMENT_COUNT): Likewise.
16862         (SYSCALL_LL): New define.
16863         (SYSCALL_LL64): Likewise.
16864         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16865         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16866         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16867         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16869         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16870         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16871         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16872         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16873         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16874         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16876 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16878         [BZ #19865]
16879         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16880         original buffer before retry.
16882 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16884         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16885         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16886         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16887         GLRO(dl_auxv) list.
16888         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16889         including <ldsodefs.h>.
16890         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16892 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16894         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16895         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16896         $(CPPFLAGS).
16898 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16900         [BZ #17950]
16901         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16902         Add -mfpmath=387.
16904 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16906         * sysdeps/i386/configure.ac: Change == to = when calling test.
16907         * sysdeps/x86_64/configure.ac: Likewise.
16908         * sysdeps/i386/configure: Regenerated.
16909         * sysdeps/x86_64/configure: Likewise.
16911 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16913         [BZ #16137]
16914         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16915         * benchtests/bench-strcoll.c (input_files): Likewise.
16916         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16917         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16918         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16920 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16922         [BZ #19929]
16923         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16924         [__USE_XOPEN2K8 && !__USE_GNU].
16925         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16926         variable.
16928         [BZ #19925]
16929         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16930         define if [!__USE_MISC && __USE_XOPEN2K].
16931         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16932         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16933         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16934         Likewise.
16935         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16936         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16937         variable.
16938         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16940 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16942         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16943         (sysdep_routines): Add new strspn targets.
16944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16945         (__libc_ifunc_impl_list): Add strspn.
16946         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16947         New file.
16948         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16949         Likewise.
16950         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16951         Likewise.
16952         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16953         Likewise.
16955 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16957         * misc/hsearch_r.c: Include <limits.h>.
16959 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16961         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16963 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16965         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16966         (MEMCPY_SYMBOL): New.
16967         (MEMPCPY_SYMBOL): Likewise.
16968         (MEMMOVE_CHK_SYMBOL): Likewise.
16969         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16970         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16971         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16972         Provide alias for memcpy in libc.a and ld.so.
16974 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16976         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16977         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16978         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16979         Disabled fro now.
16980         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16981         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16983 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16985         * benchtests/Makefile (string-benchset): Add memcpy-large,
16986         memmove-large and memset-large.
16987         * benchtests/bench-memcpy-large.c: New file.
16988         * benchtests/bench-memmove-large.c: Likewise.
16989         * benchtests/bench-memmove-large.c: Likewise.
16990         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
16992 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16994         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
16995         32-bit displacement to avoid long nop between instructions.
16997 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16999         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17000         a comment on VMOVU and VMOVA.
17002 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17004         [BZ #19633]
17005         Use specified locale for number formatting in strfmon_l.
17006         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17007         (__nl_lookup_word): New inline functions.
17008         * include/printf.h (__print_fp_l): Declare.
17009         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17010         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17011         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17012         (___printf_fp): New function.
17013         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17014         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17015         * stdlib/tst-strfmon_l.c (do_test): New test.
17016         * stdlib/Makefile (tests): Add kt.
17017         (LOCALES): Build additional locales.
17018         (tst-strfmon_l.out): Require locales.
17020 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17022         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17023         if not in libc.
17024         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17025         Likewise.
17026         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17027         Likewise.
17028         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17029         Likewise.
17031 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17033         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17034         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17035         with unaligned_erms.
17036         (__memmove_erms): Skip if source == destination.
17037         (__memmove_unaligned_erms): Don't check source == destination
17038         first.
17040 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17042         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17043         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17045 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17047         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17048         * string/strspn.c (strspn): Likewise.
17050 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17052         * benchtests/bench-memset.c (do_test): Support 64-byte
17053         alignment.
17054         (test_main): Test 64-byte alignment.
17056 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17058         * benchtests/bench-memmove.c (test_main): Test 64-byte
17059         alignment.
17061 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17063         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17065 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17067         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17068         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17069         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17071         * string/strpbrk.c (strpbrk): Rewrite function.
17072         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17073         (__strpbrk_c2): Likewise.
17074         (__strpbrk_c3): Likewise.
17075         * string/string-inlines.c
17076         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17077         Likewise.
17078         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17079         Likewise.
17081         * string/strspn.c (strcspn): Rewrite function.
17082         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17083         (__strspn_c1): Remove inline function.
17084         (__strspn_c2): Likewise.
17085         (__strspn_c3): Likewise.
17086         * string/string-inlines.c
17087         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17088         compatibility symbol.
17089         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17090         Likewise.
17091         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17092         Likewise.
17093         * string/string-inlines.c: Include generic version.
17095 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17096             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17098         * string/Version (libc): Add GLIBC_2.24.
17099         * string/strcspn.c (strcspn): Rewrite function.
17100         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17101         (__strcspn_c1): Remove inline function.
17102         (__strcspn_c2): Likewise.
17103         (__strcspn_c3): Likewise.
17104         * string/string-inline.c
17105         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17106         compatibility symbol.
17107         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17108         Likewise.
17109         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17110         Likewise.
17111         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17113 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17115         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17116         Use ahi instead of aghi to adjust stack pointer.
17118 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17120         [BZ #19853]
17121         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17122         TEST to take significant digits as second parameter.
17123         [TEST]: Redefine in terms of TEST_N taking 30
17124         significant digits.
17125         (do_test): Add test case to demonstrate precision
17126         failure in the ldbl-128ibm printf.
17127         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17128         (__mpn_extract_long_double): Carry 7 extra intermediate
17129         bits of precision to aide computing difference when
17130         signs differ.
17132 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17134         [BZ #19881]
17135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17136         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17137         memset-avx512-unaligned-erms.
17138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17139         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17140         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17141         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17142         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17143         __memset_sse2_unaligned_erms, __memset_erms,
17144         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17145         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17146         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17147         file.
17148         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17149         Likewise.
17150         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17151         Likewise.
17152         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17153         Likewise.
17155 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17157         [BZ #19776]
17158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17159         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17160         memmove-avx512-unaligned-erms.
17161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17162         (__libc_ifunc_impl_list): Test
17163         __memmove_chk_avx512_unaligned_2,
17164         __memmove_chk_avx512_unaligned_erms,
17165         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17166         __memmove_chk_sse2_unaligned_2,
17167         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17168         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17169         __memmove_avx512_unaligned_erms, __memmove_erms,
17170         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17171         __memcpy_chk_avx512_unaligned_2,
17172         __memcpy_chk_avx512_unaligned_erms,
17173         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17174         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17175         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17176         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17177         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17178         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17179         __mempcpy_chk_avx512_unaligned_erms,
17180         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17181         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17182         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17183         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17184         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17185         __mempcpy_erms.
17186         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17187         file.
17188         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17189         Likewise.
17190         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17191         Likewise.
17192         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17193         Likewise.
17195 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17197         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17198         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17199         (La_s390_64_regs): Likewise.
17200         (La_s390_32_retval): Append vector register lrv_v24.
17201         (La_s390_64_retval): Likeweise.
17202         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17203         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17204         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17205         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17207 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17209         [BZ #19916]
17210         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17211         to create a non-vector/vector version for _dl_runtime_resolve and
17212         _dl_runtime_profile. Move implementation to ...
17213         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17214         (_dl_runtime_resolve) Save and restore fpr/vrs.
17215         (_dl_runtime_profile) Save and restore vrs and fix some issues
17216         if _dl_call_pltexit is called.
17217         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17218         Choose the correct resolver function if running on a machine with vx.
17219         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17220         to create a non-vector/vector version for _dl_runtime_resolve and
17221         _dl_runtime_profile. Move implementation to ...
17222         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17223         (_dl_runtime_resolve) Save and restore fpr/vrs.
17224         (_dl_runtime_profile) Save and restore vrs and fix some issues
17225         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17226         Choose the correct resolver function if running on a machine with vx.
17228 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17230         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17232 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17234         [BZ #19509]
17235         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17236         skip_map != NULL.
17237         * elf/tst-dlsym-error.c: New file.
17238         * elf/Makefile (tests): Add tst-dlsym-error.
17239         (tst-dlsym-error): Link against libdl.
17241 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17243         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17244         (__ASSUME_FUTIMESAT): Remove macro.
17245         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17247 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17249         [BZ #19879]
17250         CVE-2016-3075
17251         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17252         copy name.
17254 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17256         [BZ #19837]
17257         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17258         error if parse_line fails.
17260 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17262         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17263         (index_cpu_ERMS): Likewise.
17264         (reg_ERMS): Likewise.
17266 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17268         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17269         PER_LINUX_FDPIC): Add.
17271 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17274         memcpy-avx512-no-vzeroupper.
17275         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17276         to ...
17277         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17278         (MEMCPY): Don't define.
17279         (MEMCPY_CHK): Likewise.
17280         (MEMPCPY): Likewise.
17281         (MEMPCPY_CHK): Likewise.
17282         (MEMPCPY_CHK): Renamed to ...
17283         (__mempcpy_chk_avx512_no_vzeroupper): This.
17284         (MEMPCPY_CHK): Renamed to ...
17285         (__mempcpy_chk_avx512_no_vzeroupper): This.
17286         (MEMCPY_CHK): Renamed to ...
17287         (__memmove_chk_avx512_no_vzeroupper): This.
17288         (MEMCPY): Renamed to ...
17289         (__memmove_avx512_no_vzeroupper): This.
17290         (__memcpy_avx512_no_vzeroupper): New alias.
17291         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17293 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17295         [BZ #18858]
17296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17297         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17298         and mempcpy-avx512-no-vzeroupper.
17299         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17300         New.
17301         (MEMPCPY): Likewise.
17302         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17303         (MEMPCPY_CHK): New.
17304         (MEMPCPY): Likewise.
17305         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17306         (MEMPCPY): Likewise.
17307         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17308         (MEMPCPY): Likewise.
17309         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17310         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17311         Likewise.
17312         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17313         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17315 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17316              Amit Pawar  <Amit.Pawar@amd.com>
17318         [BZ #19583]
17319         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17320         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17321         processors.  Set Fast_Copy_Backward for AMD Excavator
17322         processors.
17323         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17324         New.
17325         (index_arch_Fast_Unaligned_Copy): Likewise.
17326         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17327         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17329 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17331         [BZ #19791]
17332         * resolv/res_send.c (close_and_return_error): New function.
17333         (send_dg): Initialize *resplen2 after reopen failure.  Call
17334         close_and_return_error for error returns.  On error paths without
17335         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17336         successful return.
17338 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17340         [BZ #19860]
17341         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17342         zero if the compiler does not provide the AVX512F bit.
17344 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17346         [BZ #19848]
17347         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17348         from 8 to 4.
17349         (__ieee754_powl): Compare integer exponent against 4 not 8.
17350         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17351         from 8 to 4.
17352         (__ieee754_powl): Compare integer exponent against 4 not 8.
17353         * math/auto-libm-test-in: Add more tests of pow.
17354         * math/auto-libm-test-out: Regenerated.
17355         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17358 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17360         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17361         Make code unconditional.
17362         [!__NR_utimensat]: Remove conditional code.
17363         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17364         Make code unconditional.
17365         [!__NR_utimensat]: Remove conditional code.
17366         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17367         Make code unconditional.
17368         [!__NR_utimensat]: Remove conditional code.
17370 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17372         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17373         Make code unconditional.
17375 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17377         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17378         call-clobbered %eax on retry path.
17379         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17381 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17383         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17384         Don't set %rcx twice before "rep movsb".
17386 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17388         [BZ #19583]
17389         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17390         inline.  Check family before setting family, model and
17391         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17392         bits here.
17393         (init_cpu_features): Replace HAS_CPU_FEATURE and
17394         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17395         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17396         for Intel processors with usable AVX2.  Call get_common_indeces
17397         for other processors with family == NULL.
17398         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17399         (CPU_FEATURES_ARCH_P): Likewise.
17400         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17401         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17403 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17405         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17406         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17407         $(shared-thread-library) instead of hardcoding the path to libpthread.
17409 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17411         * sysdeps/unix/sysv/linux/kernel-features.h
17412         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17413         * sysdeps/unix/sysv/linux/getdents.c
17414         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17415         [!have_no_getdents64_defined]: Likewise.
17416         (__GETDENTS): Remove __have_no_getdents64 conditional.
17418 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17421         Remove macro.
17422         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17423         <kernel-features.h>.
17424         (signalfd) [__NR_signalfd4]: Make code unconditional.
17425         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17427 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17429         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17430         style.
17432 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17434         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17435         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17436         __pthread_unwind.
17437         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17438         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17439         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17440         (__condvar_cleanup1): Likewise.
17442 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17444         [BZ #19822]
17445         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17446         move it to the final $@ location.
17448 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17450         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17451         access where posix_spawn success and pid argument is null.
17452         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17453         success case.
17455 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17457         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17459         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17461         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17462         and __fcntl.
17463         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17464         __fcntl only.
17465         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17466         adding attribute_hidden to __open and __fcntl.
17468         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17469         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17470         depend on libc-modules.h,
17471         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17473 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17475         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17476         Remove macro.
17477         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17478         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17479         entry.
17481         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17482         Remove macro.
17483         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17484         include <kernel-features.h>.
17485         [!__ASSUME_FALLOCATE]: Remove conditional code.
17486         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17488 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17490         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17491         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17492         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17493         (_ZGVdN4v_cos_avx2): Likewise.
17494         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17495         (_ZGVdN4v_cos): Likewise.
17496         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17497         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17498         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17499         (_ZGVdN4v_exp_avx2): Likewise.
17500         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17501         (_ZGVdN4v_exp): Likewise.
17502         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17503         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17504         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17505         (_ZGVdN4v_log_avx2): Likewise.
17506         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17507         (_ZGVdN4v_log): Likewise.
17508         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17509         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17510         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17511         (_ZGVdN4vv_pow_avx2): Likewise.
17512         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17513         (_ZGVdN4vv_pow): Likewise.
17514         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17515         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17516         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17517         (_ZGVdN4v_sin_avx2): Likewise.
17518         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17519         (_ZGVdN4v_sin): Likewise.
17520         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17521         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17522         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17523         (_ZGVdN4vvv_sincos_avx2): Likewise.
17524         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17525         (_ZGVdN4vvv_sincos): Likewise.
17526         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17527         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17528         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17529         (_ZGVbN4v_cosf_sse4): Likewise.
17530         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17531         (_ZGVdN8v_cosf_avx2): Likewise.
17532         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17533         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17534         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17535         (_ZGVbN4v_expf_sse4): Likewise.
17536         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17537         (_ZGVdN8v_expf_avx2): Likewise.
17538         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17539         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17540         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17541         (_ZGVbN4v_logf_sse4): Likewise.
17542         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17543         (_ZGVdN8v_logf_avx2): Likewise.
17544         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17545         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17546         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17547         (_ZGVbN4vv_powf_sse4): Likewise.
17548         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17549         (_ZGVdN8vv_powf_avx2): Likewise.
17550         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17551         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17552         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17553         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17554         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17555         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17556         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17557         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17558         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17559         (_ZGVbN4v_sinf_sse4): Likewise.
17560         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17561         (_ZGVdN8v_sinf_avx2): Likewise.
17562         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17563         Use JUMPTARGET to call callee.
17564         (WRAPPER_IMPL_SSE2_ff): Likewise.
17565         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17566         (WRAPPER_IMPL_AVX): Likewise.
17567         (WRAPPER_IMPL_AVX_ff): Likewise.
17568         (WRAPPER_IMPL_AVX_fFF): Likewise.
17569         (WRAPPER_IMPL_AVX512): Likewise.
17570         (WRAPPER_IMPL_AVX512_ff): Likewise.
17571         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17572         Likewise.
17573         (WRAPPER_IMPL_SSE2_ff): Likewise.
17574         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17575         (WRAPPER_IMPL_AVX): Likewise.
17576         (WRAPPER_IMPL_AVX_ff): Likewise.
17577         (WRAPPER_IMPL_AVX_fFF): Likewise.
17578         (WRAPPER_IMPL_AVX512): Likewise.
17579         (WRAPPER_IMPL_AVX512_ff): Likewise.
17580         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17582 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17584         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17585         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17586         qualifier.
17587         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17588         internal_function qualifiers.
17590 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17592         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17593         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17594         * math/atest-exp.c (exp_mpn): Mark chk unused.
17595         * math/atest-exp2.c (exp_mpn): Likewise.
17596         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17597         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17599 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17601         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17602         Remove macro.
17603         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17604         <kernel-features.h>.
17605         [__NR_ppoll]: Make code unconditional.
17606         [!__ASSUME_PPOLL]: Remove conditional code.
17608         * sysdeps/unix/sysv/linux/kernel-features.h
17609         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17610         (__ASSUME_ACCEPT4): Likewise.
17611         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17612         Define.
17613         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17614         Likewise.
17615         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17616         Likewise.
17617         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17618         Likewise.
17619         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17620         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17621         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17622         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17623         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17624         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17625         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17626         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17627         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17628         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17629         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17630         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17631         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17632         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17633         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17634         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17635         Likewise.
17636         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17637         Likewise.
17638         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17639         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17640         0x040300].
17641         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17642         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17643         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17644         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17645         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17646         0x030300].
17647         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17648         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17649         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17650         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17651         0x040300].
17652         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17653         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17654         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17655         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17656         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17657         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17658         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17659         0x030300].
17660         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17661         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17662         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17663         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17664         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17665         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17666         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17667         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17668         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17669         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17670         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17671         0x040300].
17672         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17673         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17674         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17675         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17676         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17677         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17678         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17679         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17680         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17681         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17682         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17683         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17684         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17685         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17686         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17687         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17688         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17689         Likewise.
17690         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17691         Likewise.
17693 2016-03-15  Andreas Schwab  <schwab@suse.de>
17695         [BZ #19257]
17696         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17697         statp->_u._ext.nscount as loop count.
17699 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17701         * math/test-signgam-finite-c99.c: Also #undef
17702         __LIBC_INTERNAL_MATH_INLINES.
17703         * math/test-signgam-main.c: Likewise.
17705 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17707         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17708         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17709         (MADV_FREE): Likewise.
17710         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17711         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17712         EPOLLEXCLUSIVE.
17714 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17716         * timezone/README: Remove mention of checktab.awk. Mention wiki
17717         SharedSourceFiles.
17719 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17721         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17722         WUNTRACED.
17724 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17726         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17727         order to match the type of p when calling atomic_exchange_acq().
17729 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17731         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17732         cfi_offset calls.
17733         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17734         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17735         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17736         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17737         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17739 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17741         * timezone/checktab.awk: Removed.
17743 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17745         * manual/math.texi (Errors in Math Functions): Document relaxed
17746         accuracy goals for IBM long double.
17747         * math/libm-test.inc (test_exceptions): Always allow spurious
17748         "underflow" and "inexact" exceptions for IBM long double.
17750 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17752         [BZ #19762]
17753         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17754         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17755         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17756         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17757         (bit_arch_*): This for feature array.
17758         (bit_*): Renamed to ...
17759         (bit_cpu_*): This for cpu array.
17760         (index_*): Renamed to ...
17761         (index_arch_*): This for feature array.
17762         (index_*): Renamed to ...
17763         (index_cpu_*): This for cpu array.
17764         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17765         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17766         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17767         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17768         bit_##name with index_cpu_##name and bit_cpu_##name.
17769         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17770         bit_##name with index_arch_##name and bit_arch_##name.
17772 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17774         [BZ #19792]
17775         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17776         Terminate FDE before return label.
17778 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17780         [BZ #19790]
17781         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17782         (rintl): Define as macro.
17783         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17784         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17785         of fesetround.  Ensure results are evaluated before end of scope.
17786         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17787         USE_AS_NEARBYINTL and include s_rintl.c.
17788         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17789         Disable exception traps in new environment.
17790         (libc_feholdsetround_ppc_ctx): Likewise.
17792 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17794         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17795         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17796         (tst_audit10_aux) [__AVX512F__]: ... here.
17798 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17800         * include/sys/auxv.h: New file.
17802 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17804         [BZ #19759]
17805         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17807 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17809         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17810         operand modifier.
17811         (feclearexcept): Likewise.
17813 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17815         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17816         to reflect the entire 32-bit HWCAP.
17817         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17818         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17820 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17822         [BZ #19783]
17823         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17824         $(test-via-rtld-prefix).
17825         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17827 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17829         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17830         union wait.  Report any non-zero exit status as error.
17832 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17834         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17835         configured with --enable-hardcoded-path-in-tests.
17837 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17839         [BZ #19677]
17840         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17841         (__ieee754_remainderl): Put zero low parts in canonical form.
17842         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17843         file.  Based on
17844         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17845         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17846         with wrapper round test-fmodrem-ldbl-128ibm.c.
17847         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17848         file.
17849         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17850         Likewise.
17851         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17852         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17854 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17856         [BZ #19610]
17857         * elf/ldconfig.c (opt_link): Update comment.
17858         (options): Update help string for option -X.
17859         (search_dir): Unlink stale symbolic link only if updating symbolic
17860         links.
17861         * elf/tst-ldconfig-X.sh: New file.
17862         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17863         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17865 2016-03-07  Andreas Schwab  <schwab@suse.de>
17867         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17868         needed arguments.
17870 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17872         [BZ #15333]
17873         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17874         to lstat64.
17876 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17878         * libio/filedoalloc.c (isatty): Remove.
17879         (local_isatty): Add comment.  Call __isatty directly.
17880         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17881         * libio/wfiledoalloc.c (isatty): Remove.
17882         (_IO_wfile_doallocate): Update comment.
17884 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17886         [BZ #19269]
17887         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17888         tst-audit4-aux.o.
17889         (tst-audit10): Depend on tst-audit10-aux.o.
17890         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17891         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17892         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17893         instead of inline AVX code.
17894         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17895         instead of inline AVX512 code.
17896         * sysdeps/x86_64/tst-audit4-aux.c: New file
17897         * sysdeps/x86_64/tst-audit10-aux.c: New file
17899         [BZ #19648]
17900         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17902 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17904         [BZ #14750]
17905         [BZ #10354]
17906         [BZ #18433]
17907         * include/sched.h (__clone): Add hidden prototype.
17908         (__clone2): Likewise.
17909         * include/unistd.h (__dup): Likewise.
17910         * posix/Makefile (tests): Add tst-spawn2.
17911         * posix/tst-spawn2.c: New file.
17912         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17913         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17914         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17915         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17916         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17917         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17918         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17919         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17920         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17921         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17922         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17924         Likewise.
17925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17926         Likewise.
17927         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17928         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17929         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17930         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17931         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17932         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17933         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17934         * sysdeps/unix/sysv/linux/nptl-signals.h
17935         (____nptl_is_internal_signal): New function.
17936         * sysdeps/unix/sysv/linux/spawni.c: New file.
17938         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17939         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17940         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17941         * posix/tst-execvp2.c (do_test): Likewise.
17942         * posix/tst-execvp3.c (do_test): Likewise.
17943         * posix/tst-execvp4.c (do_test): Likewise.
17944         * posix/tst-execvpe1.c: New file.
17945         * posix/tst-execvpe2.c: Likewise.
17946         * posix/tst-execvpe3.c: Likewise.
17947         * posix/tst-execvpe4.c: Likewise.
17948         * posix/tst-execvpe5.c: Likewise.
17949         * posix/tst-execvpe6.c: Likewise.
17951         [BZ #19534]
17952         * posix/execl.c (execl): Remove dynamic memory allocation.
17953         * posix/execle.c (execle): Likewise.
17954         * posix/execlp.c (execlp): Likewise.
17956 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17958         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17959         Replace .text with .text.avx512.
17960         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17961         Likewise.
17963 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17965         * sysdeps/generic/libnsl.abilist: New file.
17966         * sysdeps/generic/libutil.abilist: New file.
17968 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17970         [BZ #19762]
17971         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17972         HAS_ARCH_FEATURE with Fast_Rep_String.
17973         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17974         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17975         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17976         Likewise.
17977         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17978         Likewise.
17979         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17980         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17981         Likewise.
17982         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17983         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17984         Likewise.
17986 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17988         [BZ #19745]
17989         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17990         with *%rax in call.
17992 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17994         [BZ #19745]
17995         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
17996         with *__libc_start_main@GOTPCREL(%rip) in call.
17998 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18000         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18001         inside conditional for nonempty $(CXX).
18003         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18004         nonempty.
18006         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18007         to test for empty $(CXX) rather than $(CXX) of "no".
18009 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18011         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18013 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18014             H.J. Lu  <hongjiu.lu@intel.com>
18016         [BZ #18880]
18017         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18018         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18019         enable __memcpy_ssse3_back.
18021 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18023         [BZ #19758]
18024         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18025         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18027 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18029         [BZ #19490]
18030         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18031         (__fentry__): Likewise.
18033 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18035         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18036         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18038 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18040         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18041         __mcount_internal directly.
18042         (C_LABEL(__fentry__)): Likewise.
18043         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18044         directly.
18046 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18048         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18049         (__start_context): Call __setcontext directly.
18051 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18053         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18054         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18055         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18056         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18057         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18058         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18059         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18060         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18061         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18062         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18063         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18064         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18065         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18066         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18067         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18068         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18069         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18070         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18071         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18072         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18073         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18074         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18075         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18076         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18077         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18078         Remove conditional code.
18079         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18080         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18081         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18082         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18083         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18084         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18085         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18086         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18087         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18088         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18089         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18090         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18092 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18094         * NEWS (2.23): Fix typo in bug 19048 text.
18096 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18098         [BZ #14259]
18099         * Makeconfig: Rename msgcatdir to localedir.
18100         Rename inst_msgcatdir to inst_localedir.
18101         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18102         * config.make.in: Add localedir.
18103         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18104         (ldd-rewrite): Likewise.
18105         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18106         (install-others): Use inst_localedir.
18107         (CPPFLAGS): Use localedir.
18108         * locale/Makefile (locale-CPPFLAGS): Likewise.
18109         * po/Makefile (mo-installed): Use inst_localedir.
18111         [BZ #19575]
18112         * localedata/charmaps/GB18030: Update comments regarding PAU to
18113         non-PUA mappings.
18115 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18117         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18118         test for header.
18119         * sysdeps/unix/sysv/linux/configure: Regenerated.
18120         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18121         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18122         Remove conditional code.
18123         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18125         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18126         Define to 3.2.0.
18127         (arch_minimum_kernel): Likewise.
18128         * sysdeps/unix/sysv/linux/configure: Regenerated.
18129         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18130         Define to 2.6.32.
18131         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18132         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18133         (arch_minimum_kernel): Define to 2.6.32.
18134         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18135         * README: Document Linux 3.2 requirement.
18136         * manual/install.texi (Linux): Document Linux 3.2 headers
18137         requirement.
18138         * INSTALL: Regenerated.
18140 2016-02-24  Andreas Schwab  <schwab@suse.de>
18142         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18143         if !NO_LONG_DOUBLE.
18145 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18147         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18148         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18150 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18152         [BZ #19512]
18153         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18155 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18157         * posix/tst-dir.c: Include libc-internal.h.
18159 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18161         [BZ #19056]
18162         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18163         * manual/filesys.texi (Reading/Closing Directory): Mention
18164         deprecaion.
18165         * posix/tst-dir.c (main): Disable deprecation warning in test.
18167 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18169         [BZ #19679]
18170         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18171         Renamed to ...
18172         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18173         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18174         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18175         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18176         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18177         * sysdeps/x86_64/dl-trampoline.h
18178         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18179         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18181 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18183         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18185 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18187         * elf/elf.h (R_386_GOT32X): New.
18188         (R_386_NUM): Update.
18189         (R_X86_64_GOTPCRELX: New.
18190         (R_X86_64_REX_GOTPCRELX): New.
18191         (R_X86_64_NUM): Update.
18193 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18195         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18197 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18199         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18200         assign attr->stackaddr to it, and adjust it down when
18201         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18202         [_STACK_GROWS_UP]: Delete assert.
18203         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18204         Implement stack grows up logic.
18205         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18206         stack grows up logic.
18208 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18210         * NEWS: Update with 2.24 template.
18212 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18214         [BZ #19678]
18215         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18216         Ensure +0.0 is returned when taking the next value below the least
18217         positive value.
18219 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18221         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18222         available.  Do not define NO_THREADS.
18223         * malloc/malloc.c: Do not check NO_THREADS.
18224         * malloc/arena.c: Likewise.
18226 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18228         * malloc/malloc.c (__libc_mallinfo): Update comment.
18229         (struct malloc_par): Remove max_total_mem member, it was always 0.
18230         (int_mallinfo): Store 0 into usmblks (no functional change).
18231         * malloc/hooks.c (struct malloc_state): Document that
18232         max_total_mem is always 0.
18233         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18234         always 0.
18235         * manual/memory.texi (Statistics of Malloc): Likewise.
18237 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18239         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18240         * malloc/arena.c (arena_max): Remove.
18241         (heap_trim, _int_new_arena): Do not update arena_max.
18243 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18245         * resolv/res_init.c (res_ninit): Update comment.
18247 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18249         [BZ #19505]
18250         * posix/spawn_int.h: Add headers and include guard.
18251         (__spawn_valid_fd): New function.
18252         * posix/spawn_faction_addopen.c
18253         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18254         * posix/spawn_faction_addclose.c
18255         (posix_spawn_file_actions_addclose): Likewise.
18256         * posix/spawn_faction_adddup2.c
18257         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18258         second file descriptor.
18259         * posix/spawn_valid_fd.c: New file.
18260         * posix/tst-posix_spawn-fd.c: New file.
18261         * posix/Makefile (routines): Add spawn_valid_fd.
18262         (tests): Add tst-posix_spawn-fd.
18264 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18266         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18267         (do_test): Limit the number of arenas, so that we can use fewer
18268         outer threads.  Limit timeout to 3 seconds, in preparation for a
18269         larger TIMEOUT value.
18271 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18273         [BZ #19674]
18274         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18275         sign in overflowing and underflowing results when overflow or
18276         underflow is detected early.  Include sign in result before rather
18277         than after scaling.
18279         [BZ #19603]
18280         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18281         (__ieee754_remainderl): Adjust sign of integer version of low part
18282         when taking absolute value of high part.
18283         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18284         * math/libm-test.inc (remainder_test_data): Add another test.
18285         (remquo_test_data): Likewise.
18287 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18289         [BZ #19602]
18290         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18291         equal high parts and both low parts zero specially.
18292         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18293         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18294         Add test-fmodl-ldbl-128ibm.
18296         [BZ #19595]
18297         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18298         common logic for all cases of shifting subnormal results.  Do not
18299         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18300         exponent to ldbl_insert_mantissa in subnormal case.
18302         [BZ #19594]
18303         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18304         on high and low parts then adjust result and use
18305         ldbl_canonicalize_int if needed.
18307         [BZ #19593]
18308         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18309         on high part and __floor or __ceil on low part then use
18310         ldbl_canonicalize_int if needed.
18312         [BZ #19592]
18313         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18314         high and low parts then use ldbl_canonicalize_int if needed.
18316         [BZ #17899]
18317         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18318         New function.
18319         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18320         on high and low parts then use ldbl_canonicalize_int if needed.
18322 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18324         * configure: Regenerated.
18326         * po/libc.pot: Regenerated.
18328         * po/be.po: Updated translation.
18329         * po/bg.po: Likewise.
18330         * po/ca.po: Likewise.
18331         * po/cs.po: Likewise.
18332         * po/da.po: Likewise.
18333         * po/el.po: Likewise.
18334         * po/eo.po: Likewise.
18335         * po/es.po: Likewise.
18336         * po/fi.po: Likewise.
18337         * po/fr.po: Likewise.
18338         * po/gl.po: Likewise.
18339         * po/hr.po: Likewise.
18340         * po/hu.po: Likewise.
18341         * po/ia.po: Likewise.
18342         * po/id.po: Likewise.
18343         * po/it.po: Likewise.
18344         * po/ja.po: Likewise.
18345         * po/lt.po: Likewise.
18346         * po/nb.po: Likewise.
18347         * po/nl.po: Likewise.
18348         * po/pt_BR.po: Likewise.
18349         * po/rw.po: Likewise.
18350         * po/sk.po: Likewise.
18351         * po/sl.po: Likewise.
18352         * po/sv.po: Likewise.
18353         * po/tr.po: Likewise.
18354         * po/zh_CN.po: Likewise.
18355         * po/zh_TW.po: Likewise.
18357         * version.h (RELEAES): Set to "development".
18358         (VERSION): Set to 2.23.90.
18360         * version.h (RELEASE): Set to "stable".
18361         (VERSION): Set to 2.23.
18362         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18364         * NEWS: Updated fixed bugs.
18366 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18367             Wilco Dijkstra  <wdijkstr@arm.com>
18369         [BZ #19462]
18370         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18371         (_STRING_INLINE_unaligned): This.
18372         * include/string.h: Include <string_private.h>.
18373         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18374         _STRING_INLINE_unaligned.
18375         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18376         (_STRING_INLINE_unaligned): New.
18377         * sysdeps/aarch64/string_private.h: New file.
18378         * sysdeps/generic/string_private.h: Likewise.
18379         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18380         * sysdeps/s390/string_private.h: Likewise.
18381         * sysdeps/x86/string_private.h: Likewise.
18382         * sysdeps/m68k/m680x0/m68020/bits/string.h
18383         (_STRING_ARCH_unaligned): Renamed to ...
18384         (_STRING_INLINE_unaligned): This.
18385         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18386         to ...
18387         (_STRING_INLINE_unaligned): This.
18388         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18389         to ...
18390         (_STRING_INLINE_unaligned): This.
18391         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18392         to ...
18393         (_STRING_INLINE_unaligned): This.
18395 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18396             H.J. Lu  <hongjiu.lu@intel.com>
18398         [BZ #19590]
18399         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18400         relocation.
18402 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18404         [BZ #18665]
18405         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18406         *herrno_p.
18407         (gaih_getanswer): Document functional behviour. Return tryagain
18408         if any result is tryagain.
18409         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18410         when freed.
18411         * resolv/res_send.c: Add copyright text.
18412         (__libc_res_nsend): Document that MAXPACKET is expected.
18413         (send_vc): Document. Remove buffer reuse.
18414         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18415         size of the buffer. Add Dprint for truncated UDP buffer.
18417 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18419         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18420         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18421         * INSTALL: Regenerate.
18423 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18424             Jonathan Wakely  <jwakely@redhat.com>
18425             Carlos O'Donell  <carlos@redhat.com>
18427         [BZ 19439]
18428         * math/Makefile (tests): Add test-math-isinff.
18429         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18430         * math/bits/mathcalls.h [__USE_MISC]: Use
18431         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18432         functions not in C++11 and which don't conflict e.g. isinff,
18433         isinfl etc.
18434         * math/test-math-isinff.cc: New file.
18436 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18438         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18440 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18442         [BZ #19529]
18443         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18445 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18447         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18449 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18451         [BZ #19550]
18452         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18453         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18454         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18455         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18456         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18457         New syscall entry.
18458         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18459         New syscall entry.
18460         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18461         syscall entry.
18463 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18465         [BZ #18240]
18466         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18467         unsigned int wraparound.
18469 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18471         [BZ #18240]
18472         * misc/bug18240.c: New test.
18473         * misc/Makefile (tests): Add it.
18475 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18476             Joseph Myers  <joseph@codesourcery.com>
18478         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18479         load in branch delay slot when less than a word of input left.
18481 2016-01-27  Andreas Schwab  <schwab@suse.de>
18483         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18484         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18485         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18486         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18488 2016-01-26  David S. Miller  <davem@davemloft.net>
18490         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18492 2016-01-25  David S. Miller  <davem@davemloft.net>
18494         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18495         __sqrtl_finite.
18496         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18497         instead using versioned_symbol.
18498         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18499         of entries.
18501         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18502         __sqrtl_finite to GLIBC_2.23
18504 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18506         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18508 2016-01-25  Andreas Schwab  <schwab@suse.de>
18510         [BZ #17514]
18511         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18512         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18513         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18514         * nptl/tst-mutex-errorcheck.c: New file.
18516 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18518         [BZ #18560]
18519         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18520         (IPCOP_semop): Likewise.
18521         (IPCOP_semget): Likewise.
18522         (IPCOP_semctl): Likewise.
18523         (IPCOP_msgsnd): Likewise.
18524         (IPCOP_msgrcv): Likewise.
18525         (IPCOP_msgget): Likewise.
18526         (IPCOP_msgctl): Likewise.
18527         (IPCOP_shmat): Likewise.
18528         (IPCOP_shmdt): Likewise.
18529         (IPCOP_shmget): Likewise.
18530         (IPCOP_shmctl): Likewise.
18532 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18534         * string/tst-endian.c: Include <libc-internal.h>.
18535         (do_test): Ignore tautological-compare warnings around
18536         "htobeXX (beXXtoh (i)) != i" and
18537         "htoleXX (leXXtoh (i)) != i" if-statements.
18539 2016-01-24  David S. Miller  <davem@davemloft.net>
18541         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18542         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18543         alias.
18544         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18545         __sqrtl_finite.
18547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18549 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18551         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18552         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18553         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18555 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18557         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18558         (thread_func): Use new function to simplify barrier check.
18559         (do_test): Use new function to simplify checking barrier exit
18560         code, and actually join the child thread.
18562 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18564         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18565         semicolon.
18566         (__libc_tend): Likewise.
18567         (__libc_tabort): Likewise.
18569 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18571         * sysdeps/nios2/libm-test-ulps: Update.
18572         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18573         (__gtsf2): Likewise.
18574         (__unorddf2): Likewise.
18575         (__unordsf2): Likewise.
18576         (__ledf2): Likewise.
18578 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18580         * nis/nis_table.c (__follow_path): Disable diagnostic for
18581         uninitialized variable that is a false positive for gcc 4.7.
18582         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18584 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18586         * sysdeps/nacl/lowlevellock-futex.h
18587         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18588         Always evaluate PRIVATE argument.
18590 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18592         [BZ #19490]
18593         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18594         (pthread_cond_broadcast): Use ENTRY/END
18595         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18596         (pthread_cond_signal): Likewise.
18597         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18598         Likewise.
18599         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18600         Likewise.
18601         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18602         Likewise.
18604 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18606         * sysdeps/ieee754/dbl-64/s_finite.c
18607         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18608         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18609         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18610         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18611         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18614         (__gtsf2): Add as optional for libc.so.
18615         (__unordsf2): Likewise.
18616         (__signbit): Remove for libc.so.
18617         (__signbitl): Likewise.
18619 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18621         * iconvdata/bug-iconv11.c (test_ibm93x):
18622         Use %zu printf format specifier for size_t argument.
18624 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18626         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18627         already-recorded ulps.
18628         * sysdeps/arm/libm-test-ulps: Regenerated.
18629         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18630         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18631         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18633 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18634             Paul Pluzhnikov  <ppluzhnikov@google.com>
18636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18637         assembler not supporting AVX-512.
18639 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18641         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18643 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18645         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18646         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18648         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18650         * sysdeps/arm/libm-test-ulps: Regenerated.
18652 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18654         [BZ #19451]
18655         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18657 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18659         [BZ #19486]
18660         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18661         * sysdeps/generic/fix-fp-int-convert-overflow.h
18662         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18663         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18664         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18665         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18666         Likewise.
18667         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18668         Avoid conversions to long int where inexact exceptions
18669         could be raised.
18670         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18671         Likewise.
18672         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18673         Avoid conversions to long long int where inexact exceptions
18674         could be raised.
18675         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18676         Likewise.
18678 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18680         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18681         * configure: Regenerated.
18683 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18685         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18687 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18689         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18690         outside of comment.
18692 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18694         * nptl/tst-barrier1.c: Add description on first line.
18695         * nptl/tst-barrier2.c: Likewise.
18696         * nptl/tst-barrier3.c: Likewise.
18697         * nptl/tst-barrier4.c: Likewise.
18698         * nptl/tst-barrier5.c: Likewise.
18700 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18702         [BZ #18868]
18703         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18705 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18709         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18710         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18711         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18712         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18713         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18714         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18715         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18716         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18717         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18719 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18721         [BZ #13065]
18722         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18723         new implementation.
18724         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18725         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18726         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18727         (BARRIER_IN_THRESHOLD): New macro.
18728         * nptl/pthread_barrierattr_setpshared.c
18729         (pthread_barrierattr_setpshared): Clean up.
18730         * nptl/tst-barrier4.c: Correct comment.
18731         * nptl/tst-barrier5.c: New file.
18732         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18733         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18734         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18735         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18736         * nptl/lowlevelbarrier.sym: Remove.
18737         * nptl/DESIGN-barrier.txt: Remove.
18738         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18739         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18740         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18741         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18742         error.
18743         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18744         implementation.
18746 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18748         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18749         (do_child): Mask SIGRTMIN while thr is running.
18751 2016-01-15  Martin Sebor  <msebor@redhat.com>
18753         [BZ #19432]
18754         * iconvdata/Makefile: Add bug-iconv11.
18755         * iconvdata/bug-iconv11.c: New test.
18756         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18757         * iconvdata/ibm933.c: Same.
18758         * iconvdata/ibm935.c: Same.
18759         * iconvdata/ibm937.c: Same.
18760         * iconvdata/ibm939.c: Same.
18762 2016-01-15  Martin Sebor  <msebor@redhat.com>
18764         [BZ #19443]
18765         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18766         [DEBUG] (_ufc_set_bits): Declare used.
18767         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18768         [DEBUG] (print_all): Declare used.
18769         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18770         operands of the ternary ?: expression to target type.
18771         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18772         calling the undeclared abort.
18773         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18775 2016-01-15  Martin Sebor  <msebor@redhat.com>
18777         [BZ #18755]
18778         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18779         warnings.
18780         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18781         (__gai_create_helper_thread): Same.
18782         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18783         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18784         to suppress -Wmaybe-uninitialized warnings.
18786 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18788         [BZ #19465]
18789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18790         inside if.
18791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18792         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18795 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18797         [BZ #19466]
18798         * time/tst-mktime2.c (time_t_max): Removed.
18799         (time_t_min): Likewise.
18800         (TYPE_SIGNED): New.
18801         (TYPE_MINIMUM): Likewise.
18802         (TYPE_MAXIMUM): Likewise.
18803         (TIME_T_MIN): Likewise.
18804         (TIME_T_MAX): Likewise.
18805         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18806         and TIME_T_MIN.
18807         (do_test): Likewise.
18809 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18811         [BZ #19467]
18812         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18813         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18815 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18817         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18819 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18821         * benchtests/Makefile (PYTHON): Define.
18822         (bench-func): Use $(PYTHON) to run python scripts.
18823         ($(objpfx)bench-%.c): Likewise.
18825 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18827         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18828         leading slash when `file_name' is "/".
18830 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18832         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18833         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18834         Likewise.
18835         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18836         Likewise.
18837         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18838         Likewise.
18839         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18840         enum constant and macro.
18841         (PTRACE_SETSIGMASK): Likewise.
18842         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18843         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18844         (PTRACE_GETSIGMASK): Likewise.
18845         (PTRACE_SETSIGMASK): Likewise.
18846         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18847         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18848         Likewise.
18849         (PTRACE_SETSIGMASK): Likewise.
18850         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18851         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18852         (PTRACE_GETSIGMASK): Likewise.
18853         (PTRACE_SETSIGMASK): Likewise.
18854         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18855         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18856         Likewise.
18857         (PTRACE_SETSIGMASK): Likewise.
18858         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18859         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18860         Likewise.
18861         (PTRACE_SETSIGMASK): Likewise.
18862         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18863         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18864         Likewise.
18865         (PTRACE_SETSIGMASK): Likewise.
18866         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18868 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18869             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18871         [BZ #19439]
18872         * math/bits/mathcalls.h
18873         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18874         prototype.
18875         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18877 2016-01-11  Andreas Schwab  <schwab@suse.de>
18879         [BZ #19253]
18880         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18881         cache when TZDEFRULES was used.
18882         * time/tst-tzname.c: New file.
18883         * time/Makefile (test): Add tst-tzname.
18884         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18885         * timezone/Makefile (test-zones): Add $(posixrules-file).
18886         ($(testdata)/$(posixrules-file)): New rule.
18888 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18890         Fix doc quoting problems with Texinfo 5
18891         Without this change, in the info file output, Texinfo 5 quotes code
18892         in text with undirected single quotes 'like this' and generates
18893         code examples that with many PDF readers cannot be cut out of PDFs
18894         and pasted into code.
18895         * manual/libc.texinfo: Configure the libc manual like the GNU
18896         Emacs manual, by using @documentencoding and setting
18897         txicodequoteundirected and txicodequotebacktick.  This way,
18898         Texinfo 5 quotes code in text with directed single quotes ‘like
18899         this’ and produces examples that can be cut out of PDFs.  This
18900         change causes Texinfo 5 to generate info files that contain UTF-8
18901         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18902         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18904 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18906         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18907         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18908         barriers to their respective compiler built-ins.
18909         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18910         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18911         * sysdeps/powerpc/sysdep.h: Likewise.
18912         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18913         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18914         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18916 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18918         * scripts/config.guess: Revert previous shebang change.
18919         * scripts/config.sub: Likewise.
18920         * scripts/mkinstalldirs: Likewise.
18922 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18924         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18925         PPC_FEATURE2_HAS_IEEE128.
18926         * sysdeps/powerpc/dl-procinfo.c:
18927         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18929 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18931         [BZ #19415]
18932         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18933         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18934         (_dl_lookup_address): Rewrite using function resolver trampoline.
18935         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18936         two bits in address.
18938 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18940         * longlong.h: Change !__SHMEDIA__ to
18941         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18942         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18944 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18945             Joseph Myers  <joseph@codesourcery.com>
18946             Mark Shinwell  <shinwell@codesourcery.com>
18947             Andrew Stubbs  <ams@codesourcery.com>
18948             Rich Felker <dalias@libc.org>
18950         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18952 2016-01-07  Richard Henderson  <rth@redhat.com>
18954         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18956 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18958         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18959         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18960         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18961         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18962         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18964 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18965             Joseph Myers  <joseph@codesourcery.com>
18967         * timezone/private.h: Update from tzcode 2015g.
18968         * timezone/tzfile.h: Likewise.
18969         * timezone/tzselect.ksh: Likewise.
18970         * timezone/zdump.c: Likewise.
18971         * timezone/zic.c: Likewise.
18972         * timezone/ialloc.c: Remove file.
18973         * timezone/scheck.c: Likewise.
18974         * timezone/Makefile (extra-objs): Remove variable.
18975         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18976         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18977         -Wno-maybe-uninitialized.
18978         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18979         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18980         (CFLAGS-ialloc.c): Remove variable.
18981         (CFLAGS-scheck.c): Likewise.
18982         * timezone/README: Update list of files from tzcode.
18984 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18986         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18987         instead of __fxprintf when _LIBC is undefined.
18989 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
18991         * catgets/test-gencat.sh: Remove space after shebang.
18992         * conform/GlibcConform.pm: Likewise.
18993         * conform/check-header-lists.sh: Likewise.
18994         * conform/conformtest.pl: Likewise.
18995         * conform/linknamespace.pl: Likewise.
18996         * conform/list-header-symbols.pl: Likewise.
18997         * debug/catchsegv.sh: Likewise.
18998         * elf/genrtldtbl.awk: Likewise.
18999         * elf/tst-pathopt.sh: Likewise.
19000         * elf/tst-rtld-load-self.sh: Likewise.
19001         * grp/tst_fgetgrent.sh: Likewise.
19002         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19003         * iconvdata/gen-8bit-gap.sh: Likewise.
19004         * iconvdata/gen-8bit.sh: Likewise.
19005         * iconvdata/run-iconv-test.sh: Likewise.
19006         * intl/tst-gettext.sh: Likewise.
19007         * intl/tst-gettext2.sh: Likewise.
19008         * intl/tst-gettext4.sh: Likewise.
19009         * intl/tst-gettext6.sh: Likewise.
19010         * intl/tst-translit.sh: Likewise.
19011         * io/ftwtest-sh: Likewise.
19012         * libio/test-freopen.sh: Likewise.
19013         * locale/gen-translit.pl: Likewise.
19014         * malloc/tst-mtrace.sh: Likewise.
19015         * manual/check-safety.sh: Likewise.
19016         * manual/libc-texinfo.sh: Likewise.
19017         * manual/tsort.awk: Likewise.
19018         * manual/xtract-typefun.awk: Likewise.
19019         * nptl/tst-cancel-wrappers.sh: Likewise.
19020         * nptl/tst-tls6.sh: Likewise.
19021         * posix/globtest.sh: Likewise.
19022         * posix/tst-getconf.sh: Likewise.
19023         * posix/wordexp-tst.sh: Likewise.
19024         * scripts/check-c++-types.sh: Likewise.
19025         * scripts/check-local-headers.sh: Likewise.
19026         * scripts/config.guess: Likewise.
19027         * scripts/config.sub: Likewise.
19028         * scripts/cpp: Likewise.
19029         * scripts/cross-test-ssh.sh: Likewise.
19030         * scripts/documented.sh: Likewise.
19031         * scripts/evaluate-test.sh: Likewise.
19032         * scripts/gen-libc-abis: Likewise.
19033         * scripts/gen-sorted.awk: Likewise.
19034         * scripts/list-fixed-bugs.py: Likewise.
19035         * scripts/merge-test-results.sh: Likewise.
19036         * scripts/mkinstalldirs: Likewise.
19037         * scripts/rellns-sh: Likewise.
19038         * scripts/test-installation.pl: Likewise.
19039         * scripts/update-copyrights: Likewise.
19040         * stdio-common/tst-printf.sh: Likewise.
19041         * stdio-common/tst-unbputc.sh: Likewise.
19042         * stdlib/tst-fmtmsg.sh: Likewise.
19043         * stdlib/tst-setcontext3.sh: Likewise.
19044         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19045         * sysdeps/unix/make-syscalls.sh: Likewise.
19047 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19049         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19050         asm stw with atomic_exchange_rel.  Add explanatory comment.
19051         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19052         Likewise.
19054 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19056         [BZ #19122]
19057         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19058         * sysdeps/generic/dl-unistd.h: New file.
19059         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19061 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19063          [BZ #19122]
19064          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19065          * sysdeps/generic/dl-mman.h: New file.
19066          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19068 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19070         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19071         trailing whitespace removed.
19072         * scripts/config.guess: Update to version 2016-01-01.
19073         * scripts/config.sub: Update to version 2016-01-01.
19074         * scripts/move-if-change: Update from gnulib.
19076 2016-01-04  Anton Blanchard  <anton@samba.org>
19078         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19079         for array indices.
19080         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19082 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19084         * NEWS: Update copyright dates.
19085         * catgets/gencat.c (print_version): Likewise.
19086         * csu/version.c (banner): Likewise.
19087         * debug/catchsegv.sh: Likewise.
19088         * debug/pcprofiledump.c (print_version): Likewise.
19089         * debug/xtrace.sh (do_version): Likewise.
19090         * elf/ldconfig.c (print_version): Likewise.
19091         * elf/ldd.bash.in: Likewise.
19092         * elf/pldd.c (print_version): Likewise.
19093         * elf/sotruss.sh: Likewise.
19094         * elf/sprof.c (print_version): Likewise.
19095         * iconv/iconv_prog.c (print_version): Likewise.
19096         * iconv/iconvconfig.c (print_version): Likewise.
19097         * locale/programs/locale.c (print_version): Likewise.
19098         * locale/programs/localedef.c (print_version): Likewise.
19099         * login/programs/pt_chown.c (print_version): Likewise.
19100         * malloc/memusage.sh (do_version): Likewise.
19101         * malloc/memusagestat.c (print_version): Likewise.
19102         * malloc/mtrace.pl: Likewise.
19103         * manual/libc.texinfo: Likewise.
19104         * nptl/version.c (banner): Likewise.
19105         * nscd/nscd.c (print_version): Likewise.
19106         * nss/getent.c (print_version): Likewise.
19107         * nss/makedb.c (print_version): Likewise.
19108         * posix/getconf.c (main): Likewise.
19109         * scripts/test-installation.pl: Likewise.
19110         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19112         * All files with FSF copyright notices: Update copyright dates
19113         using scripts/update-copyrights.
19114         * intl/plural.c: Regenerated.
19115         * locale/programs/charmap-kw.h: Likewise.
19116         * locale/programs/locfile-kw.h: Likewise.
19118 2016-01-02  Helge Deller  <deller@gmx.de>
19120         [BZ #19285]
19121         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19122         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19123         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19124         (MADV_xxK_PAGES): Remove.
19126 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19128         [BZ #15421]
19129         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19130         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19131         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19132         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19134 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19136         [BZ #19408]
19137         * sysdeps/unix/sysv/linux/personality.c: New file.
19138         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19139         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19140         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19141         (sysdep_routines): Add personality.
19142         (tests): Add tst-personality.
19143         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19144         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19145         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19146         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19147         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19148         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19149         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19150         Likewise.
19151         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19152         Likewise.
19153         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19154         Likewise.
19155         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19156         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19157         Likewise.
19159 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19161         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19162         (PATH_ARM_SYSTYPE): Remove.
19163         (PATH_CPUINFO): Likewise.
19164         (IO_BASE_FOOTBRIDGE): Likewise.
19165         (IO_SHIFT_FOOTBRIDGE): Likewise.
19166         (struct platform): Likewise.
19167         (init_iosys): Remove compatibility code for 2.4 kernels.
19168         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19170 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19172         * malloc/tst-malloc-thread-fail.c: New file.
19173         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19174         (tst-malloc-thread-fail): Link against libpthread.
19176 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19178         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19179         (get_parser): New function.
19180         (main): New function.
19182 2015-12-29  Rob Wu  <rob@robwu.nl>
19184         [BZ #19369]
19185         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19187 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19189         [BZ #19270]
19190         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19192 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19194         [BZ #15421]
19195         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19197 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19199         [BZ #13690]
19200         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19201         after releasing it.
19202         (__lll_robust_unlock): Likewise.
19203         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19204         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19205         (lll_robust_unlock): Likewise.
19206         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19207         Prevent warnings in callers.
19209 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19211         * malloc/arena.c (list_lock): Update comment.
19213 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19215         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19216         __parse_hwcap_and_convert_at_platform to libc.a.
19218 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19220         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19221         platform and feature support for POWER9.
19222         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19223         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19224         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19225         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19226         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19227         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19228         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19229         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19231 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19233         Harmonize generic stdio-lock support with nptl
19235         This fixes build when _IO_funlockfile is a macro, fixes build where
19236         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19237         stack unwind.
19239         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19240         _IO_release_lock ): Use cleanup attribute on new
19241         _IO_acquire_lock_file variable instead of assuming that
19242         _IO_release_lock will be called.
19243         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19244         _IO_acquire_lock_needs_exceptions_enabled.
19245         (_IO_acquire_lock_clear_flags2): New macro.
19247 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19249         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19251 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19253         [BZ #19182]
19254         * malloc/arena.c (list_lock): Document lock ordering requirements.
19255         (free_list_lock): New lock.
19256         (ptmalloc_lock_all): Comment on free_list_lock.
19257         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19258         (detach_arena): Update comment.  free_list_lock is now needed.
19259         (_int_new_arena): Use free_list_lock around detach_arena call.
19260         Acquire arena lock after list_lock.  Add comment, including FIXME
19261         about incorrect synchronization.
19262         (get_free_list): Switch to free_list_lock.
19263         (reused_arena): Acquire free_list_lock around detach_arena call
19264         and attached threads counter update.  Add two FIXMEs about
19265         incorrect synchronization.
19266         (arena_thread_freeres): Switch to free_list_lock.
19267         * malloc/malloc.c (struct malloc_state): Update comments to
19268         mention free_list_lock.
19270 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19272         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19273         Remove functions.
19274         (sloww, sloww1): Accept argument to offset quadrant.
19275         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19276         quadrant.
19277         (__sin, __cos): Consolidate common code into new functions.
19278         (reduce_sincos_1, do_sincos_1): New functions.
19279         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19281         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19282         code to new functions.
19283         (reduce_sincos_2, do_sincos_2): New functions.
19284         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19286         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19287         common code for sincos.
19288         (__cos) [!IN_SINCOS]: Likewise.
19289         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19290         New function.
19291         (__sincos): Use it.
19293 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19295         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19296         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19297         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19299 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19301         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19303         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19304         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19305         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19306         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19307         index_Prefer_No_VZEROUPPER): New feature.
19308         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19309         Prefer_No_VZEROUPPER for Knights Landing.
19311 015-12-18  Torvald Riegel  <triegel@redhat.com>
19313         * math/atest-exp2.c (mp_exp_m1): Remove.
19315 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19317         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19318         syscalls.
19319         (__SYSCALL0): New macro.
19320         (__SYSCALL1): Likewise.
19321         (__SYSCALL2): Likewise.
19322         (__SYSCALL3): Likewise.
19323         (__SYSCALL4): Likewise.
19324         (__SYSCALL5): Likewise.
19325         (__SYSCALL6): Likewise.
19326         (__SYSCALL_CONCAT_X): Likewise.
19327         (__SYSCALL_CONCAT): Likewise.
19328         (__SYSCALL_DIST): Likewise.
19329         (__SYSCALL_CALL): Likewise.
19331 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19333         [BZ #19363]
19334         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19336 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19338         [BZ #19375]
19339         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19340         negative subnormals.
19342 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19345         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19346         (INTERNAL_SYSCALL_NCS): Use it.
19347         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19349 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19351         [BZ #19243]
19352         * malloc/arena.c (get_free_list): Remove assert and adjust
19353         reference count handling.  Add comment about reused_arena
19354         interaction.
19355         (reused_arena): Add comments abount get_free_list interaction.
19356         * malloc/tst-malloc-thread-exit.c: New file.
19357         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19358         (tst-malloc-thread-exit): Link against libpthread.
19360 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19362         [BZ #19367]
19363         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19364         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19365         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19366         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19367         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19369 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19371         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19372         Silvermont optimizations for Knights Landing.
19374 2015-12-15  Andreas Schwab  <schwab@suse.de>
19376         [BZ #17197]
19377         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19378         immediately after emitting SI.
19379         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19380         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19381         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19382         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19383         * iconvdata/bug-iconv10.c: New file.
19384         * iconvdata/Makefile (tests): Add bug-iconv10.
19385         ($(objpfx)bug-iconv10.out): New rule.
19387 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19389         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19390         aliasing violation.
19392 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19394         [BZ #18472]
19395         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19396         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19397         conditionals for them.
19398         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19399         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19400         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19401         sys/kdaemon.h.
19402         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19403         compat-only syscall, obsoleted in glibc 2.23.
19404         (create_module): Likewise.
19405         (get_kernel_syms): Likewise.
19406         (query_module): Likewise.
19407         (uselib): Likewise.
19408         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19410 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19412         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19413         <linux/version.h>.
19414         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19415         conditional code.
19416         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19417         and ioshift_name initialization.
19419 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19421         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19422         Fix indentation.
19424 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19426         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19428 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19430         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19432 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19433             Jakub Wilk  <jwilk@debian.org>
19435         [BZ #19347]
19436         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19437         to change the group of the device to the tty group.
19439 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19441         Split large string section; add truncation advice
19442         * manual/examples/strncat.c: Remove.
19443         This example was misleading, as the code would have undefined
19444         behavior if "hello" was longer than SIZE.  Anyway, the manual
19445         shouldn't encourage strncpy+strncat for this sort of thing.
19446         * manual/string.texi (Copying Strings and Arrays): Split into
19447         three sections Copying Strings and Arrays, Concatenating Strings,
19448         and Truncating Strings, as this section was way too long.  All
19449         cross-referenced changed.  Add advice about string-truncation
19450         functions.  Remove misleading strncat example.
19452 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19454         * manual/nss.texi (NSS Modules Interface): Document
19455         NSS_STATUS_NOTFOUND and SUCCESS.
19457 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19459         [BZ 18568]
19460         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19461         201505L, for Unicode 8.
19463 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19465         * locale/C-translit.h: Regenerate.
19467 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19469         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19470         and U+0153.
19472 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19474         [BZ #19351]
19475         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19476         expanding log(1+z), compare z rather than its square with epsilon
19477         to determine when to avoid evaluating the expansion.
19479         [BZ #19350]
19480         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19481         Increase overflow threshold.
19483         [BZ #19349]
19484         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19485         when small.
19487         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19488         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19489         New macro.
19490         [__LINUX_KERNEL_VERSION >= 0x040300]
19491         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19492         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19493         Likewise.
19494         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19495         Likewise.
19496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19497         Likewise.
19498         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19499         Likewise.
19500         [__LINUX_KERNEL_VERSION >= 0x040300]
19501         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19502         [__LINUX_KERNEL_VERSION >= 0x040300]
19503         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19504         [__LINUX_KERNEL_VERSION >= 0x040300]
19505         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19506         [__LINUX_KERNEL_VERSION >= 0x040300]
19507         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19508         [__LINUX_KERNEL_VERSION >= 0x040300]
19509         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19510         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19511         Likewise.
19512         [__LINUX_KERNEL_VERSION >= 0x040300]
19513         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19514         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19515         Likewise.
19516         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19517         Likewise.
19518         [__LINUX_KERNEL_VERSION >= 0x040300]
19519         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19520         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19521         Likewise.
19522         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19523         Likewise.
19524         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19525         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19526         Likewise.
19527         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19528         Likewise.
19529         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19530         Likewise.
19531         [__LINUX_KERNEL_VERSION >= 0x040300]
19532         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19533         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19534         Likewise.
19535         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19536         Likewise.
19537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19538         Likewise.
19539         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19540         Likewise.
19541         [__LINUX_KERNEL_VERSION >= 0x040300]
19542         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19543         [__LINUX_KERNEL_VERSION >= 0x040300]
19544         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19545         [__LINUX_KERNEL_VERSION >= 0x040300]
19546         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19547         [__LINUX_KERNEL_VERSION >= 0x040300]
19548         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19549         [__LINUX_KERNEL_VERSION >= 0x040300]
19550         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19551         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19552         Likewise.
19553         [__LINUX_KERNEL_VERSION >= 0x040300]
19554         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19555         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19556         Likewise.
19557         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19558         Likewise.
19559         [__LINUX_KERNEL_VERSION >= 0x040300]
19560         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19561         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19562         Likewise.
19563         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19564         Likewise.
19565         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19566         (__ASSUME_SOCKET_SYSCALL): Likewise.
19567         (__ASSUME_BIND_SYSCALL): Likewise.
19568         (__ASSUME_CONNECT_SYSCALL): Likewise.
19569         (__ASSUME_LISTEN_SYSCALL): Likewise.
19570         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19571         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19572         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19573         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19574         (__ASSUME_SEND_SYSCALL): Likewise.
19575         (__ASSUME_SENDTO_SYSCALL): Likewise.
19576         (__ASSUME_RECV_SYSCALL): Likewise.
19577         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19578         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19579         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19580         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19581         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19582         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19583         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19584         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19585         Likewise.
19586         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19587         Likewise.
19588         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19589         Likewise.
19590         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19591         Likewise.
19592         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19593         Likewise.
19594         [__LINUX_KERNEL_VERSION >= 0x020625]
19595         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19596         [__LINUX_KERNEL_VERSION >= 0x020625]
19597         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19598         [__LINUX_KERNEL_VERSION >= 0x020625]
19599         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19600         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19601         Likewise.
19602         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19603         Likewise.
19604         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19605         Likewise.
19606         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19607         Likewise.
19608         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19609         Likewise.
19610         [__LINUX_KERNEL_VERSION >= 0x020625]
19611         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19612         [__LINUX_KERNEL_VERSION >= 0x020625]
19613         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19614         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19615         Likewise.
19616         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19617         Likewise.
19619 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19621         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19622         record the current if the current ABI and CPU support the FP64
19623         extension.
19624         (has-modd-spreg): Define to record the current if the current ABI and
19625         CPU support 32-bit floating point values in odd FPU registers.
19626         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19627         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19628         $(has-modd-spreg) equals yes.
19629         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19630         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19631         $(has-modd-spreg) equal yes.
19633 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19635         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19636         basename.
19638 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19640         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19641         (bench-string): ... here.
19642         (bench): Add bench-string.
19643         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19644         to *-benchset to reflect what they are.
19645         (benchset): Adjust.
19647         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19648         cos-inputs.
19650 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19652         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19653         __attribute__ ((__simd__)) for vector math function declarations.
19655 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19657         Fix typo in strncat, wcsncat manual entries
19658         * manual/string.texi (Copying and Concatenation): Fix typos in
19659         sample implementations of strncat and wcsncat, by having them use
19660         the old value of the destination length, not the new one.
19662 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19664         [BZ #16961]
19665         [BZ #16962]
19666         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19667         string on the stack for strtod.
19668         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19669         a string on the stack for strtof.
19670         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19671         constructing a string on the stack for strtold.
19672         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19673         __strtold_nan to GLIBC_PRIVATE.
19674         * math/test-nan-overflow.c: New file.
19675         * math/test-nan-payload.c: Likewise.
19676         * math/Makefile (tests): Add test-nan-overflow and
19677         test-nan-payload.
19679 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19681         Consistency about byte vs character in string.texi
19682         * manual/string.texi (String and Array Utilities):
19683         Distinguish more carefully among bytes, multibyte characters,
19684         and wide characters.  Use "byte" when talking about C 'char',
19685         to distinguish it more clearly from multibyte characters.
19686         Say "wide character" or "multibyte character" instead of
19687         "character", when a wide or multibyte character is intended.
19688         Similarly for "multibyte string" versus "string".
19689         Define these terms more carefully.
19691 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19693         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19694         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19695         Likewise.
19696         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19697         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19698         * sysdeps/sh/math_private.h: New file.
19699         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19700         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19701         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19702         long double function name.
19703         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19704         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19705         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19706         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19707         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19709         Remove __finitel, __isinfl, and __isnanl.
19710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19711         Likewise.
19712         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19714         Remove __finitel.
19715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19716         Likewise.
19717         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19719 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19721         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19722         installed libmvec_nonshared.a.
19724 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19726         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19727         (sysdep_routines): Likewise.
19728         (sysdep-rtld-routines): Likewise.
19729         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19730         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19731         * sysdeps/powerpc/Versions: Added new
19732         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19733         * sysdeps/powerpc/hwcapinfo.c: New file.
19734         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19735         and parse hwcap, hwcap2 and platform number information.
19736         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19737         to store HWCAP+HWCAP2 and platform number.
19738         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19739         for HWCAP+HWCAP2 and platform number in the TCB.
19740         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19741         the HWCAP, HWCAP2 and platform number in the TCB.
19742         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19743         (TLS_INIT_TP): Included calls to add the hwcap and
19744         at_platform values in the TCB in TP initialization.
19745         (TLS_DEFINE_INIT_TP): Likewise.
19746         (THREAD_GET_HWCAP): New macro.
19747         (THREAD_SET_HWCAP): Likewise.
19748         (THREAD_GET_AT_PLATFORM): Likewise.
19749         (THREAD_SET_AT_PLATFORM): Likewise.
19750         * sysdeps/powerpc/powerpc32/dl-machine.h:
19751         (dl_platform_init): New function that calls
19752         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19753         powerpc32.
19754         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19755         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19756         this functionality, static linking case.
19757         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19758         linking case.
19759         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19760         __parse_hwcap_and_convert_at_platform for the static linking case.
19761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19762         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19763         ABI list for GLIBC 2.23.
19764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19765         Likewise.
19766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19767         Likewise.
19769 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19771         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19772         * configure: Regenerate.
19773         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19774         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19776 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19778         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19779         * iconvdata/ibm933.c: Likewise.
19780         * iconvdata/ibm935.c: Likewise.
19781         * iconvdata/ibm937.c: Likewise.
19782         * iconvdata/ibm939.c: Likewise.
19784 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19786         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19787         pthread_join.
19788         * nptl/tst-cancel21.c (tf): Likewise.
19790 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19792         [BZ #19313]
19793         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19794         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19795         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19796         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19797         Likewise.
19798         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19799         Likewise.
19800         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19801         Likewise.
19802         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19803         Likewise.
19804         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19805         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19806         unsigned long int with __CPU_MASK_TYPE.
19808 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19810         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19812 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19814         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19815         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19816         t512.x.
19817         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19819 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19821         [BZ #19214]
19822         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19823         argument to return extended model.  Update family and model
19824         with extended family and model when family == 0x0f.
19825         (init_cpu_features): Updated.
19827 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19829         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19830         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19832         * sysdeps/mach/hurd/mmap64.c: New file.
19834 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19836         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19837         rights for its main user thread in NEWTASK.
19839 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19841         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19842         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19844 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19846         [BZ #14259]
19847         * Makeconfig: Rename localedir to complocaledir.
19848         Rename inst_localedir to inst_complocaledir.
19849         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19850         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19851         * configure.ac: Use libc_cv_complocaledir.
19852         * configure: Regenerate.
19853         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19854         -DCOMPLOCALEDIR.
19855         * locale/findlocale.c: Use COMPLOCALEDIR.
19856         * locale/loadarchive.c: Likewise.
19857         * locale/programs/locale.c: Likewise.
19858         * locale/programs/localedef.c: Likewise.
19859         * locale/programs/locarchive.c: Likewise.
19860         * localedata/Makefile: Use inst_complocaledir.
19861         * sysdeps/gnu/configure: Regenerate.
19862         * sysdeps/hppa/configure: Regenerate.
19863         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19864         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19866         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19867         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19868         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19869         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19871 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19873         [BZ #19058]
19874         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19875         AS_NEEDED.
19876         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19877         workaround.
19878         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19879         libmvec-static-only-routines): Added new file.
19880         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19882 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19884         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19885         of interrupted RPC instead of restoring it.
19887         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19888         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19889         libc_hidden_def.
19890         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19891         into initialized data instead of common. Define rtld_hidden_data_def.
19892         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19893         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19894         libc_hidden_def.
19895         (if_freenameindex): Add libc_hidden_weak.
19896         (if_nameindex): Add libc_hidden_weak.
19897         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19898         __open64.
19899         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19900         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19901         * sysdeps/mach/nanosleep.c: Include <time.h>
19902         (__nanosleep): Rename to __libc_nanosleep.
19903         (__nanosleep): Add weak_alias.
19904         (nanosleep): Update alias.
19906 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19908         * stdlib/strtod_nan.c: New file.
19909         * stdlib/strtod_nan_double.h: Likewise.
19910         * stdlib/strtod_nan_float.h: Likewise.
19911         * stdlib/strtod_nan_main.c: Likewise.
19912         * stdlib/strtod_nan_narrow.h: Likewise.
19913         * stdlib/strtod_nan_wide.h: Likewise.
19914         * stdlib/strtof_nan.c: Likewise.
19915         * stdlib/strtold_nan.c: Likewise.
19916         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19917         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19918         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19919         * wcsmbs/wcstod_nan.c: Likewise.
19920         * wcsmbs/wcstof_nan.c: Likewise.
19921         * wcsmbs/wcstold_nan.c: Likewise.
19922         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19923         strtold_nan.
19924         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19925         wcstof_nan.
19926         * include/stdlib.h (__strtof_nan): Declare and use
19927         libc_hidden_proto.
19928         (__strtod_nan): Likewise.
19929         (__strtold_nan): Likewise.
19930         (__wcstof_nan): Likewise.
19931         (__wcstod_nan): Likewise.
19932         (__wcstold_nan): Likewise.
19933         * include/wchar.h (____wcstoull_l_internal): Declare.
19934         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19935         (____strtoull_l_internal): Remove declaration.
19936         (STRTOF_NAN): Define macro.
19937         (SET_MANTISSA): Remove macro.
19938         (STRTOULL): Likewise.
19939         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19940         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19941         (STRTOF_NAN): Define macro.
19942         (SET_MANTISSA): Remove macro.
19943         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19944         (SET_MANTISSA): Remove macro.
19945         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19946         macro.
19947         (SET_MANTISSA): Remove macro.
19948         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19949         macro.
19950         (SET_MANTISSA): Remove macro.
19951         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19952         (SET_MANTISSA): Remove macro.
19953         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19954         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19955         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19957         [BZ #19266]
19958         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19959         upper case and lower case letters inside NAN(), not using TOLOWER.
19960         * stdlib/tst-strtod-nan-locale-main.c: New file.
19961         * stdlib/tst-strtod-nan-locale.c: Likewise.
19962         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19963         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19964         Depend on $(gen-locales).
19965         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19966         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19967         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19968         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19969         Depend on $(gen-locales).
19970         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19972 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19974         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19976         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19978         __finitel, __isinfl, and __isnanl.
19979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19980         Likewise.
19981         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19983         __finitel.
19984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19985         Likewise.
19986         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19988 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19990         * malloc/memusage.c (me): Remove redundant getenv call.
19992 2015-10-24  Florian Weimer  <fweimer@redhat.com>
19994         [BZ #19143]
19995         [BZ #19164]
19996         * nptl/check-cpuset.h: Remove.
19997         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19998         Remove CPU set size check.
19999         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20000         Likewise.
20001         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20002         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20003         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20004         (__pthread_setaffinity_new): Remove CPU set size check.
20005         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20006         (__kernel_cpumask_size): Remove.
20007         (__sched_setaffinity_new): Remove CPU set size check.
20008         * manual/threads.texi (Default Thread Attributes): Remove stale
20009         reference to check_cpuset_attr, determine_cpumask_size in comment.
20010         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20011         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20012         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20013         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20014         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20015         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20016         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20017         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20018         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20019         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20020         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20021         skeleton test file.
20022         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20023         tst-affinity-pid.
20025 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20027         * scripts/update-abilist.sh: New file.
20028         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20029         * Makerules (update-all-abi-%, update-all-abi)
20030         (subdir_update-all-abi): New targets.
20031         * elf/Makefile (update-all-abi): New target.
20033 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20035         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20036         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20037         (__libc_lock_define_initialized): Use it.
20038         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20039         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20040         * malloc/malloc.c (main_arena): Likewise.
20041         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20042         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20044 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20046         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20047         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20048         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20049         (PTRACE_O_MASK): Update value.
20050         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20051         New value in enum __ptrace_setoptions.
20052         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20053         (PTRACE_O_MASK): Update value.
20054         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20055         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20056         (PTRACE_O_MASK): Update value.
20057         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20058         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20059         (PTRACE_O_MASK): Update value.
20060         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20061         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20062         (PTRACE_O_MASK): Update value.
20063         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20064         New value in enum __ptrace_setoptions.
20065         (PTRACE_O_MASK): Update value.
20066         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20067         New value in enum __ptrace_setoptions.
20068         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20069         (PTRACE_O_MASK): Update value.
20071         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20072         New macro.
20073         (PACKET_AUXDATA): Likewise.
20074         (PACKET_ORIGDEV): Likewise.
20075         (PACKET_VERSION): Likewise.
20076         (PACKET_HDRLEN): Likewise.
20077         (PACKET_RESERVE): Likewise.
20078         (PACKET_TX_RING): Likewise.
20079         (PACKET_LOSS): Likewise.
20080         (PACKET_VNET_HDR): Likewise.
20081         (PACKET_TX_TIMESTAMP): Likewise.
20082         (PACKET_TIMESTAMP): Likewise.
20083         (PACKET_FANOUT): Likewise.
20084         (PACKET_TX_HAS_OFF): Likewise.
20085         (PACKET_QDISC_BYPASS): Likewise.
20086         (PACKET_ROLLOVER_STATS): Likewise.
20087         (PACKET_FANOUT_DATA): Likewise.
20088         (PACKET_MR_UNICAST): Likewise.
20090         [BZ #19242]
20091         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20092         (TOUPPER): Likewise.
20093         * stdlib/tst-strtol-locale-main.c: New file.
20094         * stdlib/tst-strtol-locale.c: Likewise.
20095         * stdlib/Makefile (tests): Add tst-strtol-locale.
20096         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20097         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20098         Depend on $(gen-locales).
20099         * wcsmbs/tst-wcstol-locale.c: New file.
20100         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20101         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20102         tr_TR.ISO-8859-9.
20103         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20104         Depend on $(gen-locales).
20106 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20108         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20109         __glibc_likely instead of __builtin_expect.  After falling back to
20110         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20111         system interface to register the code pages as occupied.
20113 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20115         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20116         [!ARM_MATH_PRIVATE_H].
20117         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20118         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20119         [!HPPA_MATH_PRIVATE_H].
20120         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20121         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20122         to [!I386_MATH_PRIVATE_H].
20123         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20124         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20125         Change guard to [!M68K_MATH_PRIVATE_H].
20126         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20127         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20128         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20129         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20130         macro.
20131         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20132         [!MIPS_MATH_PRIVATE_H].
20133         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20134         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20135         [!NIO2_MATH_PRIVATE_H].
20136         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20137         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20138         [!TILE_MATH_PRIVATE_H].
20139         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20141         [BZ #15421]
20142         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20143         initialize with 0 and define as weak alias of __signgam.
20144         * include/math.h [!_ISOMAC] (__signgam): Declare.
20145         * math/Makefile (libm-calls): Add w_lgamma_compat.
20146         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20147         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20148         test-signgam-ullong-init.
20149         (tests-static): Add test-signgam-uchar-static,
20150         test-signgam-uchar-init-static, test-signgam-uint-static,
20151         test-signgam-uint-init-static, test-signgam-ullong-static and
20152         test-signgam-ullong-init-static.
20153         (CFLAGS-test-signgam-uchar.c): New variable.
20154         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20155         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20156         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20157         (CFLAGS-test-signgam-uint.c): Likewise.
20158         (CFLAGS-test-signgam-uint-init.c): Likewise.
20159         (CFLAGS-test-signgam-uint-static.c): Likewise.
20160         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20161         (CFLAGS-test-signgam-ullong.c): Likewise.
20162         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20163         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20164         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20165         * math/Versions (libm): Add GLIBC_2.23.
20166         * math/lgamma-compat.h: New file.
20167         * math/test-signgam-main.c: Likewise.
20168         * math/test-signgam-uchar-init-static.c: Likewise.
20169         * math/test-signgam-uchar-init.c: Likewise.
20170         * math/test-signgam-uchar-static.c: Likewise.
20171         * math/test-signgam-uchar.c: Likewise.
20172         * math/test-signgam-uint-init-static.c: Likewise.
20173         * math/test-signgam-uint-init.c: Likewise.
20174         * math/test-signgam-uint-static.c: Likewise.
20175         * math/test-signgam-uint.c: Likewise.
20176         * math/test-signgam-ullong-init-static.c: Likewise.
20177         * math/test-signgam-ullong-init.c: Likewise.
20178         * math/test-signgam-ullong-static.c: Likewise.
20179         * math/test-signgam-ullong.c: Likewise.
20180         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20181         wrapper of w_lgamma_main.c.
20182         * math/w_lgamma_compat.c: New file.
20183         * math/w_lgamma_compatf.c: Likewise.
20184         * math/w_lgamma_compatl.c: Likewise.
20185         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20186         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20187         defining compatibility symbols.
20188         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20189         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20190         wrapper of w_lgammaf_main.c.
20191         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20192         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20193         defining compatibility symbols.
20194         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20195         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20196         wrapper of w_lgammal_main.c.
20197         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20198         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20199         defining compatibility symbols.
20200         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20201         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20202         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20203         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20204         <lgamma-compat.h>.
20205         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20206         (__ieee754_gamma): Define as alias.
20207         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20208         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20209         <lgamma-compat.h>.
20210         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20211         (__ieee754_gammaf): Define as alias.
20212         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20213         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20214         <lgamma-compat.h>.
20215         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20216         (__ieee754_gammal): Define as alias.
20217         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20218         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20219         <math/w_lgamma_compat.c>.
20220         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20221         Define as alias of __lgamma_compat and use in defining lgammal.
20222         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20223         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20224         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20225         (USE_AS_COMPAT): New macro.
20226         (LGAMMA_OLD_VER): Undefine and redefine.
20227         (lgammal): Do not define here.
20228         (gammal): Only define here if [GAMMA_ALIAS].
20229         * conform/linknamespace.pl (@whitelist): Remove signgam.
20230         * sysdeps/nacl/libm.abilist: Update.
20231         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20232         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20233         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20234         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20235         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20236         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20237         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20238         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20239         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20240         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20241         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20242         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20244         Likewise.
20245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20246         Likewise.
20247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20248         Likewise.
20249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20250         Likewise.
20251         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20252         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20253         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20254         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20255         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20257         Likewise.
20258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20259         Likewise.
20260         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20261         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20262         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20264 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20266         [BZ #16364]
20267         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20268         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20270 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20272         * sysdeps/s390/fpu/bits/mathinline.h:
20273         Use __asm__ [__volatile__] instead of asm [volatile].
20274         * sysdeps/s390/abort-instr.h: Likewise.
20275         * sysdeps/s390/atomic-machine.h: Likewise.
20276         * sysdeps/s390/bits/string.h: Likewise.
20277         * sysdeps/s390/dl-tls.h: Likewise.
20278         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20279         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20280         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20281         * sysdeps/s390/fpu/fesetround.c: Likewise.
20282         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20283         * sysdeps/s390/fpu/s_fma.c: Likewise.
20284         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20285         * sysdeps/s390/memusage.h: Likewise.
20286         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20287         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20288         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20289         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20290         * sysdeps/s390/nptl/tls.h: Likewise.
20291         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20292         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20293         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20294         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20295         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20296         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20297         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20298         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20299         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20300         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20301         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20302         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20303         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20304         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20305         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20306         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20307         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20308         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20309         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20311         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20313         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20315 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20316             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20318         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20319         Add lwarx hint, and use macro for acquire instruction.
20320         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20321         Likewise.
20322         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20323         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20324         update to use new atomic macros.
20326 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20328         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20329         (__lll_trylock_elision): Fix setting of adapt_count.
20330         * sysdeps/unix/sysv/linux/powerpc/htm.h
20331         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20332         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20333         (_ABORT_SYSCALL): Renumber, and clarify definition.
20334         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20336 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20338         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20339         after system headers to prevent MIN/MAX redefinition.  Define
20340         HAVE_ALLOCA to preserve builtin alloca usage.
20342 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20344         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20345         static and don't set or restore rounding.
20346         (__cos)[IN_SINCOS]: Likewise.
20347         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20348         (__sincos): Set and restore rounding mode.  Remove check for infinite
20349         or NaN input.
20351         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20353         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20354         as used.
20356 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20358         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20360 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20362         * config.make.in (have-glob-dat-reloc): New.
20363         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20364         target supports GLOB_DAT relocaton. AC_SUBST.
20365         * configure: Regenerated.
20366         * elf/Makefile (tests): Add tst-prelink.
20367         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20368         (tst-prelink-ENV): New.
20369         ($(objpfx)tst-prelink-conflict.out): Likewise.
20370         ($(objpfx)tst-prelink-cmp.out): Likewise.
20371         * sysdeps/x86/tst-prelink.c: Moved to ...
20372         * elf/tst-prelink.c: Here.
20373         * sysdeps/x86/tst-prelink.exp: Moved to ...
20374         * elf/tst-prelink.exp: Here.
20375         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20376         (tst-prelink-ENV): Removed.
20377         ($(objpfx)tst-prelink-conflict.out): Likewise.
20378         ($(objpfx)tst-prelink-cmp.out): Likewise.
20379         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20381 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20383         [BZ #14551]
20384         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20385         (__mpn_construct_long_double): If high part overflows to infinity,
20386         set errno and recompute overflowed result of the correct sign.
20387         * sysdeps/ieee754/ldbl-128ibm/Makefile
20388         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20389         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20390         $(libm).
20391         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20393 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20395         [BZ #15479]
20396         [BZ #19238]
20397         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20398         floating-point state after first operation on input.  Restore full
20399         state rather than just rounding mode.
20400         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20401         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20402         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20404         [BZ #19235]
20405         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20406         add 0.5 to integer arguments.
20407         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20408         Likewise.
20409         (.LC2): New object.
20411 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20413         * scripts/pylintrc (reports): Set to no.
20415 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20417         * elf/dl-load.c (open_verify): Take new argument FD.
20418         Skip __open call if passed FD is not -1.
20419         (_dl_map_object, open_path): Update callers.
20420         * elf/dl-sysdep-open.h: New file.
20421         * elf/dl-load.c: Include it.
20422         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20423         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20424         * sysdeps/nacl/dl-sysdep-open.h: New file.
20425         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20426         from libc to rtld.
20428 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20430         [BZ #19228]
20431         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20432         and restore full floating-point state.
20433         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20434         Likewise.
20435         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20436         Likewise.
20437         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20438         Likewise.
20439         * math/test-nearbyint-except-2.c: New file.
20440         * math/Makefile (tests): Add test-nearbyint-except-2.
20442 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20444         [BZ #19178]
20445         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20446         (tst-prelink-ENV): New.
20447         ($(objpfx)tst-prelink-conflict.out): Likewise.
20448         ($(objpfx)tst-prelink-cmp.out): Likewise.
20449         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20450         * sysdeps/x86/tst-prelink.c: New file.
20451         * sysdeps/x86/tst-prelink.exp: Likewise.
20453 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20455         * math/auto-libm-test-in: Add another test of pow.
20456         * math/auto-libm-test-out: Regenerated.
20457         * math/libm-test.inc (pow_test_data): Add another test.
20459 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20461         [BZ #19219]
20462         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20463         weak_alias to nearbyintl.
20465 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20467         * sysdeps/aarch64/bits/string.h: New file.
20468         (_STRING_ARCH_unaligned): Define.
20470 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20472         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20473         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20474         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20475         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20478 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20480         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20481         for original name of the DSO.  Add it to the name list of the DSO
20482         if it is actually given.
20483         (_dl_map_object): Keep track of whether an audit module rewrote
20484         the file name.  If yes, pass the original name to
20485         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20486         debugging is enabled, log the change of the file name.
20487         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20488         _dl_map_object_from_fd.
20489         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20490         * elf/tst-audit11.c: New file
20491         * elf/tst-auditmod11.c: New file.
20492         * elf/tst-audit11mod1.c: New file.
20493         * elf/tst-audit11mod2.c: New file.
20494         * elf/tst-audit11mod2.map: New file.
20495         * elf/tst-audit12.c: New file
20496         * elf/tst-auditmod12.c: New file.
20497         * elf/tst-audit12mod1.c: New file.
20498         * elf/tst-audit12mod2.c: New file.
20499         * elf/tst-audit12mod2.map: New file.
20500         * elf/tst-audit12mod3.c: New file.
20502 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20504         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20505         Don't create weak aliases,
20506         because versioned symbols are created later.
20507         * sysdeps/s390/s390-32/setjmp.S
20508         (setjmp, _setjmp): Remove weak and rename to an unique name
20509         in SHARED case due to existing versioned symbols.
20510         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20511         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20512         (getcontext): Create weak alias only in non SHARED case.
20513         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20515 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20517         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20518         (__ASSUME_*_SYSCALL) Define new macros.
20519         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20520         Remove socketcall syscalls.
20521         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20522         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20523         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20524         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20525         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20526         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20528 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20530         [BZ #12926]
20531         Terminate process on invalid netlink response.
20532         * sysdeps/unix/sysv/linux/netlinkaccess.h
20533         (__netlink_assert_response): Declare.
20534         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20535         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20536         (sysdep_routines): Add netlink_assert_response.
20537         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20538         __netlink_assert_response.
20539         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20540         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20541         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20542         __netlink_assert_response.
20544 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20546         [BZ #19178]
20547         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20548         (RTYPE_CLASS_PLT): Likewise.
20549         (RTYPE_CLASS_COPY): Likewise.
20550         (RTYPE_CLASS_TLS): Likewise.
20551         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20552         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20553         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20554         DL_DEBUG_PRELINK.
20556 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20558         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20559         calls with argument -0.5.
20560         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20562         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20563         (libc_cv_z_nodlopen): Likewise.
20564         (libc_cv_z_initfirst): Likewise.
20565         * configure: Regenerated.
20567 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20569         Simplify abilist format to be line-based.
20570         * scripts/abilist.awk: Collect descriptors in the descs variable.
20571         (emit): Write descs variable and sort it
20572         externally, with sort.
20573         * sysdeps/**/*.abilist: Convert to new format.
20575 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20577         [BZ #11460]
20578         * io/Makefile (routines): Add fts64.
20579         (tests): Add tst-fts and tst-fts-lfs.
20580         (CFLAGS-fts64.c): New.
20581         * io/Versions (GLIBC_2.23): New.
20582         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20583         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20584         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20585         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20586         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20587         (FTSENT64): Likewise.
20588         (fts64_children): Likewise.
20589         (fts64_close): Likewise.
20590         (fts64_open): Likewise.
20591         (fts64_read): Likewise.
20592         (fts64_set): Likewise.
20593         * io/fts64.c: New file.
20594         * io/tst-fts.c: New test.
20595         * io/tst-fts-lfs.c: Likewise.
20596         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20597         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20598         fts64_set.
20599         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20600         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20601         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20602         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20603         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20604         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20605         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20606         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20607         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20608         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20609         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20610         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20611         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20613         Likewise.
20614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20615         Likewise.
20616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20618         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20619         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20620         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20621         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20622         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20625         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20626         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20627         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20628         * sysdeps/wordsize-64/fts.c: New file.
20629         * sysdeps/wordsize-64/fts64.c: Likewise.
20630         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20631         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20632         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20633         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20635 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20637         * math/libm-test.inc (NON_FINITE): New macro.
20638         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20639         * math/gen-libm-test.pl (show_exceptions): Add argument
20640         $non_finite.
20641         (parse_args): Update call to show_exceptions.
20642         * math/test-math-finite.h: New file.
20643         * math/test-math-no-finite.h: Likewise.
20644         * math/test-double-finite.c: Likewise.
20645         * math/test-float-finite.c: Likewise.
20646         * math/test-ldouble-finite.c: Likewise.
20647         * math/test-double.c: Include "test-math-no-finite.h".
20648         * math/test-float.c: Include "test-math-no-finite.h".
20649         * math/test-ldouble.c: Include "test-math-no-finite.h".
20650         * math/test-math-inline.h (TEST_FINITE): New macro.
20651         * math/test-math-vector.h (TEST_FINITE): Likewise.
20652         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20653         (libm-tests): Add test-float-finite and test-double-finite.
20654         ($(objpfx)test-float-finite.o): New dependency on
20655         $(objpfx)libm-test.stmp.
20656         ($(objpfx)test-double-finite.o): Likewise.
20657         ($(objpfx)test-ldouble-finite.o): Likewise.
20658         (libm-test-no-inline-cflags): New variable.
20659         (libm-test-finite-cflags): Likewise.
20660         (CFLAGS-test-float-finite.c): Likewise.
20661         (CFLAGS-test-double-finite.c): Likewise.
20662         (CFLAGS-test-ldouble-finite.c): Likewise.
20663         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20664         (CFLAGS-test-double.c): Likewise.
20665         (CFLAGS-test-ldouble.c): Likewise.
20667 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20669         * io/fcntl.c (__fcntl): Add ... to prototype.
20670         * misc/ioctl.c (__ioctl): Likewise.
20671         * misc/syscall.c (syscall): Likewise.
20673 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20675         * scripts/list-fixed-bugs.py: New file.
20677         [BZ #19213]
20678         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20679         returned for argument 1.
20680         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20681         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20682         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20683         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20684         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20685         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20687         [BZ #19211]
20688         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20689         __USE_XOPEN], not if [!__USE_ISOC99].
20690         (lgammaf): Likewise.
20691         (lgammal): Likewise.
20692         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20693         (gammaf): Likewise.
20694         (gammal): Likewise.
20695         * math/test-signgam-finite-c11.c: New file.
20696         * math/test-signgam-finite-c99.c: Likewise.
20697         * math/test-signgam-finite.c: Likewise.
20698         * math/Makefile (tests): Add test-signgam-finite,
20699         test-signgam-finite-c99 and test-signgam-finite-c11.
20700         (CFLAGS-test-signgam-finite.c): New variable.
20701         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20702         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20704         [BZ #19212]
20705         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20706         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20707         500].
20708         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20709         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20710         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20711         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20712         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20713         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20714         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20715         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20716         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20717         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20719         [BZ #19209]
20720         * math/bits/math-finite.h (ldexp): Remove declaration.
20721         (ldexpf): Likewise.
20722         (ldexpl): Likewise.
20724         [BZ #19205]
20725         * math/bits/math-finite.h (acosf): Condition declaration on
20726         [__USE_ISOC99].
20727         (acosl): Likewise.
20728         (acoshf): Likewise.
20729         (acoshl): Likewise.
20730         (asinf): Likewise.
20731         (asinl): Likewise.
20732         (atan2f): Likewise.
20733         (atan2l): Likewise.
20734         (atanhf): Likewise.
20735         (atanhl): Likewise.
20736         (coshf): Likewise.
20737         (coshl): Likewise.
20738         (expf): Likewise.
20739         (expl): Likewise.
20740         (fmodf): Likewise.
20741         (fmodl): Likewise.
20742         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20743         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20744         (j0l): Likewise.
20745         (y0f): Likewise.
20746         (y0l): Likewise.
20747         (j1f): Likewise.
20748         (j1l): Likewise.
20749         (y1f): Likewise.
20750         (y1l): Likewise.
20751         (jnf): Likewise.
20752         (jnl): Likewise.
20753         (ynf): Likewise.
20754         (ynl): Likewise.
20755         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20756         (lgammal_r): Likewise.
20757         (__lgamma_r_finite): New declaration.
20758         (__lgammaf_r_finite): Likewise.
20759         (__lgammal_r_finite): Likewise.
20760         (lgamma): Use __lgamma_r_finite.
20761         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20762         __lgammaf_r_finite.
20763         (lgammal): Condition definition on [__USE_ISOC99].  Use
20764         __lgammal_r_finite.
20765         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20766         __lgamma_r_finite.
20767         (gammaf): Condition definition on [__USE_ISOC99].  Use
20768         __lgammaf_r_finite.
20769         (gammal): Condition definition on [__USE_ISOC99].  Use
20770         __lgammal_r_finite.
20771         (logf): Condition declaration on [__USE_ISOC99].
20772         (logl): Likewise.
20773         (log10f): Likewise.
20774         (log10l): Likewise.
20775         (ldexpf): Likewise.
20776         (ldexpl): Likewise.
20777         (powf): Likewise.
20778         (powl): Likewise.
20779         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20780         __USE_ISOC99].
20781         (remainderf): Condition declaration on [__USE_ISOC99].
20782         (remainderl): Likewise.
20783         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20784         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20785         (scalbl): Likewise.
20786         (sinhf): Condition declaration on [__USE_ISOC99].
20787         (sinhl): Likewise.
20788         (sqrtf): Likewise.
20789         (sqrtl): Likewise.
20791 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20793         * sysdeps/arm/atomic-machine.h
20794         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20795         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20796         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20797         Remove conditional code.
20798         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20799         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20800         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20801         Change conditional to [__ASSEMBLER__].
20802         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20803         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20804         [!__ASSEMBLER__].
20805         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20806         code.
20807         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20808         conditional macro definitions.
20809         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20810         (__arch_compare_and_exchange_val_16_acq): Likewise.
20811         (__arch_compare_and_exchange_val_32_acq): Likewise.
20812         (atomic_exchange_and_add): Likewise.
20813         (atomic_add): Likewise.
20814         (atomic_add_negative): Likewise.
20815         (atomic_add_zero): Likewise.
20816         (atomic_bit_set): Likewise.
20817         (atomic_bit_test_set): Likewise.
20818         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20819         code unconditional.
20820         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20822         * math/test-math-errno.h: New file.
20823         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20824         empty.
20825         (TEST_ERRNO): New macro.
20826         (TEST_EXCEPTIONS): Likewise.
20827         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20828         (TEST_EXCEPTIONS): Likewise.
20829         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20830         * math/test-double.c: Include "test-math-errno.h".
20831         * math/test-float.c: Likewise.
20832         * math/test-ldouble.c: Likewise.
20833         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20834         code unconditional.
20835         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20836         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20837         unconditional.
20838         (test_errno): Only run code if TEST_ERRNO.
20839         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20841 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20843         * nptl/tst-once5.cc: Remove attribution.
20845 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20847         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20848         sqrt, tan, tanh, y0, y1 and yn.
20849         * math/auto-libm-test-out: Regenerated.
20850         * math/libm-test.inc (scalb_test_data): Add more tests.
20851         (scalbn_test_data): Likewise.
20852         (scalbln_test_data): Likewise.
20853         (signbit_test_data): Likewise.
20854         (sin_test_data): Likewise.
20855         (sincos_test_data): Likewise.
20856         (sinh_test_data): Likewise.
20857         (sqrt_test_data): Likewise.
20858         (tan_test_data): Likewise.
20859         (tanh_test_data): Likewise.
20860         (tgamma_test_data): Likewise.
20861         (y0_test_data): Likewise.
20862         (y1_test_data): Likewise.
20863         (yn_test_data): Likewise.
20864         (significand_test_data): Likewise.
20865         * sysdeps/i386/fpu/libm-test-ulps: Update.
20867 2015-11-03  David Kastrup  <dak@gnu.org>
20869         [BZ #18604]
20870         * assert/assert.h (assert): Don't macro-expand failed assertion
20871         expression in error message.
20872         * malloc/malloc.c (assert): Likewise.
20874 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20876         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20877         test.
20878         * configure: Regenerated.
20880 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20882         * math/libm-test.inc (modf_test_data): Add more tests.
20883         (nearbyint_test_data): Likewise.
20884         (nextafter_test_data): Likewise.
20885         (nexttoward_test_data): Likewise.
20886         (pow_test_data): Likewise.
20887         (remainder_test_data): Likewise.
20888         (remquo_test_data): Likewise.
20889         (rint_test_data): Likewise.
20891         [BZ #19201]
20892         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20893         Check for zero remainder in case of large exponents and ensure
20894         correct sign of result in that case.
20895         * math/libm-test.inc (remainder_test_data): Add more tests.
20897         [BZ #6799]
20898         * math/s_nextafter.c: Include <errno.h>.
20899         (__nextafter): Set errno on overflow and underflow.
20900         * math/s_nexttowardf.c: Include <errno.h>.
20901         (__nexttowardf): Set errno on overflow and underflow.
20902         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20903         (__nextafterl): Set errno on overflow and underflow.
20904         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20905         (__nexttoward): Set errno on overflow and underflow.
20906         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20907         (__nexttowardf): Set errno on overflow and underflow.
20908         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20909         (__nextafterf): Set errno on overflow and underflow.
20910         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20911         (__nextafterl): Set errno on overflow and underflow.
20912         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20913         (__nexttoward): Set errno on overflow and underflow.
20914         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20915         (__nexttowardf): Set errno on overflow and underflow.
20916         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20917         (__nextafterl): Set errno on overflow and underflow.
20918         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20919         (__nexttoward): Set errno on overflow and underflow.
20920         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20921         (__nexttowardf): Set errno on overflow and underflow.
20922         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20923         (__nexttoward): Set errno on overflow and underflow.
20924         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20925         (__nexttowardf): Set errno on overflow and underflow.
20926         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20927         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20928         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20929         (__nextafterl): Set errno on overflow and underflow.
20930         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20931         setting to be missing on overflow.  Add more tests.
20932         (nexttoward_test_data): Likewise.
20934         * configure.ac (libc_cv_initfini_array): Remove configure test.
20935         * configure: Regenerated.
20937 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20939         [BZ #19189]
20940         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20941         non-finite argument handle arguments with negative sign.
20943         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20944         result from infinite argument.
20945         (j1_test_data): Likewise.
20946         (jn_test_data): Likewise.
20947         (y0_test_data): Likewise.
20948         (y1_test_data): Likewise.
20949         (yn_test_data): Likewise.
20951         [BZ #16171]
20952         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20953         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20954         * math/w_remainderf.c (dremf): Define as weak alias of
20955         __remainderf.
20956         * math/w_remainderl.c (dreml): Define as weak alias of
20957         __remainderl.
20958         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20959         __remainder.
20960         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20961         __remainderf.
20962         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20963         __remainderl.
20964         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20965         weak alias of remainderl.
20966         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20967         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20968         alias of __remainder.
20969         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20970         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20971         strong alias of __remainderl.
20972         (dreml): Use long_double_symbol.
20973         * math/Makefile (libm-calls): Remove w_drem.
20974         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20975         (CFLAGS-nldbl-drem.c): Remove variable.
20976         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20977         * math/w_drem.c: Remove file.
20978         * math/w_dremf.c: Likewise.
20979         * math/w_dreml.c: Likewise.
20980         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20981         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20982         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20984         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20985         * sysdeps/i386/configure: Regenerated.
20986         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20987         * sysdeps/x86_64/configure: Regenerated.
20989         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20990         test.
20991         (libc_cv_visibility_attribute): Likewise.
20992         (libc_cv_protected_data): Test unconditionally.
20993         (libc_cv_broken_visibility_attribute): Remove configure test.
20994         (libc_cv_have_sdata_section): Test unconditionally.
20995         * configure: Regenerated.
20997         * include/libc-internal.h (libc_max_align_t): Remove typedef.
20998         * include/scratch_buffer.h: Include <stddef.h> instead of
20999         <libc-internal.h>.
21000         (struct scratch_buffer): Use max_align_t instead of
21001         libc_max_align_t.
21003 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21005         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21006         instead of extend_alloca.  Change control flow to avoid a goto.
21007         Remove assert which is trivially always true.
21009 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21011         [BZ #16068]
21012         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21013         (FE_ALL_EXCEPT_X86): New macro.
21014         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21015         FE_ALL_EXCEPT.  Ensure precision control is included in
21016         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21017         handle "denormal operand exception" and clear FZ and DAZ bits.
21018         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21019         (FE_ALL_EXCEPT_X86): New macro.
21020         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21021         FE_ALL_EXCEPT.  Ensure precision control is included in
21022         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21023         handle "denormal operand exception" and clear FZ and DAZ bits.
21024         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21025         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21026         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21027         test-fenv-x87 and test-fenv-sse-2.
21028         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21030         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21031         * math/test-double.h (BUILD_COMPLEX): New macro.
21032         * math/test-float.h (BUILD_COMPLEX): Likewise.
21033         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21035         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21036         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21037         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21039         instead of DBL_DENORM_MIN in comment.
21040         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21041         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21042         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21043         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21044         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21045         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21047 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21049         [BZ #19048]
21050         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21051         attached_threads member.
21052         (main_arena): Initialize attached_threads.
21053         * malloc/arena.c (list_lock): Update comment.
21054         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21055         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21056         (deattach_arena): New function.
21057         (_int_new_arena): Initialize arena reference count and deattach
21058         replaced arena.
21059         (get_free_list, reused_arena): Update reference count and deattach
21060         replaced arena.
21061         (arena_thread_freeres): Update arena reference count and only put
21062         unreferenced arenas on the free list.
21064 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21066         [BZ #19181]
21067         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21068         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21069         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21070         * math/test-fenv-clear-main.c: New file.
21071         * math/test-fenv-clear.c: Likewise.
21072         * math/Makefile (tests): Add test-fenv-clear.
21073         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21074         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21075         test-fenv-clear-sse.
21076         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21078         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21079         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21080         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21082 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21084         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21085         static libc.
21087 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21089         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21090         test.
21091         * sysdeps/i386/configure: Regenerated.
21092         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21093         test.
21094         * sysdeps/x86_64/configure: Regenerated.
21095         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21097         memset-avx2 unconditionally instead of conditionally on
21098         [$(config-cflags-avx2) = yes].
21099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21100         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21101         unconditional.
21102         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21103         * sysdeps/x86_64/multiarch/memset_chk.S
21104         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21105         to [IS_IN (libc) && SHARED].
21107 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21109         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21110         configure test.
21111         * sysdeps/arm/configure: Regenerated.
21112         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21113         Define variable if not already defined.
21115         [BZ #17404]
21116         * sysdeps/mips/atomic-machine.h
21117         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21118         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21119         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21121         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21122         unconditional.
21123         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21124         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21125         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21126         unconditional.
21127         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21128         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21129         unconditional.
21130         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21131         * stdlib/setenv.c
21132         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21133         code unconditional.
21134         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21135         Remove conditional code.
21136         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21137         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21138         unconditional.
21139         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21140         code.
21141         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21142         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21143         unconditional.
21144         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21145         code.
21146         * sysdeps/ieee754/ldbl-128/k_tanl.c
21147         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21148         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21149         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21150         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21151         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21152         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21153         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21154         unconditional.
21155         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21156         code.
21157         * sysdeps/ieee754/ldbl-96/k_tanl.c
21158         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21159         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21161         * nptl/tst-initializers1-c11.c: New file.
21162         * nptl/tst-initializers1-gnu11.c: Likewise.
21163         * nptl/Makefile (tests): Add these new tests.
21164         (CFLAGS-tst-initializers1-c11.c): New variable.
21165         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21167         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21168         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21169         instead of -std=gnu99.
21170         * configure.ac (systemtap): Test with -std=gnu11 instead of
21171         -std=gnu99.
21172         * configure: Regenerated.
21173         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21174         in compilation command in comment.
21176         * sysdeps/nptl/configure.ac: Remove file.
21177         * sysdeps/nptl/configure: Remove generated file.
21178         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21179         * configure: Regenerated.
21180         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21181         * config.make.in (have-forced-unwind): Remove variable.
21182         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21183         unconditional.
21184         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21185         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21186         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21187         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21188         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21189         unconditional.
21191 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21193         [BZ #19174]
21194         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21195         .skip_lock_out_of_tbegin_retries.
21196         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21197         (__lll_lock_elision): Likewise, and respect a value of
21198         try_tbegin <= 0.
21200 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21202         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21203         statement.
21205 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21207         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21208         variable.
21209         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21210         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21212         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21213         of -std=c1x -D_ISOC11_SOURCE.
21215         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21216         * configure: Regenerated.
21217         * manual/install.texi (Tools for Compilation): Document
21218         requirement for GCC 4.7 or later.
21219         * INSTALL: Regenerated.
21221 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21223         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21224         on CNT to a conditional jump to 'puntdata'.
21226 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21228         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21229         (libc_cv_gcc_tls_model_attr): Likewise.
21230         * configure: Regenerated.
21232         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21233         * configure: Regenerated.
21234         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21236 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21238         * configure.ac (old_glibc_headers): Remove configure test.
21239         * configure: Regenerated.
21240         * config.make.in (old-glibc-headers): Remove variable.
21241         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21242         (install): Remove dependency on remove-old-headers.
21243         (headers2_0): Remove variable.
21244         (remove-old-headers): Remove rule.
21246         * configure.ac (libc_cv_dot_text): Remove configure test.
21247         (libc_cv_asm_set_directive): Use .text instead of
21248         ${libc_cv_dot_text} in configure test.
21249         * configure: Regenerated.
21251 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21253         [BZ #19168]
21254         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21256 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21258         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21259         not support static linking.
21260         * configure: Regenerate.
21262 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21264         * math/libm-test.inc (check_float_internal): Do not special-case
21265         errors up to 0.5 ulp.
21267         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21268         log2.
21269         * math/auto-libm-test-out: Regenerated.
21270         * math/libm-test.inc (MAX_EXP): New macro.
21271         (ilogb_test_data): Add more tests.
21272         (isfinite_test_data): Likewise.
21273         (isgreater_test_data): Likewise.
21274         (isgreaterequal_test_data): Likewise.
21275         (isinf_test_data): Likewise.
21276         (isless_test_data): Likewise.
21277         (islessequal_test_data): Likewise.
21278         (islessgreater_test_data): Likewise.
21279         (isnan_test_data): Likewise.
21280         (isnormal_test_data): Likewise.
21281         (issignaling_test_data): Likewise.
21282         (isunordered_test_data): Likewise.
21283         (j0_test_data): Likewise.
21284         (j1_test_data): Likewise.
21285         (jn_test_data): Likewise.
21286         (lgamma_test_data): Likewise.
21287         (log_test_data): Likewise.
21288         (log10_test_data): Likewise.
21289         (log1p_test_data): Likewise.
21290         (log2_test_data): Likewise.
21291         (logb_test_data): Likewise.
21292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21294         [BZ #18611]
21295         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21296         avoid excess range and precision on underflow.
21297         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21298         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21299         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21300         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21301         underflow.
21302         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21303         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21304         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21305         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21306         * math/auto-libm-test-in: Do not allow missing errno setting for
21307         tests of j1 and jn.
21308         * math/auto-libm-test-out: Regenerated.
21310 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21312         [BZ #15491]
21313         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21314         floating-point environment instead of clearing all exceptions.
21315         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21316         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21317         merging in "invalid" exceptions from frndint.
21318         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21319         * math/test-nearbyint-except.c: New file.
21320         * math/Makefile (tests): Add test-nearbyint-except.
21322 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21324         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21326         * sysdeps/tile/libm-test-ulps: Regenerated.
21328 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21331         (__NR_sync_file_range2): Assume it is always defined.
21332         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21333         (__NR_sync_file_range): Assume it is always defined.
21335 2015-10-22  Andreas Schwab  <schwab@suse.de>
21337         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21338         INTERNAL_SYSCALL_ERRNO.
21339         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21340         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21341         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21342         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21343         Likewise.
21344         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21346 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21348         * io/tst-fcntl.c (fd): New static variable.
21349         (do_prepare): Open temporary file here....
21350         (do_test): ...not here.
21352         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21354 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21356         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21357         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21358         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21359         Moved before "#ifdef __ASSEMBLER__".
21361 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21363         [BZ #19156]
21364         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21365         arguments very close to 0.
21367 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21369         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21370         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21372 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21374         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21375         New.  Defined for GCC 5 and above when not compiling for
21376         profiling.
21377         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21379         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21380         Renamed to ...
21381         (CFLAGS-epoll_pwait.o): This.
21382         (CFLAGS-mmap.c): Renamed to ...
21383         (CFLAGS-mmap.o): This.
21384         (CFLAGS-mmap64.c): Renamed to ...
21385         (CFLAGS-mmap64.o): This.
21386         (CFLAGS-epoll_pwait.os): New.
21387         (CFLAGS-mmap.os): Likewise.
21388         (CFLAGS-mmap64.os): Likewise.
21389         (CFLAGS-semtimedop.os): Likewise.
21390         (CFLAGS-semtimedop.c): Renamed to ...
21391         (CFLAGS-semtimedop.o): This.
21393 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21395         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21396         warning message.
21398 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21400         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21401         * Makefile ($(objpfx)c++-types-check.out): Filter out
21402         $(+gccwarn-c) instead of -Wstrict-prototypes.
21404         * io/fts.c (fts_open): Convert to prototype-style function
21405         definition.
21406         * malloc/mcheck.c (mcheck): Likewise.
21407         (mcheck_pedantic): Likewise.
21408         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21409         internal_function.
21410         (re_search_internal): Likewise.
21411         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21412         prototype-style function definition.
21413         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21414         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21415         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21416         (xdr_utmpptr): Likewise.
21417         (xdr_utmparr): Likewise.
21418         (xdr_utmpidle): Likewise.
21419         (xdr_utmpidleptr): Likewise.
21420         (xdr_utmpidlearr): Likewise.
21422         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21423         log, log10 and log2.
21424         * math/auto-libm-test-out: Regenerated.
21425         * math/libm-test.inc (fmod_test_data): Add more tests.
21426         (fpclassify_test_data): Likewise.
21427         (frexp_test_data): Likewise.
21428         (hypot_test_data): Likewise.
21429         (ilogb_test_data): Likewise.
21431 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21433         * debug/fortify_fail.c (__fortify_fail): Convert to
21434         prototype-style function definition.  Use internal_function.
21435         * libio/genops.c (save_for_backup): Convert to prototype-style
21436         function definition.
21437         * libio/wgenops.c (save_for_wbackup): Likewise.
21438         * login/grantpt.c (grantpt): Likewise.
21439         * login/ptsname.c (ptsname): Likewise.
21440         (__ptsname_r): Likewise.
21441         * login/unlockpt.c (unlockpt): Likewise.
21442         * mach/msgserver.c (__mach_msg_server): Likewise.
21443         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21444         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21445         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21446         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21447         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21448         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21449         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21450         Likewise.
21451         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21452         internal_function.
21453         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21454         prototype-style function definition.
21455         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21456         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21457         (__pthread_create_2_0): Likewise.
21458         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21459         * nptl/register-atfork.c (__register_atfork): Likewise.
21460         * posix/glob.c (glob): Likewise.
21461         * posix/regcomp.c (re_comp): Likewise.
21462         * posix/regexec.c (re_exec): Likewise.
21463         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21464         [!__STDC__]: Remove conditional code.
21465         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21466         [!__STDC__]: Remove conditional code.
21467         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21468         [!__STDC__]: Remove conditional code.
21469         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21470         [!__STDC__]: Remove conditional code.
21471         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21472         [!__STDC__]: Remove conditional code.
21473         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21474         [!__STDC__]: Remove conditional code.
21475         * stdlib/mul.c [__STDC__]: Make code unconditional.
21476         [!__STDC__]: Remove conditional code.
21477         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21478         [!__STDC__]: Remove conditional code.
21479         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21480         [!__STDC__]: Remove conditional code.
21481         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21482         function definition.
21483         (STRTOF): Likewise.
21484         * stdlib/strtod_l.c (__STRTOF): Likewise.
21485         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21486         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21487         (__strtol_l): Likewise.
21488         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21489         [!__STDC__]: Remove conditional code.
21490         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21491         definition.
21492         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21493         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21494         type.
21495         (__strcasecmp): Convert to prototype-style function definition.
21496         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21497         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21498         type.
21499         (__strncasecmp): Convert to prototype-style function definition.
21500         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21501         * sunrpc/xdr.c (xdr_union): Likewise.
21502         * sunrpc/xdr_array.c (xdr_array): Likewise.
21503         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21504         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21505         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21506         Likewise.
21507         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21508         Likewise.
21509         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21510         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21511         Likewise.
21512         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21513         (LOCALE_PARAM_PROTO): Likewise.
21514         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21515         argument type.
21516         (ut_argument_spec): Remove macro.
21517         (ut_argument_spec_iso): Rename to ut_argument_spec.
21518         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21519         prototype-style function definition.
21520         (memcpy_uppcase): Likewise.
21521         (__strftime_internal): Likewise.
21522         (my_strftime): Likewise.
21523         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21524         (LOCALE_PARAM_DECL): Likewise.
21525         [_LIBC] (LOCALE_PARAM): Include argument type.
21526         (__strptime_internal): Convert to prototype-style function
21527         definition.
21528         (strptime): Likewise.
21529         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21530         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21531         type.
21532         (__wcscasecmp): Convert to prototype-style function definition.
21533         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21534         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21535         type.
21536         (__wcsncasecmp): Convert to prototype-style function definition.
21538         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21539         function definition.
21540         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21541         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21542         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21543         * elf/dl-minimal.c (_itoa): Likewise.
21544         * hurd/hurdmalloc.c (malloc): Likewise.
21545         (free): Likewise.
21546         (realloc): Likewise.
21547         * inet/inet6_option.c (inet6_option_space): Likewise.
21548         (inet6_option_init): Likewise.
21549         (inet6_option_append): Likewise.
21550         (inet6_option_alloc): Likewise.
21551         (inet6_option_next): Likewise.
21552         (inet6_option_find): Likewise.
21553         * io/ftw.c (FTW_NAME): Likewise.
21554         (NFTW_NAME): Likewise.
21555         (NFTW_NEW_NAME): Likewise.
21556         (NFTW_OLD_NAME): Likewise.
21557         * libio/iofwide.c (_IO_fwide): Likewise.
21558         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21559         (_IO_str_init_static): Likewise.
21560         (_IO_str_init_readonly): Likewise.
21561         (_IO_str_overflow): Likewise.
21562         (_IO_str_underflow): Likewise.
21563         (_IO_str_count): Likewise.
21564         (_IO_str_seekoff): Likewise.
21565         (_IO_str_pbackfail): Likewise.
21566         (_IO_str_finish): Likewise.
21567         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21568         (_IO_wstr_overflow): Likewise.
21569         (_IO_wstr_underflow): Likewise.
21570         (_IO_wstr_count): Likewise.
21571         (_IO_wstr_seekoff): Likewise.
21572         (_IO_wstr_pbackfail): Likewise.
21573         (_IO_wstr_finish): Likewise.
21574         * locale/programs/localedef.c (normalize_codeset): Likewise.
21575         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21576         (add_locales_to_archive): Likewise.
21577         (delete_locales_from_archive): Likewise.
21578         * malloc/malloc.c (__libc_mallinfo): Likewise.
21579         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21580         * misc/tsearch.c (__tfind): Likewise.
21581         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21582         * nptl/pthread_attr_getdetachstate.c
21583         (__pthread_attr_getdetachstate): Likewise.
21584         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21585         Likewise.
21586         * nptl/pthread_attr_getinheritsched.c
21587         (__pthread_attr_getinheritsched): Likewise.
21588         * nptl/pthread_attr_getschedparam.c
21589         (__pthread_attr_getschedparam): Likewise.
21590         * nptl/pthread_attr_getschedpolicy.c
21591         (__pthread_attr_getschedpolicy): Likewise.
21592         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21593         Likewise.
21594         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21595         Likewise.
21596         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21597         Likewise.
21598         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21599         Likewise.
21600         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21601         (__pthread_attr_init_2_0): Likewise.
21602         * nptl/pthread_attr_setdetachstate.c
21603         (__pthread_attr_setdetachstate): Likewise.
21604         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21605         Likewise.
21606         * nptl/pthread_attr_setinheritsched.c
21607         (__pthread_attr_setinheritsched): Likewise.
21608         * nptl/pthread_attr_setschedparam.c
21609         (__pthread_attr_setschedparam): Likewise.
21610         * nptl/pthread_attr_setschedpolicy.c
21611         (__pthread_attr_setschedpolicy): Likewise.
21612         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21613         Likewise.
21614         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21615         Likewise.
21616         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21617         Likewise.
21618         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21619         Likewise.
21620         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21621         Likewise.
21622         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21623         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21624         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21625         use internal_function.
21626         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21627         prototype-style function definition.
21628         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21629         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21630         internal_function.
21631         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21632         Convert to prototype-style function definition.
21633         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21634         Likewise.
21635         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21636         Likewise.
21637         (__pthread_mutex_unlock): Likewise.
21638         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21639         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21640         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21641         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21642         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21643         * nss/makedb.c (process_input): Likewise.
21644         * posix/fnmatch.c (__strchrnul): Likewise.
21645         (__wcschrnul): Likewise.
21646         (fnmatch): Likewise.
21647         * posix/fnmatch_loop.c (FCT): Likewise.
21648         * posix/glob.c (globfree): Likewise.
21649         (__glob_pattern_type): Likewise.
21650         (__glob_pattern_p): Likewise.
21651         * posix/regcomp.c (re_compile_pattern): Likewise.
21652         (re_set_syntax): Likewise.
21653         (re_compile_fastmap): Likewise.
21654         (regcomp): Likewise.
21655         (regerror): Likewise.
21656         (regfree): Likewise.
21657         * posix/regexec.c (regexec): Likewise.
21658         (re_match): Likewise.
21659         (re_search): Likewise.
21660         (re_match_2): Likewise.
21661         (re_search_2): Likewise.
21662         (re_search_stub): Likewise.  Use internal_function
21663         (re_copy_regs): Likewise.
21664         (re_set_registers): Convert to prototype-style function
21665         definition.
21666         (prune_impossible_nodes): Likewise.  Use internal_function.
21667         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21668         prototype-style function definition.
21669         (inet_net_pton_ipv4): Likewise.
21670         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21671         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21672         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21673         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21674         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21675         Make variadic.
21676         * time/strptime_l.c (localtime_r): Convert to prototype-style
21677         function definition.
21678         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21679         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21680         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21681         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21683         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21684         definition.
21685         (_ufc_doit_r): Likewise.
21686         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21687         (_ufc_output_conversion_r): Likewise.
21688         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21689         * inet/rcmd.c (rcmd_af): Likewise.
21690         (rcmd): Likewise.
21691         (ruserok_af): Likewise.
21692         (ruserok): Likewise.
21693         (ruserok2_sa): Likewise.
21694         (ruserok_sa): Likewise.
21695         (iruserok_af): Likewise.
21696         (iruserok): Likewise.
21697         (__ivaliduser): Likewise.
21698         (__validuser2_sa): Likewise.
21699         * inet/rexec.c (rexec_af): Likewise.
21700         (rexec): Likewise.
21701         * inet/ruserpass.c (ruserpass): Likewise.
21702         * locale/programs/xmalloc.c (xcalloc): Likewise.
21703         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21704         * math/w_drem.c (__drem): Likewise.
21705         * math/w_dremf.c (__dremf): Likewise.
21706         * math/w_dreml.c (__dreml): Likewise.
21707         * misc/daemon.c (daemon): Likewise.
21708         * resolv/res_debug.c (p_fqnname): Likewise.
21709         * stdlib/div.c (div): Likewise.
21710         * string/memcmp.c (memcmp_bytes): Likewise.
21711         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21712         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21714         * crypt/cert.c (main): Convert to prototype-style function
21715         definition.
21716         * io/pipe.c (__pipe): Likewise.
21717         * io/pipe2.c (__pipe2): Likewise.
21718         * misc/futimesat.c (futimesat): Likewise.
21719         * misc/utimes.c (__utimes): Likewise.
21720         * posix/execve.c (__execve): Likewise.
21721         * posix/execvp.c (execvp): Likewise.
21722         * posix/execvpe.c (__execvpe): Likewise.
21723         * posix/fexecve.c (fexecve): Likewise.
21724         * socket/socketpair.c (socketpair): Likewise.
21725         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21726         * stdlib/erand48.c (erand48): Likewise.
21727         * stdlib/erand48_r.c (__erand48_r): Likewise.
21728         * stdlib/jrand48.c (jrand48): Likewise.
21729         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21730         * stdlib/lcong48.c (lcong48): Likewise.
21731         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21732         * stdlib/nrand48.c (nrand48): Likewise.
21733         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21734         * stdlib/seed48.c (seed48): Likewise.
21735         * stdlib/seed48_r.c (__seed48_r): Likewise.
21736         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21737         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21738         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21740 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21742         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21743         * configure: Regenerated.
21744         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21745         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21746         unconditional.
21747         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21748         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21749         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21750         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21751         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21752         unconditional.
21753         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21755         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21756         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21758         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21759         function definition.
21760         * crypt/crypt_util.c (__encrypt_r): Likewise.
21761         * libio/genops.c (_IO_no_init): Likewise.
21762         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21763         (_IO_old_fopencookie): Likewise.
21764         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21765         * libio/iogetline.c (_IO_getline): Likewise.
21766         (_IO_getline_info): Likewise.
21767         * libio/iogetwline.c (_IO_getwline): Likewise.
21768         (_IO_getwline_info): Likewise.
21769         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21770         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21771         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21772         (find_entry): Likewise.
21773         (iterate_table): Likewise.
21774         (lookup): Likewise.
21775         * login/forkpty.c (forkpty): Likewise.
21776         * misc/hsearch_r.c (__hsearch_r): Likewise.
21777         * misc/select.c (__select): Likewise.
21778         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21779         Likewise.
21780         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21781         Likewise.
21782         * nptl/old_pthread_cond_timedwait.c
21783         (__pthread_cond_timedwait_2_0): Likewise.
21784         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21785         * nptl/pthread_barrierattr_getpshared.c
21786         (pthread_barrierattr_getpshared): Likewise.
21787         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21788         Likewise.
21789         * nptl/pthread_mutex_setprioceiling.c
21790         (pthread_mutex_setprioceiling): Likewise.
21791         * nptl/pthread_mutexattr_getprioceiling.c
21792         (pthread_mutexattr_getprioceiling): Likewise.
21793         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21794         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21795         Likewise.
21796         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21797         Likewise.
21798         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21799         Likewise.
21800         * socket/recvfrom.c (__recvfrom): Likewise.
21801         * socket/sendto.c (__sendto): Likewise.
21802         * socket/setsockopt.c (__setsockopt): Likewise.
21803         * stdio-common/_itoa.c (_itoa): Likewise.
21804         * stdio-common/_itowa.c (_itowa): Likewise.
21805         * stdio-common/reg-printf.c (__register_printf_specifier):
21806         Likewise.
21807         (__register_printf_function): Likewise.
21808         * stdio-common/tempname.c (__path_search): Likewise.
21809         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21810         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21811         * stdlib/random_r.c (__initstate_r): Likewise.
21812         * stdlib/setenv.c (__add_to_environ): Likewise.
21813         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21814         * streams/getpmsg.c (getpmsg): Likewise.
21815         * streams/putmsg.c (putmsg): Likewise.
21816         * streams/putpmsg.c (putpmsg): Likewise.
21817         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21818         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21819         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21820         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21821         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21822         * sunrpc/svc_udp.c (cache_get): Likewise.
21823         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21824         * sysdeps/mach/hurd/getcwd.c
21825         (__canonicalize_directory_name_internal): Likewise.
21826         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21827         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21828         * sysdeps/mach/hurd/select.c (__select): Likewise.
21829         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21830         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21831         * sysdeps/sparc/nptl/pthread_barrier_init.c
21832         (__pthread_barrier_init): Likewise.
21833         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21834         (__pthread_cond_timedwait): Likewise.
21835         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21836         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21837         Likewise.
21838         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21839         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21840         Likewise.
21841         * sysvipc/semtimedop.c (semtimedop): Likewise.
21842         * time/setitimer.c (__setitimer): Likewise.
21843         * time/strftime_l.c (emacs_strftime): Likewise.
21845 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21847         * config.make.in (have-ssp): Delete.
21848         (stack-protector): New variable.
21849         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21850         cache test for -fstack-protector-strong.  Export stack_protector to
21851         the best ssp flag.
21852         * configure: Regenerated.
21853         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21854         * nscd/Makefile (CFLAGS-nscd): Likewise.
21855         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21857 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21859         [BZ #19122]
21860         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21861         attribute_hidden.
21863 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21865         [BZ #18743]
21866         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21867         code to...
21868         (ELIDE_LOCK): ...here.
21869         (__get_new_count): New function with part of the code from
21870         __elide_lock that updates the value of adapt_count after a
21871         transaction abort.
21872         (__elided_trylock): Moved this code to...
21873         (ELIDE_TRYLOCK): ...here.
21875 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21877         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21878         * configure: Regenerate.
21879         * INSTALL: Regenerate.
21880         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21881         and tweak grammar.
21883 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21885         * login/programs/pt_chown.c: Include signal.h
21886         (main): Clear any signal mask from the parent process.
21888 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21890         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21891         * configure: Regenerated.
21892         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21893         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21894         $(gnu89-inline-CFLAGS).
21896         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21897         test.
21898         (libc_cv_asm_weakext_directive): Likewise.
21899         * configure: Regenerated.
21900         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21901         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21902         * include/libc-symbols.h
21903         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21904         #error.
21905         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21906         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21908         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21909         prototype-style function definition.
21910         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21911         * sysdeps/i386/ffs.c (__ffs): Likewise.
21912         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21913         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21914         Likewise.
21915         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21916         Likewise.
21917         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21918         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21919         Likewise.
21920         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21921         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21922         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21923         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21924         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21925         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21926         * sysdeps/mach/hurd/access.c (__access): Likewise.
21927         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21928         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21929         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21930         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21931         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21932         (cthread_getspecific): Likewise.
21933         (cthread_setspecific): Likewise.
21934         (__libc_getspecific): Likewise.
21935         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21936         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21937         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21938         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21939         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21940         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21941         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21942         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21943         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21944         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21945         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21946         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21947         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21948         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21949         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21950         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21951         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21952         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21953         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21954         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21955         * sysdeps/mach/hurd/link.c (__link): Likewise.
21956         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21957         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21958         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21959         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21960         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21961         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21962         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21963         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21964         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21965         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21966         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21967         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21968         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21969         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21970         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21971         * sysdeps/mach/hurd/send.c (__send): Likewise.
21972         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21973         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21974         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21975         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21976         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21977         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21978         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21979         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21980         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21981         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21982         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21983         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21984         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21985         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21986         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21987         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21988         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21989         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21990         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
21991         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21992         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
21993         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
21994         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
21995         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
21996         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
21997         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
21998         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
21999         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22000         * sysdeps/posix/alarm.c (alarm): Likewise.
22001         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22002         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22003         * sysdeps/posix/dup.c (__dup): Likewise.
22004         * sysdeps/posix/dup2.c (__dup2): Likewise.
22005         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22006         (main): Likewise.
22007         * sysdeps/posix/flock.c (__flock): Likewise.
22008         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22009         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22010         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22011         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22012         * sysdeps/posix/isatty.c (__isatty): Likewise.
22013         * sysdeps/posix/killpg.c (killpg): Likewise.
22014         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22015         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22016         * sysdeps/posix/raise.c (raise): Likewise.
22017         * sysdeps/posix/remove.c (remove): Likewise.
22018         * sysdeps/posix/rename.c (rename): Likewise.
22019         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22020         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22021         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22022         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22023         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22024         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22025         * sysdeps/posix/sigset.c (sigset): Likewise.
22026         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22027         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22028         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22029         * sysdeps/posix/time.c (time): Likewise.
22030         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22031         (ttyname): Likewise.
22032         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22033         * sysdeps/posix/utime.c (utime): Likewise.
22034         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22035         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22036         Likewise.
22037         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22038         (pthread_spin_trylock): Likewise.
22039         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22040         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22041         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22042         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22043         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22044         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22045         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22046         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22047         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22048         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22049         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22050         * sysdeps/s390/ffs.c (__ffs): Likewise.
22051         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22052         Likewise.
22053         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22054         Likewise.
22055         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22056         Likewise.
22057         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22058         (pthread_barrier_destroy): Likewise.
22059         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22060         (__pthread_barrier_wait): Likewise.
22061         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22062         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22063         (__pthread_barrier_wait): Likewise.
22064         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22065         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22066         (memcmp_not_common_alignment): Likewise.
22067         (MEMCMP): Likewise.
22068         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22069         (_wordcopy_fwd_dest_aligned): Likewise.
22070         (_wordcopy_bwd_aligned): Likewise.
22071         (_wordcopy_bwd_dest_aligned): Likewise.
22072         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22073         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22074         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22075         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22076         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22077         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22078         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22079         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22080         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22081         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22082         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22083         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22084         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22085         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22086         * sysdeps/unix/stime.c (stime): Likewise.
22087         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22088         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22089         Likewise.  Use internal_function.
22090         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22091         Convert to prototype-style function definition.
22092         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22093         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22094         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22095         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22096         Likewise.  Use internal_function.
22097         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22098         prototype-style function definition
22099         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22100         Likewise.
22101         (__getlogin_r): Likewise.
22102         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22103         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22104         (__pthread_cond_broadcast): Likewise.
22105         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22106         (__pthread_cond_destroy): Likewise.
22107         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22108         (__pthread_cond_init): Likewise.
22109         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22110         (__pthread_cond_signal): Likewise.
22111         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22112         (__pthread_cond_wait): Likewise.
22113         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22114         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22115         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22116         Likewise.
22117         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22118         Likewise.
22119         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22120         Likewise.
22121         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22122         Likewise.
22123         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22125         (__ftruncate64): Likewise.
22126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22127         (truncate64): Likewise.
22128         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22129         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22130         (pthread_getcpuclockid): Likewise.
22131         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22132         Likewise.
22133         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22134         Likewise.
22135         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22136         Likewise.
22137         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22138         Likewise.
22139         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22140         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22141         (__libc_sigaction): Likewise.
22142         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22143         Likewise.
22144         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22145         (__sigprocmask): Likewise.
22146         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22147         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22148         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22149         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22150         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22151         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22152         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22153         Likewise.
22154         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22155         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22156         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22157         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22158         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22159         Likewise.
22160         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22161         (__sigprocmask): Likewise.
22162         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22163         (cfgetispeed): Likewise.
22164         (cfsetospeed): Likewise.
22165         (cfsetispeed): Likewise.
22166         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22167         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22168         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22169         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22170         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22171         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22172         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22173         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22174         Likewise.
22175         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22176         Likewise.
22177         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22178         Likewise.
22179         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22180         Likewise.
22181         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22183 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22185         sunrpc: Rewrite with explicit TLS access using __thread.
22186         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22187         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22188         directly.
22189         (__rpc_thread_variables): Access thread_rpc_vars directly.
22190         Eliminate redundant assignment of the tvp variable.
22192 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22194         malloc: Rewrite with explicit TLS access using __thread.
22195         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22196         (tsd_setspecific, tsd_getspecific): Remove.
22197         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22198         (tsd_setspecific, tsd_getspecific): Likewise.
22199         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22200         (tsd_setspecific, tsd_getspecific): Likewise.
22201         * malloc/arena.c (thread_arena): New TLS variable.
22202         (arena_key): Remove variable.
22203         (arena_get): Use thread_arena.
22204         (arena_lookup): Remove macro.
22205         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22206         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22207         (_int_new_arena, get_free_list, reused_arena)
22208         (arena_thread_freeres): Use thread_arena.
22209         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22210         tsd_getspecific, tsd_setspecific from safety annotations.
22211         (Allocating Cleared Space): Remove arena_lookup from safety
22212         annotations.
22214 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22216         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22217         struct scratch_buffer instead of extend_alloca.
22219 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22221         * sysdeps/unix/sysv/linux/kernel-features.h
22222         (__ASSUME_SOCK_CLOEXEC): Remove.
22223         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22224         (__have_paccept): Remove unused macro.
22225         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22226         * misc/syslog.c (openlog_internal): Remove fallback code for
22227         !__ASSUME_SOCK_CLOEXEC.
22228         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22229         missing SOCK_CLOEXEC.
22230         * nscd/connections.c (have_sock_cloexec): Remove definition.
22231         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22232         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22233         !__ASSUME_SOCK_CLOEXEC.
22234         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22235         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22236         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22237         definition.
22238         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22239         code for !__ASSUME_SOCK_CLOEXEC.
22241 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22243         [BZ #18982]
22244         * manual/stdio.texi (Variable Arguments Output): Add portability
22245         note, explaining that vfprintf clobbers the va_list pointer.
22247 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22249         * math/libm-test.inc (fabs_test_data): Add more tests.
22250         (fdim_test_data): Likewise.
22251         (fma_test_data): Likewise.
22252         (fmax_test_data): Likewise.
22253         (fmin_test_data): Likewise.
22254         (fmod_test_data): Likewise.
22256 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22258         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22259         data.
22261 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22263         * math/libm-test.inc (ceil_test_data): Add more tests and more
22264         expectations for "inexact".
22265         (floor_test_data): Add more tests.
22266         (round_test_data): Likewise.
22267         (trunc_test_data): Likewise.
22269         * crypt/cert.c (good_bye): Convert to prototype-style function
22270         definition.
22271         (get8): Likewise.
22272         (put8): Likewise.
22273         * crypt/crypt-entry.c (crypt): Likewise.
22274         (__fcrypt): Likewise.
22275         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22276         (_ufc_set_bits): Likewise.
22277         (_ufc_clearmem): Likewise.
22278         (__init_des_r): Likewise.
22279         (shuffle_sb): Likewise.
22280         (shuffle_sb): Likewise.
22281         (_ufc_setup_salt_r): Likewise.
22282         (_ufc_mk_keytab_r): Likewise.
22283         (_ufc_dofinalperm_r): Likewise.
22284         (encrypt): Likewise.
22285         (__setkey_r): Likewise.
22286         (setkey): Likewise.
22287         * crypt/md5.c (md5_init_ctx): Likewise.
22288         (md5_read_ctx): Likewise.
22289         (md5_finish_ctx): Likewise.
22290         (md5_stream): Likewise.
22291         (md5_buffer): Likewise.
22292         (md5_process_bytes): Likewise.
22293         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22294         (__sha256_finish_ctx): Likewise.
22295         (__sha256_process_bytes): Likewise.
22296         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22297         (__sha512_finish_ctx): Likewise.
22298         (__sha512_process_bytes): Likewise.
22299         * ctype/isctype.c (__isctype): Likewise.
22300         * debug/backtrace.c (__backtrace): Likewise.
22301         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22302         * debug/fgets_chk.c (__fgets_chk): Likewise.
22303         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22304         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22305         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22306         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22307         * debug/memset_chk.c (__memset_chk): Likewise.
22308         * debug/strcat_chk.c (__strcat_chk): Likewise.
22309         * debug/strncat_chk.c (__strncat_chk): Likewise.
22310         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22311         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22312         * dirent/dirfd.c (dirfd): Likewise.
22313         * dirent/getdents.c (__getdirentries): Likewise.
22314         * dirent/getdents64.c (getdirentries64): Likewise.
22315         * dirent/rewinddir.c (__rewinddir): Likewise.
22316         * dirent/seekdir.c (seekdir): Likewise.
22317         * dirent/telldir.c (telldir): Likewise.
22318         * elf/sln.c (makesymlinks): Likewise.
22319         (makesymlink): Likewise.
22320         * gmon/gmon.c (__moncontrol): Likewise.
22321         (__monstartup): Likewise.
22322         (write_hist): Likewise.
22323         (write_call_graph): Likewise.
22324         (write_bb_counts): Likewise.
22325         * grp/setgroups.c (setgroups): Likewise.
22326         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22327         * inet/inet_net.c (inet_network): Likewise.
22328         * inet/inet_netof.c (inet_netof): Likewise.
22329         * inet/rcmd.c (rresvport_af): Likewise.
22330         (rresvport): Likewise.
22331         * io/access.c (__access): Likewise.
22332         * io/chdir.c (__chdir): Likewise.
22333         * io/chmod.c (__chmod): Likewise.
22334         * io/chown.c (__chown): Likewise.
22335         * io/close.c (__close): Likewise.
22336         * io/creat.c (creat): Likewise.
22337         * io/creat64.c (creat64): Likewise.
22338         * io/dup.c (__dup): Likewise.
22339         * io/dup2.c (__dup2): Likewise.
22340         * io/dup3.c (__dup3): Likewise.
22341         * io/euidaccess.c (__euidaccess): Likewise.
22342         * io/faccessat.c (faccessat): Likewise.
22343         * io/fchmod.c (__fchmod): Likewise.
22344         * io/fchmodat.c (fchmodat): Likewise.
22345         * io/fchown.c (__fchown): Likewise.
22346         * io/fchownat.c (fchownat): Likewise.
22347         * io/fcntl.c (__fcntl): Likewise.
22348         * io/flock.c (__flock): Likewise.
22349         * io/fts.c (fts_load): Likewise.
22350         (fts_close): Likewise.
22351         (fts_read): Likewise.
22352         (fts_set): Likewise.
22353         (fts_children): Likewise.
22354         (fts_build): Likewise.
22355         (fts_stat): Likewise.
22356         (fts_sort): Likewise.
22357         (fts_alloc): Likewise.
22358         (fts_lfree): Likewise.
22359         (fts_palloc): Likewise.
22360         (fts_padjust): Likewise.
22361         (fts_maxarglen): Likewise.
22362         (fts_safe_changedir): Likewise.
22363         * io/getwd.c (getwd): Likewise.
22364         * io/isatty.c (__isatty): Likewise.
22365         * io/lchown.c (__lchown): Likewise.
22366         * io/link.c (__link): Likewise.
22367         * io/linkat.c (linkat): Likewise.
22368         * io/lseek.c (__libc_lseek): Likewise.
22369         * io/mkdir.c (__mkdir): Likewise.
22370         * io/mkdirat.c (mkdirat): Likewise.
22371         * io/mkfifo.c (mkfifo): Likewise.
22372         * io/mkfifoat.c (mkfifoat): Likewise.
22373         * io/open.c (__libc_open): Likewise.
22374         * io/open64.c (__libc_open64): Likewise.
22375         * io/readlink.c (__readlink): Likewise.
22376         * io/readlinkat.c (readlinkat): Likewise.
22377         * io/rmdir.c (__rmdir): Likewise.
22378         * io/symlink.c (__symlink): Likewise.
22379         * io/symlinkat.c (symlinkat): Likewise.
22380         * io/ttyname.c (ttyname): Likewise.
22381         * io/ttyname_r.c (__ttyname_r): Likewise.
22382         * io/umask.c (__umask): Likewise.
22383         * io/unlink.c (__unlink): Likewise.
22384         * io/unlinkat.c (unlinkat): Likewise.
22385         * io/utime.c (utime): Likewise.
22386         * libio/clearerr.c (clearerr): Likewise.
22387         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22388         * libio/feof.c (_IO_feof): Likewise.
22389         * libio/feof_u.c (feof_unlocked): Likewise.
22390         * libio/ferror.c (_IO_ferror): Likewise.
22391         * libio/ferror_u.c (ferror_unlocked): Likewise.
22392         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22393         * libio/fileno.c (__fileno): Likewise.
22394         * libio/fputc.c (fputc): Likewise.
22395         * libio/fputc_u.c (fputc_unlocked): Likewise.
22396         * libio/fputwc.c (fputwc): Likewise.
22397         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22398         * libio/freopen.c (freopen): Likewise.
22399         * libio/freopen64.c (freopen64): Likewise.
22400         * libio/fseek.c (fseek): Likewise.
22401         * libio/fseeko.c (fseeko): Likewise.
22402         * libio/fseeko64.c (fseeko64): Likewise.
22403         * libio/ftello.c (__ftello): Likewise.
22404         * libio/ftello64.c (ftello64): Likewise.
22405         * libio/fwide.c (fwide): Likewise.
22406         * libio/genops.c (_IO_un_link): Likewise.
22407         (_IO_link_in): Likewise.
22408         (_IO_least_marker): Likewise.
22409         (_IO_switch_to_main_get_area): Likewise.
22410         (_IO_switch_to_backup_area): Likewise.
22411         (_IO_switch_to_get_mode): Likewise.
22412         (_IO_free_backup_area): Likewise.
22413         (_IO_switch_to_put_mode): Likewise.
22414         (__overflow): Likewise.
22415         (__underflow): Likewise.
22416         (__uflow): Likewise.
22417         (_IO_setb): Likewise.
22418         (_IO_doallocbuf): Likewise.
22419         (_IO_default_underflow): Likewise.
22420         (_IO_default_uflow): Likewise.
22421         (_IO_default_xsputn): Likewise.
22422         (_IO_sgetn): Likewise.
22423         (_IO_default_xsgetn): Likewise.
22424         (_IO_sync): Likewise.
22425         (_IO_default_setbuf): Likewise.
22426         (_IO_default_seekpos): Likewise.
22427         (_IO_default_doallocate): Likewise.
22428         (_IO_init): Likewise.
22429         (_IO_old_init): Likewise.
22430         (_IO_default_sync): Likewise.
22431         (_IO_default_finish): Likewise.
22432         (_IO_default_seekoff): Likewise.
22433         (_IO_sputbackc): Likewise.
22434         (_IO_sungetc): Likewise.
22435         (_IO_set_column): Likewise.
22436         (_IO_set_column): Likewise.
22437         (_IO_adjust_column): Likewise.
22438         (_IO_get_column): Likewise.
22439         (_IO_init_marker): Likewise.
22440         (_IO_remove_marker): Likewise.
22441         (_IO_marker_difference): Likewise.
22442         (_IO_marker_delta): Likewise.
22443         (_IO_seekmark): Likewise.
22444         (_IO_unsave_markers): Likewise.
22445         (_IO_nobackup_pbackfail): Likewise.
22446         (_IO_default_pbackfail): Likewise.
22447         (_IO_default_seek): Likewise.
22448         (_IO_default_stat): Likewise.
22449         (_IO_default_read): Likewise.
22450         (_IO_default_write): Likewise.
22451         (_IO_default_showmanyc): Likewise.
22452         (_IO_default_imbue): Likewise.
22453         (_IO_iter_next): Likewise.
22454         (_IO_iter_file): Likewise.
22455         * libio/getc.c (_IO_getc): Likewise.
22456         * libio/getwc.c (_IO_getwc): Likewise.
22457         * libio/iofclose.c (_IO_new_fclose): Likewise.
22458         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22459         * libio/iofflush.c (_IO_fflush): Likewise.
22460         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22461         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22462         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22463         * libio/iofgets.c (_IO_fgets): Likewise.
22464         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22465         * libio/iofgetws.c (fgetws): Likewise.
22466         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22467         * libio/iofopen64.c (_IO_fopen64): Likewise.
22468         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22469         (_IO_cookie_write): Likewise.
22470         (_IO_cookie_seek): Likewise.
22471         (_IO_cookie_close): Likewise.
22472         (_IO_cookie_seekoff): Likewise.
22473         (_IO_old_cookie_seek): Likewise.
22474         * libio/iofputs.c (_IO_fputs): Likewise.
22475         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22476         * libio/iofputws.c (fputws): Likewise.
22477         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22478         * libio/iofread.c (_IO_fread): Likewise.
22479         * libio/iofread_u.c (__fread_unlocked): Likewise.
22480         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22481         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22482         * libio/ioftell.c (_IO_ftell): Likewise.
22483         * libio/iofwrite.c (_IO_fwrite): Likewise.
22484         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22485         * libio/iogets.c (_IO_gets): Likewise.
22486         * libio/iopadn.c (_IO_padn): Likewise.
22487         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22488         (_IO_new_popen): Likewise.
22489         (_IO_new_proc_close): Likewise.
22490         * libio/ioputs.c (_IO_puts): Likewise.
22491         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22492         (_IO_seekoff): Likewise.
22493         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22494         (_IO_seekpos): Likewise.
22495         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22496         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22497         * libio/ioungetc.c (_IO_ungetc): Likewise.
22498         * libio/ioungetwc.c (ungetwc): Likewise.
22499         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22500         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22501         * libio/iowpadn.c (_IO_wpadn): Likewise.
22502         * libio/libc_fatal.c (__libc_fatal): Likewise.
22503         * libio/memstream.c (__open_memstream): Likewise.
22504         (_IO_mem_sync): Likewise.
22505         (_IO_mem_finish): Likewise.
22506         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22507         (_IO_old_file_close_it): Likewise.
22508         (_IO_old_file_finish): Likewise.
22509         (_IO_old_file_fopen): Likewise.
22510         (_IO_old_file_attach): Likewise.
22511         (_IO_old_file_setbuf): Likewise.
22512         (_IO_old_do_write): Likewise.
22513         (old_do_write): Likewise.
22514         (_IO_old_file_underflow): Likewise.
22515         (_IO_old_file_overflow): Likewise.
22516         (_IO_old_file_sync): Likewise.
22517         (_IO_old_file_seekoff): Likewise.
22518         (_IO_old_file_write): Likewise.
22519         (_IO_old_file_xsputn): Likewise.
22520         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22521         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22522         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22523         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22524         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22525         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22526         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22527         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22528         (_IO_old_popen): Likewise.
22529         (_IO_old_proc_close): Likewise.
22530         * libio/oldpclose.c (__old_pclose): Likewise.
22531         * libio/pclose.c (__new_pclose): Likewise.
22532         * libio/peekc.c (_IO_peekc_locked): Likewise.
22533         * libio/putc.c (_IO_putc): Likewise.
22534         * libio/putc_u.c (putc_unlocked): Likewise.
22535         * libio/putchar.c (putchar): Likewise.
22536         * libio/putchar_u.c (putchar_unlocked): Likewise.
22537         * libio/putwc.c (putwc): Likewise.
22538         * libio/putwc_u.c (putwc_unlocked): Likewise.
22539         * libio/putwchar.c (putwchar): Likewise.
22540         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22541         * libio/rewind.c (rewind): Likewise.
22542         * libio/setbuf.c (setbuf): Likewise.
22543         * libio/setlinebuf.c (setlinebuf): Likewise.
22544         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22545         * libio/vscanf.c (_IO_vscanf): Likewise.
22546         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22547         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22548         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22549         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22550         (_IO_switch_to_main_wget_area): Likewise.
22551         (_IO_switch_to_wbackup_area): Likewise.
22552         (_IO_wsetb): Likewise.
22553         (_IO_wdefault_pbackfail): Likewise.
22554         (_IO_wdefault_finish): Likewise.
22555         (_IO_wdefault_uflow): Likewise.
22556         (__woverflow): Likewise.
22557         (__wuflow): Likewise.
22558         (__wunderflow): Likewise.
22559         (_IO_wdefault_xsputn): Likewise.
22560         (_IO_wdefault_xsgetn): Likewise.
22561         (_IO_wdoallocbuf): Likewise.
22562         (_IO_wdefault_doallocate): Likewise.
22563         (_IO_switch_to_wget_mode): Likewise.
22564         (_IO_free_wbackup_area): Likewise.
22565         (_IO_switch_to_wput_mode): Likewise.
22566         (_IO_sputbackwc): Likewise.
22567         (_IO_sungetwc): Likewise.
22568         (_IO_adjust_wcolumn): Likewise.
22569         (_IO_init_wmarker): Likewise.
22570         (_IO_wmarker_delta): Likewise.
22571         (_IO_seekwmark): Likewise.
22572         (_IO_unsave_wmarkers): Likewise.
22573         * libio/wmemstream.c (open_wmemstream): Likewise.
22574         (_IO_wmem_sync): Likewise.
22575         (_IO_wmem_finish): Likewise.
22576         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22577         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22578         * locale/programs/simple-hash.c (init_hash): Likewise.
22579         (delete_hash): Likewise.
22580         (insert_entry): Likewise.
22581         (set_entry): Likewise.
22582         (next_prime): Likewise.
22583         (is_prime): Likewise.
22584         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22585         (xmalloc): Likewise.
22586         (xrealloc): Likewise.
22587         * locale/programs/xstrdup.c (xstrdup): Likewise.
22588         * localedata/collate-test.c (xstrcoll): Likewise.
22589         * localedata/xfrm-test.c (xstrcmp): Likewise.
22590         * login/getlogin_r.c (__getlogin_r): Likewise.
22591         * login/getpt.c (__posix_openpt): Likewise.
22592         * login/login_tty.c (login_tty): Likewise.
22593         * login/setlogin.c (setlogin): Likewise.
22594         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22595         (mach_msg_destroy_port): Likewise.
22596         (mach_msg_destroy_memory): Likewise.
22597         * malloc/mcheck.c (flood): Likewise.
22598         * misc/acct.c (acct): Likewise.
22599         * misc/brk.c (__brk): Likewise.
22600         * misc/chflags.c (chflags): Likewise.
22601         * misc/chroot.c (chroot): Likewise.
22602         * misc/fchflags.c (fchflags): Likewise.
22603         * misc/fstab.c (getfsspec): Likewise.
22604         (getfsfile): Likewise.
22605         * misc/fsync.c (fsync): Likewise.
22606         * misc/ftruncate.c (__ftruncate): Likewise.
22607         * misc/ftruncate64.c (__ftruncate64): Likewise.
22608         * misc/getdomain.c (getdomainname): Likewise.
22609         (getdomainname): Likewise.
22610         * misc/gethostname.c (__gethostname): Likewise.
22611         * misc/getpass.c (getpass): Likewise.
22612         * misc/getttyent.c (skip): Likewise.
22613         (value): Likewise.
22614         * misc/gtty.c (gtty): Likewise.
22615         * misc/hsearch.c (hsearch): Likewise.
22616         (hcreate): Likewise.
22617         * misc/hsearch_r.c (__hcreate_r): Likewise.
22618         (__hdestroy_r): Likewise.
22619         * misc/ioctl.c (__ioctl): Likewise.
22620         * misc/mkdtemp.c (mkdtemp): Likewise.
22621         * misc/mkostemp.c (mkostemp): Likewise.
22622         * misc/mkostemp64.c (mkostemp64): Likewise.
22623         * misc/mkostemps.c (mkostemps): Likewise.
22624         * misc/mkostemps64.c (mkostemps64): Likewise.
22625         * misc/mkstemp.c (mkstemp): Likewise.
22626         * misc/mkstemp64.c (mkstemp64): Likewise.
22627         * misc/mkstemps.c (mkstemps): Likewise.
22628         * misc/mkstemps64.c (mkstemps64): Likewise.
22629         * misc/mktemp.c (__mktemp): Likewise.
22630         * misc/preadv.c (preadv): Likewise.
22631         * misc/preadv64.c (preadv64): Likewise.
22632         * misc/pwritev.c (pwritev): Likewise.
22633         * misc/pwritev64.c (pwritev64): Likewise.
22634         * misc/readv.c (__readv): Likewise.
22635         * misc/revoke.c (revoke): Likewise.
22636         * misc/setdomain.c (setdomainname): Likewise.
22637         * misc/setegid.c (setegid): Likewise.
22638         * misc/seteuid.c (seteuid): Likewise.
22639         * misc/sethostid.c (sethostid): Likewise.
22640         * misc/sethostname.c (sethostname): Likewise.
22641         * misc/setregid.c (__setregid): Likewise.
22642         * misc/setreuid.c (__setreuid): Likewise.
22643         * misc/sstk.c (sstk): Likewise.
22644         * misc/stty.c (stty): Likewise.
22645         * misc/syscall.c (syscall): Likewise.
22646         * misc/syslog.c (setlogmask): Likewise.
22647         * misc/truncate.c (__truncate): Likewise.
22648         * misc/truncate64.c (truncate64): Likewise.
22649         * misc/ualarm.c (ualarm): Likewise.
22650         * misc/usleep.c (usleep): Likewise.
22651         * misc/ustat.c (ustat): Likewise.
22652         * misc/writev.c (__writev): Likewise.
22653         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22654         * nptl/old_pthread_cond_broadcast.c
22655         (__pthread_cond_broadcast_2_0): Likewise.
22656         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22657         Likewise.
22658         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22659         Likewise.
22660         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22661         Likewise.
22662         * nptl/pt-raise.c (raise): Likewise.
22663         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22664         Likewise.
22665         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22666         * nptl/pthread_barrierattr_destroy.c
22667         (pthread_barrierattr_destroy): Likewise.
22668         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22669         Likewise.
22670         * nptl/pthread_barrierattr_setpshared.c
22671         (pthread_barrierattr_setpshared): Likewise.
22672         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22673         Likewise.
22674         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22675         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22676         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22677         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22678         Likewise.
22679         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22680         Likewise.
22681         * nptl/pthread_condattr_getpshared.c
22682         (pthread_condattr_getpshared): Likewise.
22683         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22684         Likewise.
22685         * nptl/pthread_condattr_setpshared.c
22686         (pthread_condattr_setpshared): Likewise.
22687         * nptl/pthread_detach.c (pthread_detach): Likewise.
22688         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22689         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22690         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22691         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22692         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22693         Likewise.
22694         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22695         Likewise.
22696         * nptl/pthread_mutex_getprioceiling.c
22697         (pthread_mutex_getprioceiling): Likewise.
22698         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22699         Likewise.
22700         * nptl/pthread_mutexattr_getprotocol.c
22701         (pthread_mutexattr_getprotocol): Likewise.
22702         * nptl/pthread_mutexattr_getpshared.c
22703         (pthread_mutexattr_getpshared): Likewise.
22704         * nptl/pthread_mutexattr_getrobust.c
22705         (pthread_mutexattr_getrobust): Likewise.
22706         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22707         Likewise.
22708         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22709         Likewise.
22710         * nptl/pthread_mutexattr_setprioceiling.c
22711         (pthread_mutexattr_setprioceiling): Likewise.
22712         * nptl/pthread_mutexattr_setprotocol.c
22713         (pthread_mutexattr_setprotocol): Likewise.
22714         * nptl/pthread_mutexattr_setpshared.c
22715         (pthread_mutexattr_setpshared): Likewise.
22716         * nptl/pthread_mutexattr_setrobust.c
22717         (pthread_mutexattr_setrobust): Likewise.
22718         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22719         Likewise.
22720         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22721         Likewise.
22722         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22723         Likewise.
22724         * nptl/pthread_rwlockattr_getkind_np.c
22725         (pthread_rwlockattr_getkind_np): Likewise.
22726         * nptl/pthread_rwlockattr_getpshared.c
22727         (pthread_rwlockattr_getpshared): Likewise.
22728         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22729         Likewise.
22730         * nptl/pthread_rwlockattr_setkind_np.c
22731         (pthread_rwlockattr_setkind_np): Likewise.
22732         * nptl/pthread_rwlockattr_setpshared.c
22733         (pthread_rwlockattr_setpshared): Likewise.
22734         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22735         Likewise.
22736         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22737         Likewise.
22738         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22739         Likewise.
22740         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22741         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22742         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22743         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22744         * nptl/sem_close.c (sem_close): Likewise.
22745         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22746         * nptl/sem_init.c (__old_sem_init): Likewise.
22747         * nptl/sigaction.c (__sigaction): Likewise.
22748         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22749         * posix/_exit.c (_exit): Likewise.
22750         * posix/alarm.c (alarm): Likewise.
22751         * posix/confstr.c (confstr): Likewise.
22752         * posix/fpathconf.c (__fpathconf): Likewise.
22753         * posix/getgroups.c (__getgroups): Likewise.
22754         * posix/getpgid.c (__getpgid): Likewise.
22755         * posix/group_member.c (__group_member): Likewise.
22756         * posix/pathconf.c (__pathconf): Likewise.
22757         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22758         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22759         * posix/setgid.c (__setgid): Likewise.
22760         * posix/setpgid.c (__setpgid): Likewise.
22761         * posix/setuid.c (__setuid): Likewise.
22762         * posix/sleep.c (__sleep): Likewise.
22763         * posix/sysconf.c (__sysconf): Likewise.
22764         * posix/times.c (__times): Likewise.
22765         * posix/uname.c (__uname): Likewise.
22766         * posix/waitid.c (__waitid): Likewise.
22767         * pwd/getpw.c (__getpw): Likewise.
22768         * resolv/base64.c (b64_pton): Likewise.
22769         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22770         * resolv/gethnamaddr.c (Dprintf): Likewise.
22771         (gethostbyname): Likewise.
22772         (gethostbyname2): Likewise.
22773         (gethostbyaddr): Likewise.
22774         (_sethtent): Likewise.
22775         (_gethtbyname): Likewise.
22776         (_gethtbyname2): Likewise.
22777         (_gethtbyaddr): Likewise.
22778         (map_v4v6_address): Likewise.
22779         (map_v4v6_hostent): Likewise.
22780         (addrsort): Likewise.
22781         (ht_sethostent): Likewise.
22782         (ht_gethostbyname): Likewise.
22783         (ht_gethostbyaddr): Likewise.
22784         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22785         (inet_net_ntop_ipv4): Likewise.
22786         * resolv/inet_neta.c (inet_neta): Likewise.
22787         * resolv/inet_ntop.c (inet_ntop): Likewise.
22788         (inet_ntop4): Likewise.
22789         (inet_ntop6): Likewise.
22790         * resolv/inet_pton.c (__inet_pton): Likewise.
22791         (inet_pton4): Likewise.
22792         (inet_pton6): Likewise.
22793         * resolv/res_debug.c (loc_aton): Likewise.
22794         (loc_ntoa): Likewise.
22795         * resource/getpriority.c (__getpriority): Likewise.
22796         * resource/getrusage.c (__getrusage): Likewise.
22797         * resource/nice.c (nice): Likewise.
22798         * resource/setpriority.c (__setpriority): Likewise.
22799         * resource/setrlimit64.c (setrlimit64): Likewise.
22800         * resource/vlimit.c (vlimit): Likewise.
22801         * resource/vtimes.c (vtimes): Likewise.
22802         * rt/aio_error.c (aio_error): Likewise.
22803         * rt/aio_return.c (aio_return): Likewise.
22804         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22805         * signal/kill.c (__kill): Likewise.
22806         * signal/killpg.c (killpg): Likewise.
22807         * signal/raise.c (raise): Likewise.
22808         * signal/sigaction.c (__sigaction): Likewise.
22809         * signal/sigaddset.c (sigaddset): Likewise.
22810         * signal/sigaltstack.c (sigaltstack): Likewise.
22811         * signal/sigandset.c (sigandset): Likewise.
22812         * signal/sigblock.c (__sigblock): Likewise.
22813         * signal/sigdelset.c (sigdelset): Likewise.
22814         * signal/sigempty.c (sigemptyset): Likewise.
22815         * signal/sigfillset.c (sigfillset): Likewise.
22816         * signal/sighold.c (sighold): Likewise.
22817         * signal/sigignore.c (sigignore): Likewise.
22818         * signal/sigintr.c (siginterrupt): Likewise.
22819         * signal/sigisempty.c (sigisemptyset): Likewise.
22820         * signal/sigismem.c (sigismember): Likewise.
22821         * signal/signal.c (signal): Likewise.
22822         * signal/sigorset.c (sigorset): Likewise.
22823         * signal/sigpause.c (__sigpause): Likewise.
22824         * signal/sigpending.c (sigpending): Likewise.
22825         * signal/sigprocmask.c (__sigprocmask): Likewise.
22826         * signal/sigrelse.c (sigrelse): Likewise.
22827         * signal/sigreturn.c (__sigreturn): Likewise.
22828         * signal/sigset.c (sigset): Likewise.
22829         * signal/sigsetmask.c (__sigsetmask): Likewise.
22830         * signal/sigstack.c (sigstack): Likewise.
22831         * signal/sigsuspend.c (__sigsuspend): Likewise.
22832         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22833         * signal/sysv_signal.c (__sysv_signal): Likewise.
22834         * socket/accept.c (accept): Likewise.
22835         * socket/accept4.c (__libc_accept4): Likewise.
22836         * socket/bind.c (__bind): Likewise.
22837         * socket/connect.c (__connect): Likewise.
22838         * socket/getpeername.c (getpeername): Likewise.
22839         * socket/getsockname.c (__getsockname): Likewise.
22840         * socket/getsockopt.c (getsockopt): Likewise.
22841         * socket/listen.c (__listen): Likewise.
22842         * socket/recv.c (__recv): Likewise.
22843         * socket/recvmsg.c (__recvmsg): Likewise.
22844         * socket/send.c (__send): Likewise.
22845         * socket/sendmsg.c (__sendmsg): Likewise.
22846         * socket/shutdown.c (shutdown): Likewise.
22847         * socket/sockatmark.c (sockatmark): Likewise.
22848         * socket/socket.c (__socket): Likewise.
22849         * stdio-common/ctermid.c (ctermid): Likewise.
22850         * stdio-common/cuserid.c (cuserid): Likewise.
22851         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22852         * stdio-common/remove.c (remove): Likewise.
22853         * stdio-common/rename.c (rename): Likewise.
22854         * stdio-common/renameat.c (renameat): Likewise.
22855         * stdio-common/tempname.c (__gen_tempname): Likewise.
22856         * stdio-common/xbug.c (InitBuffer): Likewise.
22857         (AppendToBuffer): Likewise.
22858         (ReadFile): Likewise.
22859         * stdlib/a64l.c (a64l): Likewise.
22860         * stdlib/drand48_r.c (drand48_r): Likewise.
22861         * stdlib/getcontext.c (getcontext): Likewise.
22862         * stdlib/getenv.c (getenv): Likewise.
22863         * stdlib/l64a.c (l64a): Likewise.
22864         * stdlib/llabs.c (llabs): Likewise.
22865         * stdlib/lldiv.c (lldiv): Likewise.
22866         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22867         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22868         * stdlib/putenv.c (putenv): Likewise.
22869         * stdlib/random.c (__srandom): Likewise.
22870         (__initstate): Likewise.
22871         (__setstate): Likewise.
22872         * stdlib/random_r.c (__srandom_r): Likewise.
22873         (__setstate_r): Likewise.
22874         (__random_r): Likewise.
22875         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22876         * stdlib/setcontext.c (setcontext): Likewise.
22877         * stdlib/setenv.c (setenv): Likewise.
22878         (unsetenv): Likewise.
22879         * stdlib/srand48.c (srand48): Likewise.
22880         * stdlib/srand48_r.c (__srand48_r): Likewise.
22881         * stdlib/swapcontext.c (swapcontext): Likewise.
22882         * stdlib/system.c (__libc_system): Likewise.
22883         * stdlib/tst-strtod.c (expand): Likewise.
22884         * stdlib/tst-strtol.c (expand): Likewise.
22885         * stdlib/tst-strtoll.c (expand): Likewise.
22886         * streams/fattach.c (fattach): Likewise.
22887         * streams/fdetach.c (fdetach): Likewise.
22888         * streams/getmsg.c (getmsg): Likewise.
22889         * streams/isastream.c (isastream): Likewise.
22890         * string/ffs.c (__ffs): Likewise.
22891         * string/ffsll.c (ffsll): Likewise.
22892         * string/memcmp.c (memcmp_common_alignment): Likewise.
22893         (memcmp_not_common_alignment): Likewise.
22894         (MEMCMP): Likewise.
22895         * string/memcpy.c (memcpy): Likewise.
22896         * string/memmove.c (MEMMOVE): Likewise.
22897         * string/memset.c (memset): Likewise.
22898         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22899         * string/strchrnul.c (STRCHRNUL): Likewise.
22900         * string/strerror.c (strerror): Likewise.
22901         * string/strndup.c (__strndup): Likewise.
22902         * string/strverscmp.c (__strverscmp): Likewise.
22903         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22904         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22905         (clnttcp_freeres): Likewise.
22906         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22907         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22908         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22909         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22910         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22911         (xdr_callhdr): Likewise.
22912         * sunrpc/rpcinfo.c (udpping): Likewise.
22913         (tcpping): Likewise.
22914         (pstatus): Likewise.
22915         (pmapdump): Likewise.
22916         (brdcst): Likewise.
22917         (deletereg): Likewise.
22918         (getprognum): Likewise.
22919         (getvers): Likewise.
22920         (get_inet_address): Likewise.
22921         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22922         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22923         (svcudp_stat): Likewise.
22924         (svcudp_recv): Likewise.
22925         (svcudp_reply): Likewise.
22926         (svcudp_getargs): Likewise.
22927         (svcudp_freeargs): Likewise.
22928         (svcudp_destroy): Likewise.
22929         * sunrpc/xdr.c (xdr_bytes): Likewise.
22930         (xdr_netobj): Likewise.
22931         (xdr_string): Likewise.
22932         (xdr_wrapstring): Likewise.
22933         * sunrpc/xdr_float.c (xdr_float): Likewise.
22934         (xdr_double): Likewise.
22935         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22936         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22937         * sysvipc/ftok.c (ftok): Likewise.
22938         * sysvipc/msgctl.c (msgctl): Likewise.
22939         * sysvipc/msgget.c (msgget): Likewise.
22940         * sysvipc/msgrcv.c (msgrcv): Likewise.
22941         * sysvipc/msgsnd.c (msgsnd): Likewise.
22942         * sysvipc/semget.c (semget): Likewise.
22943         * sysvipc/semop.c (semop): Likewise.
22944         * sysvipc/shmat.c (shmat): Likewise.
22945         * sysvipc/shmctl.c (shmctl): Likewise.
22946         * sysvipc/shmdt.c (shmdt): Likewise.
22947         * sysvipc/shmget.c (shmget): Likewise.
22948         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22949         * termios/speed.c (cfgetospeed): Likewise.
22950         (cfgetispeed): Likewise.
22951         (cfsetospeed): Likewise.
22952         (cfsetispeed): Likewise.
22953         * termios/tcflow.c (tcflow): Likewise.
22954         * termios/tcflush.c (tcflush): Likewise.
22955         * termios/tcgetattr.c (__tcgetattr): Likewise.
22956         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22957         * termios/tcgetsid.c (tcgetsid): Likewise.
22958         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22959         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22960         * time/adjtime.c (__adjtime): Likewise.
22961         * time/dysize.c (dysize): Likewise.
22962         * time/ftime.c (ftime): Likewise.
22963         * time/getitimer.c (__getitimer): Likewise.
22964         * time/gettimeofday.c (__gettimeofday): Likewise.
22965         * time/gmtime.c (__gmtime_r): Likewise.
22966         (gmtime): Likewise.
22967         * time/localtime.c (__localtime_r): Likewise.
22968         (localtime): Likewise.
22969         * time/offtime.c (__offtime): Likewise.
22970         * time/settimeofday.c (__settimeofday): Likewise.
22971         * time/stime.c (stime): Likewise.
22972         * time/strftime_l.c (tm_diff): Likewise.
22973         (iso_week_days): Likewise.
22974         * time/strptime.c (strptime): Likewise.
22975         * time/time.c (time): Likewise.
22976         * time/timespec_get.c (timespec_get): Likewise.
22977         * time/tzset.c (tzset_internal): Likewise.
22978         (compute_change): Likewise.
22979         (__tz_compute): Likewise.
22980         * wcsmbs/btowc.c (__btowc): Likewise.
22981         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22982         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22983         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22984         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22985         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22986         * wcsmbs/wcscat.c (__wcscat): Likewise.
22987         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22988         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22989         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22990         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22991         * wcsmbs/wcsdup.c (wcsdup): Likewise.
22992         * wcsmbs/wcslen.c (__wcslen): Likewise.
22993         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
22994         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
22995         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
22996         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
22997         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22998         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
22999         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23000         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23001         * wcsmbs/wcstok.c (wcstok): Likewise.
23002         * wcsmbs/wctob.c (wctob): Likewise.
23003         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23004         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23005         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23006         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23007         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23008         * wcsmbs/wmemset.c (__wmemset): Likewise.
23009         * wctype/wcfuncs.c (__towlower): Likewise.
23010         (__towupper): Likewise.
23012         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23013         (lll_unlock_elision): Add adapt_count parameter.
23015 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23017         * sysdeps/nptl/configure.ac: Do not give errors based on the
23018         results of top-level configure tests.
23019         * sysdeps/nptl/configure: Regenerated.
23021         * configure.ac (libc_cv_Bgroup): Remove configure test.
23022         * configure: Regenerated.
23023         * config.make.in (have-Bgroup): Remove variable.
23025         * configure.ac (sizeof_long_double): Remove configure test.
23026         * configure: Regenerated.
23027         * config.make.in (sizeof-long-double): Remove variable.
23029         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23030         * configure: Regenerated.
23031         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23032         variable.
23033         (exceptions): Likewise.
23034         * sysdeps/arm/configure: Regenerated.
23035         * config.make.in (exceptions): Remove variable.
23036         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23037         $(exceptions).
23038         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23039         (CFLAGS-vdprintf_chk.c): Likewise.
23040         (CFLAGS-printf_chk.c): Likewise.
23041         (CFLAGS-fprintf_chk.c): Likewise.
23042         (CFLAGS-vprintf_chk.c): Likewise.
23043         (CFLAGS-vfprintf_chk.c): Likewise.
23044         (CFLAGS-gets_chk.c): Likewise.
23045         (CFLAGS-fgets_chk.c): Likewise.
23046         (CFLAGS-fgets_u_chk.c): Likewise.
23047         (CFLAGS-fread_chk.c): Likewise.
23048         (CFLAGS-fread_u_chk.c): Likewise.
23049         (CFLAGS-wprintf_chk.c): Likewise.
23050         (CFLAGS-fwprintf_chk.c): Likewise.
23051         (CFLAGS-vwprintf_chk.c): Likewise.
23052         (CFLAGS-vfwprintf_chk.c): Likewise.
23053         (CFLAGS-fgetws_chk.c): Likewise.
23054         (CFLAGS-fgetws_u_chk.c): Likewise.
23055         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23056         (CFLAGS-fputc.c): Likewise.
23057         (CFLAGS-fputwc.c): Likewise.
23058         (CFLAGS-freopen64.c): Likewise.
23059         (CFLAGS-freopen.c): Likewise.
23060         (CFLAGS-fseek.c): Likewise.
23061         (CFLAGS-fseeko64.c): Likewise.
23062         (CFLAGS-fseeko.c): Likewise.
23063         (CFLAGS-ftello64.c): Likewise.
23064         (CFLAGS-ftello.c): Likewise.
23065         (CFLAGS-fwide.c): Likewise.
23066         (CFLAGS-genops.c): Likewise.
23067         (CFLAGS-getc.c): Likewise.
23068         (CFLAGS-getchar.c): Likewise.
23069         (CFLAGS-getwc.c): Likewise.
23070         (CFLAGS-getwchar.c): Likewise.
23071         (CFLAGS-iofclose.c): Likewise.
23072         (CFLAGS-iofflush.c): Likewise.
23073         (CFLAGS-iofgetpos64.c): Likewise.
23074         (CFLAGS-iofgetpos.c): Likewise.
23075         (CFLAGS-iofgets.c): Likewise.
23076         (CFLAGS-iofgetws.c): Likewise.
23077         (CFLAGS-iofputs.c): Likewise.
23078         (CFLAGS-iofputws.c): Likewise.
23079         (CFLAGS-iofread.c): Likewise.
23080         (CFLAGS-iofsetpos64.c): Likewise.
23081         (CFLAGS-iofsetpos.c): Likewise.
23082         (CFLAGS-ioftell.c): Likewise.
23083         (CFLAGS-iofwrite.c): Likewise.
23084         (CFLAGS-iogetdelim.c): Likewise.
23085         (CFLAGS-iogetline.c): Likewise.
23086         (CFLAGS-iogets.c): Likewise.
23087         (CFLAGS-iogetwline.c): Likewise.
23088         (CFLAGS-ioputs.c): Likewise.
23089         (CFLAGS-ioseekoff.c): Likewise.
23090         (CFLAGS-ioseekpos.c): Likewise.
23091         (CFLAGS-iosetbuffer.c): Likewise.
23092         (CFLAGS-iosetvbuf.c): Likewise.
23093         (CFLAGS-ioungetc.c): Likewise.
23094         (CFLAGS-ioungetwc.c): Likewise.
23095         (CFLAGS-oldfileops.c): Likewise.
23096         (CFLAGS-oldiofclose.c): Likewise.
23097         (CFLAGS-oldiofgetpos64.c): Likewise.
23098         (CFLAGS-oldiofgetpos.c): Likewise.
23099         (CFLAGS-oldiofsetpos64.c): Likewise.
23100         (CFLAGS-oldiofsetpos.c): Likewise.
23101         (CFLAGS-peekc.c): Likewise.
23102         (CFLAGS-putc.c): Likewise.
23103         (CFLAGS-putchar.c): Likewise.
23104         (CFLAGS-putwc.c): Likewise.
23105         (CFLAGS-putwchar.c): Likewise.
23106         (CFLAGS-rewind.c): Likewise.
23107         (CFLAGS-wfileops.c): Likewise.
23108         (CFLAGS-wgenops.c): Likewise.
23109         (CFLAGS-oldiofopen.c): Likewise.
23110         (CFLAGS-iofopen.c): Likewise.
23111         (CFLAGS-iofopen64.c): Likewise.
23112         (CFLAGS-oldtmpfile.c): Likewise.
23113         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23114         (CFLAGS-fprintf.c): Likewise.
23115         (CFLAGS-printf.c): Likewise.
23116         (CFLAGS-vfwprintf.c): Likewise.
23117         (CFLAGS-vfscanf.c): Likewise.
23118         (CFLAGS-vfwscanf.c): Likewise.
23119         (CFLAGS-fscanf.c): Likewise.
23120         (CFLAGS-scanf.c): Likewise.
23121         (CFLAGS-isoc99_vfscanf.c): Likewise.
23122         (CFLAGS-isoc99_vscanf.c): Likewise.
23123         (CFLAGS-isoc99_fscanf.c): Likewise.
23124         (CFLAGS-isoc99_scanf.c): Likewise.
23125         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23126         (CFLAGS-isoc99_fwscanf.c): Likewise.
23127         (CFLAGS-isoc99_vwscanf.c): Likewise.
23128         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23130         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23131         after mkstemp64.
23132         * login/tst-utmp.c (do_prepare): Likewise.
23133         * rt/tst-aio.c (do_prepare): Likewise.
23134         * rt/tst-aio64.c (do_prepare): Likewise.
23136 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23138         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23139         (__lll_lock_elision): Remove adapt_count decrement...
23140         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23141         (__lll_trylock_elision): Likewise.
23142         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23143         (__lll_unlock_elision): ... to here. And utilize
23144         new adapt_count parameter.
23145         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23146         (__lll_unlock_elision): Update to include adapt_count
23147         parameter.
23148         (lll_unlock_elision): Pass pointer to adapt_count
23149         variable.
23151 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23153         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23154         Add elision adapt_count parameter to list of arguments.
23155         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23156         (lll_unlock_elision): Update with new parameter list
23157         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23158         (lll_unlock_elision): Likewise.
23159         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23160         (lll_unlock_elision): Likewise.
23162 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23164         [BZ #19122]
23165         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23166         attribute_hidden.
23168         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23169         attribute_hidden.
23170         [IS_IN (rtld)] (__strdup): Likewise.
23171         [IS_IN (rtld)] (__strerror_r): Likewise.
23172         [IS_IN (rtld)] (__strsep_g): Likewise.
23173         [IS_IN (rtld)] (memchr): Likewise.
23174         [IS_IN (rtld)] (memcmp): Likewise.
23175         [IS_IN (rtld)] (memcpy): Likewise.
23176         [IS_IN (rtld)] (memmove): Likewise.
23177         [IS_IN (rtld)] (memset): Likewise.
23178         [IS_IN (rtld)] (rawmemchr): Likewise.
23179         [IS_IN (rtld)] (stpcpy): Likewise.
23180         [IS_IN (rtld)] (strchr): Likewise.
23181         [IS_IN (rtld)] (strcmp): Likewise.
23182         [IS_IN (rtld)] (strlen): Likewise.
23183         [IS_IN (rtld)] (strnlen): Likewise.
23184         [IS_IN (rtld)] (strsep): Likewise.
23186         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23187         attribute_hidden.
23188         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23190         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23191         attribute_hidden.
23192         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23194         * include/setjmp.h (__longjmp): Add attribute_hidden.
23195         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23197         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23198         Add attribute_hidden.
23200         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23201         [IS_IN (rtld)] (__open): Likewise.
23202         [IS_IN (rtld)] (__fcntl): Likewise.
23204         * include/dirent.h (__opendirat): Add attribute_hidden.
23205         (__getdents): Likewise.
23206         (__getdents64): Likewise.
23207         (__alloc_dir): Likewise.
23208         [IS_IN (rtld)] (__closedir): Likewise.
23209         [IS_IN (rtld)] (__fdopendir): Likewise.
23210         [IS_IN (rtld)] (__readdir): Likewise.
23211         [IS_IN (rtld)] (__readdir64): Likewise.
23212         [IS_IN (rtld)] (__rewinddir): Likewise.
23214         * include/dlfcn.h (_dl_catch_error): Moved to ...
23215         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23216         attribute_hidden.
23218         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23219         (_itoa_word): Likewise.
23221         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23222         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23223         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23224         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23225         (_dl_higher_prime_number): Likewise.
23226         (_dl_debug_printf_c): Likewise.
23227         (_dl_signal_cerror): Likewise.
23228         (_dl_receive_error): Likewise.
23229         (_dl_reloc_bad_type): Likewise.
23230         (_dl_resolve_conflicts): Likewise.
23231         (_dl_check_all_versions): Likewise.
23232         (_dl_check_map_versions): Likewise.
23233         (_dl_sort_fini): Likewise.
23234         (_dl_debug_initialize): Likewise.
23235         (_dl_init_paths): Likewise.
23236         (_dl_show_auxv): Likewise.
23237         (_dl_next_ld_env_entry): Likewise.
23238         (_dl_important_hwcaps): Likewise.
23239         (_dl_load_cache_lookup): Likewise.
23240         (_dl_update_slotinfo): Likewise.
23241         (_dl_show_scope): Likewise.
23243         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23244         attribute_hidden.
23245         (_wordcopy_fwd_dest_aligned): Likewise.
23246         (_wordcopy_bwd_aligned): Likewise.
23247         (_wordcopy_bwd_dest_aligned): Likewise.
23249         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23250         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23251         Likewise.
23252         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23253         Likewise.
23254         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23256 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23258         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23259         GCC 5 requirement.
23261 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23263         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23264         test.
23265         * sysdeps/i386/configure: Regenerated.
23266         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23267         code unconditional.
23269         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23270         test.
23271         (libc_cv_asm_popsection_directive): Likewise.
23272         * configure: Regenerated.
23273         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23274         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23275         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23276         (__make_section_unallocated): Make definition unconditional.
23277         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23278         Remove conditional definition.
23279         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23280         (__make_section_unallocated): Likewise.
23282         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23283         * configure: Regenerated.
23284         * config.make.in (static-libgcc): Remove variable.
23285         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23286         $(static-libgcc).
23287         (build-module-helper): Likewise.
23289         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23290         * configure: Regenerated.
23292 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23294         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23295         (struct char_buffer): New type.
23296         (char_buffer_start, char_buffer_size, char_buffer_error)
23297         (char_buffer_rewind, char_buffer_add): New functions.
23298         (ADDW): Remove macro, replaced by the char_buffer_add function.
23299         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23300         of extend_alloca.  Make control flow more explicit.
23302 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23304         [BZ #19137]
23305         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23306         Add -fomit-frame-pointer.
23307         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23309 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23311         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23312         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23313         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23314         only if !__GNUC_PREREQ (5,0).
23315         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23316         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23317         (INTERNAL_SYSCALL_NCS): Likewise.
23318         (LOADREGS_0): New macro for GCC 5.
23319         (ASMARGS_0): Likewise.
23320         (LOADREGS_1): Likewise.
23321         (ASMARGS_1): Likewise.
23322         (LOADREGS_2): Likewise.
23323         (ASMARGS_2): Likewise.
23324         (LOADREGS_3): Likewise.
23325         (ASMARGS_3): Likewise.
23326         (LOADREGS_4): Likewise.
23327         (ASMARGS_4): Likewise.
23328         (LOADREGS_5): Likewise.
23329         (ASMARGS_5): Likewise.
23330         (LOADREGS_6): Likewise.
23331         (ASMARGS_6): Likewise.
23333 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23335         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23336         -fomit-frame-pointer.
23337         (CFLAGS-mmap64.c): Likewise.
23338         (CFLAGS-semtimedop.c): Likewise.
23339         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23340         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23341         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23342         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23344 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23346         [BZ #18928]
23347         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23348         _dl_pointer_guard member.
23349         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23350         initializer.
23351         (security_init): Always set up pointer guard.
23352         (process_envvars): Do not process LD_POINTER_GUARD.
23354 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23356         [BZ #19134]
23357         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23358         (.LC2): Likewise.
23359         (.LC3): Likewise.
23360         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23362 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23364         [BZ #19129]
23365         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23366         r0 and r1.
23368 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23370         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23372 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23374         * include/stap-probe.h: Fix macro definition formatting.
23376 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23378         [BZ #19074]
23379         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23380         load and store num_ifs.
23382 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23384         [BZ #18822]
23385         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23386         (__sched_getaffinity_new): Add libc_hidden_proto and
23387         libc_hidden_def.
23389 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23391         [BZ #19007]
23392         * scripts/localplt.awk: Also allow GOT references.
23393         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23394         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23395         with "+ REL R_386_GLOB_DAT".
23396         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23397         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23399 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23401         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23402         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23403         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23404         Likewise.
23405         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23406         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23407         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23408         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23409         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23410         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23411         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23412         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23413         Likewise.
23414         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23416 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23418         [BZ #19125]
23419         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23420         <math_private.h> and <stdint.h>.
23421         (__llround): Avoid conversions to and from long long int, and
23422         subtractions, where those might raise spurious exceptions.
23423         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23424         <math_private.h> and <stdint.h>.
23425         (__llroundf): Avoid conversions to and from long long int, and
23426         subtractions, where those might raise spurious exceptions.
23428 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23430         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23431         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23432         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23433         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23434         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23435         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23436         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23437         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23438         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23439         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23440         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23441         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23442         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23443         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23444         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23445         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23446         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23447         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23448         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23449         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23450         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23451         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23452         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23453         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23454         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23455         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23456         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23457         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23458         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23459         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23460         (__xstat64_conv): Likewise.
23461         (__xstat32_conv): Likewise.
23463 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23465         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23466         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23467         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23468         <sysdeps/unix/sysv/linux/sysdep.h>.
23469         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23470         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23471         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23472         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23473         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23474         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23475         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23476         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23477         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23480         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23481         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23482         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23483         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23485         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23486         (sysdep-dl-routines): Add sysdep.
23487         [$(subdir) == nptl] (libpthread-routines): Likewise.
23488         [$(subdir) == rt] (librt-routines): Likewise.
23489         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23490         PIC when branching to SYSCALL_ERROR_LABEL.
23491         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23492         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23493         <sysdeps/unix/sysv/linux/sysdep.h>.
23494         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23495         (SYSCALL_ERROR_ERRNO): Removed.
23496         (SYSCALL_ERROR_HANDLER): Changed to empty.
23497         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23498         (__syscall_error): New prototype.
23499         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23500         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23502 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23504         [BZ #19124]
23505         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23506         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23507         _dl_runtime_resolve_avx.
23508         (_dl_runtime_profile_avx512): Make it a hidden alias of
23509         _dl_runtime_profile_avx.
23511 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23513         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23514         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23515         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23516         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23518         [BZ #16422]
23519         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23520         New configure test.
23521         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23522         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23523         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23524         <math_private.h> and <stdint.h>.
23525         (__llrint): Avoid conversions to long long int where those might
23526         raise spurious exceptions.
23527         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23528         <math_private.h> and <stdint.h>.
23529         (__llrintf): Avoid conversions to long long int where those might
23530         raise spurious exceptions.
23532 2015-10-12  Andreas Schwab  <schwab@suse.de>
23534         [BZ #18969]
23535         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23536         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23537         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23538         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23539         $(gen-locales).
23540         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23541         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23542         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23543         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23544         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23545         $(gen-locales).
23546         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23547         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23548         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23549         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23550         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23551         ($(objpfx)tst-ftell-active-handler.out)
23552         ($(objpfx)tst-ftell-append.out)
23553         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23554         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23555         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23556         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23557         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23558         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23559         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23560         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23561         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23562         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23563         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23564         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23565         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23566         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23567         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23568         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23569         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23570         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23571         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23572         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23573         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23574         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23575         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23576         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23577         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23578         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23579         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23580         $(gen-locales).
23581         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23582         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23583         $(gen-locales).
23584         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23585         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23586         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23587         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23588         $(gen-locales).
23589         * libio/tst_wprintf2.c (main): Use explicit locale.
23590         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23592 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23594         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23595         __msg_sig_post.
23596         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23598 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23600         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23601         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23603         * sysdeps/arm/libm-test-ulps: Regenerated.
23605         [BZ #15470]
23606         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23608         [BZ #16399]
23609         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23610         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23611         and <fix-fp-int-convert-overflow.h>.
23612         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23613         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23614         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23615         and <fix-fp-int-convert-overflow.h>.
23616         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23617         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23618         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23619         <fix-fp-int-convert-overflow.h>.
23620         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23621         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23622         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23623         <fix-fp-int-convert-overflow.h>.
23624         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23625         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23626         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23627         and <fix-fp-int-convert-overflow.h>.
23628         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23629         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23630         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23631         <limits.h> and <fix-fp-int-convert-overflow.h>.
23632         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23633         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23634         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23635         and <fix-fp-int-convert-overflow.h>.
23636         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23637         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23638         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23639         and <fix-fp-int-convert-overflow.h>.
23640         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23641         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23642         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23644 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23646         [BZ #18589]
23647         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23648         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23649         $(gen-locales).
23651 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23652             Phil Blundell <pb@pbcl.net>
23654         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23655         * nptl/tst-cancel26.c: New file.
23656         * nptl/tst-cancel27.c: Likewise.
23658 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23660         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23661         __ILP32__ isn't defined.
23662         (lrint): Likewise.
23663         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23664         (lrintf): Likewise.
23665         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23666         (lrintl): Likewise.
23667         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23668         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23669         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23671 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23673         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23674         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23676         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23677         file.
23678         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23679         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23681 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23683         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23684         configure test.
23685         * sysdeps/i386/configure: Regenerated.
23686         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23687         configure test.
23688         * sysdeps/x86_64/configure: Regenerated.
23689         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23690         Make code unconditional.
23692         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23693         test.
23694         * sysdeps/i386/configure: Regenerated.
23695         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23696         test.
23697         * sysdeps/x86_64/configure: Regenerated.
23698         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23699         Make code unconditional.
23700         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23701         Likewise.
23702         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23703         Likewise.
23704         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23705         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23706         code unconditional.
23707         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23708         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23709         code unconditional.
23710         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23711         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23712         code unconditional.
23713         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23714         code unconditional.
23715         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23716         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23717         code unconditional.
23718         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23719         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23720         code unconditional.
23721         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23722         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23723         code unconditional.
23724         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23725         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23726         code unconditional.
23727         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23728         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23730         [BZ #19095]
23731         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23732         mantissa to long int before shifting left.
23734 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23736         [BZ #19094]
23737         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23738         <limits.h>.
23739         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23740         when result overflows but exception would not result from cast.
23741         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23742         <limits.h>.
23743         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23744         when result overflows but exception would not result from cast.
23745         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23746         <limits.h>.
23747         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23748         when result overflows but exception would not result from cast.
23749         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23750         <limits.h>.
23751         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23752         when result overflows but exception would not result from cast.
23753         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23754         <limits.h>.
23755         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23756         when result overflows but exception would not result from cast.
23757         * math/libm-test.inc (lrint_test_data): Add more tests.
23758         (llrint_test_data): Likewise.
23760 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23762         [BZ #18872]
23763         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23764         Move out from under [$(run-built-tests) = yes] conditional.
23765         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23766         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23768 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23770         [BZ #18589]
23771         * string/Makefile (tests): Add bug-strcoll2.
23772         (LOCALES): Add cs_CZ.UTF-8.
23773         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23775         [BZ #18589]
23776         * string/bug-strcoll2.c: New file.
23777         * locale/categories.def: Revert commit
23778         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23779         * locale/langinfo.h: Likewise.
23780         * locale/localeinfo.h: Likewise.
23781         * locale/C-collate.c: Likewise.
23782         * locale/programs/ld-collate.c (collate_output): Likewise.
23783         * string/strcoll_l.c (STRDIFF): Likewise.
23784         (STRCOLL): Likewise.
23785         * wcsmbs/wcscoll_l.c: Likewise.
23787 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23789         * math/libm-test.inc (lround_test_data): Do not expect the absence
23790         of "inexact" for some tests with non-integer arguments.
23791         (llround_test_data): Likewise.
23793         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23794         test.
23795         (libc_cv_cc_sse2avx): Likewise.
23796         * sysdeps/i386/configure: Regenerated.
23797         * sysdeps/i386/i686/multiarch/Makefile
23798         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23799         [$(subdir) = math].
23800         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23801         code unconditional.
23802         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23803         Likewise.
23804         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23805         Likewise.
23806         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23807         Likewise.
23808         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23809         test.
23810         (libc_cv_cc_sse2avx): Likewise.
23811         * sysdeps/x86_64/configure: Regenerated.
23812         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23813         unconditional.
23814         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23815         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23816         unconditional.
23817         (_dl_runtime_profile)
23818         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23819         conditional code.
23820         * sysdeps/x86_64/fpu/multiarch/Makefile
23821         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23822         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23823         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23824         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23825         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23826         * sysdeps/x86_64/fpu/multiarch/e_log.c
23827         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23828         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23829         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23830         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23831         Likewise.
23832         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23833         Likewise.
23834         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23835         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23836         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23837         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23838         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23839         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23840         (HAVE_SSE2AVX_SUPPORT): Likewise.
23842 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23844         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23845         instead of #pragma optimize.
23847 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23849         [BZ #17195]
23850         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23851         as is similarly done in systrim and _int_free already.
23853 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23855         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23857 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23859         [BZ #19088]
23860         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23861         <limits.h>.
23862         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23863         overflows but exception would not result from cast.
23864         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23865         and <limits.h>.
23866         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23867         overflows but exception would not result from cast.
23868         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23869         <limits.h>.
23870         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23871         overflows but exception would not result from cast.
23872         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23873         <limits.h>.
23874         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23875         overflows but exception would not result from cast.
23876         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23877         <limits.h>.
23878         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23879         overflows but exception would not result from cast.
23880         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23881         <limits.h>.
23882         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23883         overflows but exception would not result from cast.
23884         * math/libm-test.inc (lround_test_data): Add more tests.
23885         (llround_test_data): Likewise.
23887 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23889         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23890         (CFLAGS-ialloc.c): Ditto.
23891         (CFLAGS-scheck.c): Ditto.
23893 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23895         [BZ #19086]
23896         * manual/filesys.texi (Storage Allocation): Fix argument order for
23897         posix_fallocate64.
23899 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23901         [BZ #19085]
23902         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23903         exponent below 48 inside case for non-overflowing exponent.
23904         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23906 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23908         * iconvdata/cp737.h (from_idx): Add const.
23909         * iconvdata/cp775.h (from_idx): Likewise.
23911 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23913         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23914         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23915         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23917         [BZ #19079]
23918         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23919         file, conditioned on [!_LP64].
23920         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23921         [!_LP64] (__lround): Do not define as function or alias.
23922         [!_LP64] (lround): Likewise.
23923         [!_LP64] (__lroundl): Likewise.
23924         [!_LP64] (lroundl): Likewise.
23925         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23926         macro.
23927         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23928         Likewise.
23930 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23932         * math/libm-test.inc (lrint_test_data): Add more tests.
23933         (llrint_test_data): Likewise.
23934         (lround_test_data): Likewise.
23935         (llround_test_data): Likewise.
23937         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23938         (llrint_test_data): Add tests used for lrint.
23940         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23941         test.
23942         * sysdeps/i386/configure: Regenerated.
23943         * sysdeps/i386/i686/multiarch/Makefile
23944         [$(config-cflags-sse4) = yes]: Make code unconditional.
23945         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23946         Likewise.
23947         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23948         Likewise.
23949         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23950         test.
23951         * sysdeps/x86_64/configure: Regenerated.
23952         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23953         Make code unconditional.
23954         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23955         Likewise.
23956         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23957         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23959         * scripts/rpm2dynsym.sh: Remove file.
23961 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23963         * configure.ac (libc_cv_cxx_thread_local): Define.
23964         * configure: Regenerate.
23965         * config.make.in (have-cxx-thread_local): Define.
23966         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23967         (LDLIBS-tst-thread_local1): Define.
23968         (tests): Add tst-thread_local1.
23969         [have-cxx-thread_local != yes] (tests-unsupported): Add
23970         tst-thread_local1.
23971         * nptl/tst-thread_local1.cc: New file.
23973 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23975         [BZ #19078]
23976         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23977         (u_thres): Likewise.
23978         (__expl): Determine whether to call __kernel_standard_l based on
23979         value of result, not argument.
23981         * math/libm-test.inc (scalb_test_data): Add more expectations for
23982         the "inexact" exception.
23984         [BZ #19077]
23985         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23986         0.0L for argument 1.0L.
23988         [BZ #19076]
23989         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23990         constant 0.0L when computing infinite result.
23992 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23994         [BZ #10432]
23995         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
23996         malloc_usable_size.
23998 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24000         [BZ #19018]
24001         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24002         Mangle function pointer before storing it.
24003         (__call_tls_dtors): Demangle function pointer before calling it.
24005 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24007         [BZ #19012]
24008         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24009         Clean up on failure.
24011 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24013         [BZ #19071]
24014         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24015         long int variable to store possibly incremented high part of
24016         mantissa.
24017         * math/libm-test.inc (lround_test_data): Add tests used for
24018         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24019         for tests requiring 64-bit long.  Do not condition tests on
24020         [TEST_FLOAT] unnecessarily.
24021         (llround_test_data): Add tests used for lround.  Add another
24022         expectation for the "inexact" exception.  Do not condition tests
24023         on [TEST_FLOAT] unnecessarily.
24025         [BZ #887]
24026         [BZ #19049]
24027         [BZ #19050]
24028         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24029         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24030         <fix-int-fp-convert-zero.h>.
24031         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24032         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24033         <fix-int-fp-convert-zero.h>.
24034         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24035         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24036         <fix-int-fp-convert-zero.h>.
24037         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24038         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24039         <fix-int-fp-convert-zero.h>.
24040         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24041         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24042         <fix-int-fp-convert-zero.h>.
24043         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24044         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24045         <fix-int-fp-convert-zero.h>.
24046         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24047         * sysdeps/ieee754/flt-32/s_erff.c: Include
24048         <fix-int-fp-convert-zero.h>.
24049         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24050         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24051         <fix-int-fp-convert-zero.h>.
24052         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24053         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24054         <fix-int-fp-convert-zero.h>.
24055         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24056         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24057         <fix-int-fp-convert-zero.h>.
24058         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24059         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24060         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24061         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24062         file.
24063         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24065 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24067         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24069 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24071         [BZ #19059]
24072         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24073         overflowing computation.
24074         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24075         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24076         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24077         Likewise.
24078         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24079         Likewise.
24080         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24081         Likewise.
24082         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24083         Likewise.
24084         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24085         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24086         Likewise.
24087         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24088         Likewise.
24089         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24091         * nss/rewrite_field.c (__nss_rewrite_field): Use
24092         internal_function.
24093         * nss/valid_field.c (__nss_valid_field): Likewise.
24094         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24096 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24098         [BZ #18724]
24099         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24100         (__nss_invalid_field_characters, __nss_valid_field)
24101         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24102         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24103         tst-field.c: New file.
24104         * nss/Makefile (routines): Add valid_field, rewrite_field.
24105         (tests-static): Define unconditionally.
24106         (tests): Include tests-static.
24107         [build-static-nss] (tests-static): Use append.
24108         [build-static-nss] (tests): Remove modification.
24109         * nss/getent.c (print_group): Call putgrent.  Report error.
24110         (print_gshadow): Call putsgent.  Report error.
24111         (print_passwd): Call putpwent.  Report error.
24112         (print_shadow): Call putspent.  Report error.
24113         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24114         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24115         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24116         name, password, directory, shell fields for valid syntax.  Rewrite
24117         GECOS field to match syntax.
24118         * pwd/Makefile (tests): Add tst-putpwent.
24119         * pwd/tst-putpwent.c: New file.
24120         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24121         Check grName, grpasswd, gr_mem fields for valid syntax.
24122         Change loop variable i to size_t.
24123         * grp/Makefile (tests): Add tst-putgrent.
24124         * grp/tst-putgrent.c: New file.
24125         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24126         valid syntax.
24127         * shadow/Makefile (tests): Add tst-putspent.
24128         * shadow/tst-putspent.c: New file.
24129         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24130         sg_mem fields for valid syntax.
24131         * gshadow/Makefile (tests): Add tst-putsgent.
24132         * gshadow/tst-putsgent.c: New file.
24134 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24136         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24137         assembly instructions.
24139 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24141         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24142         prefix from operands.
24144 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24146         [BZ #16347]
24147         [BZ #19046]
24148         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24149         <libc-internal.h>.
24150         (MAXLGM): Do not use diagnostic control macros.
24151         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24152         threshold for ldbl-128ibm.
24153         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24154         instead of multiplying by log then subtracting.
24155         * math/auto-libm-test-in: Add more tests of lgamma.
24156         * math/auto-libm-test-out: Regenerated.
24158         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24159         (TYPE_HEX_DIG): Likewise.
24160         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24161         precisions when printing floating-point numbers.
24162         (check_float_internal): Likewise.
24164 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24166         [BZ #16620]
24167         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24168         of log (10) rounded downward to 48 bits.
24169         (log10_low): Use corresponding low part of log (10).
24171         [BZ #19032]
24172         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24173         compute result as (x - x) / (x - x) not as 0 / 0.
24174         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24175         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24177         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24178         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24179         and expm1.
24180         * math/auto-libm-test-out: Regenerated.
24181         * math/libm-test.inc (acos_test_data): Add more tests.
24182         (asin_test_data): Likewise.
24183         (asinh_test_data): Likewise.
24184         (atan_test_data): Likewise.
24185         (atanh_test_data): Likewise.
24186         (atan2_test_data): Likewise.
24187         (cbrt_test_data): Likewise.
24188         (ceil_test_data): Likewise.
24189         (copysign_test_data): Likewise.
24190         (cos_test_data): Likewise.
24191         (cosh_test_data): Likewise.
24192         (erf_test_data): Likewise.
24193         (erfc_test_data): Likewise.
24194         (exp_test_data): Likewise.
24195         (exp10_test_data): Likewise.
24196         (exp2_test_data): Likewise.
24197         (expm1_test_data): Likewise.
24198         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24200 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24202         [BZ #19006]
24203         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24204         to ...
24205         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24206         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24207         to ...
24208         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24209         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24210         to ...
24211         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24212         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24213         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24214         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24215         to ...
24216         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24217         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24218         Moved to ...
24219         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24220         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24221         Moved to ...
24222         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24223         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24224         to ...
24225         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24226         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24227         Moved to ...
24228         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24229         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24230         to ...
24231         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24232         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24233         Removed.
24234         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24235         Likewise.
24236         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24237         Likewise.
24238         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24239         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24240         Likewise.
24241         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24242         Likewise.
24243         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24244         Likewise.
24245         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24246         Likewise.
24247         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24248         Likewise.
24249         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24250         Likewise.
24251         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24252         Likewise.
24253         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24254         Likewise.
24255         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24256         Likewise.
24257         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24258         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24259         Likewise.
24260         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24261         Likewise.
24262         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24263         Likewise.
24264         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24265         Likewise.
24266         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24267         Likewise.
24268         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24269         Replace ../i486/pthread_cond_timedwait.S with
24270         ../pthread_cond_timedwait.S.
24272 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24274         * math/libm-test.inc (acos_test_data): Refine expectations for
24275         errno and "inexact" exceptions.
24276         (acosh_test_data): Likewise.
24277         (asin_test_data): Likewise.
24278         (asinh_test_data): Likewise.
24279         (atan_test_data): Likewise.
24280         (atanh_test_data): Likewise.
24281         (atan2_test_data): Likewise.
24282         (cbrt_test_data): Likewise.
24283         (ceil_test_data): Likewise.
24284         (copysign_test_data): Likewise.
24285         (cosh_test_data): Likewise.
24286         (erf_test_data): Likewise.
24287         (erfc_test_data): Likewise.
24288         (exp_test_data): Likewise.
24289         (exp10_test_data): Likewise.
24290         (exp2_test_data): Likewise.
24291         (expm1_test_data): Likewise.
24292         (fabs_test_data): Likewise.
24293         (floor_test_data): Likewise.
24294         (fma_test_data): Likewise.
24295         (fmax_test_data): Likewise.
24296         (fmin_test_data): Likewise.
24297         (fmod_test_data): Likewise.
24298         (fpclassify_test_data): Likewise.
24299         (frexp_test_data): Likewise.
24300         (hypot_test_data): Likewise.
24301         (ilogb_test_data): Likewise.
24302         (isgreater_test_data): Likewise.
24303         (isgreaterequal_test_data): Likewise.
24304         (isinf_test_data): Likewise.
24305         (isless_test_data): Likewise.
24306         (islessequal_test_data): Likewise.
24307         (islessgreater_test_data): Likewise.
24308         (isnan_test_data): Likewise.
24309         (isnormal_test_data): Likewise.
24310         (issignaling_test_data): Likewise.
24311         (isunordered_test_data): Likewise.
24312         (j0_test_data): Likewise.
24313         (j1_test_data): Likewise.
24314         (jn_test_data): Likewise.
24315         (lgamma_test_data): Likewise.
24316         (lrint_test_data): Likewise.
24317         (llrint_test_data): Likewise.
24318         (log_test_data): Likewise.
24319         (log10_test_data): Likewise.
24320         (log1p_test_data): Likewise.
24321         (log2_test_data): Likewise.
24322         (logb_test_data): Likewise.
24323         (lround_test_data): Likewise.
24324         (llround_test_data): Likewise.
24325         (modf_test_data): Likewise.
24326         (nearbyint_test_data): Likewise.
24327         (nextafter_test_data): Likewise.
24328         (nexttoward_test_data): Likewise.
24329         (pow_test_data): Likewise.
24330         (remainder_test_data): Likewise.
24331         (remquo_test_data): Likewise.
24332         (rint_test_data): Likewise.
24333         (round_test_data): Likewise.
24334         (signbit_test_data): Likewise.
24335         (sinh_test_data): Likewise.
24336         (sqrt_test_data): Likewise.
24337         (tanh_test_data): Likewise.
24338         (tgamma_test_data): Likewise.
24339         (trunc_test_data): Likewise.
24340         (y0_test_data): Likewise.
24341         (y1_test_data): Likewise.
24342         (yn_test_data): Likewise.
24343         (significand_test_data): Likewise.
24345 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24347         * manual/filesys.texi (Storage Allocation): Document that
24348         posix_fallocate emulation fails when fd is open with O_WRONLY.
24350 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24352         [BZ #19016]
24353         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24354         allow more cases with X^2 + Y^2 >= 0.5.
24355         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24356         normal element in sum instead of special-casing based on values of
24357         arguments.
24358         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24359         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24360         -1 as normal element in sum instead of special-casing based on
24361         values of arguments.
24362         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24363         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24364         (__x2y2m1): Update comment.
24365         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24366         as normal element in sum instead of special-casing based on values
24367         of arguments.
24368         * math/s_clog.c (__clog): Handle more cases using log1p without
24369         hypot.
24370         * math/s_clog10.c (__clog10): Likewise.
24371         * math/s_clog10f.c (__clog10f): Likewise.
24372         * math/s_clog10l.c (__clog10l): Likewise.
24373         * math/s_clogf.c (__clogf): Likewise.
24374         * math/s_clogl.c (__clogl): Likewise.
24375         * math/auto-libm-test-in: Add more tests of clog and clog10.
24376         * math/auto-libm-test-out: Regenerated.
24377         * sysdeps/i386/fpu/libm-test-ulps: Update.
24378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24380 2015-09-28  Martin Sebor  <msebor@redhat.com>
24382         [BZ #18969]
24383         * string/Makefile (LOCALES): Define.
24384         (gen-locales.mk): Include.
24385         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24386         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24387         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24388         on setlocale failure.
24390 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24392         [BZ #18985]
24393         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24394         (__strftime_internal): Likewise.
24395         * time/tst-strftime.c (do_bz18985): New test.
24396         (do_test): Call it.
24398 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24400         [BZ #18956]
24401         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24402         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24403         extracting high part.
24404         * math/auto-libm-test-in: Add another test of pow.
24405         * math/auto-libm-test-out: Regenerated.
24406         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24408 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24410         [BZ #18825]
24411         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24412         New macro.
24413         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24414         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24415         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24416         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24417         DBL_NARROW_EVAL, reloading the PIC register as needed.
24418         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24419         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24420         FLT_NARROW_EVAL.  Use separate return path for case when first
24421         argument is NaN.
24422         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24423         DEFINE_LDBL_MIN.
24424         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24425         PIC register.
24426         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24427         math_check_force_underflow_nonneg.
24428         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24429         underflow for subnormal result.
24430         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24431         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24432         math_check_force_underflow_nonneg.
24433         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24434         math_check_force_underflow.
24435         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24436         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24437         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24438         DEFINE_LDBL_MIN.
24439         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24440         * math/auto-libm-test-in: Add more tests of pow.
24441         * math/auto-libm-test-out: Regenerated.
24443 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24445         * nss/bug17079.c (init_test_items): Add diagnostic for
24446         inconsistent entries.
24447         (test_buffer_size): Skip inconsistent entries.
24449 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24451         [BZ #13304]
24452         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24453         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24454         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24456         [BZ #13304]
24457         * sysdeps/microblaze/s_fma.c: New file.
24458         * sysdeps/microblaze/s_fmaf.c: Likewise.
24459         * sysdeps/microblaze/sfp-machine.h: Likewise.
24461 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24463         [BZ #17250]
24464         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24465         member.
24467 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24469         [BZ #18803]
24470         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24471         (MO): New macro.
24472         (__ieee754_hypot) [PIC]: Load PIC register.
24473         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24474         DBL_NARROW_EVAL.
24475         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24476         math_check_force_underflow_nonneg in case where result might be
24477         tiny.
24478         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24479         Likewise.
24480         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24481         Likewise.
24482         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24483         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24484         * math/auto-libm-test-in: Add more tests of hypot.
24485         * math/auto-libm-test-out: Regenerated.
24487 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24489         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24491 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24493         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24494         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24495         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24496         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24497         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24498         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24499         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24501         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24502         LOAD_PIC_REG.
24504         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24505         (FLT_CHECK_FORCE_UFLOW): Likewise.
24506         (DBL_CHECK_FORCE_UFLOW): Likewise.
24507         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24508         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24509         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24510         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24511         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24512         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24513         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24514         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24515         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24516         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24517         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24518         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24519         (flt_min): Replace with use of DEFINE_FLT_MIN.
24520         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24521         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24522         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24523         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24524         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24525         (flt_min): Replace with use of DEFINE_FLT_MIN.
24526         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24527         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24528         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24529         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24530         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24531         (flt_min): Replace with use of DEFINE_FLT_MIN.
24532         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24533         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24534         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24535         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24536         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24537         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24538         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24539         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24540         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24541         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24542         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24543         (flt_min): Replace with use of DEFINE_FLT_MIN.
24544         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24545         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24546         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24547         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24548         main computation.
24549         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24550         (flt_min): Replace with use of DEFINE_FLT_MIN.
24551         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24552         main computation.
24553         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24554         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24555         (MO): New macro.
24556         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24557         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24558         (flt_min): Replace with use of DEFINE_FLT_MIN.
24559         (MO): New macro.
24560         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24561         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24562         (__log1pl): Use MO.
24564         [BZ #19003]
24565         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24566         $(config-cflags-nofma).
24568 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24570         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24572 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24574         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24575         (TWO127): Likewise.
24577         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24578         (min_of_type): Likewise.
24579         (math_check_force_underflow): Likewise.
24580         (math_check_force_underflow_nonneg): Likewise.
24581         (math_check_force_underflow_complex): Likewise.
24582         * math/e_exp2l.c (__ieee754_exp2l): Use
24583         math_check_force_underflow_nonneg.
24584         * math/k_casinh.c (__kernel_casinh): Likewise.
24585         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24586         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24587         * math/s_catan.c (__catan): Use
24588         math_check_force_underflow_complex.
24589         * math/s_catanf.c (__catanf): Likewise.
24590         * math/s_catanh.c (__catanh): Likewise.
24591         * math/s_catanhf.c (__catanhf): Likewise.
24592         * math/s_catanhl.c (__catanhl): Likewise.
24593         * math/s_catanl.c (__catanl): Likewise.
24594         * math/s_ccosh.c (__ccosh): Likewise.
24595         * math/s_ccoshf.c (__ccoshf): Likewise.
24596         * math/s_ccoshl.c (__ccoshl): Likewise.
24597         * math/s_cexp.c (__cexp): Likewise.
24598         * math/s_cexpf.c (__cexpf): Likewise.
24599         * math/s_cexpl.c (__cexpl): Likewise.
24600         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24601         * math/s_clog10.c (__clog10): Likewise.
24602         * math/s_clog10f.c (__clog10f): Likewise.
24603         * math/s_clog10l.c (__clog10l): Likewise.
24604         * math/s_clogf.c (__clogf): Likewise.
24605         * math/s_clogl.c (__clogl): Likewise.
24606         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24607         * math/s_csinf.c (__csinf): Likewise.
24608         * math/s_csinh.c (__csinh): Likewise.
24609         * math/s_csinhf.c (__csinhf): Likewise.
24610         * math/s_csinhl.c (__csinhl): Likewise.
24611         * math/s_csinl.c (__csinl): Likewise.
24612         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24613         * math/s_csqrtf.c (__csqrtf): Likewise.
24614         * math/s_csqrtl.c (__csqrtl): Likewise.
24615         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24616         * math/s_ctanf.c (__ctanf): Likewise.
24617         * math/s_ctanh.c (__ctanh): Likewise.
24618         * math/s_ctanhf.c (__ctanhf): Likewise.
24619         * math/s_ctanhl.c (__ctanhl): Likewise.
24620         * math/s_ctanl.c (__ctanl): Likewise.
24621         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24622         instead of volatile.
24623         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24624         math_check_force_underflow.
24625         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24626         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24627         volatile when forcing underflow.
24628         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24629         math_check_force_underflow_nonneg.
24630         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24631         Likewise.
24632         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24633         math_check_force_underflow.
24634         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24635         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24636         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24637         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24638         math_check_force_underflow_nonneg.
24639         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24640         math_check_force_underflow.
24641         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24643         instead of volatile.
24644         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24645         math_check_force_underflow.
24646         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24647         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24648         math_check_force_underflow_nonneg.
24649         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24650         math_check_force_underflow.
24651         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24652         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24653         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24654         math_check_force_underflow_nonneg.
24655         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24656         Likewise.
24657         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24658         math_check_force_underflow.
24659         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24660         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24661         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24662         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24663         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24664         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24665         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24666         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24667         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24668         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24669         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24670         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24671         Likewise.
24672         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24673         math_check_force_underflow_nonneg.
24674         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24675         Likewise.
24676         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24677         math_check_force_underflow.
24678         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24679         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24680         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24681         Likewise.
24682         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24683         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24684         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24685         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24686         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24687         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24688         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24689         instead of volatile.
24690         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24691         math_check_force_underflow.
24692         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24693         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24694         math_check_force_underflow.
24695         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24696         Likewise.
24697         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24698         Use math_check_force_underflow_nonneg.
24699         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24700         math_check_force_underflow.
24701         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24702         Likewise.
24703         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24704         Likewise.
24705         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24706         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24707         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24708         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24709         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24710         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24711         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24712         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24713         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24714         math_check_force_underflow_nonneg.
24715         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24716         math_check_force_underflow.
24717         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24718         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24719         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24720         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24721         math_check_force_underflow_nonneg.
24722         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24723         math_check_force_underflow.
24724         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24725         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24726         instead of volatile.
24727         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24728         math_check_force_underflow.
24730         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24731         * stdlib/strtod_l.c: Include <math_private.h>.
24732         (overflow_value): Use math_narrow_eval.
24733         (underflow_value): Likewise.
24734         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24735         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24736         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24737         (__ieee754_gamma_r): Likewise.
24738         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24739         Likewise.
24740         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24741         Likewise.
24742         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24743         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24744         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24745         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24746         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24747         (__ieee754_gammaf_r): Likewise.
24748         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24749         Likewise.
24750         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24751         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24752         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24753         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24754         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24755         volatile.
24756         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24757         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24758         math_narrow_eval.
24759         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24760         Likewise.
24761         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24762         Likewise.
24763         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24764         Likewise.
24765         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24766         volatile.
24767         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24768         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24769         math_narrow_eval.
24770         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24771         Likewise.
24772         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24773         Likewise.
24775 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24777         * nptl/Versions: Remove ignored symbols.
24779 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24781         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24782         * nss/Makefile (tests): Update.
24784 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24786         * nss/bug18287.c: New file.
24787         * nss/Makefile (tests): Add bug18287.
24789 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24791         * mach/Versions (__mach_host_self_): Add symbol.
24793 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24795         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24796         vm_page_size.
24798 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24800         Really fix sysdeps/i386/fpu/s_scalbn.S build
24802         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24803         (libc: GLIBC_2_22): Remove unused version set.
24805 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24807         * config.make.in (enable-timezone-tools): New variable.
24808         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24809         (enable_timezone_tools): Export to generated files.
24810         * configure: Regenerate.
24811         * INSTALL: Regenerate.
24812         * manual/install.texi (--disable-timezone-tools): Document new flag.
24813         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24814         ifeq ($(enable-timezone-tools),yes) check.
24816 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24818         * timezone/Makefile: Revert previous change.
24820         [BZ #18980]
24821         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24822         (DEFINE_DBL_MIN): Likewise.
24823         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24824         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24825         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24826         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24827         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24828         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24829         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24830         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24831         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24832         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24833         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24834         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24835         (flt_min): Replace with use of DEFINE_FLT_MIN.
24836         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24837         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24838         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24839         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24840         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24841         (flt_min): Replace with use of DEFINE_FLT_MIN.
24842         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24843         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24844         (flt_min): Replace with use of DEFINE_FLT_MIN.
24845         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24846         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24847         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24848         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24849         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24850         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24851         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24852         (__ieee754_pow): Use DBL_NARROW_EVAL.
24853         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24854         (__ieee754_powf): Use FLT_NARROW_EVAL.
24855         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24856         (__ieee754_expf_sse2): Convert double-precision result to single
24857         precision.
24858         * sysdeps/i386/fpu/libm-test-ulps: Update.
24860 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24862         * timezone/Makefile: Ignore unused variable errors due to private.h
24863         (time_t_min) and (time_t_max).
24864         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24865         Likewise.
24867 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24869         [BZ #18981]
24870         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24871         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24872         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24873         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24874         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24875         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24876         (__scalbn): Use DBL_NARROW_EVAL.
24877         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24878         (__scalbnf): Use FLT_NARROW_EVAL.
24880 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24882         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24883         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24884         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24885         * stdio-common/printf_fp.c (___printf_fp):
24886         Use signbit to get the sign. Use isinf macro to allow inlining.
24887         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24888         * stdio-common/printf_size.c (__printf_size): Likewise.
24890 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24892         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24894 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24896         [BZ #18980]
24897         * sysdeps/generic/math_private.h: Include <float.h>.
24898         (math_narrow_eval): New macro.
24899         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24900         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24901         math_narrow_eval on overflowing return value.
24902         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24903         Likewise.
24904         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24905         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24906         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24907         Likewise.
24908         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24910 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24912         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24913         * math/Makefile: Remove isinf_ns.c.
24914         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24915         * math/multc3.c (__multc3): Likewise.
24916         * math/s_casin.c (__casin): Likewise.
24917         * math/s_casinf.c (__casinf): Likewise.
24918         * math/s_casinl.c (__casinl): Likewise.
24919         * math/s_cproj.c (__cproj): Likewise.
24920         * math/s_cprojf.c (__cprojf): Likewise.
24921         * math/s_cprojl.c (__cprofl): Likewise.
24922         * math/s_ctan.c (__ctan): Likewise.
24923         * math/s_ctanf.c (__ctanf): Likewise.
24924         * math/s_ctanh.c (__ctanh): Likewise.
24925         * math/s_ctanhf.c (__ctanhf): Likewise.
24926         * math/s_ctanhl.c (__ctanhl): Likewise.
24927         * math/s_ctanl.c (__ctanl): Likewise.
24928         * math/w_fmod.c (__fmod): Likewise.
24929         * math/w_fmodf.c (__fmodf): Likewise.
24930         * math/w_fmodl.c (_fmodl): Likewise.
24931         * math/w_remainder.c (__remainder): Likewise.
24932         * math/w_remainderf.c (__remainderf): Likewise.
24933         * math/w_remainderl.c (__remainderl): Likewise.
24934         * math/w_scalb.c (__scalb): Likewise.
24935         * math/w_scalbf.c (__scalbf): Likewise.
24936         * math/w_scalbl.c (__scalbl): Likewise.
24937         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24938         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24939         with isinf.
24940         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24941         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24942         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24943         __isinf_nsf with isinf.
24944         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24945         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24946         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24947         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24948         with isinf.
24949         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24950         __isinf_nsl with isinf.
24951         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24952         with isinf.
24953         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24954         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24955         __isinf_nsl with isinf.
24956         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24957         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24958         with isinf.
24960 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24962         * resolv/base64.c (rcsid): Remove unused static.
24963         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24964         static.  (tqpi1): Likewise.
24965         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24966         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24967         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24968         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24969         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24970         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24971         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24972         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24973         Likewise.
24975 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24977         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24978         <nptl/pthreadP.h>.
24979         (_longjmp_unwind): Use __libc_ptf_call.
24980         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24982 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24984         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24985         * sysdeps/arm/__longjmp.S: Likewise.
24987 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24989         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24990         Use __builtin_signbit.
24991         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
24992         Use __builtin_signbitf.
24993         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
24994         Use __builtin_signbitl.
24995         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24996         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
24998 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25000         [BZ #15367]
25001         [BZ #17441]
25003         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25004         * math/math.h (fpclassify): Use __builtin_fpclassify when
25005         available.  (signbit): Use __builtin_signbit(f/l).
25006         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25007         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25008         (isinf): Use __builtin_isinf_sign.
25010 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25012         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25013         * benchtests/bench-math-inlines.c: New benchmark.
25014         * benchtests/bench-util.h: New file.
25015         * benchtests/bench-util.c: New file.
25016         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25018 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25020         * elf/tst-dlmopen1.c: Define TEST_SO.
25021         (do_test): Use TEST_SO.
25023         * elf/dl-load.c: Include libc-internal.h.
25024         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25026 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25028         [BZ #17887]
25029         * time/strptime_l.c (__strptime_internal): Make %z accept
25030         [+-]HH:MM time zones.
25032 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25034         [BZ #17886]
25035         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25036         valid time zone.
25038 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25040         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25041         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25042         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25043         (__ASSUME_FDATASYNC): Delete.
25045 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25047         * conform/linknamespace.pl: Require weak undefined symbols to be
25048         in the standard namespace.
25049         (%strong_syms): Rename to %seen_syms.
25050         (%strong_seen): Rename to %seen_where.
25052 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25054         [BZ #18970]
25055         * misc/error.c (error): Replace pthread_setcancelstate with
25056         __pthread_setcancelstate.
25057         (error_at_line): Likewise.
25058         * posix/wordexp.c (parse_comm): Likewise.
25059         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25060         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25061         (__pthread_setcancelstate): This.
25062         (pthread_setcancelstate): Add an alias.
25063         * nptl/nptl-init.c (pthread_functions): Replace
25064         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25065         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25066         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25067         hidden_proto.
25068         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25069         it with hidden_def.
25070         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25071         (pthread_setcancelstate): Renamed to ...
25072         (__pthread_setcancelstate): This.
25073         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25074         __libc_ptf_call with __pthread_setcancelstate.
25076 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25077             Andreas Schwab  <schwab@suse.de>
25079         [BZ #17118]
25080         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25081         result when imaginary part of argument is infinite using sine and
25082         cosine.
25083         * math/s_ctanf.c (__ctanf): Likewise.
25084         * math/s_ctanl.c (__ctanl): Likewise.
25085         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25086         of result when real part of argument is infinite using sine and
25087         cosine.
25088         * math/s_ctanhf.c (__ctanhf): Likewise.
25089         * math/s_ctanhl.c (__ctanhl): Likewise.
25090         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25091         (ctanh_test_data): Add more tests of ctanh.
25093 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25095         [BZ #15384]
25096         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25097         bit-mask as in subtraction.
25098         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25099         Likewise.
25100         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25101         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25102         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25104         [BZ #18951]
25105         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25106         underflow exception for small results.
25107         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25108         Likewise.
25109         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25110         Likewise.
25111         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25112         Likewise.
25113         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25114         Likewise.
25115         * math/auto-libm-test-in: Add more tests of tgamma.
25116         * math/auto-libm-test-out: Regenerated.
25118 2015-09-17  Andreas Schwab  <schwab@suse.de>
25120         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25122 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25124         [BZ #18977]
25125         * math/bits/mathcalls.h
25126         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25127         not declare.
25128         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25129         Likewise.
25130         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25131         Likewise.
25132         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25133         Likewise.
25134         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25135         Likewise.
25136         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25137         Likewise.
25138         * conform/data/math.h-data
25139         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25140         function.
25141         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25142         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25143         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25144         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25145         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25146         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25147         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25148         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25149         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25150         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25151         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25153         [BZ #6803]
25154         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25155         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25156         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25157         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25158         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25159         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25160         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25161         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25162         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25163         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25164         Likewise.
25165         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25166         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25167         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25168         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25169         long_double_symbol calls.
25170         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25171         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25172         strong alias of __ldexpl.
25173         (scalbnl): Define using long_double_symbol.
25174         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25175         Remove alias.
25176         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25177         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25178         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25179         (scalbln_test_data): Add more errno expectations.
25181 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25183         Cache the host port like we cache the task port.  This way we do not
25184         need to call the kernel just to get the port.  Furthermore, we no
25185         longer increase the reference count on every invocation of
25186         `mach_host_self'.
25188         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25189         Protect declarations against the macro expansion.
25190         * mach/mach_init.c (__mach_host_self_): New variable.
25191         (mach_init): Initialize `__mach_host_self_'.
25192         * mach/mach_init.h (__mach_host_self_): New declaration.
25193         (__mach_host_self, mach_host_self): New macros.
25194         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25195         Release reference.
25197 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25199         [BZ #4404]
25200         * po/de.po: Update from Translation Project.
25202         [BZ #16415]
25203         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25204         (__expm1l): Remove code to handle positive infinity and overflow.
25205         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25206         variable.
25207         (__expm1l): Remove code to handle positive infinity and overflow.
25209 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25210             Paul Pluzhnikov  <ppluzhnikov@google.com>
25212         [BZ #18872]
25213         * stdio-common/Makefile (tst-printf-bz18872): New test.
25214         (tst-printf-bz18872-mem.out): Likewise.
25215         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25216         * stdio-common/vfprintf.c: Fix memory leaks.
25218 2015-09-16  Andreas Schwab  <schwab@suse.de>
25220         [BZ #17244]
25221         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25222         Remove extra va_start/va_end calls.
25224         [BZ #17243]
25225         * posix/execl.c (execl): Add missing va_end.
25226         * posix/execle.c (execle): Likewise.
25227         * posix/execlp.c (execlp): Likewise.
25229 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25231         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25232         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25234 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25236         [BZ #18967]
25237         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25238         undefine around includes of <bits/mathcalls.h>.
25239         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25240         not declare function.
25241         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25242         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25243         (scalb): Likewise.
25244         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25245         not define macro.
25246         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25247         variable.
25248         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25249         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25250         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25252         [BZ #18857]
25253         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25254         return non-finite argument without doing ordered comparisons on
25255         it.
25257         [BZ #16296]
25258         * math/fenv.h (fegetround): Use __attribute_pure__.
25259         * include/fenv.h (__fegetround): Likewise.
25261         [BZ #18595]
25262         * math/s_ctan.c (__ctan): Force underflow exception for results
25263         whose real or imaginary part has small absolute value.
25264         * math/s_ctanf.c (__ctanf): Likewise.
25265         * math/s_ctanh.c (__ctanh): Likewise.
25266         * math/s_ctanhf.c (__ctanhf): Likewise.
25267         * math/s_ctanhl.c (__ctanhl): Likewise.
25268         * math/s_ctanl.c (__ctanl): Likewise.
25269         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25270         and ctanh.  Add more tests of ctan and ctanh.
25272         [BZ #15918]
25273         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25274         handling of cases where one argument is an infinity.
25276         [BZ #18875]
25277         [BZ #18966]
25278         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25279         (MO): New macro.
25280         (__ieee754_exp10): For small results, force underflow exception
25281         and remove excess range and precision from return value.
25282         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25283         (MO): New macro.
25284         (__ieee754_exp10f): For small results, force underflow exception
25285         and remove excess range and precision from return value.
25286         * math/auto-libm-test-in: Add more tests of exp10.
25287         * math/auto-libm-test-out: Regenerated.
25289 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25291         [BZ #18875]
25292         [BZ #18961]
25293         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25294         (MO): New macro.
25295         (__ieee754_exp): For small results, force underflow exception and
25296         remove excess range and precision from return value.
25297         (__exp_finite): Likewise.
25298         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25299         (MO): New macro.
25300         (__ieee754_expf): For small results, force underflow exception and
25301         remove excess range and precision from return value.
25302         (__expf_finite): Likewise.
25303         * math/auto-libm-test-in: Add more tests of exp.
25304         * math/auto-libm-test-out: Regenerated.
25306         [BZ #16521]
25307         [BZ #18875]
25308         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25309         small results.
25310         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25311         (MO): New macro.
25312         (__ieee754_exp2): For small results, force underflow exception and
25313         remove excess range and precision from return value.
25314         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25315         (MO): New macro.
25316         (__ieee754_exp2f): For small results, force underflow exception
25317         and remove excess range and precision from return value.
25318         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25319         (MO): New macro.
25320         (__ieee754_exp2l): Force underflow exception for small results.
25321         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25322         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25323         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25324         (MO): New macro.
25325         (__ieee754_exp2l): Force underflow exception for small results.
25326         * math/auto-libm-test-in: Add more tests or exp2.
25327         * math/auto-libm-test-out: Regenerated.
25329 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25331         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25333         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25334         /dev/null.
25336 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25338         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25339         io fs process)): Drop spurious backslash.
25341 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25343         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25344         Use sysinfo system call instead of parsing /proc/meminfo.
25345         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25346         Likewise.
25348 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25350         [BZ #16985]
25351         * programs/localedef.c (main): Display argv[remaining] when
25352         output_path is NULL.
25354 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25356         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25357         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25358         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25359         tanh.
25360         * math/auto-libm-test-out: Regenerated.
25361         * sysdeps/i386/fpu/libm-test-ulps: Update.
25362         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25363         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25366 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25368         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25369         Use 'override' keyword to freeze the value here, preventing
25370         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25372 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25374         [BZ #14912]
25375         * sysdeps/aarch64/bits/atomic.h: Move to ...
25376         * sysdeps/aarch64/atomic-machine.h: ...here.
25377         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25378         _AARCH64_ATOMIC_MACHINE_H.
25379         * sysdeps/alpha/bits/atomic.h: Move to ...
25380         * sysdeps/alpha/atomic-machine.h: ...here.
25381         * sysdeps/arm/bits/atomic.h: Move to ...
25382         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25383         * bits/atomic.h: Move to ...
25384         * sysdeps/generic/atomic-machine.h: ...here.
25385         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25386         * sysdeps/i386/bits/atomic.h: Move to ...
25387         * sysdeps/i386/atomic-machine.h: ...here.
25388         * sysdeps/ia64/bits/atomic.h: Move to ...
25389         * sysdeps/ia64/atomic-machine.h: ...here.
25390         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25391         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25392         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25393         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25394         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25395         * sysdeps/microblaze/bits/atomic.h: Move to ...
25396         * sysdeps/microblaze/atomic-machine.h: ...here.
25397         * sysdeps/mips/bits/atomic.h: Move to ...
25398         * sysdeps/mips/atomic-machine.h: ...here.
25399         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25400         * sysdeps/powerpc/bits/atomic.h: Move to ...
25401         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25402         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25403         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25404         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25405         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25406         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25407         <atomic-machine.h> instead of <bits/atomic.h>.
25408         * sysdeps/s390/bits/atomic.h: Move to ...
25409         * sysdeps/s390/atomic-machine.h: ...here.
25410         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25411         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25412         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25413         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25414         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25415         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25416         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25417         * sysdeps/tile/bits/atomic.h: Move to ...
25418         * sysdeps/tile/atomic-machine.h: ...here.
25419         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25420         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25421         <sysdeps/tile/atomic-machine.h> instead of
25422         <sysdeps/tile/bits/atomic.h>.
25423         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25424         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25425         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25426         <sysdeps/tile/atomic-machine.h> instead of
25427         <sysdeps/tile/bits/atomic.h>.
25428         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25429         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25430         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25431         <sysdeps/arm/atomic-machine.h> instead of
25432         <sysdeps/arm/bits/atomic.h>.
25433         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25434         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25435         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25436         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25437         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25438         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25439         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25440         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25441         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25442         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25443         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25444         * sysdeps/x86_64/bits/atomic.h: Move to ...
25445         * sysdeps/x86_64/atomic-machine.h: ...here.
25446         * include/atomic.h: Include <atomic-machine.h> instead of
25447         <bits/atomic.h>.
25449         * sysdeps/mips/mips32/libm-test-ulps: Update.
25450         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25452         [BZ #18952]
25453         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25454         not convert non-integer negative arguments to int to determine the
25455         value of signgam.
25456         * math/auto-libm-test-in: Add more tests of lgamma.
25457         * math/auto-libm-test-out: Regenerated.
25459         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25460         cosh, csqrt, erfc, expm1 and lgamma.
25461         * math/auto-libm-test-out: Regenerated.
25462         * sysdeps/i386/fpu/libm-test-ulps: Update.
25463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25465 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25467         [BZ #2542]
25468         [BZ #2543]
25469         [BZ #2558]
25470         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25471         __lgamma_neg for arguments from -28.0 to -2.0.
25472         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25473         __lgamma_negf for arguments from -15.0 to -2.0.
25474         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25475         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25476         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25477         Call __lgamma_negl for arguments from -33.0 to -2.0.
25478         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25479         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25480         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25481         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25482         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25483         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25484         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25485         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25486         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25487         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25488         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25489         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25490         (__lgamma_neg): Likewise.
25491         (__lgamma_negl): Likewise.
25492         (__lgamma_product): Likewise.
25493         (__lgamma_productl): Likewise.
25494         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25495         * math/auto-libm-test-in: Add more tests of lgamma.
25496         * math/auto-libm-test-out: Regenerated.
25497         * sysdeps/i386/fpu/libm-test-ulps: Update.
25498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25500 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25502         [BZ #18675]
25503         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25505 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25507         [BZ #14912]
25508         * bits/libc-lock.h: Move to ...
25509         * sysdeps/generic/libc-lock.h: ...here.
25510         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25511         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25512         * sysdeps/mach/hurd/libc-lock.h: ...here.
25513         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25514         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25515         * sysdeps/mach/bits/libc-lock.h: Move to ...
25516         * sysdeps/mach/libc-lock.h: ...here.
25517         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25518         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25519         * sysdeps/nptl/libc-lock.h: ...here.
25520         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25521         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25522         * sysdeps/nptl/libc-lockP.h: ...here.
25523         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25524         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25525         <bits/libc-lock.h>.
25526         * dirent/scandir-tail.c: Likewise.
25527         * dlfcn/dlerror.c: Likewise.
25528         * elf/dl-close.c: Likewise.
25529         * elf/dl-iteratephdr.c: Likewise.
25530         * elf/dl-lookup.c: Likewise.
25531         * elf/dl-open.c: Likewise.
25532         * elf/dl-support.c: Likewise.
25533         * elf/dl-writev.h: Likewise.
25534         * elf/rtld.c: Likewise.
25535         * grp/fgetgrent.c: Likewise.
25536         * gshadow/fgetsgent.c: Likewise.
25537         * gshadow/sgetsgent.c: Likewise.
25538         * iconv/gconv_conf.c: Likewise.
25539         * iconv/gconv_db.c: Likewise.
25540         * iconv/gconv_dl.c: Likewise.
25541         * iconv/gconv_int.h: Likewise.
25542         * iconv/gconv_trans.c: Likewise.
25543         * include/link.h: Likewise.
25544         * inet/getnameinfo.c: Likewise.
25545         * inet/getnetgrent.c: Likewise.
25546         * inet/getnetgrent_r.c: Likewise.
25547         * intl/bindtextdom.c: Likewise.
25548         * intl/dcigettext.c: Likewise.
25549         * intl/finddomain.c: Likewise.
25550         * intl/gettextP.h: Likewise.
25551         * intl/loadmsgcat.c: Likewise.
25552         * intl/localealias.c: Likewise.
25553         * intl/textdomain.c: Likewise.
25554         * libidn/idn-stub.c: Likewise.
25555         * libio/libioP.h: Likewise.
25556         * locale/duplocale.c: Likewise.
25557         * locale/freelocale.c: Likewise.
25558         * locale/newlocale.c: Likewise.
25559         * locale/setlocale.c: Likewise.
25560         * login/getutent_r.c: Likewise.
25561         * login/getutid_r.c: Likewise.
25562         * login/getutline_r.c: Likewise.
25563         * login/utmp-private.h: Likewise.
25564         * login/utmpname.c: Likewise.
25565         * malloc/mtrace.c: Likewise.
25566         * misc/efgcvt.c: Likewise.
25567         * misc/error.c: Likewise.
25568         * misc/fstab.c: Likewise.
25569         * misc/getpass.c: Likewise.
25570         * misc/mntent.c: Likewise.
25571         * misc/syslog.c: Likewise.
25572         * nis/nis_call.c: Likewise.
25573         * nis/nis_callback.c: Likewise.
25574         * nis/nss-default.c: Likewise.
25575         * nis/nss_compat/compat-grp.c: Likewise.
25576         * nis/nss_compat/compat-initgroups.c: Likewise.
25577         * nis/nss_compat/compat-pwd.c: Likewise.
25578         * nis/nss_compat/compat-spwd.c: Likewise.
25579         * nis/nss_nis/nis-alias.c: Likewise.
25580         * nis/nss_nis/nis-ethers.c: Likewise.
25581         * nis/nss_nis/nis-grp.c: Likewise.
25582         * nis/nss_nis/nis-hosts.c: Likewise.
25583         * nis/nss_nis/nis-network.c: Likewise.
25584         * nis/nss_nis/nis-proto.c: Likewise.
25585         * nis/nss_nis/nis-pwd.c: Likewise.
25586         * nis/nss_nis/nis-rpc.c: Likewise.
25587         * nis/nss_nis/nis-service.c: Likewise.
25588         * nis/nss_nis/nis-spwd.c: Likewise.
25589         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25590         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25591         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25592         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25593         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25594         * nis/nss_nisplus/nisplus-network.c: Likewise.
25595         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25596         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25597         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25598         * nis/nss_nisplus/nisplus-service.c: Likewise.
25599         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25600         * nis/ypclnt.c: Likewise.
25601         * nptl/libc_pthread_init.c: Likewise.
25602         * nss/getXXbyYY.c: Likewise.
25603         * nss/getXXent.c: Likewise.
25604         * nss/getXXent_r.c: Likewise.
25605         * nss/nss_db/db-XXX.c: Likewise.
25606         * nss/nss_db/db-netgrp.c: Likewise.
25607         * nss/nss_db/nss_db.h: Likewise.
25608         * nss/nss_files/files-XXX.c: Likewise.
25609         * nss/nss_files/files-alias.c: Likewise.
25610         * nss/nsswitch.c: Likewise.
25611         * posix/regex_internal.h: Likewise.
25612         * posix/wordexp.c: Likewise.
25613         * pwd/fgetpwent.c: Likewise.
25614         * resolv/res_hconf.c: Likewise.
25615         * resolv/res_libc.c: Likewise.
25616         * shadow/fgetspent.c: Likewise.
25617         * shadow/lckpwdf.c: Likewise.
25618         * shadow/sgetspent.c: Likewise.
25619         * socket/opensock.c: Likewise.
25620         * stdio-common/reg-modifier.c: Likewise.
25621         * stdio-common/reg-printf.c: Likewise.
25622         * stdio-common/reg-type.c: Likewise.
25623         * stdio-common/vfprintf.c: Likewise.
25624         * stdio-common/vfscanf.c: Likewise.
25625         * stdlib/abort.c: Likewise.
25626         * stdlib/cxa_atexit.c: Likewise.
25627         * stdlib/fmtmsg.c: Likewise.
25628         * stdlib/random.c: Likewise.
25629         * stdlib/setenv.c: Likewise.
25630         * string/strsignal.c: Likewise.
25631         * sunrpc/auth_none.c: Likewise.
25632         * sunrpc/bindrsvprt.c: Likewise.
25633         * sunrpc/create_xid.c: Likewise.
25634         * sunrpc/key_call.c: Likewise.
25635         * sunrpc/rpc_thread.c: Likewise.
25636         * sysdeps/arm/backtrace.c: Likewise.
25637         * sysdeps/generic/ldsodefs.h: Likewise.
25638         * sysdeps/generic/stdio-lock.h: Likewise.
25639         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25640         * sysdeps/i386/backtrace.c: Likewise.
25641         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25642         * sysdeps/m68k/backtrace.c: Likewise.
25643         * sysdeps/mach/hurd/cthreads.c: Likewise.
25644         * sysdeps/mach/hurd/dirstream.h: Likewise.
25645         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25646         * sysdeps/nptl/malloc-machine.h: Likewise.
25647         * sysdeps/nptl/stdio-lock.h: Likewise.
25648         * sysdeps/posix/dirstream.h: Likewise.
25649         * sysdeps/posix/getaddrinfo.c: Likewise.
25650         * sysdeps/posix/system.c: Likewise.
25651         * sysdeps/pthread/aio_suspend.c: Likewise.
25652         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25653         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25654         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25655         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25656         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25657         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25658         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25659         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25660         * sysdeps/unix/sysv/linux/system.c: Likewise.
25661         * sysdeps/x86_64/backtrace.c: Likewise.
25662         * time/alt_digit.c: Likewise.
25663         * time/era.c: Likewise.
25664         * time/tzset.c: Likewise.
25665         * wcsmbs/wcsmbsload.c: Likewise.
25666         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25667         instead of <bits/libc-lock.h> in comment.
25669 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25671         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25672         Only use .set mips2 if the current ISA is below mips2.
25673         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25674         Likewise.
25675         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25676         mips32r2 if the current ISA is below mips32r2.
25677         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25678         (TLS_IE): Updated to use the TLD_RDHWR macro.
25679         (TLS_LE): Likewise.
25680         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25681         __ASSEMBLER__ condition.
25683 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25685         Fix parallel build of before-compile targets.
25687         * sysdeps/mach/Makefile ($(patsubst
25688         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25689         mach-before-compile target.
25690         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25691         io fs process)): Move rule to dedicated hurd-before-compile target.
25693 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25695         Fix rules generating headers in hurd/ and mach/ when initial make call
25696         has subdir= explicitly set.
25698         * sysdeps/mach/Makefile ($(patsubst
25699         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25700         calling $(MAKE).
25701         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25702         io fs process)): Force subdir to hurd when calling $(MAKE).
25703         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25704         subdir to mach when calling $(MAKE).
25706 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25708         Check sysheaders when looking for Mach and Hurd headers
25710         * sysdeps/mach/configure.ac: Add sysheaders check.
25711         * sysdeps/mach/configure: Regenerate.
25712         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25713         * sysdeps/mach/hurd/configure: Regenerate.
25715 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25717         [BZ #18921]
25718         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25719         Fix inverted sense of test of 'o_directory_works' value.
25720         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25721         Bernhard Voelker <mail@bernhard-voelker.de>.
25723 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25725         [BZ #14912]
25726         * bits/linkmap.h: Move to ...
25727         * sysdeps/generic/linkmap.h: ...here.
25728         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25729         * sysdeps/aarch64/linkmap.h: ...here.
25730         * sysdeps/arm/bits/linkmap.h: Move to ...
25731         * sysdeps/arm/linkmap.h: ...here.
25732         * sysdeps/hppa/bits/linkmap.h: Move to ...
25733         * sysdeps/hppa/linkmap.h: ...here.
25734         * sysdeps/ia64/bits/linkmap.h: Move to ...
25735         * sysdeps/ia64/linkmap.h: ...here.
25736         * sysdeps/mips/bits/linkmap.h: Move to ...
25737         * sysdeps/mips/linkmap.h: ...here.
25738         * sysdeps/s390/bits/linkmap.h: Move to ...
25739         * sysdeps/s390/linkmap.h: ...here.
25740         * sysdeps/sh/bits/linkmap.h: Move to ...
25741         * sysdeps/sh/linkmap.h: ...here.
25742         * sysdeps/x86/bits/linkmap.h: Move to ...
25743         * sysdeps/x86/linkmap.h: ...here.
25744         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25746 2015-09-04  Andreas Schwab  <schwab@suse.de>
25748         [BZ #18635]
25749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25750         (__makecontext): Terminate FDE before return label.
25751         (__novec_makecontext): Likewise.
25753 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25755         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25756         first member of struct sv in syscall macro.
25758 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25760         [BZ #14912]
25761         * bits/stdio-lock.h: Move to ...
25762         * sysdeps/generic/stdio-lock.h: ...here.
25763         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25764         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25765         * sysdeps/nptl/stdio-lock.h: ...here.
25766         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25767         * include/libio.h: Include <stdio-lock.h> instead of
25768         <bits/stdio-lock.h>.
25769         * sysdeps/nptl/fork.c: Likewise.
25770         * sysdeps/pthread/flockfile.c: Likewise.
25771         * sysdeps/pthread/ftrylockfile.c: Likewise.
25772         * sysdeps/pthread/funlockfile.c: Likewise.
25774         [BZ #14912]
25775         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25776         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25777         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25778         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25779         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25780         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25781         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25783 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25785         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25786         (test-xfail-tst-protected1b): New variable.
25788 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25790         [BZ #14912]
25791         * bits/libc-tsd.h: Move to ...
25792         * sysdeps/generic/libc-tsd.h: ...here.
25793         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25794         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25795         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25796         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25797         * include/ctype.h: Include <libc-tsd.h> instead of
25798         <bits/libc-tsd.h>.
25799         * include/rpc/rpc.h: Likewise.
25800         * locale/localeinfo.h: Likewise.
25801         * sunrpc/rpc_thread.c: Likewise.
25802         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25803         * sysdeps/nptl/malloc-machine.h: Likewise.
25805         * Makefile (headers): Remove bits/libc-lock.h.
25806         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25808         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25809         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25810         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25811         <bits/stdio-lock.h>.
25812         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25813         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25815 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25817         [BZ #18757]
25818         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25819         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25820         BZ #18757.
25822 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25824         * malloc/mtrace.pl: Filter out NULL entries.
25826 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25828         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25829         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25830         macro.
25832         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25833         (TCP_CC_INFO): Likewise.
25834         (TCP_SAVE_SYN): Likewise.
25835         (TCP_SAVED_SYN): Likewise.
25837 2015-08-31  Brett Neumeier <brett@neumeier.us>
25839         [BZ #18870]
25840         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25842 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25844         [BZ #18873]
25845         Fix broken overflow check in posix_fallocate
25846         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25847         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25848         Fix parenthesization typo.
25850 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25852         [BZ #18887]
25853         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25854         tst-mntent-blank-passno.
25855         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25856         * misc/tst-mntent-blank-corrupt.c: New test.
25857         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25858         * misc/tst-mntent.c (do_test): ... here.
25860 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25862         [BZ #4404]
25863         * po/de.po: Fix SIGALRM typo.
25865 2015-08-28  James Perkins  <james@loowit.net>
25867         * time/tst-strptime2.c (tests): Replace short list of test
25868         strings for strptime %z specifier with code which exhaustively
25869         tests every combination of sign and 0 to 5 digits. Tests for
25870         rejection of invalid strings.
25872 2015-08-28  James Perkins  <james@loowit.net>
25874         [BZ #16141]
25875         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25876         calculation, removing incorrect decimal time rounding, so that
25877         all minute values result in a valid seconds value.
25878         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25879         offset range limits to UTC-99:59 through UTC+99:59 to parse
25880         current and historical use cases.
25881         * time/tst-strptime2.c (tests): Modify and add tests for the
25882         strptime %z input field descriptor, specifically conversion of
25883         minutes to seconds and validating an offset range of -9959 to
25884         +9959.
25886 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25887             Dmitry V. Levin  <ldv@altlinux.org>
25889         [BZ #18877]
25890         * posix/Makefile (tests): Add tst-mmap-offset.
25891         * posix/tst-mmap.c: New file.
25892         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25893         offset calculation for negative values.
25895 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25897         * sysdeps/i386/init-arch.h: New file.
25898         * sysdeps/i386/i586/init-arch.h: Likewise.
25899         * sysdeps/i386/i686/init-arch.h: Likewise.
25900         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25901         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25902         * sysdeps/x86/cpu-features.h (bit_I586): New.
25903         (bit_I686): Likewise.
25904         (bit_CX8): Likewise.
25905         (bit_CMOV): Likewise.
25906         (index_CX8): Likewise.
25907         (index_CMOV): Likewise.
25908         (index_I586): Likewise.
25909         (index_I686): Likewise.
25910         (reg_CX8): Likewise.
25911         (reg_CMOV): Likewise.
25912         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25913         available at compile-time.
25914         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25915         available at compile-time.
25916         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25917         (USE_I686): Likewise.
25919 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25921         * sysdeps/i386/bcopy.S: New file.
25922         * sysdeps/i386/bzero.S: Likewise.
25923         * sysdeps/i386/memcpy.S: Likewise.
25924         * sysdeps/i386/memmove.S: Likewise.
25925         * sysdeps/i386/mempcpy.S: Likewise.
25926         * sysdeps/i386/memset.S: Likewise.
25927         * sysdeps/i386/bzero.c: Removed.
25928         * sysdeps/i386/memset.c: Likewise.
25929         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25930         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25931         * sysdeps/i386/i586/memset_chk.S: Likewise.
25932         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25933         * sysdeps/i386/memcpy_chk.S: Here.
25934         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25935         * sysdeps/i386/memmove_chk.S: Here.
25936         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25937         * sysdeps/i386/mempcpy_chk.S: Likewise.
25938         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25939         * sysdeps/i386/memset_chk.S: Likewise.
25941 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25943         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25944         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25945         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25946         * soft-fp/fmadf4.c: Ditto.
25947         * soft-fp/fmatf4.c: Ditto.
25949 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25951         * sysdeps/i386/i586/Implies: Removed.
25952         * sysdeps/i386/i686/Implies: Likewise.
25954 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25956         * sysdeps/i386/i486/strlen.S: Moved to ...
25957         * sysdeps/i386/strlen.S: Here.
25959 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25961         * sysdeps/i386/i486/strcat.S: Moved to ...
25962         * sysdeps/i386/strcat.S: Here.
25964 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25966         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25967         * sysdeps/i386/pthread_spin_trylock.S: Here.
25968         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25969         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25971 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25973         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25974         * sysdeps/i386/string-inlines.c: Here.
25976 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25978         * sysdeps/i386/i486/htonl.S: Moved ...
25979         * sysdeps/i386/htonl.S: here.
25981 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25983         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25984         * sysdeps/i386/bits/atomic.h: Here.
25986 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25988         * sysdeps/i386/i486/Versions: Removed.
25990 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25992         [BZ #2898]
25993         * misc/mktemp.c: Add mkdtemp to the link_warning message.
25994         Based on patch by Aurelien Jarno.
25996 2015-08-26  Stan Shebs  <stanshebs@google.com>
25998         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
25999         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26001 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26003         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26004         * sysdeps/powerpc/dl-procinfo.c:
26005         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26006         feature so it shows when LD_SHOW_AUXV=1.
26008 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26010         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26011         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26012         definition.  ISA 2.07B no longer requires full sync.
26014 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26016         [BZ #18863]
26017         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26018         (si_call_addr): Define.
26019         (si_syscall): Define.
26020         (si_arch): Define.
26022 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26024         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26025         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26026         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26027         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26028         (__memset_zero_constant_len_parameter): New.
26029         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26030         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26031         (__memset_zero_constant_len_parameter): Don't define if
26032         __memset_chk or USE_AS_BZERO are defined.
26034         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26035         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26036         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26038         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26039         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26040         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26041         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26042         comments.
26043         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26044         -mno-mmx for $(all-rtld-routines).
26045         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26046         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26047         i386.
26049 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26051         * sysdeps/generic/unwind.h
26052         (_Unwind_Word): Use __mode__(__unwind_word__)
26053         instead of __mode__(__word__).
26054         (_Unwind_Sword): Likewise.
26056         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26057         (MAX_NEEDED_INPUT): New define.
26058         (MAX_NEEDED_OUTPUT): New define.
26060         * NEWS: New item for IBM z13 string optimizations.
26062         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26063         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26064         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26065         * sysdeps/s390/multiarch/Makefile
26066         (sysdep_routines): Add memrchr functions.
26067         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26068         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26070         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26071         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26072         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26073         * sysdeps/s390/multiarch/Makefile
26074         (sysdep_routines): Add wmemcmp functions.
26075         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26076         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26077         * benchtests/bench-wmemcmp.c: New File.
26078         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26080         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26081         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26082         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26083         * sysdeps/s390/multiarch/Makefile
26084         (sysdep_routines): Add wmemset functions.
26085         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26086         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26087         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26088         * string/test-memset.c: Add wmemset support.
26089         * wcsmbs/test-wmemset.c: New File.
26090         * wcsmbs/Makefile (strop-tests): Add wmemset.
26091         * benchtests/bench-memset.c: Add wmemset support.
26092         * benchtests/bench-wmemset.c: New File.
26093         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26095         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26096         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26097         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26098         * sysdeps/s390/multiarch/Makefile
26099         (sysdep_routines): Add memccpy functions.
26100         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26101         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26102         * string/memccpy.c: Use MEMCCPY if defined.
26104         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26105         * sysdeps/s390/multiarch/memchr.c: Likewise.
26106         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26107         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26108         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26109         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26110         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26111         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26112         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26113         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26114         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26115         and rawmemchr functions.
26116         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26117         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26118         and wmemchr.
26119         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26120         * string/test-memchr.c: Add wmemchr support.
26121         * wcsmbs/test-wmemchr.c: New File.
26122         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26123         * benchtests/bench-memchr.c: Add wmemchr support.
26124         * benchtests/bench-wmemchr.c: New File.
26125         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26127         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26128         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26129         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26130         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26131         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26132         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26133         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26134         wcscspn functions.
26135         * sysdeps/s390/multiarch/ifunc-impl-list.c
26136         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26137         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26138         * string/test-strcspn.c: Add wcscspn support.
26139         * wcsmbs/test-wcscspn.c: New File.
26140         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26141         * benchtests/bench-strcspn.c: Add wcscspn support.
26142         * benchtests/bench-wcscspn.c: New File.
26143         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26145         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26146         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26147         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26148         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26149         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26150         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26151         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26152         wcspbrk functions.
26153         * sysdeps/s390/multiarch/ifunc-impl-list.c
26154         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26155         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26156         * string/test-strpbrk.c: Add wcspbrk support.
26157         * wcsmbs/test-wcspbrk.c: New File.
26158         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26159         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26160         * benchtests/bench-wcspbrk.c: New File.
26161         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26163         * sysdeps/s390/multiarch/strspn-c.c: New File.
26164         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26165         * sysdeps/s390/multiarch/strspn.c: Likewise.
26166         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26167         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26168         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26169         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26170         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26171         wcsspn functions.
26172         * sysdeps/s390/multiarch/ifunc-impl-list.c
26173         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26174         * string/test-strspn.c: Add wcsspn support.
26175         * wcsmbs/test-wcsspn.c: New File.
26176         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26177         * benchtests/bench-strspn.c: Add wcsspn support.
26178         * benchtests/bench-wcsspn.c: New File.
26179         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26181         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26182         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26183         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26184         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26185         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26186         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26187         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26188         wcsrchr functions.
26189         * sysdeps/s390/multiarch/ifunc-impl-list.c
26190         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26191         * benchtests/bench-wcsrchr.c: New File.
26192         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26194         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26195         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26196         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26197         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26198         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26199         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26200         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26201         wcschrnul functions.
26202         * sysdeps/s390/multiarch/ifunc-impl-list.c
26203         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26204         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26205         * string/test-strchr.c: Add wcschrnul support.
26206         * wcsmbs/test-wcschrnul.c: New File.
26207         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26208         * benchtests/bench-strchr.c: Add wcschrnul support.
26209         * benchtests/bench-wcschrnul.c: New File.
26210         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26212         * sysdeps/s390/multiarch/strchr-c.c: New File.
26213         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26214         * sysdeps/s390/multiarch/strchr.c: Likewise.
26215         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26216         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26217         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26218         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26219         wcschr functions.
26220         * sysdeps/s390/multiarch/ifunc-impl-list.c
26221         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26222         * string/strchr.c (STRCHR): Define and use macro.
26223         * benchtests/bench-wcschr.c: New File.
26224         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26226         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26227         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26228         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26229         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26230         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26231         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26232         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26233         wcsncmp functions.
26234         * sysdeps/s390/multiarch/ifunc-impl-list.c
26235         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26236         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26237         * benchtests/bench-strncmp.c: Add wcsncmp support.
26238         * benchtests/bench-wcsncmp.c: New File.
26239         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26241         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26242         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26243         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26244         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26245         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26246         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26247         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26248         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26249         wcscmp functions.
26250         * sysdeps/s390/multiarch/ifunc-impl-list.c
26251         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26252         * string/strcmp.c (STRCMP): Define and use macro.
26253         * benchtests/bench-wcscmp.c: New File.
26254         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26255         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26256         instead of _HAVE_STRING_ARCH_memchr.
26258         * sysdeps/s390/multiarch/strncat-c.c: New File.
26259         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26260         * sysdeps/s390/multiarch/strncat.c: Likewise.
26261         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26262         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26263         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26265         wcsncat functions.
26266         * sysdeps/s390/multiarch/ifunc-impl-list.c
26267         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26268         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26269         * string/test-strncat.c: Add wcsncat support.
26270         * wcsmbs/test-wcsncat.c: New File.
26271         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26272         * benchtests/bench-strncat.c: Add wcsncat support.
26273         * benchtests/bench-wcsncat.c: New File.
26274         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26276         * sysdeps/s390/multiarch/strcat-c.c: New File.
26277         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26278         * sysdeps/s390/multiarch/strcat.c: Likewise.
26279         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26280         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26281         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26282         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26283         wcscat functions.
26284         * sysdeps/s390/multiarch/ifunc-impl-list.c
26285         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26286         * string/strcat.c (STRCAT): Define and use macro.
26287         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26288         * string/test-strcat.c: Add wcscat support.
26289         * wcsmbs/test-wcscat.c: New File.
26290         * wcsmbs/Makefile (strop-tests): Add wcscat.
26291         * benchtests/bench-strcat.c: Add wcscat support.
26292         * benchtests/bench-wcscat.c: New File.
26293         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26295         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26296         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26297         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26298         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26299         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26300         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26301         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26302         wcpncpy functions.
26303         * sysdeps/s390/multiarch/ifunc-impl-list.c
26304         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26305         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26306         * string/test-stpncpy.c: Add wcpncpy support.
26307         * wcsmbs/test-wcpncpy.c: New File.
26308         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26309         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26310         * benchtests/bench-wcpncpy.c: New File.
26311         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26313         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26314         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26315         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26316         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26317         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26318         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26319         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26320         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26321         wcsncpy functions.
26322         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26323         * sysdeps/s390/multiarch/ifunc-impl-list.c
26324         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26325         * string/test-strncpy.c: Add wcsncpy support.
26326         * wcsmbs/test-wcsncpy.c: New File.
26327         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26328         * benchtests/bench-strncpy.c: Add wcsncpy support.
26329         * benchtests/bench-wcsncpy.c: New File.
26330         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26332         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26333         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26334         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26335         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26336         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26337         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26338         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26339         wcpcpy functions.
26340         * string/stpcpy.c: Use STPCPY if defined.
26341         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26342         * sysdeps/s390/multiarch/ifunc-impl-list.c
26343         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26344         * string/test-stpcpy.c: Add wcpcpy support.
26345         * wcsmbs/test-wcpcpy.c: New File.
26346         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26347         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26348         * benchtests/bench-wcpcpy.c: New File.
26349         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26351         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26352         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26353         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26354         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26355         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26356         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26357         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26358         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26359         wcscpy functions.
26360         * sysdeps/s390/multiarch/ifunc-impl-list.c
26361         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26362         * benchtests/bench-wcscpy.c: New File.
26363         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26365         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26366         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26367         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26368         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26369         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26370         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26371         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26372         wcsnlen functions.
26373         * sysdeps/s390/multiarch/ifunc-impl-list.c
26374         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26375         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26376         * string/test-strnlen.c: Add wcsnlen support.
26377         * wcsmbs/test-wcsnlen.c: New File.
26378         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26379         * benchtests/bench-strnlen.c: Add wcsnlen support.
26380         * benchtests/bench-wcsnlen.c: New File.
26381         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26383         * sysdeps/s390/multiarch/Makefile: New File.
26384         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26385         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26386         * sysdeps/s390/multiarch/strlen.c: Likewise.
26387         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26388         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26389         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26390         * string/strlen.c (STRLEN): Define and use macro.
26391         * sysdeps/s390/multiarch/ifunc-impl-list.c
26392         (IFUNC_VX_IMPL): New macro function.
26393         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26394         * benchtests/Makefile (wcsmbs-bench): New variable.
26395         (string-bench-all): Added wcsmbs-bench.
26396         * benchtests/bench-wcslen.c: New File.
26398         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26399         s390_vx_libc_ifunc2): New macro function.
26401         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26402         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26403         assembler support.
26404         * sysdeps/s390/configure: Regenerated.
26406         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26407         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26409         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26410         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26411         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26413         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26414         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26415         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26416         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26417         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26418         (memcmp, bcmp): Use __memcmp_default as alias source.
26419         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26420         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26421         Rename to __memcmp_default.
26422         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26423         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26424         (memcpy): Use __memcpy_default as alias source.
26425         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26426         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26427         Rename to __memcpy_default.
26428         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26429         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26430         (memset): Use __memset_default as alias source.
26431         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26432         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26433         Rename to __memset_default.
26434         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26435         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26436         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26437         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26438         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26439         (memcmp, bcmp): Use __memcmp_default as alias source.
26440         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26441         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26442         Rename to __memcmp_default.
26443         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26444         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26445         (memcpy): Use __memcpy_default as alias source.
26446         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26447         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26448         Rename to __memcpy_default.
26449         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26450         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26451         (memset): Use __memset_default as alias source.
26452         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26453         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26454         Rename to __memset_default.
26455         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26456         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26458         [BZ #18610]
26459         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26460         __ieee_instruction_pointer to __unused.
26461         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26462         __ieee_instruction_pointer.
26463         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26464         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26465         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26466         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26467         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26468         Mark dxc-field as reserved.
26470 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26472         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26473         if the weak reference is not null.
26475 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26477         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26479         [BZ #11214]
26480         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26482 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26484         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26485         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26486         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26487         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26488         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26489         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26490         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26491         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26492         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26493         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26494         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26495         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26496         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26497         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26498         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26499         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26500         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26501         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26503 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26505         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26506         register other than r0 for tabort, it has special meaning.
26507         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26508         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26509         transaction before starting syscall.
26511 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26513         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26515 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26517         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26519         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26520         * sysdeps/x86_64/rtld-memset.S: Likewise.
26521         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26522         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26523         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26524         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26526         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26528 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26530         * debug/strcpy_chk.c: Improve performance.
26531         * debug/stpcpy_chk.c: Likewise.
26532         * sysdeps/x86_64/strcpy_chk.S: Remove.
26533         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26535         [BZ #18240]
26536         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26538 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26540         [BZ #15128]
26541         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26542         ifuncmain8.
26543         (modules-names): Add ifuncmod8.
26544         ($(objpfx)ifuncmain8): New rule.
26545         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26546         <cpuid.h>.
26547         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26548         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26549         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26550         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26551         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26552         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26553         * sysdeps/x86_64/ifuncmain8.c: New file.
26554         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26555         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26556         Removed.
26557         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26558         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26559         Change rtld_savespace_sse to __glibc_unused2.
26560         (RTLD_CHECK_FOREIGN_CALL): Removed.
26561         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26562         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26563         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26565 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26567         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26569 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26571         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26572         Unconditionally set __fpcr to avoid uninialized warning.
26573         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26575 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26577         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26578         is corrupt.
26580         * malloc/arena.c (arena_get2): Drop unused argument.
26581         (arena_lock): Adjust.
26582         (arena_get_retry): Likewise.
26584 2015-08-24  Andreas Schwab  <schwab@suse.de>
26586         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26587         Don't define.
26588         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26589         (__ASSUME_IPC64): Don't undef.
26590         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26591         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26592         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26593         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26594         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26595         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26596         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26597         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26598         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26599         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26600         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26601         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26602         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26603         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26604         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26605         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26606         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26607         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26608         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26609         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26610         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26612 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26614         * manual/Makefile (install): Only build manual when perl is available.
26616 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26618         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26619         '#undef memcpy' by '#undef memchr'.
26621 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26623         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26624         memchr not point to the internal __GI_memchr implementation.
26626 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26628         * timezone/Makefile (CFLAGS-zdump.c): Remove
26629         -Wno-strict-prototypes.
26630         (CFLAGS-zic.c): Likewise.
26631         (CFLAGS-ialloc.c): Likewise.
26632         (CFLAGS-scheck.c): Likewise.
26634         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26635         -Wno-error=undef.
26637 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26639         * i386/i686/multiarch/strcasestr-c.c: Removed.
26640         * x86_64/multiarch/strcasestr.c: Likewise.
26641         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26642         Remove strcasestr.
26644 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26646         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26648         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26649         variables for high and low parts before possibly modifying them.
26651 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26653         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26654         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26655         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26656         of "multiarch/init-arch.h".
26657         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26658         * sysdeps/x86/init-arch.h: This.
26660 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26662         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26663         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26665 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26667         [BZ #17787]
26668         * manual/macros.texi: Add twoexp macro.
26669         * manual/filesys.texi: Fix exponents.
26670         * manual/llio.texi: Likewise.
26671         * manual/stdio.texi: Likewise.
26673 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26675         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26676         incorrect use.
26678 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26680         [BZ #18370]
26681         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26682         whose real or imaginary part has small absolute value.
26683         * math/s_csqrtf.c (__csqrtf): Likewise.
26684         * math/s_csqrtl.c (__csqrtl): Likewise.
26685         * math/auto-libm-test-in: Add more tests of csqrt.
26686         * math/auto-libm-test-out: Regenerated.
26687         * sysdeps/i386/fpu/libm-test-ulps: Update.
26689 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26691         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26692         __ppc_set_ppr_very_low): New functions.
26693         * manual/platform.texi: Add documentation about
26694         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26696 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26698         * string/stpncpy.c (stpncpy): Improve performance using
26699         __strnlen/memcpy/memset.
26701 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26703         [BZ #18796]
26704         * scripts/test-installation.pl: Don't add -lmvec to build options if
26705         libmvec wasn't built.
26707 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26709         [BZ #14341]
26710         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26711         case when there is a gap between DT_REL and DT_JMPREL sections.
26712         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26713         (LDFLAGS-tst-split-dynreloc): New.
26714         (tst-split-dynreloc-ENV): Likewise.
26715         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26716         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26718 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26720         [BZ #18822]
26721         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26722         attribute_hidden.
26723         (__xstat64_conv): Likewise.
26724         (__xstat32_conv): Likewise.
26726 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26728         [BZ #18822]
26729         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26730         Don't load %ebx when calling __setcontext.  Call __setcontext
26731         with HIDDEN_JUMPTARGET.
26732         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26733         libc_hidden_def.
26735 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26737         * sysdeps/i386/i686/Makefile
26738         [$(subdir) == string] (sysdep_routines): Moved to ...
26739         * sysdeps/i386/Makefile: Here.
26740         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26741         * sysdeps/i386/cacheinfo.c: Here.
26742         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26743         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26744         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26745         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26747 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26749         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26750         __i586__ is defined.
26751         (HAS_I686): Defined to 1 if __i686__ is defined.
26753 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26755         * elf/Makefile [$(have-z-execstack) = yes]
26756         (CPPFLAGS-tst-execstack.c): New variable.
26758         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26759         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26760         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26761         UTMPX || _HAVE_UT_TV].
26762         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26763         UTMPX || _HAVE_UT_TV - 0].
26765 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26767         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26768         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26769         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26771 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26773         * sysdeps/powerpc/dl-procinfo.c:
26774         (_dl_powerpc_cap_flags): Added missing strings for some
26775         hwcap features.
26776         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26778 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26780         Port the 0x7efe...feff pattern to GCC 6.
26781         See Steve Ellcey's bug report in:
26782         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26783         * string/memrchr.c (MEMRCHR):
26784         * string/rawmemchr.c (RAWMEMCHR):
26785         * string/strchr.c (strchr):
26786         * string/strchrnul.c (STRCHRNUL):
26787         Rewrite code to avoid issues with signed shift overflow.
26789 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26791         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26792         whether cpuid is available only if HAS_CPUID is 0.
26793         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26794         (HAS_I586): Likewise.
26795         (HAS_I686): Likewise.
26797 2015-08-18  Zack Weinberg  <zackw@panix.com>
26799         * misc/Versions (libc): Add GLIBC_2.23.
26801 2015-08-18  Alan Modra  <amodra@gmail.com>
26803         [BZ #18421]
26804         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26805         .Lp__global.
26806         (_start): Load %dp via .Lp__global.
26807         [!SHARED]: Use .section .rodata.
26809 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26811         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26812         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26814 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26816         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26817         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26819 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26821         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26822         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26824 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26826         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26827         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26829 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26831         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26832         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26834 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26836         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26837         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26839 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26841         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26843 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26845         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26846         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26847         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26848         (__ASSUME_LWS_CAS): Delete.
26850 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26852         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26853         * sysdeps/hppa/configure: Regenerated.
26854         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26855         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26856         * sysdeps/hppa/nptl/tls.h: Likewise.
26858 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26860         [BZ #18823]
26861         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26862         for scaling up small arguments.
26863         * math/s_csqrtf.c (__csqrtf): Likewise.
26864         * math/s_csqrtl.c (__csqrtl): Likewise.
26865         * math/auto-libm-test-in: Add more tests of csqrt.
26866         * math/auto-libm-test-out: Regenerated.
26868 2015-08-17  Andreas Schwab  <schwab@suse.de>
26870         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26871         version set GLIBC_2.19.
26873 2015-08-16  Zack Weinberg  <zackw@panix.com>
26875         [BZ #18681]
26876         * misc/regexp.h: This interface is no longer supported.
26877         Remove all contents, leaving only an #error directive.
26878         * misc/regexp.c (loc1, loc2, locs, step, advance):
26879         Demote to compatibility symbols.
26881 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26883         [BZ #18084]
26884         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26885         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26886         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26887         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26888         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26889         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26890         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26891         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26892         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26894 2015-08-15  Zack Weinberg  <zackw@panix.com>
26896         [BZ #18795]
26897         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26898         buffer length is known to be too large, not if it's known to be
26899         small enough.
26900         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26901         overflow at runtime, involving a length parameter, twice: once
26902         with a compile-time constant length parameter, once without.
26904 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26906         [BZ #18824]
26907         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26908         scaling x * y up instead of down.
26909         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26910         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26911         * math/auto-libm-test-in: Add more tests of fma.
26912         * math/auto-libm-test-out: Regenerated.
26914 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26916         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26918 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26920         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26921         unnecessary movq.
26922         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26923         Likewise.
26925 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26927         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26928         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26929         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26930         and tgamma.
26931         * math/auto-libm-test-out: Regenerated.
26932         * sysdeps/i386/fpu/libm-test-ulps: Update.
26933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26935         [BZ #16520]
26936         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26937         (__tanh): Force underflow exception for arguments with small
26938         absolute value.
26939         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26940         (__tanhf): Force underflow exception for arguments with small
26941         absolute value.
26942         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26943         (__tanhl): Force underflow exception for arguments with small
26944         absolute value.
26945         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26946         (__tanhl): Force underflow exception for arguments with small
26947         absolute value.
26948         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26949         (__tanhl): Force underflow exception for arguments with small
26950         absolute value.
26951         * math/auto-libm-test-in: Add more tests of tanh.
26952         * math/auto-libm-test-out: Regenerated.
26953         * sysdeps/i386/fpu/libm-test-ulps: Update.
26955 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26957         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26958         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26960 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26962         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26963         <cpuid.h>.
26965 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26967         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26968         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26970 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26972         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26973         Remove $(objpfx)init-arch.o.
26974         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26975         init-arch.
26976         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26977         (INIT_ARCH_EXT): Defined as empty.
26978         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26979         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26980         __init_cpu_features call.  Replace HAS_XXX with
26981         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26982         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26983         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26984         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26985         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26986         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26987         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26988         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26989         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26990         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
26991         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
26992         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26993         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
26994         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
26995         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26996         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
26997         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
26998         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26999         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27000         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27001         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27002         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27003         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27004         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27005         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27006         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27007         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27008         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27009         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27010         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27011         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27012         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27013         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27014         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27015         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27016         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27018 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27020         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27021         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27022         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27023         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27024         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27025         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27026         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27027         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27028         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27029         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27030         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27031         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27032         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27033         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27034         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27035         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27036         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27037         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27038         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27039         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27040         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27041         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27042         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27043         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27044         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27045         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27046         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27047         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27048         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27049         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27050         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27051         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27052         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27053         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27054         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27055         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27056         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27057         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27058         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27059         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27060         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27061         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27062         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27064 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27066         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27067         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27068         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27069         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27070         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27071         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27072         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27073         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27074         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27075         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27076         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27077         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27078         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27079         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27080         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27081         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27082         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27083         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27084         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27085         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27086         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27087         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27088         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27089         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27090         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27091         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27092         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27093         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27094         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27095         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27096         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27097         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27098         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27099         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27100         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27101         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27102         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27103         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27104         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27105         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27106         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27107         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27108         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27110 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27112         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27113         (dl_platform_init): Call init_cpu_features.
27114         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27115         * sysdeps/i386/i686/cacheinfo.c
27116         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27117         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27118         * sysdeps/i386/i686/multiarch/Versions: Removed.
27119         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27120         Removed.
27121         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27122         * sysdeps/unix/sysv/linux/x86/Makefile
27123         (libpthread-sysdep_routines): Remove init-arch.
27124         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27125         <sysdeps/x86_64/dl-procinfo.c> instead of
27126         sysdeps/generic/dl-procinfo.c>.
27127         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27128         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27129         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27130         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27131         [$(subdir) == elf] (tests-static): Add
27132         tst-get-cpu-features-static.
27133         * sysdeps/x86/Versions: New file.
27134         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27135         * sysdeps/x86/cpu-features.c: Likewise.
27136         * sysdeps/x86/cpu-features.h: Likewise.
27137         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27138         * sysdeps/x86/libc-start.c: Likewise.
27139         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27140         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27141         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27142         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27143         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27144         Assume USE_MULTIARCH is defined and don't check it.
27145         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27146         (is_amd): Likewise.
27147         (max_cpuid): Likewise.
27148         (intel_check_word): Likewise.
27149         (__cache_sysconf): Don't call __init_cpu_features.
27150         (__x86_preferred_memory_instruction): Removed.
27151         (init_cacheinfo): Don't call __init_cpu_features. Replace
27152         __cpu_features with GLRO(dl_x86_cpu_features).
27153         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27154         (dl_platform_init): Call init_cpu_features.
27155         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27156         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27157         * sysdeps/x86_64/multiarch/Versions: Removed.
27158         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27159         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27160         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27161         Removed.
27162         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27164 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27166         [BZ #18820]
27167         * libio/Makefile (test-fmemopen-mem): New test.
27168         * libio/test-fmemopen.c (do_bz18820): New test.
27169         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27170         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27172 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27174         [BZ #16734]
27175         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27176         (FREE_BUF): Delete.
27177         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27178         * libio/genops.c (_IO_setb): Use malloc and free directly.
27179         (_IO_default_doallocate, _IO_default_finish): Likewise.
27180         ( _IO_unbuffer_all): Likewise.
27181         ( libc_freeres_fn): Likewise.
27182         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27183         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27184         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27185         (_IO_wdefault_doallocate): Likewise.
27187 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27189         [BZ #18086]
27190         * sysdeps/posix/nice.c (nice): Restore old errno.
27191         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27193 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27195         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27197 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27199         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27200         __bcopy and add a weak_alias to bcopy.
27201         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27202         for static build.
27204         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27205         cleanup macro usage.
27206         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27207         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27208         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27209         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27210         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27211         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27212         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27213         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27214         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27215         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27216         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27217         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27218         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27219         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27220         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27221         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27222         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27223         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27224         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27226         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27227         libc_hidden_def.
27228         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27230         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27231         (sysdep_routines): Add strstr-ppc64.
27232         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27234 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27236         [BZ #18778]
27237         * elf/Makefile (tests): Add Add tst-nodelete2.
27238         (modules-names): Add tst-nodelete2mod.
27239         (tst-nodelete2mod.so-no-z-defs): New.
27240         ($(objpfx)tst-nodelete2): Likewise.
27241         ($(objpfx)tst-nodelete2.out): Likewise.
27242         (LDFLAGS-tst-nodelete2): Likewise.
27243         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27244         out of loop through all loaded libraries.
27245         * elf/tst-nodelete2.c: New file.
27246         * elf/tst-nodelete2mod.c: Likewise.
27247         * elf/tst-znodelete-zlib.cc: Delete.
27249 2015-08-11  Andreas Schwab  <schwab@suse.de>
27251         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27252         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27253         (__openat64_nocancel): Likewise.
27255 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27257         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27258         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27259         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27260         * math/auto-libm-test-out: Regenerated.
27261         * sysdeps/i386/fpu/libm-test-ulps: Update.
27262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27264 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27266         [BZ #18790]
27267         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27268         threshold for returning +/- 1.
27269         * math/auto-libm-test-in: Add more tests of tanh.
27270         * math/auto-libm-test-out: Regenerated.
27271         * sysdeps/i386/fpu/libm-test-ulps: Update.
27273 2015-08-10  Andreas Schwab  <schwab@suse.de>
27275         [BZ #18781]
27276         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27277         MORE_OFLAGS to oflag.
27278         * io/test-lfs.c (do_test): Test openat64.
27280 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27282         [BZ #18789]
27283         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27284         smaller threshold for returning the argument.
27285         * math/auto-libm-test-in: Add more tests of sinh.
27286         * math/auto-libm-test-out: Regenerated.
27287         * sysdeps/i386/fpu/libm-test-ulps: Update.
27289 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27291         [BZ #18674]
27292         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27293         break.
27295 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27297         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27298         (generated): Don't add $(addprefix z.,$(tzfiles)).
27300 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27302         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27303         * scripts/sysd-rules.awk: Likewise.
27305 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27307         * iconvdata/tst-tables.sh: Change echo -n to printf.
27308         * nss/db-Makefile: Likewise.
27309         * posix/tst-getconf.sh: Likewise.
27310         * stdio-common/tst-unbputc.sh: Likewise.
27312 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27314         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27315         MADV_*_PAGES defines behind this feature check.
27317 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27319         [BZ #18480]
27320         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27321         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27322         Define.
27323         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27324         LOAD_REGS_5, LOAD_REGS_6): Update.
27325         (INTERNAL_SYSCALL): Update using new LOAD defines.
27326         (INTERNAL_SYSCALL_NCS): Likewise.
27327         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27329 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27331         [BZ #16734]
27332         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27334 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27336         [BZ #17905]
27337         * catgets/Makefile (tst-catgets-mem): New test.
27338         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27339         * catgets/open_catalog.c (__open_catalog): Likewise.
27340         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27342 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27344         [BZ #18787]
27345         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27346         clobber registers.
27347         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27348         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27349         Cast return to __typeof (oldval).
27351 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27353         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27354         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27355         and delete sys/syscall.h include.
27357 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27359         [BZ #16517]
27360         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27361         (tan): Force underflow exception for arguments with small absolute
27362         value.
27363         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27364         (__kernel_tanf): Force underflow exception for arguments with
27365         small absolute value.
27366         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27367         (__kernel_tanl): Force underflow exception for arguments with
27368         small absolute value.
27369         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27370         (__kernel_tanl): Force underflow exception for arguments with
27371         small absolute value.
27372         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27373         (__kernel_tanl): Force underflow exception for arguments with
27374         small absolute value.
27375         * math/auto-libm-test-in: Add more tests of tan.
27376         * math/auto-libm-test-out: Regenerated.
27378 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27380         Fix sysdeps/i386/fpu/s_scalbn.S build
27382         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27384 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27386         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27388 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27390         Fix gcrt0.o compilation
27392         When static-start-installed-name is different from
27393         start-installed-name, we must not use the shared objects.
27395         * csu/Makefile
27396         (extra-objs): Add gmon-start.o when building shared library and
27397         $(static-start-installed-name) is different from
27398         $(start-installed-name).
27399         $(objpfx)g$(static-start-installed-name): When building shared
27400         library and $(static-start-installed-name) is different from
27401         $(static-start-installed-name), revert to non-shared rule,
27402         i.e. using $(objpfx)% and gmon-start.o.
27404 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27406         [BZ #16519]
27407         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27408         (__ieee754_sinh): Force underflow exception for arguments with
27409         small absolute value.
27410         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27411         (__ieee754_sinhf): Force underflow exception for arguments with
27412         small absolute value.
27413         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27414         (__ieee754_sinhl): Force underflow exception for arguments with
27415         small absolute value.
27416         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27417         (__ieee754_sinhl): Force underflow exception for arguments with
27418         small absolute value.
27419         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27420         (__ieee754_sinhl): Force underflow exception for arguments with
27421         small absolute value.
27422         * math/auto-libm-test-in: Add more tests of sinh.
27423         * math/auto-libm-test-out: Regenerated.
27424         * sysdeps/i386/fpu/libm-test-ulps: Update.
27426 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27428         * libio/oldfileops.c: Include unistd.h.
27430 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27432         * stdlib/isomac.c: Include ctype.h.
27434 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27436         * dirent/tst-seekdir.c (main): Converted to ...
27437         (do_test): ... this.
27438         (TEST_FUNCTION): New macro.
27439         Include test-skeleton.c.
27440         * elf/tst-dlmodcount.c (main): Converted to ...
27441         (do_test): ... this.
27442         (TEST_FUNCTION): New macro.
27443         Include test-skeleton.c.
27444         * elf/tst-order-main.c (main): Converted to ...
27445         (do_test): ... this.
27446         (TEST_FUNCTION): New macro.
27447         Include test-skeleton.c.
27448         * elf/tst-pie2.c (main): Converted to ...
27449         (do_test): ... this.
27450         (TEST_FUNCTION): New macro.
27451         Include test-skeleton.c.
27452         * inet/tst-ether_aton.c (main): Converted to ...
27453         (do_test): ... this.
27454         (TEST_FUNCTION): New macro.
27455         Include test-skeleton.c.
27456         * misc/tst-mntent.c (main): Converted to ...
27457         (do_test): ... this.
27458         (TEST_FUNCTION): New macro.
27459         Include test-skeleton.c.
27460         * misc/tst-tsearch.c (main): Converted to ...
27461         (do_test): ... this.
27462         (TEST_FUNCTION): New macro.
27463         Include test-skeleton.c.
27464         * posix/tst-regexloc.c (main): Converted to ...
27465         (do_test): ... this.
27466         (TEST_FUNCTION): New macro.
27467         Include test-skeleton.c.
27468         * resolv/tst-aton.c (main): Converted to ...
27469         (do_test): ... this.
27470         (TEST_FUNCTION): New macro.
27471         Include test-skeleton.c.
27472         * stdio-common/test-fwrite.c (main): Converted to ...
27473         (do_test): ... this.
27474         (TEST_FUNCTION): New macro.
27475         Include test-skeleton.c.
27476         * stdio-common/tst-ferror.c (main): Converted to ...
27477         (do_test): ... this.
27478         (TEST_FUNCTION): New macro.
27479         Include test-skeleton.c.
27480         * stdio-common/tst-printf.c (main): Converted to ...
27481         (do_test): ... this.
27482         (TEST_FUNCTION): New macro.
27483         Include test-skeleton.c.
27484         * stdio-common/tst-printfsz.c (main): Converted to ...
27485         (do_test): ... this.
27486         (TEST_FUNCTION): New macro.
27487         Include test-skeleton.c.
27488         * stdlib/tst-strtod.c (main): Converted to ...
27489         (do_test): ... this.
27490         (TEST_FUNCTION): New macro.
27491         Include test-skeleton.c.
27492         * string/tst-strlen.c (main): Converted to ...
27493         (do_test): ... this.
27494         (TEST_FUNCTION): New macro.
27495         Include test-skeleton.c.
27496         * string/tst-svc.c (main): Converted to ...
27497         (do_test): ... this.
27498         (TEST_FUNCTION): New macro.
27499         Include test-skeleton.c.
27500         * time/tst-strptime.c (main): Converted to ...
27501         (do_test): ... this.
27502         (TEST_FUNCTION): New macro.
27503         Include test-skeleton.c.
27504         * timezone/tst-timezone.c (main): Converted to ...
27505         (do_test): ... this.
27506         (TEST_FUNCTION): New macro.
27507         Include test-skeleton.c.
27509 2015-08-05  Zack Weinberg  <zackw@panix.com>
27511         * misc/regexp.h: Update comments.
27513 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27515         [BZ #18635]
27516         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27517         before return label.
27519 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27521         [BZ #18661]
27522         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27523         when calling __errno_location.
27524         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27525         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27527 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27529         [BZ #18661]
27530         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27531         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27532         __gettimeofday.
27534 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27536         [BZ #18661]
27537         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27538         (__start_context): Don't use pop to restore %rdi so that stack
27539         is aligned to 16 bytes when calling __setcontext.
27541 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27543         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27544         only for libc.
27545         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27547 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27549         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27550         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27551         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27553 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27555         * string/memccpy.c (memccpy):
27556         Improve performance by using memchr/memcpy/__mempcpy.
27558 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27560         * string/strncpy.c (strncpy):
27561         Improve performance by using __strnlen/memcpy.
27563 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27565         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27566         Optimize to avoid an unnecessary FPCR read.
27568 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27570         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27571         Optimize to reduce FPCR/FPSR accesses.
27573 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27575         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27576         dead->data[category] != NULL.
27578 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27580         [BZ #18647]
27581         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27582         and |x| close to 1, use absolute value of x when computing log.
27583         * math/auto-libm-test-in: Add more tests of pow.
27584         * math/auto-libm-test-out: Regenerated.
27586 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27588         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27589         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27590         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27592 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27594         [BZ #18525]
27595         * locales/km_KH: Remove timezone definition.
27596         * locales/lo_LA: Likewise.
27597         * locales/my_MM: Likewise.
27598         * locales/nan_TW@latin: Likewise.
27599         * locales/th_TH: Likewise.
27600         * locales/uk_UA: Likewise.
27602 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27604         [BZ #18265]
27605         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27606         (wcsncat): Likewise.
27607         (wcscmp): Likewise.
27608         (wcsncmp): Likewise.
27610 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27612         * test-skeleton.c (usage): New function.
27613         (main): Call usage when opt is '?'.
27615 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27617         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27618         before first use.
27620 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27622         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27623         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27624         in there too.
27626 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27628         * version.h (RELEASE): Set to "development".
27629         (VERSION): Set to "2.22.90"
27631         * version.h (RELEASE): Set to "stable".
27632         (VERSION): Set to "2.22"
27633         * include/features.h (__GLIBC_MINOR__): Set to 22.
27635 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27637         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27638         Restructure macro to avoid "value computed is not used" warning.
27639         (atomic_compare_and_exchange_val_acq): Likewise.
27641 2015-08-04  Andreas Schwab  <schwab@suse.de>
27643         [BZ #18635]
27644         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27645         ret.
27646         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27648 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27650         * po/pl.po: Updated translation.
27651         * po/uk.po: Likewise.
27652         * po/fi.po: Likewise.
27653         * po/ko.po: Likewise.
27654         * po/ru.po: Likewise.
27655         * po/vi.po: Likewise.
27657 2015-07-31  Zack Weinberg  <zackw@panix.com>
27659         [BZ #18681]
27660         * regexp.h: Add unconditional #warning stating that this header
27661         will be removed soon.  Revise banner comment to match.
27662         (compile): Consistently use ERROR instead of RETURN to report
27663         errors (partial fix for BZ #18681).
27664         * regexp.c: Don't include regexp.h. Remove some unnecessary
27665         declarations.
27667 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27669         * po/libc.pot: Regenerated.
27671 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27673         [BZ #18740]
27674         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27675         float-vlen4-arch-ext-cflags): Removed.
27676         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27677         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27679 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27681         [BZ #14113]
27682         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27683         aligned to __aligned__.
27684         (pthread_cond_t, pthread_rwlock_t): Likewise.
27686 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27688         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27690 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27692         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27693         (struct sigaction): Change sa_flags from a long to an int, and add
27694         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27696 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27698         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27699         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27700         sysdeps/generic/sysdep.h include.
27701         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27702         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27703         sysdeps/hppa/sysdep.h.
27704         (ENTRY, PSEUDO): Undefine before defining.
27706 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27708         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27709         from scratch to use INTERNAL_SYSCALL.
27711 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27713         [BZ #18078]
27714         * scripts/check-localplt.awk: Support alternate relocations.
27715         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27716         sections.
27717         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27718         malloc entries with + REL R_386_GLOB_DAT.
27719         * sysdeps/x86_64/localplt.data: New file.
27721 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27723         [BZ #18731]
27724         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27725         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27726         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27728 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27730         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27732 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27734         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27735         directly in terms of __sync_fetch_and_add and delete (int) cast.
27737 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27739         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27740         the -D_ASM_IA64_CURRENT_H flag.
27742 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27744         [BZ #18641]
27745         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27747 2015-07-27  Andreas Schwab  <schwab@suse.de>
27749         * conform/conformtest.pl (checknamespace): Filter out string
27750         literals while tokenizing.
27752 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27754         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27755         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27756         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27758 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27760         * nptl/tst-join7mod.c: Add #include <string.h>.
27762 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27764         * sysdeps/nios2/libm-test-ulps: Update.
27766 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27768         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27769         Fix order of arguments to the rt_sigprocmask syscall.
27770         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27771         Likewise.
27773 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27775         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27777 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27779         [BZ #18457]
27780         * nptl/Makefile (tests): New test case tst-join7.
27781         (modules-names): New test case module tst-join7mod.
27782         * nptl/tst-join7.c: New file.
27783         * nptl/tst-join7mod.c: New file.
27784         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27785         all translation units in libc.so, libpthread.so and rtld.
27787 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27791 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27793         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27794         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27795         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27796         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27797         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27798         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27799         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27800         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27801         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27802         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27803         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27804         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27805         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27806         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27807         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27808         implementation.
27810 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27812         [BZ #17711]
27813         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27814         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27815         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27816         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27817         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27818         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27820 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27822         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27823         instead of just saying load lock in the comments.
27825 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27827         * sysdeps/unix/Subdirs: Moved ...
27828         * sysdeps/posix/Subdirs: ... here.
27829         * login/pty.h (struct termios, struct winsize): Add forward decls.
27830         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27831         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27832         * sysdeps/arm/nacl/libc.abilist: Updated.
27833         * sysdeps/nacl/libutil.abilist: New file.
27835         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27836         (SIGWINCH): New macro.
27838         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27839         * sysdeps/arm/nacl/libc.abilist: Add it.
27841 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27843         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27845 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27847         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27848         Swap __glibc_reserved0 and sa_flags order.
27850 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27852         [BZ #18657]
27853         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27854         are pending TLS destructor calls.
27855         * include/link.h (struct link_map): Add concurrency note for
27856         L_TLS_DTOR_COUNT.
27857         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27858         Don't touch the link map flag.  Atomically increment
27859         l_tls_dtor_count.
27860         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27861         Avoid taking the load lock and don't touch the link map flag.
27862         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27863         * stdlib/Makefile (tests): Use it.
27864         * stdlib/tst-tls-atexit.c (do_test): dlopen
27865         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27866         to allow tst-tls-atexit-nodelete test case to use it.
27868 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27870         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27871         to bits/types.h.
27872         (msgqnum_t): New typedef.
27873         (msglen_t): Likewise.
27874         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27875         and msg_qbytes type to msglen_t.
27877 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27879         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27880         pad0 to __glibc_reserved0.
27881         (struct stat64): Likewise.
27883 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27885         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27886         Change sa_flags from a long to an int and add __glibc_reserved0 before
27887         it for padding.
27889 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27891         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27892         anonymous by deleting "siginfo" name.
27894 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27896         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27897         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27898         rather than __nacl_irt_filename.
27899         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27901         * NEWS: New item for arm-nacl port.
27902         * sysdeps/arm/nacl/libc.abilist: New file.
27903         * sysdeps/nacl/ld.abilist: New file.
27904         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27905         * sysdeps/nacl/libanl.abilist: New file.
27906         * sysdeps/nacl/libcrypt.abilist: New file.
27907         * sysdeps/nacl/libdl.abilist: New file.
27908         * sysdeps/nacl/libm.abilist: New file.
27909         * sysdeps/nacl/libpthread.abilist: New file.
27910         * sysdeps/nacl/libresolv.abilist: New file.
27911         * sysdeps/nacl/librt.abilist: New file.
27913 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27915         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27916         __startcontext to initialize the new context.
27917         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27918         up CFI directive to forbid further backtracing.
27920 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27922         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27923         reference.
27924         * charmaps/ANSI_X3.4-1968: Likewise.
27925         * charmaps/BS_4730: Likewise.
27926         * charmaps/BS_VIEWDATA: Likewise.
27927         * charmaps/CP1250: Likewise.
27928         * charmaps/CP1251: Likewise.
27929         * charmaps/CP1252: Likewise.
27930         * charmaps/CP1253: Likewise.
27931         * charmaps/CP1254: Likewise.
27932         * charmaps/CP1255: Likewise.
27933         * charmaps/CP1256: Likewise.
27934         * charmaps/CSN_369103: Likewise.
27935         * charmaps/EBCDIC-DK-NO: Likewise.
27936         * charmaps/GB_1988-80: Likewise.
27937         * charmaps/GREEK-CCITT: Likewise.
27938         * charmaps/GREEK7: Likewise.
27939         * charmaps/INIS-8: Likewise.
27940         * charmaps/ISIRI-3342: Likewise.
27941         * charmaps/ISO_2033-1983: Likewise.
27942         * charmaps/ISO_5427-EXT: Likewise.
27943         * locales/POSIX: Likewise.
27944         * locales/ar_SA: Likewise.
27945         * locales/be_BY: Likewise.
27946         * locales/be_BY@latin: Likewise.
27947         * locales/ca_ES: Likewise.
27948         * locales/cs_CZ: Likewise.
27949         * locales/da_DK: Likewise.
27950         * locales/de_BE: Likewise.
27951         * locales/de_CH: Likewise.
27952         * locales/de_LU: Likewise.
27953         * locales/en_AU: Likewise.
27954         * locales/en_BW: Likewise.
27955         * locales/en_CA: Likewise.
27956         * locales/en_DK: Likewise.
27957         * locales/en_GB: Likewise.
27958         * locales/en_IE: Likewise.
27959         * locales/en_NZ: Likewise.
27960         * locales/en_ZA: Likewise.
27961         * locales/en_ZW: Likewise.
27962         * locales/es_AR: Likewise.
27963         * locales/es_BO: Likewise.
27964         * locales/es_CL: Likewise.
27965         * locales/es_CO: Likewise.
27966         * locales/es_DO: Likewise.
27967         * locales/es_EC: Likewise.
27968         * locales/es_ES: Likewise.
27969         * locales/es_HN: Likewise.
27970         * locales/es_MX: Likewise.
27971         * locales/es_PA: Likewise.
27972         * locales/es_PE: Likewise.
27973         * locales/es_PY: Likewise.
27974         * locales/es_SV: Likewise.
27975         * locales/es_US: Likewise.
27976         * locales/es_UY: Likewise.
27977         * locales/es_VE: Likewise.
27978         * locales/et_EE: Likewise.
27979         * locales/fa_IR: Likewise.
27980         * locales/fo_FO: Likewise.
27981         * locales/fr_CA: Likewise.
27982         * locales/fr_CH: Likewise.
27983         * locales/gv_GB: Likewise.
27984         * locales/he_IL: Likewise.
27985         * locales/hr_HR: Likewise.
27986         * locales/id_ID: Likewise.
27987         * locales/is_IS: Likewise.
27988         * locales/it_CH: Likewise.
27989         * locales/iw_IL: Likewise.
27990         * locales/kl_GL: Likewise.
27991         * locales/ko_KR: Likewise.
27992         * locales/kw_GB: Likewise.
27993         * locales/lg_UG: Likewise.
27994         * locales/lt_LT: Likewise.
27995         * locales/lv_LV: Likewise.
27996         * locales/mi_NZ: Likewise.
27997         * locales/nhn_MX: Likewise.
27998         * locales/nl_BE: Likewise.
27999         * locales/pl_PL: Likewise.
28000         * locales/sk_SK: Likewise.
28001         * locales/sl_SI: Likewise.
28002         * locales/sv_FI: Likewise.
28003         * locales/tl_PH: Likewise.
28004         * locales/tr_TR: Likewise.
28005         * locales/vi_VN: Likewise.
28007 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28009         [BZ #17475]
28010         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28011         of tu_IN and bh_IN.
28013 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28015         [BZ #18694]
28016         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28017         bits/wordsize.h.
28018         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28020 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28022         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28023         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28024         (spawn_thread): New function.
28025         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28026         (do_test): ... here.  Use IS_LOADED to test for its
28027         availability.
28029 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28031         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28033 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28035         [BZ #18696]
28036         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28037         si_addr_bnd.
28038         (si_lower): New.
28039         (si_upper): Likewise.
28041 2015-07-16  David S. Miller  <davem@davemloft.net>
28043         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28045 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28047         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28048         buffer.
28049         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28050         fail output information.
28052 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28055         and strstr-ppc64..
28056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28057         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28058         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28059         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28060         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28062 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28064         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28065         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28066         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28067         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28069 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28071         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28072         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28073         rtld_hidden_proto.
28074         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28076 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28078         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28079         the test can fail.
28081         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28083         [BZ #18676]
28084         * elf/tst-nodelete-opened.c: New test case.
28085         * elf/tst-nodelete-opened-lib.c: New test case module.
28086         * elf/Makefile (tests, modules-names): Use them.
28087         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28088         early.
28090 2015-07-15  David S. Miller  <davem@davemloft.net>
28092         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28093         futex-intenal.h
28094         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28095         * sysdeps/sparc/sparc64/Makefile: Likewise.
28096         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28097         Remove space from macro define.
28098         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28100 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28102         [BZ #17475]
28103         * locale/iso-639.def: Update Bhili and Tulu language codes as
28104         per iso639-3.
28106 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28108         * elf/tst-leaks1.c (main): Converted to ...
28109         (do_test): ... this.
28110         (TEST_FUNCTION): New macro.
28111         Include test-skeleton.c.
28112         * localedata/tst-langinfo.c (main): Converted to ...
28113         (do_test): ... this.
28114         (TEST_FUNCTION): New macro.
28115         Include test-skeleton.c.
28116         * math/test-fpucw.c (main): Converted to ...
28117         (do_test): ... this.
28118         (TEST_FUNCTION): New macro.
28119         Include test-skeleton.c.
28120         * math/test-tgmath.c (main): Converted to ...
28121         (do_test): ... this.
28122         (TEST_FUNCTION): New macro.
28123         Include test-skeleton.c.
28124         * math/test-tgmath2.c (main): Converted to ...
28125         (do_test): ... this.
28126         (TEST_FUNCTION): New macro.
28127         Include test-skeleton.c.
28128         * setjmp/tst-setjmp.c (main): Converted to ...
28129         (do_test): ... this.
28130         (TEST_FUNCTION): New macro.
28131         Include test-skeleton.c.
28132         * stdio-common/tst-sscanf.c (main): Converted to ...
28133         (do_test): ... this.
28134         (TEST_FUNCTION): New macro.
28135         Include test-skeleton.c.
28136         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28137         (do_test): ... this.
28138         (TEST_FUNCTION): New macro.
28139         Include test-skeleton.c.
28141         * elf/tst-audit9.c (main): Converted to ...
28142         (do_test): ... this.
28143         (TEST_FUNCTION): New macro.
28144         Include test-skeleton.c.
28146 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28148         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28150 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28152         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28153         New variable.
28155 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28157         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28159 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28161         * sysdeps/generic/dl-fileid.h: New file.
28162         * sysdeps/posix/dl-fileid.h: New file.
28163         * sysdeps/nacl/dl-fileid.h: New file.
28164         * include/link.h: Include <dl-fileid.h>.
28165         (struct link_map): Replace l_dev and l_ino with l_file_id.
28166         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28167         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28168         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28170 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28172         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28174 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28176         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28177         Add iff $CXX is set.
28178         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28179         Likewise.
28180         (tst-nodelete-zmodiff): Likewise.
28181         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28183 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28185         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28187 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28189         * sysdeps/aarch64/fpu/math_private.h
28190         (define math_opt_barrier): Add AArch64 version.
28191         (math_force_eval): Likewise.
28193 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28195         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28197 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28199         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28200         %ld with %jd and cast to intmax_t.
28201         (do_test_length_zero): Likewise.
28203 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28205         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28207 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28209         * sysdeps/tile/libm-test-ulps: Regenerated.
28211         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28212         Comment out the whole function, not just its body.
28214 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28216         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28217         locks.
28219         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28221 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28223         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28224         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28226 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28228         * sysdeps/nptl/futex-internal.h: New file.
28229         * sysdeps/nacl/futex-internal.h: New file.
28230         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28231         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28232         error checking.
28233         (setxid_unmark_thread): Likewise.
28234         (__nptl_setxid): Likewise.
28235         (__wait_lookup_done): Likewise.
28236         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28237         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28238         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28239         * nptl/pthread_once.c (clear_once_control): Likewise.
28240         (__pthread_once_slow): Likewise.
28241         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28242         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28243         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28244         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28245         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28246         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28247         Likewise.
28248         (__pthread_rwlock_rdlock): Likewise.
28249         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28250         Likewise.
28251         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28252         Likewise.
28253         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28254         Likewise.
28255         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28256         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28257         Likewise.
28258         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28259         __ASSUME_PRIVATE_FUTEX check.
28260         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28261         Check that shared futexes are supported.
28262         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28263         wrappers with error checking.
28264         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28265         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28266         * nptl/pthread_barrierattr_setpshared.c
28267         (pthread_barrierattr_setpshared): Check that shared futexes are
28268         supported.
28269         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28270         Likewise.
28271         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28272         Likewise.
28273         * nptl/sem_init.c (futex_private_if_supported): Remove.
28274         (__new_sem_init): Adapt and check that shared futexes are supported.
28275         * nptl/sem_open.c (sem_open): Likewise.
28276         * nptl/sem_post.c (futex_wake): Remove.
28277         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28278         (do_futex_wait): Use futex wrappers with error checking.
28279         * nptl/sem_wait.c: Include lowlevellock.h.
28280         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28281         Use futex_supports_pshared.
28282         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28283         Use futex wrappers with error checking.
28284         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28285         Likewise.
28286         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28287         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28288         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28289         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28290         (futex_wake): Likewise.
28291         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28292         (do_futex_wait): Use futex wrappers with error checking.
28293         (__new_sem_wait_slow): Update EINTR handling.
28294         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28296 2015-07-09  Martin Sebor  <msebor@redhat.com>
28298         [BZ #18435]
28299         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28300         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28301         * nptl/Makefile (test-xfail-tst-once5): Define.
28303 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28305         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28306         * elf/dl-minimal.c: For readability, reorder some definitions and
28307         introduce more page breaks.  Include <stdio.h>.
28308         (__libc_fatal): New function.
28310         * include/unistd.h: Add rtld_hidden_proto for _exit.
28311         * posix/_exit.c: Add rtld_hidden_def.
28312         * sysdeps/mach/hurd/_exit.c: Likewise.
28313         * sysdeps/nacl/_exit.c: Likewise.
28314         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28315         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28317 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28319         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28320         bndmov encoding with zero displacement.
28322 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28323             H.J. Lu  <hongjiu.lu@intel.com>
28325         [BZ #18134]
28326         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28327         * sysdeps/i386/configure: Regenerated.
28328         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28329         (_dl_runtime_profile): Save and restore Intel MPX return bound
28330         registers when calling _dl_call_pltexit.  Add
28331         PRESERVE_BND_REGS_PREFIX before return.
28332         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28333         (LRV_BND1_OFFSET): Likewise.
28334         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28335         lrv_bnd1.
28336         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28337         typo in bndmov encoding.
28338         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28339         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28340         branch instructions to preserve bounds.
28342 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28345         [GLIBC_2.22]: Add fmemopen.
28347 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28349         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28350         returns an error, also try to use host port from __mach_host_self for
28351         the __vm_wire call.
28352         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28354 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28356         [BZ #18400]
28357         [BZ #18648]
28358         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28359         Fix pr_uid and pr_gid members.
28360         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28361         definition to elf_greg_t.
28363 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28365         [BZ #18383]
28366         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28367         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28368         * sysdeps/arm/configure: Regenerated.
28369         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28370         (test-xfail-tst-tlsalign-static): Variable removed.
28372         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28373         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28374         rather than explicit 'ln -s'.
28376         * resolv/rpc/netdb.h: New file.
28377         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28379 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28381         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28382         length buffers.
28383         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28384         test-skeleton.c.
28386         [BZ #6544]
28387         [BZ #11216]
28388         [BZ #12836]
28389         [BZ #13151]
28390         [BZ #13152]
28391         [BZ #14292]
28392         * include/stdio.h (fmemopen): Remove hidden prototype.
28393         (__fmemopen): Add new hidden prototype.
28394         * libio/Makefile: Add oldfmemopen object.
28395         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28396         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28397         compliance.
28398         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28399         symbol compatibility.
28400         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28401         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28402         fmemopen.
28403         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28404         on append and read mode.
28405         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28406         fmemopen.
28407         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28408         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28409         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28410         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28411         Likewise.
28412         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28413         [GLIBC_2.22]: Likewise.
28414         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28415         Likewise.
28416         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28417         Likewise.
28418         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28419         [GLIBC_2.22]: Likewise.
28420         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28421         [GLIBC_2.22]: Likewise.
28422         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28423         [GLIBC_2.22]: Likewise.
28424         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28425         [GLIBC_2.22]: Likewise.
28426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28427         [GLIBC_2.22]: Likewise.
28428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28429         [GLIBC_2.22]: Likewise.
28430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28431         [GLIBC_2.22]: Likewise.
28432         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28433         Likewise.
28434         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28435         Likewise.
28436         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28437         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28438         [GLIBC_2.22]: Likewise.
28439         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28440         [GLIBC_2.22]: Likewise.
28441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28442         [GLIBC_2.22]: Likewise.
28443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28444         [GLIBC_2.22]: Likewise.
28445         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28446         Likewise.
28447         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28448         Likewise.
28449         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28450         Likewise.
28451         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28452         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28454 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28456         [BZ #18643]
28457         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28458         IPV6_PATHMTU, and IPV6_DONTFRAG.
28460 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28462         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28463         and _IO_UNBUFFERED.
28464         * libio/oldfileops.c: Likewise.
28465         * libio/wfileops.c: Likewise.
28467 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28469         * nscd/selinux.c: Delete selinux/flask.h include.
28471 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28473         [BZ #18641]
28474         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28475         (putpwent): Likewise.
28476         (getpwnam): Likewise.
28477         (getpwent_r): Likewise.
28478         (getpwuid_r): Likewise.
28479         (getpwnam_r): Likewise.
28480         (fgetpwent_r): Likewise.
28482 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28484         [BZ #18557]
28485         * inet/rcmd.c (__validuser2_sa): Check user first to
28486         short-circuit host check.
28488 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28489             Mikhail Ilin  <m.ilin@samsung.com>
28491         [BZ #17833]
28492         * elf/Makefile (tests): Add tst-nodelete.
28493         (modules-names): Add tst-nodelete-uniquemod.
28494         (tst-nodelete-uniquemod.so-no-z-defs): New.
28495         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28496         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28497         ($(objpfx)tst-nodelete): Likewise.
28498         ($(objpfx)tst-nodelete.out): Likewise.
28499         (LDFLAGS-tst-nodelete): Likewise.
28500         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28501         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28502         implement forced object deletion.
28503         (_dl_close): Pass false to _dl_close_worker.
28504         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28505         * elf/tst-nodelete.cc: New file.
28506         * elf/tst-nodeletelib.cc: Likewise.
28507         * elf/tst-znodeletelib.cc: Likewise.
28508         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28510 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28512         [BZ #18508]
28513         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28514         Depend on $(libdl).
28515         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28516         is not called infinitely times.
28517         (backtrace_helper): New function.
28518         (trace_arg): New struct.
28519         (st1): Enlarge stack size.
28520         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28521         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28522         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28523         Likewise.
28525 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28527         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28529 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28531         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28532         Include sys/types.h instead of bits/types.h.
28533         Remove inclusion of bits/wordsize.h.
28535 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28537         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28538         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28539         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28540         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28541         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28542         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28544 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28546         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28547         link-defines.sym.
28548         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28549         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28550         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28551         and LR_SIZE.
28552         * sysdeps/i386/link-defines.sym: New file.
28554 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28556         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28557         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28558         ($(objpfx)tst-audit3): New rule.
28559         ($(objpfx)tst-audit3.out): Likewise.
28560         * sysdeps/i386/tst-audit3.c: New file.
28561         * sysdeps/i386/tst-audit3.h: Likewise.
28562         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28563         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28565 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28567         [BZ #18633]
28568         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28569         pointer in C code.
28570         (__strcat_c): Likewise.
28571         (__strcat_g): Likewise.
28573 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28575         [BZ #18592]
28576         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28578 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28580         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28581         New function.  (__ieee754_sqrtf): New function.
28582         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28583         New function.
28584         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28585         New function.
28587 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28589         * sysdeps/ieee754/support.c: Remove unused file.
28591 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28593         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28594         registers instead of d ones so the layout is kernel abi compatible.
28595         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28596         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28597         Likewise.
28599 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28601         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28603 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28605         [BZ #18619]
28606         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28607         and return argument in case of subnormal argument.
28609 2015-07-01  Martin Sebor  <msebor@redhat.com>
28611         [BZ #18435]
28612         * nptl/Makefile: Add tst-once5.cc.
28613         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28614         Remove macro redefinitions.
28615         * nptl/tst-once5.cc: New test.
28617 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28619         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28621         * sysdeps/arm/libm-test-ulps: Regenerated.
28623         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28624         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28626 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28628         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28629         lll_lock_wait_private and lll_futex_wake probes.
28631         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28632         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28633         Likewise.
28634         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28635         atomic_spin_nop.
28636         * sysdeps/x86_64/bits/atomic.h: Likewise.
28637         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28638         to atomic_spin_nop and move ...
28639         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28640         ... here and ...
28641         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28642         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28643         atomic_spin_nop instead of BUSY_WAIT_NOP.
28644         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28645         Likewise.
28646         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28647         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28648         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28649         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28650         instead of atomic_delay.
28652 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28654         [BZ #18613]
28655         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28656         X_ADJ not X when adjusting exponent.
28657         (__ieee754_gamma_r): Do intermediate computations in
28658         round-to-nearest then adjust overflowing and underflowing results
28659         as needed.
28660         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28661         of X_ADJ not X when adjusting exponent.
28662         (__ieee754_gammaf_r): Do intermediate computations in
28663         round-to-nearest then adjust overflowing and underflowing results
28664         as needed.
28665         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28666         log of X_ADJ not X when adjusting exponent.
28667         (__ieee754_gammal_r): Do intermediate computations in
28668         round-to-nearest then adjust overflowing and underflowing results
28669         as needed.  Use 1.0L not 1.0f as numerator of division.
28670         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28671         log of X_ADJ not X when adjusting exponent.
28672         (__ieee754_gammal_r): Do intermediate computations in
28673         round-to-nearest then adjust overflowing and underflowing results
28674         as needed.  Use 1.0L not 1.0f as numerator of division.
28675         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28676         of X_ADJ not X when adjusting exponent.
28677         (__ieee754_gammal_r): Do intermediate computations in
28678         round-to-nearest then adjust overflowing and underflowing results
28679         as needed.  Use 1.0L not 1.0f as numerator of division.
28680         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28681         to auto-libm-test-in.
28682         (tgamma_test): Use ALL_RM_TEST.
28683         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28684         tests of tgamma with spurious-overflow.
28685         * math/auto-libm-test-out: Regenerated.
28686         * math/gen-libm-have-vector-test.sh: Do not check for START.
28687         * sysdeps/i386/fpu/libm-test-ulps: Update.
28688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28690         [BZ #18612]
28691         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28692         arguments, just return 0.5 times the argument, with underflow
28693         forced as needed.
28694         * math/auto-libm-test-in: Add more tests of j1.
28695         * math/auto-libm-test-out: Regenerated.
28697         [BZ #16559]
28698         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28699         (__ieee754_j1): Force underflow exception for small results.
28700         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28701         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28702         (__ieee754_j1f): Force underflow exception for small results.
28703         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28704         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28705         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28706         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28707         (__ieee754_j1l): Force underflow exception for small results.
28708         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28709         * math/auto-libm-test-in: Add more tests of j1 and jn.
28710         * math/auto-libm-test-out: Regenerated.
28712         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28713         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28714         (PF_MPLS): Likewise.
28715         (AF_IB): Likewise.
28716         (AF_MPLS): Likewise.
28717         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28718         value and macro.
28719         (MS_RMT_MASK): Include MS_LAZYTIME.
28721 2015-06-26  Mel Gorman  <mgorman@suse.de>
28723         [BZ #18502]
28724         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28725         already minimal.
28727 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28729         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28730         (DT_MIPS_NUM): Update.
28731         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28732         DT_MIPS_RLD_MAP_REL.
28734 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28736         [BZ #16559]
28737         [BZ #18602]
28738         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28739         round-to-nearest internally then recompute results that
28740         underflowed to zero in the original rounding mode.
28741         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28742         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28743         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28744         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28745         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28746         * sysdeps/i386/fpu/libm-test-ulps: Update.
28747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28749 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28751         * NEWS: Fixed description of link with vector math library.
28753 2015-06-25  Andreas Schwab  <schwab@suse.de>
28755         [BZ #18549]
28756         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28757         * libio/test-fmemopen.c (do_test): Add test for it.
28759 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28761         [BZ #17841]
28762         * Makeconfig (no-pie-ldflag): New.
28763         (+link): Set to $(+link-pie) if default to PIE.
28764         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28765         * config.make.in (build-pie-default): New.
28766         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28767         is default.  AC_SUBST.
28768         * configure: Regenerated.
28769         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28771 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28773         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28774         to 'unsigned int'.
28776         * resolv/gai_misc.h (struct waitlist): Change type of field
28777         counterp to 'volatile unsigned int *'.
28778         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28779         FUTEXADDR and OLDVAL.
28780         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28781         Give local variable TOTAL type 'volatile unsigned int'.
28782         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28783         * resolv/gai_suspend.c (gai_suspend):
28784         Give local variable CNTR type 'unsigned int'.
28786         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28787         counterp to 'volatile unsigned int *'.
28788         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28789         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28790         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28791         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28792         Give local variable TOTAL type 'volatile unsigned int'.
28793         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28795 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28797         [BZ #18383]
28798         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28799         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28800         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28801         comment for i386/x86-64.
28802         (test-xfail-tst-tlsalign-extern-static): Removed.
28804 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28806         * math/test-double.h: New file.
28807         * math/test-float.h: Likewise.
28808         * math/test-ldouble.h: Likewise.
28809         * math/test-math-inline.h: Likewise.
28810         * math/test-math-no-inline.h: Likewise.
28811         * math/test-math-scalar.h: Likewise.
28812         * math/test-math-vector.h: Likewise.
28813         * math/test-vec-loop.h: Remove file.  Contents moved into
28814         test-math-vector.h.
28815         * math/libm-test.inc (MATHCONST): Do not document macro.
28816         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28817         and test-math-scalar.h.
28818         (FUNC): Remove macro.
28819         (FUNC_TEST): Likewise.
28820         (FLOAT): Likewise.
28821         (MATHCONST): Likewise.
28822         (PRINTF_EXPR): Likewise.
28823         (PRINTF_XEXPR): Likewise.
28824         (PRINTF_NEXPR): Likewise.
28825         (TEST_DOUBLE): Likewise.
28826         (TEST_MATHVEC): Likewise.
28827         (__NO_MATH_INLINES): Likewise.
28828         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28829         and test-math-scalar.h.
28830         (FUNC): Remove macro.
28831         (FUNC_TEST): Likewise.
28832         (FLOAT): Likewise.
28833         (MATHCONST): Likewise.
28834         (PRINTF_EXPR): Likewise.
28835         (PRINTF_XEXPR): Likewise.
28836         (PRINTF_NEXPR): Likewise.
28837         (TEST_FLOAT): Likewise.
28838         (TEST_MATHVEC): Likewise.
28839         (__NO_MATH_INLINES): Likewise.
28840         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28841         and test-math-scalar.h.
28842         (FUNC): Remove macro.
28843         (FUNC_TEST): Likewise.
28844         (FLOAT): Likewise.
28845         (MATHCONST): Likewise.
28846         (PRINTF_EXPR): Likewise.
28847         (PRINTF_XEXPR): Likewise.
28848         (PRINTF_NEXPR): Likewise.
28849         (TEST_DOUBLE): Likewise.
28850         (TEST_MATHVEC): Likewise.
28851         (TEST_INLINE): Likewise.
28852         (__NO_MATH_INLINES): Likewise.
28853         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28854         test-math-scalar.h.
28855         (FUNC): Remove macro.
28856         (FUNC_TEST): Likewise.
28857         (FLOAT): Likewise.
28858         (MATHCONST): Likewise.
28859         (PRINTF_EXPR): Likewise.
28860         (PRINTF_XEXPR): Likewise.
28861         (PRINTF_NEXPR): Likewise.
28862         (TEST_FLOAT): Likewise.
28863         (TEST_MATHVEC): Likewise.
28864         (TEST_INLINE): Likewise.
28865         (__NO_MATH_INLINES): Likewise.
28866         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28867         and test-math-scalar.h.
28868         (FUNC): Remove macro.
28869         (FUNC_TEST): Likewise.
28870         (FLOAT): Likewise.
28871         (MATHCONST): Likewise.
28872         (PRINTF_EXPR): Likewise.
28873         (PRINTF_XEXPR): Likewise.
28874         (PRINTF_NEXPR): Likewise.
28875         (TEST_LDOUBLE): Likewise.
28876         (TEST_MATHVEC): Likewise.
28877         (TEST_INLINE): Likewise.
28878         (__NO_MATH_INLINES): Likewise.
28879         * math/test-ldouble.c: Include test-ldouble.h,
28880         test-math-no-inline.h and test-math-scalar.h.
28881         (FUNC): Remove macro.
28882         (FUNC_TEST): Likewise.
28883         (FLOAT): Likewise.
28884         (MATHCONST): Likewise.
28885         (PRINTF_EXPR): Likewise.
28886         (PRINTF_XEXPR): Likewise.
28887         (PRINTF_NEXPR): Likewise.
28888         (TEST_LDOUBLE): Likewise.
28889         (TEST_MATHVEC): Likewise.
28890         (__NO_MATH_INLINES): Likewise.
28891         * math/test-double-vlen2.h: Include test-double.h,
28892         test-math-no-inline.h and test-math-vector.h.
28893         (FLOAT): Remove macro.
28894         (FUNC): Likewise.
28895         (MATHCONST): Likewise.
28896         (PRINTF_EXPR): Likewise.
28897         (PRINTF_XEXPR): Likewise.
28898         (PRINTF_NEXPR): Likewise.
28899         (TEST_DOUBLE): Likewise.
28900         (TEST_MATHVEC): Likewise.
28901         (__NO_MATH_INLINES): Likewise.
28902         (CNCT): Likewise.
28903         (CONCAT): Likewise.
28904         (WRAPPER_NAME): Likewise.
28905         (WRAPPER_DECL): Likewise.
28906         (WRAPPER_DECL_ff): Likewise.
28907         (WRAPPER_DECL_fFF): Likewise.
28908         (VECTOR_WRAPPER): Likewise.
28909         (VECTOR_WRAPPER_ff): Likewise.
28910         (VECTOR_WRAPPER_fFF): Likewise.
28911         (VEC_LEN): New macro.
28912         * math/test-double-vlen4.h: Include test-double.h,
28913         test-math-no-inline.h and test-math-vector.h.
28914         (FLOAT): Remove macro.
28915         (FUNC): Likewise.
28916         (MATHCONST): Likewise.
28917         (PRINTF_EXPR): Likewise.
28918         (PRINTF_XEXPR): Likewise.
28919         (PRINTF_NEXPR): Likewise.
28920         (TEST_DOUBLE): Likewise.
28921         (TEST_MATHVEC): Likewise.
28922         (__NO_MATH_INLINES): Likewise.
28923         (CNCT): Likewise.
28924         (CONCAT): Likewise.
28925         (WRAPPER_NAME): Likewise.
28926         (WRAPPER_DECL): Likewise.
28927         (WRAPPER_DECL_ff): Likewise.
28928         (WRAPPER_DECL_fFF): Likewise.
28929         (VECTOR_WRAPPER): Likewise.
28930         (VECTOR_WRAPPER_ff): Likewise.
28931         (VECTOR_WRAPPER_fFF): Likewise.
28932         (VEC_LEN): New macro.
28933         * math/test-double-vlen8.h: Include test-double.h,
28934         test-math-no-inline.h and test-math-vector.h.
28935         (FLOAT): Remove macro.
28936         (FUNC): Likewise.
28937         (MATHCONST): Likewise.
28938         (PRINTF_EXPR): Likewise.
28939         (PRINTF_XEXPR): Likewise.
28940         (PRINTF_NEXPR): Likewise.
28941         (TEST_DOUBLE): Likewise.
28942         (TEST_MATHVEC): Likewise.
28943         (__NO_MATH_INLINES): Likewise.
28944         (CNCT): Likewise.
28945         (CONCAT): Likewise.
28946         (WRAPPER_NAME): Likewise.
28947         (WRAPPER_DECL): Likewise.
28948         (WRAPPER_DECL_ff): Likewise.
28949         (WRAPPER_DECL_fFF): Likewise.
28950         (VECTOR_WRAPPER): Likewise.
28951         (VECTOR_WRAPPER_ff): Likewise.
28952         (VECTOR_WRAPPER_fFF): Likewise.
28953         (VEC_LEN): New macro.
28954         * math/test-float-vlen4.h: Include test-float.h,
28955         test-math-no-inline.h and test-math-vector.h.
28956         (FLOAT): Remove macro.
28957         (FUNC): Likewise.
28958         (MATHCONST): Likewise.
28959         (PRINTF_EXPR): Likewise.
28960         (PRINTF_XEXPR): Likewise.
28961         (PRINTF_NEXPR): Likewise.
28962         (TEST_FLOAT): Likewise.
28963         (TEST_MATHVEC): Likewise.
28964         (__NO_MATH_INLINES): Likewise.
28965         (CNCT): Likewise.
28966         (CONCAT): Likewise.
28967         (WRAPPER_NAME): Likewise.
28968         (WRAPPER_DECL): Likewise.
28969         (WRAPPER_DECL_ff): Likewise.
28970         (WRAPPER_DECL_fFF): Likewise.
28971         (VECTOR_WRAPPER): Likewise.
28972         (VECTOR_WRAPPER_ff): Likewise.
28973         (VECTOR_WRAPPER_fFF): Likewise.
28974         (VEC_LEN): New macro.
28975         * math/test-float-vlen8.h: Include test-float.h,
28976         test-math-no-inline.h and test-math-vector.h.
28977         (FLOAT): Remove macro.
28978         (FUNC): Likewise.
28979         (MATHCONST): Likewise.
28980         (PRINTF_EXPR): Likewise.
28981         (PRINTF_XEXPR): Likewise.
28982         (PRINTF_NEXPR): Likewise.
28983         (TEST_FLOAT): Likewise.
28984         (TEST_MATHVEC): Likewise.
28985         (__NO_MATH_INLINES): Likewise.
28986         (CNCT): Likewise.
28987         (CONCAT): Likewise.
28988         (WRAPPER_NAME): Likewise.
28989         (WRAPPER_DECL): Likewise.
28990         (WRAPPER_DECL_ff): Likewise.
28991         (WRAPPER_DECL_fFF): Likewise.
28992         (VECTOR_WRAPPER): Likewise.
28993         (VECTOR_WRAPPER_ff): Likewise.
28994         (VECTOR_WRAPPER_fFF): Likewise.
28995         (VEC_LEN): New macro.
28996         * math/test-float-vlen16.h: Include test-float.h,
28997         test-math-no-inline.h and test-math-vector.h.
28998         (FLOAT): Remove macro.
28999         (FUNC): Likewise.
29000         (MATHCONST): Likewise.
29001         (PRINTF_EXPR): Likewise.
29002         (PRINTF_XEXPR): Likewise.
29003         (PRINTF_NEXPR): Likewise.
29004         (TEST_FLOAT): Likewise.
29005         (TEST_MATHVEC): Likewise.
29006         (__NO_MATH_INLINES): Likewise.
29007         (CNCT): Likewise.
29008         (CONCAT): Likewise.
29009         (WRAPPER_NAME): Likewise.
29010         (WRAPPER_DECL): Likewise.
29011         (WRAPPER_DECL_ff): Likewise.
29012         (WRAPPER_DECL_fFF): Likewise.
29013         (VECTOR_WRAPPER): Likewise.
29014         (VECTOR_WRAPPER_ff): Likewise.
29015         (VECTOR_WRAPPER_fFF): Likewise.
29016         (VEC_LEN): New macro.
29017         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29018         test-vec-loop.h.
29019         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29020         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29021         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29022         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29023         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29024         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29025         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29027 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29029         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29030         (__getlogin_r): ... this.
29032 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29034         [BZ #18594]
29035         * math/s_ccosh.c (__ccosh): Compare with least normal value
29036         instead of comparing class with FP_SUBNORMAL.
29037         * math/s_ccoshf.c (__ccoshf): Likewise.
29038         * math/s_ccoshl.c (__ccoshl): Likewise.
29039         * math/s_cexp.c (__cexp): Likewise.
29040         * math/s_cexpf.c (__cexpf): Likewise.
29041         * math/s_cexpl.c (__cexpl): Likewise.
29042         * math/s_csin.c (__csin): Likewise.
29043         * math/s_csinf.c (__csinf): Likewise.
29044         * math/s_csinh.c (__csinh): Likewise.
29045         * math/s_csinhf.c (__csinhf): Likewise.
29046         * math/s_csinhl.c (__csinhl): Likewise.
29047         * math/s_csinl.c (__csinl): Likewise.
29048         * math/s_ctan.c (__ctan): Likewise.
29049         * math/s_ctanf.c (__ctanf): Likewise.
29050         * math/s_ctanh.c (__ctanh): Likewise.
29051         * math/s_ctanhf.c (__ctanhf): Likewise.
29052         * math/s_ctanhl.c (__ctanhl): Likewise.
29053         * math/s_ctanl.c (__ctanl): Likewise.
29054         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29055         csin, csinh, ctan and ctanh.
29056         * math/auto-libm-test-out: Regenerated.
29057         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29058         * sysdeps/i386/fpu/libm-test-ulps: Update.
29059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29061 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29063         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29064         return value is wrong, print the expected value too.
29066 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29068         [BZ #18585]
29069         * elf/readlib.c (is_gdb_python_file): New.
29070         (process_file): Don't issue errors on filenames with -gdb.py
29071         suffix.
29073 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29075         * math/auto-libm-test-in: Add more tests of csin and csinh.
29076         * math/auto-libm-test-out: Regenerated.
29077         * math/libm-test.inc (csin_test_data): Remove tests moved to
29078         auto-libm-test-in.
29079         (csinh_test_data): Likewise.
29081         [BZ #18593]
29082         * math/s_csin.c (__csin): Negate before rather than after possibly
29083         overflowing multiplication.
29084         * math/s_csinf.c (__csinf): Likewise.
29085         * math/s_csinh.c (__csinh): Likewise.
29086         * math/s_csinhf.c (__csinhf): Likewise.
29087         * math/s_csinhl.c (__csinhl): Likewise.
29088         * math/s_csinl.c (__csinl): Likewise.
29089         * math/auto-libm-test-in: Add some tests of csin and csinh.
29090         * math/auto-libm-test-out: Regenerated.
29091         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29092         (csinh_test_data): Likewise.
29093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29095         [BZ #18586]
29096         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29097         underflow exception for small results.
29099 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29102         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29103         variable and included header.
29104         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29105         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29106         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29107         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29108         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29109         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29110         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29111         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29112         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29113         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29114         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29115         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29116         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29117         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29118         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29119         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29121 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29123         [BZ #16526]
29124         [BZ #16538]
29125         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29126         (__sin): Force underflow exception for arguments with small
29127         absolute value.
29128         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29129         (__kernel_sinf): Force underflow exception for arguments with
29130         small absolute value.
29131         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29132         (__kernel_sincosl): Force underflow exception for arguments with
29133         small absolute value.
29134         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29135         (__kernel_sinl): Force underflow exception for arguments with
29136         small absolute value.
29137         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29138         (__kernel_sincosl): Force underflow exception for arguments with
29139         small absolute value.
29140         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29141         (__kernel_sinl): Force underflow exception for arguments with
29142         small absolute value.
29143         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29144         (__kernel_sinl): Force underflow exception for arguments with
29145         small absolute value.
29146         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29147         (__kernel_sinf): Force underflow exception for arguments with
29148         small absolute value.
29149         * math/auto-libm-test-in: Add more tests of sin and sincos.
29150         * math/auto-libm-test-out: Regenerated.
29152         [BZ #18245]
29153         [BZ #18583]
29154         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29155         (__kernel_standard_l): Use feholdexcept and fesetenv around
29156         conversion to double instead of special-casing overflow and
29157         underflow.
29158         * math/libm-test.inc (fmod_test_data): Add more tests.
29159         (remainder_test_data): Likewise.
29160         (sqrt_test_data): Likewise.
29162 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29164         [BZ #17403]
29165         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29166         atomic_read_barrier, atomic_write_barrier): Define.
29167         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29168         atomic_read_barrier, atomic_write_barrier): Define.
29170 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29172         * math/Makefile [$(PERL) != no]
29173         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29174         dependency on libm-test.stmp below the inclusion of Rules.
29176 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29178         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29179         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29180         and included header.
29181         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29182         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29183         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29184         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29185         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29186         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29187         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29188         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29189         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29190         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29191         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29192         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29193         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29194         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29195         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29196         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29197         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29198         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29199         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29201 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29203         [BZ #18371]
29204         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29205         intermediate but not final result might underflow.
29206         * math/s_csqrtf.c (__csqrtf): Likewise.
29207         * math/s_csqrtl.c (__csqrtl): Likewise.
29208         * math/auto-libm-test-in: Add more tests of csqrt.
29209         * math/auto-libm-test-out: Regenerated.
29210         * sysdeps/i386/fpu/libm-test-ulps: Update.
29212         [BZ #18219]
29213         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29214         threshold on absolute value of exponent for which scaling is used.
29215         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29216         * math/auto-libm-test-in: Add more tests of exp2.
29217         * math/auto-libm-test-out: Regenerated.
29219 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29221         [BZ #17977]
29222         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29223         when initializing interface list, based on the bug analysis
29224         and the patch proposed by Eric Newton.
29225         * resolv/tst-res_hconf_reorder.c: New test.
29226         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29227         tst-res_hconf_reorder.
29228         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29229         and $(shared-thread-library).
29230         (tst-res_hconf_reorder-ENV): New variable.
29232         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29233         in comment.
29235 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29237         [BZ #16353]
29238         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29239         (__expm1): Force underflow exception for arguments with small
29240         absolute value.
29241         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29242         (__expm1f): Force underflow exception for arguments with small
29243         absolute value.
29244         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29245         (__expm1): Force underflow exception for arguments with small
29246         absolute value.
29247         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29248         (__expm1f): Force underflow exception for arguments with small
29249         absolute value.
29250         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29251         Check for small arguments before calling __expm1.
29252         * math/auto-libm-test-in: Do not mark underflow exceptions as
29253         possibly missing for bug 16353.
29254         * math/auto-libm-test-out: Regenerated.
29256 2015-06-22  Andreas Schwab  <schwab@suse.de>
29258         [BZ #18513]
29259         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29260         PTR queries.
29262 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29264         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29266         * string/strcoll_l.c: Remove unused struct element idxnow.
29268 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29270         [BZ #18569]
29271         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29272         underflow and return argument in case of subnormal argument.
29273         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29274         Likewise.
29275         * math/auto-libm-test-in: Add more tests of expm1.
29276         * math/auto-libm-test-out: Regenerated.
29278         [BZ #16361]
29279         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29280         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29281         tiny results.
29282         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29283         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29284         tiny results.
29285         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29286         mark underflow exceptions as possibly missing for bug 16361.
29287         * math/auto-libm-test-out: Regenerated.
29289 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29291         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29292         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29293         Remove variable.
29294         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29295         (test-xfail-XOPEN2K8/utmpx.h/conform).
29297         * conform/conformtest.pl ($xerrors): New variable.
29298         (note_error): New function.
29299         (compiletest): New argument $xfail.  Use not_error.
29300         (runtest): Likewise.
29301         (top level): Handle xfail- lines.  Update calls to compiletest and
29302         runtest.  Handle xfail- and optional- in headers listed with
29303         allow-header.
29304         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29305         (O_EXEC): Likewise.
29306         (O_SEARCH): Likewise.
29307         * conform/data/stropts.h-data (ioctl): Likewise.
29308         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29309         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29310         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29311         (msghdr.msg_controllen): Likewise.
29312         (cmsghdr.cmsg_len): Likewise.
29313         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29314         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29315         variable.
29316         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29317         (test-xfail-XPG4/stropts.h/conform): Likewise.
29318         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29319         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29320         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29321         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29322         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29323         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29324         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29325         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29326         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29327         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29328         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29329         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29330         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29331         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29332         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29333         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29334         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29335         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29336         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29338 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29340         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29341         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29342         definitions for proper unfolding of __MATHDECL_VEC.
29344 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29346         * benchtests/bench-strcoll.c:
29347         Include string.h.
29348         (main): Remove unused variable res.
29350 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29352         * timezone/Makefile (%/UTC %/Universal):
29353         Generate test-result files for UTC and Universal.
29355 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29357         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29359 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29361         [BZ #16350]
29362         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29363         for arguments with small absolute value.
29364         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29365         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29366         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29367         (__asinh): Force underflow exception for arguments with small
29368         absolute value.
29369         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29370         (__asinhf): Force underflow exception for arguments with small
29371         absolute value.
29372         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29373         (__asinhl): Force underflow exception for arguments with small
29374         absolute value.
29375         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29376         (__asinhl): Force underflow exception for arguments with small
29377         absolute value.
29378         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29379         (__asinhl): Force underflow exception for arguments with small
29380         absolute value.
29381         * math/auto-libm-test-in: Do not mark underflow exceptions as
29382         possibly missing for bug 16350.
29383         * math/auto-libm-test-out: Regenerated.
29385         * include/bits/ipc.h: Remove file.
29386         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29387         variable.
29388         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29389         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29390         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29391         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29392         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29393         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29394         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29395         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29396         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29398         * math/auto-libm-test-in: Remove spurious underflow allowance for
29399         tests of cexp.
29400         * math/auto-libm-test-out: Regenerated.
29402         [BZ #18558]
29403         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29404         unconditional definition.
29405         (MCAST_BLOCK_SOURCE): Likewise.
29406         (MCAST_UNBLOCK_SOURCE): Likewise.
29407         (MCAST_LEAVE_GROUP): Likewise.
29408         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29409         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29410         (MCAST_MSFILTER): Likewise.
29411         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29412         Remove variable.
29413         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29414         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29415         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29416         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29417         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29419 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29421         * NEWS: Mention addition of x86_64 vector sincosf.
29422         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29423         * math/test-float-vlen4.h: Likewise.
29424         * math/test-float-vlen8.h: Likewise.
29425         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29426         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29427         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29428         * sysdeps/x86_64/fpu/Versions: New versions added.
29429         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29430         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29431         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29432         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29433         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29434         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29435         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29436         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29437         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29438         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29439         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29440         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29441         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29442         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29443         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29444         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29445         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29446         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29447         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29448         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29449         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29450         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29451         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29452         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29454         * NEWS: Mention addition of x86_64 vector sincos.
29455         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29456         * math/math.h (__MATHDECL_VEC): New macro.
29457         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29458         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29459         declaration under condition.
29460         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29461         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29462         TEST_VEC_LOOP change.
29463         * math/test-double-vlen4.h: Likewise.
29464         * math/test-double-vlen8.h: Likewise.
29465         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29466         * math/test-float-vlen4.h: Likewise.
29467         * math/test-float-vlen8.h: Likewise.
29468         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29469         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29470         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29471         * sysdeps/x86_64/fpu/Versions: New versions added.
29472         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29473         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29474         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29475         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29476         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29477         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29478         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29479         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29480         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29481         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29482         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29483         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29484         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29485         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29486         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29487         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29488         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29489         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29490         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29491         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29492         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29493         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29494         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29495         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29497         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29498         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29499         redirections for powf.
29500         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29501         * sysdeps/x86_64/fpu/Versions: New versions added.
29502         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29503         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29504         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29505         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29506         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29507         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29508         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29509         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29510         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29511         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29512         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29513         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29514         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29515         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29516         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29517         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29518         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29519         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29520         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29521         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29522         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29523         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29524         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29525         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29526         * math/test-float-vlen16.h: Fixed 2 argument macro.
29527         * math/test-float-vlen4.h: Likewise.
29528         * math/test-float-vlen8.h: Likewise.
29529         * NEWS: Mention addition of x86_64 vector powf.
29531 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29533         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29534         and redefine.
29535         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29536         and redefine.
29537         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29538         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29539         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29541         [BZ #18553]
29542         * resource/getpriority.c (getpriority): Rename to __getpriority
29543         and define as weak alias of __getpriority.
29544         * resource/setpriority.c (setpriority): Rename to __setpriority
29545         and define as weak alias of __setpriority.
29546         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29547         __getpriority and define as weak alias of __getpriority.
29548         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29549         __setpriority and define as weak alias of __setpriority.
29550         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29551         strong name.
29552         (setpriority): Use __setpriority as strong name.
29553         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29554         __getpriority and define as weak alias of __getpriority.
29555         * include/sys/resource.h (__getpriority): Declare.  Use
29556         libc_hidden_proto.
29557         (__setpriority): Likewise.
29558         (getpriority): Don't use libc_hidden_proto.
29559         (setpriority): Likewise.
29560         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29561         getpriority.  Call __setpriority instead of setpriority.
29562         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29563         Remove variable.
29565         [BZ #18547]
29566         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29567         as weak alias of __getttynam.  Use prototype function definition.
29568         Call __setttyent, __getttyent and __endttyent instead of
29569         setttyent, getttyent and endttyent.
29570         (getttyent): Rename to __getttyent and define as weak alias of
29571         __getttyent.  Call __setttyent instead of setttyent.  Call
29572         __fgets_unlocked instead of fgets_unlocked.
29573         (setttyent): Rename to __setttyent and define as weak alias of
29574         __setttyent.
29575         (endttyent): Rename to __endttyent and define as weak alias of
29576         __endttyent.
29577         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29578         (__setttyent): Likewise.
29579         (__endttyent): Likewise.
29580         (getttyent): Don't use libc_hidden_proto.
29581         (setttyent): Likewise.
29582         (endttyent): Likewise.
29583         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29584         __endttyent instead of setttyent, getttyent and endttyent.
29585         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29586         Remove variable.
29588         [BZ #18546]
29589         * socket/recv.c (__recv): Use libc_hidden_def.
29590         * socket/socket.c (__socket): Likewise.
29591         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29592         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29593         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29594         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29595         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29596         libc_hidden_def.
29597         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29598         libc_hidden_weak.
29599         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29600         Use libc_hidden_proto.
29601         (__recv): Likewise.
29602         * socket/Versions (libc): Export __recv and __socket at version
29603         GLIBC_PRIVATE.
29604         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29605         instead of recv.
29606         (init_mq_netlink): Call __socket instead of socket.
29607         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29608         Remove variable.
29610         [BZ #18545]
29611         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29612         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29613         hidden_weak.
29614         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29615         define as alias of __mq_timedsend.  Use hidden_weak.
29616         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29617         __mq_timedsend as strong name.
29618         (mq_timedreceive): Use __mq_timedreceive as strong name.
29619         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29620         (__mq_timedreceive): Likewise.
29621         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29622         __mq_timedreceive instead of mq_timedreceive.
29623         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29624         instead of mq_timedsend.
29625         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29626         Remove variable.
29628         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29629         hidden_def and hidden_weak instead of libc_hidden_def and
29630         libc_hidden_weak.
29631         (top level): Refer to hidden_def in comment.
29632         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29633         macro.  Use it instead of libc_hidden_def.
29634         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29635         specify __GI_* name explicitly.
29636         (mq_timedreceive): Likewise.
29637         (mq_setattr): Likewise.
29639         [BZ #18544]
29640         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29641         __pthread_barrier_init and define as weak alias of
29642         __pthread_barrier_init.
29643         * sysdeps/sparc/nptl/pthread_barrier_init.c
29644         (pthread_barrier_init): Likewise.
29645         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29646         __pthread_barrier_wait and define as weak alias of
29647         __pthread_barrier_wait.
29648         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29649         (pthread_barrier_wait): Likewise.
29650         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29651         (pthread_barrier_wait): Likewise.
29652         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29653         (pthread_barrier_wait): Likewise.
29654         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29655         (pthread_barrier_wait): Likewise.
29656         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29657         __pthread_barrier_wait at version GLIBC_PRIVATE.
29658         * include/pthread.h (__pthread_barrier_init): Declare.
29659         (__pthread_barrier_wait): Likewise.
29660         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29661         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29662         (helper_thread): Likewise.
29663         (init_mq_netlink): Call __pthread_barrier_init instead of
29664         pthread_barrier_init.
29666         [BZ #18542]
29667         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29668         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29669         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29670         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29671         vswscanf.
29672         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29673         Remove variable.
29675         [BZ #18540]
29676         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29677         strong alias of _IO_fflush.  Use libc_hidden_def.
29678         * libio/iofflush_u.c (fflush_unlocked): Rename to
29679         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29680         Use libc_hidden_weak.
29681         * include/stdio.h (__fflush_unlocked): Declare.  Use
29682         libc_hidden_proto.
29683         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29684         fflush_unlocked.
29685         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29686         Remove variable.
29688         [BZ #18539]
29689         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29690         define as weak alias of __addseverity.
29691         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29692         Remove variable.
29693         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29694         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29695         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29697         [BZ #18536]
29698         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29699         (__tfind): Likewise.
29700         (__tdelete): Likewise.
29701         (__twalk): Likewise.
29702         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29703         __twalk to GLIBC_PRIVATE.
29704         * include/search.h (__tsearch): Use libc_hidden_proto.
29705         (__tfind): Likewise.
29706         (__tdelete): Likewise.
29707         (__twalk): Likewise.
29708         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29709         Call __tdelete instead of tdelete.
29710         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29711         tfind.  Call __tsearch instead of tsearch.
29712         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29713         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29714         Remove variable.
29715         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29717         [BZ #18534]
29718         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29719         (dprintf): Define as a weak alias of __dprintf, not a strong
29720         alias.
29721         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29722         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29723         dprintf.
29724         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29725         Remove variable.
29726         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29727         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29729         [BZ #18533]
29730         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29731         not a strong alias.
29732         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29733         Remove variable.
29735         [BZ #18532]
29736         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29737         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29738         (in6addr_loopback): Rename to __in6addr_loopback and define as
29739         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29740         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29741         libc_hidden_proto.
29742         (__in6addr_any): Likewise.
29743         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29744         in6addr_any.
29745         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29746         variable.
29747         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29749 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29751         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29752         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29753         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29754         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29755         redirections for pow.
29756         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29757         * sysdeps/x86_64/fpu/Versions: New versions added.
29758         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29759         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29760         build of SSE, AVX2 and AVX512 IFUNC versions.
29761         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29762         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29763         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29764         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29765         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29766         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29767         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29768         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29769         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29770         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29771         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29772         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29773         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29774         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29775         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29776         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29777         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29778         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29779         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29780         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29781         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29782         * NEWS: Mention addition of x86_64 vector pow.
29784         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29785         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29786         redirections for expf.
29787         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29788         * sysdeps/x86_64/fpu/Versions: New versions added.
29789         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29790         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29791         build of SSE, AVX2 and AVX512 IFUNC versions.
29792         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29793         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29794         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29795         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29796         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29797         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29798         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29799         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29800         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29801         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29802         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29803         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29804         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29805         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29806         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29807         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29808         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29809         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29810         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29811         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29812         * NEWS: Mention addition of x86_64 vector expf.
29814         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29815         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29816         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29817         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29818         redirections for exp.
29819         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29820         * sysdeps/x86_64/fpu/Versions: New versions added.
29821         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29822         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29823         build of SSE, AVX2 and AVX512 IFUNC versions.
29824         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29825         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29826         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29827         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29828         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29829         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29830         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29831         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29832         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29833         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29834         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29835         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29836         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29837         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29838         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29839         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29840         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29841         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29842         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29843         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29844         * NEWS: Mention addition of x86_64 vector exp.
29846         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29847         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29848         redirections for logf.
29849         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29850         * sysdeps/x86_64/fpu/Versions: New versions added.
29851         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29852         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29853         build of SSE, AVX2 and AVX512 IFUNC versions.
29854         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29855         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29856         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29857         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29858         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29859         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29860         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29861         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29862         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29863         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29864         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29865         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29866         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29867         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29868         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29869         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29870         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29872         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29873         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29874         * NEWS: Mention addition of x86_64 vector logf.
29876         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29877         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29878         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29879         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29880         redirections for log.
29881         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29882         * sysdeps/x86_64/fpu/Versions: New versions added.
29883         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29884         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29885         build of SSE, AVX2 and AVX512 IFUNC versions.
29886         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29887         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29888         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29889         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29890         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29891         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29892         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29893         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29894         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29895         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29896         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29897         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29898         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29899         test.
29900         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29901         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29902         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29903         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29904         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29905         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29906         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29907         * NEWS: Mention addition of x86_64 vector log.
29909 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29911         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29912         cfi_adjust_cfa_offset argument.
29913         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29914         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29916         [BZ #18034]
29917         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29918         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29919         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29920         ordering using ldar.
29921         (_dl_tlsdesc_dynamic): Likewise.
29922         (_dl_tlsdesc_return_lazy): Likewise.
29923         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29924         relaxed atomics instead of volatile and synchronize with release store.
29925         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29926         volatile.
29927         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29929 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29931         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29932         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
29933         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29934         * sysdeps/x86_64/fpu/Versions: New versions added.
29935         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29936         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29937         build of SSE, AVX2 and AVX512 IFUNC versions.
29938         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29939         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29940         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29941         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29942         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29943         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29944         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29945         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29946         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29947         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29948         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29949         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29950         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29951         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29952         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29953         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29954         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29955         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29956         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29957         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29958         * NEWS: Mention addition of x86_64 vector sinf.
29960 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29962         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29963         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29964         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29965         Remove variable.
29966         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29967         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29969 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29971         [BZ #18530]
29972         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29973         strong alias of _IO_fputs.  Use libc_hidden_def.
29974         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29975         and define as weak alias of __fputs_unlocked.  Use
29976         libc_hidden_weak.
29977         * include/stdio.h (__fputs_unlocked): Declare.  Use
29978         libc_hidden_proto.
29979         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29980         fputs_unlocked.
29982         [BZ #18529]
29983         * resolv/netdb.h [__USE_POSIX]: Change condition to
29984         [__USE_XOPEN2K].
29985         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29986         not expect.
29987         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29988         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29989         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29990         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
29991         [XPG4 || UNIX98] (AI_ALL): Likewise.
29992         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
29993         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
29994         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
29995         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
29996         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
29997         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
29998         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
29999         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30000         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30001         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30002         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30003         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30004         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30005         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30006         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30007         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30008         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30009         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30010         [XPG4 || UNIX98] (gai_strerror): Likewise.
30011         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30012         [XPG4 || UNIX98] (getnameinfo): Likewise.
30014         [BZ #18528]
30015         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30016         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30017         __USE_XOPEN2K8].
30018         (getgrent): Likewise.
30019         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30020         expect.
30021         [XPG3 || POSIX2008] (endgrent): Likewise.
30022         [XPG3] (setgrent): Likewise.
30023         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30024         variable.
30025         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30027         [BZ #18527]
30028         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30029         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30030         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30031         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30032         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30033         * include/unistd.h (__getlogin_r): Declare.  Use
30034         libc_hidden_proto.
30035         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30036         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30037         variable.
30038         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30039         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30040         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30042 2015-06-12  Martin Sebor  <msebor@redhat.com>
30044         [BZ #18512]
30045         * Makerules (check-install-supported): New target.
30046         (install): Add check-install-supported as a dependency.
30047         * manual/install.texi (Installing the C Library): Document
30048         that overriding prefix and exec_prefix is not supported.
30049         Mention DESTDIR.
30050         * INSTALL: Regenerate from the above.
30052 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30054         [BZ #18519]
30055         * posix/Versions (libc): Export __libc_pread at version
30056         GLIBC_PRIVATE.
30057         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30058         instead of pread.
30059         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30060         variable.
30062         [BZ #18522]
30063         * misc/efgcvt_r.c
30064         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30065         (cvt_symbol): Use weak_alias instead of strong_alias.
30066         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30067         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30068         Remove variable.
30069         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30070         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30072         [BZ #18520]
30073         * inet/herrno.c (h_errno): Rename to __h_errno.
30074         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30075         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30076         to __h_errno instead of h_errno.
30077         * nptl/herrno.c (h_errno): Rename to __h_errno.
30078         (__h_errno_location): Refer to __h_errno not h_errno.
30079         * resolv/Versions (h_errno): Rename to __h_errno.
30080         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30081         Remove variable.
30082         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30084 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30086         * configure.ac: More strict check for AVX512 assembler support.
30087         * configure: Regenerated.
30089         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30090         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30091         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30092         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30093         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30094         * sysdeps/x86_64/fpu/Versions: New versions added.
30095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30096         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30097         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30098         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30099         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30100         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30101         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30102         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30103         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30104         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30105         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30106         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30107         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30108         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30109         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30110         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30111         test.
30112         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30113         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30114         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30115         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30116         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30117         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30118         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30119         * NEWS: Mention addition of x86_64 vector sin.
30121 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30123         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30124         comment.
30126 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30128         [BZ #18479]
30129         * nptl/pt-interp.c: New file.
30130         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30131         Add pt-interp.
30132         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30133         $(common-objpfx)runtime-linker.h.
30135 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30137         * Makeconfig (+interp): Remove unused variable.
30138         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30139         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30140         $(elf-objpfx)runtime-linker.h.
30141         ($(elf-objpfx)runtime-linker.h): Rename to
30142         $(common-objpfx)runtime-linker.h and move ...
30143         * Makerules [$(build-shared) = yes]: ... here.
30144         * elf/interp.c: Include <runtime-linker.h> instead of
30145         <elf/runtime-linker.h>.
30147 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30149         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30150         (__gettimeofday_syscall): Remove vsyscall fallback.
30151         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30152         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30153         Add syscall fallback function.
30154         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30155         if vDSO is not present.
30156         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30157         fallback function.
30158         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30159         present.
30160         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30161         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30163 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30165         [BZ #18497]
30166         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30167         of wcscmp.
30168         (wcscmp): Define as weak alias of WCSCMP.
30169         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30170         wcscoll.
30171         (USE_HIDDEN_DEF): Define.
30172         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30173         __wcscoll.  Don't use libc_hidden_weak.
30174         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30175         wcscmp.
30176         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30177         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30178         __GI_wcscmp.
30179         (weak_alias): Undefine and redefine.
30180         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30181         __wcscmp and define as weak alias of __wcscmp.
30182         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30183         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30184         (__wcscoll): Likewise.
30185         (wcscmp): Don't use libc_hidden_proto.
30186         (wcscoll): Likewise.
30187         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30188         wcscoll.
30189         * posix/regexec.c (check_node_accept_bytes): Likewise.
30190         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30191         variable.
30192         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30193         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30195         [BZ #18507]
30196         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30197         __fstatvfs and define as weak alias of __fstatvfs.  Use
30198         libc_hidden_weak.
30199         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30200         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30201         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30202         Define as alias of __fstatvfs, not fstatvfs.
30203         (fstatvfs64): Likewise.
30204         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30205         Define as alias of __statvfs, not statvfs.
30206         (statvfs64): Likewise.
30207         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30208         Remove variable.
30210 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30213         (HAVE_GETCPU_VSYSCALL): Define.
30214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30215         (HAVE_GETCPU_VSYSCALL): Likewise.
30216         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30217         * sysdeps/unix/sysv/linux/sched_getcpu.c
30218         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30219         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30220         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30221         prototype.
30222         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30223         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30224         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30225         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30226         Define.
30227         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30228         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30229         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30230         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30232 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30234         * sysdeps/x86_64/fpu/Makefile: New file.
30235         * sysdeps/x86_64/fpu/Versions: New file.
30236         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30237         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30238         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30239         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30240         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30241         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30242         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30243         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30244         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30245         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30246         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30247         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30248         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30249         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30250         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30251         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30252         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30253         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30254         * sysdeps/x86_64/configure: Regenerated.
30255         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30256         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30257         * manual/install.texi (Configuring and compiling): Document
30258         --disable-mathvec.
30259         * INSTALL: Regenerated.
30260         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30262         * math/Makefile: Added rules for vector tests.
30263         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30264         declaration under condition.
30265         * math/test-double-vlen2.h: New file.
30266         * math/test-double-vlen4.h: New file.
30267         * math/test-double-vlen8.h: New file.
30268         * math/test-vec-loop.h: Added initialization macro.
30269         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30270         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30271         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30272         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30273         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30274         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30275         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30276         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30277         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30278         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30279         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30281         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30282         * sysdeps/x86_64/fpu/Versions: New versions added.
30283         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30284         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30285         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30286         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30287         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30288         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30289         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30290         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30291         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30292         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30293         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30294         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30295         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30296         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30297         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30298         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30299         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30300         * NEWS: Mention addition of x86_64 vector cosf.
30302         * math/Makefile: Added CFLAGS for new tests.
30303         * math/test-float-vlen16.h: New file.
30304         * math/test-float-vlen4.h: New file.
30305         * math/test-float-vlen8.h: New file.
30306         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30307         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30308         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30309         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30310         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30311         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30312         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30313         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30314         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30315         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30316         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30318 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30320         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30321         * locale/programs/ld-ctype.c: Likewise.
30323 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30325         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30326         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30327         bit_ZMM16_31_state): New macro.
30328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30329         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30331 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30333         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30335 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30337         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30339 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30341         [BZ #18498]
30342         * libio/memstream.c (open_memstream): Rename to __open_memstream
30343         and define as weak alias of __open_memstream.
30344         * include/stdio.h (__open_memstream): Declare.  Use
30345         libc_hidden_proto.
30346         (open_memstream): Don't use libc_hidden_proto.
30347         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30348         open_memstream.
30349         * posix/getopt.c (_getopt_internal_r): Likewise.
30350         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30351         variable.
30352         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30353         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30354         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30356         [BZ #18496]
30357         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30358         instead of wcrtomb.
30360         [BZ #18483]
30361         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30362         [__USE_XOPEN2K8].  Remove redundant #endif.
30363         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30364         Remove redundant #if.
30365         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30366         Remove variable.
30367         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30368         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30370         [BZ #18495]
30371         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30372         (__iswlower): Likewise.
30373         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30374         (__iswlower): Likewise.
30375         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30376         instead of towlower.
30377         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30378         instead of iswlower.  Call __towupper instead of towupper.
30379         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30380         instead of iswalnum.
30382 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30384         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30385         errors to stderr.
30387 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30389         [BZ #15661]
30390         [BZ #17322]
30391         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30392         Check for overflow properly.  Check for O_APPEND.  Ignore large
30393         file system block sizes.  Add comments about problems.
30394         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30395         * manual/filesys.texi (Storage Allocation): New node.
30397 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30399         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30400         cancellable syscalls.
30401         (SYS_ify): Add guard to no redefine it.
30402         (INLINE_SYSCALL): Likewise.
30403         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30404         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30405         SYSCALL_CANCEL instead.
30406         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30407         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30408         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30409         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30410         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30411         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30412         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30413         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30414         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30415         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30416         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30417         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30418         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30419         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30420         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30421         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30422         Likewise.
30423         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30424         (__libc_pread64): Likewise.
30425         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30426         (__libc_preadv): Likewise.
30427         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30428         (__libc_readv64): Likewise.
30429         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30430         (__libc_pwrite): Likewise.
30431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30432         (__libc_pwrite64): Likewise.
30433         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30434         (__libc_pwritev): Likewise.
30435         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30436         (__libc_pwritev64): Likewise.
30437         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30438         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30439         (sync_file_range): Likewise.
30440         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30441         Likewise.
30442         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30443         Likewise.
30444         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30445         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30446         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30447         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30448         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30449         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30450         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30451         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30453         Likewise.
30454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30455         (__libc_read64): Likewise.
30456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30457         Likewise.
30458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30459         Likewise.
30460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30461         Likewise.
30462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30463         Likewise.
30464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30465         (__libc_pread64): Likewise.
30466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30467         Likewise.
30468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30469         (__libc_pwrite64): Likewise.
30470         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30471         (sync_file_range): Likewise.
30472         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30473         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30474         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30475         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30476         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30477         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30478         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30479         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30480         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30481         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30482         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30483         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30484         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30485         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30486         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30487         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30488         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30489         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30490         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30491         Likewise.
30492         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30493         Likewise.
30494         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30495         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30496         Likewise.
30497         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30498         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30499         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30500         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30501         Likewise.
30502         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30503         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30504         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30505         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30506         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30508 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30510         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30511         Include dl-vdso.
30512         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30513         Use VDSO routines for gettimeofday, clock_gettime if
30514         available.
30515         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30516         Declare VDSO symbols.
30517         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30518         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30519         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30520         * sysdeps/unix/sysv/linux/arm/Versions: Add
30521         __vdso_clock_gettime.
30523 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30525         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30526         be an inline implementation regardless of library is built within.
30527         (open_not_cancel_2): Likewise.
30528         (__read_nocancel): Likewise.
30529         (__write_nocancel): Likewise.
30530         (openat_not_cancel): Likewise.
30531         (openat_not_cancel_3): Likewise.
30532         (openat64_not_cancel): Likewise.
30533         (openat64_not_cancel_3): Likewise.
30534         (__close_nocancel): Likewise.
30535         (pause_not_cancel): Likewise.
30536         (nanosleep_not_cancel): Likewise.
30537         (sigsuspend_not_cancel): Likewise.
30539 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30541         [BZ #14958]
30542         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30543         wake-up.
30544         (__pthread_rwlock_rdlock_slow): Likewise.
30545         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30546         Likewise.
30547         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30548         Likewise.
30549         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30550         * nptl/tst-rwlock16.c: New file.
30551         * nptl/Makefile (tests): Add new test.
30553 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30555         [BZ #18324]
30556         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30557         missing wake-up of readers.
30558         * nptl/tst-rwlock15.c: New file.
30559         * nptl/Makefile (tests): Add new test.
30561 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30563         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30564         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30565         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30566         and __nacl_supply_interface_rtld.
30567         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30568         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30569         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30570         Add __nacl_supply_interface_rtld.
30571         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30573 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30575         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30576         isfinite.
30577         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30578         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30580 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30582         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30583         __signbit* with standard C99 macros.
30584         * math/e_exp10l.c: Likewise.
30585         * math/e_exp2l.c: Likewise.
30586         * math/e_scalb.c: Likewise.
30587         * math/e_scalbf.c: Likewise.
30588         * math/e_scalbl.c: Likewise.
30589         * math/s_ldexp.c: Likewise.
30590         * math/s_ldexpf.c: Likewise.
30591         * math/s_ldexpl.c: Likewise.
30592         * math/w_atan2.c: Likewise.
30593         * math/w_atan2f.c: Likewise.
30594         * math/w_atan2l.c: Likewise.
30595         * math/w_cosh.c: Likewise.
30596         * math/w_coshf.c: Likewise.
30597         * math/w_coshl.c: Likewise.
30598         * math/w_exp10.c: Likewise.
30599         * math/w_exp10f.c: Likewise.
30600         * math/w_exp10l.c: Likewise.
30601         * math/w_exp2.c: Likewise.
30602         * math/w_exp2f.c: Likewise.
30603         * math/w_exp2l.c: Likewise.
30604         * math/w_fmod.c: Likewise.
30605         * math/w_fmodf.c: Likewise.
30606         * math/w_fmodl.c: Likewise.
30607         * math/w_hypot.c: Likewise.
30608         * math/w_hypotf.c: Likewise.
30609         * math/w_hypotl.c: Likewise.
30610         * math/w_jnl.c: Likewise.
30611         * math/w_lgamma.c: Likewise.
30612         * math/w_lgamma_r.c: Likewise.
30613         * math/w_lgammaf.c: Likewise.
30614         * math/w_lgammaf_r.c: Likewise.
30615         * math/w_lgammal.c: Likewise.
30616         * math/w_lgammal_r.c: Likewise.
30617         * math/w_pow.c: Likewise.
30618         * math/w_powf.c: Likewise.
30619         * math/w_powl.c: Likewise.
30620         * math/w_remainder.c: Likewise.
30621         * math/w_remainderf.c: Likewise.
30622         * math/w_remainderl.c: Likewise.
30623         * math/w_scalb.c: Likewise.
30624         * math/w_scalbf.c: Likewise.
30625         * math/w_scalbl.c: Likewise.
30626         * math/w_scalbln.c: Likewise.
30627         * math/w_scalblnf.c: Likewise.
30628         * math/w_scalblnl.c: Likewise.
30629         * math/w_sinh.c: Likewise.
30630         * math/w_sinhf.c: Likewise.
30631         * math/w_sinhl.c: Likewise.
30632         * math/w_tgamma.c: Likewise.
30633         * math/w_tgammaf.c: Likewise.
30634         * math/w_tgammal.c: Likewise.
30635         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30636         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30637         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30638         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30639         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30640         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30641         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30642         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30643         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30644         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30645         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30646         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30647         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30648         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30649         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30650         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30651         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30652         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30653         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30654         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30655         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30656         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30657         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30658         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30659         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30660         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30661         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30662         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30663         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30664         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30665         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30666         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30667         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30668         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30669         * stdio-common/printf_fp.c: Likewise.
30670         * stdio-common/printf_fphex.c: Likewise.
30671         * stdio-common/printf_size.c: Likewise.
30673 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30675         [BZ #18470]
30676         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30677         strnlen.
30678         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30679         Remove variable.
30680         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30681         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30682         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30683         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30684         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30685         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30686         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30687         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30688         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30689         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30691         [BZ #18468]
30692         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30693         weak alias of __wmemchr.  Use libc_hidden_weak.
30694         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30695         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30696         instead of wmemchr.
30698 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30700         [BZ #18383]
30701         * elf/tst-tlsalign-extern.c: New file.
30702         * elf/tst-tlsalign-extern-static.c: New file.
30703         * elf/tst-tlsalign-vars.c: New file.
30704         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30705         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30706         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30707         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30708         (test-xfail-tst-tlsalign-extern-static): New variable.
30710 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30712         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30713         Use variable name _sc_err instead of err.
30714         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30715         instead of ret.
30716         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30717         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30718         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30719         (INLINE_SYSCALL): Likewise.
30721         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30722         * include/string.h (__strnlen): Use libc_hidden_proto.
30723         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30724         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30725         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30726         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30727         (libc_hidden_def): Undefine and redefine.
30728         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30729         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30730         __GI_strnlen.
30731         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30732         libc_hidden_def.
30733         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30735         [BZ #18469]
30736         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30737         weak alias of __towlower.  Use libc_hidden_weak.
30738         (towupper): Rename to __towupper and define as weak alias of
30739         __towupper.  Use libc_hidden_weak.
30740         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30741         (__towupper): Likewise.
30742         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30743         __towlower instead of towlower.
30745 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30747         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30748         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30750 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30752         * sysdeps/aarch64/libm-test-ulps: Update.
30754 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30756         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30757         Define.
30758         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30759         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30760         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30761         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30762         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30763         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30764         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30766 2015-06-01  Martin Sebor  <msebor@redhat.com>
30768         [BZ #18116]
30769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30770         (__setcontext): Use extended four-operand version of mtsf whenever
30771         possible.
30772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30773         (__novec_swapcontext): Likewise.
30775 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30777         * benchtests/scripts/compare_bench.py: New file.
30778         * benchtests/scripts/import_bench.py (mean): New function.
30779         (split_list): Likewise.
30780         (do_for_all_timings): Likewise.
30781         (compress_timings): Likewise.
30783         * benchtests/scripts/import_bench.py: New file.
30784         * benchtests/scripts/validate_benchout.py: Import import_bench
30785         instead of jsonschema.
30786         (validate_bench): Remove function.
30787         (main): Use import_bench.
30789 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30791         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30792         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30794 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30798 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30800         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30801         set THREAD_SELF->tid to a magic value and futex-wake it.
30802         Pass its address to the thread_exit system call.
30803         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30804         bit is clear.
30805         * sysdeps/nacl/lowlevellock.h: New file.
30806         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30808         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30809         Add TIMEOUT to current time, don't subtract it.
30811 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30813         [BZ #2981]
30814         [BZ #18422]
30815         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30816         ($(objpfx)tst-audit2.out): Also depend on
30817         $(objpfx)tst-auditmod9b.so.
30818         * elf/tst-audit2.c: Include <dlfcn.h>.
30819         (calloc_called): New.
30820         (calloc): Allow to be called more than once.
30821         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30823 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30825         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30826         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30828 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30830         * stdlib/monetary.h: Fix comment.
30832 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30834         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30835         Avoid using variables in #defines that might cause shadowing.
30836         (INTERNAL_VSYSCALL_CALL): Likewise.
30838 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30840         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30842         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30843         * nptl/lll_timedlock_wait.c: ... to this new file.
30844         * nptl/Makefile (libpthread-routines): Add it.
30845         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30846         * nptl/lll_timedwait_tid.c: ... to this new file.
30847         * nptl/Makefile (libpthread-routines): Add it.
30848         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30849         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30850         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30851         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30852         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30853         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30854         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30855         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30856         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30857         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30859 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30861         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30862         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30863         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30864         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30865         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30866         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30867         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30869         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30870         * sysdeps/unix/sysv/linux/tile/sysdep.h
30871         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30872         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30873         using vDSO syscall macro.
30875 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30877         [BZ #17293]
30878         * uk_UA: Fix sorting order for Ukrainian locale
30880 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30882         * stdlib/monetary.h: Fix comment.
30884 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30886         [BZ #18234]
30887         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30888         st_mtim and st_ctim members.
30889         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30890         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30891         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30892         (struct stat64): Likewise.
30893         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30894         (struct stat64): Likewise.
30895         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30896         (struct stat64): Likewise.
30898 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30900         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30901         Define and include sysdep-vdso.h.
30902         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30903         Likewise.
30904         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30905         Likewise.
30906         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30907         Define with VDSO_SYMBOL and use PTR_MANGLE.
30908         (__vdso_clock_gettime): Likewise.
30909         (__vdso_clock_getres): Likewise.
30910         (_libc_vdso_platform_setup): Likewise.
30911         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30912         Likewise.
30913         (_libc_vdso_platform_setup): Likewise.
30914         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30915         Likewise.
30916         (__vdso_clock_gettime): Likewise.
30917         (__vdso_clock_getres): Likewise.
30918         (__vdso_get_tbfreq): Likewise.
30919         (__vdso_getcpu): Likewise.
30920         (__vdso_time): Likewise.
30921         (__vdso_sigtramp_rt64): Likewise.
30922         (__vdso_signtramp32): Likewise.
30923         (__vdso_sigtramp_rt32): Likewise.
30924         (_libc_vdso_platform_setup): Likewise.
30925         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30926         Likewise.
30927         (__vdso_clock_gettime): Likewise.
30928         (__vdso_clock_getres): Likewise.
30929         (_libc_vdso_platform_setup): Likewise.
30930         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30931         Likewise.
30932         (__vdso_clock_gettime): Likewise.
30933         (_libc_vdso_platform_setup): Likewise.
30934         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30935         Likewise.
30936         (__vdso_getcpu): Likewise.
30937         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30938         Use VDSO_SYMBOL macro to define.
30939         (__vdso_clock_gettime): Likewise.
30940         (__vdso_clock_getres): Likewise.
30941         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30942         Likewise.
30943         (__vdso_clock_gettime): Likewise.
30944         (__vdso_clock_getres): Likewise.
30945         (__vdso_get_tbfreq): Likewise.
30946         (__vdso_getcpu): Likewise.
30947         (__vdso_time): Likewise.
30948         (__vdso_sigtramp_rt64): Likewise.
30949         (__vdso_signtramp32): Likewise.
30950         (__vdso_sigtramp_rt32): Likewise.
30951         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30952         Likewise.
30953         (__vdso_clock_gettime): Likewise.
30954         (__vdso_clock_getres): Likewise.
30955         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30956         Likewise.
30957         (__vdso_clock_gettime): Likewise.
30958         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30959         Likewise.
30960         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30961         macro.
30962         (INTERNAL_VSYSCALL): Likewise.
30963         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30964         Remove macro.
30965         (INTERNAL_VSYSCALL): Likewise.
30966         (INTERNAL_VSYSCALL_NCS): Likewise.
30967         (INTERNAL_VSYSCALL_CALL): New macro.
30968         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30969         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30970         Likewise.
30971         (INTERNAL_VSYSCALL): Likewise.
30972         (INTERNAL_VSYSCALL_NCS): Likewise.
30973         (INTERNAL_VSYSCALL_CALL): New macro.
30974         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30976         (INLINE_VSYSCALL): Remove macro.
30977         (INTERNAL_VSYSCALL): Remove macro.
30978         (INTERNAL_VSYSCALL_NCS): Remove macro.
30979         (INTERNAL_VSYSCALL_CALL): New macro.
30980         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30981         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30982         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30983         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30984         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30986         (INLINE_VSYSCALL): Remove macro.
30987         (INTERNAL_VSYSCALL): Likewise.
30988         (INTERNAL_VSYSCALL_NCS): Likewise.
30989         (INTERNAL_VSYSCALL_CALL): New macro.
30990         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
30991         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
30992         PTR_DEMANGLE on vDSO pointer.
30993         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30994         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
30995         macro.
30996         (INTERNAL_SYSCALL): Likewise.
30997         (INTERNAL_VSYSCALL_NCS): Remove macro.
30998         (INTERNAL_VSYSCALL_CALL): New macro.
30999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31000         Remove macro.
31001         (INTERNAL_VSYSCALL): Likewise.
31002         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31003         sysdep-vdso.h instead of libc-vdso.h.
31004         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31005         definition.
31006         (INLINE_VSYSCALL): Likewise.
31007         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31008         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31009         definition.
31010         (INLINE_VSYSCALL): Likewise.
31011         (INTERNAL_VSYSCALL): Likewise.
31012         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31013         * sysdeps/unix/sysv/linux/timespec_get.c
31014         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31015         (timespec_get): Use ANSI prototype.
31016         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31017         and definition for Linux.
31019 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31021         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31022         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31024 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31026         [BZ #2981]
31027         [BZ #18410]
31028         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31029         for missing DT_PLTRELSZ.
31031 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31033         Remove obsolete aliases that broke 'locale -a'
31034         [BZ #18412]
31035         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31036         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31037         breaking some applications that use 'locale -a' output.
31038         Change the encoding of this file from Latin-1 to ASCII to avoid
31039         other potential problems with people grepping this file.
31041 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31043         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31044         -fasynchronous-unwind-tables.
31045         (CFLAGS-sendto.c): Likewise.
31046         (CFLAGS-sendmsg.c): Likewise.
31047         (CFLAGS-connect.c): Likewise.
31048         (CFLAGS-recvmsg.c): Likewise.
31049         (CFLAGS-recvfrom.c): Likewise.
31050         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31051         (SOCKETCALL): New macro: non-cancellable socketcall.
31052         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31053         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31054         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31055         * sysdeps/unix/sysv/linux/accept.c: New file.
31056         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31057         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31058         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31059         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31060         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31061         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31062         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31063         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31064         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31065         * sysdeps/unix/sysv/linux/send.c: Likewise.
31066         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31067         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31068         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31069         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31070         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31071         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31072         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31073         prototype.
31074         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31075         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31076         instead of __internal_xxx function.
31077         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31078         prototype.
31079         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31080         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31081         instead of __internal_xxx function.
31082         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31083         prototype.
31084         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31085         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31086         instead of __internal_xxx function.
31087         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31088         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31089         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31090         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31091         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31092         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31093         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31094         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31095         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31096         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31097         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31098         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31099         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31100         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31101         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31102         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31103         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31104         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31105         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31106         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31109         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31110         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31111         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31112         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31113         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31114         * sysdeps/unix/sysv/linux/send.S: Likewise.
31115         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31116         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31117         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31118         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31119         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31120         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31121         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31122         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31123         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31124         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31125         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31126         socketcall is implemented in GLIBC.
31128 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31130         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31131         (__fma): Ignore uninitialized warnings around packing.
31132         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31133         (__fmaf): Ignore uninitialized warnings around packing.
31134         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31135         (__fmal): Ignore uninitialized warnings around packing.
31137         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31138         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31139         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31140         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31142         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31143         switch statement into default case.
31144         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31146         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31147         a conditional in forcing "inexact".
31148         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31149         Likewise.
31151 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31153         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31154         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31155         for each INTERNAL_SYSCALL use.
31157 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31159         [BZ #438]
31160         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31161         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31162         variable.
31164         [BZ #18444]
31165         * string/basename.c (basename): Rename to __basename and define as
31166         weak alias of __basename.  Use libc_hidden_weak.
31167         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31168         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31169         __basename instead of basename.
31170         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31171         Remove variable.
31172         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31174 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31176         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31177         (_IO_JUMPS_FILE_plus): New.
31178         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31179         _IO_CAST_FIELD_ACCESS.
31180         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31181         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31182         * libio/freopen.c (freopen): Likewise.
31183         * libio/freopen64.c (freopen64): Likewise.
31184         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31185         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31186         * libio/iofwide.c (_IO_fwide): Likewise.
31187         * libio/memstream.c (open_memstream): Likewise.
31188         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31189         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31190         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31192 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31194         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31195         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31196         NADJ.
31197         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31198         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31199         NADJ.
31200         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31201         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31202         NADJ.
31204         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31205         (p == 4) case.
31207         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31208         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31209         Remove variable.
31210         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31211         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31212         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31214 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31216         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31217         Adjust jump table label generation macros.
31219 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31221         * stdio-common/vfprintf.c (vfprintf): Move local variables
31222         args_malloced, specs, specs_malloced, and the code after
31223         do_positional to the printf_positional function.
31224         (printf_positional): New function.
31226 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31228         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31229         function.
31230         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31231         STEP4_TABLE, process_arg): Move macro definitions
31232         out of the vfprintf function.  (Cosmetic change only.)
31234 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31236         * benchtests/Makefile (stdio-common-bench): Define.
31237         (benchset): Add stdio-common-bench.
31238         * sprintf-inputs: New file.
31239         * sprintf-source.c: New file.
31241 2015-05-21  Andreas Schwab  <schwab@suse.de>
31243         [BZ #13028]
31244         [BZ #17053]
31245         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31246         of struct __res_state.
31247         * resolv/res_send.c (__libc_res_nsend): Likewise.
31248         (get_nsaddr): New function.
31249         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31250         statp directly.
31252 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31254         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31255         -D_POSIX_C_SOURCE=199506L.
31257         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31259         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31260         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31261         Do not mention otherwise.
31262         [POSIX] (_XOPEN_VERSION): Do not expect.
31263         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31264         [POSIX] (_POSIX2_C_BIND): Likewise.
31265         [POSIX] (_POSIX2_VERSION): Likewise.
31266         [POSIX] (_XOPEN_XPG2): Likewise.
31267         [POSIX] (_XOPEN_XPG3): Likewise.
31268         [POSIX] (_XOPEN_XPG4): Likewise.
31269         [POSIX] (_XOPEN_UNIX): Likewise.
31270         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31271         [POSIX] (_POSIX_BARRIERS): Likewise.
31272         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31273         [POSIX] (_POSIX_CPUTIME): Likewise.
31274         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31275         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31276         [POSIX] (_POSIX_SHELL): Likewise.
31277         [POSIX] (_POSIX_SPAWN): Likewise.
31278         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31279         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31280         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31281         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31282         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31283         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31284         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31285         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31286         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31287         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31288         [POSIX] (_POSIX2_PBS): Likewise.
31289         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31290         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31291         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31292         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31293         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31294         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31295         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31296         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31297         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31298         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31299         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31300         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31301         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31302         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31303         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31304         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31305         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31306         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31307         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31308         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31309         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31310         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31311         [POSIX] (_SC_2_C_BIND): Likewise.
31312         [POSIX] (_SC_2_C_VERSION): Likewise.
31313         [POSIX] (_SC_2_PBS): Likewise.
31314         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31315         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31316         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31317         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31318         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31319         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31320         [POSIX] (_SC_BARRIERS): Likewise.
31321         [POSIX] (_SC_BASE): Likewise.
31322         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31323         [POSIX] (_SC_DEVICE_IO): Likewise.
31324         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31325         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31326         [POSIX] (_SC_FD_MGMT): Likewise.
31327         [POSIX] (_SC_FIFO): Likewise.
31328         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31329         [POSIX] (_SC_FILE_LOCKING): Likewise.
31330         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31331         [POSIX] (_SC_IOV_MAX): Likewise.
31332         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31333         [POSIX] (_SC_NETWORKING): Likewise.
31334         [POSIX] (_SC_PAGE_SIZE): Likewise.
31335         [POSIX] (_SC_PASS_MAX): Likewise.
31336         [POSIX] (_SC_PIPE): Likewise.
31337         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31338         [POSIX] (_SC_REGEXP): Likewise.
31339         [POSIX] (_SC_SHELL): Likewise.
31340         [POSIX] (_SC_SIGNALS): Likewise.
31341         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31342         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31343         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31344         [POSIX] (_SC_USER_GROUPS): Likewise.
31345         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31346         [POSIX] (_SC_STREAMS): Likewise.
31347         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31348         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31349         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31350         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31351         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31352         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31353         [POSIX] (_PC_FILESIZEBITS): Likewise.
31354         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31355         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31356         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31357         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31358         [POSIX] (uid_t): Likewise.
31359         [POSIX] (gid_t): Likewise.
31360         [POSIX] (off_t): Likewise.
31361         [POSIX] (pid_t): Likewise.
31362         [POSIX] (cuserid): Allow.
31363         (_SC_2_CHAR_TERM): Require constant.
31364         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31365         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31366         variable.
31368 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31370         * sysdeps/nacl/pthread-pids.h: New file.
31371         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31372         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31374         * nptl/pthread-pids.h: New file.
31375         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31376         * nptl/nptl-init.c: Include <pthread-pids.h>.
31377         (__pthread_initialize_minimal_internal):
31378         Call __pthread_initialize_pids instead of set_tid_address syscall.
31380         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31381         * sysdeps/posix/usleep.c: ... here.
31383 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31385         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31386         call_pselect6 object.
31387         [$(subdir) = io]: Remove call_sync_file_range object.
31388         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31389         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31390         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31391         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31393 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31395         * math/s_cproj.c: Add include "math_private.h".
31396         * math/s_cprojf.c: Likewise.
31397         * math/s_cprojl.c: Likewise.
31399 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31401         [BZ #18244]
31402         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31403         high mantissa bit when testing whether P is a NaN.
31404         * math/libm-test.inc (remainder_test_data): Add more tests.
31405         (remquo_test_data): Likewise.
31407         [BZ #18049]
31408         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31409         below -32, return the argument, with underflow if subnormal.
31410         * math/auto-libm-test-in: Add more tests of atanh.
31411         * math/auto-libm-test-out: Regenerated.
31413 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31415         [BZ #18434]
31416         * nptl/tst-sem15.c: New file.
31417         * nptl/Makefile (tests): Add it.
31418         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31419         s/<</>>/ to fix typo in EOVERFLOW check.
31420         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31422 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31424         * manual/strings.texi (envz_remove): Fix typo in safety
31425         annotations.
31427 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31428             Steve Ellcey  <sellcey@imgtec.com>
31430         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31431         in order to avoid strict alias warnings.
31432         (iruserok_af): Ditto for ra.
31434 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31436         [BZ #17581]
31437         * malloc/hooks.c
31438         (magicbyte): Convert to a function and avoid returning 0x01.
31439         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31440         (mem2chunk_check): Fix unsigned comparisons to zero.
31441         Hoist defs of sz and magic.
31443 2015-05-19  Richard Henderson  <rth@redhat.com>
31445         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31447         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31449 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31451         [BZ #16159]
31452         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31453         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31454         (reused_arena): Find a non-corrupt arena.
31455         (heap_trim): Pass arena to unlink.
31456         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31457         malloc_printerr.
31458         (top_check): Likewise.
31459         (free_check): Likewise.
31460         (realloc_check): Likewise.
31461         * malloc/malloc.c (malloc_printerr): Add arena argument.
31462         (unlink): Likewise.
31463         (munmap_chunk): Adjust.
31464         (ARENA_CORRUPTION_BIT): New macro.
31465         (arena_is_corrupt): Likewise.
31466         (set_arena_corrupt): Likewise.
31467         (sysmalloc): Use mmap if there are no usable arenas.
31468         (_int_malloc): Likewise.
31469         (__libc_malloc): Don't fail if arena_get returns NULL.
31470         (_mid_memalign): Likewise.
31471         (__libc_calloc): Likewise.
31472         (__libc_realloc): Adjust for additional argument to
31473         malloc_printerr.
31474         (_int_free): Likewise.
31475         (malloc_consolidate): Likewise.
31476         (_int_realloc): Likewise.
31477         (_int_memalign): Don't touch corrupt arenas.
31478         * malloc/tst-malloc-backtrace.c: New test case.
31480         * Makefile (summarize-tests): Fix return value on success.
31482         * manual/string.texi (Envz Functions): Add envz_remove.
31484 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31486         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31487         (invalid_name): New function, broken out of ...
31488         (__opendirat): ... here.  Call it.
31489         (need_isdir_precheck): New function, broken out of ...
31490         (__opendirat): ... here.  Call it.
31491         Use __fxstatat64, not __xstatat64.
31492         (opendir_oflags): New function, broken out of ...
31493         (__opendirat): ... here.  Call it.
31494         (opendir_tail): New function, broken out of ...
31495         (__opendirat): ... here.  Call it.
31496         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31497         opendir_tail, rather than punting to __opendirat.
31498         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31500 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31502         * .gitignore: Ignore generated *.pyc.
31504 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31506         * include/stdio.h: Define __need_wint_t.
31507         * test-skeleton.c: Avoid `for' loop initial declaration.
31508         * nptl/tst-initializers1.c: Use test-skeleton.c.
31510 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31512         [BZ #18418]
31513         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31515 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31517         [BZ #16352]
31518         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31519         (__ieee754_atanh): Force underflow exception for results with
31520         small absolute value.
31521         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31522         (__ieee754_atanhf): Force underflow exception for results with
31523         small absolute value.
31524         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31525         (__ieee754_atanh): Force underflow exception for results with
31526         small absolute value.
31527         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31528         (__ieee754_atanhf): Force underflow exception for results with
31529         small absolute value.
31530         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31531         (__ieee754_atanhl): Force underflow exception for results with
31532         small absolute value.
31533         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31534         (__ieee754_atanhl): Force underflow exception for results with
31535         small absolute value.
31536         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31537         (__ieee754_atanhl): Force underflow exception for results with
31538         small absolute value.
31539         * math/auto-libm-test-in: Do not allow missing underflow
31540         exceptions from atanh.
31541         * math/auto-libm-test-out: Regenerated.
31543         [BZ #18221]
31544         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31545         2**-28 as threshold for returning x or +/- 1/x.
31546         * math/auto-libm-test-in: Add more tests of tan.
31547         * math/auto-libm-test-out: Regenerated.
31549         [BZ #18220]
31550         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31551         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31552         * math/auto-libm-test-in: Add another test of lgamma.
31553         * math/auto-libm-test-out: Regenerated.
31555 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31557         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31558         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31559         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31560         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31561         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31562         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31563         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31564         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31565         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31566         (log1): Use fabs.  (my_log2): Use fabs.
31567         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31568         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31569         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31570         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31571         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31572         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31573         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31574         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31575         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31576         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31577         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31579 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31581         [BZ #18217]
31582         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31583         as threshold for returning 1 - x.
31584         * math/auto-libm-test-in: Add more tests of erfc.
31585         * math/auto-libm-test-out: Regenerated.
31587 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31589         [BZ #18196]
31590         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31591         threshold for large arguments.
31592         * math/auto-libm-test-in: Add another test of atan.
31593         * math/auto-libm-test-out: Regenerated.
31595         [BZ #16339]
31596         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31597         (__log1p): Force underflow exception for results with small
31598         absolute value.
31599         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31600         (__log1pf): Force underflow exception for results with small
31601         absolute value.
31602         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31603         (__log1p): Force underflow exception for results with small
31604         absolute value.
31605         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31606         (__log1pf): Force underflow exception for results with small
31607         absolute value.
31608         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31609         (__log1pl): Force underflow exception for results with small
31610         absolute value.
31611         * math/auto-libm-test-in: Do not allow missing underflow
31612         exceptions from log1p.
31613         * math/auto-libm-test-out: Regenerated.
31615 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31616             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31618         [BZ #16704]
31619         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31621 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31623         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31624         (libmvec): New variable.
31625         * configure.ac: Added option for mathvec build.
31626         * configure: Regenerated.
31627         * mathvec/Depend: New file.
31628         * mathvec/Makefile: New file.
31629         * shlib-versions: Added libmvec.
31630         * math/Makefile: Added rule for libm.so installation.
31632         * bits/math-vector.h: New file.
31633         * bits/libm-simd-decl-stubs.h: New header.
31634         * math/Makefile (headers): Added new header
31635         libm-simd-decl-stubs.h.
31636         * math/math.h (__MATHCALL_VEC): New macro.
31638         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31639         for conditions in testing functions.
31640         * math/Makefile: Added call of libm-have-vector-test.sh.
31641         * math/libm-test.inc (HAVE_VECTOR): New macros.
31643         * math/libm-test.inc: START refactored.
31644         * math/test-double.c (TEST_MATHVEC): Add define.
31645         * math/test-float.c: Likewise.
31646         * math/test-idouble.c: Likewise.
31647         * math/test-ifloat.c: Likewise.
31648         * math/test-ildoubl.c: Likewise.
31649         * math/test-ldouble.c: Likewise.
31650         * sysdeps/generic/math-tests-arch.h
31651         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31652         architecture check.
31654         * math/test-double.c (FUNC_TEST): New macro.
31655         * math/test-float.c: Likewise.
31656         * math/test-idouble.c: Likewise.
31657         * math/test-ifloat.c: Likewise.
31658         * math/test-ildoubl.c: Likewise.
31659         * math/test-ldouble.c: Likewise.
31660         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31662 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31664         * sysdeps/nacl/fdopendir.c: New file.
31666         * dirent/scandir-tail.c: New file.
31667         * dirent/scandir64-tail.c: New file.
31668         * dirent/Makefile (routines): Add them.
31669         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31670         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31671         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31672         [!SCANDIR] (SCANDIR_TAIL): New macro.
31673         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31674         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31675         (SCANDIRAT): Macro removed.
31676         (SCANDIR_TAIL): New macro.
31677         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31678         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31679         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31680         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31681         (READDIR): Macro removed.
31682         (SCANDIR_TAIL): New macro.
31683         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31684         (SCANDIR_TAIL): New macro.
31686         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31687         * dirent/scandir-cancel.c: ... to this new file.
31688         * dirent/Makefile (routines): Add it.
31689         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31690         * sysdeps/unix/sysv/linux/i386/scandir64.c
31691         (SKIP_SCANDIR_CANCEL): Macro removed.
31692         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31694         * dirent/tst-scandir.c: New file.
31695         * dirent/tst-scandir64.c: New file.
31696         * dirent/Makefile (tests): Add them.
31698 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31700         [BZ #18409]
31701         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31703 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31705         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31706         list.
31708 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31710         * benchtests/bench-strcoll.c: New benchmark.
31711         * benchtests/Makefile: Generate locales and run benchmark.
31712         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31713         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31714         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31715         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31716         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31717         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31718         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31719         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31720         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31721         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31722         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31723         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31724         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31725         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31726         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31727         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31728         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31729         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31730         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31731         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31732         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31733         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31734         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31735         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31737 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31739         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31740         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31742 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31744         * posix/uname-values.h: New file.
31745         * posix/uname.c: Include that instead of <config-name.h>.
31746         * sysdeps/nacl/uname-values.h: New file.
31747         * sysdeps/arm/nacl/uname-values.h: New file.
31749 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31751         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31752         splitting into fields.
31754 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31756         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31757         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31758         * locale/localeinfo.h: Add enum collation_encoding_type.
31759         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31760         * programs/ld-collate.c (collate_output): Add encoding type info.
31761         * string/strcoll_l.c (STRDIFF): New function.
31762         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31763         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31765 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31767         [BZ #18397]
31768         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31769         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31770         <fpu_control.h> instead of <math/fpu_control.c>.
31771         * sysdeps/mips/mips32/fpu/Makefile: New file.
31773 2015-05-11  Andreas Schwab  <schwab@suse.de>
31775         [BZ #18007]
31776         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31777         nss_endgrent.
31778         (_nss_compat_endgrent): Call nss_endgrent.
31779         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31780         nss_endpwent.
31781         (_nss_compat_endpwent): Call nss_endpwent.
31782         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31783         needent, call nss_setspent only if non-zero.
31784         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31785         (internal_endspent): Don't call nss_endspent.
31786         (_nss_compat_endspent): Call nss_endspent.
31787         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31788         Remove.  All uses removed.
31789         (internal_setent): Remove parameter stayopen, add parameter
31790         stream.  Use it instead of global variable.
31791         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31792         (internal_endent, internal_getent): Add parameter stream.  Use it
31793         instead of global variable.
31794         (CONCAT(_nss_files_end,ENTNAME))
31795         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31796         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31797         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31798         uses removed.
31799         (internal_setent, internal_endent): Add parameter stream.  Use it
31800         instead of global variable.
31801         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31802         stream.
31803         (get_next_alias): Add parameter stream.
31804         (_nss_files_getaliasent_r): Pass global stream.
31805         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31806         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31807         (_nss_files_gethostbyname4_r): Pass local stream to
31808         internal_setent, internal_getent and internal_endent.  Remove
31809         locking.
31811 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31813         * tst-strfmon1.c (tests): Update expected currency symbol.
31815 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31817         * sysdeps/nacl/gethostname.c: New file.
31819 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31821         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31822         and sinh.
31823         * math/auto-libm-test-out: Regenerated.
31824         * sysdeps/i386/fpu/libm-test-ulps: Update.
31825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31827 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31829         [BZ #18125]
31830         * stdlib/tst-setcontext3.c: New file.
31831         * stdlib/tst-setcontext3.sh: New file.
31832         * stdlib/Makefile (tests): Add tst-setcontext3.
31833         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31834         to verify test program created output file.
31835         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31836         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31837         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31838         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31840 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31842         [BZ #18383]
31843         * elf/tst-tlsalign.c: New file.
31844         * elf/tst-tlsalign-static.c: New file.
31845         * elf/tst-tlsalign-lib.c: New file.
31846         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31847         (tests-static): Add tst-tlsalign-static.
31848         (modules-names): Add tst-tlsalign-lib.
31849         (test-xfail-tst-tlsalign): New variable.
31850         (test-xfail-tst-tlsalign-static): New variable.
31852         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31853         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31855 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31857         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31858         csqrt, erfc, sin and sincos.
31859         * math/auto-libm-test-out: Regenerated.
31860         * sysdeps/i386/fpu/libm-test-ulps: Update.
31861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31863 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31865         * sysdeps/aarch64/libm-test-ulps: Update.
31867 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31869         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31870         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31871         * math/auto-libm-test-out: Regenerated.
31872         * sysdeps/i386/fpu/libm-test-ulps: Update.
31873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31875 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31877         [BZ #18265]
31878         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31879         (wcsncpy): Likewise.
31881 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31883         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31884         Assume __ASSUME_FALLOCATE is always true.
31885         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31886         (__posix_fallocate64_l64): Likewise.
31887         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31888         (posix_fallocate): Likewise.
31889         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31890         (__posix_fallocate64_l64): Likewise.
31891         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31892         [!__ASSUME_FALLOCATE]: Add comment.
31894 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31896         * sysdeps/unix/sysv/linux/i386/Makefile
31897         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31898         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31899         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31900         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31901         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31902         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31903         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31905 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31907         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31908         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31909         tgamma.
31910         * math/auto-libm-test-out: Regenerated.
31911         * sysdeps/i386/fpu/libm-test-ulps: Update.
31912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31914 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31916         * math/auto-libm-test-in: Add more tests of tgamma.
31917         * math/auto-libm-test-out: Regenerated.
31918         * sysdeps/i386/fpu/libm-test-ulps: Update.
31919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31921         * math/auto-libm-test-in: Add more tests of tanh.
31922         * math/auto-libm-test-out: Regenerated.
31923         * sysdeps/i386/fpu/libm-test-ulps: Update.
31924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31926         * math/auto-libm-test-in: Add more tests of tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31932         * math/auto-libm-test-out: Regenerated.
31933         * sysdeps/i386/fpu/libm-test-ulps: Update.
31934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31936         * math/auto-libm-test-in: Add another test of pow.
31937         * math/auto-libm-test-out: Regenerated.
31938         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31940         * math/auto-libm-test-in: Add more tests of lgamma.
31941         * math/auto-libm-test-out: Regenerated.
31942         * sysdeps/i386/fpu/libm-test-ulps: Update.
31943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31945         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31946         log1p.
31947         * math/auto-libm-test-out: Regenerated.
31948         * sysdeps/i386/fpu/libm-test-ulps: Update.
31949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31951 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31953         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31954         Elf64_Chdr structs and ELFCOMPRESS constants.
31956 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31958         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31959         expm1.
31960         * math/auto-libm-test-out: Regenerated.
31961         * sysdeps/i386/fpu/libm-test-ulps: Update.
31962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31964         * math/auto-libm-test-in: Add more tests of erf and erfc.
31965         * math/auto-libm-test-out: Regenerated.
31966         * sysdeps/i386/fpu/libm-test-ulps: Update.
31967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31969 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31971         * config.h.in (HAVE_AARCH64_BE): Add.
31973 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31975         * math/auto-libm-test-in: Add more tests of csqrt.
31976         * math/auto-libm-test-out: Regenerated.
31977         * sysdeps/i386/fpu/libm-test-ulps: Update.
31978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31980         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31981         * math/auto-libm-test-out: Regenerated.
31982         * sysdeps/i386/fpu/libm-test-ulps: Update.
31983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31985         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31987 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31989         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31990         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31992         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
31993         (euidaccess, eaccess): Define as weak aliases.
31995         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
31996         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
31997         but __suseconds_t is often 'long int' so some sources assume that
31998         type is being used (e.g. they use %ld to print tv_usec).
32000 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32002         [BZ #18007]
32003         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32004         (CVE-2014-8121)
32005         * nss/tst-nss-getpwent.c: New file.
32006         * nss/Makefile (tests): Add new test.
32008 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32010         [BZ #18346]
32011         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32012         exponents less than 48 as cases where high part of mantissa needs
32013         examining to determine whether argument is integral.
32014         * math/libm-test.inc (round_test_data): Add more tests.
32016 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32018         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32020 2015-04-27  David S. Miller  <davem@davemloft.net>
32022         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32023         __tls_get_addr.
32024         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32026 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32028         [BZ #18333]
32029         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32031 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32033         [BZ #18333]
32034         * time/tzset.c (parse_tzname): Return error on memory allocation
32035         failure.
32036         * test-skeleton.c (struct temp_name_list): Change type of name
32037         member to non-const.
32038         (add_temp_file): Create a copy of the file name.
32039         (delete_temp_files): Deallocate memory.
32040         (create_temp_file): Add comment.
32042 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32044         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32045         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32047 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32049         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32050         * sysdeps/arm/configure: Regenerated.
32052 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32054         [BZ #17715]
32055         * time/tzfile.c (__tzfile_read): Check for large values of
32056         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32057         * time/tzset.c (__tzstring_len): New function, based on the old
32058         __tzstring function.
32059         (__tzstring): Call __tzstring_len.
32060         (parse_tzname): New helper function extracted from
32061         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32062         the input string.
32063         (parse_offset): New helper function extracted from
32064         __tzset_parse_tz.  Replace switch with fallthrough with
32065         initialization before sscanf.
32066         (parse_rule): Likewise.
32067         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32068         new-style function definition.
32069         * timezone/Makefile (tests): Add tst-tzset.
32070         (tst-tzset.out): Dependencies on time zone files.
32071         (tst-tzset-ENV): Set TZDIR.
32072         (testdata/XT%): Copy crafted time zone files.
32073         * timezone/README: Mention crafted time zone files.
32074         * timezone/testdata/XT1, timezone/testdata/XT2,
32075         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32076         files.
32077         * timezone/tst-tzset.c: New test.
32079 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32081         * Makeconfig (+gccwarn): Remove -Winline.
32083 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32085         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32087 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32089         * NEWS: Mention sysconf() cache information support for s390.
32090         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32092 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32094         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32095         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32096         (__nearbyint): Likewise.
32097         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32098         (copysignl): Likewise.
32100 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32102         [BZ #18287]
32103         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32104         based on padding.  (CVE-2015-1781)
32106 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32108         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32109         libc-vdso.h.
32110         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32111         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32112         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32113         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32114         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32115         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32116         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32117         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32118         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32119         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32120         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32121         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32122         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32123         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32124         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32125         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32126         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32127         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32128         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32129         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32130         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32131         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32132         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32134 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32136         * stdlib/setenv.c (__add_to_environ):
32137         Dump core quickly if setenv (..., NULL, ...) is called.
32138         This time, do it the right way, and pacify GCC with a pragma.
32140 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32142         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32143         IMAP->l_prev cannot be null, and #if out the code for the contrary
32144         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32145         believe that NS (&_dl_ns[NSID]) could point outside the array.
32147         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32148         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32149         before using NSID as an index.
32151 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32153         [BZ #17825]
32154         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32155         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32156         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32158 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32160         Add preliminary port to Google Native Client on ARM.
32161         * abi-tags (.*-.*-nacl.*): New entry.
32162         * sysdeps/arm/nacl: New directory.
32163         * sysdeps/nacl: New directory.
32165 2015-04-16  David S. Miller  <davem@davemloft.net>
32167         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32168         lowlevellock-futex.h
32170 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32172         * sysdeps/tile/configure.ac: New file.
32173         * sysdeps/tile/configure: Regenerated.
32175 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32177         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32178         conditionals for weak_alias and libc_hidden_weak.
32179         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32180         libc_hidden_weak and weak_alias.
32181         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32182         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32183         and weak_alias for static one.
32185 2015-04-15  David S. Miller  <davem@davemloft.net>
32187         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32189 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32191         [BZ #18206]
32192         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32193           Use signed comparision instead of substraction to avoid
32194           overflow bug.
32195         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32196           Take the sign of ret.
32197         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32198           Do not expect precise return values. Only the sign matters.
32199         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32200         * wcsmbs/test-wcsncmp.c: New File.
32201         * string/test-strncmp.c: Add wcsncmp support.
32203 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32205         [BZ #6792]
32206         * math/w_log1p.c: New file.
32207         * math/w_log1pf.c: Likewise.
32208         * math/w_log1pl.c: Likewise.
32209         * math/Makefile (libm-calls): Add w_log1p.
32210         * math/s_log1pl.c (log1pl): Remove weak_alias.
32211         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32212         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32213         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32214         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32215         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32216         [NO_LONG_DOUBLE] (log1pl): Likewise.
32217         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32218         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32219         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32220         (log1p): Remove long_double_symbol.
32221         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32222         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32223         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32224         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32225         remove weak_alias for corresponding log1p function.
32226         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32227         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32228         * sysdeps/ia64/fpu/w_log1p.c: New file.
32229         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32230         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32231         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32233 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32235         [BZ #18247]
32236         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32237         decimal exponent by 1.
32238         * stdlib/tst-strtod-round-data: Add more tests.
32239         * stdlib/tst-strtod-round.c (tests): Regenerated.
32241 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32243         * math/auto-libm-test-in: Add more tests of clog and clog10.
32244         * math/auto-libm-test-out: Regenerated.
32245         * sysdeps/i386/fpu/libm-test-ulps: Update.
32246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32248 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32250         * Makeconfig (module-cppflags): Exclude all .v.i files.
32251         (skip-module-cppflags): Variable removed.
32253         * configure.ac (libc_config_ok): Initialize before reading
32254         preconfigure scripts, not after.
32255         * configure: Regenerated.
32257         * test-skeleton.c (TIMEOUT): Move #define to top level.
32258         (main): Grok environment variable TEST_DIRECT.  If set, print
32259         test expectation details into that file and then behave as if
32260         given --direct.
32262 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32264         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32265         warning on 32-bit.
32267 2015-04-08  David S. Miller  <davem@davemloft.net>
32269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32271 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32273         * math/auto-libm-test-in: Add more tests of atanh.
32274         * math/auto-libm-test-out: Regenerated.
32275         * sysdeps/i386/fpu/libm-test-ulps: Update.
32276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32278         * math/auto-libm-test-in: Add more tests of atan.
32279         * math/auto-libm-test-out: Regenerated.
32280         * sysdeps/i386/fpu/libm-test-ulps: Update.
32281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32283 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32285         * elf/pldd.c (main): Rewrite to use struct
32286         scratch_buffer instead of extend_alloca.
32287         * elf/pldd-xx.c (find_maps): Likewise.
32288         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32289         <alloca.h>.
32290         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32291         scratch_buffer instead of extend_alloca.
32292         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32293         grp/compat-initgroups.c.
32294         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32295         Rewrite to use struct scratch_buffer instead of extend_alloca.
32296         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32297         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32299 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32301         * math/auto-libm-test-in: Add more tests of cbrt.
32302         * math/auto-libm-test-out: Regenerated.
32303         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32305         * math/auto-libm-test-in: Add more tests of cabs.
32306         * math/auto-libm-test-out: Regenerated.
32307         * sysdeps/i386/fpu/libm-test-ulps: Update.
32308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32310         [BZ #18210]
32311         [BZ #18211]
32312         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32313         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32314         computations.
32315         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32316         clog10.
32317         * math/auto-libm-test-out: Regenerated.
32318         * sysdeps/i386/fpu/libm-test-ulps: Update.
32319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32321         [BZ #18197]
32322         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32323         (atan): Set FE_TONEAREST mode for internal computations.
32324         * math/auto-libm-test-in: Add more tests of atan.
32325         * math/auto-libm-test-out: Regenerated.
32327 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32329         [BZ #17930]
32330         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32332 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32334         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32336 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32338         * include/scratch_buffer.h: New file.
32339         * malloc/scratch_buffer_grow.c: Likewise.
32340         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32341         * malloc/scratch_buffer_set_array_size.c: Likewise.
32342         * malloc/tst-scratch_buffer.c: Likewise.
32343         * malloc/Makefile (routines): Add scratch_buffer_grow.
32344         (tests): Add test case.
32345         * malloc/Versions (GLIBC_PRIVATE): Export
32346         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32347         __libc_scratch_buffer_set_array_size.
32349 2015-04-06  Richard Henderson  <rth@redhat.com>
32351         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32352         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32354         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32355         unsigned int before printing.
32357 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32359         [BZ #17596]
32360         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32361         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32363 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32365         * include/libc-internal.h (libc_max_align_t): Define.
32367 2015-04-02  Andreas Schwab  <schwab@suse.de>
32369         [BZ #16850]
32370         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32372 2015-04-02  Mel Gorman  <mgorman@suse.de>
32374         [BZ #17195]
32375         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32376         as well as the main arena.
32378 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32380         [BZ #18185]
32381         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32382         sharing L2 cache to 2 for Silvermont/Knights Landing.
32384 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32386         [BZ #17711]
32387         * config.make.in (have-protected-data): New.
32388         * configure.ac: Check linker support for protected data symbol.
32389         * configure: Regenerated.
32390         * elf/Makefile (modules-names): Add tst-protected1moda and
32391         tst-protected1modb if $(have-protected-data) is yes.
32392         (tests): Add tst-protected1a and tst-protected1b if
32393         $(have-protected-data) is yes.
32394         ($(objpfx)tst-protected1a): New.
32395         ($(objpfx)tst-protected1b): Likewise.
32396         (tst-protected1modb.so-no-z-defs): Likewise.
32397         * elf/tst-protected1a.c: New file.
32398         * elf/tst-protected1b.c: Likewise.
32399         * elf/tst-protected1mod.h: Likewise.
32400         * elf/tst-protected1moda.c: Likewise.
32401         * elf/tst-protected1modb.c: Likewise.
32403 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32405         [BZ #17711]
32406         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32407         indicates it is called from do_lookup_x on relocation against
32408         protected data, skip the data definion in the executable from
32409         copy reloc.
32410         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32411         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32412         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32413         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32414         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32415         otherwise to 0.
32416         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32417         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32418         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32419         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32420         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32421         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32423 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32425         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32426         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32428 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32430         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32431         THREAD_SETMEM_NC.
32432         * sysdeps/x86_64/nptl/tls.h: Ditto.
32434 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32436         * dlfcn/tststatic.c (main): Converted to ...
32437         (do_test): ... this.
32438         (TEST_FUNCTION): New macro.
32439         Include test-skeleton.c.
32441 2015-03-26  Alan Modra  <amodra@gmail.com>
32443         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32444         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32445         zero for undefined weak.
32446         (elf_machine_plt_conflict): Similarly.
32448 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32450         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32451         atanh.
32452         * math/auto-libm-test-out: Regenerated.
32453         * sysdeps/i386/fpu/libm-test-ulps: Update.
32454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32456         * math/auto-libm-test-in: Add another test of asin.
32457         * math/auto-libm-test-out: Regenerated.
32458         * sysdeps/i386/fpu/libm-test-ulps: Update.
32459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32461         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32462         Remove macro.
32463         (LLL_EBX_REG): Likewise.
32464         (LLL_ENTER_KERNEL): Likewise.
32466         * math/auto-libm-test-in: Add more tests of asin.
32467         * math/auto-libm-test-out: Regenerated.
32468         * sysdeps/i386/fpu/libm-test-ulps: Update.
32469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32471         [BZ #18138]
32472         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32473         libc_do_syscall_args): New structure.
32474         (INTERNAL_SYSCALL_MAIN_0): New macro.
32475         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32476         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32477         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32478         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32479         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32480         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32481         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32482         Replace conditional definitions by conditional definitions of ....
32483         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32484         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32485         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32486         (libpthread-sysdep_routines): Add libc-do-syscall.
32487         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32488         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32489         to __NR_futex not 240.
32491 2015-03-25  Alan Modra  <amodra@gmail.com>
32493         * NEWS: Advertise TLS optimization.
32494         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32495         (DT_PPC_NUM): Increment.
32496         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32497         (CHECK_STATIC_TLS): Use here.
32498         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32499         TLS descriptors.
32500         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32501         * sysdeps/powerpc/dl-tls.c: New file.
32502         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32503         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32504         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32505         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32510 2015-03-25  Alan Modra  <amodra@gmail.com>
32512         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32513         for overlapping .opd entries" to "support...".
32514         * sysdeps/powerpc/powerpc64/configure: Regenerate
32516 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32518         * math/auto-libm-test-in: Add more tests of acos.
32519         * math/auto-libm-test-out: Regenerated.
32520         * sysdeps/i386/fpu/libm-test-ulps: Update.
32521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32523         * math/auto-libm-test-in: Add more tests of expm1.
32524         * math/auto-libm-test-out: Regenerated.
32525         * sysdeps/i386/fpu/libm-test-ulps: Update.
32526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32528 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32530         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32531         * math/auto-libm-test-out: Regenerated.
32532         * sysdeps/i386/fpu/libm-test-ulps: Update.
32533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32535         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32538         * math/auto-libm-test-in: Add more tests of log2.
32539         * math/auto-libm-test-out: Regenerated.
32540         * sysdeps/i386/fpu/libm-test-ulps: Update.
32541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32543 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32545         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32546         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32547         _IO_IS_APPENDING bit in READ_WRITE instead.
32549 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32551         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32552         (__determine_cpumask_size): Replace extend_alloca with a
32553         variable-length array.  Do not treat res == 0 as an error.
32555 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32557         [BZ #18100]
32558         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32559         and integer overflow.
32560         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32561         (main): Add integer overflow tests.
32562         * manual/pattern.texi (Calling Wordexp): Document additional use
32563         for WRDE_SYNTAX.
32565 2015-03-23  Alan Modra  <amodra@gmail.com>
32567         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32568         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32569         and false branch of conditional.
32570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32571         Likewise.
32573 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32575         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32576         libc-modules.h
32577         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32578         unused declaration of _hurd_intr_rpc_msg_in_trap.
32579         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32580         defined instead of whether it is non-zero.
32581         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32582         input constraint instead of both input and output constraint.  Use ecx
32583         clobber instead of %ecx.
32584         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32585         mutex_unlock): Use a statement expression instead of an expression list.
32586         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32587         type to vm_size_t instead of vm_address_t.
32588         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32589         defined instead of whether it is non-zero.
32590         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32591         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32592         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32593         comparisons with mapaddr.
32594         * nscd/nscd-client.h: Include <time.h>.
32595         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32596         9th parameter to __vm_region instead of int.
32597         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32598         * scripts/check-local-headers.sh (exclude): Add device/,
32599         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32600         cthreads.h.
32602 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32604         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32605         to account for alignment padding.
32606         * sysdeps/arm/memmove.S: Likewise.
32608 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32610         * sysdeps/unix/sysv/linux/generic/README: New file.
32612 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32614         [BZ #18138]
32615         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32616         (futex_abstimed_wait)
32617         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32618         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32619         of lll_futex_timed_wait.
32621 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32623         [BZ #17542]
32624         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32626 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32628         [BZ #17090]
32629         [BZ #17620]
32630         [BZ #17621]
32631         [BZ #17628]
32632         * NEWS: Update.
32633         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32634         entries with Static TLS too.  Skip entries past the end of the
32635         allocated DTV, from Alan Modra.
32636         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32637         Static TLS DTV entry set up from...
32638         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32639         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32640         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32641         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32642         for Static TLS.
32643         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32644         that the slot we find is associated with the given map before
32645         using its generation count.
32646         * nptl_db/db_info.c: Include ldsodefs.h.
32647         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32648         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32649         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32650         (link_map::l_tls_offset): New struct field.
32651         (dtv_t::counter): Likewise.
32652         (rtld_global): New struct.
32653         (_rtld_global): New rtld variable.
32654         (dl_tls_dtv_slotinfo_list): New rtld global field.
32655         (dtv_slotinfo_list): New struct.
32656         (dtv_slotinfo): Likewise.
32657         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32658         (td_lookup): Rename to...
32659         (td_mod_lookup): ... this.  Use new mod parameter instead of
32660         LIBPTHREAD_SO.
32661         * nptl_db/td_thr_tlsbase.c: Include link.h.
32662         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32663         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32664         addresses even if the DTV is out of date or missing them.
32665         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32666         index zero-length arrays.
32667         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32668         (td_lookup): Make it a macro implemented in terms of...
32669         (td_mod_lookup): ... this declaration.
32670         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32671         (DB_MAIN_VARIABLE): Likewise.
32673 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32675         [BZ #18134]
32676         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32678 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32680         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32682 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32684         [BZ #18128]
32685         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32686         (atomic_add, atomic_increment_and_test)
32687         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32689 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32691         * stdlib/setenv.c (__add_to_environ):
32692         Dump core quickly if setenv (..., NULL, ...) is called.
32694 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32696         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32697         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32698         all the necessary asm magic in one place.
32699         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32700         using those.
32702 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32704         [BZ #14906]
32705         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32706         traced file mtime. Use consistent log message.
32707         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32708         (register_traced_file): Call install_watches. Always set mtime.
32709         (invalidate_cache): Iterate over all trace files. Call install_watches.
32710         (inotify_check_files): Don't inline. Handle watching parent
32711         directories and configuration file movement in and out.
32712         (handle_inotify_events): New function.
32713         (main_loop_poll): Call handle_inotify_events.
32714         (main_loop_epoll): Likewise.
32715         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32716         (struct traced_file): Use array of inotify fds. Add parent directory,
32717         and basename.
32718         (struct database_dyn): Remove unused file_mtime.
32719         (init_traced_file): New inline function.
32720         (define_traced_file): New macro.
32721         * nss/nss_db/db-init.c: Use define_traced_file.
32722         (_nss_db_init): Use init_traced_file.
32723         * nss/nss_files/files-init.c: Use define_traced_file.
32724         (_nss_files_init): Use init_traced_file.
32726 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32728         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32729         [_LIBC]: Do not include <stdlib.h>.
32730         [!_LIBC] (abort): Remove declaration.
32731         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32732         _FP_STATIC_ASSERT instead of conditionally calling abort.
32733         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32734         (_FP_EXTEND_CNAN): Likewise.
32735         (FP_TRUNC): Likewise.
32736         (__FP_CLZ): Likewise.
32737         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32739 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32741         * manual/string.texi (XPG basename): Fix prototype.
32743 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32745         [BZ #18080]
32746         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32747         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32748         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32749         (__setcontext): Likewise.
32750         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32751         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32752         Call rt_sigprocmask syscall one time to set new signal mask
32753         and retrieve the current signal mask instead of two calls.
32754         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32755         (__swapcontext): Likewise.
32756         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32757         * stdlib/tst-setcontext2.c: New file.
32759 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32761         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32763 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32765         [BZ #18093]
32766         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32767         the wrong size.
32769 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32771         [BZ #18043]
32772         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32774 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32776         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32777         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32778         Remove define.
32779         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32780         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32781         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32782         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32783         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32784         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32785         define.
32786         * nptl_db/td_symbol_list.c (td_lookup): Remove
32787         HAVE_ASM_GLOBAL_DOT_NAME code.
32788         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32789         HAVE_ASM_GLOBAL_DOT_NAME check.
32790         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32791         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32792         (DOT_LABEL): Remove define.
32793         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32794         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32795         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32796         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32797         (__TLS_GET_ADDR): Likewise.
32798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32799         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32801 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32803         [BZ #18111]
32804         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32805         (_FPU_SETCW): Initialize cw from fpsr before storing.
32806         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32807         (fesetexceptflag): Rewrite using fpu_control.h.
32808         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32810 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32812         [BZ #18110]
32813         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32814         asms.
32815         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32817 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32819         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32820         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32821         abort.
32822         (_FP_FMA): Likewise.
32823         (_FP_DIV): Likewise.
32825 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32827         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32828         with 0 in that case.
32829         * Makefile (summarize-tests): New canned sequence, factored out of
32830         commands for targets tests and xtests.  Display summary lines that
32831         don't start with PASS: or XFAIL: rather than ones that do start with
32832         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32833         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32834         do start with ERROR: or FAIL:.
32835         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32836         (except for [$(build-shared) = yes]).
32837         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32838         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32839         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32840         * nptl/Makefile: Revert 2015-03-04 changes.
32841         [$(CXX) empty] (tests-unsupported): New variable.
32842         * debug/Makefile: Likewise.
32844         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32845         gnulib file.  Replace __attribute with __attribute__ throughout.
32847 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32849         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32851 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32853         [BZ #18104]
32854         * math/auto-libm-test-in: Add another test of pow.
32855         * math/auto-libm-test-out: Regenerated.
32857 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32859         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32860         $(config-cflags-nofma).
32862 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32864         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32865         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32866         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32867         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32868         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32869         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32870         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32871         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32872         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32873         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32874         Add comment on closing #endif.
32876 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32878         * posix/wordexp.c (CHAR_IN_SET): New macro.
32879         (parse_param): Use it.
32881 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32883         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32885 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32887         [BZ #18043]
32888         * posix/wordexp.c (parse_param): Fix buffer overflow.
32889         * posix/wordexp-test.c (test_case): Add test case.
32891 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32893         [BZ #18042]
32894         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32895         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32897 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32899         [BZ #18043]
32900         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32901         (do_bz18043): Delete.
32902         (at_page_end): New.
32903         (testit): Refactor to have words at the edge of unreadable page.
32905 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32907         [BZ #16734]
32908         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32909         Cleanup read-only streams as well.
32910         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32912 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32914         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32915         <bits/libc-lockP.h>
32917 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32919         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32920         on [__KERNEL__].
32921         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32922         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32923         * soft-fp/op-common.h (_FP_DECL): Likewise.
32925 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32927         * elf/ifuncdep2.c (global): Replace
32928         __attribute__((visibility("protected"))) with
32929         asm (".protected global").
32930         * elf/ifuncmod1.c (global): Likewise.
32931         * elf/ifuncmod5.c (global): Likewise.
32933 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32935         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32936         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32938 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32940         * manual/install.texi (Configuring and compiling):
32941         Document test-wrapper-env-only.
32942         * INSTALL: Regenerated.
32944 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32946         [BZ #18043]
32947         * posix/wordexp.c (parse_param): Fix buffer overflow.
32948         * posix/wordexp-test.c (do_bz18043): Add test case.
32950 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32952         * time/tst-strptime2.c (do_test): Ensure failing tests are
32953         reported correctly.
32954         * time/tst-strptime3.c (do_test): Likewise.
32956 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32958         Fix aio_error thread-safety.
32959         * sysdeps/pthread/aio_error.c: New file
32960         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32961         synchronization.
32963 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32965         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32966         (group_number, vfprintf): Use it.
32967         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32968         (JUMP, REF): Use it.
32969         (WORK_BUFFER_SIZE): New enum constant.
32970         (process_arg, vfprintf): Use it.
32972 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32974         * manual/errno.texi (Error Messages): Complete example function
32975         by adding missing #define.
32976         (program_invocation_name): Add statement indicating GNU
32977         extension and reference which header file declares the variable.
32978         (program_invocation_short_name): Likewise.
32980 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32982         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32983         compatibility note.
32985 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32987         * Makeconfig (test-wrapper-env-only): New variable.
32988         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32989         then use that with $(test-wrapper-env-only) rather than using
32990         $(test-wrapper-env) $(run-program-env) $($*-ENV).
32992 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32994         [BZ #18082]
32995         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
32996         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
32997         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
32998         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
32999         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33000         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33001         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33002         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33003         Likewise.
33004         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33005         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33006         Likewise.
33007         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33008         Likewise.
33009         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33010         Likewise.
33011         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33012         Likewise.
33013         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33014         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33015         Likewise.
33016         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33017         Likewise.
33018         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33019         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33021 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33023         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33024         (ETH_ALEN): New macro.
33025         (struct ether_addr): Use it for length of ether_addr_octet.
33027         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33028         (setdb): Don't call __nss_configure_lookup for "rpc".
33029         (do_test): Don't call test_rpc.
33030         (output_rpcent, test_rpc): Functions moved ...
33031         * sunrpc/test-rpcent.c: ... to this new file.
33032         * sunrpc/Makefile (tests): Add it.
33034         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33035         __xpg_sigpause.
33036         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33037         * nptl/tst-signal6.c: Likewise.
33038         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33039         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33041         * configure.ac (libc_cv_cxx_link_ok): New check.
33042         Reset CXX to empty if it fails to link.
33043         * configure: Regenerated.
33044         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33045         bug-atexit3-lib only if $(CXX) is nonempty.
33046         * nptl/Makefile (tests): Likewise for tst-cancel24.
33047         (tests, tests-static): Likewise for tst-cancel24-static.
33048         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33049         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33050         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33051         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33053 2015-03-04  Andreas Schwab  <schwab@suse.de>
33055         [BZ #17631]
33056         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33057         for non-GCC compilers.
33058         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33059         Likewise.
33061 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33063         [BZ #17776]
33064         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33065         integer before bitwise and assembly operations.
33066         (feclearexcept): Likewise.
33067         * math/test-fenvinline.c: New file.
33068         * math/Makefile: Add test-fenvinline test.
33070 2015-03-03  Alan Modra  <amodra@gmail.com>
33072         [BZ #16512]
33073         * scripts/localplt.awk: Strip off symbol version.
33074         * NEWS: Mention bug fix.
33076 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33078         * sysdeps/pthread/timer_routines.c
33079         (timer_free_list, thread_free_list, thread_active_list): Make static.
33081 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33083         [BZ #17779]
33084         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33085         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33086         Undefine.
33087         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33088         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33089         Likewise.
33090         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33091         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33092         Likewise.
33094 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33096         [BZ #18036]
33097         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33098         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33100 2015-03-02  Andreas Schwab  <schwab@suse.de>
33102         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33103         variable name.
33105 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33107         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33108         Return error status.
33110 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33112         [BZ #15969]
33113         * locale/findlocale.c (_nl_find_locale): Introduce const
33114         version of loc_name and drop unsafe type casts.
33116 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33118         * dlfcn/tststatic2.c (main): Converted to ...
33119         (do_test): ... this.
33120         (TEST_FUNCTION): New macro.
33121         Include test-skeleton.c.
33123 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33125         [BZ #17711]
33126         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33127         (tests-pie): Add vismain.
33128         (CFLAGS-vismain.c): New.
33129         * elf/vismain.c: Add comments for PIE requirement.
33131 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33133         [BZ #18046]
33134         [BZ #18047]
33135         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33136         0x1p-56L as threshold for just returning the argument.
33137         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33138         0x1p-32L as threshold for just returning the argument.
33139         * math/auto-libm-test-in: Add more tests of atanh.
33140         * math/auto-libm-test-out: Regenerated.
33141         * sysdeps/i386/fpu/libm-test-ulps: Update.
33142         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33144 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33146         * string/bcopy.c (bcopy): Call memmove for performance.
33148 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33150         * string/bzero.c (__bzero): Call memset for performance.
33152 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33154         [BZ #18068]
33155         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33156         to 00100000.
33158 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33160         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33162 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33164         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33165         (__kernel_standard): Use CSTR macro when setting exc.name.
33166         * sysdeps/ieee754/Makefile [$(subdir) = math]
33167         (CFLAGS-k_standard.c): Remove variable.
33169         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33170         setting p and q from "else if" to "else".
33171         (qzero): Likewise.
33172         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33173         (qone): Likewise.
33174         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33175         (qzerof): Likewise.
33176         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33177         (qonef): Likewise.
33178         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33179         (qzero): Likewise.
33180         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33181         (qone): Likewise.
33183         [BZ #18038]
33184         [BZ #18039]
33185         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33186         return pi/2 for arguments below 0x1p-113L.
33187         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33188         return pi/2 for arguments below 0x1p-106L.
33189         * math/auto-libm-test-in: Add more tests of acos.
33190         * math/auto-libm-test-out: Regenerated.
33192         [BZ #16351]
33193         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33194         (MO): New macro.
33195         (__ieee754_asin): Force underflow exception for results with small
33196         absolute value.
33197         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33198         (MO): New macro.
33199         (__ieee754_asinf): Force underflow exception for results with
33200         small absolute value.
33201         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33202         (__ieee754_asin): Force underflow exception for results with small
33203         absolute value.
33204         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33205         (__ieee754_asinf): Force underflow exception for results with
33206         small absolute value.
33207         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33208         (__ieee754_asinl): Force underflow exception for results with
33209         small absolute value.
33210         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33211         (__ieee754_asinl): Force underflow exception for results with
33212         small absolute value.
33213         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33214         (__ieee754_asinl): Force underflow exception for results with
33215         small absolute value.
33216         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33217         Include <math.h>.
33218         * math/auto-libm-test-in: Do not mark underflow exceptions as
33219         possibly missing for bug 16351.
33220         * math/auto-libm-test-out: Regenerated.
33222         [BZ #18030]
33223         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33224         of power of 2 down when low part has opposite sign.
33225         * math/libm-test.inc (logb_test_data): Add more tests.
33227 2015-02-26  Andreas Schwab  <schwab@suse.de>
33229         [BZ #18032]
33230         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33231         over collating symbol inside a bracket expression.  Minor cleanup.
33232         * posix/tst-fnmatch3.c (do_test): Add test case.
33234 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33236         [BZ #18029]
33237         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33238         Adjust exponent of power of 2 down when low part has opposite
33239         sign.
33240         * math/libm-test.inc (ilogb_test_data): Add more tests.
33242 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33244         [BZ #15969]
33245         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33246         the previous change.
33248         [BZ #15969]
33249         * locale/findlocale.c (_nl_find_locale): Retry archive search
33250         after alias expansion.
33252 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33254         * iconv/tst-iconv3.c (main): Converted to ...
33255         (do_test): ... this.
33256         (TEST_FUNCTION): New macro.
33257         Include test-skeleton.c.
33259         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33260         (convert): Make function static.
33261         (test_unalign): Likewise.  Add const to argument pointee types.
33262         (main): Replace with static function do_test.
33263         Print "Succeeded." only if RET is zero.
33264         (TEST_FUNCTION): New macro.
33265         Include test-skeleton.c.
33267         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33268         returns a null pointer.
33270 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33272         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33273         to __memcpy_ppc only for static builds.
33275 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33277         [BZ #18020]
33278         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33279         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33280         * math/auto-libm-test-in: Add more tests of asinh.
33281         * math/auto-libm-test-out: Regenerated.
33282         * sysdeps/i386/fpu/libm-test-ulps: Update.
33283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33285 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33287         [BZ #15850]
33288         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33289         and ip6_mtuinfo definitions here.
33290         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33291         in this define too.  Update comment.
33293 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33295         * elf/sprof.c (load_shobj): Tweak error message to match others.
33297 2015-02-24  Kevin Easton  <kevin@guarana.org>
33299         [BZ #16145] (partial fix)
33300         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33301         to reduce lock contention.
33303 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33305         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33306         (struct timex): Update time comment.
33307         (ADJ_SETOFFSET): Define.
33309 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33311         [BZ #18019]
33312         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33313         2**56 not 2**28 as threshold for log (2x) formula.
33314         * math/auto-libm-test-in: Add more tests of acosh.
33315         * math/auto-libm-test-out: Regenerated.
33316         * sysdeps/i386/fpu/libm-test-ulps: Update.
33317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33319 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33321         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33322         parenthesis around the buf assignment.
33323         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33325 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33327         [BZ #16783]
33328         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33329         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33330         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33331         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33332         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33333         * math/libm-test.inc (scalb_test_data): Add more tests.
33335 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33337         [BZ #17916]
33338         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33339         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33341 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33343         [BZ #17523]
33344         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33345         * io/bits/fcntl2.h (open): Use it.
33346         (openat): Likewise.
33347         * io/open.c (__libc_open): Likewise.
33348         * io/open64.c (__libc_open64): Likewise.
33349         * io/open64_2.c (__open64_2): Likewise.
33350         * io/open_2.c (__open_2): Likewise.
33351         * io/openat.c (__openat): Likewise.
33352         * io/openat64.c (__openat64): Likewise.
33353         * io/openat64_2.c (__openat64_2): Likewise.
33354         * io/openat_2.c (__openat_2): Likewise.
33355         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33356         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33357         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33358         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33359         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33360         (__open_nocancel): Likewise.
33361         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33362         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33363         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33365 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33367         [BZ #14841]
33368         * resolv/gethnamaddr.c (getanswer): Skip logging if
33369         RES_USE_DNSSEC is set.
33370         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33372 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33374         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33376 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33378         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33379         201304L, for Unicode 7.
33381 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33383         [BZ #17836]
33384         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33385         shared library.  Add gmon-start.os otherwise.
33386         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33387         $(objpfx)gmon-start.os if builing shared library.
33388         ($(objpfx)g$(static-start-installed-name)): Likewise.
33390 2015-02-23  Andreas Schwab  <schwab@suse.de>
33392         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33394 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33396         [BZ #17269]
33397         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33398         (enlarge_userbuf): Likewise.
33400 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33402         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33403         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33404         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33405         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33407 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33409         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33410         expression inside statement expression.
33412 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33414         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33415         <sysdeps/nptl/lowlevellock.h> and remove macros and
33416         functions that are now defined there.
33417         (SYS_futex): Remove.
33418         (lll_compare_and_swap): Remove.
33419         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33421 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33423         [BZ #17999]
33424         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33425         instead of scandirat.
33426         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33427         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33428         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33429         __scandirat.
33430         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33431         (__scandirat): Declare.  Use libc_hidden_proto.
33432         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33433         Remove variable.
33434         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33436 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33438         [BZ #15319]
33439         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33440         (MO): New macro.
33441         (__ieee754_atan2): For results with small absolute value, force
33442         underflow exception and remove excess range and precision from
33443         return value.
33444         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33445         (MO): New macro.
33446         (__ieee754_atan2f): For results with small absolute value, force
33447         underflow exception and remove excess range and precision from
33448         return value.
33449         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33450         (MO): New macro.
33451         (__atan): For results with small absolute value, force underflow
33452         exception and remove excess range and precision from return value.
33453         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33454         (MO): New macro.
33455         (__atanf): For results with small absolute value, force underflow
33456         exception and remove excess range and precision from return value.
33457         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33458         <math.h>.
33459         (__ieee754_atan2): Force underflow exception for results with
33460         small absolute value.
33461         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33462         <math_private.h>.
33463         (atan): Force underflow exception for results with small absolute
33464         value.
33465         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33466         (__atanf): Force underflow exception for results with small
33467         absolute value.
33468         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33469         <math.h>.
33470         (__atanl): Force underflow exception for results with small
33471         absolute value.
33472         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33473         (__atanl): Force underflow exception for results with small
33474         absolute value.
33475         * sysdeps/x86/fpu/bits/mathinline.h
33476         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33477         (__ieee754_atan2): Only define inline for long double.
33478         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33479         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33480         * math/auto-libm-test-in: Do not mark underflow exceptions as
33481         possibly missing for bug 15319.  Add more tests of atan2.
33482         * math/auto-libm-test-out: Regenerated.
33483         * math/libm-test.inc (casin_test_data): Do not mark underflow
33484         exceptions as possibly missing for bug 15319.
33485         (casinh_test_data): Likewise.
33486         * sysdeps/i386/fpu/libm-test-ulps: Update.
33488 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33490         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33491         * sysdeps/mips/bits/endian.h: Fix comments.
33493 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33495         [BZ #17996]
33496         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33497         (hdestroy_r): Likewise.
33498         (hsearch_r): Likewise.
33499         (__hcreate_r): Declare and use libc_hidden_proto.
33500         (__hdestroy_r): Likewise.
33501         (__hsearch_r): Likewise.
33502         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33503         (hcreate): Call __hcreate_r instead of hcreate_r.
33504         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33505         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33506         as weak alias of __hcreate_r.
33507         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33508         __hdestroy_r.
33509         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33510         __hsearch_r.
33511         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33512         Remove variable.
33513         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33514         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33515         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33516         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33518 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33520         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33521         arena_lock into a single arena_get.
33523 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33525         * dl-reloc.c: Inlucde libc-internal.h.
33526         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33527         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33528         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33529         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33530         (grow_heap): Likewise.
33531         * malloc/malloc.c: Include libc-internal.h.
33532         (do_check_malloc): Call powerof2.
33533         (sysmalloc): Use pagesize. Call ALIGN_UP.
33534         (systrim): Use pagesize.
33535         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33536         (__libc_valloc): Use pagesize.
33537         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33539 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33541         [BZ #17991]
33542         * include/sys/resource.h (__getrlimit64): Declare.  Use
33543         libc_hidden_proto.
33544         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33545         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33546         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33547         getrlimit64.
33548         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33549         __getrlimit64.
33550         [!getrlimit64] (getrlimit64): Define as weak alias of
33551         __getrlimit64.  Use libc_hidden_weak.
33552         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33553         using __getrlimit64 not __new_getrlimit64.
33554         (__GI_getrlimit64): Likewise.
33555         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33556         Likewise.
33557         (__GI_getrlimit64): Likewise.
33558         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33560         (getrlimit): Add __getrlimit64 alias.
33561         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33562         Likewise.
33563         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33564         Remove variable.
33565         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33566         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33568 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33570         * libio/fileops.c: Add missing sys/mman.h
33571         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33573 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33575         * manual/math.texi (Errors in Math Functions): Clarify goals
33576         regarding inexact and underflow exceptions.
33578 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33580         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33581         * sysdeps/mips/memset.S: Ditto.
33583 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33585         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33587 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33589         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33590         (__v1longjmp): Remove versioned symbol.
33591         (__v1siglongjmp): Remove alias and versioned symbol.
33592         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33593         (__v2siglongjmp): Likewise.
33595 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33597         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33599 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33601         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33603 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33605         [BZ #17987]
33606         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33607         zero result does not depend on the sign resulting from
33608         subtraction.
33609         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33610         Likewise.
33611         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33612         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33613         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33614         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33615         * math/libm-test.inc (remquo_test_data): Add more tests.
33617 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33619         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33620         Problem reported by J William Piggott.
33622 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33624         [BZ #17978]
33625         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33626         products 4 * y and 2 * y where those would overflow.
33627         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33628         Likewise.
33629         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33630         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33631         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33632         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33633         * math/libm-test.inc (remquo_test_data): Add more tests.
33635         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33637         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33638         [defined _COMPILING_NEWLIB].
33639         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33640         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33642         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33643         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33645 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33647         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33648         acquired.
33650 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33652         [BZ #17792]
33653         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33654         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33655         HOST_STACK_END_ADDR): Likewise.
33657 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33659         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33660         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33661         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33663 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33665         * sysdeps/generic/c++-types.data: New file.
33666         * sysdeps/generic/ld.abilist: New file.
33667         * sysdeps/generic/libBrokenLocale.abilist: New file.
33668         * sysdeps/generic/libanl.abilist: New file.
33669         * sysdeps/generic/libc.abilist: New file.
33670         * sysdeps/generic/libcrypt.abilist: New file.
33671         * sysdeps/generic/libdl.abilist: New file.
33672         * sysdeps/generic/libm.abilist: New file.
33673         * sysdeps/generic/libpthread.abilist: New file.
33674         * sysdeps/generic/libresolv.abilist: New file.
33675         * sysdeps/generic/librt.abilist: New file.
33677 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33679         [BZ #17569]
33680         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33681         Compute absolute value of x as modified by fmod, not original
33682         value of x.
33683         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33684         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33685         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33686         RUN_TEST_ffI_f1_mod8.
33687         (remquo_test_data): Add more tests.
33689 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33691         * sysdeps/init_array/pt-crti.S: New file.
33693 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33695         [BZ #17967]
33696         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33697         __builtin_fmaf instead of relying on contraction of a * b + c.
33699 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33701         [BZ #17969]
33702         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33703         node.
33705 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33707         [BZ #17964]
33708         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33709         __builtin_fma instead of relying on contraction of a * b + c.
33711 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33713         * Makeconfig (ASFLAGS): Add -Werror=undef.
33714         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33715         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33716         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33718         * Makeconfig (after-link): New variable.
33719         (+link-pie, +link-pie-tests): Use it.
33720         (+link-static, +link-static-tests): Likewise.
33721         (+link, +link-tests): Likewise.
33722         * Makerules (build-module, build-module-asneeded): Likewise.
33723         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33724         Likewise.
33725         * elf/Makefile ($(objpfx)ld.so): Likewise.
33727 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33729         [BZ #17965]
33730         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33731         both struct timeval and struct timespec.
33733 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33735         [BZ #16560]
33736         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33737         and redefine.
33738         (__ieee754_exp2l): Do not multiply small fractional parts by
33739         M_LN2l.
33740         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33741         small argument.
33742         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33743         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33744         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33745         * math/auto-libm-test-in: Add more tests of exp2.
33746         * math/auto-libm-test-out: Regenerated.
33748 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33750         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33751         unaligned path.
33753 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33755         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33756         little endian.
33758 2015-02-12  Andreas Schwab  <schwab@suse.de>
33760         [BZ #15790]
33761         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33762         Filter out elision flags from value returned in kind.
33763         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33764         * nptl/tst-pthread-mutexattr.c: New file.
33766 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33768         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33769         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33770         into gnu-gnu, and update comment to refer to abi-tags.
33772 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33774         [BZ #15467]
33775         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33776         (__sincos): Set errno to EDOM for infinite argument.
33777         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33778         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33779         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33780         (__sincosl): Set errno to EDOM for infinite argument.
33781         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33782         (__sincosl): Set errno to EDOM for infinite argument.
33783         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33784         (__sincosl): Set errno to EDOM for infinite argument.
33785         * math/libm-test.inc (sincos_test_data): Test errno setting.
33787 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33789         * string/strxfrm_l.c: Remove #define STRCMP.
33790         * string/strcoll_l.c: Remove #define STRLEN.
33791         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33792         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33794 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33796         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33797         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33798         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33799         * sysdeps/mips/mips64/Makefile: ... here.
33800         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33801         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33802         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33803         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33804         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33805         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33806         * sysdeps/mips/mips64/n64/Implies: Likewise.
33808 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33810         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33811         <sys/time.h>, <string.h>, and <errno.h>.
33812         (dest_offset, dest_address, value, zero): Remove unused variables.
33813         (ldouble): Remove typedef.
33814         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33815         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33816         1).  Fix code style.
33817         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33818         (check): Function removed.
33819         (CHECK): New macro.
33820         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33821         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33822         Don't call set_sigaction_FP and remove_sigaction_FP here.
33823         (ldouble_test): Just use 'long double' as macro argument, no need for
33824         the 'ldouble' typedef.
33825         (do_test): Set up SIGFPE handler at start, using plain signal rather
33826         than sigaction.  Fix code style.
33828 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33830         [BZ #17949]
33831         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33832         jump label.
33834 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33836         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33837         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33839         * sysdeps/powerpc/configure.ac: Remove file.
33840         * sysdeps/powerpc/configure: Likewise.
33842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33843         [sysdep_routines]: Remove wordcopy-power6 object.
33844         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33845         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33846         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33847         (__memmove_ppc32): Likewise.
33848         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33849         file.
33850         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33851         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33852         Remove preprocessor.
33854         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33855         [sysdep_routines]: Remove wide chars objects.
33856         [wcsmbs]: New rule for wide char objects.
33858         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33859         Remove wordcopy-power6 obejct.
33860         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33861         Use local call for wordcopy and memcpy symbols.
33862         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33863         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33864         implementation for loader.
33865         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33867         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33868         Remove wordcopy-power7 object.
33869         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33870         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33871         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33872         (_wordcopy_fwd_dest_aligned): Likewise.
33873         (_wordcopy_bwd_aligned): Likewise.
33874         (_wordcopy_bwd_dest_aligned): Likewise.
33876         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33877         Rewrite to call __memmove_ppc instead of include default
33878         implementation.
33880         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33881         Remove wide chars objects.
33882         [wcsmbs]: New rule for wide char objects.
33884 2015-02-09  Andreas Schwab  <schwab@suse.de>
33886         [BZ #17912]
33887         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33888         in terms of __O_DIRECTORY.
33890 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33892         * time/getdate.c: Include <stdbool.h>.
33893         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33894         call PTR_MANGLE.
33895         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33896         PTR_DEMANGLE.
33898 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33900         Add ersatz _Static_assert on older C hosts
33901         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33902         pre-C11 C platform that is not known to support _Static_assert.
33904 2015-02-07  Richard Braun  <rbraun@sceen.net>
33906         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33907         sigstate.
33908         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33910 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33912         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33913         priority against unexistent AIO_PRIO_DELTA_MAX.
33914         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33915         instead of int.
33916         * misc/fchflags.c (fchflags): Likewise.
33917         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33918         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33919         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33920         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33921         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33922         Declare macros.
33923         [__USE_MISC] (chflags, fchflags): Declare functions.
33924         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33925         EINVAL when nfds is greater than FD_SETSIZE.
33926         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33927         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33928         45.
33929         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33930         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33931         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33932         MACH_RCV_TIMED_OUT.
33933         * hurd/hurd/signal.h (_hurd_self_sigstate,
33934         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33935         Explicit casts from void *.
33936         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33937         * abi-tags: Rename gnu-gnu os into gnu.
33939         [BZ #4719]
33940         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33941         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33942         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33943         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33944         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33945         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33947         [BZ #17944]
33948         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33949         duplicates ADDR->sun_path with sockaddr LEN limitation.
33950         * sysdeps/mach/hurd/connect.c: Include <string.h>
33951         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33952         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33953         * sysdeps/mach/hurd/sendto.c: Likewise.
33954         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33955         implementing it by hand.
33957 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33959         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33960         Use sfi_breg on ldr.
33961         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33962         Likewise.
33964         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33965         it's defined.
33966         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33967         Test SIGSETXID only if it's defined.
33969         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33971         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33972         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33974         * nptl/tst-align2.c: Moved ...
33975         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33976         * nptl/Makefile (tests): Remove tst-align2.
33977         * sysdeps/unix/sysv/linux/Makefile
33978         [$(subdir) = nptl] (tests): Add tst-align-clone.
33979         * nptl/tst-getpid1.c: Moved ...
33980         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33981         * nptl/tst-getpid2.c: Moved ...
33982         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33983         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33984         * sysdeps/unix/sysv/linux/Makefile
33985         [$(subdir) = nptl] (tests): ... here.
33986         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33987         * sysdeps/unix/sysv/linux/Makefile
33988         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33990         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
33991         Drop trailing \n from perror argument.  Use return rather than exit.
33993         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
33994         on [SA_SIGINFO].
33995         * nptl/tst-cancel21.c (do_test): Likewise.
33996         * debug/tst-backtrace6.c: Include <signal.h> first thing.
33997         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
33998         [!SA_SIGINFO]: Make it a stub test.
34000         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34001         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34003         * posix/tst-getlogin.c: Move to ...
34004         * login/tst-getlogin.c: ... here.
34005         * posix/Makefile (tests): Move tst-getlogin to ...
34006         * login/Makefile (tests): ... here.
34008         * libio/tst-atime.c (do_test): Move local variables SV and E
34009         inside [ST_NOATIME] conditional.
34011         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34013         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34015         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34016         (wait_code): New function replaces macro.
34017         Call nanosleep rather than syscall.
34019         * nptl/pt-system.c: Rewritten.  Put everything under
34020         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34021         Use IFUNC to redirect when possible.
34023         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34024         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34025         Use IFUNC to redirect when possible.
34027         * nptl/pt-fork.c: Rewritten.  Put everything under
34028         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34029         Use IFUNC to redirect when possible.
34030         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34032         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34033         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34034         unconditionally nowadays.  This included the only reference to
34035         __vdso_clock_gettime that appears outside libc proper.
34036         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34037         Remove version set (containing only __vdso_clock_gettime).
34038         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34039         Add attribute_hidden.
34040         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34041         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34042         libc_hidden_data_def.
34043         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34044         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34046         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34047         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34048         setrpcent, and getrpcport to ...
34049         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34050         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34051         getrpcbynumber_r, and getrpcent_r to ...
34052         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34053         * inet/getrpcbyname.c: Moved ...
34054         * sunrpc/getrpcbyname.c: ... here.
34055         * inet/getrpcbyname_r.c: Moved ...
34056         * sunrpc/getrpcbyname_r.c: ... here.
34057         * inet/getrpcbynumber.c: Moved ...
34058         * sunrpc/getrpcbynumber.c: ... here.
34059         * inet/getrpcbynumber_r.c: Moved ...
34060         * sunrpc/getrpcbynumber_r.c: ... here.
34061         * inet/getrpcent.c: Moved ...
34062         * sunrpc/getrpcent.c: ... here.
34063         * inet/getrpcent_r.c: Moved ...
34064         * sunrpc/getrpcent_r.c: ... here.
34065         * inet/Makefile (routines): Move those to ...
34066         * sunrpc/Makefile (routines): ... here.
34067         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34068         the $(subdirs) list.
34069         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34070         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34071         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34072         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34074         * elf/Makefile (routines): Include $(all-dl-routines), not just
34075         $(dl-routines).
34076         (rtld-routines): Likewise.  Use = rather than :=.
34077         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34078         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34079         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34080         * sysdeps/arm/Makefile: Likewise.
34081         * sysdeps/i386/Makefile: Likewise.
34082         * sysdeps/x86_64/Makefile: Likewise.
34083         * sysdeps/hppa/Makefile [$(subdir) = elf]
34084         (sysdep_routines, sysdep-rtld-routines): Don't add
34085         $(sysdep-dl-routines) to these.
34086         * sysdeps/ia64/Makefile: Likewise.
34087         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34088         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34089         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34090         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34091         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34092         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34093         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34094         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34095         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34096         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34097         these; sysdep-dl-routines alone is enough.
34099 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34101         [BZ #17932]
34102         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34103         where multiplication results in zero and third argument is finite
34104         and nonzero.
34105         * math/auto-libm-test-in: Add more tests of fma.
34106         * math/auto-libm-test-out: Regenerated.
34108         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34109         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34110         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34111         (_FP_CMP_EQ): Likewise.
34112         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34114         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34115         extra argument CHECK_NAN.  Redefine as wrapper around
34116         _FP_EXTEND_CNAN.
34118 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34120         * version.h (RELEASE): Set to "stable".
34121         (VERSION): Set to "2.21"
34122         * include/features.h (__GLIBC_MINOR__): Set to 21.
34124         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34126 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34127             Paul Eggert  <eggert@cs.ucla.edu>
34129         [BZ #16618]
34130         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34131         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34132         size in bytes. Store needed elements in wpmax. Use needed size
34133         in bytes for extend_alloca.
34135 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34137         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34138         binutls 2.25, and texinfo 5.2.
34139         * INSTALL: Regenerate.
34140         * sysdeps/nios2/configure: Regenerate.
34141         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34142         * manual/contrib.texi: Update.
34143         * po/be.po: Update.
34144         * po/bg.po: Update.
34145         * po/ca.po: Update.
34146         * po/cs.po: Update.
34147         * po/da.po: Update.
34148         * po/de.po: Update.
34149         * po/el.po: Update.
34150         * po/eo.po: Update.
34151         * po/es.po: Update.
34152         * po/fi.po: Update.
34153         * po/fr.po: Update.
34154         * po/gl.po: Update.
34155         * po/hr.po: Update.
34156         * po/hu.po: Update.
34157         * po/ia.po: Update.
34158         * po/id.po: Update.
34159         * po/it.po: Update.
34160         * po/ja.po: Update.
34161         * po/ko.po: Update.
34162         * po/lt.po: Update.
34163         * po/nb.po: Update.
34164         * po/nl.po: Update.
34165         * po/pl.po: Update.
34166         * po/pt_BR.po: Update.
34167         * po/ru.po: Update.
34168         * po/rw.po: Update.
34169         * po/sk.po: Update.
34170         * po/sl.po: Update.
34171         * po/sv.po: Update.
34172         * po/tr.po: Update.
34173         * po/uk.po: Update.
34174         * po/vi.po: Update.
34175         * po/zh_CN.po: Update.
34176         * po/zh_TW.po: Update.
34178         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34179         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34180         * sysdeps/hppa/dl-irel.h: Remove #warning.
34181         * sysdeps/hppa/entry.h: Provide prototype for
34182         __canonicalize_funcptr_for_compare and cast argument.
34183         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34184         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34185         * sysdeps/hppa/sotruss-lib.c: New file.
34186         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34187         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34188         (atomic_compare_and_exchange_bool_acq): Likewise.
34189         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34190         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34192         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34193         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34194         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34196 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34198         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34199         called function in non-PIC case.
34201 2015-01-31  David S. Miller  <davem@davemloft.net>
34203         * sysdeps/sparc/sparc32/bits/atomic.h
34204         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34205         unlock not after it.
34206         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34207         volatile register usage warnings from the compiler.
34209         * sysdeps/sparc/nptl/sem_init.c: Delete.
34210         * sysdeps/sparc/nptl/sem_post.c: Delete.
34211         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34212         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34213         * sysdeps/sparc/sparc32/sem_init.c: New file.
34214         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34215         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34216         padding explicitly initialized.
34217         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34218         padding for in-semaphore spinlock.
34219         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34220         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34221         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34222         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34223         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34224         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34225         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34226         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34227         version.
34228         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34229         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34231 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34233         [BZ #17801]
34234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34235         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34236         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34237         New.
34238         (index_AVX_Fast_Unaligned_Load): Likewise.
34239         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34240         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34241         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34242         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34243         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34244         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34245         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34246         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34247         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34249 2015-01-29  Andreas Schwab  <schwab@suse.de>
34251         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34253 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34255         [BZ #17892]
34256         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34258 2015-01-28  Martin Sebor  <msebor@redhat.com>
34260         * math/README.libm-test: Clarify. Add "How to read the test output."
34262 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34264         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34265         Define to 0.
34267 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34269         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34270         (__HAVE_64B_ATOMICS): Define to 0.
34272 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34274         [BZ #17885]
34275         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34276         value to set as new flag.
34278         [BZ #16576]
34279         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34280         and use _ARCH_PPCSQ instead.
34281         (__ieee754_sqrt): Likewise.
34282         (__ieee754_sqrtf): Likewise.
34283         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34284         _ARCH_PPCSQ is defined.
34285         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34286         fsqrt instruction.
34287         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34288         _ARCH_PPCSQ is defined.
34289         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34290         fsqrts instruction.
34291         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34293 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34295         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34296         bug (GCC BZ #64739).
34298 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34300         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34301         Mark _retval as used.
34302         (lll_futex_wake_unlock): Likewise.
34303         (lll_futex_timed_wait_requeue_pi): Likewise.
34305         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34306         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34307         register variables.
34309         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34310         libm_hidden_def.
34312         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34313         (__bswap_64): Mark as __always_inline.
34315 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34317         [BZ #15378]
34318         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34319         when none of the search directories exist.
34321 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34323         [BZ #17869]
34324         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34325         power8 in .machine directive.
34327         [BZ #17868]
34328         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34329         set dependency from opd value.
34331 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34333         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34334         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34335         architecture.
34337 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34339         [BZ #17870]
34340         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34341         with uint64_t.
34342         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34343         (uint64_t) 1.
34344         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34345         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34346         Replace 1UL with (uint64_t) 1.
34347         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34348         int with uint64_t.
34350 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34352         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34353         (if_freenameindex): Likewise.
34355         * resource/getrlimit64.c: Add missing libc_hidden_def.
34357 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34359         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34360         __label__.
34361         (_FP_FMA): Likewise.
34362         (_FP_TO_INT_ROUND): Likewise.
34363         (_FP_FROM_INT): Likewise.
34365 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34367         [BZ #16418]
34368         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34369         Make code racy and cancel safe.
34371 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34373         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34374         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34375         attribution.
34377         * pwd/tst-getpw.c: Rewrite.
34379         [BZ #17702]
34380         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34381         (modules-names): Add moddummy1 and moddummy2.
34382         ($(objpfx)tst-rec-dlopen): Define.
34383         * dlfcn/moddummy1.c: New file.
34384         * dlfcn/moddummy2.c: New file.
34385         * dlfcn/tst-rec-dlopen.c: New file.
34386         * elf/dl-cache.c (_dl_load_cache_lookup):
34387         Return char*. Copy result with alloca/strcpy/strdup.
34388         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34389         returns char*. Free cached. If not saving realname
34390         free cached.
34391         * elf/dl-open.c (dl_open_worker): Do not assert that
34392         _r_debug->r_state is RT_CONSISTENT.
34393         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34394         returns char*.
34396 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34397             Carlos O'Donell  <carlos@redhat.com>
34399         [BZ #12674]
34400         * nptl/sem_waitcommon.c: New file.
34401         * nptl/sem_wait.c: Include sem_waitcommon.c.
34402         (__sem_wait_cleanup, do_futex_wait): Remove.
34403         (__new_sem_wait): Adapt.
34404         (__new_sem_trywait): New function.
34405         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34406         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34407         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34408         (sem_timedwait): Adapt.
34409         * nptl/sem_post.c (__new_sem_post): Adapt.
34410         (futex_wake): New function.
34411         (__old_sem_post): Add release MO fence.
34412         * nptl/sem_open.c (sem_open): Adapt.
34413         * nptl/sem_init.c (__new_sem_init): Adapt.
34414         (futex_private_if_supported): New function.
34415         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34416         (__old_sem_getvalue): Add using previous code.
34417         * sysdeps/nptl/internaltypes.h: Adapt.
34418         * nptl/tst-sem13.c (do_test): Adapt.
34419         * nptl/tst-sem11.c (main): Adapt.
34420         * nptl/sem_trywait.c: Remove.
34421         * nptl/DESIGN-sem.txt: Remove.
34422         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34423         (gen-as-const-headers): Remove structsem.sym.
34424         * nptl/structsem.sym: Remove.
34425         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34426         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34427         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34428         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34429         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34430         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34431         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34432         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34433         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34434         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34435         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34436         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34437         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34438         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34439         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34440         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34441         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34442         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34443         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34444         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34445         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34446         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34448 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34450         * INSTALL: Regenerated.
34452         * po/libc.pot: Regenerated.
34454 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34455             Sandra Loosemore  <sandra@codesourcery.com>
34456             Andrew Jenner  <andrew@codesourcery.com>
34457             Joseph Myers  <joseph@codesourcery.com>
34458             Nathan Sidwell  <nathan@codesourcery.com>
34460         * NEWS: Mention new Nios II port.
34461         * sysdeps/nios2/Implies: New file.
34462         * sysdeps/nios2/Makefile: New file.
34463         * sysdeps/nios2/Subdirs: New file.
34464         * sysdeps/nios2/Versions: New file.
34465         * sysdeps/nios2/__longjmp.S: New file.
34466         * sysdeps/nios2/abort-instr.h: New file.
34467         * sysdeps/nios2/backtrace.c: New file.
34468         * sysdeps/nios2/bits/endian.h: New file.
34469         * sysdeps/nios2/bits/fenv.h: New file.
34470         * sysdeps/nios2/bits/link.h: New file.
34471         * sysdeps/nios2/bits/setjmp.h: New file.
34472         * sysdeps/nios2/bsd-_setjmp.S: New file.
34473         * sysdeps/nios2/bsd-setjmp.S: New file.
34474         * sysdeps/nios2/configure: New generated file.
34475         * sysdeps/nios2/configure.ac: New file.
34476         * sysdeps/nios2/crti.S: New file.
34477         * sysdeps/nios2/crtn.S: New file.
34478         * sysdeps/nios2/dl-init.c: New file.
34479         * sysdeps/nios2/dl-machine.h: New file.
34480         * sysdeps/nios2/dl-sysdep.h: New file.
34481         * sysdeps/nios2/dl-tls.h: New file.
34482         * sysdeps/nios2/dl-trampoline.S: New file.
34483         * sysdeps/nios2/gccframe.h: New file.
34484         * sysdeps/nios2/gmp-mparam.h: New file.
34485         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34486         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34487         * sysdeps/nios2/ldsodefs.h: New file.
34488         * sysdeps/nios2/libc-tls.c: New file.
34489         * sysdeps/nios2/libm-test-ulps: New file.
34490         * sysdeps/nios2/machine-gmon.h: New file.
34491         * sysdeps/nios2/math-tests.h: New file.
34492         * sysdeps/nios2/math_private.h: New file.
34493         * sysdeps/nios2/memusage.h: New file.
34494         * sysdeps/nios2/nptl/Makefile: New file.
34495         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34496         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34497         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34498         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34499         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34500         * sysdeps/nios2/nptl/tls.h: New file.
34501         * sysdeps/nios2/preconfigure: New file.
34502         * sysdeps/nios2/s_fma.c: New file.
34503         * sysdeps/nios2/s_fmaf.c: New file.
34504         * sysdeps/nios2/setjmp.S: New file.
34505         * sysdeps/nios2/sfp-machine.h: New file.
34506         * sysdeps/nios2/sotruss-lib.c: New file.
34507         * sysdeps/nios2/stackguard-macros.h: New file.
34508         * sysdeps/nios2/stackinfo.h: New file.
34509         * sysdeps/nios2/start.S: New file.
34510         * sysdeps/nios2/sysdep.h: New file.
34511         * sysdeps/nios2/tls-macros.h: New file.
34512         * sysdeps/nios2/tst-audit.h: New file.
34513         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34514         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34515         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34516         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34517         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34518         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34519         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34520         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34521         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34522         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34523         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34524         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34525         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34526         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34527         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34528         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34529         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34530         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34531         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34532         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34533         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34534         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34535         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34536         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34537         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34538         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34539         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34540         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34541         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34542         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34543         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34544         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34545         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34546         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34547         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34548         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34549         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34550         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34551         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34552         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34553         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34554         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34555         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34556         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34558 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34560         [BZ #17844]
34561         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34562         (getutent): Use weak_alias in non SHARED case
34563         and default_symbol_version in SHARED case.
34564         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34565         (getutent_r, pututline): Likewise.
34566         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34567         (getutid): Likewise.
34568         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34569         (getutid_r): Likewise.
34570         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34571         (getutline): Likewise.
34572         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34573         (getutline_r): Likewise.
34574         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34575         (updwtmp): Likewise.
34577 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34579         [BZ #17848]
34580         * sysdeps/s390/s390-32/memcmp.S
34581         (memcmp_g5): Rename to __memcmp_g5.
34582         * sysdeps/s390/s390-32/memcpy.S
34583         (memcpy_g5): Rename to __memcpy_g5.
34584         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34585         (memcpy_mvcle) Rename to __memcpy_mvcle.
34586         * sysdeps/s390/s390-32/memset.S
34587         (memset_g5): Rename to __memset_g5.
34588         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34589         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34590         and use prefixed functions.
34591         * sysdeps/s390/s390-32/multiarch/memcmp.S
34592         (memcmp_z196): Rename to __memcmp_z196.
34593         (memcmp_z10): Rename to __memcmp_z10.
34594         (memcmp): Set alias to __memcmp_g5.
34595         (bcmp): Set alias to __memcmp_g5.
34596         * sysdeps/s390/s390-32/multiarch/memcpy.S
34597         (memcpy_z196): Rename to __memcpy_z196.
34598         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34599         (memcpy_z10): Rename to __memcpy_z10.
34600         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34601         (memcpy): Set alias to __memcpy_g5.
34602         * sysdeps/s390/s390-32/multiarch/memset.S
34603         (memset_z196): Rename to __memset_z196.
34604         Jump to __memset_mvcle instead of memset_mvcle.
34605         (memset_z10): Rename to __memset_z10.
34606         Jump to __memset_mvcle instead of memset_mvcle.
34607         (memset_mvcle) Rename to __memset_mvcle.
34608         (memset): Set alias to __memset_g5.
34609         * sysdeps/s390/s390-64/memcmp.S
34610         (memcmp_z900): Rename to __memcmp_z900.
34611         * sysdeps/s390/s390-64/memcpy.S
34612         (memcpy_z900): Rename to __memcpy_z900.
34613         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34614         (memcpy_mvcle) Rename to __memcpy_mvcle.
34615         * sysdeps/s390/s390-64/memset.S
34616         (memset_z900): Rename to __memset_z900.
34617         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34618         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34619         and use prefixed functions.
34620         * sysdeps/s390/s390-64/multiarch/memcmp.S
34621         (memcmp_z196): Rename to __memcmp_z196.
34622         (memcmp_z10): Rename to __memcmp_z10.
34623         (memcmp): Set alias to __memcmp_z900.
34624         (bcmp): Set alias to __memcmp_z900.
34625         * sysdeps/s390/s390-64/multiarch/memcpy.S
34626         (memcpy_z196): Rename to __memcpy_z196.
34627         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34628         (memcpy_z10): Rename to __memcpy_z10.
34629         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34630         (memcpy): Set alias to __memcpy_z900.
34631         * sysdeps/s390/s390-64/multiarch/memset.S
34632         (memset_z196): Rename to __memset_z196.
34633         Jump to __memset_mvcle instead of memset_mvcle.
34634         (memset_z10): Rename to __memset_z10.
34635         Jump to __memset_mvcle instead of memset_mvcle.
34636         (memset_mvcle) Rename to __memset_mvcle.
34637         (memset): Set alias to __memset_z900.
34639 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34641         [BZ #17748]
34642         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34643         __fesetenv instead of fesetenv.
34645 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34647         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34648         macro.
34650 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34652         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34653         regression on LE.
34655         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34656         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34657         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34658         strncmp-power8 object.
34659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34660         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34661         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34662         * NEWS: Update.
34664 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34665             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34667         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34668         trailing byte check.
34670 2015-01-13  David S. Miller  <davem@davemloft.net>
34672         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34674 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34676         * login/logout.c (logout): Use memset rather than bzero.
34677         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34678         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34679         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34680         (_gethtbyaddr): Likewise.
34681         * locale/programs/simple-hash.c (bcopy): Macro removed.
34683 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34685         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34686         Add strcmp-power8 object.
34687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34688         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34689         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34690         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34691         __strcmp_power8 implementation.
34692         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34693         * NEWS: Update.
34695         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34696         Add strncpy-power8 and stpncpy-power8 objects.
34697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34698         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34699         implementations.
34700         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34701         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34702         __stpncpy_power8 implementation.
34703         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34704         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34705         __strncpy_power8 implementation.
34706         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34707         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34708         * NEWS: Update.
34710         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34711         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34712         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34714         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34715         strncat-power8 object.
34716         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34717         __strcat_power8 implementation.
34718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34719         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34720         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34721         optimized strcat for power8.
34723         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34724         strcpy-power8 and stpcpy-power8 objects.
34725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34726         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34727         implementations.
34728         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34729         multiarch stpcpy implementation for POWER8.
34730         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34731         multiarch strcpy implementation for POWER8.
34732         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34733         __strcpy_power8 function.
34734         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34735         stpcpy for POWER8.
34736         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34737         strcpy for POWER8.
34738         * NEWS: Update.
34740 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34742         [BZ #16009]
34743         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34744         weights and rules. Use do_xfrm_cached if data fits in cache,
34745         do_xfrm otherwise.  Moved former main loop to...
34746         * (do_xfrm_cached): New function.
34747         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34748         find_idx, find_position and stack_push.
34749         * (find_idx): New function.
34750         * (find_position): Likewise.
34751         * localedata/sort-test.sh: Added test run for do_xfrm.
34752         * localedata/xfrm-test.c (main): Added command line option
34753         -nocache to run the test with strings that are too large for
34754         the STRXFRM cache.
34756 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34758         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34759         variable to lll_futex_wake call, not the value itself.
34761 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34763         [BZ #17803]
34764         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34765         twom64.  Adjust value to 0x1p-64L.
34766         (__scalblnl): Only return standard underflowing result for K <=
34767         -64 not K <= -63; adjust exponent for underflowing result by 64
34768         not 63.
34769         * math/libm-test.inc (scalbn_test_data): Add more tests.
34770         (scalbln_test_data): Likewise.
34772         [BZ #17834]
34773         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34774         0x1p63L.
34775         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34776         not HX.
34777         * math/libm-test.inc (scalbn_test_data): Add more tests.
34778         (scalbln_test_data): Likewise.
34780 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34781             Stefani Seibold  <stefani@seibold.net>
34783         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34784         (sysdep_routines): Add dl-vdso here, ...
34785         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34786         (sysdep_routines): ... not here.
34787         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34788         fallback when vDSO is not presented.
34789         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34790         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34791         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34792         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34793         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34794         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34795         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34796         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34797         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34798         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34799         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34800         fallback configurable symbol when vDSO is not available.
34801         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34802         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34803         be able to redefine fallback symbol when vDSO is not available.
34804         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34805         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34807 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34809         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34810         (TLS_INIT_TP): Add tm_capable initialization.
34811         (TLS_DEFINE_INIT_TP): Likewise.
34812         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34813         TCB.
34814         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34815         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34816         calculation.
34817         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34818         transactoion is lock elision is built and TCB tm_capable is set.
34819         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34821         (INTERNAL_SYSCALL_NCS): Likewise.
34822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34823         (INTERNAL_SYSCALL_NCS): Likewise.
34824         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34826         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34827         for powerpc.
34828         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34829         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34830         and remove it for 32 bits case.
34831         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34833         initialization.
34834         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34835         Disable lock elision with rdlocks if elision is not available.
34837         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34838         (sysdep_routines): Add lock elision objects.
34839         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34840         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34841         [pthread_mutex_t] (__elision): Add field.
34842         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34843         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34844         elision definitions for powerpc.
34845         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34846         implementation of lock elision for powerpc.
34847         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34848         implementation of timed lock elision for powerpc.
34849         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34850         implementation of trylock with lock elision for powerpc.
34851         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34852         implementaion of unlock for lock elision for powerpc.
34853         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34854         automatic enable lock elision for mutexes.
34855         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34856         transaction execution definitions for powerpc.
34857         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34858         definitions.
34859         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34860         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34861         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34862         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34863         * NEWS: Update.
34865 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34867         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34868         for #include of <shm-directory.h>.
34870 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34872         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34873         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34875 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34877         [BZ #17791]
34878         * NEWS: Mention bug fix.
34879         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34880         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34881         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34883 2015-01-09  Torvald Riegel <triegel@redhat.com>
34885         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34887 2015-01-09  Torvald Riegel <triegel@redhat.com>
34889         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34891 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34893         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34894         pointer and cast to uintptr_t.
34896 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34898         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34899         removed.
34900         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34902 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34904         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34905         of 0.
34907 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34909         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34910         <nptl/pthreadP.h> instead.
34911         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34913         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34914         already defined.
34915         [__SIGRTMIN] (init): Function removed.
34916         [__SIGRTMIN] (initialized): Variable removed.
34917         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34918         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34919         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34920         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34921         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34922         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34923         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34924         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34925         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34926         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34927         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34928         * sysdeps/nptl/allocrtsig.c: New file.
34929         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34930         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34931         * sysdeps/generic/testrtsig.h: File removed.
34933         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34934         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34936         * nptl/nptl-init.c (pthread_functions): Conditionalize
34937         .ptr__nptl_setxid initialization on [SIGSETXID].
34939         * sysdeps/nptl/sys/procfs.h: New file.
34940         * nptl_db/Makefile (headers): Add it.
34941         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34943         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34944         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34945         * nptl/pthread_attr_setaffinity.c: Include it.
34946         * nptl/pthread_setattr_default_np.c: Likewise.
34947         * nptl/check-cpuset.h: New file.
34949 2015-01-08  Richard Henderson  <rth@redhat.com>
34951         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34952         (CFLAGS-tst-execstack-prog.c): Likewise.
34953         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34955 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34956             Sandra Loosemore  <sandra@codesourcery.com>
34957             Andrew Jenner  <andrew@codesourcery.com>
34958             Joseph Myers  <joseph@codesourcery.com>
34959             Nathan Sidwell  <nathan@codesourcery.com>
34961         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34962         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34963         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34964         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34965         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34966         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34967         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34968         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34969         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34970         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34971         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34972         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34973         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34974         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34975         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34976         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34977         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34979 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34981         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34982         timespec struct member in syscall macro.
34983         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34984         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34985         first timeval struct member in syscall macro.
34986         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34988 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34990         [BZ #17748]
34991         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
34992         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
34993         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
34994         __feupdateenv and define as weak alias of __feupdateenv.  Use
34995         libm_hidden_weak.
34996         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
34997         libm_hidden_def.
34998         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
34999         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35000         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35001         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35002         libm_hidden_def.
35003         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35004         __feupdateenv and define as weak alias of __feupdateenv.  Use
35005         libm_hidden_weak.
35006         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35007         libm_hidden_def.
35008         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35009         __feupdateenv and define as weak alias of __feupdateenv.  Use
35010         libm_hidden_weak.
35011         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35012         libm_hidden_def.
35013         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35014         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35015         (__feupdateenv): Likewise.
35016         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35017         __feupdateenv and define as weak alias of __feupdateenv.  Use
35018         libm_hidden_weak.
35019         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35020         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35021         libm_hidden_def.
35022         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35023         function.
35024         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35025         libm_hidden_def.
35026         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35027         __feupdateenv instead of feupdateenv.
35028         (default_libc_feupdateenv_test): Likewise.
35029         (libc_feresetround_ctx): Likewise.
35031 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35033         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35034         prototype.
35036 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35038         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35039         COLL_SYM in a couple of places to avoid uninitialized variable
35040         wanings on tilegx gcc 4.8.2.
35042 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35044         * sysdeps/aarch64/strcpy.S: New file.
35045         * sysdeps/aarch64/stpcpy.S: New file.
35046         * NEWS: Updated.
35048 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35050         * sysdeps/aarch64/strrchr.S: New file.
35051         * NEWS: Updated.
35053 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35055         [BZ #17658]
35056         * stdlib/setenv.c: Fix memory leak when setting large,
35057         duplicate string.
35059 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35061         [BZ #17273]
35062         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35063         and tabs from buffer before parsing fstab entry.
35064         * misc/tst-mntent.c (main): Add test for mount entry with
35065         trailing spaces and tabs.
35067 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35069         [BZ #17748]
35070         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35071         * math/fesetround.c (fesetround): Rename to __fesetround and
35072         define as weak alias of __fesetround.  Use libm_hidden_weak.
35073         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35074         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35075         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35076         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35077         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35078         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35079         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35080         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35081         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35082         __fesetround_inline.
35083         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35084         __fesetround_inline instead of __fesetround.
35085         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35086         __fesetround and define as weak alias of __fesetround.  Use
35087         libm_hidden_weak.  Call __fesetround_inline instead of
35088         __fesetround.
35089         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35090         __fesetround and define as weak alias of __fesetround.  Use
35091         libm_hidden_weak.
35092         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35093         Likewise.
35094         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35095         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35096         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35097         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35098         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35099         __fesetround and define as weak alias of __fesetround.  Use
35100         libm_hidden_weak.
35101         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35102         __fesetround instead of fesetround.
35103         (default_libc_feholdexcept_setround): Likewise.
35104         (libc_feholdsetround_ctx): Likewise.
35105         (libc_feholdsetround_noex_ctx): Likewise.
35107         [BZ #17748]
35108         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35109         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35110         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35111         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35112         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35113         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35114         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35115         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35116         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35117         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35118         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35119         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35120         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35121         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35122         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35123         libm_hidden_def.
35124         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35125         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35126         Likewise.
35127         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35128         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35129         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35130         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35131         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35132         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35133         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35134         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35135         __fesetenv instead of fesetenv.
35136         (libc_feresetround_noex_ctx): Likewise.
35137         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35138         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35139         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35140         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35141         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35142         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35143         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35144         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35145         (__feupdateenv): Likewise.
35146         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35147         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35148         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35149         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35151 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35153         [BZ #17806]
35154         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35155         addresses have been freed.
35157 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35159         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35160         and nservall.
35162 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35164         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35165         Clean up check_pf allocation pattern. addresses
35167 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35169         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35170         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35171         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35172         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35173         * nptl/pthread_join.c (pthread_join): Likewise.
35174         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35175         * sysdeps/posix/waitid.c (__waitid): Likewise.
35176         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35177         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35178         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35179         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35180         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35181         Likewise.
35182         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35183         (__libc_pread64): Likewise.
35184         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35185         (__libc_pwrite): Likewise.
35186         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35187         (__libc_pwrite64): Likewsie.
35188         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35189         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35190         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35191         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35192         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35193         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35194         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35196         Likewise.
35197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35198         (__libc_pread64): Likewise.
35199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35200         Likewise.
35201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35202         (__libc_pwrite64): Likewise.
35203         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35204         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35205         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35206         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35207         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35208         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35209         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35210         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35211         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35212         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35213         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35214         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35215         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35216         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35217         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35218         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35219         Likewise.
35221 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35223         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35224         (CFLAGS-test-double.c): Likewise.
35225         (CFLAGS-test-ldouble.c): Likewise.
35226         (CPPFLAGS-test-ifloat.c): Likewise.
35227         (CPPFLAGS-test-idouble.c): Likewise.
35228         (CPPFLAGS-test-ildoubl.c): Likewise.
35229         (CFLAGS-test-test-fenv.c): Remove variable.
35230         (CFLAGS-test-misc.c): Likewise.
35232 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35234         [BZ #17797]
35235         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35236         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35237         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35238         CLOCKS_PER_SEC == 1000000.
35239         * time/clocktest.c (main): Replace %ld with %jd and cast to
35240         intmax_t.
35242 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35244         * sysdeps/generic/unwind-resume.h: New file.
35245         * sysdeps/gnu/unwind-resume.c: Include it.
35246         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35247         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35248         argument list.
35249         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35250         global rather than static.
35251         (_Unwind_Resume): Update user.
35252         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35253         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35254         rather than static.  Add __attribute__ ((cold)).
35255         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35256         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35257         * sysdeps/arm/arm-unwind-resume.S: New file.
35258         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35259         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35260         * sysdeps/arm/Makefile [$(subdir) = csu]
35261         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35262         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35263         Add rt-arm-unwind-resume.
35264         [$(subdir) = nptl]
35265         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35266         Add pt-arm-unwind-resume.
35267         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35268         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35270 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35272         [BZ #17748]
35273         * include/fenv.h (__feholdexcept): Declare.  Use
35274         libm_hidden_proto.
35275         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35276         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35277         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35278         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35279         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35280         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35281         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35282         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35283         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35284         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35285         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35286         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35287         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35288         (feholdexcept): Likewise.
35289         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35290         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35291         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35292         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35293         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35294         __feholdexcept instead of feholdexcept.
35295         (default_libc_feholdexcept_setround): Likewise.
35297 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35299         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35300         to avoid using stl/str to align destination.
35302 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35304         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35306 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35308         [BZ #17796]
35309         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35310         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35311         Define as weak alias not strong alias.
35313 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35315         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35316         bltzal with addiupc.
35317         (RTLD_START): Ditto.
35319 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35321         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35322         for __vdso_* functions in declarations.
35323         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35324         definitions.
35325         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35326         INTERNAL_VSYSCALL): Use struct return types to check for error.
35328         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35329         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35330         function with cast from llround().
35331         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35332         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35333         Define.
35335 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35337         [BZ #17793]
35338         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35339         Define as weak alias not strong alias.
35341         [BZ #17635]
35342         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35343         ...
35344         * ctype/ctype-extn.c: ... here.
35345         (__isblank_l): Move to ...
35346         * ctype/ctype-c99_l.c: ... here.  New file.
35347         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35348         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35349         Remove variable.
35350         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35351         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35352         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35353         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35354         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35356         [BZ #17777]
35357         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35358         (posix_fadvise64): Define as weak alias not strong alias.
35359         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35360         (posix_fallocate64): Likewise.
35361         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35362         Remove variable.
35363         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35364         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35365         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35366         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35367         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35369 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35371         [BZ #16191]
35372         * NEWS: Mention bug fix.
35373         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35374         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35375         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35376         (HOST_STACK_END_ADDR): Likewise.
35378 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35380         [BZ #17748]
35381         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35382         * math/fegetround.c (fegetround): Rename to __fegetround and
35383         define as weak alias of __fegetround.  Use libm_hidden_weak.
35384         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35385         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35386         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35387         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35388         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35389         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35390         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35391         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35392         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35393         Undefine after rather than before function definition; use
35394         parentheses around function name in definition.
35395         (__fegetround): Also undefine macro after function definition.
35396         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35397         __fegetround and define as weak alias of __fegetround.  Use
35398         libm_hidden_weak.  Do not undefine as macro.
35399         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35400         Likewise.
35401         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35402         __fegetround and define as weak alias of __fegetround.  Use
35403         libm_hidden_weak.
35404         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35405         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35406         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35407         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35408         __fegetround and define as weak alias of __fegetround.  Use
35409         libm_hidden_weak.
35410         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35411         __fegetround instead of fegetround.
35413         [BZ #17782]
35414         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35415         Condition macro definition on [__USE_MISC].
35417         [BZ #17781]
35418         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35419         (struct sigaction): Change type of sa_flags field to int.
35421         [BZ #17780]
35422         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35423         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35424         __glibc_reserved0.
35426         * nptl/version.c (banner): Use single year in copyright notice.
35428         * NEWS: Update copyright dates.
35429         * catgets/gencat.c (print_version): Likewise.
35430         * csu/version.c (banner): Likewise.
35431         * debug/catchsegv.sh: Likewise.
35432         * debug/pcprofiledump.c (print_version): Likewise.
35433         * debug/xtrace.sh (do_version): Likewise.
35434         * elf/ldconfig.c (print_version): Likewise.
35435         * elf/ldd.bash.in: Likewise.
35436         * elf/pldd.c (print_version): Likewise.
35437         * elf/sotruss.sh: Likewise.
35438         * elf/sprof.c (print_version): Likewise.
35439         * iconv/iconv_prog.c (print_version): Likewise.
35440         * iconv/iconvconfig.c (print_version): Likewise.
35441         * locale/programs/locale.c (print_version): Likewise.
35442         * locale/programs/localedef.c (print_version): Likewise.
35443         * login/programs/pt_chown.c (print_version): Likewise.
35444         * malloc/memusage.sh (do_version): Likewise.
35445         * malloc/memusagestat.c (print_version): Likewise.
35446         * malloc/mtrace.pl: Likewise.
35447         * manual/libc.texinfo: Likewise.
35448         * nptl/version.c (banner): Likewise.
35449         * nscd/nscd.c (print_version): Likewise.
35450         * nss/getent.c (print_version): Likewise.
35451         * nss/makedb.c (print_version): Likewise.
35452         * posix/getconf.c (main): Likewise.
35453         * scripts/test-installation.pl: Likewise.
35454         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35456 2015-01-02  Will Newton  <will.newton@linaro.org>
35458         * sysdeps/arm/armv7/configure: Removed.
35459         * sysdeps/arm/armv7/configure.ac: Likewise.
35461 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35463         * All files with FSF copyright notices: Update copyright dates
35464         using scripts/update-copyrights.
35465         * intl/plural.c: Regenerated.
35466         * locale/programs/charmap-kw.h: Likewise.
35467         * locale/programs/locfile-kw.h: Likewise.
35469 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35471         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35473 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35475         [BZ #17748]
35476         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35477         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35478         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35479         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35480         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35481         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35482         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35483         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35484         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35485         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35486         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35487         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35488         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35489         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35490         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35491         libm_hidden_def.
35492         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35493         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35494         Likewise.
35495         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35496         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35497         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35498         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35499         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35500         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35501         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35502         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35503         __fegetenv instead of fegetenv.
35504         (libc_feholdsetround_noex_ctx): Likewise.
35506 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35508         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35509         (Elf_MIPS_ABIFlags_v0): New structure.
35510         (EF_MIPS_FP64): Define.
35511         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35512         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35513         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35514         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35515         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35516         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35517         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35518         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35519         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35520         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35521         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35522         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35523         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35524         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35525         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35526         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35527         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35528         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35529         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35530         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35531         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35532         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35533         field.
35534         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35535         EF_MIPS_FP64.
35536         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35537         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35538         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35539         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35540         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35541         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35542         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35543         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35544         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35545         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35546         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35547         record the current FP ABI extension.
35548         (mips-mode-switch): Define to show if kernel headers support mode
35549         switching.
35550         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35551         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35552         supported SYSV ABI version to 3.
35553         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35554         feature.
35556 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35557             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35559         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35560         path.
35561         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35563 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35565         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35566         __fegetround and redefine to call __fegetround.  Remove condition
35567         on [!__NO_MATH_INLINES].
35568         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35569         function.
35570         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35571         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35572         Remove macro.
35573         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35574         instead of <fenv_libc.h>.
35575         (__llrintl): Call fegetround instead of __fegetround.
35576         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35577         instead of <fenv_libc.h>.
35578         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35579         (__lrintl): Call fegetround instead of __fegetround.
35580         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35581         instead of <fenv_libc.h>.
35582         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35583         (__rintl): Call fegetround instead of __fegetround.
35585 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35587         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35588         arrays.
35590 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35592         [BZ #17775]
35593         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35594         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35595         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35597 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35599         * sysdeps/i386/tls-macros.h: Include <features.h>.
35600         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35601         (TLS_IE): Likewise.
35602         (TLS_LD): Likewise.
35603         (TLS_GD): Likewise.
35604         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35605         define for GCC >= 5.0.
35607 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35609         * math/test-fenv.c (test_single_exception, set_single_exc,
35610         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35611         feexcp_mask_test, feenable_test, fe_single_test): Add
35612         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35613         case where they are not used.
35614         * math/libm-test.inc: Likewise.
35615         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35616         unused in the absence of FP rounding/exception support.
35617         * stdio-common/tst-printf-round.c: Likewise.
35618         * stdlib/tst-strtod-round.c: Likewise.
35619         * stdlib/tst-strtod-underflow.c: Likewise.
35621 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35623         [BZ #17723]
35624         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35625         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35626         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35627         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35628         libm_hidden_weak.
35629         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35630         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35631         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35632         libm_hidden_def.
35633         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35634         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35635         libm_hidden_weak.
35636         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35637         Likewise.
35638         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35639         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35640         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35641         libm_hidden_weak.
35642         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35643         libm_hidden_def.
35644         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35645         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35646         (__feraiseexcept): Likewise.
35647         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35648         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35649         libm_hidden_weak.
35650         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35651         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35652         libm_hidden_def.
35653         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35654         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35655         Use libm_hidden_def.
35656         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35657         libm_hidden_def.
35658         (feraiseexcept): Define as weak not strong alias.  Use
35659         libm_hidden_weak.
35660         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35661         New inline function.  Factored out of ...
35662         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35663         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35664         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35665         feraiseexcept.
35666         * math/w_acos.c (__acos): Likewise.
35667         * math/w_asin.c (__asin): Likewise.
35668         * math/w_ilogb.c (__ilogb): Likewise.
35669         * math/w_j0.c (y0): Likewise.
35670         * math/w_j1.c (y1): Likewise.
35671         * math/w_jn.c (yn): Likewise.
35672         * math/w_log.c (__log): Likewise.
35673         * math/w_log10.c (__log10): Likewise.
35674         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35675         * sysdeps/aarch64/fpu/math_private.h
35676         (libc_feupdateenv_test_aarch64): Likewise.
35677         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35678         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35679         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35680         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35681         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35682         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35683         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35684         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35685         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35686         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35688 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35690         [BZ #17732]
35691         * io/test-utime.c (main): Replace %ld with %jd and cast to
35692         intmax_t.
35693         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35694         * nptl/tst-mutex5.c: Include <stdint.h>.
35695         (do_test): Replace %ld with %jd and cast to intmax_t.
35696         * posix/tst-regex.c (run_test): Likewise.
35697         (run_test_backwards): Likewise.
35698         * rt/tst-clock.c: Include <stdint.h>.
35699         (clock_test): Replace %ld with %jd and cast to intmax_t.
35700         * rt/tst-cpuclock1.c: Include <stdint.h>.
35701         (do_test): Replace %lu with %ju and cast to uintmax_t.
35702         * rt/tst-cpuclock2.c: Include <stdint.h>.
35703         (do_test): Replace %lu with %ju and cast to uintmax_t.
35704         * rt/tst-mqueue1.c: Include <stdint.h>.
35705         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35706         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35707         intmax_t.
35708         * rt/tst-mqueue4.c (do_test): Likewise.
35709         * rt/tst-timer4.c: Include <stdint.h>.
35710         (check_ts): Replace %ld with %jd and cast to intmax_t.
35711         (do_test): Likewise.
35712         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35713         and cast to intmax_t.
35714         * sysdeps/pthread/tst-timer.c (main): Likewise.
35715         * time/clocktest.c (main): Likewise.
35716         * time/tst-posixtz.c (do_test): Likewise.
35717         * timezone/tst-timezone.c (main): Likewise.
35719 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35720             H.J. Lu  <hongjiu.lu@intel.com>
35722         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35723         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35724         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35725         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35726         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35727         version if bit_Fast_Unaligned_Load is set.
35728         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35729         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35730         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35731         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35732         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35733         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35734         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35735         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35736         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35737         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35738         to 4.
35739         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35740         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35741         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35742         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35744 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35746         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35747         instead of #if to avoid a Wundef warning.
35748         * stdlib/tst-limits.c (do_test): Likewise.
35750         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35751         parallel other exception macros.
35752         (fegetenv): Convert from macro to extern inline so that it applies
35753         retroactively to inline functions already seen by the compiler.
35754         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35756         * posix/Makefile (before-compile): Use $(objpfx) for
35757         posix-conf-vars-def.h.
35759 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35761         * posix/getconf.c (main): Use size_t for type of I.
35762         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35763         NSPEC.
35765         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35766         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35767         * posix/posix-envs.def: Likewise.
35768         * sysdeps/posix/sysconf.c: Likewise.
35769         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35770         (specs): Remove array.
35771         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35772         array.
35774         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35775         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35776         (__sysconf): Use CONF_IS_* macros.
35778         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35779         ($(objpfx)posix-conf-vars-def.h): New target.
35780         * posix/posix-conf-vars.list: New file.
35781         * posix/posix-conf-vars.h: New file.
35782         * posix/confstr.c: Include posix-conf-vars.h.
35783         (confstr): Use CONF_IS_* macros.
35784         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35785         CONF_IS_* macros.
35786         * scripts/gen-posix-conf-vars.awk: New file.
35788 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35790         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35791         fegetround): Add no-op macros to avoid linknamespace issues.
35793         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35794         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35796         * sysdeps/unix/sysv/linux/tile/sysdep.h
35797         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35798         assembly-specific section to avoid a redefinition warning.
35800         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35801         long before casting to pointer to avoid a cast warning.
35803 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35805         * sysdeps/tile/tilegx/Implies: New file.
35807 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35809         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35811 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35813         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35815 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35817         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35818         not define.
35819         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35820         <kernel-features.h>.
35821         (__utimes) [__NR_utimes]: Make code unconditional.
35822         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35823         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35824         (__ASSUME_UTIMES): Do not undefine.
35825         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35826         (__ASSUME_UTIMES): Likewise.
35827         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35828         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35829         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35830         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35832 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35834         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35836 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35838         [BZ #17747]
35839         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35840         alias to weak alias for j0l, y0l.
35841         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35842         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35844         [BZ #17746]
35845         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35846         conversion.
35848 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35850         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35851         to zero if not already defined.
35853 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35855         [BZ #17724]
35856         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35857         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35858         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35859         (char *) casts added.
35860         * sysdeps/ieee754/k_standardf.c: New file.
35861         * sysdeps/ieee754/k_standardl.c: Likewise.
35862         * math/Makefile (libm-support): Remove k_standard.
35863         (libm-calls): Add k_standard.
35865 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35867         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35868         Optimize to avoid an unnecessary FPCR read.
35870 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35872         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35873         Optimize to reduce FPCR/FPSR accesses.
35875 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35877         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35878         Call libc_fetestexcept_aarch64.
35880 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35882         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35883         Call libc_fesetround_aarch64.
35885 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35887         [BZ #17733]
35888         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35889         (__bind): Do not define as weak alias.
35890         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35891         define.
35892         (__getsockname): Do not define as weak alias.
35894 2014-12-22  Will Newton  <will.newton@linaro.org>
35896         * manual/install.texi: Document that we require bison 2.7
35897         or above.
35898         * INSTALL: Regenerate.
35899         * configure.ac: Use AC_CHECK_PROG_VER instead of
35900         AC_PATH_PROG when checking for bison and check for
35901         version 2.7 or above.
35902         * configure: Regenerate.
35904 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35906         [BZ #17745]
35907         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35908         * sysdeps/tile/ffsll.c (ffsll): To here.
35910         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35912 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35914         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35915         if not defined.
35916         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35917         definition.
35918         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35919         hidden ___tls_get_addr.
35920         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35921         hidden __tls_get_addr.
35922         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35923         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35924         Likewise.
35926 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35928         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35929         _dl_init call.
35931 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35933         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35934         from "call _dl_init@PLT".
35935         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35937 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35939         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35940         guarantees.
35942 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35944         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35946 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35948         [BZ #17744]
35949         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35950         strnlen.
35952 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35954         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35955         of multu on MIPSr6.
35956         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35957         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35958         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35959         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35960         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35962 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35964         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35965         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35966         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35967         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35968         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35969         mips32r6/mips64r6.
35970         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35972 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35974         * string/strncat.c (STRNCAT): Simplify implementation.
35976 2014-12-19  David S. Miller  <davem@davemloft.net>
35978         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35979         access the quad as both a long double and as a series of 4 words.
35981         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35982         link_map->l_info array access.
35984 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35986         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35988         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35989         * math/atest-exp2.c (TIMEOUT): Likewise.
35990         * math/atest-sincos.c (TIMEOUT): Likewise.
35992 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35994         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
35995         -Wno-error with -fno-builtin-lround.
35997 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35999         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36000         Contains futex constants and functions moved over from ...
36001         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36002         <lowlevellock-futex.h>.
36003         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36004         (lll_timedwait_tid): Add comments and parentheses around macro
36005         arguments.
36007 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36009         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36010         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36011         (__lll_private_flag): Remove.
36012         (lll_futex_wait): Likewise.
36013         (lll_futex_timed_wait): Likewise.
36014         (lll_futex_wake): Likewise.
36015         (lll_futex_requeue): Likewise.
36016         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36017         (__lll_timedwait_tid): Spell out argument names.
36018         (lll_timedwait_tid): Add comments and parentheses around macro
36019         arguments.
36020         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36021         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36023 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36025         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36026         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36027         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36028         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36029         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36030         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36031         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36032         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36033         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36034         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36035         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36036         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36037         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36038         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36039         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36040         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36041         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36042         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36043         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36045 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36047         * sysdeps/x86_64/x32/Makefile: New file.
36049 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36051         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36052         1L with (mp_limb_t) 1.
36054 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36056         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36057         * nptl/libc_pthread_init.c: ... here.
36058         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36059         * nptl/register-atfork.c: ... here.
36061         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36062         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36063         Use assert_perror to check its return value.
36064         (__gai_create_helper_thread): Likewise.
36066         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36068         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36070 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36072         [BZ #17725]
36073         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36074         __profil_counter.
36075         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36076         Likewise.
36077         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36078         Likewise.
36079         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36080         Likewise.
36081         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36082         (profil_counter): Likewise.
36083         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36084         (profil_counter): Likewise.
36085         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36086         Likewise.
36087         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36088         Likewise.
36089         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36090         (profil_counter): Likewise.
36091         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36092         Likewise.
36093         [!__profil_counter] (profil_counter): Define as weak alias of
36094         __profil_counter.
36095         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36096         (profil_counter): Rename to __profil_counter.
36097         [!__profil_counter] (profil_counter): Define as weak alias of
36098         __profil_counter.
36099         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36100         (profil_counter): Rename to __profil_counter.
36101         [!__profil_counter] (profil_counter): Define as weak alias of
36102         __profil_counter.
36103         * sysdeps/posix/profil.c: Update comment referring to
36104         profil_counter.
36105         (__profil): Use __profil_counter instead of profil_counter.
36106         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36107         __profil_counter.  Use __profil_counter_ushort and
36108         __profil_counter_uint in definitions.
36109         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36110         instead of profil_counter_uint and profil_counter_ushort.
36112         [BZ #17722]
36113         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36114         define as weak alias of __inet_makeaddr.
36115         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36116         as weak alias of __inet_addr.
36117         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36118         as weak alias of __inet_pton.  Use libc_hidden_weak.
36119         * include/arpa/inet.h (__inet_pton): Declare.  Use
36120         libc_hidden_proto.
36121         (inet_makeaddr): Don't use libc_hidden_proto.
36122         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36123         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36124         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36125         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36126         Remove variable.
36127         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36128         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36130 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36132         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36134 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36136         * stdio-common/bug-vfprintf-nargs.c (do_test):
36137         Cast value to intptr_t to avoid format warning
36138         for usage with PRIdPTR printing macro.
36140 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36142         * libio/tst-widetext.c (do_test):
36143         Use format type %td instead of %Zd for ptrdiff_t
36144         in order to avoid format warning.
36146 2014-12-17  Andreas Schwab  <schwab@suse.de>
36148         * nscd/mem.c (gc): Add size_t cast to match printf format.
36150 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36152         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36153         (init): Apply PTR_MANGLE to pointers before storing them.
36154         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36155         before using them.
36157 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36159         [BZ #17719]
36160         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36161         define as weak alias of __memrchr.
36162         (__memrchr): Do not define as strong alias of memrchr.
36163         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36164         Remove variable.
36165         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36166         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36167         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36169         [BZ #17717]
36170         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36171         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36172         (if_indextoname): Rename to __if_indextoname and define as weak
36173         alias of __if_indextoname.  Use libc_hidden_weak.
36174         (if_freenameindex): Rename to __if_freenameindex and define as
36175         weak alias of __if_freenameindex.
36176         (if_nameindex): Rename to __if_nameindex and define as weak alias
36177         of __if_nameindex.
36178         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36179         __if_nametoindex and define as weak alias of __if_nametoindex.
36180         Use libc_hidden_weak.
36181         (if_freenameindex): Rename to __if_freenameindex and define as
36182         weak alias of __if_freenameindex.
36183         (if_nameindex): Rename to __if_nameindex and define as weak alias
36184         of __if_nameindex.
36185         (if_indextoname): Rename to __if_indextoname and define as weak
36186         alias of __if_indextoname.  Use libc_hidden_weak.
36187         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36188         __if_nametoindex and define as weak alias of __if_nametoindex.
36189         Use libc_hidden_weak.
36190         (if_freenameindex): Rename to __if_freenameindex and define as
36191         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36192         (if_nameindex_netlink): Use __if_freenameindex instead of
36193         if_freenameindex.
36194         (if_nameindex): Rename to __if_nameindex and define as weak alias
36195         of __if_nameindex.  Use libc_hidden_weak.
36196         (if_indextoname): Rename to __if_indextoname and define as weak
36197         alias of __if_indextoname.  Use libc_hidden_weak.
36198         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36199         libc_hidden_proto.
36200         [!_ISOMAC] (__if_freenameindex): Likewise.
36201         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36202         if_nametoindex.
36203         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36204         variable.
36205         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36206         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36207         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36208         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36209         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36210         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36211         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36213         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36214         Remove variable.
36215         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36216         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36218 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36220         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36221         subscript above bounds'
36223         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36224         bounds.
36226 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36228         * libio/tst-fopenloc.c: Use test-skeleton.c.
36230         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36231         (entry): Rename to ITEM.
36232         (do_test, comp): Adjust.
36234         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36236 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36238         * string/tester.c: Include <libc-internal.h>.
36239         (test_memset): Ignore -Wmemset-transposed-args.
36241 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36243         * misc/tst-mntent2.c (do_test): Fix warning.
36245 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36247         * elf/tst-unique4lib.cc(a): Mark as used.
36249 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36251         [BZ #17630]
36252         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36253         names.
36255 2014-12-16  Allan McRae  <allan@archlinux.org>
36257         * stdio-common/Makefile (tests): Re-add bug26.
36259 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36261         [BZ #17657]
36262         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36263         static array.
36265 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36267         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36268         (__lll_lock_wait): Likewise.
36269         (__lll_timedlock_wait): Likewise.
36270         (__lll_timedwait_tid): Likewise.
36271         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36272         (__lll_robust_timedlock_wait): Likewise.
36273         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36274         (lll_cond_trylock): Likewise.
36275         (__lll_lock): Likewise.
36276         (__lll_robust_lock): Likewise.
36277         (__lll_cond_lock): Likewise.
36278         (lll_robust_cond_lock): Likewise.
36279         (__lll_timedlock): Likewise.
36280         (__lll_robust_timedlock): Likewise.
36281         (__lll_unlock): Likewise.
36282         (__lll_robust_unlock): Likewise.
36283         (lll_wait_tid): Likewise.
36284         (lll_timedwait_tid): Likewise.
36286 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36288         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36290 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36292         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36294 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36296         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36297         * stdio-common/tst-sprintf.c: Likewise.
36299 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36301         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36303 2014-12-15  Jeff Law  <law@redhat.com>
36305         [BZ #16617]
36306         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36307         on the heap.  (CVE-2012-3406)
36308         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36309         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36310         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36312 2014-12-15  Will Newton  <will.newton@linaro.org>
36314         * manual/install.texi: Bump required version of texinfo
36315         to 4.7 from 4.5.
36316         * INSTALL: Regenerated.
36317         * configure.ac: Check for makeinfo version 4.7 and above.
36318         * configure: Regenerated.
36320 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36322         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36323         PREFIX, string constant to insert between directory and name.
36324         * sysdeps/posix/shm_open.c: Update caller.
36325         * sysdeps/posix/shm_unlink.c: Likewise.
36326         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36327         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36328         (SEM_SHM_PREFIX): New macro.
36329         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36330         [$(have-thread-library) = no].
36331         * nptl/Makefile (libpthread-routines): Add shm-directory.
36332         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36333         * sysdeps/nptl/shm-directory.h: New file.
36334         * sysdeps/posix/shm-directory.c
36335         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36336         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36337         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36338         INTERNAL_SYSCALL.
36339         (__where_is_shmfs): Function removed.
36340         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36341         Variables removed.
36342         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36343         Use SHM_GET_NAME.
36344         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36346         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36347         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36348         unconditional for use inside libpthread.
36349         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36351 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36353         * nptl/pthread_getaffinity.c: New file.
36354         * nptl/pthread_setaffinity.c: New file.
36355         * nptl/pthread_getname.c: New file.
36356         * nptl/pthread_setname.c: New file.
36358         * nptl/pthread_create.c (START_THREAD_DEFN)
36359         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36361 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36362             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36364         * resolv/res_send.c (send_vc): Disable warning resplen may
36365         be used uninitialized.
36367 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36369         * nptl/tst-mutex6.c
36370         (ATTR_NULL): New define checks ATTR against NULL.
36371         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36372         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36374 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36376         [BZ #17581]
36377         * malloc/hooks.c
36378         (mem2mem_check): Revert my previous change.
36379         (malloc_check_get_size): Revert my previous change.
36380         (mem2chunk_check): Revert my previous change.
36382 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36384         * sysdeps/posix/shm-directory.c: New file.
36385         * sysdeps/posix/shm-directory.h: New file.
36386         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36387         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36388         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36389         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36390         Transmute EPERM to EACCES.
36391         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36392         from ...
36393         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36394         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36396 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36398         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36399         pointer and cast to uintptr_t.
36400         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36401         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36402         Add cast to avoid warning.
36403         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36405 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36407         * nptl/semaphore.h: Move to ...
36408         * sysdeps/pthread/semaphore.h: ... here.
36409         * Makefile (installed-headers): Change nptl/semaphore.h to
36410         sysdeps/pthread/semaphore.h.
36412 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36414         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36415         generated error format strings.
36417         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36418         -Wformat-extra-args warnings for scanf formats.
36419         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36420         test of zero-length format (duh).
36421         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36422         corner-case scanf format test.
36423         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36424         generated fprintf format string.
36425         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36426         corner-case sprintf format tests.
36427         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36428         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36429         -Wformat-extra-args warnings throughout.
36430         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36431         (CFLAGS-scanf4.c): Likewise.
36432         (CFLAGS-scanf7.c): Likewise.
36433         (CFLAGS-tst-sprintf.c): Likewise.
36434         (CFLAGS-tst-printf.c): Likewise.
36435         (CFLAGS-tst-printfsz.c): Likewise.
36437 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36439         * include/cpio.h: New file.
36440         * include/fmtmsg.h: Likewise.
36442         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36443         corresponding format argument to size_t.
36444         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36445         arguments.
36446         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36447         corresponding format argument to size_t.
36448         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36449         arguments.
36450         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36451         corresponding format argument to size_t.
36452         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36453         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36454         (CFLAGS-tst-mbswcs2.c): Likewise.
36455         (CFLAGS-tst-mbswcs3.c): Likewise.
36456         (CFLAGS-tst-mbswcs4.c): Likewise.
36457         (CFLAGS-tst-mbswcs5.c): Likewise.
36458         (CFLAGS-tst-trans.c): Likewise.
36460 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36462         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36463         rather than assuming they won't contain any '%'s.
36465 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36467         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36468         inhibit_loop_to_libcall to avoid recursive calls.
36469         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36470         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36472 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36474         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36475         prototype.
36477 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36479         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36480         integer value instead of boolean.
36482 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36484         * malloc/malloc.c: Fix powerof2 check.
36486 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36488         * locale/programs/locfile.h (maybe_swap_uint32):
36489         Remove inline and add unused attribute.
36491 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36493         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36494         Truncating assembler expression to a .long expression.
36496 2014-12-11  Andreas Schwab  <schwab@suse.de>
36498         * elf/rtld.c (struct map_args): Constify str member.
36499         (do_preload): Constify fname argument.
36501 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36503         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36504         constants definition.
36506 2014-12-11  Andreas Schwab  <schwab@suse.de>
36508         [BZ #16657]
36509         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36510         FORCE_ELISION instead of DO_ELISION.
36511         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36512         Remove.
36513         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36514         Likewise.
36516         * iconvdata/gconv-modules: Remove duplicate entry.
36518 2014-12-11  Will Newton  <will.newton@linaro.org>
36520         Merge gettext 0.19.3 into intl/.
36522         This involves a number of cosmetic changes to comments
36523         and ANSI function definitions and prototypes throughout
36524         all the files. The gettext copyright header is used but
36525         with the date ranges taken from the glibc copy.
36527         * NEWS: Add gettext merge to 2.21.
36528         * intl/bindtextdom.c: Switch to gettext copyright.
36529         Use ANSI definitions and prototypes.
36530         Use gl_* locking primitives rather than __libc_* ones.
36531         Use __builtin_expect rather than __glibc_likely/unlikely.
36532         * intl/dcgettext.c: Switch to gettext copyright.
36533         Use ANSI definitions and prototypes.
36534         * intl/dcigettext.c: Switch to gettext copyright.
36535         Use ANSI definitions and prototypes.
36536         (INTDIV0_RAISES_SIGFPE): New define.
36537         Use gl_* locking primitives rather than __libc_* ones.
36538         Include eval-plural.h instead of plural-eval.c.
36539         Use __builtin_expect rather than __glibc_likely/unlikely.
36540         * intl/dcngettext.c: Switch to gettext copyright.
36541         Use ANSI definitions and prototypes.
36542         * intl/dgettext.c: Likewise.
36543         * intl/dngettext.c: Likewise.
36544         * intl/plural-eval.c: Renamed to...
36545         * intl/eval-plural.h: ...this.
36546         * intl/explodename.c: Switch to gettext copyright.
36547         Use ANSI definitions and prototypes.
36548         (_nl_explode_name): Use strchr instead of __rawmemchr.
36549         * intl/finddomain.c: Switch to gettext copyright.
36550         Use ANSI definitions and prototypes.
36551         Use gl_* locking primitives rather than __libc_* ones.
36552         (_nl_find_domain): Use malloc rather than alloca for
36553         allocation of temporary locale name.
36554         * intl/gettext.c: Switch to gettext copyright.
36555         Use ANSI definitions and prototypes.
36556         * intl/gettextP.h: Switch to gettext copyright.
36557         Use ANSI definitions and prototypes.
36558         Use gl_* locking primitives rather than __libc_* ones.
36559         * intl/gmo.h: Switch to gettext copyright.
36560         (struct sysdep_string): Move struct segment_pair outside of
36561         struct definition.
36562         * intl/hash-string.c: Use ANSI definitions and prototypes.
36563         * intl/hash-string.h: Switch to gettext copyright.
36564         Use ANSI definitions and prototypes.
36565         * intl/l10nflist.c: Switch to gettext copyright.
36566         Use ANSI definitions and prototypes.
36567         (_nl_normalize_codeset): Avoid integer overflow.
36568         * intl/loadinfo.h: Switch to gettext copyright.
36569         Use ANSI definitions and prototypes.
36570         (LIBINTL_DLL_EXPORTED): New define.
36571         (PATH_SEPARATOR): New define.
36572         * intl/loadmsgcat.c: Switch to gettext copyright.
36573         * intl/localealias.c: Switch to gettext copyright.
36574         Use ANSI definitions and prototypes.
36575         (_nl_expand_alias): Use PATH_SEPARATOR.
36576         * intl/ngettext.c: Switch to gettext copyright.
36577         Use ANSI definitions and prototypes.
36578         * intl/plural-exp.c: Likewise.
36579         * intl/plural-exp.h: Switch to gettext copyright.
36580         Use ANSI definitions and prototypes.
36581         (struct expression): Move definition of enum operator outside
36582         of struct definition.
36583         * intl/plural.c: Regenerate.
36584         * intl/plural.y: Switch to gettext copyright.
36585         Use ANSI definitions and prototypes.
36586         Port to bison 3.0.
36587         * intl/textdomain.c: Switch to gettext copyright.
36588         Use ANSI definitions and prototypes.
36589         Use gl_* locking primitives rather than __libc_* ones.
36591 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36593         * debug/warning-nop.c: Add used atrribute.
36595 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36597         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36599         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36600         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36601         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36603 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36604             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36606         [BZ #17634]
36607         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36608         Undefine after defining function.  Define as weak alias of
36609         __wcschr.  Use libc_hidden_weak.
36610         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36611         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36612         (libc_hidden_def): Also define __GI___wcschr alias.
36613         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36614         __wcschr and define as weak alias of __wcschr.
36615         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36616         __wcschr.
36617         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36618         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36619         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36620         libc_hidden_weak.  Do not use libc_hidden_def.
36621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36622         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36623         __GI___wcschr alias.
36624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36625         [IS_IN (libc)] (wcschr): Define as macro expanding to
36626         __redirect_wcschr.
36627         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36628         [IS_IN (libc)] (__wcschr_power6): Likewise.
36629         [IS_IN (libc)] (__wcschr_power7): Likewise.
36630         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36631         instead of wcschr.
36632         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36633         __libc_wcschr.
36634         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36635         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36636         __wcschr and define as weak alias of __wcschr.  Use
36637         libc_hidden_builtin_def.
36638         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36639         as weak alias of __wcschr.  Use libc_hidden_weak.
36640         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36641         wcschr.
36642         * time/era.c (_nl_init_era_entries): Likewise.
36643         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36644         variable.
36645         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36646         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36648 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36650         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36651         format for long int variable.
36653 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36655         [BZ #10672]
36656         * manual/search.texi: (Array Sort Function): Remove claim how to make
36657         qsort stable.
36659 2014-12-10  Andreas Schwab  <schwab@suse.de>
36661         [BZ #12847]
36662         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36663         user-controlled locks.
36665 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36667         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36668         register.
36670 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36672         * configure.ac (--disable-werror): New configure option.
36673         (enable_werror): New AC_SUBST.
36674         * configure: Regenerated.
36675         * config.make.in (enable-werror): New variable.
36676         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36677         -Wno-error=undef.
36678         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36679         * manual/install.texi (Configuring and compiling): Document
36680         --disable-werror.
36681         * INSTALL: Regenerated.
36682         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36683         (CFLAGS-tst-chk2.c): Likewise.
36684         (CFLAGS-tst-chk3.c): Likewise.
36685         (CFLAGS-tst-chk4.cc): Likewise.
36686         (CFLAGS-tst-chk5.cc): Likewise.
36687         (CFLAGS-tst-chk6.cc): Likewise.
36688         (CFLAGS-tst-lfschk1.c): Likewise.
36689         (CFLAGS-tst-lfschk2.c): Likewise.
36690         (CFLAGS-tst-lfschk3.c): Likewise.
36691         (CFLAGS-tst-lfschk4.cc): Likewise.
36692         (CFLAGS-tst-lfschk5.cc): Likewise.
36693         (CFLAGS-tst-lfschk6.cc): Likewise.
36695         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36696         (main): Disable -Wdeprecated-declarations around calls to
36697         register_printf_function.
36699         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36700         (do_test): Disable -Wdiv-by-zero around some calls to
36701         fwrite_unlocked and fread_unlocked.
36703         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36704         (DIAG_POP_NEEDS_COMMENT): Likewise.
36705         (_DIAG_STR1): Likewise.
36706         (_DIAG_STR): Likewise.
36707         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36708         * stdio-common/bug21.c: Include <libc-internal.h>.
36709         (do_test): Disable -Wformat around call to sscanf.
36710         * stdio-common/scanf14.c: Include <libc-internal.h>.
36711         (main): Disable -Wformat around some calls to scanf functions.
36713 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36715         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36717 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36719         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36720         stack variable alignment.
36722 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36724         [BZ #17682]
36725         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36726         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36727         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36728         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36729         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36730         __getrlimit instead of getrlimit.
36731         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36732         __gettimeofday instead of gettimeofday.
36733         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36734         Likewise.
36735         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36736         Likewise.
36737         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36738         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36739         Remove variable.
36740         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36741         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36743 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36745         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36746         for wide-character tests.
36748 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36750         * io/openat64.c: #include <libc-internal.h>
36751         (__openat64): Prototypify.  Use ignore_value on MODE.
36752         * io/openat.c: Likewise.
36753         * misc/reboot.c: #include <libc-internal.h>
36754         (reboot): Prototypify.  Use ignore_value on HOWTO.
36755         * misc/ptrace.c: #include <libc-internal.h>
36756         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36758 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36760         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36761         XPG4, UNIX98 and XOPEN2K.
36762         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36763         Remove variable.
36764         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36766 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36768         * libio/fileops.c: Use ISO C style for function definitions.
36769         * libio/iofopen.c: Likewise.
36770         * libio/wfileops.c: Likewise.
36772         [BZ #17653]
36773         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36774         offset on EOF.
36775         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36776         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36777         (fgets_func): Function pointer to fgets and fgetws.
36778         (do_ftell_test): Add test to verify ftell value after read
36779         EOF.
36780         (do_test): Set fgets_func.
36782         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36783         O_TRUNC flag for w and w+ modes.
36784         (do_rewind_test): Likewise.
36785         (do_ftell_test): Likewise.
36786         (do_write_test): Likewise.
36788         [BZ #17647]
36789         * libio/fileops.c (do_ftell): Seek only when there are
36790         unflushed writes.
36791         * libio/wfileops.c (do_ftell_wide): Likewise.
36792         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36793         test case.
36794         (do_one_test): Call it.
36796 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36798         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36799         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36800         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36801         Remove variable.
36802         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36803         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36804         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36806 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36808         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36809         Remove variable.
36810         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36812         [BZ #17668]
36813         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36814         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36815         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36816         __freeifaddrs.  Use libc_hidden_weak.
36817         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36818         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36819         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36820         __freeifaddrs.  Use libc_hidden_weak.
36821         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36822         __getifaddrs and define as weak alias of __getifaddrs.  Use
36823         libc_hidden_weak.
36824         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36825         __freeifaddrs.  Use libc_hidden_weak.
36826         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36827         Remove variable.
36828         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36829         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36831 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36833         [BZ #17601]
36834         * sysdeps/mips/start.S (__start): Use indirect jump to call
36835         __libc_start_main.
36837 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36839         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36841         * nptl/tst-mutex1.c: Include <stdbool.h>.
36842         [!ATTR] (ATTR_NULL): New macro.
36843         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36844         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36845         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36847         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36848         to char *.
36850         [BZ #17665]
36851         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36852         Change conditional to [__USE_MISC].
36854         [BZ #17664]
36855         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36856         fgets_unlocked.
36857         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36858         __fgets_unlocked.
36859         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36860         fgets_unlocked.
36861         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36862         Remove variable.
36863         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36864         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36865         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36866         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36867         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36868         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36869         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36870         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36871         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36873         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36875 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36877         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36878         Remove strpbrk objects.
36879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36880         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36881         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36882         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36883         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36884         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36886         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36887         Remove strcspn objects.
36888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36889         (__libc_ifunc_impl_list): Remove strcspn implementation.
36890         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36891         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36892         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36893         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36895         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36896         Remove strspn objetcs.
36897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36898         (__libc_ifunc_impl_list): Remove strspn implementation.
36899         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36900         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36901         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36902         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36904 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36906         [BZ #17581]
36907         * malloc/hooks.c
36908         (mem2mem_check): Add a terminator to the chain of checking blocks.
36909         (malloc_check_get_size): Use it here.
36910         (mem2chunk_check): Ditto.
36912 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36914         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36915         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36917 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36919         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36921         * nptl/nptl-init.c: Include libc-internal.h.
36922         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36924         * elf/ldconfig.c (search_dir): Expand comment.
36926 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36928         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36929         variable.
36930         (linknamespace-symlist-stdlibs-tests): Likewise.
36931         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36932         instead of $(objpfx)symlist-stdlibs.
36933         (linknamespace-libs-isoc): New variable.
36934         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36935         (linknamespace-libs-ISO): New variable.
36936         (linknamespace-libs-ISO99): Likewise.
36937         (linknamespace-libs-ISO11): Likewise.
36938         (linknamespace-libs-XPG3): Likewise.
36939         (linknamespace-libs-XPG4): Likewise.
36940         (linknamespace-libs-POSIX): Likewise.
36941         (linknamespace-libs-UNIX98): Likewise.
36942         (linknamespace-libs-XOPEN2K): Likewise.
36943         (linknamespace-libs-POSIX2008): Likewise.
36944         (linknamespace-libs-XOPEN2K8): Likewise.
36945         ($(objpfx)symlist-stdlibs): Replace by
36946         $(linknamespace-symlist-stdlibs-tests).  Use
36947         $(linknamespace-libs-$*) as set of libraries.
36948         ($(linknamespace-header-tests)): Update dependencies.  Use
36949         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36950         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36951         * conform/linknamespace.pl: Remove comment about considering
36952         definitions of symbols from irrelevant libraries.
36954 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36956         [BZ #13862]
36957         * elf/dl-tls.c: Include <atomic.h>.
36958         (oom): Remove #ifdef SHARED/#endif.
36959         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36960         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36961         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36962         big enough.
36963         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36964         * nptl/Makefile (tests): Add tst-stack4.
36965         (modules-names): Add tst-stack4mod.
36966         ($(objpfx)tst-stack4): New.
36967         (tst-stack4mod.sos): Likewise.
36968         ($(objpfx)tst-stack4.out): Likewise.
36969         ($(tst-stack4mod.sos)): Likewise.
36970         (clean): Likewise.
36971         * nptl/tst-stack4.c: New file.
36972         * nptl/tst-stack4mod.c: Likewise.
36974 2014-11-27  J. Brown  <jb999@gmx.de>
36976         * sysdeps/x86/bits/string.h: Add recent CPUs.
36978 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36980         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36981         sigblock.
36983         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36984         feof.
36986         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36987         variable.
36989 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
36991         * nscd/connections.c: Include libc-internal.h because of macro
36992         usage ignore_value.
36994 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36996         * string/bits/string3.h (__warn_memset_zero_len): Don't
36997         declare for gcc newer than 5.0.
36998         (memset): Don't test for zero-length __LEN for gcc newer than
36999         5.0.
37001 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37003         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37004         size_t for %zu format.
37006         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37007         difference, not %ju.
37009 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37011         * include/libc-internal.h (ignore_value): New macro.
37012         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37013         with ignore_value.
37015         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37016         definition.
37018         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37019         pthread_cleanup_push to void *.
37021         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37022         Undefine.
37024         [BZ #16619]
37025         [BZ #16740]
37026         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37027         instead of 1L << 52.
37029         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37030         * libio/bug-rewind2.c (do_test): Likewise.
37032         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37033         * debug/test-strcpy_chk-ifunc.c: Likewise.
37034         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37035         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37036         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37037         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37038         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37039         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37040         * Rules [$(multi-arch) = no] (tests): Do not filter out
37041         $(tests-ifunc).
37042         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37043         * debug/Makefile (tests-ifunc): Remove variable.
37044         (tests): Do not add $(tests-ifunc).
37045         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37046         (tests): Do not add $(tests-ifunc).
37047         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37048         [TEST_IFUNC]: Remove conditionals.
37049         * string/test-string.h (TEST_IFUNC): Remove macro.
37050         [TEST_IFUNC]: Remove conditionals.
37052         * string/test-strchr.c [!WIDE] (L): New macro.
37053         [WIDE] (L): Likewise.
37054         (check1): Use CHAR instead of char.  Use L on string and character
37055         constants.
37057 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37059         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37060         tests.
37061         * sysdeps/powerpc/bits/atomic.h
37062         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37063         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37064         (atomic_exchange_and_add_acq): Likewise.
37065         (atomic_exchange_and_add_rel): Likewise.
37066         * sysdeps/powerpc/powerpc32/bits/atomic.h
37067         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37068         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37069         * sysdeps/powerpc/powerpc64/bits/atomic.h
37070         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37071         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37073 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37075         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37076         Change synchronization of __sched_fifo_min_prio and
37077         __sched_fifo_max_prio.
37078         * nptl/pthread_mutexattr_getprioceiling.c
37079         (pthread_mutexattr_getprioceiling): Likewise.
37080         * nptl/pthread_mutexattr_setprioceiling.c
37081         (pthread_mutexattr_setprioceiling): Likewise.
37082         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37083         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37084         Likewise.
37086 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37088         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37089         void.
37091 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37093         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37094         third argument const.
37096 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37098         fnmatch: work around GCC compiler warning bug with uninit var
37099         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37100         This works around a bug with x86-64 GCC 4.9.2 and earlier
37101         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37102         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37103         used uninitialized in this function [-Wmaybe-uninitialized]".
37105 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37107         * posix/bug-regex31.c (main): Return RES not 0.
37109 2014-11-25  Anton Blanchard <anton@samba.org>
37111         * sysdeps/powerpc/bits/atomic.h
37112         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37114 2014-11-24  Sterling Augustine  <saugustine@google.com>
37116         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37118 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37120         [BZ #17608]
37121         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37123 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37125         [BZ #17633]
37126         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37127         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37128         variable.
37129         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37130         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37132 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37134         * string/strncpy.c (strncpy): Improve performance by using memset.
37136 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37138         * string/strcpy.c (strcpy):
37139         Improve performance by using strlen and memcpy.
37141 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37143         * string/strcoll_l.c (get_next_seq): __always_inline.
37144         * string/strcoll_l.c (do_compare): __always_inline.
37146 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37148         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37149         defined.
37150         * include/mqueue.h: Likewise.
37151         * include/stdlib.h: Likewise.
37153         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37154         (get_null_defines): Adjust.
37155         * sunrpc/Makefile: Adjust comment.
37156         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37157         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37158         (CFLAGS-interp.c): Likewise.
37159         (CFLAGS-ldconfig.c): Likewise.
37160         (CPPFLAGS-.os): Likewise.
37161         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37162         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37163         * extra-modules.mk (extra-modules.mk): Likewise.
37164         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37165         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37166         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37167         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37168         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37169         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37170         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37171         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37172         * iconvdata/Makefile (CPPFLAGS): Likewise.
37173         (cpp-srcs-left): Add libof for all iconvdata routines.
37174         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37175         * include/assert.h: Likewise.
37176         * include/ctype.h: Likewise.
37177         * include/errno.h: Likewise.
37178         * include/libc-symbols.h: Likewise.
37179         * include/math.h: Likewise.
37180         * include/netdb.h: Likewise.
37181         * include/resolv.h: Likewise.
37182         * include/stdio.h: Likewise.
37183         * include/stdlib.h: Likewise.
37184         * include/string.h: Likewise.
37185         * include/sys/stat.h: Likewise.
37186         * include/wctype.h: Likewise.
37187         * intl/l10nflist.c: Likewise.
37188         * libidn/idn-stub.c: Likewise.
37189         * libio/libioP.h: Likewise.
37190         * nptl/libc_multiple_threads.c: Likewise.
37191         * nptl/pthreadP.h: Likewise.
37192         * posix/regex_internal.h: Likewise.
37193         * resolv/res_hconf.c: Likewise.
37194         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37195         * sysdeps/arm/memmove.S: Likewise.
37196         * sysdeps/arm/sysdep.h: Likewise.
37197         * sysdeps/generic/_itoa.h: Likewise.
37198         * sysdeps/generic/symbol-hacks.h: Likewise.
37199         * sysdeps/gnu/errlist.awk: Likewise.
37200         * sysdeps/gnu/errlist.c: Likewise.
37201         * sysdeps/i386/i586/memcpy.S: Likewise.
37202         * sysdeps/i386/i586/memset.S: Likewise.
37203         * sysdeps/i386/i686/memcpy.S: Likewise.
37204         * sysdeps/i386/i686/memmove.S: Likewise.
37205         * sysdeps/i386/i686/mempcpy.S: Likewise.
37206         * sysdeps/i386/i686/memset.S: Likewise.
37207         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37208         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37209         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37210         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37211         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37212         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37213         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37214         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37215         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37216         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37217         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37218         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37219         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37220         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37221         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37222         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37223         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37224         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37225         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37226         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37227         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37228         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37229         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37230         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37231         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37232         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37233         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37234         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37235         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37236         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37237         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37238         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37239         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37240         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37241         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37242         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37243         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37244         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37245         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37246         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37247         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37248         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37249         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37250         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37251         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37252         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37253         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37254         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37255         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37256         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37257         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37258         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37259         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37260         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37261         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37262         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37263         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37264         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37265         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37266         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37267         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37268         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37269         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37270         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37271         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37272         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37273         * sysdeps/posix/closedir.c: Likewise.
37274         * sysdeps/posix/opendir.c: Likewise.
37275         * sysdeps/posix/readdir.c: Likewise.
37276         * sysdeps/posix/rewinddir.c: Likewise.
37277         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37278         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37279         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37280         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37281         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37282         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37283         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37284         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37286         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37288         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37289         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37290         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37291         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37292         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37293         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37294         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37295         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37296         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37297         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37298         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37299         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37300         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37301         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37302         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37303         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37304         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37305         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37312         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37313         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37314         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37315         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37316         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37317         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37318         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37319         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37320         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37321         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37322         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37323         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37324         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37325         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37326         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37327         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37328         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37329         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37330         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37331         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37332         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37333         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37334         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37335         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37336         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37337         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37338         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37339         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37340         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37341         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37342         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37343         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37344         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37345         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37346         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37347         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37348         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37349         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37350         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37351         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37352         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37353         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37354         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37355         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37356         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37357         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37358         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37359         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37360         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37361         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37362         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37363         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37364         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37365         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37366         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37367         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37368         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37369         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37370         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37371         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37372         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37373         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37374         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37375         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37376         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37377         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37378         * sysdeps/unix/alpha/sysdep.S: Likewise.
37379         * sysdeps/unix/alpha/sysdep.h: Likewise.
37380         * sysdeps/unix/make-syscalls.sh: Likewise.
37381         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37382         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37383         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37384         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37385         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37386         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37387         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37388         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37389         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37390         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37391         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37392         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37393         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37394         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37395         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37396         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37397         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37398         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37399         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37400         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37401         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37402         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37403         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37404         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37405         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37406         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37407         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37410         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37411         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37412         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37413         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37414         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37415         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37416         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37417         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37418         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37419         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37420         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37421         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37422         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37423         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37424         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37425         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37426         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37427         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37428         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37429         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37430         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37431         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37432         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37433         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37434         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37435         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37436         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37437         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37438         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37439         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37440         * sysdeps/x86_64/memcpy.S: Likewise.
37441         * sysdeps/x86_64/memmove.c: Likewise.
37442         * sysdeps/x86_64/memset.S: Likewise.
37443         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37444         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37445         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37446         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37447         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37448         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37449         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37450         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37451         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37452         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37453         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37454         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37455         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37456         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37457         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37458         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37459         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37460         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37461         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37462         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37463         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37464         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37465         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37466         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37467         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37468         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37469         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37470         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37471         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37472         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37473         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37474         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37475         * sysdeps/x86_64/strcmp.S: Likewise.
37477         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37479         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37480         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37481         * elf/rtld-Rules: Likewise.
37482         * elf/setup-vdso.h: Likewise.
37483         * include/assert.h: Likewise.
37484         * include/bits/stdlib-float.h: Likewise.
37485         * include/errno.h: Likewise.
37486         * include/sys/stat.h: Likewise.
37487         * include/unistd.h: Likewise.
37488         * sysdeps/aarch64/setjmp.S: Likewise.
37489         * sysdeps/alpha/setjmp.S: Likewise.
37490         * sysdeps/arm/__longjmp.S: Likewise.
37491         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37492         * sysdeps/arm/setjmp.S: Likewise.
37493         * sysdeps/arm/sysdep.h: Likewise.
37494         * sysdeps/generic/_itoa.h: Likewise.
37495         * sysdeps/generic/dl-sysdep.h: Likewise.
37496         * sysdeps/generic/ldsodefs.h: Likewise.
37497         * sysdeps/i386/dl-tls.h: Likewise.
37498         * sysdeps/i386/setjmp.S: Likewise.
37499         * sysdeps/m68k/setjmp.c: Likewise.
37500         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37501         * sysdeps/mach/hurd/opendir.c: Likewise.
37502         * sysdeps/posix/getcwd.c: Likewise.
37503         * sysdeps/posix/opendir.c: Likewise.
37504         * sysdeps/posix/profil.c: Likewise.
37505         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37506         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37507         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37508         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37509         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37510         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37511         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37512         * sysdeps/s390/dl-tls.h: Likewise.
37513         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37514         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37515         * sysdeps/sh/sh3/setjmp.S: Likewise.
37516         * sysdeps/sh/sh4/setjmp.S: Likewise.
37517         * sysdeps/unix/alpha/sysdep.h: Likewise.
37518         * sysdeps/unix/arm/sysdep.S: Likewise.
37519         * sysdeps/unix/i386/sysdep.S: Likewise.
37520         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37521         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37522         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37523         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37525         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37526         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37527         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37528         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37529         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37530         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37531         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37532         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37535         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37538         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37539         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37540         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37542         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37543         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37544         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37545         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37546         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37547         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37548         * sysdeps/x86_64/setjmp.S: Likewise.
37550         * include/math.h: Use IS_IN instead of IS_IN_libm.
37551         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37552         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37553         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37554         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37555         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37556         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37557         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37558         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37559         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37560         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37561         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37562         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37563         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37564         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37565         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37566         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37567         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37568         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37569         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37570         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37571         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37572         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37573         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37574         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37575         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37576         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37577         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37578         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37579         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37580         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37581         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37582         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37583         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37585         Likewise.
37586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37587         Likewise.
37588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37589         Likewise.
37590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37591         Likewise.
37592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37593         Likewise.
37594         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37595         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37596         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37597         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37598         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37599         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37605         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37606         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37607         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37608         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37609         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37610         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37611         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37612         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37613         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37614         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37615         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37616         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37617         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37618         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37620         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37622         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37623         * nptl/pthreadP.h: Likewise.
37624         * nptl_db/structs.def: Likewise.
37625         * sysdeps/arm/sysdep.h: Likewise.
37626         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37627         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37628         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37629         * sysdeps/unix/alpha/sysdep.h: Likewise.
37630         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37631         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37632         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37633         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37634         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37635         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37636         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37637         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37638         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37639         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37640         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37641         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37642         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37643         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37646         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37647         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37648         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37649         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37650         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37651         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37652         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37653         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37654         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37655         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37657         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37658         * nptl/pthreadP.h: Likewise.
37659         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37660         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37661         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37662         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37663         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37664         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37665         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37666         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37667         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37668         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37669         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37670         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37672         Likewise.
37673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37674         Likewise.
37675         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37676         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37677         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37678         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37679         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37680         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37681         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37682         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37684         * dlfcn/dladdr.c: Use IS_IN.
37685         * dlfcn/dladdr1.c: Likewise.
37686         * dlfcn/dlclose.c: Likewise.
37687         * dlfcn/dlerror.c: Likewise.
37688         * dlfcn/dlinfo.c: Likewise.
37689         * dlfcn/dlmopen.c: Likewise.
37690         * dlfcn/dlopen.c: Likewise.
37691         * dlfcn/dlsym.c: Likewise.
37692         * dlfcn/dlvsym.c: Likewise.
37694         * include/ifaddrs.h: Use IS_IN.
37695         * inet/check_pf.c: Likewise.
37696         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37697         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37699         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37700         IS_IN_ldconfig.
37701         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37702         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37704         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37705         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37706         IS_IN (libc).
37708         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37710         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37711         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37712         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37713         * include/libc-symbols.h (IS_IN_LIB): New macro.
37714         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37715         * include/netdb.h: Likewise.
37716         * include/stap-probe.h: Remove all uses of IN_LIB.
37718         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37719         instead of IN_MODULE.
37720         * include/libc-symbols.h (IN_MODULE): Define using
37721         MODULE_NAME.
37722         (PASTE_NAME, PASTE_NAME1): New macros.
37723         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37724         of IN_LIB.
37725         (STAP_PROBE_ASM): Likewise.
37727 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37729         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37730         __mach_init in dlopened libc.
37732 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37734         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37735         * sysdeps/arm/preconfigure: Regenerate.
37737 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37739         * nptl/pthread_create.c (__pthread_create_2_1): Set
37740         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37741         when copying values from IATTR into PD.
37743 2014-11-21  Will Newton  <will.newton@linaro.org>
37744             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37746         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37747         Refactor inline-asm.  Also add comment.
37749         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37750         ElfW macro instead of hardcoded Elf64 types.
37751         (la_aarch64_gnu_pltenter): Likewise.
37752         * sysdeps/aarch64/dl-machine.h
37753         (elf_machine_runtime_setup): Use ElfW(Addr).
37755         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37756         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37757         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37758         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37759         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37760         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37761         (R_AARCH64_TLS_DTPMOD): This.
37762         (R_AARCH64_TLS_DTPREL64): Rename to ...
37763         (R_AARCH64_TLS_DTPREL): This.
37764         (R_AARCH64_TLS_TPREL64): Rename to ...
37765         (R_AARCH64_TLS_TPREL): This.
37766         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37767         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37768         R_AARCH64_TLS_TPREL64.
37769         (elf_machine_rela): Likewise.
37771 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37773         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37774         by setting it to 0.  64b atomics are not supported currently.
37776 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37778         [BZ #16469]
37779         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37780         search domain names.
37782 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37784         [BZ #16469]
37785         * NEWS: Update.
37786         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37787         trailing dot.
37788         * posix/tst-getaddrinfo5.c: New.
37789         * posix/Makefile (tests): Add it.
37791 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37793         [BZ #14498]
37794         * NEWS: Fixed.
37795         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37796         after parsing line but before break_if_match.
37797         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37798         if there is a protocol mismatch.
37800 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37802         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37803         because the potential race is on the user-supplied stream.
37805 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37807         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37808         string literal if not passed a buffer.
37809         * manual/job.texi (ctermid): Update reasoning, note deviation
37810         from posix, suggest mtasurace when not passed a buffer, for
37811         future non-preliminary safety notes.
37813 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37815         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37816         of not passing it a buffer.
37817         Reported by Peng Haitao.
37819 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37821         * manual/Makefile ($(objpfx)stamp-summary): Require
37822         check-safety.sh to pass.
37823         * manual/check-safety.sh: Wish for verification that every
37824         @deftypefn and @deftypefun is followed by a @safety remark.
37826 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37828         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37830         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37831         PTHREAD_CANCEL_ASYNCHRONOUS.
37832         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37833         send SIGCANCEL.
37835         * nptl/default-sched.h: New file.
37836         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37837         * nptl/pthread_create.c: Include it.
37838         (__pthread_create_2_1): Use collect_default_sched instead of making
37839         Linux syscalls here directly.
37841 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37843         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37844         __pthread_once): Use C11 atomics.
37846 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37848         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37850 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37852         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37853         atomic_thread_fence_acquire, atomic_thread_fence_release,
37854         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37855         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37856         atomic_compare_exchange_weak_relaxed,
37857         atomic_compare_exchange_weak_acquire,
37858         atomic_compare_exchange_weak_release,
37859         atomic_exchange_acquire, atomic_exchange_release,
37860         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37861         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37862         atomic_fetch_and_acquire,
37863         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37865 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37867         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37868         USE_ATOMIC_COMPILER_BUILTINS): Define.
37869         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37871         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37872         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37873         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37874         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37875         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37876         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37877         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37878         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37879         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37881         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37883         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37884         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37885         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37886         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37887         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37888         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37889         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37890         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37891         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37892         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37893         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37894         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37895         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37896         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37897         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37898         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37899         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37900         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37901         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37902         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37903         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37904         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37905         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37906         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37907         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37908         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37910 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37912         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37913         the sched_priority value here.  It was already checked when the user
37914         called pthread_attr_setschedparam.
37916         * nptl/tst-bad-schedattr.c: New file.
37917         * nptl/Makefile (tests): Add it.
37919 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37920             Florian Weimer  <fweimer@redhat.com>
37921             Joseph Myers  <joseph@codesourcery.com>
37922             Adam Conrad  <adconrad@0c3.net>
37923             Andreas Schwab  <schwab@suse.de>
37924             Brooks  <bmoses@google.com>
37926         [BZ #17625]
37927         * wordexp-test.c (__dso_handle): Add prototype.
37928         (__register_atfork): Likewise.
37929         (__app_register_atfork): New function.
37930         (registered_forks): New global.
37931         (register_fork): New function.
37932         (test_case): Add 3 new tests for WRDE_CMDSUB.
37933         (main): Call __app_register_atfork.
37934         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37935         fork count is non-zero fail the test.
37936         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37937         is set.
37938         (parse_dollars): Remove check for WRDE_NOCMD.
37939         (parse_dquote): Likewise.
37941 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37943         * Makeconfig (built-modules): List non-library modules to be
37944         built.
37945         (module-cppflags): Include libc-modules.h for
37946         everything except shlib-versions.v.i.
37947         (CPPFLAGS): Use it.
37948         (before-compile): Add libc-modules.h.
37949         ($(common-objpfx)libc-modules.h,
37950         $(common-objpfx)libc-modules.stmp): New targets.
37951         (common-generated): Add libc-modules.h and libc-modules.stmp.
37952         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37953         * include/libc-symbols.h: Don't include libc-modules.h.
37954         * include/libc-modules.h: Remove file.
37955         * scripts/gen-libc-modules.awk: New script to generate
37956         libc-modules.h.
37957         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37958         Depend on libc-modules.stmp.
37960         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37962         * Makeconfig (in-module): Get value of libof set for the
37963         translation unit.
37964         (CPPFLAGS): Use $(in-module).
37965         * Makerules: Don't suffix routine names for nonlib.
37966         * include/libc-modules.h: New file.
37967         * include/libc-symbols.h: Include libc-modules.h
37968         (IS_IN): New macro to replace IS_IN_* macros.
37969         * elf/Makefile: Set libof-* for each routine.
37970         * elf/rtld-Rules: Likewise.
37971         * extra-modules.mk: Likewise.
37972         * iconv/Makefile: Likewise.
37973         * iconvdata/Makefile: Likewise.
37974         * locale/Makefile: Likewise.
37975         * malloc/Makefile: Likewise.
37976         * nss/Makefile: Likewise.
37977         * sysdeps/gnu/Makefile: Likewise.
37978         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37979         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37980         * sysdeps/s390/s390-64/Makefile: Likewise.
37981         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37982         CPPFLAGS for nscd instead of nonlib.
37984 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37986         * nptl/createthread.c: New file.
37988         * nptl/createthread.c: Moved ...
37989         * sysdeps/unix/sysv/linux/createthread.c: ... here.
37991         * nptl/createthread.c: Add proper top-line comment.
37992         (do_clone): Folded into ...
37993         (create_thread): ... here.  Take new arguments STOPPED_START and
37994         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
37995         increment __nptl_threads, do event-reporting logic, do
37996         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
37997         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
37998         resource cleanup if sched_setaffinity or sched_setscheduler fails,
37999         just send SIGCANCEL.
38000         * nptl/pthread_create.c: Forward-declare create_thread before
38001         including createthread.c.
38002         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38003         declaration, and new macro START_THREAD_SELF to replace argument.
38004         Remove return statement.
38005         (report_thread_creation): New function.
38006         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38007         synchronization logic, and __nptl_nthreads increment here, around
38008         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38009         PD->parent_cancelhandling here, before create_thread.  When
38010         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38011         __deallocate_stack, and ENOMEM translation here.
38013 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38015         [BZ #17616]
38016         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38017         (mptwo): Rename to __mptwo.
38018         (__inv): Use __mptwo instead of mptwo.
38019         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38020         (mptwo): Rename to __mptwo.
38021         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38022         of mpone and __mptwo instead of mptwo.
38023         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38024         instead of mpone.
38025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38026         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38027         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38028         of mpone and __mptwo instead of mptwo.
38029         (__mpranred): Use __mpone instead of mpone.
38030         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38031         variable.
38032         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38033         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38034         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38035         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38036         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38037         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38038         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38039         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38040         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38041         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38042         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38043         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38044         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38045         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38046         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38047         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38048         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38049         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38050         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38052 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38054         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38055         replace BSD Handler xref with BSD Signal Handling.
38057 2014-11-17  Richard Henderson  <rth@redhat.com>
38059         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38060         (_FP_PACK_RAW_2): Remove.
38061         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38062         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38063         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38064         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38065         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38066         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38067         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38068         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38069         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38070         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38071         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38072         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38073         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38074         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38075         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38076         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38078 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38080         * signal/signal.h [__USE_MISC]
38081         (struct sigvec): Remove type.
38082         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38083         (sigvec): Remove declaration.
38084         * sysdeps/posix/sigvec.c: Moved ...
38085         * signal/sigvec.c: ... here, replacing old file.
38086         (struct sigvec): New type, copied from old signal.h definition.
38087         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38088         (__sigvec): Convert definition to prototype.
38089         (sigvec): Replace weak_alias with compat_symbol.
38090         * signal/Versions (libc: GLIBC_2.21): New version set.
38091         * include/signal.h: Remove __sigvec declaration.
38092         * sysdeps/unix/bsd/sigvec.c: Remove file.
38093         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38094         * manual/signal.texi (BSD Handler): Remove subsection.
38095         Move siginterrupt up to ...
38096         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38097         (Blocking in BSD): Fold subsection into its parent.
38098         * NEWS: Mention sigvec removal.
38100 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38102         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38103         (DLA_FMS): Make definition conditional only on [__FMA4__].
38104         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38105         definition.
38107         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38108         Make definition conditional only on [PROF].
38109         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38110         definition.
38111         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38112         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38114         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38115         !__GNUC__].
38116         * include/signal.h (__sigpause): Move declaration above call to
38117         libc_hidden_proto.
38118         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38119         variable.
38120         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38121         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38123 2014-11-14  David S. Miller  <davem@davemloft.net>
38125         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38126         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38128 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38130         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38131         * configure: Regenerated.
38132         * manual/install.texi (Tools for Compilation): Document a
38133         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38134         compiler verified to work.
38135         * INSTALL: Regenerated.
38137         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38138         redeclare with asm name.
38139         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38140         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38141         including <string.h>.
38142         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38143         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38144         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38145         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38146         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38147         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38148         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38150 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38152         * stdlib/strtol.c (__strtol): Use prototype definition.
38154         [BZ #17594]
38155         * stdlib/strtol.c (SYM__): New macro.
38156         (SYM__1): Likewise.
38157         (__strtol): Likewise.
38158         (strtol): Rename to __strtol and define as weak alias of
38159         __strtol.  Use libc_hidden_weak.
38161 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38163         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38164         Use numbered labels in inline assembly.
38166 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38168         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38169         Add setjmp LIBC_PROBE.
38170         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38171         Likewise.
38172         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38173         Add longjmp, longjmp_target LIBC_PROBE.
38174         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38175         Likewise.
38177 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38179         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38180         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38181         to get rid of unused variable warning.
38183 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38185         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38186         Check for unwind_backtrace ==  NULL only in SHARED case.
38187         (__backchain_backtrace): Compile only in SHARED case.
38188         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38189         Likewise.
38190         (__backchain_backtrace): Declare as static.
38192 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38194         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38195         (__libc_multiple_threads_ptr): Variable moved ...
38196         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38198 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38200         * conform/GlibcConform.pm: New file.
38201         * conform/conformtest.pl: Use GlibcConform module.
38202         * conform/linknamespace.pl: New file.
38203         * conform/list-header-symbols.pl: Likewise.
38204         * conform/Makefile (linknamespace-symlists-base): New variable.
38205         (linknamespace-symlists-tests): Likewise.
38206         (linknamespace-header-base): Likewise.
38207         (linknamespace-header-tests): Likewise.
38208         (tests-special): Add new tests.
38209         ($(linknamespace-symlists-tests)): New rule.
38210         (linknamespace-libs): New variable.
38211         ($(objpfx)symlist-stdlibs): New rule.
38212         ($(linknamespace-header-tests)): Likewise.
38213         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38214         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38215         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38216         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38217         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38218         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38219         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38220         (test-xfail-ISO/math.h/linknamespace): Likewise.
38221         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38222         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38223         (test-xfail-ISO/time.h/linknamespace): Likewise.
38224         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38225         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38226         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38227         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38228         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38229         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38230         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38231         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38232         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38233         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38234         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38235         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38236         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38237         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38238         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38239         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38240         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38241         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38242         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38243         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38244         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38245         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38246         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38247         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38248         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38249         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38250         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38251         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38252         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38253         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38254         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38255         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38256         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38257         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38258         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38259         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38260         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38261         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38262         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38263         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38264         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38265         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38266         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38267         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38268         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38269         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38270         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38271         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38272         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38273         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38274         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38275         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38276         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38277         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38278         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38279         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38280         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38281         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38282         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38283         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38284         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38285         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38286         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38287         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38288         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38289         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38290         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38291         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38292         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38293         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38294         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38295         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38296         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38297         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38298         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38299         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38300         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38301         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38302         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38303         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38304         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38305         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38306         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38307         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38308         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38309         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38310         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38311         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38312         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38313         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38314         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38315         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38316         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38317         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38318         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38319         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38320         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38321         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38322         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38323         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38324         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38325         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38326         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38327         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38328         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38329         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38330         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38331         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38332         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38333         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38334         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38335         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38336         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38337         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38338         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38339         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38340         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38341         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38342         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38343         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38344         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38345         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38346         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38347         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38348         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38349         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38350         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38351         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38352         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38353         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38354         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38355         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38356         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38357         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38358         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38359         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38360         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38361         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38362         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38363         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38364         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38365         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38366         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38367         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38368         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38369         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38370         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38371         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38372         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38373         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38375         [BZ #17589]
38376         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38377         of fgets_unlocked.
38379         [BZ #17585]
38380         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38381         (memmem): Rename to __memmem and define as weak alias of
38382         __memmem.  Use libc_hidden_weak.
38383         (__memmem): Use libc_hidden_def.
38384         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38385         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38386         memmem.
38388         [BZ #17582]
38389         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38390         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38391         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38392         and define as weak alias of __fgets_unlocked.  Use
38393         libc_hidden_weak.
38394         (__fgets_unlocked): Use libc_hidden_def.
38395         * include/stdio.h (__fgets_unlocked): Declare.  Use
38396         libc_hidden_proto.
38397         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38398         __fgets_unlocked instead of fgets_unlocked.
38399         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38400         (GET_NPROCS_CONF_PARSER): Likewise.
38401         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38402         (GET_NPROCS_CONF_PARSER): Likewise.
38404         [BZ #17574]
38405         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38406         weak alias of __wmemset.  Use libc_hidden_weak.
38407         (__wmemset): Use libc_hidden_def.
38408         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38409         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38410         of wmemset.
38412         [BZ #17573]
38413         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38414         with asm name __mempcpy.
38415         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38417         [BZ #17572]
38418         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38419         and define as weak alias of __rawmemchr.
38420         (__rawmemchr): Do not define as strong alias of rawmemchr.
38422         [BZ #17571]
38423         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38424         alias of __qsort_r.
38425         (qsort): Call __qsort_r instead of qsort_r.
38426         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38427         (__qsort_r): Declare.  Call libc_hidden_proto.
38428         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38429         instead of qsort_r.
38430         * nscd/gai.c (__qsort_r): Define to qsort_r.
38431         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38432         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38433         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38435         [BZ #17570]
38436         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38437         define as weak alias of __malloc_info.
38439         [BZ #17584]
38440         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38441         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38442         (__rewinddir): Use libc_hidden_def.
38443         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38444         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38445         (__rewinddir): Use libc_hidden_def.
38446         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38447         weak alias of __rewinddir.  Don't use libc_hidden_def.
38448         (__rewinddir): Use libc_hidden_def.
38449         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38450         (__rewinddir): Use libc_hidden_proto.
38451         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38452         rewinddir.
38453         (__getcwd): Use __rewinddir instead of rewinddir.
38455         [BZ #17583]
38456         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38457         alias of __fileno.  Use libc_hidden_weak.
38458         (__fileno): Use libc_hidden_def.
38459         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38460         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38461         alias of __ftello.
38462         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38463         __ftello.
38464         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38465         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38466         libc_hidden_def.
38467         (fread_unlocked): Don't use libc_hidden_ver.
38468         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38469         and define as weak alias of __fread_unlocked.  Don't use
38470         libc_hidden_def.
38471         (__fread_unlocked): Use libc_hidden_def.
38472         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38473         (ftello): Don't use libc_hidden_proto.
38474         (__ftello): Declare.  Use libc_hidden_proto.
38475         (fread_unlocked): Don't use libc_hidden_proto.
38476         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38477         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38478         and __ftello instead of fileno, fread_unlocked and ftello.
38480 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38482         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38483         GOT12.
38484         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38485         Likewise.
38486         (_dl_start_user): Likewise.
38487         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38489 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38490             Siddhesh Poyarekar  <siddhesh@redhat.com>
38492         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38493         Move argv and envp down instead of moving argc up.
38494         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38496 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38498         [BZ #17506]
38499         * test-skeleton.c (main): Return successful if one of
38500         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38501         * string/tst-strcoll-overflow.c: Define expected status.
38503 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38505         [BZ #17475]
38506         * locale/iso-639.def: Define Bhili and Tulu language codes.
38508 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38510         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38512 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38514         [BZ #17555]
38515         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38517 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38519         * configure.ac: Updated check of minimal required version to
38520         2.22.
38521         * manual/install.texi (Tools for Compilation): Updated version
38522         number.
38523         * configure: Regenerated.
38524         * INSTALL: Likewise.
38526 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38528         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38529         __tls_get_addr.
38531 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38533         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38534         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38535         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38536         libc_hidden_weak.
38537         (waitpid): Define as alias of __waitpid.
38538         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38539         __waitpid.
38540         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38541         libc_hidden_weak.
38542         (waitpid): Define as alias of __waitpid.
38543         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38544         __libc_waitpid alias.
38545         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38546         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38547         Likewise.
38548         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38549         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38550         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38551         alias.
38552         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38553         __waitpid.
38554         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38555         libc_hidden_weak.
38556         (waitpid): Define as alias of __waitpid.
38558 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38560         * manual/llio.texi: Add comment that write safety has been
38561         fixed in Linux.
38563         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38564         (localplt-build-dso): Add elf/ld.so.
38565         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38566         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38567         and free for ld.so.
38568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38569         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38571         Likewise.
38572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38573         Likewise.
38574         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38575         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38576         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38577         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38578         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38579         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38580         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38581         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38582         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38583         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38584         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38586 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38588         [BZ #14132]
38589         * include/libc-symbols.h (INTUSE): Remove macro.
38590         (INTDEF): Likewise.
38591         (INTVARDEF): Likewise.
38592         (_INTVARDEF): Likewise.
38593         (INTDEF2): Likewise.
38594         (INTVARDEF2): Likewise.
38595         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38596         rtld_hidden_def instead of INTVARDEF.
38597         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38598         (_dl_starting_up_internal): Remove declaration.
38599         (_dl_starting_up): Use rtld_hidden_proto.
38600         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38601         declaration.
38602         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38603         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38604         _dl_starting_up.
38605         * elf/dl-writev.h (_dl_writev): Likewise.
38606         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38607         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38608         _dl_starting_up_internal.
38610 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38612         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38613         test-skeleton.c.
38615 2014-11-05  Will Newton  <will.newton@linaro.org>
38617         * benchtests/Makefile: (bench-malloc): Add malloc thread
38618         scalability benchmark.
38619         * benchtests/bench-malloc-threads.c: New file.
38621 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38623         * sysdeps/aarch64/strchrnul.S: New file.
38625 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38627         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38628         definition.
38629         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38630         Likewise.
38631         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38632         Likewise.
38633         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38634         Likewise.
38635         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38636         Likewise.
38637         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38638         Likewise.
38640 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38642         * catgets/test-gencat.c: Use test-skeleton.c.
38643         * catgets/tst-catgets.c: Likewise.
38644         * csu/tst-empty.c: Likewise.
38645         * elf/tst-audit2.c: Likewise.
38646         * elf/tst-global1.c: Likewise.
38647         * elf/tst-pathopt.c: Likewise.
38648         * elf/tst-piemod1.c: Likewise.
38649         * elf/tst-tls10.c: Likewise.
38650         * elf/tst-tls11.c: Likewise.
38651         * elf/tst-tls12.c: Likewise.
38652         * gnulib/tst-gcc.c: Likewise.
38653         * iconvdata/tst-e2big.c: Likewise.
38654         * iconvdata/tst-loading.c: Likewise.
38655         * iconv/tst-iconv1.c: Likewise.
38656         * iconv/tst-iconv2.c: Likewise.
38657         * inet/test-inet6_opt.c: Likewise.
38658         * inet/tst-gethnm.c: Likewise.
38659         * inet/tst-network.c: Likewise.
38660         * inet/tst-ntoa.c: Likewise.
38661         * intl/tst-codeset.c: Likewise.
38662         * intl/tst-gettext2.c: Likewise.
38663         * intl/tst-gettext3.c: Likewise.
38664         * intl/tst-ngettext.c: Likewise.
38665         * intl/tst-translit.c: Likewise.
38666         * io/test-stat.c: Likewise.
38667         * libio/test-fmemopen.c: Likewise.
38668         * libio/tst-freopen.c: Likewise.
38669         * libio/tst-sscanf.c: Likewise.
38670         * libio/tst-ungetwc1.c: Likewise.
38671         * libio/tst-ungetwc2.c: Likewise.
38672         * libio/tst-widetext.c: Likewise.
38673         * localedata/tst-ctype.c: Likewise.
38674         * localedata/tst-digits.c: Likewise.
38675         * localedata/tst-leaks.c: Likewise.
38676         * localedata/tst-mbswcs1.c: Likewise.
38677         * localedata/tst-mbswcs2.c: Likewise.
38678         * localedata/tst-mbswcs3.c: Likewise.
38679         * localedata/tst-mbswcs4.c: Likewise.
38680         * localedata/tst-mbswcs5.c: Likewise.
38681         * localedata/tst-setlocale.c: Likewise.
38682         * localedata/tst-trans.c: Likewise.
38683         * localedata/tst-wctype.c: Likewise.
38684         * localedata/tst-xlocale1.c: Likewise.
38685         * login/tst-grantpt.c: Likewise.
38686         * malloc/tst-calloc.c: Likewise.
38687         * malloc/tst-malloc.c: Likewise.
38688         * malloc/tst-mallocstate.c: Likewise.
38689         * malloc/tst-mcheck.c: Likewise.
38690         * malloc/tst-mtrace.c: Likewise.
38691         * malloc/tst-obstack.c: Likewise.
38692         * math/atest-exp2.c: Likewise.
38693         * math/atest-exp.c: Likewise.
38694         * math/atest-sincos.c: Likewise.
38695         * math/test-matherr.c: Likewise.
38696         * math/test-misc.c: Likewise.
38697         * math/test-powl.c: Likewise.
38698         * math/tst-definitions.c: Likewise.
38699         * misc/tst-dirname.c: Likewise.
38700         * misc/tst-efgcvt.c: Likewise.
38701         * misc/tst-fdset.c: Likewise.
38702         * misc/tst-hsearch.c: Likewise.
38703         * misc/tst-mntent2.c: Likewise.
38704         * nptl/tst-sem7.c: Likewise.
38705         * nptl/tst-sem8.c: Likewise.
38706         * nptl/tst-sem9.c: Likewise.
38707         * nss/test-netdb.c: Likewise.
38708         * posix/tst-fnmatch.c: Likewise.
38709         * posix/tst-getlogin.c: Likewise.
38710         * posix/tst-gnuglob.c: Likewise.
38711         * posix/tst-mmap.c: Likewise.
38712         * pwd/tst-getpw.c: Likewise.
38713         * resolv/tst-inet_ntop.c: Likewise.
38714         * rt/tst-timer.c: Likewise.
38715         * stdio-common/test-fseek.c: Likewise.
38716         * stdio-common/test-popen.c: Likewise.
38717         * stdio-common/test-vfprintf.c: Likewise.
38718         * stdio-common/tst-cookie.c: Likewise.
38719         * stdio-common/tst-fileno.c: Likewise.
38720         * stdio-common/tst-gets.c: Likewise.
38721         * stdio-common/tst-obprintf.c: Likewise.
38722         * stdio-common/tst-perror.c: Likewise.
38723         * stdio-common/tst-sprintf2.c: Likewise.
38724         * stdio-common/tst-sprintf3.c: Likewise.
38725         * stdio-common/tst-sprintf.c: Likewise.
38726         * stdio-common/tst-swprintf.c: Likewise.
38727         * stdio-common/tst-tmpnam.c: Likewise.
38728         * stdio-common/tst-unbputc.c: Likewise.
38729         * stdio-common/tst-wc-printf.c: Likewise.
38730         * stdlib/tst-environ.c: Likewise.
38731         * stdlib/tst-fmtmsg.c: Likewise.
38732         * stdlib/tst-limits.c: Likewise.
38733         * stdlib/tst-rand48-2.c: Likewise.
38734         * stdlib/tst-rand48.c: Likewise.
38735         * stdlib/tst-random2.c: Likewise.
38736         * stdlib/tst-random.c: Likewise.
38737         * stdlib/tst-strtol.c: Likewise.
38738         * stdlib/tst-strtoll.c: Likewise.
38739         * stdlib/tst-tls-atexit.c: Likewise.
38740         * stdlib/tst-xpg-basename.c: Likewise.
38741         * string/test-ffs.c: Likewise.
38742         * string/tst-bswap.c: Likewise.
38743         * string/tst-inlcall.c: Likewise.
38744         * string/tst-strtok.c: Likewise.
38745         * string/tst-strxfrm.c: Likewise.
38746         * sysdeps/x86_64/tst-audit10.c: Likewise.
38747         * sysdeps/x86_64/tst-audit3.c: Likewise.
38748         * sysdeps/x86_64/tst-audit4.c: Likewise.
38749         * sysdeps/x86_64/tst-audit5.c: Likewise.
38750         * time/tst-ftime_l.c: Likewise.
38751         * time/tst-getdate.c: Likewise.
38752         * time/tst-mktime3.c: Likewise.
38753         * time/tst-mktime.c: Likewise.
38754         * time/tst-posixtz.c: Likewise.
38755         * time/tst-strptime2.c: Likewise.
38756         * time/tst-strptime3.c: Likewise.
38757         * wcsmbs/tst-btowc.c: Likewise.
38758         * wcsmbs/tst-mbrtowc.c: Likewise.
38759         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38760         * wcsmbs/tst-wchar-h.c: Likewise.
38761         * wcsmbs/tst-wcpncpy.c: Likewise.
38762         * wcsmbs/tst-wcrtomb.c: Likewise.
38763         * wcsmbs/tst-wcsnlen.c: Likewise.
38764         * wcsmbs/tst-wcstof.c: Likewise.
38766 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38768         [BZ #14132]
38769         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38770         INTDEF.
38771         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38772         declaration.
38773         (_dl_mcount): Use rtld_hidden_proto.
38774         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38775         _dl_mcount.
38776         * elf/rtld.c (_rtld_global_ro): Likewise.
38778         [BZ #14132]
38779         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38780         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38781         of _dl_init_internal.
38782         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38783         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38784         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38785         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38786         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38787         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38788         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38789         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38790         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38791         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38792         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38793         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38794         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38795         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38796         * sysdeps/tile/dl-start.S (_start): Likewise.
38797         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38798         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38800         [BZ #14132]
38801         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38802         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38803         (rtld_progname): Make macro definition unconditional.
38804         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38805         INTDEF.
38806         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38807         (dl_main): Likewise.
38808         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38809         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38810         instead of _dl_argv_internal.
38811         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38812         __GI__dl_argv instead of INTUSE(_dl_argv).
38813         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38814         __GI__dl_argv instead of _dl_argv_internal.
38816         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38817         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38818         macro.
38819         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38820         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38821         New macro.
38822         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38823         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38824         macro.
38825         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38826         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38828 2014-11-04  Andreas Schwab  <schwab@suse.de>
38830         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38832 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38834         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38835         mtvsrd instruction in binary form.
38837 2014-11-03  Andreas Schwab  <schwab@suse.de>
38839         [BZ #17522]
38840         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38841         for less than MB_LEN_MAX use a local buffer of that size.
38842         * libio/tst-fputws.c: New file.
38843         * libio/Makefile (tests): Add tst-fputws.
38845 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38847         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38848         the size of the fpu_fr.fpu_dregs[] array.
38850 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38852         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38853         (__nanosleep): Do not define as alias.
38854         (nanosleep): Define as alias of __nanosleep.
38855         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38856         __libc_nanosleep name.
38858 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38860         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38861         install.texi in comment.
38863 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38865         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38866         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38867         ... add here and use lwsync or sync ...
38868         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38869         ... and add here using lwsync.
38871 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38873         * elf/dl-machine-reject-phdr.h: New file.
38874         * elf/dl-load.c: #include that.
38875         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38876         if that returned true.
38878 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38880         [BZ #17496]
38881         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38882         gen-as-const-headers chunk.  Add a big scare comment after the last
38883         safe place to touch before-compile.
38885 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38887         * manual/install.texi (Tools for Compilation): Update autoconf
38888         version requirements.
38889         * INSTALL: Regenerated.
38891         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38892         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38893         (__libc_pselect): Likewise.
38895         [BZ #14138]
38896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38901 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38903         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38904         correct barrier instruction.
38905         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38906         Likewise.
38907         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38908         Likewise.
38910 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38912         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38913         after defining inlines.  Instead, just use parens to defeat macro
38914         expansion of __isctype in its declaration.
38916 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38918         * include/sys/uio.h (__libc_readv): Remove declaration.
38919         (__libc_writev): Likewise.
38920         * misc/readv.c (__libc_readv): Rename to __readv.
38921         (__readv): Do not define as alias.
38922         (readv): Define as alias of __readv.
38923         * misc/writev.c (__libc_writev): Rename to __writev.
38924         (__writev): Do not define as alias.
38925         (writev): Define as alias of __writev.
38926         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38927         (__readv): Do not define as alias.
38928         (readv): Define unconditionally as alias of __readv.
38929         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38930         (__writev): Do not define as alias.
38931         (writev): Define unconditionally as alias of __writev.
38932         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38933         name.
38934         (writev): Do not define __libc_writev name.
38936 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38938         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38939         (convert_charseq): New function, broken out of ...
38940         (use_from_charmap): ... here.  Call it.
38941         (use_to_charmap): Use convert_charseq and free instead of duplicating
38942         its code with a variable-length stack struct.
38944 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38946         * include/fcntl.h (__libc_creat): Remove declaration.
38947         * io/creat.c (__libc_creat): Rename to creat.
38948         (creat): Do not define as alias.
38949         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38950         of creat instead of __libc_creat.
38951         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38952         to creat.
38953         (creat): Do not define as alias.
38954         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38955         __libc_creat.
38956         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38957         __libc_creat name.
38958         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38959         Likewise.
38961 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38963         * manual/llio.texi: Add comments discussing why write() may be
38964         considered MT-unsafe on Linux.
38966 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38968         * dl-load.c (local_strdup): Remove.
38969         (expand_dynamic_string_token): Use __strdup.
38970         (decompose_rpath): Likewise.
38971         (_dl_map_object): Likewise.
38973 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38975         [BZ #14132]
38976         * sysdeps/generic/unwind-dw2-fde.c
38977         (__register_frame_info_bases_internal): Do not declare.
38978         (__register_frame_info_table_bases_internal): Likewise.
38979         (__deregister_frame_info_bases_internal): Likewise.
38980         (__register_frame_info_bases): Declare and use hidden_proto before
38981         definition.  Use hidden_def instead of INTDEF.
38982         (__register_frame_info_table_bases): Likewise.
38983         (__deregister_frame_info_bases): Likewise.
38984         (__register_frame_info): Do not use INTUSE.
38985         (__register_frame): Likewise.
38986         (__register_frame_info_table): Likewise.
38987         (__register_frame_table): Likewise.
38988         (__deregister_frame_info): Likewise.
38989         (__deregister_frame): Likewise.
38991 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
38993         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38994         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
38995         not undefine.
38996         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
38997         Likewise.
38998         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
38999         Likewise.
39001 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39003         [BZ #14138]
39004         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39005         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39006         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39007         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39008         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39009         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39010         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39011         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39012         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39013         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39014         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39015         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39016         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39017         syscall.
39018         (setfsuid): Likewise.
39019         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39020         (setfsuid): Likewise.
39021         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39022         (setfsuid): Likewise.
39023         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39024         Likewise.
39025         (setfsuid): Likewise.
39026         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39027         (setfsuid): Likewise.
39028         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39029         Likewise.
39030         (setfsuid): Likewise.
39032 2014-10-27  Andreas Schwab  <schwab@suse.de>
39034         [BZ #17501]
39035         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39036         check for Slow_SSE4_2 feature bit.
39037         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39038         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39039         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39040         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39042 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39044         * configure.ac: Validate compiler version with a empirical test of
39045         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39046         $CC -v output.
39047         * configure: Regenerated.
39049         * inet/htons.c (htons): Prototypify.
39050         * inet/htonl.c (htonl): Likewise.
39052 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39054         * string/strncat.c (strncat): Improve performance by using strlen.
39056 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39058         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39060 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39062         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39063         Call libc_fetestexcept_aarch64.
39065 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39067         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39068         Call libc_feholdexcept_aarch64.
39070 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39072         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39073         Call get_rounding_mode.
39075 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39077         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39078         Simplify logic.
39080 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39082         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39083         Simplify logic.
39085 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39087         [BZ #14138]
39088         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39089         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39090         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39091         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39092         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39093         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39094         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39095         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39096         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39097         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39098         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39099         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39100         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39101         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39102         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39103         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39104         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39105         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39106         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39107         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39108         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39109         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39110         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39111         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39112         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39113         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39114         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39115         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39116         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39117         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39118         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39119         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39120         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39121         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39122         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39123         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39124         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39125         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39126         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39127         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39128         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39129         syscall.
39130         (geteuid): Likewise.
39131         (getgid): Likewise.
39132         (getuid): Likewise.
39133         (getresgid): Likewise.
39134         (getresuid): Likewise.
39135         (getgroups): Likewise.
39136         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39137         (geteuid): Likewise.
39138         (getgid): Likewise.
39139         (getuid): Likewise.
39140         (getresgid): Likewise.
39141         (getresuid): Likewise.
39142         (getgroups): Likewise.
39143         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39144         (geteuid): Likewise.
39145         (getgid): Likewise.
39146         (getuid): Likewise.
39147         (getresgid): Likewise.
39148         (getresuid): Likewise.
39149         (getgroups): Likewise.
39150         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39151         Likewise.
39152         (geteuid): Likewise.
39153         (getgid): Likewise.
39154         (getuid): Likewise.
39155         (getresgid): Likewise.
39156         (getresuid): Likewise.
39157         (getgroups): Likewise.
39158         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39159         (geteuid): Likewise.
39160         (getgid): Likewise.
39161         (getuid): Likewise.
39162         (getresgid): Likewise.
39163         (getresuid): Likewise.
39164         (getgroups): Likewise.
39165         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39166         Likewise.
39167         (geteuid): Likewise.
39168         (getgid): Likewise.
39169         (getuid): Likewise.
39170         (getgroups): Likewise.
39172         [BZ #14138]
39173         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39174         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39175         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39176         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39177         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39178         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39179         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39180         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39181         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39182         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39183         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39184         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39185         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39186         __chown.
39187         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39188         (lchown): Likewise.
39189         (fchown): Likewise.
39190         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39191         Likewise.
39192         (lchown): Likewise.
39193         (fchown): Likewise.
39194         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39195         (lchown): Likewise.
39196         (fchown): Likewise.
39197         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39198         Likewise.
39199         (lchown): Likewise.
39200         (fchown): Likewise.
39202 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39204         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39205         Simplify logic.
39207 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39209         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39210         Cleanup logic.
39212 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39214         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39215         Remove unused include.
39217 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39219         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39220         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39221         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39222         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39224 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39225             Helge Deller <deller@gmx.de>
39227         [BZ #17508]
39228         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39229         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39230         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39232 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39234         [BZ #14132]
39235         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39236         Remove macro definition.
39237         (__ashrdi3_v_glibc20): Likewise.
39238         (__lshrdi3_v_glibc20): Likewise.
39239         (__cmpdi2_v_glibc20): Likewise.
39240         (__ucmpdi2_v_glibc20): Likewise.
39241         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39242         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39243         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39244         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39245         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39246         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39248 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39250         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39251         old GNU extension [0] syntax.
39252         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39253         alloca rather than an array member with variable length.
39254         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39255         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39256         (parse_opt): ... here.  Likewise use alloca there.
39257         Validate the -i argument before checking for rootness.
39258         (send_shutdown): New function, broken out of ...
39259         (parse_opt): ... here.
39261 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39263         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39264         macro to get at the _rt_local_ro field.
39265         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39266         ([PIC] case) or _dl_hwcap ([!PIC] case).
39267         * sysdeps/arm/setjmp.S: Likewise.
39269         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39270         * sysdeps/arm/configure.ac: New check to define it.
39271         * sysdeps/arm/configure: Regenerated.
39272         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39273         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39274         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39275         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39276         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39277         Use move/movt pair instead of a load.
39278         (LDST_GLOBAL): Macro removed.
39279         (LDR_GLOBAL): New macro replaces it.
39280         (LDR_HIDDEN): New macro.
39281         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39282         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39284         * setjmp/tst-setjmp-static.c: New file.
39285         * setjmp/Makefile (tests): Add it.
39286         (tests-static): New variable.
39288 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39290         [BZ #17485]
39291         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39293 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39295         [BZ #14132]
39296         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39298 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39300         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39302 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39304         * io/fts.c (dirent_not_directory): New function.
39305         (fts_build): Call it.
39307 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39309         * nptl/version.c (__nptl_main): Use normal __write rather than
39310         INTERNAL_SYSCALL.
39311         (banner): Update copyright years.
39313         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39314         gettimeofday.
39315         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39316         * nptl/pthread_cond_timedwait.c: Likewise.
39317         * nptl/pthread_mutex_timedlock.c: Likewise.
39318         * nptl/sem_timedwait.c: Likewise.
39320         * sysdeps/nptl/bits/libc-lock.h
39321         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39322         (__libc_lock_init_recursive): Return void, not 0.
39323         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39324         (__libc_rwlock_init): Likewise.
39325         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39327 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39329         [BZ #15215]
39330         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39331         (__pthread_once_slow): ... here.
39332         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39333         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39335 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39337         [BZ #15215]
39338         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39339         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39340         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39341         * nptl/pthread_once.c (__pthread_once): Likewise.
39342         Update comments.
39344 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39346         [BZ #14138]
39347         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39348         name.
39349         (writev): Use __libc_writev as strong name.
39350         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39351         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39353 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39355         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39357         * sysdeps/i386/nptl/tls.h
39358         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39359         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39360         New macros.
39361         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39362         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39363         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39364         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39365         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39366         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39368         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39369         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39370         on [__NR_futex].
39371         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39372         broken out of ...
39373         (__pthread_mutex_init): ... here.  Call it.
39374         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39375         Conditionalize PI cases on [__NR_futex].
39376         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39377         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39378         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39380         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39381         conditional on [SIGSETXID].
39382         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39383         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39384         is defined.  Likewise for SIGSETXID.
39385         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39386         Conditionalize definitions on [SIGSETXID].
39387         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39388         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39389         unblocking on [SIGCANCEL].
39391         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39392         [__NR_set_robust_list].
39394 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39396         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39397         (do_compare): Likewise.
39399 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39401         [BZ #15884]
39402         * string/strcoll_l.c: Don't include stdio.h.
39403         (coll_seq): Remove members idxarr and rulearr.
39404         (get_next_seq_cached): Remove function.
39405         (get_next_seq): Likewise.
39406         (get_next_seq_nocache): Rename to get_next_seq.
39407         (do_compare): Remove function.
39408         (do_compare_nocache): Rename to do_compare.
39409         (STRCOLL): Remove weight and rules cache.
39411 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39413         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39414         * sysdeps/arm/sfp-machine.h: ... to here.
39415         * sysdeps/arm/Implies: Remove arm/soft-fp.
39417 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39419         * conform/data/sys/utsname.h-data (*_t): Allow.
39420         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39421         [POSIX] (WEXITED): Do not expect constant.
39422         [POSIX] (WSTOPPED): Likewise.
39423         [POSIX] (WNOHANG): Likewise.
39424         [POSIX] (WNOWAIT): Likewise.
39425         [POSIX] (siginfo_t): Do not expect type or elements.
39426         [POSIX] (pid_t): Do not expect type.
39427         [POSIX] (signal.h): Do not allow header.
39428         [POSIX] (sys/resource.h): Likewise.
39429         [POSIX] (si_*): Do not allow pattern.
39430         [POSIX] (W*): Likewise.
39431         [POSIX] (P_*): Likewise.
39432         [POSIX] (BUS_*): Likewise.
39433         [POSIX] (CLD_*): Likewise.
39434         [POSIX] (FPE_*): Likewise.
39435         [POSIX] (ILL_*): Likewise.
39436         [POSIX] (POLL_*): Likewise.
39437         [POSIX] (SEGV_*): Likewise.
39438         [POSIX] (SI_*): Likewise.
39439         [POSIX] (TRAP_*): Likewise.
39440         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39441         variable.
39443 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39445         [BZ #12926]
39446         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39447         infinite loop when __recvmsg returns 0.
39449 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39451         * CANCEL-FCT-WAIVE: Remove file.
39452         * CANCEL-FILE-WAIVE: Likewise.
39454         [BZ #14132]
39455         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39456         instead of INTVARDEF.
39457         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39458         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39459         rtld_hidden_data_def instead of INTVARDEF.
39460         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39461         * elf/dl-deps.c (expand_dst): Likewise.
39462         * elf/dl-load.c (_dl_dst_count): Likewise.
39463         (_dl_dst_substitute): Likewise.
39464         (decompose_rpath): Likewise.
39465         (_dl_init_paths): Likewise.
39466         (open_path): Likewise.
39467         (_dl_map_object): Likewise.
39468         * elf/rtld.c (dl_main): Likewise.
39469         (process_dl_audit): Likewise.
39470         (process_envvars): Likewise.
39471         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39472         Remove declaration.
39473         (__libc_enable_secure): Use rtld_hidden_proto.
39475 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39477         * elf/dl-load.c
39478         (add_path): New function broken out of _dl_rtld_di_serinfo.
39479         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39481 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39483         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39484         parentheses around macro arguments.
39485         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39486         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39487         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39488         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39489         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39490         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39491         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39492         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39493         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39494         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39495         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39496         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39497         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39498         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39499         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39500         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39501         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39502         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39503         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39504         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39505         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39506         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39507         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39508         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39509         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39510         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39511         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39512         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39513         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39514         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39515         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39516         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39517         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39518         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39519         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39520         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39521         Likewise.
39522         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39523         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39524         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39525         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39526         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39527         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39528         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39529         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39530         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39531         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39532         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39533         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39534         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39535         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39536         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39537         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39538         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39539         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39540         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39541         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39542         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39543         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39544         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39545         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39546         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39547         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39548         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39549         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39550         (_FP_FRAC_SRS_1): Likewise.
39551         (_FP_FRAC_CLZ_1): Likewise.
39552         (_FP_MUL_MEAT_1_imm): Likewise.
39553         (_FP_MUL_MEAT_1_wide): Likewise.
39554         (_FP_MUL_MEAT_1_hard): Likewise.
39555         (_FP_SQRT_MEAT_1): Likewise.
39556         (_FP_FRAC_ASSEMBLE_1): Likewise.
39557         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39558         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39559         (__FP_CLZ_2): Likewise.
39560         (_FP_MUL_MEAT_2_wide): Likewise.
39561         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39562         (_FP_MUL_MEAT_2_gmp): Likewise.
39563         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39564         (_FP_SQRT_MEAT_2): Likewise.
39565         (_FP_FRAC_ASSEMBLE_2): Likewise.
39566         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39567         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39568         (_FP_FRAC_CLZ_4): Likewise.
39569         (_FP_MUL_MEAT_4_wide): Likewise.
39570         (_FP_MUL_MEAT_4_gmp): Likewise.
39571         (_FP_SQRT_MEAT_4): Likewise.
39572         (_FP_FRAC_ASSEMBLE_4): Likewise.
39573         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39574         * soft-fp/op-common.h (_FP_CMP): Likewise.
39575         (_FP_CMP_EQ): Likewise.
39576         (_FP_CMP_UNORD): Likewise.
39577         (_FP_TO_INT): Likewise.
39578         (_FP_FROM_INT): Likewise.
39579         [!__FP_CLZ] (__FP_CLZ): Likewise.
39580         (_FP_DIV_HELP_imm): Likewise.
39581         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39582         Likewise.
39583         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39584         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39585         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39586         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39587         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39588         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39589         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39590         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39591         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39592         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39593         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39594         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39595         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39596         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39597         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39598         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39599         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39600         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39601         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39602         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39603         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39604         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39605         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39606         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39607         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39608         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39609         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39610         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39611         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39612         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39613         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39614         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39615         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39616         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39617         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39618         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39619         (FP_UNPACK_RAW_SP): Likewise.
39620         (FP_PACK_RAW_S): Likewise.
39621         (FP_PACK_RAW_SP): Likewise.
39622         (FP_UNPACK_S): Likewise.
39623         (FP_UNPACK_SP): Likewise.
39624         (FP_UNPACK_SEMIRAW_S): Likewise.
39625         (FP_UNPACK_SEMIRAW_SP): Likewise.
39626         (FP_PACK_S): Likewise.
39627         (FP_PACK_SP): Likewise.
39628         (FP_PACK_SEMIRAW_S): Likewise.
39629         (FP_PACK_SEMIRAW_SP): Likewise.
39630         (_FP_SQRT_MEAT_S): Likewise.
39631         (FP_CMP_S): Likewise.
39632         (FP_CMP_EQ_S): Likewise.
39633         (FP_CMP_UNORD_S): Likewise.
39634         (FP_TO_INT_S): Likewise.
39635         (FP_FROM_INT_S): Likewise.
39637         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39639         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39640         (FP_EX_INVALID_IMZ): Likewise.
39641         (FP_EX_INVALID_IMZ_FMA): Likewise.
39642         (FP_EX_INVALID_ISI): Likewise.
39643         (FP_EX_INVALID_ZDZ): Likewise.
39644         (FP_EX_INVALID_IDI): Likewise.
39645         (FP_EX_INVALID_SQRT): Likewise.
39646         (FP_EX_INVALID_CVI): Likewise.
39647         (FP_EX_INVALID_VC): Likewise.
39648         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39649         "invalid" exceptions.
39650         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39651         (_FP_ADD_INTERNAL): Likewise.
39652         (_FP_MUL): Likewise.
39653         (_FP_FMA): Likewise.
39654         (_FP_DIV): Likewise.
39655         (_FP_CMP_CHECK_NAN): Likewise.
39656         (_FP_SQRT): Likewise.
39657         (_FP_TO_INT): Likewise.
39658         (FP_EXTEND): Likewise.
39660 2014-10-09  Allan McRae  <allan@archlinux.org>
39662         * po/fr.po: Update French translation from translation project.
39664 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39666         [BZ #14132]
39667         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39668         of INTDEF.
39669         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39670         (__cxa_atexit): Use libc_hidden_proto.
39671         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39673         [BZ #14132]
39674         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39675         declaration.
39676         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39677         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39678         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39679         [!_ISOMAC] (__iswctype_internal): Likewise.
39680         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39681         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39682         alias.
39683         (fcntl): Remove __fcntl_internal alias.
39684         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39685         __connect_internal alias.
39686         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39687         Likewise.
39689         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39690         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39691         FP_DENORM_ZERO.
39692         (_FP_CHECK_FLUSH_ZERO): New macro.
39693         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39694         (_FP_CMP): Likewise.
39695         (_FP_CMP_EQ): Likewise.
39696         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39697         FP_DENORM_ZERO.
39698         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39699         (FP_TRUNC): Likewise.
39701         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39702         treated as invalid conversion, not as normal exponent.
39704         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39705         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39706         (_FP_CMP_EQ): Likewise.
39707         (_FP_CMP_UNORD): Likewise.
39708         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39709         (FP_CMP_EQ_D): Likewise.
39710         (FP_CMP_UNORD_D): Likewise.
39711         * soft-fp/extended.h (FP_CMP_E): Likewise.
39712         (FP_CMP_EQ_E): Likewise.
39713         (FP_CMP_UNORD_E): Likewise.
39714         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39715         (FP_CMP_EQ_Q): Likewise.
39716         (FP_CMP_UNORD_Q): Likewise.
39717         * soft-fp/single.h (FP_CMP_S): Likewise.
39718         (FP_CMP_EQ_S): Likewise.
39719         (FP_CMP_UNORD_S): Likewise.
39720         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39721         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39722         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39723         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39724         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39725         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39726         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39727         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39728         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39729         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39730         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39731         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39732         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39733         to FP_CMP_Q.
39734         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39735         FP_CMP_Q.
39736         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39737         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39738         FP_CMP_EQ_Q.
39739         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39740         FP_CMP_Q.
39741         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39742         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39743         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39744         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39745         FP_CMP_EQ_Q.
39746         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39747         FP_CMP_Q.
39748         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39749         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39750         FP_CMP_EQ_Q.
39751         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39752         FP_CMP_Q.
39753         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39754         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39755         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39756         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39757         FP_CMP_EQ_Q.
39759         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39760         a subnormal result, set the underflow exception if trapping on
39761         underflow is enabled.
39762         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39763         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39764         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39765         redefine to 0.
39766         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39767         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39768         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39769         * soft-fp/extendxftf2.c (__extendxftf2): Use
39770         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39772         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39773         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39774         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39775         FP_HANDLE_EXCEPTIONS.
39776         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39777         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39778         FP_HANDLE_EXCEPTIONS.
39779         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39780         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39781         FP_HANDLE_EXCEPTIONS.
39782         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39783         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39784         FP_HANDLE_EXCEPTIONS.
39786 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39788         [BZ #14132]
39789         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39790         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39791         use INTUSE.
39792         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39793         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39794         Remove alias.
39795         (__adjtimex): Define using libc_hidden_ver.
39796         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39797         Remove declaration.
39798         (ntp_gettime): Call __adjtimex directly.
39799         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39800         Remove declaration.
39801         (ntp_gettimex): Call __adjtimex directly.
39802         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39803         __adjtimex_internal alias.
39805 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39807         [BZ #17460]
39808         * nscd/nscd.c (more_help): Rewrite list of tables collection
39809         using xstrdup and asprintf.
39811         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39813 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39814             Roland McGrath  <roland@hack.frob.com>
39816         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39817         (do_lookup_unique): ... local function 'enter' here; update callers.
39819 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39821         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39822         compat_symbol calls on [SHARED].
39823         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39824         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39825         Remove.
39826         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39827         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39828         (oldsetrlimit): Remove.
39829         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39831         (lchown): New syscall entry.
39832         (oldsetrlimit): Remove.
39833         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39834         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39835         (oldsetrlimit): Remove.
39836         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39838         [BZ #14138]
39839         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39840         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39841         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39842         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39843         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39844         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39845         (fchown): Likewise.
39846         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39847         (fchown): Likewise.
39848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39849         Likewise.
39851 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39853         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39854         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39855         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39856         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39857         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39858         Likewise.
39859         (__old_sem_post): Likewise.
39861 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39863         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39864         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39865         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39866         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39867         Use INLINE_VSYSCALL macro.
39868         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39869         __vdso_clock_gettime.
39870         * sysdeps/unix/sysv/linux/tile/init-first.c
39871         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39872         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39873         __vdso_clock_gettime.
39875         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39876         to set up frame more cleanly.
39878         * sysdeps/tile/memcmp.c: New file.
39880         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39882         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39883         * sysdeps/tile/tilegx/strcasestr.c: New file.
39884         * sysdeps/tile/tilegx/strnlen.c: New file.
39885         * sysdeps/tile/tilegx/strstr.c: New file.
39887         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39889 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39891         * nptl/tst-setuid3.c: Write errors to stdout.
39893 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39895         * elf/dl-deps.c
39896         (preload): New functions broken out of _dl_map_object_deps.
39897         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39899 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39901         [BZ #14138]
39902         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39903         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39905 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39907         * sysdeps/mips/strcmp.S: New.
39909 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39911         [BZ #14138]
39912         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39913         (linkat): Likewise.
39914         (mkdirat): Likewise.
39915         (readlinkat): Likewise.
39916         (renameat): Likewise.
39917         (symlinkat): Likewise.
39918         (unlinkat): Likewise.
39919         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39920         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39921         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39922         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39923         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39924         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39925         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39927 2014-09-30  Will Newton  <will.newton@linaro.org>
39929         * math/math.h: Define long double math functions if
39930         _LIBC_TEST is defined.
39931         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39933         * localedata/Makefile: Move assignment to tests-special
39934         into an ifdef testing run-built-tests.
39935         * timezone/Makefile: Likewise.
39937 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39939         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39940         with $(BASH) not $(SHELL).
39942 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39943             Matthew LeGendre  <legendre1@llnl.gov>
39945         [BZ #17411]
39946         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39947         l_reloc_result.
39949 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39951         * stdio-common/printf_fp.c
39952         (hack_digit): New function, broken out of ...
39953         (__printf_fp): ... local function here.  Update call sites.
39954         hack_digit now takes an additional parameter that is a pointer
39955         to a struct of the referenced locals.  Those locals moved inside
39956         the struct and references updated.
39958 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39960         * aclocal.m4: Require autoconf 2.69.
39961         * configure: Regenerated.
39962         * sysdeps/aarch64/configure: Likewise.
39963         * sysdeps/alpha/configure: Likewise.
39964         * sysdeps/arm/armv7/configure: Likewise.
39965         * sysdeps/arm/configure: Likewise.
39966         * sysdeps/ia64/configure: Likewise.
39967         * sysdeps/mach/configure: Likewise.
39968         * sysdeps/mips/configure: Likewise.
39969         * sysdeps/s390/configure: Likewise.
39970         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39973         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39974         file.
39975         * sysdeps/ia64/configure.ac: Likewise.
39977 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39980         specify symbol version for ld.so.  Do not include entry for
39981         libpthread.
39982         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39983         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39984         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39986         [BZ #14171]
39987         * Makeconfig [$(build-shared) = yes]
39988         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39989         makefiles.
39990         [$(build-shared) = yes && $(soversions.mk-done) = t]
39991         ($(common-objpfx)gnu/lib-names.h): Remove rule.
39992         [$(build-shared) = yes && $(soversions.mk-done) = t]
39993         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
39994         to Makerules.
39995         [$(build-shared) = yes && $(soversions.mk-done) = t]
39996         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
39997         here.
39998         [$(build-shared) = yes && $(soversions.mk-done) = t]
39999         (common-generated): Don't append gnu/lib-names.h and
40000         gnu/lib-names.stmp here.
40001         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40002         (lib-names-h-abi): New variable.
40003         [$(build-shared) = yes && $(soversions.mk-done) = t]
40004         (lib-names-stmp-abi): Likewise.
40005         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40006         abi-variants] (before-compile): Append
40007         $(common-objpfx)$(lib-names-h-abi).
40008         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40009         abi-variants] (common-generated): Append gnu/lib-names.h.
40010         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40011         abi-variants] (install-others-nosubdir): Depend on
40012         $(inst_includedir)/$(lib-names-h-abi).
40013         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40014         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40015         [$(build-shared) = yes && $(soversions.mk-done) = t]
40016         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40017         [$(build-shared) = yes && $(soversions.mk-done) = t]
40018         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40019         [$(build-shared) = yes && $(soversions.mk-done) = t]
40020         (common-generated): Append $(lib-names-h-abi) and
40021         $(lib-names-stmp-abi).
40022         * scripts/lib-names.awk: Do not handle multi being set.
40023         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40024         Remove variable.
40025         (abi-lp64_be-ld-soname): Likewise.
40026         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40027         Likewise.
40028         (abi-hard-ld-soname): Likewise.
40029         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40030         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40031         Remove variable.
40032         (abi-o32_hard-ld-soname): Likewise.
40033         (abi-o32_soft_2008-ld-soname): Likewise.
40034         (abi-o32_hard_2008-ld-soname): Likewise.
40035         (abi-n32_soft-ld-soname): Likewise.
40036         (abi-n32_hard-ld-soname): Likewise.
40037         (abi-n32_soft_2008-ld-soname): Likewise.
40038         (abi-n32_hard_2008-ld-soname): Likewise.
40039         (abi-n64_soft-ld-soname): Likewise.
40040         (abi-n64_hard-ld-soname): Likewise.
40041         (abi-n64_soft_2008-ld-soname): Likewise.
40042         (abi-n64_hard_2008-ld-soname): Likewise.
40043         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40044         Likewise.
40045         (abi-64-v2-ld-soname): Likewise.
40046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40047         ld.so entries.
40048         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40049         variable.
40050         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40051         entry.
40052         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40053         variable.
40054         (abi-64-ld-soname): Likewise.
40055         (abi-x32-ld-soname): Likewise.
40056         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40057         entry.
40058         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40060 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40062         [BZ #14138]
40063         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40064         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40065         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40066         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40067         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40068         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40069         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40070         syscall entry for GLIBC_2.2 symbol version.
40071         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40072         Likewise.
40073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40074         (setrlimit): Likewise.
40075         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40076         Likewise.
40078 2014-09-23  Will Newton  <will.newton@linaro.org>
40080         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40081         _LINUX_ARM_SYSDEP_H include guard too.
40082         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40083         define.
40085 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40087         * sysdeps/unix/sysv/linux/eventfd.c:
40088         Make first argument unsigned.
40089         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40090         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40092 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40094         [BZ #16852]
40095         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40096         * socket/sys/socket.h: Likewise.
40097         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40099 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40101         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40103 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40105         * time/tst-ftime.c: New test.
40106         * time/Makefile (tests): Add tst-ftime.
40108 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40110         * soft-fp/extended.h: Fix comment formatting.
40111         * soft-fp/op-1.h: Likewise.
40112         * soft-fp/op-2.h: Likewise.
40113         * soft-fp/op-4.h: Likewise.
40114         * soft-fp/op-8.h: Likewise.
40115         * soft-fp/op-common.h: Likewise.
40116         * soft-fp/soft-fp.h: Likewise.
40118         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40120 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40122         [BZ #6652]
40123         * Makeconfig (soversions-default-setname): Remove variable.
40124         ($(common-objpfx)soversions.i): Don't pass default_setname to
40125         soversions.awk.
40126         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40127         oldest_abi to abi-versions.awk.
40128         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40129         * config.make.in (oldest-abi): Remove variable.
40130         * configure.ac (--enable-oldest-abi): Remove configure option.
40131         * configure: Regenerated.
40132         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40133         text.
40134         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40135         * scripts/soversions.awk: Do not handle default_setname variable.
40136         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40137         variable.
40138         * sysdeps/mach/hurd/configure: Regenerated.
40139         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40140         variable.
40141         * sysdeps/unix/sysv/linux/configure: Regenerated.
40143 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40145         * elf/Makefile (CFLAGS-interp.c): Remove.
40146         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40147         path string.
40148         * elf/interp.c: Include generated runtime-linker.h
40150         * Makerules (lib%.so): Don't include $(+interp) in
40151         prerequisites.
40152         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40153         * dlfcn/eval.c: Remove file.
40155         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40156         macros.
40158         [BZ #17266]
40159         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40160         4.2 and newer.
40162         [BZ #17370]
40163         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40165 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40166             Jakub Jelinek  <jakub@redhat.com>
40168         [BZ #17266]
40169         * libio/stdio.h: Check definition of __fortify_function
40170         instead of __extern_always_inline to include bits/stdio2.h.
40171         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40172         check if __extern_always_inline is defined.
40173         [__USE_MISC || __USE_XOPEN]: Likewise.
40174         [__USE_ISOC99] Likewise.
40175         * misc/sys/cdefs.h (__fortify_function): Define only if
40176         __extern_always_inline is defined.
40177         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40178         __extern_always_inline and __extern_inline only for g++-4.3
40179         and newer or a compatible gcc.
40181 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40183         [BZ #17371]
40184         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40185         last change to handle zero prefix length.
40187 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40189         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40190         _SC_REGEX_VERSION.
40192         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40193         _POSIX_RAW_SOCKETS.
40195 2014-09-13  Allan McRae  <allan@archlinux.org>
40197         * po/ru.po: Update Russian translation from translation project.
40199 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40201         * locale/programs/locale.c (show_locale_vars): Inline local function
40202         into its sole call site.  Clean up some style nits.
40203         (print_item): New function, broken out of ...
40204         (show_info): ... local function here.  Clean up style nits.
40206         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40207         out of ...
40208         (set_class_defaults): ... local function set_default here.
40209         Define set_default as a macro locally to pass constant parameters.
40210         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40211         rather than a shared local.
40213         * stdlib/rpmatch.c (try): New function, broken out of ...
40214         (rpmatch): ... local function here.  Also, prototypify definition.
40216 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40218         * scripts/soversions.awk: Do not handle configuration names.
40219         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40220         vendor and os variables to soversions.awk.
40221         * configure.ac: Do not modify gnu-* host_os.
40222         * configure: Regenerated
40223         * shlib-versions: Remove first column with configuration names.
40224         * nptl/shlib-versions: Likewise.
40225         * nptl_db/shlib-versions: Likewise.
40226         * sysdeps/hppa/shlib-versions: Likewise.
40227         * sysdeps/m68k/shlib-versions: Likewise.
40228         * sysdeps/mach/hurd/shlib-versions: Likewise.
40229         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40230         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40231         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40232         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40233         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40234         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40235         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40236         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40238         Likewise.
40239         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40240         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40241         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40242         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40243         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40244         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40245         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40246         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40249         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40251         Regenerated.
40252         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40254         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40256         * shlib-versions: Remove OS-specific entries.  Moved to files in
40257         sysdeps.
40258         * sysdeps/mach/hurd/shlib-versions: New file.
40259         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40261         * nptl/shlib-versions: Remove architecture-specific entries.
40262         Moved to files in sysdeps.
40263         * shlib-versions: Likewise.
40264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40265         file.
40266         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40267         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40268         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40269         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40271         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40272         (UDP_NO_CHECK6_RX): Likewise.
40274 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40276         * sysdeps/posix/sysconf.c (__sysconf): Spell
40277         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40279 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40281         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40282         loading.
40283         * iconv/Versions (__gconv_transliterate): Export for use from
40284         gconv modules.
40285         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40286         (struct __gconv_trans_data, __gconv_trans_fct,
40287         __gconv_trans_context_fct, __gconv_trans_query_fct,
40288         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40289         definitions.
40290         (struct __gconv_step_data): Remove __trans member.
40291         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40292         longer hidden.  Remove unused trans_data argument.
40293         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40294         (__gconv_translit_find): Remove declaration.
40295         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40296         prototype.
40297         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40298         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40299         trans_data argument.  Add hidden definition.
40300         (__gconv_translit_find): Remove.
40301         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40302         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40303         * iconv/skeleton.c: Remove transliteration initialization.
40304         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40305         __gconv_step_data initialization.
40306         * libio/iofwide.c (__libio_translit_): Remove.
40307         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40308         * wcsmbs/btowc.c (__btowc): Likewise.
40309         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40310         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40311         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40312         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40313         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40314         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40315         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40316         * wcsmbs/wctob.c (wctob): Likewise.
40318 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40320         [BZ #16194]
40321         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40322         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40323         register usage.
40324         * sysdeps/x86/Makefile: Adjust.
40326 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40327             Roland McGrath  <roland@hack.frob.com>
40329         * locale/weight.h: Add include guard.
40330         (findidx): Make static rather than auto; take new parameters
40331         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40332         * locale/weightwc.h: Likewise.
40333         * posix/fnmatch_loop.c
40334         (FCT): Change type of EXTRA from int32_t to wint_t.
40335         Don't include either header inside the function.
40336         Call FINDIDX rather than findidx, and pass new arguments.
40337         #undef FINDIDX at the end of the file.
40338         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40339         FINDIDX before including fnmatch_loop.c for the non-wide version.
40340         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40341         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40342         for the wide version.
40343         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40344         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40345         Pass new arguments to findidx.
40346         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40347         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40348         Don't #include it inside the function.  Pass new arguments to findidx.
40349         * posix/regex_internal.h
40350         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40351         (re_string_elem_size_at): Don't #include it inside the function.
40352         Pass new arguments to findidx.
40353         * string/strcoll_l.c: #include WEIGHT_H at top level.
40354         (get_next_seq): Don't #include it inside the function.
40355         Pass new arguments to findidx.
40356         (get_next_seq_nocache): Likewise.
40357         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40358         (STRXFRM): Don't #include it inside the function.
40359         Pass new arguments to findidx.
40361 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40363         [BZ #17344]
40364         * malloc/malloc.c (unlink): Turn asserts into a call to
40365         malloc_printerr.
40367 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40369         [BZ #17370]
40370         * libio/wfileops (do_ftell_wide): Free OUT.
40372 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40374         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40376 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40378         [BZ #17363]
40379         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40380         group if the current group is empty.
40382 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40384         * benchtests/bench-memset.c (test_main): Add more test from size
40385         from 32 to 512 bytes.
40386         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40387         Add POWER8 memset object.
40388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40389         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40390         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40391         implementation.
40392         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40393         Likewise.
40394         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40395         multiarch POWER8 memset optimization.
40396         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40397         POWER8 memset optimization.
40399         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40400         Remove bzero multiarch objects.
40401         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40402         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40403         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40404         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40405         Remove define.
40406         [__bzero]: Redefine to specific name.
40407         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40408         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40409         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40410         define.
40411         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40412         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40414 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40416         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40417         warnings into errors.
40419         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40420         __cxa_thread_atexit_impl prototype.
40422 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40424         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40425         Fix capitalization of error message.
40427 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40429         * sysdeps/mips/preconfigure: Modify ABI tests.
40431 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40433         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40435 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40436             Carlos O'Donell  <carlos@systemhalted.org>
40438         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40439         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40440         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40441         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40442         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40443         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40444         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40445         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40446         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40447         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40448         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40449         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40450         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40451         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40452         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40453         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40454         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40455         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40456         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40457         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40458         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40459         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40460         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40461         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40462         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40463         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40464         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40465         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40466         Deconditionalize the code that was previously under [RESET_PID].
40467         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40468         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40469         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40470         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40471         include sysdep.h.
40473 2014-09-08  Allan McRae  <allan@archlinux.org>
40475         * version.h (RELEASE): Set to "development".
40476         (VERSION): Set to "2.20.90"
40478 2014-09-07  Allan McRae  <allan@archlinux.org
40480         * version.h (RELEASE): Set to "stable".
40481         (VERSION): Set to "2.20"
40482         * include/features.h (__GLIBC_MINOR__): Set to 20.
40484         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40485         Liebler.
40487         * po/ko.po: Update Korean translation from translation project.
40489 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40491         [BZ #17354]
40492         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40493         macro for handling signed relocations.
40495 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40497         [BZ #17325]
40498         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40499         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40500         assert.
40501         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40502         * iconvdata/ibm935.c (BODY): Likewise.
40503         * iconvdata/ibm937.c (BODY): Likewise.
40504         * iconvdata/ibm939.c (BODY): Likewise.
40505         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40506         assert.
40507         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40508         script.
40509         * iconvdata/run-iconv-test.sh: New test loop for checking for
40510         decoder crashers.
40512 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40514         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40515         libm_hidden_ver.
40517 2014-09-01  Allan McRae  <allan@archlinux.org>
40519         * po/eo.po: Update Esperanto translation from translation project.
40521         * po/ca.po: Update Catalan translation from translation project.
40523 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40525         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40526         __proc_dostop call.
40528 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40530         [BZ #17319]
40531         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40532         to call set_thread_area instead of hand written asm.
40533         (__NR_set_thread_area): Removed define.
40534         (TLS_FLAG_WRITABLE): Likewise.
40535         (__ASSUME_SET_THREAD_AREA): Remove check.
40536         (TLS_EBX_ARG): Remove define.
40537         (TLS_LOAD_EBX): Likewise.
40539 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40541         Simplify atomicity of socket creation in bind.
40543         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40544         looking up the name after linking the file.
40546 2014-08-27  Allan McRae  <allan@archlinux.org>
40548         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40550 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40552         [BZ #17187]
40553         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40554         trans_compare, open_translit, __gconv_translit_find):
40555         Remove module loading code.
40557 2014-08-26  Allan McRae  <allan@archlinux.org>
40559         * po/vi.po: Update Vietnamese translation from translation project.
40561         * po/uk.po: Update Ukrainian translation from translation project.
40563         * po/fr.po: Update French translation from translation project.
40565         * po/ru.po: Update Russian translation from translation project.
40567         * po/pl.po: Update Polish translation from translation project.
40569         * po/cs.po: Update Czech translation from translation project.
40571         * po/de.po: Update German translation from translation project.
40573         * po/bg.po: Update Bulgarian translation from translation project.
40575         * po/sv.po: Update Sweedish translation from translation project.
40577         * po/nl.po: Update Dutch translation from translation project.
40579         * po/es.po: Update Spanish translation from translation project.
40581 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40583         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40585         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40586         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40587         (CPPFLAGS-iconvconfig): Likewise.
40588         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40590         * include/libc-symbols.h: Remove unnecessary check for
40591         NOT_IN_libc.
40592         * nptl/pthreadP.h: Likewise.
40593         * sysdeps/aarch64/setjmp.S: Likewise.
40594         * sysdeps/alpha/setjmp.S: Likewise.
40595         * sysdeps/arm/sysdep.h: Likewise.
40596         * sysdeps/i386/setjmp.S: Likewise.
40597         * sysdeps/m68k/setjmp.c: Likewise.
40598         * sysdeps/posix/getcwd.c: Likewise.
40599         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40600         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40601         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40602         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40603         * sysdeps/sh/sh3/setjmp.S: Likewise.
40604         * sysdeps/sh/sh4/setjmp.S: Likewise.
40605         * sysdeps/unix/alpha/sysdep.h: Likewise.
40606         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40607         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40608         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40609         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40612         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40613         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40614         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40615         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40616         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40617         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40618         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40619         * sysdeps/x86_64/setjmp.S: Likewise.
40621 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40623         [BZ #17263]
40624         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40625         <stdint.h>.
40626         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40627         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40629 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40631         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40633         [BZ #17262]
40634         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40635         and __x86_64__ when disabling x87 inline functions.
40637 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40639         [BZ #17259]
40640         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40641         asm statement with __cpuid_count.
40643 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40645         * configure.ac: Change __ehdr_start code to dereference the struct.
40646         Run readelf on the output to look for relocations.
40647         * configure: Regenerated.
40649 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40651         [BZ #17261]
40652         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40653         value to 0.
40654         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40656 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40658         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40660 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40662         [BZ #16892]
40663         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40664         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40666 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40668         * malloc/malloc.c: Fix typo in comment.
40670 2014-08-09  Allan McRae  <allan@archlinux.org>
40672         * Regenerate libc.po.
40674 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40676         * intl/tst-gettext2.sh: Check every lang file for creation.
40678 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40680         * sysdeps/aarch64/fpu/math_private.h
40681         (libc_feholdsetround_noex_aarch64_ctx): New function.
40683 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40685         * sysdeps/arm/armv6/strcpy.S (strcpy):
40686         Fix performance issue in misaligned cases.
40688 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40690         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40691         Move definition from termios.h.
40692         (struct termio): Likewise.
40693         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40694         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40695         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40696         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40697         Likewise.
40698         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40699         Move definition to ioctl-types.h
40700         (struct termio): Likewise.
40701         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40702         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40703         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40704         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40705         Likewise.
40707 2014-08-05  Richard Henderson  <rth@redhat.com>
40709         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40710         exceptions.
40711         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40712         Add fraiseexcpt.
40713         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40714         Use __feraiseexcept.
40715         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40716         Protect libm symbols with IS_IN_libm.
40718         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40720 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40722         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40724 2014-08-04  Will Newton  <will.newton@linaro.org>
40726         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40727         file.
40729 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40731         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40732         variants for each function.
40734 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40736         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40737         appended ...
40738         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40739         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40740         appended ...
40741         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40742         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40743         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40744         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40745         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40746         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40747         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40748         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40749         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40750         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40751         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40752         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40753         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40754         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40755         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40756         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40757         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40758         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40759         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40760         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40761         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40762         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40763         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40764         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40765         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40766         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40767         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40768         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40769         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40770         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40771         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40772         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40773         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40774         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40775         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40776         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40777         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40778         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40779         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40780         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40781         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40782         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40783         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40784         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40785         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40786         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40787         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40788         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40789         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40790         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40791         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40792         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40793         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40794         Update #include.
40795         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40796         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40798 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40800         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40801         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40802         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40803         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40804         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40805         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40807 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40809         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40810         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40811         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40812         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40814 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40816         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40817         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40818         (__libc_vfork): Define function under this name.
40819         (__vfork): Define as an alias.
40820         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40821         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40823 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40825         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40826         that was previously under [RESET_PID].
40827         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40829 2014-08-04  Andreas Schwab  <schwab@suse.de>
40831         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40833 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40835         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40836         (main): Likewise.
40838 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40840         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40842 2014-08-01  Richard Henderon  <rth@redhat.com>
40844         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40845         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40846         typo in exact zero test.
40847         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40848         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40849         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40851 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40853         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40854         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40855         * sysdeps/arm/sysdep.h: ... here.
40856         [!__ASSEMBLER__]: Include <stdint.h>.
40858 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40860         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40861         (HAVE_WCTYPE_H): Likewise.
40862         (HAVE_ISWCTYPE): Likewise.
40863         (ENABLE_NLS): Likewise.
40864         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40865         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40867         * posix/regex_internal.c: Check if DEBUG is defined and is
40868         set.
40870         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40871         (HAVE_MBSRTOWCS): Likewise.
40872         * posix/fnmatch.c: Include string.h unconditionally.
40874 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40876         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40877         reversal.
40879 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40881         * sysdeps/generic/safe-fatal.h: New file.
40882         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40883         * nptl/forward.c: Include it.
40884         (__pthread_unwind): Use __safe_fatal as default action, rather
40885         than a bogus use of INTERNAL_SYSCALL that could never work.
40887         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40888         * configure.ac (libc_cv_builtin_trap): New test.
40889         * configure: Regenerated.
40890         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40891         (ABORT_INSTRUCTION): Define using __builtin_trap.
40893         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40894         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40895         * sysdeps/nptl/nptl-signals.h: New file.
40896         * nptl/pthreadP.h: Include <nptl-signals.h>.
40898 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40900         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40901         (ONE_DIRECTION): Define.
40902         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40903         (ONE_DIRECTION): Define.
40904         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40905         (ONE_DIRECTION): Define.
40907 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40909         * sysdeps/s390/Makefile: Delete file.
40910         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40911         * sysdeps/s390/__longjmp.c: Delete file.
40912         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40913         Remove fields __flags and __reserved.
40914         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40915         and add versioning.
40916         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40917         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40918         * sysdeps/s390/rtld-setjmp.S: Likewise.
40919         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40920         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40921         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40922         * sysdeps/s390/s390-32/setjmp.S: ... here.
40923         Add versioning.
40924         (__sigsetjmp): Remove setting __flags field.
40925         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40926         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40927         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40928         * sysdeps/s390/s390-64/setjmp.S: ... here.
40929         Add versioning.
40930         (__sigsetjmp): Remove setting __flags field.
40931         * sysdeps/s390/setjmp.S: Delete file.
40932         * sysdeps/s390/sigjmp.c: Likewise.
40933         * sysdeps/s390/v1-longjmp.c: Likewise.
40934         * sysdeps/s390/v1-setjmp.h: Likewise.
40935         * sysdeps/s390/v1-sigjmp.c: Likewise.
40936         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40937         Remove v1-longjmp_chk.
40938         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40939         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40940         Include debug/longjmp_chk.c and add versioning.
40941         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40942         Include nptl/pt-longjmp.c and add versioning.
40943         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40944         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40945         Include __longjmp.c.
40946         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40947         Move to ...
40948         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40949         (__getcontext): Remove setting __flags field.
40950         Add versioning.
40951         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40952         Don't restore upper high grps.
40953         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40954         Likewise.
40955         (__swapcontext): Remove setting uc_flags field.
40956         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40957         Delete file.
40958         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40959         Include __longjmp.c.
40960         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40961         Move to ...
40962         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40963         (__getcontext): Remove setting __flags field.
40964         Add versioning.
40965         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40966         (__swapcontext): Remove setting uc_flags field.
40967         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40968         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40969         Remove fields uc_high_gprs and __reserved.
40970         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40971         New file with reverted content.
40972         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40973         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40974         Regenerated.
40975         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40976         Regenerated.
40978 2014-07-31  Andreas Schwab  <schwab@suse.de>
40980         * config.h.in (HAVE_IFUNC): Define to 0.
40981         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40982         definedness.
40984 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40987         memmove-avx-unaligned, memcpy-avx-unaligned and
40988         mempcpy-avx-unaligned.
40989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40990         Add tests for AVX memcpy functions.
40991         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
40992         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
40993         memcpy_chk.
40994         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
40995         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
40996         memmove_chk.
40997         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
40998         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
40999         mempcpy_chk.
41000         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41001         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41002         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41004 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41006         [BZ #17213]
41007         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41008         powerpc64le.
41010 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41012         [BZ #16839]
41013         * manual/llio.texi: Add section about open file description locks.
41014         * manual/examples/ofdlocks.c: Example of open file description
41015         lock usage.
41016         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41017         F_OFD_SETLK, and F_OFD_SETLKW.
41019 2014-07-23  Allan McRae  <allan@archlinux.org>
41021         * po/es.po: Update Spanish translation from translation project.
41023 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41025         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41027 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41029         [BZ #17078]
41030         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41031         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41032         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41034 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41036         [BZ #17088]
41037         * math/fesetenv.c (__fesetenv)
41038         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41039         * math/feupdateenv.c (__feupdateenv)
41040         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41042         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41043         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41044         (__ASSUME_SOCKETCALL): Do not define.
41046         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41047         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41048         (__ASSUME_SOCKETCALL): Do not define.
41049         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41050         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41051         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41052         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41053         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41054         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41055         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41056         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41058         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41059         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41060         (__ASSUME_SOCKETCALL): Do not define.
41061         (__ASSUME_IPC64): Define unconditionally.
41062         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41063         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41064         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41065         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41066         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41067         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41068         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41069         Likewise.
41071         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41072         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41073         (__ASSUME_SOCKETCALL): Do not define.
41074         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41075         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41076         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41077         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41078         (__ASSUME_REQUEUE_PI): Define unconditionally.
41079         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41080         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41081         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41082         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41083         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41084         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41086         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41087         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41088         (__ASSUME_SOCKETCALL): Do not define.
41089         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41090         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41091         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41092         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41093         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41094         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41096         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41097         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41098         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41099         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41100         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41101         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41102         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41103         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41104         (__ASSUME_GETCPU_SYSCALL): Likewise.
41106         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41107         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41108         cases for individual architectures.
41109         * sysdeps/gnu/configure: Regenerated.
41110         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41111         LIBC_SLIBDIR_RTLDDIR.
41112         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41113         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41114         LIBC_SLIBDIR_RTLDDIR.
41115         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41117         LIBC_SLIBDIR_RTLDDIR.
41118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41119         Regenerated.
41120         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41121         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41122         file.
41123         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41124         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41125         file.
41126         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41127         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41128         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41129         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41131         * sysdeps/aarch64/shlib-versions: Move to ...
41132         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41133         * sysdeps/alpha/shlib-versions: Move to ...
41134         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41135         * sysdeps/arm/shlib-versions: Move to ...
41136         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41137         * sysdeps/hppa/shlib-versions: Move all contents except for
41138         libgcc_s entry to ...
41139         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41140         entry from ...
41141         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41142         * sysdeps/ia64/shlib-versions: Move to ...
41143         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41144         entry from ...
41145         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41146         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41147         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41148         * sysdeps/microblaze/shlib-versions: Move to ...
41149         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41150         * sysdeps/mips/shlib-versions: Move to ...
41151         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41152         entry from ...
41153         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41154         * sysdeps/tile/shlib-versions: Move to ...
41155         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41156         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41157         from ...
41158         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41159         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41160         entry from ...
41161         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41163 2014-07-17  Will Newton  <will.newton@linaro.org>
41165         * sysdeps/arm/bits/atomic.h
41166         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41167         (__arch_compare_and_exchange_bool_16_int): Likewise.
41168         (__arch_compare_and_exchange_bool_64_int): Likewise.
41170         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41171         into an #else block.
41173 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41175         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41176         just Linux configurations.  Test empirically that the compiler sets
41177         __ARM_EABI__, rather than using the tuple to decide.
41178         * sysdeps/arm/preconfigure: Regenerated.
41179         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41180         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41181         contents appended ...
41182         * sysdeps/arm/configure.ac: ... here.
41183         * sysdeps/arm/configure: Regenerated.
41185 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41187         * nptl/pthread_kill.c: New file.
41188         * nptl/pthread_sigmask.c: New file.
41189         * nptl/pthread_sigqueue.c: New file.
41191         * sysdeps/nptl/lowlevellock.h: New file.
41192         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41193         * sysdeps/nptl/lowlevellock-futex.h: New file.
41195         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41196         Remove dead declarations.
41198 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41200         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41201         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41202         config-cflags-avx2.
41203         * sysdeps/x86_64/configure.ac: Likewise.
41204         * sysdeps/i386/configure: Regenerated.
41205         * sysdeps/x86_64/configure: Likewise.
41206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41207         memset-avx2 only if config-cflags-avx2 is yes.
41208         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41209         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41210         defined.
41211         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41212         only if HAVE_AVX2_SUPPORT is defined.
41213         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41215 2014-07-14  Alan Modra  <amodra@gmail.com>
41217         [BZ #17153]
41218         * elf/elf.h (DT_PPC64_NUM): Correct value.
41219         * NEWS: Add to fixed bug list.
41221 2014-07-13  Jim Meyering  <meyering@fb.com>
41223         [BZ 17150]
41224         regex: don't deref NULL upon heap allocation failure
41225         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41226         failure in one more place.
41227         To trigger the segfault, configure grep -with-included-regex,
41228         build it, and run these commands:
41229         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41231 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41233         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41235 2014-07-11  Richard Henderson  <rth@redhat.com>
41237         * sysdeps/aarch64/libm-test-ulps: Update.
41239 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41241         [BZ #17135]
41242         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41243         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41244         (__nptl_setxid): Initialize error member.  Call
41245         __nptl_setxid_error.
41246         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41247         * nptl/descr.h (struct xid_command): Add error member.
41248         * nptl/tst-setuid3.c: New file.
41249         * nptl/Makefile (tests): Add it.
41251 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41253         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41254         New define.
41255         (__lll_trylock): Use __lll_base_trylock.
41256         (__lll_cond_trylock): Likewise.
41258 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41260         * nptl/pthread_create.c (start_thread): Use atomic_or and
41261         lll_futex_wake directly rather than lll_robust_dead.
41262         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41263         (lll_robust_dead): Macro removed.
41264         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41265         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41266         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41267         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41268         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41269         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41270         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41271         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41272         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41273         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41274         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41275         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41276         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41277         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41278         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41280         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41281         Use atomic_compare_and_exchange_val_acq directly rather than
41282         lll_robust_trylock.
41283         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41284         (__lll_robust_trylock, lll_robust_trylock): Removed.
41285         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41286         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41287         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41288         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41289         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41290         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41291         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41292         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41293         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41294         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41295         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41296         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41297         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41298         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41300 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41302         * manual/locale.texi (Locale Names): New section documenting
41303         locale name syntax.  Adjust menu and node chaining accordingly.
41304         (Choosing Locale): Reference Locale Names, Locale Categories.
41305         Mention setting LC_ALL=C.  Reflect that name syntax is now
41306         documented.
41307         (Locale Categories): New section title.  Reference Locale Names.
41308         LC_ALL is an environment variable, but not a category.
41309         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41310         description, now in Locale Name.  Reference that section.  Locale
41311         name syntax is now documented.
41313 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41315         [BZ #17137]
41316         * locale/findlocale.c (name_present, valid_locale_name): New
41317         functions.
41318         (_nl_find_locale): Use the loc_name variable to store name
41319         candidates.  Call name_present and valid_locale_name to check and
41320         validate locale names.  Return an error if the locale is invalid.
41322 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41324         * locale/setlocale.c (setlocale): Use strdup for allocating
41325         composite name copy.
41327 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41329         Sync up with gnulib.
41330         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41331         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41332         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41333         and _GL_ARG_NONNULL.
41334         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41335         [!_LIBC]: Include code for Windows and Cygwin.
41336         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41337         Include prototype for int strerror_r.
41338         [!_LIBC] (is_open): New function.
41339         (flush_stdout): New function.
41340         (print_errno_message): Use it.
41341         (error): Likewise.
41342         (error_at_line): Likewise.
41343         (error_tail) Add function attribute macros.  Use
41344         __builtin_expect.
41346         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41348         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41350         * io/ftw.c: Include sys/param.h unconditionally.
41352         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41354         [BZ #17125]
41355         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41356         libc_freeres_ptr.
41357         (freecache): New function to free CACHE on exit.
41359         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41360         initialization.
41362 2014-07-09  David S. Miller  <davem@davemloft.net>
41364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41366         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41367         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41368         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41369         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41370         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41371         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41372         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41373         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41374         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41375         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41376         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41377         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41378         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41380 2014-07-09  Andreas Schwab  <schwab@suse.de>
41382         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41383         output.
41384         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41385         (do_test): Likewise.
41387         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41389 2014-07-09  Will Newton  <will.newton@linaro.org>
41391         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41392         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41393         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41394         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41395         * sysdeps/hppa/start.S (_start): Likewise.
41397 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41399         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41401         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41402         defined.
41404 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41406         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41407         after checking that it is non-NULL.
41409         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41411 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41413         * sysdeps/powerpc/memmove.c: Remove file.
41414         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41415         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41416         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41417         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41418         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41419         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41420         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41421         string memmove instead of removed powerpc one.
41423         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41424         [weak_alias]: Fix compiler warning due trailing data.
41425         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41426         [weak_alias]: Likewise.
41427         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41428         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41430         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41431         (__libc_ifunc_impl_list): Add memmove functions.
41433 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41435         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41436         Remove code.
41437         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41438         Likewise.
41439         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41440         Likewise.
41441         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41442         Likewise.
41443         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41444         Likewise.
41445         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41446         Likewise.
41447         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41448         Likewise.
41449         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41450         Likewise.
41451         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41452         Likewise.
41453         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41454         Likewise.
41455         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41456         Likewise.
41457         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41458         Likewise.
41459         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41460         Likewise.
41461         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41462         Likewise.
41463         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41464         Likewise.
41465         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41466         Likewise.
41467         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41468         Likewise.
41470 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41472         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41473         to avoid alignment traps in non-cacheable memory.
41474         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41477         multiarch objects.
41478         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41479         file: multiarch power7 memmove.
41480         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41481         multiarch default memmove.
41482         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41483         multiarch memove for powerpc32/power4.
41485         * string/bcopy.c: Use full path to include memmove.c.
41486         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41487         multiarch objects.
41488         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41489         bcopy for powerpc64.
41490         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41491         bcopy for powerpc64.
41492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41493         and memmove implementations.
41494         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41495         optimized multiarch memmove for POWER7/powerpc64.
41496         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41497         default multiarch memmove for powerpc64.
41498         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41499         multiarch for powerpc64.
41500         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41501         for POWER7/powerpc64.
41502         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41503         memmove for POWER7/powerpc64.
41505         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41506         glibc default one.
41508         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41509         __ELF_NATIVE_CLASS equal to 64.
41511 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41513         * sysdeps/nptl/lowlevellock.h: File removed.
41515         * NEWS: NPTL is no longer an add-on!
41516         * nptl/internaltypes.h: Moved ...
41517         * sysdeps/nptl/internaltypes.h: ... here.
41518         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41519         * sysdeps/nptl/fork.c: Likewise.
41520         * sysdeps/nptl/gai_misc.h: Likewise.
41521         * sysdeps/nptl/librt-cancellation.c: Likewise.
41522         * sysdeps/nptl/jmp-unwind.c: Likewise.
41523         * sysdeps/nptl/setxid.h: Likewise.
41524         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41525         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41526         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41527         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41528         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41529         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41530         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41531         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41532         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41533         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41534         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41535         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41536         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41537         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41538         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41539         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41540         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41541         * nptl/Makeconfig: Moved ...
41542         * sysdeps/nptl/Makeconfig: ... here.
41543         * nptl/configure: File removed.
41544         * nptl/ANNOUNCE: File removed.
41545         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41546         * sysdeps/unix/sysv/linux/configure: Regenerated.
41548         * nptl/Makefile (routines): Add libc_pthread_init,
41549         libc_multiple_threads, register-atfork and unregister-atfork.
41550         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41551         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41552         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41553         pthread-pi-defines.sym, structsem.sym.
41554         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41555         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41556         [$(subdir) = nptl] (tests): Add tst-setgetname.
41557         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41558         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41559         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41560         [!LIBC_SIGACTION]: Remove aliases.
41561         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41562         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41563         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41564         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41565         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41566         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41567         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41568         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41569         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41570         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41571         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41572         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41573         __libc_allocate_rtsig_private.
41574         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41575         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41576         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41577         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41578         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41579         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41580         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41581         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41582         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41583         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41584         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41585         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41586         * nptl/internaltypes.h: ... here.
41587         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41588         * sysdeps/nptl/jmp-unwind.c: ... here.
41589         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41590         * nptl/libc-lowlevellock.c: ... here.
41591         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41592         * nptl/libc_multiple_threads.c: ... here.
41593         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41594         * nptl/libc_pthread_init.c: ... here.
41595         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41596         * nptl/lowlevelbarrier.sym: ... here.
41597         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41598         * nptl/lowlevelcond.sym: ... here.
41599         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41600         * nptl/lowlevellock.c: ... here.
41601         * nptl/lowlevellock.h: Moved ...
41602         * sysdeps/nptl/lowlevellock.h: ... here.
41603         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41604         * nptl/lowlevelrobustlock.c: ... here.
41605         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41606         * nptl/lowlevelrobustlock.sym: ... here.
41607         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41608         * nptl/lowlevelrwlock.sym: ... here.
41609         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41610         * nptl/pt-fork.c: ... here.
41611         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41612         * nptl/pthread-pi-defines.sym: ... here.
41613         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41614         * nptl/pthread_attr_getaffinity.c: ... here.
41615         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41616         * nptl/pthread_attr_setaffinity.c: ... here.
41617         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41618         * nptl/pthread_mutex_cond_lock.c: ... here.
41619         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41620         Update #include.
41621         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41622         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41623         * nptl/pthread_once.c: ... here, replacing old file.
41624         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41625         * nptl/pthread_yield.c: ... here.
41626         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41627         * nptl/register-atfork.c: ... here.
41628         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41629         * nptl/sem_post.c: ... here.
41630         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41631         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41632         * nptl/sem_timedwait.c: ... here.
41633         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41634         * nptl/sem_trywait.c: ... here.
41635         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41636         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41637         * nptl/sem_wait.c: ... here.
41638         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41639         * nptl/structsem.sym: ... here.
41640         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41641         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41642         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41643         * nptl/unregister-atfork.c: ... here.
41644         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41645         * nptl/unwindbuf.sym: ... here.
41646         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41647         * sysdeps/nptl/fork.c: ... here.
41648         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41649         * sysdeps/nptl/fork.h: ... here.
41650         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41651         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41652         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41653         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41654         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41655         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41656         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41657         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41658         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41659         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41660         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41661         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41662         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41663         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41664         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41665         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41666         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41667         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41668         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41669         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41670         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41671         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41672         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41673         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41674         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41675         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41676         * sysdeps/unix/sysv/linux/raise.c: ... here.
41677         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41678         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41679         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41680         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41681         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41682         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41683         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41684         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41685         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41686         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41687         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41688         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41689         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41690         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41691         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41693 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41695         * sysdeps/generic/memcopy.h: Add comment for
41696         MEMCPY_OK_FOR_FWD_MEMMOVE.
41698 2014-07-04  Will Newton  <will.newton@linaro.org>
41700         * string/memchr.c: Merge from gnulib.
41701         [_LIBC]: Remove conditionals.
41702         (__ptr_t): Remove define.
41703         (LONG_MAX_32_BITS): Likewise.
41704         (LONG_MAX): Likewise.
41705         (MEMCHR): Use ANSI prototype and optimize algorithm.
41707         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41709 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41711         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41712         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41714         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41715         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41716         in a bare environment with no <stdlib.h> installed.
41717         * sysdeps/nptl/configure: Regenerated.
41719         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41721         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41722         AC_EGREP_CPP for kernel header checks, so they only succeed if
41723         including <linux/version.h> actually works right.
41724         * sysdeps/unix/sysv/linux/configure: Regenerated.
41726         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41727         value so it's not diagnosed as unused.
41729         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41730         thing) with "ifeq ($(subdir),rt)".
41732 2014-07-03  Richard Henderson  <rth@redhat.com>
41734         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41735         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41736         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41738         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41739         (math_force_eval): New.
41741         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41742         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41744         * sysdeps/alpha/fpu/s_round.c: Remove file.
41745         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41747         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41748         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41749         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41750         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41751         (_dl_start, print_statistics): Likewise.
41752         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41753         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41755         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41756         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41757         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41758         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41759         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41760         (HP_SMALL_TIMING_AVAIL): Define.
41761         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41762         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41763         (HP_SMALL_TIMING_AVAIL): Define.
41764         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41765         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41767         * sysdeps/aarch64/hp-timing.h: New file.
41769         * sysdeps/generic/hp-timing.h: Remove dead comment.
41770         * sysdeps/generic/hp-timing-common.h: New file.
41771         * sysdeps/alpha/hp-timing.h: Include it.
41772         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41773         * sysdeps/i386/i686/hp-timing.h: Likewise.
41774         * sysdeps/ia64/hp-timing.h: Likewise.
41775         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41776         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41777         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41778         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41779         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41780         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41781         (hp_timing_t): New.
41783         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41784         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41785         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41786         * elf/rtld.c (_dl_start_final): Likewise.
41787         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41788         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41789         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41790         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41791         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41792         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41793         (HP_TIMING_DIFF_INIT): Remove.
41794         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41795         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41796         (HP_TIMING_DIFF_INIT): Remove.
41797         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41798         * sysdeps/i386/i686/hp-timing.c: Remove file.
41799         * sysdeps/x86_64/hp-timing.c: Remove file.
41800         * sysdeps/ia64/hp-timing.c: Remove file.
41801         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41802         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41803         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41804         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41806         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41807         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41808         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41809         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41810         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41811         (HP_TIMING_ACCUM): Remove.
41812         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41813         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41814         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41816         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41817         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41818         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41819         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41820         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41821         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41822         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41823         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41825         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41827 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41829         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41831 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41833         Sync up with gettext.
41834         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41835         [_MSC_VER]: Include malloc.h
41836         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41837         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41838         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41839         TEMP_FAILURE_RETRY.  Cast return of alloca.
41840         [!_LIBC] Call gl_rwlock_init.
41841         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41843 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41845         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41846         before checking its value.
41848 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41850         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41852         * debug/memcpy_chk.c: Don't include pagecopy.h.
41853         * debug/mempcpy_chk.c: Likewise.
41854         * string/memcpy.c: Likewise.
41855         * string/memmove.c: Likewise.
41856         * sysdeps/powerpc/memmove.c: Likewise.
41857         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41858         definition of PAGE_COPY_FWD_MAYBE here...
41859         * sysdeps/generic/pagecopy.h: ... from here.
41860         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41862 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41863             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41865         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41867         optimizations.
41868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41869         (__libc_ifunc_impl_list): Likewise.
41870         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41871         multiarch strcat for PPC64.
41872         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41873         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41875 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41877         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41879 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41881         * intl/loadmsgcat.c: Remove declaration of
41882         get_sysdep_segment_value.
41883         (get_sysdep_segment_value): Use ISO C style.
41884         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41885         semicolon.  Fix typo and formatting in comment.
41886         (_nl_unload_domain): Use ISO C style.
41888         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41890 2014-07-02  Will Newton  <will.newton@linaro.org>
41892         * malloc/obstack.c: Merge from gnulib master.
41893         [HAVE_CONFIG_H]: Remove conditional code.
41894         [!_LIBC]: Include config.h.
41895         [!ELIDE_CODE]: Don't include inttypes.h, include
41896         stdint.h unconditionally.
41897         (print_and_abort): Mark as _Noreturn.
41898         (_obstack_allocated_p): Mark as __attribute_pure__.
41899         (obstack_free): Rename to __obstack_free.
41900         [!__attribute__]: Remove conditional code.
41901         * malloc/obstack.h: Merge from gnulib master.
41902         [__cplusplus]: Move conditional down.
41903         [!__attribute_pure__]: Define __attribute_pure__ here
41904         if it is not already defined.
41905         (_obstack_memory_used): Mark as __attribute_pure__.
41906         [!__obstack_free]: Define as obstack_free.
41907         [__GNUC__]: Remove check for ancient NeXT gcc.
41909 2014-07-02  Will Newton  <will.newton@linaro.org>
41910             Paul Eggert  <eggert@cs.ucla.edu>
41912         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41914 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41916         * resolv/gethnamaddr.c: Add comment warning that the file is
41917         not maintained.
41919 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41921         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41922         entries.
41924         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41925         entry for aio_cancel and aio_cancel64.
41926         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41927         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41928         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41929         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41930         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41931         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41932         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41933         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41934         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41935         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41936         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41937         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41938         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41940 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41942         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41943         * nptl/pthread_mutex_lock.c: Likewise.
41944         * nptl/pthread_mutex_timedlock.c: Likewise.
41945         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41947 2014-07-01  Richard henderson  <rth@redhat.com>
41949         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41950         (__isnan, __isnanl): Remove.
41951         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41953         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41955 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41957         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41959 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41961         * resolv/nss_dns/dns-host.c (getanswer_r)
41962         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41964 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41966         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41967         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41968         undefine.
41969         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41970         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41972 2014-07-01  Roland McGrath <roland@hack.frob.com>
41974         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41975         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41977         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41978         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41980         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41981         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41982         ... here.
41983         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41984         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41986         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41987         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41988         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41989         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41991         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
41992         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
41993         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
41994         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
41995         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
41996         Moved ...
41997         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
41998         ... here.
41999         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42000         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42001         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42002         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42003         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42004         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42005         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42006         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42007         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42008         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42009         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42010         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42011         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42012         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42013         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42014         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42015         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42016         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42017         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42018         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42019         ... here.
42020         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42021         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42022         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42023         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42024         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42025         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42026         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42027         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42029 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42031         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42032         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42033         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42034         Add sysdep.
42036 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42040 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42042         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42043         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42045         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42047         * sysdeps/arm/libm-test-ulps: Regenerated.
42049 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42050             Roland McGrath <roland@hack.frob.com>
42052         * test-skeleton.c (signal_handler): Kill the whole process group
42053         before killing the child individually.
42054         (main): Report any failure on `setpgid'.
42056 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42058         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42059         from _TLS_H to _ARM_NPTL_TLS_H.
42060         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42061         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42063 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42065         [BZ #16539]
42066         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42067         (__expm1l): Return argument unchanged when small but not
42068         subnormal.
42070         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42071         include macro name.
42072         (_FP_UNPACK_RAW_1_P): Likewise.
42073         (_FP_PACK_RAW_1): Likewise.
42074         (_FP_PACK_RAW_1_P): Likewise.
42075         (_FP_MUL_MEAT_1_wide): Likewise.
42076         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42077         (_FP_MUL_MEAT_1_hard): Likewise.
42078         (_FP_DIV_MEAT_1_imm): Likewise.
42079         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42080         (_FP_DIV_MEAT_1_udiv): Likewise.
42081         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42082         (_FP_UNPACK_RAW_2): Likewise.
42083         (_FP_UNPACK_RAW_2_P): Likewise.
42084         (_FP_PACK_RAW_2): Likewise.
42085         (_FP_PACK_RAW_2_P): Likewise.
42086         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42087         (_FP_MUL_MEAT_2_wide): Likewise.
42088         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42089         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42090         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42091         (_FP_MUL_MEAT_2_gmp): Likewise.
42092         (_FP_DIV_MEAT_2_udiv): Likewise.
42093         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42094         (_FP_FRAC_SRL_4): Likewise.
42095         (_FP_FRAC_SRST_4): Likewise.
42096         (_FP_FRAC_SRS_4): Likewise.
42097         (_FP_UNPACK_RAW_4): Likewise.
42098         (_FP_UNPACK_RAW_4_P): Likewise.
42099         (_FP_PACK_RAW_4): Likewise.
42100         (_FP_PACK_RAW_4_P): Likewise.
42101         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42102         (_FP_MUL_MEAT_4_wide): Likewise.
42103         (_FP_MUL_MEAT_4_gmp): Likewise.
42104         (umul_ppppmnnn): Likewise.
42105         (_FP_DIV_MEAT_4_udiv): Likewise.
42106         (__FP_FRAC_ADD_4): Likewise.
42107         (__FP_FRAC_SUB_3): Likewise.
42108         (__FP_FRAC_SUB_4): Likewise.
42109         (__FP_FRAC_DEC_3): Likewise.
42110         (__FP_FRAC_DEC_4): Likewise.
42111         (__FP_FRAC_ADDI_4): Likewise.
42112         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42113         (_FP_FRAC_SRL_8): Likewise.
42114         (_FP_FRAC_SRS_8): Likewise.
42116         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42117         include macro name.
42118         (FP_UNPACK_RAW_EP): Likewise.
42119         (FP_PACK_RAW_E): Likewise.
42120         (FP_PACK_RAW_EP): Likewise.
42121         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42122         (_FP_ISSIGNAN): Likewise.
42123         (_FP_ADD_INTERNAL): Likewise.
42124         (_FP_FMA): Likewise.
42125         (_FP_CMP): Likewise.
42126         (_FP_SQRT): Likewise.
42127         (_FP_TO_INT): Likewise.
42128         (_FP_FROM_INT): Likewise.
42129         (FP_EXTEND): Likewise.
42130         (_FP_DIV_MEAT_N_loop): Likewise.
42132 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42134         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42135         throughout.
42137 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42139         [BZ #17097]
42140         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42141         result with correct sign in case of exponents that produce
42142         overflow except for X very close to 1.
42144 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42146         mktime: merge #if/#ifdef usage from glibc
42147         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42148         as that works with both Glibc's and Gnulib's style.
42149         See thread starting at Siddhesh Poyarekar's bug report at:
42150         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42152 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42154         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42155         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42156         * sysdeps/tile/tilegx/memmove.c: Remove file.
42158 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42160         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42161         abi-name definition.
42162         * scripts/soversions.awk: Do not handle or generate ABI lines.
42163         * shlib-versions: Remove ABI entries.
42164         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42165         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42167 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42169         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42170         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42171         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42172         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42173         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42174         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42176         Moved ...
42177         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42178         ... here.
42179         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42180         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42182         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42184         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42186         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42188         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42190         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42192         Moved ...
42193         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42194         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42195         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42197         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42199         Moved ...
42200         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42201         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42202         Moved ...
42203         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42205         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42207         Moved ...
42208         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42209         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42210         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42211         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42212         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42213         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42214         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42215         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42216         Moved ...
42217         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42219         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42220         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42221         Moved ...
42222         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42223         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42224         Moved ...
42225         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42227         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42229         Moved ...
42230         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42231         ... here.
42232         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42233         Identical file removed.
42234         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42235         Moved ...
42236         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42237         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42238         Identical file removed.
42239         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42240         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42241         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42242         Moved ...
42243         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42244         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42245         Identical file removed.
42246         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42247         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42248         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42249         Identical file removed.
42250         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42251         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42252         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42253         Identical file removed.
42254         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42255         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42256         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42257         Identical file removed.
42258         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42259         Moved ...
42260         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42261         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42262         Identical file removed.
42263         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42264         Moved ...
42265         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42266         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42267         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42268         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42269         Identical file removed.
42270         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42271         Moved ...
42272         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42273         ... here.
42274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42275         Identical file removed.
42276         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42277         Moved ...
42278         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42279         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42280         Identical file removed.
42281         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42282         Moved ...
42283         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42284         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42285         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42286         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42287         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42288         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42289         Moved ...
42290         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42291         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42292         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42294         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42295         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42296         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42297         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42298         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42300 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42302         [BZ #17092]
42303         * nscd/nscd.c (monitor_child): Return exit status of child
42304         instead of return value from wait syscall.
42306 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42308         * configure.ac (libc_commonpagesize): Remove variable.
42309         (libc_relro_required): Likewise.
42310         (libc_cv_z_relro): Remove configure test.
42311         * configure: Regenerated.
42312         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42313         variable.
42314         (libc_relro_required): Likewise.
42315         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42316         (libc_relro_required): Likewise.
42317         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42318         (libc_relro_required): Likewise.
42319         * sysdeps/arm/preconfigure: Regenerated.
42320         * sysdeps/ia64/preconfigure: Remove file.
42321         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42322         variable.
42323         (libc_relro_required): Likewise.
42325         [BZ #16561]
42326         [BZ #16562]
42327         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42328         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42329         recompute overflowing results in original rounding mode.
42330         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42331         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42332         recompute overflowing results in original rounding mode.
42333         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42334         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42335         recompute overflowing results in original rounding mode.
42336         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42337         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42338         recompute overflowing results in original rounding mode.
42339         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42340         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42341         recompute overflowing results in original rounding mode.
42342         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42343         (libc_feholdsetround_ctx): New macro.
42344         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42345         * sysdeps/i386/fpu/libm-test-ulps: Update.
42346         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42348 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42350         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42351         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42352         corresponding .cpsetup call.
42354 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42356         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42357         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42358         * sysdeps/arm/Makefile [$(subdir) = csu]
42359         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42360         (static-only-routines): Add aeabi_read_tp here.
42361         (shared-only-routines): Add libc-aeabi_read_tp here.
42362         (CFLAGS-libc-start.c): Add -fexceptions here.
42363         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42364         (sysdep_routines, static-only-routines, shared-only-routines):
42365         Don't add to these here.
42366         (CFLAGS-libc-start.c): Likewise.
42368         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42369         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42370         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42371         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42372         * sysdeps/arm/Makefile [$(subdir) = rt]
42373         (librt-sysdep_routines, librt-shared-only-routines):
42374         Append rt-aeabi_unwind_cpp_pr1 here.
42375         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42376         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42377         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42378         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42379         Append nptl-aeabi_unwind_cpp_pr1 here.
42380         (tests): Filter out tst-cleanupx4 here.
42381         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42382         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42383         Don't do those here.
42385 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42387         * scripts/list-sources.sh: Do not handle ports specially.
42389 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42391         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42392         * sysdeps/arm/feupdateenv.c: Likewise.
42394         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42396 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42398         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42399         trailing whitespace removed.
42400         * scripts/config.guess: Update to version 2014-03-23.
42401         * scripts/config.sub: Update to version 2014-05-01
42402         * scripts/install-sh: Update to version 2013-12-25.23.
42403         * scripts/move-if-change: Update from gnulib.
42405 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42407         * debug/memmove_chk.c: Remove pagecopy.h include.
42409 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42411         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42412         identical to gnulib mktime.
42414 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42416         * configure.ac: Do not test for machine being rs6000.  Do not test
42417         for powerpc*-*soft.
42418         * configure: Regenerated.
42420         [BZ #11505]
42421         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42422         test.
42423         * configure: Regenerated.
42424         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42425         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42426         Remove configure test.
42427         * sysdeps/arm/configure: Regenerated.
42428         * sysdeps/nptl/configure.ac: Do not check
42429         libc_cv_asm_cfi_directives.
42430         * sysdeps/nptl/configure: Regenerated.
42431         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42432         * sysdeps/x86_64/nptl/configure: Remove generated file.
42433         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42434         unconditional.
42435         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42437 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42439         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42440         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42441         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42442         it is defined.
42444         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42445         instead of whether it is defined.
42446         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42447         * sysdeps/hppa/dl-machine.h: Likewise.
42448         * sysdeps/ia64/dl-machine.h: Likewise.
42449         * sysdeps/m68k/dl-machine.h: Likewise.
42450         * sysdeps/microblaze/dl-machine.h: Likewise.
42451         * sysdeps/mips/dl-machine.: Likewise.
42452         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42453         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42454         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42455         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42456         * sysdeps/sh/dl-machine.h: Likewise.
42457         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42458         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42459         * sysdeps/tile/dl-machine.h: Likewise.
42460         * sysdeps/x86_64/dl-machine.h: Likewise.
42462         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42463         code.
42464         (verify_persistent_db): Likewise.
42466 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42468         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42469         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42471         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42472         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42473         Moved ...
42474         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42475         ... here.
42476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42477         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42479         Identical file removed.
42480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42481         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42483         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42485         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42487         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42489         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42491         Moved ...
42492         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42494         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42496         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42497         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42498         Moved ...
42499         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42500         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42501         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42502         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42503         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42505         Identical file removed.
42506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42507         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42509         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42511         Moved ...
42512         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42513         ... here.
42514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42515         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42517         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42519         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42521         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42523         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42525         Moved ...
42526         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42528         Moved ...
42529         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42531         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42533         Moved ...
42534         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42536         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42538         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42539         folded into ...
42540         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42541         * sysdeps/unix/sysv/linux/s390/Versions
42542         (libpthread: GLIBC_2.19): New version set.
42543         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42544         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42545         (librt: GLIBC_2.3.3): New version set.
42546         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42547         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42548         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42549         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42550         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42551         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42552         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42553         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42554         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42555         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42556         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42557         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42558         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42559         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42560         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42561         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42562         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42563         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42564         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42565         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42566         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42567         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42568         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42569         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42570         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42571         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42572         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42573         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42574         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42575         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42576         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42577         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42578         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42579         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42580         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42582         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42583         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42584         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42585         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42586         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42588         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42589         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42590         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42592         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42593         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42594         (__libc_vfork): Define the function under this name.
42595         [!NOT_IN_libc] (__vfork): Make this an alias.
42596         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42597         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42598         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42599         (__libc_vfork): Define the function under this name.
42600         [!NOT_IN_libc] (__vfork): Make this an alias.
42601         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42602         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42603         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42605         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42606         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42608         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42609         code that was previously under [RESET_PID].
42610         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42611         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42612         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42614         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42615         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42616         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42617         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42618         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42619         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42620         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42621         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42622         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42623         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42624         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42625         Moved ...
42626         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42627         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42628         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42629         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42630         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42631         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42632         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42633         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42634         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42635         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42636         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42637         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42638         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42639         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42640         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42641         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42642         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42643         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42644         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42645         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42646         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42647         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42648         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42649         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42650         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42651         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42652         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42653         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42654         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42656 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42658         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42659         that was previously under [RESET_PID].
42660         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42662 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42664         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42665         not undefine and redefine.
42666         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42667         [O_CLOEXEC]: Make code unconditional.
42668         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42669         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42670         <kernel-features.h>.
42671         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42672         conditional variable definition.
42673         (shm_open) [O_CLOEXEC]: Make code unconditional.
42674         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42675         code.
42677         * configure.ac (USE_REGPARMS): Don't define here.
42678         * configure: Regenerated.
42679         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42680         * sysdeps/i386/configure: Regenerated.
42682         * nptl/createthread.c: Don't include kernel-features.h.
42683         * nptl/pthread_cancel.c: Likewise.
42684         * nptl/pthread_condattr_setclock.c: Likewise.
42685         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42686         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42687         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42688         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42689         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42690         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42691         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42694         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42695         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42696         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42697         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42698         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42699         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42700         * nscd/gai.c: Likewise.
42701         * nss/nss_db/db-open.c: Likewise.
42702         * sysdeps/generic/ldsodefs.h: Likewise.
42703         * sysdeps/sh/nptl/tls.h: Likewise.
42704         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42705         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42706         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42707         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42708         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42709         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42710         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42711         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42712         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42713         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42714         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42715         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42716         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42717         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42718         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42719         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42720         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42721         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42722         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42723         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42724         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42725         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42726         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42727         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42728         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42729         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42730         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42731         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42732         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42733         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42734         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42735         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42736         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42737         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42738         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42739         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42740         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42741         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42742         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42743         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42744         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42745         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42746         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42747         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42748         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42749         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42750         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42751         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42752         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42753         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42754         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42755         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42756         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42757         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42758         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42759         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42760         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42761         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42784         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42785         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42786         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42787         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42788         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42789         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42790         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42791         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42792         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42793         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42794         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42795         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42796         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42797         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42798         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42799         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42800         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42801         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42802         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42803         * sysdeps/unix/sysv/linux/system.c: Likewise.
42804         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42805         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42806         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42807         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42808         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42809         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42810         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42812         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42813         * configure: Regenerated.
42814         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42816         * configure.ac (base_machine): Do not set specially for particular
42817         machines here.
42818         * configure: Regenerated.
42819         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42820         settings from configure.ac.
42821         * sysdeps/i386/preconfigure: New file.
42822         * sysdeps/s390/preconfigure: Likewise.
42823         * sysdeps/sh/preconfigure: Likewise.
42824         * sysdeps/sparc/preconfigure: Likewise.
42826 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42828         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42829         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42830         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42831         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42832         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42833         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42834         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42835         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42836         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42837         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42838         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42839         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42840         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42841         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42842         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42843         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42844         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42845         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42846         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42848         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42849         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42850         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42851         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42852         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42853         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42854         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42855         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42856         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42857         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42858         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42859         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42860         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42861         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42862         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42863         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42864         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42865         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42866         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42867         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42868         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42869         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42870         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42871         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42872         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42873         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42874         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42875         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42876         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42877         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42878         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42879         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42880         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42881         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42882         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42883         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42884         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42885         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42888         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42890         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42892         Moved ...
42893         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42894         ... here.
42895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42896         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42898         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42900         Moved ...
42901         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42903         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42905         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42907         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42909         Moved ...
42910         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42912         Moved ...
42913         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42915         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42917         Moved ...
42918         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42920         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42922         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42923         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42924         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42926         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42928         Moved ...
42929         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42930         ... here.
42931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42932         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42934         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42936         Moved ...
42937         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42939         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42941         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42943         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42945         Moved ...
42946         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42948         Moved ...
42949         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42951         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42953         Moved ...
42954         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42956         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42958         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42960 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42962         * timezone/checktab.awk: Update from tzcode 2014e.
42963         * timezone/private.h: Likewise.
42964         * timezone/tzfile.h: Likewise.
42965         * timezone/zdump.c: Likewise.
42966         * timezone/zic.c: Likewise.
42968         * sysdeps/unix/sysv/linux/kernel-features.h
42969         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42970         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42971         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42972         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42973         Remove conditional code.
42975 2014-06-25  Will Newton  <will.newton@linaro.org>
42977         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42978         (_dl_arm_cap_flags): Add HWCAP2 values.
42979         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42980         (_DL_HWCAP_COUNT): Increase to 37.
42981         (_DL_HWCAP_LAST): New define.
42982         (_DL_HWCAP2_LAST): New define.
42983         (_dl_procinfo): Add support for printing
42984         AT_HWCAP2 entries.
42985         (_dl_string_hwcap): Use _dl_hwcap_string.
42987 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42991 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42993         * README: Do not mention ports directory.
42995         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
42996         Remove macro.
42997         * sysdeps/unix/sysv/linux/futimes.c: Do not include
42998         <kernel-features.h>.
42999         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43000         conditional variable definition.
43001         (__futimes): Update comment.
43002         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43003         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43005         [BZ #16560]
43006         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43007         arguments close to 0.
43008         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43009         Likewise.
43010         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43011         Likewise.
43012         * math/auto-libm-test-in: Add more tests of exp10.
43013         * math/auto-libm-test-out: Regenerated.
43014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43016         * sysdeps/unix/sysv/linux/kernel-features.h
43017         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43018         * sysdeps/unix/sysv/linux/readv.c: Do not include
43019         <kernel-features.h>.
43020         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43021         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43022         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43023         unconditional.
43024         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43025         conditional code.
43026         * sysdeps/unix/sysv/linux/writev.c: Do not include
43027         <kernel-features.h>.
43028         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43029         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43030         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43031         unconditional.
43032         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43033         conditional code.
43035 2014-06-25  Will Newton  <will.newton@linaro.org>
43037         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43038         comment changes throughout the file.  Remove checks
43039         for HAVE_*_H definitions that are not required.
43040         (__gen_tempname): Call abort if an unknown kind value is
43041         passed.
43043 2014-06-25  Andreas Schwab  <schwab@suse.de>
43045         [BZ #17086]
43046         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43047         scalbln, scalblnf, scalblnl in libc.
43049 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43051         [BZ #17086]
43052         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43053         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43054         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43056 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43058         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43059         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43060         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43061         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43062         Update #include.
43063         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43064         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43065         Update #include.
43066         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43067         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43068         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43069         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43070         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43071         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43072         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43073         * sysdeps/x86/bits/semaphore.h: ... here.
43074         * sysdeps/x86/nptl/elide.h: Moved ...
43075         * sysdeps/x86/elide.h: ... here.
43076         * sysdeps/x86_64/nptl/Implies: File removed.
43077         * sysdeps/i386/nptl/Implies: File removed.
43079 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43081         [BZ #16539]
43082         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43083         return the argument for normal arguments with exponent below -64.
43084         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43085         Likewise.
43086         * math/auto-libm-test-in: Add another test of expm1.
43087         * math/auto-libm-test-out: Regenerated.
43089         [BZ #16287]
43090         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43091         calling __erfcl for arguments at least 16.
43092         * math/auto-libm-test-in: Add more tests of erf.
43093         * math/auto-libm-test-out: Regenerated.
43095         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43096         individual architectures.
43097         * sysdeps/unix/sysv/linux/configure: Regenerated.
43098         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43099         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43100         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43101         (ldd_rewrite_script): Define variable.
43102         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43104         file.
43105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43106         generated file.
43107         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43108         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43109         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43110         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43111         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43112         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43113         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43114         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43116 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43118         [BZ #17084]
43119         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43120         Rename member __data.d to __data.__elision_data.
43122 2014-06-24  Wilco  <wdijkstr@arm.com>
43124         * NEWS: Add 16918 to fixed bug list.
43126 2014-06-24  Wilco  <wdijkstr@arm.com>
43128         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43130 2014-06-24  Wilco  <wdijkstr@arm.com>
43132         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43133         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43134         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43135         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43136         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43137         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43138         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43139         Use _FPU_MASK_RM.
43141 2014-06-24  Wilco  <wdijkstr@arm.com>
43143         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43145 2014-06-24  Wilco  <wdijkstr@arm.com>
43147         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43148         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43149         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43150         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43152 2014-06-24  Wilco  <wdijkstr@arm.com>
43154         [BZ #16918]
43155         * sysdeps/arm/feupdateenv.c (feupdateenv):
43156         Rewrite to reduce FPSCR accesses and fix return value.
43158 2014-06-24  Wilco  <wdijkstr@arm.com>
43160         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43161         Optimize to avoid unnecessary FPSCR writes.
43162         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43163         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43164         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43165         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43167 2014-06-24  Wilco  <wdijkstr@arm.com>
43169         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43170         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43171         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43172         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43173         Call libc_fetestexcept_vfp.
43174         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43175         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43176         __SOFTFP__ ifdef so that they can be built for softfp.
43178 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43180         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43181         argument type signed char.
43183         * Makerules (check-abi): Dump diff of symlist if the test
43184         fails.
43186 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43188         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43189         using abort.
43191         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43192         Remove unused variable ST.
43194 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43196         [BZ #16354]
43197         [BZ #17061]
43198         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43199         small arguments before calling __expm1.
43200         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43201         small arguments before calling __expm1f.
43202         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43203         small arguments before calling __expm1l.
43204         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43205         Likewise.
43206         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43207         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43208         spurious underflow for some cosh tests.
43209         * math/auto-libm-test-out: Regenerated.
43210         * sysdeps/i386/fpu/libm-test-ulps: Update.
43212         [BZ #17050]
43213         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43214         (__ieee754_y1): Set errno if return value overflows.
43215         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43216         (__ieee754_y1f): Set errno if return value overflows.
43217         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43218         (__ieee754_y1l): Set errno if return value overflows.
43219         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43220         (__ieee754_y1l): Set errno if return value overflows.
43221         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43222         * math/auto-libm-test-out: Regenerated.
43224         * math/gen-auto-libm-tests.c: Document use of
43225         ignore-zero-inf-sign.
43226         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43227         (input_flags): Add ignore-zero-inf-sign.
43228         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43229         * math/gen-libm-test.pl (generate_testfile): Handle
43230         ignore-zero-inf-sign.
43231         * math/auto-libm-test-in: Mark some cpow tests with
43232         ignore-zero-inf-sign and some with xfail-rounding.
43233         * math/auto-libm-test-out: Regenerated.
43234         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43235         * sysdeps/i386/fpu/libm-test-ulps: Update.
43236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43238         [BZ #16315]
43239         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43240         overflowing or underflowing operations take place with sign of
43241         result.
43242         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43243         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43244         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43245         (__ieee754_pow): Recompute overflowing and underflowing results in
43246         original rounding mode.
43247         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43248         (__powl_helper): Allow negative argument X and scale negated value
43249         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43250         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43251         overflowing or underflowing operations take place with sign of
43252         result.
43253         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43254         Include <math.h>.
43255         * math/auto-libm-test-in: Add more tests of pow.
43256         * math/auto-libm-test-out: Regenerated.
43257         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43258         (pow_tonearest_test_data): Remove.
43259         (pow_test_tonearest): Likewise.
43260         (pow_towardzero_test_data): Likewise.
43261         (pow_test_towardzero): Likewise.
43262         (pow_downward_test_data): Likewise.
43263         (pow_test_downward): Likewise.
43264         (pow_upward_test_data): Likewise.
43265         (pow_test_upward): Likewise.
43266         (main): Don't call removed functions.
43267         * sysdeps/i386/fpu/libm-test-ulps: Update.
43268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43270 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43273         Moved ...
43274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43276         Moved ...
43277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43279         Moved ...
43280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43282         Moved ...
43283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43285         File removed.
43286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43287         File removed.
43288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43289         File removed.
43290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43291         File removed.
43292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43293         File removed.
43294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43295         File removed.
43296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43297         File removed.
43298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43299         File removed.
43300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43301         File removed.
43302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43303         File removed.
43304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43305         File removed.
43306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43307         File removed.
43308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43309         Moved ...
43310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43312         Moved ...
43313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43314         ... here.
43315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43316         Moved ...
43317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43319         Moved ...
43320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43322         Moved ...
43323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43325         Moved ...
43326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43328         Moved ...
43329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43331         Moved ...
43332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43334         Moved ...
43335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43338         ... here.
43339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43340         Moved ...
43341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43343         Moved ...
43344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43345         ... here.
43346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43347         Moved ...
43348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43349         ... here.
43350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43351         Moved ...
43352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43353         ... here.
43354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43355         Moved ...
43356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43358         Moved ...
43359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43363         Moved ...
43364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43365         ... here.
43366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43367         Moved ...
43368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43369         ... here.
43370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43371         Moved ...
43372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43374         Moved ...
43375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43377         Moved ...
43378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43380         Moved ...
43381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43383         Moved ...
43384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43385         ... here.
43386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43387         Moved ...
43388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43390         Moved ...
43391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43393         Moved ...
43394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43396         Moved ...
43397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43401         Moved ...
43402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43404         Moved ...
43405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43407         Moved ...
43408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43409         ... here.
43410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43411         Moved ...
43412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43413         ... here.
43414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43415         Moved ...
43416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43417         ... here.
43418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43419         Moved ...
43420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43422         Moved ...
43423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43425         Moved ...
43426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43428         Moved ...
43429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43430         ... here.
43431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43432         Moved ...
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43434         ... here.
43435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43436         Moved ...
43437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43438         ... here.
43439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43440         Moved ...
43441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43443         Moved ...
43444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43446 2014-06-23  Will Newton  <will.newton@linaro.org>
43447             Wilco  <wdijkstr@arm.com>
43449         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43450         implementation.  Include get-rounding-mode.h.
43451         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43452         [!libc_feholdsetround_noex_ctx]: Define
43453         libc_feholdsetround_noex_ctx.
43454         [!libc_feholdsetround_noexf_ctx]: Define
43455         libc_feholdsetround_noexf_ctx.
43456         [!libc_feholdsetround_noexl_ctx]: Define
43457         libc_feholdsetround_noexl_ctx.
43458         (libc_feholdsetround_ctx): New function.
43459         (libc_feresetround_ctx): New function.
43460         (libc_feholdsetround_noex_ctx): New function.
43461         (libc_feresetround_noex_ctx): New function.
43463 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43465         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43466         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43467         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43468         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43469         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43470         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43472         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43473         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43474         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43475         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43476         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43477         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43478         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43479         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43480         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43481         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43482         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43483         Moved ...
43484         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43485         ... here.
43486         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43487         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43488         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43489         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43490         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43491         Moved ...
43492         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43493         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43494         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43495         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43496         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43497         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43498         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43499         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43500         Moved ...
43501         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43502         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43503         Moved ...
43504         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43505         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43506         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43507         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43508         Moved ...
43509         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43510         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43511         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43512         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43513         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43514         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43515         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43516         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43517         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43518         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43519         Moved ...
43520         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43521         ... here.
43522         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43523         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43524         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43525         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43526         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43527         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43528         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43529         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43530         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43531         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43532         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43533         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43534         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43535         Moved ...
43536         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43537         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43538         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43539         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43540         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43541         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43542         Moved ...
43543         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43544         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43545         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43546         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43547         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43549         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43550         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43551         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43552         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43553         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43554         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43555         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43556         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43558         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43559         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43560         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43561         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43562         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43563         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43564         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43565         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43566         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43567         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43568         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43569         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43570         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43571         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43572         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43573         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43574         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43575         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43576         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43578 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43580         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43581         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43582         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43583         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43584         (IPV6_PMTUDISC_INTERFACE): Likewise.
43585         (IPV6_PMTUDISC_OMIT): Likewise.
43587 2014-06-23  Andreas Schwab  <schwab@suse.de>
43589         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43590         Remove unused errout label.
43592 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43594         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43595         macro: hardware supports Vector Crypto instructions.
43597 2014-06-23  Will Newton  <will.newton@linaro.org>
43599         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43600         rather than __builtin_expect.
43602         * elf/dl-lookup.c (undefined_msg): Remove variable.
43603         (_dl_lookup_symbol_x): Replace undefined_msg with string
43604         literal.
43606         * elf/dl-lookup.c (do_lookup_unique): New function.
43607         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43608         to a separate function.
43610 2014-06-23  Andreas Schwab  <schwab@suse.de>
43612         [BZ #17079]
43613         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43614         before reading the next line.
43616 2014-06-23  Will Newton  <will.newton@linaro.org>
43618         * test-skeleton.c (signal_handler): Use printf and %m
43619         rather than perror.  Use printf rather than fprintf to
43620         stderr.  Use puts rather than fputs to stderr.
43621         (main): Likewise.
43623 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43625         * nscd/nscd.c (thread_info_t): Remove typedef.
43626         (thread_info): Remove variable.
43628 2014-06-21  Allan McRae  <allan@archlinux.org>
43630         * NEWS: Mention CVE-2014-4043.
43632 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43634         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43635         * nptl/smp.h: ... here.
43637         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43639         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43640         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43641         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43642         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43644         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43645         * nptl/stack-aliasing.h: New file.
43646         * sysdeps/i386/i686/stack-aliasing.h: New file.
43647         * sysdeps/i386/i686/nptl/Makefile: File removed.
43648         * sysdeps/x86_64/stack-aliasing.h: New file.
43649         * sysdeps/x86_64/nptl/Makefile
43650         (CFLAGS-pthread_create.c): Variable removed.
43652         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43653         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43654         old file.
43655         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43656         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43657         old file.
43659 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43661         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43662         (__ASSUME_SIGFRAME_V2): Remove macro.
43663         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43664         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43665         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43666         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43667         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43668         Declare as function.  Remove conditional macro definitions.
43669         (__default_rt_sa_restorer): Likewise.
43670         (__default_sa_restorer_v1): Remove declaration.
43671         (__default_sa_restorer_v2): Likewise.
43672         (__default_rt_sa_restorer_v1): Likewise.
43673         (__default_rt_sa_restorer_v2): Likewise.
43674         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43675         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43676         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43678 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43680         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43681         (libpthread-routines): Add sysdep.
43682         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43683         * sysdeps/unix/sysv/linux/sparc/Versions
43684         (libpthread: GLIBC_2.3.3): New version set.
43685         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43686         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43687         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43688         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43689         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43690         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43691         Moved ...
43692         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43693         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43694         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43695         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43696         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43697         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43698         * sysdeps/sparc/nptl/sem_init.c: ... here.
43699         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43700         * sysdeps/sparc/nptl/sem_post.c: ... here.
43701         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43702         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43703         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43704         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43705         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43706         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43707         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43708         (libpthread-routines): Add cpu_relax.
43709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43710         File removed.
43711         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43712         (librt: GLIBC_2.3.3): New version set.
43713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43714         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43715         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43716         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43718         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43719         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43720         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43721         Moved ...
43722         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43724         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43726         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43728         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43729         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43730         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43732         Moved ...
43733         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43734         Update #include.
43735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43736         Moved ...
43737         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43738         Update #include.
43739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43740         Moved ...
43741         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43742         Update #include.
43743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43744         Moved ...
43745         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43746         Update #include.
43747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43748         Moved ...
43749         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43750         Update #include.
43751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43752         Moved ...
43753         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43754         Update #include.
43755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43756         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43760         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43762         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43764         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43766         Moved ...
43767         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43769         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43771         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43773 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43775         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43776         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43777         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43778         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43779         * nscd/nscd.c: Likewise.
43780         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43781         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43782         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43783         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43785         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43786         <kernel-features.h>.
43787         (init_mq_netlink): Remove conditional have_sock_cloexec
43788         definitions.  Remove code conditional on have_sock_cloexec < 0.
43789         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43790         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43791         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43792         <kernel-features.h>.
43793         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43794         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43796 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43798         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43799         Add tests for memset_chk and memset.
43801         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43802         with AVX2_Usable.
43804 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43806         [BZ #16046]
43807         * elf/tst-dl-iter-static.c: New file.
43808         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43810         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43811         error.
43813 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43815         * sysdeps/unix/sysv/linux/kernel-features.h
43816         (__ASSUME_F_GETOWN_EX): Remove macro.
43817         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43818         <kernel-features.h>.
43819         (miss_F_GETOWN_EX): Remove variable or macro.
43820         (do_fcntl): Do not check miss_F_GETOWN_EX.
43821         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43823         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43824         Remove macro.
43825         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43826         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43827         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43829         * sysdeps/unix/sysv/linux/kernel-features.h
43830         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43831         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43832         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43833         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43835 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43837         [BZ #17075]
43838         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43839         Fix calculation of the symbol's value.
43840         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43841         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43842         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43843         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43844         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43845         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43846         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43847         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43848         (modules-names): Add `tst-armtlsdescmod',
43849         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43850         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43851         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43852         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43853         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43854         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43855         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43856         ($(objpfx)tst-armtlsdescloc): New dependency.
43857         ($(objpfx)tst-armtlsdescextnow): Likewise.
43858         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43859         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43860         TLS scheme support.
43861         * sysdeps/arm/configure: Regenerate.
43863 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43865         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43866         (__atfct_seterrno_2): Likewise.
43867         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43868         <kernel-features.h>.
43869         (__ASSUME_ATFCTS): Do not undefine and redefine.
43870         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43871         (__have_atfcts): Remove conditional definition.
43872         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43873         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43874         unreachable if [__ASSUME_ATFCTS].
43875         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43876         not undefine and redefine.
43877         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43878         <kernel-features.h>.
43879         (faccessat) [__NR_faccessat]: Make code unconditional.
43880         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43881         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43882         <kernel-features.h>.
43883         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43884         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43885         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43886         <kernel-features.h>.
43887         (fchownat) [__NR_fchownat]: Make code unconditional.
43888         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43889         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43890         <kernel-features.h>.
43891         (futimesat) [__NR_futimesat]: Make code unconditional.
43892         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43893         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43894         <kernel-features.h>.
43895         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43896         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43897         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43898         <kernel-features.h>.
43899         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43900         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43901         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43902         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43903         <kernel-features.h>.
43904         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43905         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43906         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43907         <kernel-features.h>.
43908         (linkat) [__NR_linkat]: Make code unconditional.
43909         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43910         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43911         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43912         <kernel-features.h>.
43913         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43914         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43915         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43916         <kernel-features.h>.
43917         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43918         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43919         * sysdeps/unix/sysv/linux/openat.c: Do not include
43920         <kernel-features.h>.
43921         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43922         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43923         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43924         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43925         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43926         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43927         <kernel-features.h>.
43928         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43929         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43930         result of INLINE_SYSCALL directly, not via int variable.
43931         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43932         <kernel-features.h>.
43933         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43934         (renameat) [__NR_renameat]: Make code unconditional.
43935         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43936         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43937         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43938         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43939         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43940         (__ASSUME_ATFCTS): Do not undefine and redefine.
43941         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43942         <kernel-features.h>.
43943         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43944         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43945         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43946         <kernel-features.h>.
43947         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43948         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43949         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43950         (__ASSUME_ATFCTS): Do not undefine and redefine.
43951         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43952         <kernel-features.h>.
43953         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43954         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43955         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43956         <kernel-features.h>.
43957         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43958         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43960 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43962         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43964 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43966         [BZ #17069]
43967         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43968         constructed tree before returning error.
43969         * posix/bug-regexp36.c: Expand test case.
43971 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43973         [BZ #6803]
43974         * math/libm-test.inc (scalbln_test_date):
43975         Add errno expectations.
43976         * math/w_scalblnf.c: New File.
43977         Add wrapper which checks for setting errno to ERANGE.
43978         Add weak_alias for corresponding scalbln function.
43979         * math/w_scalbln.c: Likewise.
43980         * math/w_scalblnl.c: Likewise.
43981         * math/Makefile (libm-calls): Add w_scalbln.
43982         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43983         Remove weak_alias for corresponding scalbln function.
43984         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43985         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43986         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43987         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43988         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43989         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43990         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
43991         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43992         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
43993         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
43994         Remove long_double_symbol for scalblnl function in libm, libc.
43995         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
43996         Add wrapper which checks for setting errno to ERANGE.
43997         Add long_double_symbol for scalblnl function in libm, libc.
43998         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
43999         Remove long_double_symbol for scalblnl in libm.
44000         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44001         Add wrapper which checks for setting errno to ERANGE.
44002         Add long_double_symbol for scalblnl function in libm.
44003         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44004         Do not use wrapper because of own implementation.
44006 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44008         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44009         3 bytes for __pad1 for x32.
44010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44012 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44013             H.J. Lu  <hongjiu.lu@intel.com>
44015         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44016         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44017         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44018         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44019         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44021 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44023         [BZ #17069]
44024         * posix/regcomp.c (parse_expression): Deallocate partially
44025         constructed tree before returning error.
44026         * posix/Makefile.c (tests): Add bug-regex36.
44027         (generated): Add bug-regex36.mtrace.
44028         (tests-special): Add $(objpfx)bug-regex36-mem.out
44029         (bug-regex36-ENV): New variable.
44030         ($(objpfx)bug-regex36-mem.out): New rule.
44031         * posix/bug-regex36.c: New file.
44033 2014-06-19  Will Newton  <will.newton@linaro.org>
44035         * malloc/malloc.c (systrim): If extra is zero then return
44036         early.
44038 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44040         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44042 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44044         * sysdeps/aarch64/strchr.S: New file.
44046 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44048         [BZ #17022]
44049         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44050         from arguments -2 or below.
44051         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44052         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44054 2014-06-18  Andreas Schwab  <schwab@suse.de>
44056         [BZ #17062]
44057         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44058         of a bracket expr not to run off the end of the string.
44059         * posix/Makefile (tests): Add tst-fnmatch3.
44060         * posix/tst-fnmatch3.c: New file.
44062 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44064         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44065         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44066         [$(cross-compiling) = no]: Likewise.
44067         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44068         [$(cross-compiling) = no]: Likewise.
44070 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44072         [BZ #17031]
44073         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44074         double, adjusted for any remainder from the high double.
44075         * math/libm-test.inc (nearbyint): Add tests.
44076         (rint): Likewise.
44078 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44080         * nptl/sysdeps/powerpc/Makefile: Moved ...
44081         * sysdeps/powerpc/nptl/Makefile: ... here.
44082         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44083         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44084         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44085         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44086         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44087         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44088         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44089         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44090         * nptl/sysdeps/powerpc/tls.h: Moved ...
44091         * sysdeps/powerpc/nptl/tls.h: ... here.
44093 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44095         [BZ #16681]
44096         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44097         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44098         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44099         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44100         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44101         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44102         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44103         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44104         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44106 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44108         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44110 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44112         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44113         defined operator.
44115         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44116         $TIMEOUTFACTOR.
44118 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44120         [BZ #17058]
44121         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44122         non-executed part of the test.
44124 2014-06-16  Andreas Schwab  <schwab@suse.de>
44126         * string/bits/string2.h (strdup, strndup): Update feature guard.
44128 2014-06-14  David S. Miller  <davem@davemloft.net>
44130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44132 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44134         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44135         that was previously under [RESET_PID].
44136         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44138         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44139         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44140         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44141         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44142         (__libc_vfork): New strong alias.
44143         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44145 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44147         * sysdeps/generic/elide.h: New file.
44149 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44151         * Makefile (installed-headers): Adjust path of pthread.h header.
44153 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44155         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44156         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44157         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44158         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44160         * nptl/sysdeps/s390/Makefile: Moved ...
44161         * sysdeps/s390/nptl/Makefile: ... here.
44162         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44163         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44164         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44165         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44166         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44167         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44168         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44169         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44170         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44171         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44172         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44173         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44174         * nptl/sysdeps/s390/tls.h: Moved ...
44175         * sysdeps/s390/nptl/tls.h: ... here.
44177         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44178         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44180 2014-06-13  David S. Miller  <davem@davemloft.net>
44182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44185         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44189         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44190         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44191         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44192         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44193         Remove RESET_PID cpp guards.
44194         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44195         Remove RESET_PID cpp guards.
44196         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44198 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44200         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44201         __sp to uintptr_t.
44203 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44205         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44206         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44207         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44208         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44209         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44210         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44211         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44212         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44213         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44214         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44215         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44216         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44217         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44218         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44219         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44220         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44221         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44222         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44223         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44224         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44226         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44227         (pthread_rwlock_rdlock): Add elision.
44228         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44229         (pthread_rwlock_wrlock): Add elision.
44230         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44231         (pthread_rwlock_trywrlock): Add elision.
44232         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44233         (pthread_rwlock_tryrdlock): Add elision.
44234         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44235         (pthread_rwlock_tryrdlock): Add elision unlock.
44236         * nptl/sysdeps/pthread/pthread.h:
44237         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44238         (PTHREAD_RWLOCK_INITIALIZER,
44239         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44240         Handle new elision field.
44241         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44242         * sysdeps/arm/nptl/bits/pthreadtypes.h
44243         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44244         * sysdeps/sh/nptl/bits/pthreadtypes.h
44245         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44246         * sysdeps/tile/nptl/bits/pthreadtypes.h
44247         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44248         * sysdeps/a/nptl/bits/pthreadtypes.h
44249         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44250         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44251         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44252         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44253         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44254         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44255         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44256         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44257         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44258         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44259         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44260         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44261         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44262         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44264         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44265         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44266         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44267         (elision_init): Set try_xbegin to zero when no RTM.
44268         * sysdeps/x86/nptl/bits/pthreadtypes.h
44269         (pthread_rwlock_t): Change __pad1 to __rwelision.
44270         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44272 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44274         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44275         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44276         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44277         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44279 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44281         [BZ #16996]
44282         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44283         that the cached result has been set before returning it.
44285 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44287         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44288         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44289         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44290         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44291         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44292         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44294         * nptl/sysdeps/sparc/Makefile: Moved ...
44295         * sysdeps/sparc/nptl/Makefile: ... here.
44296         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44297         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44298         * nptl/sysdeps/sparc/tls.h: Moved ...
44299         * sysdeps/sparc/nptl/tls.h: ... here.
44300         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44301         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44302         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44303         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44304         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44305         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44306         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44307         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44308         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44309         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44310         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44311         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44312         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44313         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44314         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44315         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44316         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44317         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44318         Update #include.
44319         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44320         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44321         Update #include.
44322         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44323         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44324         Update #include.
44325         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44326         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44327         Update #include.
44329         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44331         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44332         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44334         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44335         (struct list_links): Type removed.
44336         (struct thread_node, struct timer_node): Replace struct list_links
44337         with struct list_head.
44338         (list_unlink_ip): Likewise.
44339         * sysdeps/pthread/timer_routines.c
44340         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44341         (list_append, list_insbefore): Likewise.
44342         (list_init): Function removed.
44343         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44344         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44345         * sysdeps/pthread/Makefile: ... here, new file.
44347         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44348         * sysdeps/nptl/Implies: ... here.
44349         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44350         * nptl/sysdeps/pthread/list.h: Moved ...
44351         * include/list.h: ... here.
44352         * nptl/sysdeps/pthread/createthread.c: Moved ...
44353         * nptl/createthread.c: ... here.
44354         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44355         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44356         * nptl/pt-longjmp.c: ... here.
44357         * nptl/sysdeps/pthread/Makefile: Moved ...
44358         * sysdeps/nptl/Makefile: ... here.
44359         * nptl/sysdeps/pthread/Subdirs: Moved ...
44360         * sysdeps/nptl/Subdirs: ... here.
44361         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44362         * sysdeps/nptl/aio_misc.h: ... here.
44363         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44364         * sysdeps/nptl/bits/libc-lock.h: ... here.
44365         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44366         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44367         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44368         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44369         * nptl/sysdeps/pthread/configure: Moved ...
44370         * sysdeps/nptl/configure: ... here.
44371         * nptl/sysdeps/pthread/configure.ac: Moved ...
44372         * sysdeps/nptl/configure.ac: ... here.
44373         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44374         * sysdeps/nptl/gai_misc.h: ... here.
44375         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44376         * sysdeps/nptl/librt-cancellation.c: ... here.
44377         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44378         * sysdeps/nptl/malloc-machine.h: ... here.
44379         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44380         * sysdeps/nptl/pthread-functions.h: ... here.
44381         * nptl/sysdeps/pthread/pthread.h: Moved ...
44382         * sysdeps/nptl/pthread.h: ... here.
44383         * nptl/sysdeps/pthread/setxid.h: Moved ...
44384         * sysdeps/nptl/setxid.h: ... here.
44385         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44386         * sysdeps/nptl/sigfillset.c: ... here.
44387         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44388         * sysdeps/nptl/tcb-offsets.h: ... here.
44389         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44390         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44391         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44392         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44393         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44394         * sysdeps/pthread/allocalim.h: ... here.
44395         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44396         * sysdeps/pthread/bits/sigthread.h: ... here.
44397         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44398         * sysdeps/pthread/flockfile.c: ... here.
44399         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44400         * sysdeps/pthread/ftrylockfile.c: ... here.
44401         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44402         * sysdeps/pthread/funlockfile.c: ... here.
44403         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44404         * sysdeps/pthread/posix-timer.h: ... here.
44405         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44406         * sysdeps/pthread/timer_create.c: ... here.
44407         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44408         * sysdeps/pthread/timer_delete.c: ... here.
44409         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44410         * sysdeps/pthread/timer_getoverr.c: ... here.
44411         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44412         * sysdeps/pthread/timer_gettime.c: ... here.
44413         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44414         * sysdeps/pthread/timer_routines.c: ... here.
44415         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44416         * sysdeps/pthread/timer_settime.c: ... here.
44417         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44418         * sysdeps/pthread/tst-timer.c: ... here.
44419         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44420         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44422         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44423         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44425         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44426         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44427         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44428         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44429         Update #include target.
44430         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44431         * sysdeps/i386/i686/nptl/Makefile: ... here.
44432         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44433         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44434         Update #include target.
44435         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44436         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44437         * nptl/sysdeps/i386/Makefile: Moved ...
44438         * sysdeps/i386/nptl/Makefile: ... here.
44439         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44440         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44441         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44442         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44443         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44444         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44445         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44446         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44447         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44448         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44449         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44450         * nptl/sysdeps/i386/tls.h: Moved ...
44451         * sysdeps/i386/nptl/tls.h: ... here.
44453         * sysdeps/sh/Makefile [$(subdir) = csu]
44454         (gen-as-const-headers): Add tcb-offsets.sym.
44455         * nptl/sysdeps/sh/Makefile: File removed.
44456         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44457         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44458         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44459         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44460         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44461         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44462         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44463         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44464         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44465         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44466         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44467         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44468         * nptl/sysdeps/sh/tls.h: Moved ...
44469         * sysdeps/sh/nptl/tls.h: ... here.
44470         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44471         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44472         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44473         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44474         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44475         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44476         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44477         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44478         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44479         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44480         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44481         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44482         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44483         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44484         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44485         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44486         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44487         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44488         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44489         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44490         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44491         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44492         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44493         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44494         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44495         Moved ...
44496         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44497         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44498         Moved ...
44499         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44500         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44501         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44502         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44503         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44504         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44505         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44506         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44507         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44508         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44509         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44510         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44511         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44512         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44513         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44514         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44515         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44516         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44517         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44519 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44521         * posix/spawn_faction_addopen.c: Include string.h.
44523 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44525         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44526         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44527         * nptl/sysdeps/x86_64/Makefile: Moved ...
44528         * sysdeps/x86_64/nptl/Makefile: ... here.
44529         * nptl/sysdeps/x86_64/configure: Moved ...
44530         * sysdeps/x86_64/nptl/configure: ... here.
44531         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44532         * sysdeps/x86_64/nptl/configure.ac: ... here.
44533         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44534         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44535         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44536         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44537         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44538         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44539         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44540         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44541         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44542         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44543         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44544         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44545         * nptl/sysdeps/x86_64/tls.h: Moved ...
44546         * sysdeps/x86_64/nptl/tls.h: ... here.
44547         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44548         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44549         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44550         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44552         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44554 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44558 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44560         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44561         type.
44562         [POSIX] (off_t): Likewise.
44563         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44564         [POSIX] (S_ISBLK): Require macro.
44565         [POSIX] (S_ISCHR): Likewise.
44566         [POSIX] (S_ISDIR): Likewise.
44567         [POSIX] (S_ISFIFO): Likewise.
44568         [POSIX] (S_ISREG): Likewise.
44569         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44570         optional-macro.
44571         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44572         type.
44573         [POSIX] (time_t): Likewise.
44574         [POSIX] (timer_t): Likewise.
44576 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44578         [BZ #17048]
44579         * posix/spawn_int.h (struct __spawn_action): Make the path string
44580         non-const to support deallocation.
44581         * posix/spawn_faction_addopen.c
44582         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44583         * posix/spawn_faction_destroy.c
44584         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44585         path in all spawn_do_open actions.
44586         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44587         posix_spawn_file_actions_addopen.
44589 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44591         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44592         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44593         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44594         conditional code always true.
44595         (__libc_vfork): New alias.
44597 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44599         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44600         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44602         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44604         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44605         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44607         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44608         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44610         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44611         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44613 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44615         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44616         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44617         multiarch strcmp for PPC64.
44618         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44619         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44621         multiarch optimizations.
44622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44623         (__libc_ifunc_impl_list): Likewise.
44625 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44627         * benchtests/scripts/validate_benchout.py: New script.
44628         * benchtests/Makefile (bench-func): Call it.
44629         * benchtests/scripts/benchout.schema.json: New file.
44631 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44633         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44634         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44635         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44636         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44637         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44638         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44639         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44640         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44641         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44642         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44643         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44644         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44645         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44646         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44647         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44648         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44650         Moved ...
44651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44652         ... here.
44653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44654         Moved ...
44655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44657         Moved ...
44658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44659         ... here.
44660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44661         Moved ...
44662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44663         ... here.
44664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44665         Moved ...
44666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44668         Moved ...
44669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44670         ... here.
44671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44672         Moved ...
44673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44674         ... here.
44675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44676         Moved ...
44677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44679         Moved ...
44680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44681         ... here.
44682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44683         Moved ...
44684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44685         ... here.
44686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44687         Moved ...
44688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44689         ... here.
44690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44691         Moved ...
44692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44694         Moved ...
44695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44696         ... here.
44697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44698         Moved ...
44699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44700         ... here.
44701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44702         Moved ...
44703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44704         ... here.
44705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44706         Moved ...
44707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44709         Moved ...
44710         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44711         ... here.
44712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44713         Moved ...
44714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44715         ... here.
44716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44717         Moved ...
44718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44720         Moved ...
44721         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44722         ... here.
44723         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44724         Moved ...
44725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44727         Moved ...
44728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44730         Moved ...
44731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44732         ... here.
44733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44734         Moved ...
44735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44736         ... here.
44737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44738         Moved ...
44739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44740         ... here.
44741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44742         Moved ...
44743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44745         Moved ...
44746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44747         ... here.
44748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44749         Moved ...
44750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44751         ... here.
44752         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44753         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44754         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44755         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44756         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44757         Moved ...
44758         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44759         ... here.
44760         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44761         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44762         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44763         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44764         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44765         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44766         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44767         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44768         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44769         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44770         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44771         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44772         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44773         Moved ...
44774         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44776         Moved ...
44777         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44778         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44779         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44780         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44781         Moved ...
44782         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44783         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44784         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44785         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44786         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44787         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44788         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44790 2014-06-10  Wilco  <wdijkstr@arm.com>
44792         * math/test-fenv-return.c: New file.
44793         * math/Makefile: Add new test test-fenv-return.
44795 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44797         [BZ #17042]
44798         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44799         when x - 1 is zero.
44800         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44801         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44802         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44803         0.0L for an argument of 1.0L.
44804         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44805         Likewise.
44806         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44807         value when x - 1 is zero.
44808         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44809         * sysdeps/i386/fpu/libm-test-ulps: Update.
44810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44812 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44814         [BZ #15119]
44815         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44817 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44819         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44820         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44822 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44824         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44825         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44827         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44828         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44830         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44831         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44833         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44834         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44836         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44837         if not already defined.
44838         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44839         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44840         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44841         (TLS_INIT_TP): Use it.
44842         (TLS_DEFINE_INIT_TP): New macro.
44843         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44845 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44847         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44848         constant.
44849         [POSIX] (IXANY): Likewise.
44850         [POSIX] (OLCUC): Likewise.
44851         [POSIX || POSIX2008] (CBAUD): Do not allow.
44852         [POSIX || POSIX2008] (DEFECHO): Likewise.
44853         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44854         [POSIX || POSIX2008] (ECHOKE): Likewise.
44855         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44856         [POSIX || POSIX2008] (EXTA): Likewise.
44857         [POSIX || POSIX2008] (EXTB): Likewise.
44858         [POSIX || POSIX2008] (FLUSHO): Likewise.
44859         [POSIX || POSIX2008] (LOBLK): Likewise.
44860         [POSIX || POSIX2008] (PENDIN): Likewise.
44861         [POSIX || POSIX2008] (SWTCH): Likewise.
44862         [POSIX || POSIX2008] (VDISCARD): Likewise.
44863         [POSIX || POSIX2008] (VDSUSP): Likewise.
44864         [POSIX || POSIX2008] (VLNEXT): Likewise.
44865         [POSIX || POSIX2008] (VREPRINT): Likewise.
44866         [POSIX || POSIX2008] (VSTATUS): Likewise.
44867         [POSIX || POSIX2008] (VWERASE): Likewise.
44868         (B*): Change to B[0123456789]*.
44869         * conform/data/time.h-data [POSIX || UNIX98]
44870         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44871         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44872         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44873         [POSIX] (tm_*): Do not allow.
44875 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44877         * Makefile (install): Don't set LANGUAGE.
44878         * Makefile.in (install): Likewise.
44879         * assert/Makefile (test-assert-ENV): Remove variable.
44880         (test-assert-perr-ENV): Likewise.
44881         * elf/Makefile (neededtest4-ENV): Likewise.
44882         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44883         [$(cross-compiling) = no]: Don't set LANGUAGE.
44884         * io/ftwtest-sh (LANG): Remove variable.
44885         * libio/Makefile (tst-widetext-ENV): Likewise.
44886         * manual/install.texi (Running make install): Don't refer to
44887         environment settings for make install.
44888         * INSTALL: Regenerated.
44889         * nptl/tst-tls6.sh: Don't set LANG.
44890         * posix/globtest.sh (LANG): Remove variable.
44891         * string/Makefile (tester-ENV): Likewise.
44892         (inl-tester-ENV): Likewise.
44893         (noinl-tester-ENV): Likewise.
44894         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44895         [$(cross-compiling) = no]: Don't set LANGUAGE.
44896         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44897         without explicit environment settings.
44899 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44901         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44902         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44903         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44904         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44906 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44908         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44909         other files in the crypt directory.
44910         * crypt/crypt.c: Remove duplicate includes.
44911         * crypt/crypt-entry.c: Likewise.
44912         * crypt/crypt_util.c: Likewise.
44914 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44916         * Makeconfig (run-program-env): New variable.
44917         (run-program-prefix-before-env): Likewise.
44918         (run-program-prefix-after-env): Likewise.
44919         (run-program-prefix): Define in terms of new variables.
44920         (built-program-cmd-before-env): New variable.
44921         (built-program-cmd-after-env): Likewise.
44922         (built-program-cmd): Define in terms of new variables.
44923         (test-program-prefix-before-env): New variable.
44924         (test-program-prefix-after-env): Likewise.
44925         (test-program-prefix): Define in terms of new variables.
44926         (test-program-cmd-before-env): New variable.
44927         (test-program-cmd-after-env): Likewise.
44928         (test-program-cmd): Define in terms of new variables.
44929         * Rules (make-test-out): Use $(run-program-env).
44930         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44931         (help): Do not mention environment variables.  Mention
44932         --timeoutfactor option.
44933         (timeoutfactor): New variable.
44934         (blacklist_exports): Remove function.
44935         (exports): Remove variable.
44936         (command): Do not include ${exports}.
44937         * manual/install.texi (Configuring and compiling): Do not mention
44938         test wrappers preserving environment variables.  Mention that last
44939         assignment to a variable must take precedence.
44940         * INSTALL: Regenerated.
44941         * benchtests/Makefile (run-bench): Use $(run-program-env).
44942         * catgets/Makefile ($(objpfx)test1.cat): Use
44943         $(built-program-cmd-before-env), $(run-program-env) and
44944         $(built-program-cmd-after-env).
44945         ($(objpfx)test2.cat): Do not specify environment variables
44946         explicitly.
44947         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44948         $(run-program-env) and $(built-program-cmd-after-env).
44949         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44950         $(run-program-env) and $(test-program-cmd-after-env).
44951         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44952         explicitly.
44953         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44954         run_program_env and test_program_cmd_after_env arguments.
44955         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44956         * elf/tst-pathopt.sh: Use run_program_env argument.
44957         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44958         $(test-wrapper-env) and $(run-program-env).
44959         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44960         run_program_env arguments.
44961         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44962         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44963         $(test-program-prefix-before-env), $(run-program-env) and
44964         $(test-program-prefix-after-env).
44965         ($(objpfx)tst-gettext2.out): Likewise.
44966         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44967         run_program_env and test_program_prefix_after_env arguments.
44968         * intl/tst-gettext2.sh: Likewise.
44969         * intl/tst-gettext4.sh: Do not set environment variables
44970         explicitly.
44971         * intl/tst-gettext6.sh: Likewise.
44972         * intl/tst-translit.sh: Likewise.
44973         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44974         $(test-program-prefix-before-env), $(run-program-env) and
44975         $(test-program-prefix-after-env).
44976         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44977         run_program_env and test_program_prefix_after_env arguments.
44978         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44979         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44980         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44981         explicitly with each use of ${test_wrapper_env}.
44982         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44983         $(test-program-prefix-before-env), $(run-program-env) and
44984         $(test-program-prefix-after-env).
44985         * posix/tst-getconf.sh: Do not set environment variables
44986         explicitly.
44987         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44988         run_program_env and test_program_prefix_after_env arguments.
44989         * stdio-common/tst-printf.sh: Do not set environment variables
44990         explicitly.
44991         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
44992         $(test-program-prefix-before-env), $(run-program-env) and
44993         $(test-program-prefix-after-env).
44994         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
44995         run_program_env and test_program_prefix_after_env arguments.
44996         Split $test calls into $test_pre and $test.
44997         * timezone/Makefile (build-testdata): Use
44998         $(built-program-cmd-before-env), $(run-program-env) and
44999         $(built-program-cmd-after-env).
45001 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45003         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45004         strlen for non SHARED builds.
45006 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45008         * nptl/allocatestack.c (check_list): Inlined function...
45009         (__reclaim_stacks): ... here.
45011 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45013         [BZ #15698]
45014         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45015         memory overrun.
45017 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45019         * Rules (make-test-out): Include
45020         LOCPATH=$(common-objpfx)localedata in default environment.
45021         * debug/Makefile (tst-chk1-ENV): Remove variable.
45022         (tst-chk2-ENV): Likewise.
45023         (tst-chk3-ENV): Likewise.
45024         (tst-chk4-ENV): Likewise.
45025         (tst-chk5-ENV): Likewise.
45026         (tst-chk6-ENV): Likewise.
45027         (tst-lfschk1-ENV): Likewise.
45028         (tst-lfschk2-ENV): Likewise.
45029         (tst-lfschk3-ENV): Likewise.
45030         (tst-lfschk4-ENV): Likewise.
45031         (tst-lfschk5-ENV): Likewise.
45032         (tst-lfschk6-ENV): Likewise.
45033         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45034         (tst-iconv7-ENV): Likewise.
45035         * intl/Makefile (LOCPATH-ENV): Likewise.
45036         (tst-codeset-ENV): Likewise.
45037         (tst-gettext3-ENV): Likewise.
45038         (tst-gettext5-ENV): Likewise.
45039         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45040         (tst-fopenloc-ENV): Likewise.
45041         (tst-fgetws-ENV): Remove variable.
45042         (tst-ungetwc1-ENV): Likewise.
45043         (tst-ungetwc2-ENV): Likewise.
45044         (bug-ungetwc2-ENV): Likewise.
45045         (tst-swscanf-ENV): Likewise.
45046         (bug-ftell-ENV): Likewise.
45047         (tst-fgetwc-ENV): Likewise.
45048         (tst-fseek-ENV): Likewise.
45049         (tst-ftell-partial-wide-ENV): Likewise.
45050         (tst-ftell-active-handler-ENV): Likewise.
45051         (tst-ftell-append-ENV): Likewise.
45052         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45053         (tst-regexloc-ENV): Likewise.
45054         (bug-regex1-ENV): Likewise.
45055         (tst-regex-ENV): Likewise.
45056         (tst-regex2-ENV): Likewise.
45057         (bug-regex5-ENV): Likewise.
45058         (bug-regex6-ENV): Likewise.
45059         (bug-regex17-ENV): Likewise.
45060         (bug-regex18-ENV): Likewise.
45061         (bug-regex19-ENV): Likewise.
45062         (bug-regex20-ENV): Likewise.
45063         (bug-regex22-ENV): Likewise.
45064         (bug-regex23-ENV): Likewise.
45065         (bug-regex25-ENV): Likewise.
45066         (bug-regex26-ENV): Likewise.
45067         (bug-regex30-ENV): Likewise.
45068         (bug-regex32-ENV): Likewise.
45069         (bug-regex33-ENV): Likewise.
45070         (bug-regex34-ENV): Likewise.
45071         (bug-regex35-ENV): Likewise.
45072         (tst-rxspencer-ENV): Likewise.
45073         (tst-rxspencer-no-utf8-ENV): Likewise.
45074         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45075         (tst-sscanf-ENV): Likewise.
45076         (tst-swprintf-ENV): Likewise.
45077         (tst-swscanf-ENV): Likewise.
45078         (test-vfprintf-ENV): Likewise.
45079         (scanf13-ENV): Likewise.
45080         (bug14-ENV): Likewise.
45081         (tst-grouping-ENV): Likewise.
45082         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45083         (tst-strtod3-ENV): Likewise.
45084         (tst-strtod4-ENV): Likewise.
45085         (tst-strtod5-ENV): Likewise.
45086         (testmb2-ENV): Likewise./
45087         * string/Makefile (tst-strxfrm-ENV): Likewise.
45088         (tst-strxfrm2-ENV): Likewise.
45089         (bug-strcoll1-ENV): Likewise.
45090         (test-strcasecmp-ENV): Likewise.
45091         (test-strncasecmp-ENV): Likewise.
45092         * time/Makefile (tst-strptime-ENV): Likewise.
45093         (tst-ftime_l-ENV): Likewise.
45094         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45095         (tst-mbrtowc-ENV): Likewise.
45096         (tst-wcrtomb-ENV): Likewise.
45097         (tst-mbrtowc2-ENV): Likewise.
45098         (tst-c16c32-1-ENV): Likewise.
45099         (tst-mbsnrtowcs-ENV): Likewise.
45101 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45103         * manual/resource.texi (How to get information about the memory
45104         subsystem?): Fix typo.
45105         Reported by Peon de la Parra Ivan <peon@keba.com>
45107 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45109         [BZ #16882]
45110         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45111         (pthread_spin_lock): Branch out of spin loop to proper location.
45112         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45113         (pthread_spin_lock): Likewise.
45115         * nptl/tst-spin4.c: New test.
45116         * nptl/Makefile (tests): Add tst-spin4.
45118 2014-06-03  Andreas Schwab  <schwab@suse.de>
45120         [BZ #15946]
45121         * resolv/res_send.c (send_dg): Reload file descriptor after
45122         calling reopen.
45124 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45126         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45128 2014-06-03  Richard Henderson  <rth@redhat.com>
45130         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45131         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45132         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45133         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45134         in the SAVE_PID block.
45135         (__libc_vfork): New alias.
45136         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45138         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45139         child in registers, not on the stack.  Remove RESET_PID conditionals.
45140         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45142 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45144         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45146 2014-06-03  Wilco  <wdijkstr@arm.com>
45148         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45149         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45150         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45151         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45152         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45153         Likewise.
45155 2014-06-03  Wilco  <wdijkstr@arm.com>
45157         * sysdeps/aarch64/fpu/math_private.h
45158         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45159         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45160         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45161         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45162         Fix declarations.
45164 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45166         * crypt/crypt-private.h: Include ufc-crypt.h.
45167         (__b64_from_24bit): Declare extern.
45168         * crypt/crypt_util.c(__b64_from_24bit): New function.
45169         (b64t): New static const variable.
45170         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45171         (b64t): Remove variable.
45172         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45173         * crypt/sha256-crypt.c: Include crypt-private.h.
45174         (b64t): Remove variable.
45175         (__sha256_crypt_r): Remove b64_from_24bit and replace
45176         with __b64_from_24bit.
45177         * crypt/sha512-crypt.c: Likewise.
45179 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45181         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45182         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45183         Label the code __libc_vfork rather than __vfork.
45184         [!NOT_IN_libc] (vfork): Define as weak alias.
45185         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45186         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45187         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45189 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45191         * malloc/malloc.c (malloc_info): Fix format specifier for
45192         n_mmaps.
45194 2014-06-02  Wilco  <wdijkstr@arm.com>
45196         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45197         FPCR write.
45199 2014-06-02  Wilco  <wdijkstr@arm.com>
45201         [BZ #17009]
45202         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45203         Rewrite to reduce FPCR/FPSR accesses.
45205 2014-06-01  David S. Miller  <davem@davemloft.net>
45207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45209 2014-05-31  David S. Miller  <davem@davemloft.net>
45211         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45212         to occur in round to nearest mode when |x| >= 2.0
45214 2014-05-30  Richard Henderson  <rth@twiddle.net>
45216         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45217         (PSEUDO_RET_NOERRNO): Remove.
45218         (ret): Don't redefine.
45219         (ret_NOERRNO): Define in terms of ret.
45220         (ret_ERRVAL): Likewise.
45222         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45223         use of PSEUDO_RET; perform the error check directly.
45225 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45227         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45228         with __int128_t.
45230 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45232         * malloc/malloc (malloc_info): Fix formatting.
45234 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45235             Roland McGrath  <roland@hack.frob.com>
45237         * malloc/malloc (malloc_info): Also print mmapped statistics.
45239 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45241         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45242         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45244 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45246         * malloc/malloc.c (malloc_info): Inline mi_arena.
45248 2014-05-29  Richard Henderson  <rth@twiddle.net>
45250         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45251         Remove comma before expanding ASM_ARGS_##nr.
45252         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45253         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45254         of ASM_ARGS_##nr.
45255         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45256         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45257         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45258         (ASM_ARGS_1): Add leading comma.
45260         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45261         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45262         to __errno_location.
45263         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45264         Remove the expected plt for __errno_location.
45266         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45267         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45268         call to __read_tp.
45270         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45271         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45272         it and break it down.
45273         (DOCARGS_0, DOCARGS_1): Do nothing.
45274         (DOCARGS_2): Update to store into the new stack frame.
45275         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45276         (UNDOCARGS_1): Update to restore from the new stack frame.
45277         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45278         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45280         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45281         (SINGLE_THREAD_P): New parameter for result regno.
45282         (PSEUDO): Update to match; use cbz instead of beq.
45284         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45285         Use ENTRY to define the _nocancel entry point.  Share the syscall
45286         and syscall error check paths with the cancel path.
45287         (PSEUDO_END): New.
45289         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45290         whitespace; tabs before and after asm mnemonics.
45292 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45294         [BZ #15132]
45295         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45296         Call fstat64 or stat64 internally, depending on arguments passed.
45297         Replace stat buffer argument with file descriptor argument.
45298         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45299         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45300         Pass fd to __internal_statvfs instead of calling fstat64.
45301         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45302         Pass fd to __internal_statvfs64 instead of calling fstat64.
45303         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45304         Pass -1 to __internal_statvfs instead of calling stat64.
45305         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45306         Pass -1 to __internal_statvfs64 instead of calling stat64.
45308 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45310         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45311         that was previously under [RESET_PID].
45312         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45314         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45315         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45317 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45319         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45321         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45322         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45324 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45326         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45328 2014-05-27  Andreas Schwab  <schwab@suse.de>
45330         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45331         TLS_INIT_TP macro.
45332         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45333         * elf/rtld.c (init_tls, dl_main): Likewise.
45334         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45335         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45336         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45337         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45338         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45339         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45340         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45341         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45342         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45343         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45344         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45345         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45346         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45347         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45348         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45349         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45350         * sysdeps/generic/tls.h: Update description.
45352 2014-05-27  Will Newton  <will.newton@linaro.org>
45354         [BZ #16990]
45355         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45356         and restore r2 rather than just restoring.
45358 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45360         [BZ #16724]
45361         * libio/tst-ftell-append.c: New test case.
45362         * libio/Makefile (tests): Add test case.
45363         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45364         append mode.
45365         * libio/wfileops.c (do_ftell_wide): Likewise.
45367 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45371         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45372         ...
45373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45375         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45376         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45377         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45378         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45379         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45380         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45382         Moved ...
45383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45385         Moved ...
45386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45387         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45388         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45389         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45390         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45391         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45392         ...
45393         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45394         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45395         Moved ...
45396         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45397         here.
45398         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45399         ...
45400         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45401         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45402         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45404         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45405         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45406         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45407         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45409         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45410         merge into ...
45411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45412         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45413         ...
45414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45416         ...
45417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45418         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45419         Moved ...
45420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45421         here.
45422         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45423         Moved ...
45424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45425         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45426         Moved ...
45427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45430         conditional [RESET_PID].
45431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45433         removed.
45434         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45435         removed.
45437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45438         <tcb-offsets.h>.
45439         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45440         (__libc_vfork): New strong alias.
45441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45442         removed.
45443         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45444         Removed.
45446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45447         <tcb-offsets.h>.
45448         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45449         (__libc_vfork): New strong alias.
45450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45451         removed.
45452         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45453         removed.
45455 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45457         * malloc/malloc.c (mi_arena): New function.
45458         (malloc_info): Remove nested function mi_arena. Call non-nosted
45459         function mi_arena.
45461 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45463         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45464         by insrwi.
45465         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45466         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45467         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45468         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45469         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45470         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45471         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45473 2014-05-26  Andreas Schwab  <schwab@suse.de>
45475         [BZ #16984]
45476         * locale/programs/repertoire.c (repertoire_read): Add slash
45477         between I18NPATH element and file name.
45478         * locale/programs/locfile.c (locfile_read): Likewise.
45480 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45482         * nptl/pthread_mutexattr_settype.c
45483         (__pthread_mutexattr_settype):
45484         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45486 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45488         * nptl/tst-mutex5 (do_test):
45489         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45491 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45493         * benchtests/README: Document 'init' directive.
45494         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45495         BENCH_INIT.
45496         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45497         (parse_file): Recognize 'init' directive.
45499 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45501         [BZ #16796]
45502         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45503         alignment of struct pthread.
45505 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45507         [BZ #16878]
45508         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45509         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45510         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45511         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45513 2014-05-25  Richard Henderson  <rth@twiddle.net>
45515         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45516         (SINGLE_THREAD_P_PIC): Remove.
45517         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45518         (SINGLE_THREAD_P_PIC): Remove.
45520         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45521         branch to syscall error ...
45522         (PSEUDO): ... here.
45523         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45524         from __local_syscall_error to .Lsyscall_error.
45525         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45526         (SYSCALL_ERROR): Update label name.
45528         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45529         Do not use DOARGS/UNDOARGS.
45530         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45531         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45532         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45533         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45534         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45536         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45537         block comment.
45539         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45540         define if !NOT_IN_libc.
45541         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45542         define with non-default symbol versions.
45544 2014-05-23  Richard Henderson  <rth@twiddle.net>
45546         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45547         (vfork, __vfork): Define via compat_symbol.
45549         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45550         [!HAVE_IFUNC] (vfork_compat): Remove.
45551         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45553 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45555         [BZ #16978]
45556         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45557         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45558         variable.
45560 2014-05-23  Richard Henderson  <rth@twiddle.net>
45562         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45563         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45564         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45565         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45567         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45568         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45569         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45570         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45571         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45572         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45573         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45574         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45575         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45576         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45577         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45578         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45579         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45580         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45581         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45582         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45583         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45584         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45585         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45586         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45587         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45588         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45589         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45590         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45591         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45592         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45593         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45594         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45595         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45596         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45597         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45598         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45599         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45600         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45601         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45602         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45603         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45604         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45605         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45606         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45607         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45608         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45609         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45610         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45611         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45612         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45613         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45614         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45615         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45616         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45617         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45618         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45619         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45620         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45621         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45622         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45624         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45625         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45626         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45627         before exiting on error.
45628         (__libc_vfork): New strong alias.
45629         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45630         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45632         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45633         that was previously under [RESET_PID].
45634         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45636         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45638 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45640         [BZ #16977]
45641         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45642         value when x - 1 is zero.
45643         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45644         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45645         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45646         0.0L for an argument of 1.0L.
45647         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45648         Likewise.
45649         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45650         value when x - 1 is zero.
45651         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45652         * sysdeps/i386/fpu/libm-test-ulps: Update.
45653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45655 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45657         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45658         alphasort and versionsort.
45660 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45662         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45663         macro.
45664         [copysignf]: Likewise.
45666 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45668         * crypt/md5-crypt.c: Fix formatting.
45670 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45672         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45673         (b64_from_24bit): New function.
45675 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45677         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45678         libc_hidden_builtin_def to ifunc.
45679         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45680         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45682 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45684         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45685         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45687 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45689         * nscd/Depend (linuxthreads): Remove.
45690         (nptl): Add.
45691         * resolv/Depend (linuxthreads): Remove.
45692         * rt/Depend (linuxthreads): Remove.
45694         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45695         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45696         $(common-objpfx)elf/.
45697         (link-libc-before-gnulib): Likewise.
45698         (elfobjdir): Remove variable.
45699         * Makefile (install): Use $(elf-objpfx) instead of
45700         $(common-objpfx)elf/.
45701         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45702         $(elfobjdir)/.
45703         (link-libc-deps): Likewise.
45704         ($(common-objpfx)libc.so): Likewise.
45705         ($(common-objpfx)linkobj/libc.so): Likewise.
45706         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45707         instead of $(common-objpfx)elf/.
45708         (symbolic-link-list): Likewise.
45709         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45710         [$(cross-compiling) = no]: Likewise.
45711         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45712         $(elfobjdir)/.
45713         (static-gnulib-arch): Likewise.
45714         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45715         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45716         $(common-objpfx)elf/.
45718 2014-05-21  Richard Henderson  <rth@redhat.com>
45720         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45721         (SINGLE_THREAD_P): Use the correct width load.  Fold
45722         into the ldr offset.
45724         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45725         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45727 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45729         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45730         (libgcc_s_resume): Use __attribute_used__.
45731         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45732         Likewise.
45734 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45736         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45737         optimization when used with float constants.
45739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45741 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45743         [BZ #16915]
45744         * locale/nl_langinfo_l.c: Make direct reference to every
45745         _nl_current_CATEGORY symbol.
45746         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45747         (tests-static): Add tst-langinfo-static.
45748         (tests-special): Add tst-langinfo-static.out.
45749         ($(objpfx)tst-langinfo.out): Redirect output.
45750         ($(objpfx)tst-langinfo-static.out): New.
45751         * localedata/tst-langinfo.sh: Send output to stdout.
45752         * localedata/tst-langinfo-static.c: New file.
45754         [BZ #16965]
45755         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45756         when the shift amount is modulo the limb size.
45758 2014-05-20  Richard Henderson  <rth@redhat.com>
45760         [BZ #16967]
45761         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45762         Change type of sa_flags from unsigned int to int.
45764         [BZ #16966]
45765         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45767         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45769 2014-05-20  Will Newton  <will.newton@linaro.org>
45771         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45772         Test the return value of the system call in the nocancel case.
45774 2014-05-20  Will Newton  <will.newton@linaro.org>
45775             Yvan Roux  <yvan.roux@linaro.org>
45777         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45778         #include of asm/ptrace.h.
45779         (PTRACE_GET_THREAD_AREA): Remove #undef.
45780         (PTRACE_GETHBPREGS): Likewise.
45781         (PTRACE_SETHBPREGS): Likewise.
45782         (struct user_regs_struct): New structure.
45783         (struct user_fpsimd_struct): New structure.
45784         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45785         #include of asm/ptrace.h and second #include of sys/user.h.
45786         (PTRACE_GET_THREAD_AREA): Remove #undef.
45787         (PTRACE_GETHBPREGS): Likewise.
45788         (PTRACE_SETHBPREGS): Likewise.
45789         (ELF_NGREG): Use new struct user_regs_struct.
45790         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45792 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45794         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45795         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45797 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45799         [BZ #16958]
45800         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45801         membar to avoid block loads/stores to overlap previous stores.
45803 2014-05-17  Richard Henderson  <rth@redhat.com>
45805         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45806         Create the __##syscall_name##_nocancel entry point.
45807         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45808         Remove; let the sysdep-cancel.h code create it.
45810 2014-05-17  David S. Miller  <davem@davemloft.net>
45812         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45813         Protect with __USE_GNU.
45814         (TIOCSET_TEMPT): Likewise.
45815         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45816         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45817         these are already provided in bits/ioctl-types.h
45819 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45821         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45822         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45824         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45825         Use wait4 regardless of [__NR_waitpid].
45827 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45829         PR libgcc/60166
45830         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45831         (_FP_NANSIGN_Q): Set the quiet bit.
45833 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45835         * benchtests/Makefile
45836         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45837         not $(common-objpfx)math/libm.so.
45838         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45839         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45840         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45841         $(common-objpfx)dlfcn/libdl.so.
45842         ($(objpfx)tst-audit8): Depend on $(libm), not
45843         $(common-objpfx)math/libm.so.
45844         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45845         not $(common-objpfx)dlfcn/libdl.so.
45846         * math/Makefile
45847         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45848         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45849         [$(build-shared) = yes].
45850         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45851         $(common-objpfx)nptl/libpthread.so.
45852         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45853         $(common-objpfx)math/libm.so$(libm.so-version) or
45854         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45855         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45856         $(common-objpfx)dlfcn/libdl.so.
45857         * setjmp/Makefile (link-libm): Remove variable.
45858         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45859         * stdio-common/Makefile (link-libm): Remove variable.
45860         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45861         * stdlib/Makefile (link-libm): Remove variable.
45862         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45863         ($(objpfx)tst-strtod-round): Likewise.
45864         ($(objpfx)tst-tininess): Likewise.
45865         ($(objpfx)tst-strtod-underflow): Likewise.
45866         ($(objpfx)tst-strtod6): Likewise.
45867         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45868         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45869         $(common-objpfx)dlfcn/libdl.so.
45871 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45873         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45874         BSD terminal modes definitions.
45876 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45878         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45879         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45881         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45882         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45883         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45884         Don't do #include_next.
45885         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45886         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45887         Don't do #include_next.
45888         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45889         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45890         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45891         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45893 2014-05-16  Allan McRae  <allan@archlinux.org>
45895         * po/sv.po: Update Swedish translation from translation project.
45897         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45898         in sed expression.
45900 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45902         [BZ #16917]
45903         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45904         errno if the TIOCGPTN ioctl fails with an error different than
45905         EINVAL.
45906         * login/tst-ptsname.c: New file.
45907         * login/Makefile (tests): Add tst-ptsname.
45909         [BZ #16943]
45910         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45911         and prlimit64.
45913 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45915         [BZ #16849]
45916         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45917         herrno to return EAI_AGAIN.
45919 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45921         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45922         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45923         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45924         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45925         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45926         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45927         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45928         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45929         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45930         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45931         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45932         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45933         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45934         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45935         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45936         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45937         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45938         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45939         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45940         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45941         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45942         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45943         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45944         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45945         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45946         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45947         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45948         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45949         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45950         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45952         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45954         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45956         Moved ...
45957         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45958         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45959         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45960         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45961         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45963         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45964         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45965         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45967         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45969         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45971         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45973         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45975         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45977         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45979         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45981         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45983         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45985         Moved ...
45986         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45988         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45990         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
45991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
45992         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
45993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
45994         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
45995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
45996         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
45997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
45998         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
45999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46000         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46002         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46004         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46006         Moved ...
46007         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46009         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46011         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46012         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46013         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46014         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46015         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46016         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46017         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46018         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46019         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46020         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46021         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46022         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46023         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46024         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46025         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46026         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46027         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46028         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46029         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46030         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46031         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46032         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46033         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46034         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46035         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46036         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46037         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46038         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46039         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46040         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46041         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46043         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46044         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46046         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46047         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46048         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46049         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46050         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46051         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46052         Moved ...
46053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46054         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46055         Moved ...
46056         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46057         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46058         Moved ...
46059         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46060         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46061         Moved ...
46062         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46063         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46064         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46065         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46066         Moved ...
46067         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46068         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46069         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46070         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46071         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46072         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46073         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46074         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46075         Moved ...
46076         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46077         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46078         Moved ...
46079         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46080         ... here.
46081         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46082         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46083         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46084         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46085         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46086         Moved ...
46087         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46088         ... here.
46089         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46090         Moved ...
46091         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46092         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46093         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46094         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46095         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46096         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46097         Moved ...
46098         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46099         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46100         Moved ...
46101         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46102         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46103         Moved ...
46104         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46105         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46106         Moved ...
46107         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46108         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46109         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46110         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46111         Moved ...
46112         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46113         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46114         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46115         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46116         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46117         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46118         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46119         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46120         Moved ...
46121         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46122         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46123         Moved ...
46124         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46125         ... here.
46126         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46127         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46128         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46129         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46130         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46131         Moved ...
46132         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46133         ... here.
46134         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46135         Moved ...
46136         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46137         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46138         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46139         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46140         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46141         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46142         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46143         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46144         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46145         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46146         Moved ...
46147         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46148         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46149         Moved ...
46150         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46151         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46152         Moved ...
46153         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46154         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46155         Moved ...
46156         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46157         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46158         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46159         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46160         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46161         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46162         Moved ...
46163         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46164         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46165         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46166         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46167         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46168         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46169         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46170         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46171         Moved ...
46172         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46173         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46174         Moved ...
46175         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46176         ... here.
46177         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46178         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46179         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46180         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46181         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46182         Moved ...
46183         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46184         ... here.
46185         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46186         Moved ...
46187         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46188         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46189         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46190         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46191         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46192         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46193         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46194         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46195         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46196         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46197         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46199         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46200         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46202         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46203         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46205         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46206         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46207         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46208         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46209         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46210         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46211         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46212         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46213         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46214         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46215         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46216         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46217         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46218         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46219         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46220         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46221         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46222         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46223         Moved ...
46224         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46225         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46226         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46227         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46228         Moved ...
46229         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46230         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46231         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46232         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46233         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46234         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46235         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46236         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46237         Moved ...
46238         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46239         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46240         Moved ...
46241         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46242         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46243         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46244         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46245         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46246         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46247         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46248         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46249         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46250         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46251         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46252         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46253         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46254         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46255         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46256         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46257         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46259         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46260         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46261         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46262         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46263         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46265         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46266         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46267         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46268         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46269         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46270         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46271         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46272         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46273         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46274         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46276         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46279         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46280         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46281         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46282         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46283         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46284         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46285         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46286         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46287         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46288         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46289         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46290         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46291         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46292         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46293         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46294         Update #include.
46295         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46296         Likewise.
46297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46298         Likewise.
46299         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46300         Likewise.
46301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46302         Likewise.
46303         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46304         Likewise.
46305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46306         Likewise.
46307         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46308         Likewise.
46309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46310         Likewise.
46311         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46312         Likewise.
46313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46314         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46315         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46316         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46317         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46318         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46319         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46320         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46321         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46322         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46323         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46324         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46325         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46326         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46327         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46329         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46330         that was previously under [RESET_PID].
46331         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46332         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46333         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46335         * sysdeps/i386/nptl/Implies: New file.
46336         * sysdeps/x86_64/nptl/Implies: New file.
46337         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46338         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46339         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46340         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46342         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46343         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46344         (__libc_vfork): New strong alias.
46345         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46346         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46348         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46349         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46350         (__libc_vfork): New strong alias.
46351         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46352         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46354         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46355         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46356         (__libc_vfork): New strong alias.
46357         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46358         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46359         * nptl/pt-vfork.c: New file.
46360         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46361         (libpthread: GLIBC_2.20): New version set (empty).
46363 2014-05-14  Will Newton  <will.newton@linaro.org>
46365         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46366         rather than #if.
46368 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46370         [BZ #16564]
46371         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46372         arguments with exponent 65 or above.
46373         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46374         arguments 0x1p113L or above.
46375         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46376         to arguments 0x1p107L or above.
46377         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46378         positive arguments with exponent 65 or above.
46379         * math/auto-libm-test-in: Add more tests of log1p.
46380         * math/auto-libm-test-out: Regenerated.
46382         [BZ #16928]
46383         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46384         non-finite arguments is +0.
46385         * math/s_cacosf.c (__cacosf): Likewise.
46386         * math/s_cacosl.c (__cacosl): Likewise.
46387         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46388         * sysdeps/i386/fpu/libm-test-ulps: Update.
46389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46391         [BZ #16927]
46392         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46393         value.
46394         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46395         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46396         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46397         for explicit high bit of mantissa when testing for argument equal
46398         to 1.
46399         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46400         * sysdeps/i386/fpu/libm-test-ulps: Update.
46401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46403         [BZ #16516]
46404         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46405         (__erf): Scale by 16 instead of 8 in potentially underflowing
46406         case.  Ensure exception if result actually underflows.
46407         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46408         (__erff): Scale by 16 instead of 8 in potentially underflowing
46409         case.  Ensure exception if result actually underflows.
46410         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46411         (efx8): Remove variable.
46412         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46413         case.  Ensure exception if result actually underflows.
46414         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46415         (efx8): Remove variable.
46416         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46417         case.  Ensure exception if result actually underflows.
46418         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46419         (efx8): Remove variable.
46420         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46421         case.  Ensure exception if result actually underflows.
46422         * math/auto-libm-test-in: Add more tests of erf.
46423         * math/auto-libm-test-out: Regenerated.
46425 2014-05-14  Andreas Schwab  <schwab@suse.de>
46427         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46428         Remove code conditionalized on USE___THREAD.
46430         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46431         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46432         not definedness.
46434 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46436         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46437         Define unconditionally.
46438         (__ASSUME_O_CLOEXEC): Likewise.
46439         (__ASSUME_SOCK_CLOEXEC): Likewise.
46440         (__ASSUME_IN_NONBLOCK): Likewise.
46441         (__ASSUME_PIPE2): Likewise.
46442         (__ASSUME_EVENTFD2): Likewise.
46443         (__ASSUME_SIGNALFD4): Likewise.
46444         (__ASSUME_DUP3): Likewise.
46445         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46446         (__ASSUME_DUP3): Do not define.
46447         (__ASSUME_EVENTFD2): Likewise.
46448         (__ASSUME_IN_NONBLOCK): Likewise.
46449         (__ASSUME_O_CLOEXEC): Likewise.
46450         (__ASSUME_PIPE2): Likewise.
46451         (__ASSUME_SIGNALFD4): Likewise.
46452         (__ASSUME_SOCK_CLOEXEC): Likewise.
46453         (__ASSUME_UTIMES): Undefine.
46454         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46455         (__ASSUME_UTIMES): Do not define.
46456         (__ASSUME_O_CLOEXEC): Likewise.
46457         (__ASSUME_SOCK_CLOEXEC): Likewise.
46458         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46459         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46460         0x020621].
46461         (__ASSUME_PIPE2): Likewise.
46462         (__ASSUME_EVENTFD2): Likewise.
46463         (__ASSUME_SIGNALFD4): Likewise.
46464         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46465         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46466         Do not define.
46467         (__ASSUME_EVENTFD2): Likewise.
46468         (__ASSUME_SIGNALFD4): Likewise.
46469         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46470         (__ASSUME_32BITUIDS): Likewise.
46471         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46472         (__ASSUME_IPC64): Likewise.
46473         (__ASSUME_ST_INO_64_BIT): Likewise.
46474         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46475         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46476         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46477         (__ASSUME_UTIMES): Do not define.
46478         (__ASSUME_PSELECT): Likewise.
46479         (__ASSUME_PPOLL): Likewise.
46480         (__ASSUME_O_CLOEXEC): Likewise.
46481         (__ASSUME_SOCK_CLOEXEC): Likewise.
46482         (__ASSUME_IN_NONBLOCK): Likewise.
46483         (__ASSUME_PIPE2): Likewise.
46484         (__ASSUME_EVENTFD2): Likewise.
46485         (__ASSUME_SIGNALFD4): Likewise.
46486         (__ASSUME_DUP3): Likewise.
46487         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46488         (__ASSUME_UTIMES): Likewise.
46489         (__ASSUME_O_CLOEXEC): Likewise.
46490         (__ASSUME_SOCK_CLOEXEC): Likewise.
46491         (__ASSUME_IN_NONBLOCK): Likewise.
46492         (__ASSUME_PIPE2): Likewise.
46493         (__ASSUME_EVENTFD2): Likewise.
46494         (__ASSUME_SIGNALFD4): Likewise.
46495         (__ASSUME_DUP3): Likewise.
46496         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46497         (__ASSUME_UTIMES): Likewise.
46498         (__ASSUME_O_CLOEXEC): Likewise.
46499         (__ASSUME_SOCK_CLOEXEC): Likewise.
46500         (__ASSUME_IN_NONBLOCK): Likewise.
46501         (__ASSUME_PIPE2): Likewise.
46502         (__ASSUME_EVENTFD2): Likewise.
46503         (__ASSUME_SIGNALFD4): Likewise.
46504         (__ASSUME_DUP3): Likewise.
46505         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46506         Likewise.
46507         (__ASSUME_UTIMES): Likewise.
46508         (__ASSUME_EVENTFD2): Likewise.
46509         (__ASSUME_SIGNALFD4): Likewise.
46510         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46511         (__ASSUME_O_CLOEXEC): Likewise.
46512         (__ASSUME_SOCK_CLOEXEC): Likewise.
46513         (__ASSUME_IN_NONBLOCK): Likewise.
46514         (__ASSUME_PIPE2): Likewise.
46515         (__ASSUME_EVENTFD2): Likewise.
46516         (__ASSUME_SIGNALFD4): Likewise.
46517         (__ASSUME_DUP3): Likewise.
46518         (__ASSUME_UTIMES): Undefine.
46520         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46521         feclearexcept.  Remove symbol versioning code.
46522         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46523         symbol versioning code.
46524         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46525         symbol versioning code.
46526         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46527         feupdateenv.  Remove symbol versioning code.
46528         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46529         fegetexceptflag.  Remove symbol versioning code.
46530         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46531         fesetexceptflag.  Remove symbol versioning code.
46532         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46533         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46534         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46535         (__posix_fadvise64_l32): Remove prototype.
46536         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46537         code.
46539 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46541         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46542         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46543         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46544         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46546 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46548         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46549         current working directory
46551 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46553         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46554         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46555         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46556         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46557         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46558         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46559         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46560         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46561         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46562         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46563         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46564         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46565         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46566         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46567         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46568         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46569         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46570         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46571         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46572         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46573         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46574         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46575         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46576         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46577         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46578         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46579         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46580         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46581         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46582         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46583         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46584         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46585         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46586         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46587         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46588         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46589         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46590         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46591         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46592         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46593         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46594         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46596         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46597         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46599         * sysdeps/unix/sysv/linux/arm/Makefile
46600         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46601         Add rt-aeabi_unwind_cpp_pr1.
46602         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46603         Add nptl-aeabi_unwind_cpp_pr1.
46604         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46605         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46606         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46607         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46608         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46609         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46611         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46612         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46613         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46614         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46616         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46617         Deconditionalize the code that was previously under [RESET_PID].
46618         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46620         * sysdeps/generic/exit-thread.h: New file.
46621         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46622         * include/unistd.h (__exit_thread): Remove declaration.
46623         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46624         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46625         * csu/libc-start.c: Include <exit-thread.h>.
46626         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46627         * nptl/pthread_create.c: Include <exit-thread.h>.
46628         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46629         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46630         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46631         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46632         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46633         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46634         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46635         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46636         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46637         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46638         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46639         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46640         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46641         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46642         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46643         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46644         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46646 2014-05-13  Andreas Schwab  <schwab@suse.de>
46648         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46650 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46652         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46653         (__ASSUME_UTIMES): Do not condition on kernel version.
46654         (__ASSUME_PSELECT): Define unconditionally.
46655         (__ASSUME_PPOLL): Likewise.
46656         (__ASSUME_ATFCTS): Likewise.
46657         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46658         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46659         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46660         (__ASSUME_UTIMENSAT): Define unconditionally.
46661         (__ASSUME_PRIVATE_FUTEX): Likewise.
46662         (__ASSUME_FALLOCATE): Likewise.
46663         (__ASSUME_O_CLOEXEC): Likewise.
46664         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46665         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46666         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46667         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46668         (__ASSUME_IN_NONBLOCK): Likewise.
46669         (__ASSUME_PIPE2): Likewise.
46670         (__ASSUME_EVENTFD2): Likewise.
46671         (__ASSUME_SIGNALFD4): Likewise.
46672         (__ASSUME_DUP3): Likewise.
46673         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46674         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46675         (__ASSUME_AT_RANDOM): Likewise.
46676         (__ASSUME_PREADV): Likewise.
46677         (__ASSUME_PWRITEV): Likewise.
46678         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46679         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46680         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46681         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46682         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46683         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46684         (__ASSUME_O_CLOEXEC): Define unconditionally.
46685         (__ASSUME_PSELECT): Do not undefine conditionally.
46686         (__ASSUME_PPOLL): Likewise.
46687         (__ASSUME_ATFCTS): Likewise.
46688         (__ASSUME_SET_ROBUST_LIST): Likewise.
46689         (__ASSUME_UTIMENSAT): Likewise.
46690         (__ASSUME_FDATASYNC): Define unconditionally.
46691         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46692         (__ASSUME_SIGFRAME_V2): Likewise.
46693         )__ASSUME_EVENTFD2): Likewise.
46694         (__ASSUME_SIGNALFD4): Likewise.
46695         (__ASSUME_PSELECT): Do not undefine conditionally.
46696         (__ASSUME_PPOLL): Likewise.
46697         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46698         (__ASSUME_PSELECT): Define unconditionally.
46699         (__ASSUME_PPOLL): Likewise.
46700         (__ASSUME_O_CLOEXEC): Likewise.
46701         (__ASSUME_SOCK_CLOEXEC): Likewise.
46702         (__ASSUME_IN_NONBLOCK): Likewise.
46703         (__ASSUME_PIPE2): Likewise.
46704         (__ASSUME_EVENTFD2): Likewise.
46705         (__ASSUME_SIGNALFD4): Likewise.
46706         (__ASSUME_DUP3): Likewise.
46707         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46708         (__ASSUME_O_CLOEXEC): Likewise.
46709         (__ASSUME_SOCK_CLOEXEC): Likewise.
46710         (__ASSUME_IN_NONBLOCK): Likewise.
46711         (__ASSUME_PIPE2): Likewise.
46712         (__ASSUME_EVENTFD2): Likewise.
46713         (__ASSUME_SIGNALFD4): Likewise.
46714         (__ASSUME_DUP3): Likewise.
46715         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46716         (__ASSUME_EVENTFD2): Likewise.
46717         (__ASSUME_SIGNALFD4): Likewise.
46718         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46720 2014-05-12  Andreas Schwab  <schwab@suse.de>
46722         [BZ #16932]
46723         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46724         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46725         than maximum RPC packet size.
46726         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46727         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46728         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46729         (_nss_nis_getservbyport_r): Likewise.
46731 2014-05-12  Will Newton  <will.newton@linaro.org>
46733         * malloc/Makefile (tests): Add tst-mallopt.
46734         * malloc/tst-mallopt.c: New file.
46736 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46738         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46739         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46741 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46743         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46744         (tst-tlsmod6.so): Likewise.
46746 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46748         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46750 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46752         [BZ #16064]
46753         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46754         and <dl-procinfo.h>.
46755         (__fegetenv): Save SSE state in envp->__eip if supported.
46756         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46757         envp->__eip if supported.
46758         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46759         and <dl-procinfo.h>.
46760         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46761         __data_offset and __data_selector in environment to 0.  Set SSE
46762         state if supported.
46763         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46764         test-fenv-sse.
46765         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46766         -mfpmath=sse.
46767         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46769 2014-05-09  Will Newton  <will.newton@linaro.org>
46771         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46772         and libc_relro_required for ARM.
46773         * sysdeps/arm/preconfigure: Regenerate.
46775 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46776             Stefan Liebler  <stli@linux.vnet.ibm.com>
46778         * config.make.in (enable-lock-elision): New Makefile variable.
46779         * configure.ac: Likewise.
46780         * configure: Regenerate.
46781         * sysdeps/s390/configure.ac:
46782         Add check for gcc transactions support.
46783         * sysdeps/s390/configure: Regenerate.
46784         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46785         Build elision files if enabled.
46786         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46787         Add lock elision support for s390.
46788         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46789         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46790         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46791         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46792         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46793         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46794         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46795         Likewise.
46796         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46797         Likewise.
46798         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46799         Likewise.
46800         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46801         Likewise.
46802         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46803         (__lll_timedlock_elision, __lll_lock_elision)
46804         (__lll_unlock_elision, __lll_trylock_elision)
46805         (lll_timedlock_elision, lll_lock_elision)
46806         (lll_unlock_elision, lll_trylock_elision): Add.
46807         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46808         (pthread_mutex_t): Add lock elision support for s390.
46810 2014-05-14  Wilco  <wdijkstr@arm.com>
46812         * sysdeps/arm/fclrexcpt.c: Cleanup.
46813         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46814         * sysdeps/arm/feenablxcpt.c: Cleanup.
46815         * sysdeps/arm/fegetenv.c: Cleanup.
46816         * sysdeps/arm/fegetexcept.c: Cleanup.
46817         * sysdeps/arm/fegetround.c: Cleanup.
46818         * sysdeps/arm/feholdexcpt.c: Cleanup.
46819         * sysdeps/arm/fesetenv.c: Cleanup.
46820         * sysdeps/arm/fesetround.c: Cleanup.
46821         * sysdeps/arm/feupdateenv.c: Cleanup.
46822         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46823         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46824         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46825         * sysdeps/arm/ftestexcept.c: Cleanup.
46826         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46827         * sysdeps/arm/setfpucw.c: Cleanup.
46829 2014-05-09  Will Newton  <will.newton@linaro.org>
46831         * sysdeps/arm/armv7/strcmp.S: New file.
46832         * NEWS: Mention addition of ARMv7 optimized strcmp.
46834 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46836         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46837         look for %.ac rather than %.in.
46839         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46840         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46841         * sysdeps/mach/hurd/configure: Regenerated.
46842         * sysdeps/unix/sysv/linux/configure: Regenerated.
46844         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46846 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46848         [BZ #16922]
46849         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46850         (LONG_SUB): Ditto.
46851         (PTR_SUB): Ditto.
46853 2014-05-07  Andreas Schwab  <schwab@suse.de>
46855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46856         when skipping over non-matching result from nscd.
46858 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46860         [BZ #16876]
46861         * nptl/sockperf.c (client): Check socket return value.
46863         [BZ #16877]
46864         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46865         nscd security class.
46867 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46869         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46870         * sysdeps/arm/unwind.h: ... here.
46872 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46874         [BZ #16916]
46875         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46876         Define.
46878 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46880         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46881         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46882         multiarch strncpy for PPC64.
46883         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46884         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46885         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46886         multiarch optimizations.
46887         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46888         (__libc_ifunc_impl_list): Likewise.
46889         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46890         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46891         multiarch stpncpy for PPC64.
46892         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46893         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46895 2014-05-06  Andreas Schwab  <schwab@suse.de>
46897         [BZ #16912]
46898         * gmon/mcount.c (_MCOUNT_DECL): Use
46899         atomic_compare_and_exchange_bool_acq instead of
46900         catomic_compare_and_exchange_bool_acq.
46902 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46904         * elf/Makefile (others, install-bin): Remove pldd.
46905         (pldd-modules): Variable removed.
46906         ($(objpfx)pldd): Target removed.
46907         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46908         (others, install-bin): Append pldd here.
46909         ($(objpfx)pldd): New target.
46911         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46912         to 0, so the first #if test emitted later doesn't see it undefined.
46913         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46914         * sysdeps/gnu/errlist.c: Regenerated.
46916 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46918         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46919         [libc_hidden_builtin_def]: Define to empty value.
46920         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46921         [libc_hidden_builtin_def]: Likewise.
46922         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46923         [libc_hidden_builtin_def]: Likewise.
46924         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46925         [libc_hidden_builtin_def]: Likewise.
46926         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46927         __redirect_memcpy and define ifunc as default hidden symbol.
46928         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46929         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46931 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46933         * locale/iso-4217.def: Reintroduce XDR currency.
46935 2014-05-04  Allan McRae  <allan@archlinux.org>
46937         * po/eo.po: Update Esperanto translation from translation project.
46939 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46941         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46942         and FEATURE_INDEX_MAX to 1.
46943         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46945 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46947         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46948         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46949         * iconvdata/big5.c (ONE_DIRECTION): Define.
46950         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46951         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46952         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46953         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46954         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46955         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46956         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46957         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46958         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46959         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46960         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46961         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46962         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46963         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46964         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46965         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46966         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46967         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46968         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46969         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46970         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46971         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46972         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46973         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46974         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46975         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46976         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46977         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46978         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46979         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46980         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46981         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46982         * iconvdata/johab.c (ONE_DIRECTION): Define.
46983         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46984         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46985         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46986         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46987         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46988         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46989         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46990         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
46991         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
46992         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
46994 2014-05-01  Roland McGrath  <roland@hack.frob.com>
46996         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
46997         (_IO_JUMPS_OFFSET): Define to 0.
46999         * nptl/sysdeps/pthread/bits/libc-lock.h
47000         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47001         (__libc_lock_define_initialized_recursive): Always define using
47002         initializer.  Modern compilers treat uninitialized (implicit zero) and
47003         explicit zero initializers the same (i.e. put the datum in bss).
47005 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47007         * nscd/nscd-client.h: Include <string.h>.
47009 2014-05-01  David S. Miller  <davem@davemloft.net>
47011         [BZ #16885]
47012         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47013         multiple zero bytes exist at the end of a string.
47014         Reported by Aurelien Jarno <aurelien@aurel32.net>
47016         * string/test-strcmp.c (check): Add explicit test for situations where
47017         there are multiple zero bytes after the first.
47019 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47021         [BZ #16890]
47022         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47023         when compiling wprintf.
47024         * stdio-common/tstdiomisc.c (t3): New function.
47025         (main): Call it.
47027 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47029         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47030         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47031         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47032         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47034 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47036         * stdlib/longlong.h: Updated from GCC.
47038 2014-05-01  Will Newton  <will.newton@linaro.org>
47039             Bernard Ogden  <bernie.ogden@linaro.org>
47041         * NEWS: Update fixed bug list.
47043         [BZ #15119]
47044         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47046 2014-04-30  David S. Miller  <davem@davemloft.net>
47048         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47049         (libc_feholdexcept_setround_sparc_ctx): New function.
47050         (libc_fesetenv_sparc_ctx): Likewise.
47051         (libc_feupdateenv_sparc_ctx): Likewise.
47052         (libc_feholdsetround_sparc_ctx): Likewise.
47053         (libc_feholdexcept_setround_ctx): Define.
47054         (libc_feholdexcept_setroundf_ctx): Likewise.
47055         (libc_feholdexcept_setroundl_ctx): Likewise.
47056         (libc_fesetenv_ctx): Likewise.
47057         (libc_fesetenvf_ctx): Likewise.
47058         (libc_fesetenvl_ctx): Likewise.
47059         (libc_feupdateenv_ctx): Likewise.
47060         (libc_feupdateenvf_ctx): Likewise.
47061         (libc_feupdateenvl_ctx): Likewise.
47062         (libc_feresetround_ctx): Likewise.
47063         (libc_feresetroundf_ctx): Likewise.
47064         (libc_feresetroundl_ctx): Likewise.
47065         (libc_feholdsetround_ctx): Likewise.
47066         (libc_feholdsetroundf_ctx): Likewise.
47067         (libc_feholdsetroundl_ctx): Likewise.
47069         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47070         with __USE_GNU instead of XOPEN cpp guards.
47072         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47073         0.
47075         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47076         with XOPEN cpp guards.
47078 2014-04-30  Julian Brown  <julian@codesourcery.com>
47080         [BZ #16888]
47081         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47082         handling.
47084 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47086         [BZ #9894]
47087         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47088         Change to 2.6.32.
47089         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47090         * sysdeps/unix/sysv/linux/configure: Regenerated.
47091         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47092         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47093         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47094         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47095         * README: Update reference to required Linux kernel version.
47096         * manual/install.texi (Linux): Update reference to required Linux
47097         kernel headers version.
47098         * INSTALL: Regenerated.
47100         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47101         header inclusion.
47102         [POSIX] (limits.h): Likewise.
47103         [POSIX] (math.h): Likewise.
47104         [POSIX] (sys/wait.h): Likewise.
47105         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47106         function.
47107         [POSIX] (stddef.h): Do not allow header inclusion.
47109 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47111         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47113 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47115         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47116         Return immediately after lll_futex_wake.
47118 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47120         [BZ #16791]
47121         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47122         structure.
47123         (datahead_init_pos): Call datahead_init_common early.
47124         (datahead_init_neg): Likewise.
47126         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47127         datahead_init_neg): New functions.
47128         * nscd/aicache.c (addhstaiX): Use them.
47129         * nscd/grpcache.c (cache_addgr): Likewise.
47130         * nscd/hstcache.c (cache_addhst): Likewise.
47131         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47132         * nscd/netgroupcache.c (do_notfound): Likewise.
47133         (addgetnetgrentX): Likewise.
47134         (addinnetgrX): Likewise.
47135         * nscd/pwdcache.c (cache_addpw): Likewise.
47136         * nscd/servicescache.c (cache_addserv): Likewise.
47138 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47139             Atsushi Onoe  <atsushi@onoe.org>
47141         [BZ #14308]
47142         [BZ #12994]
47143         [BZ #13651]
47144         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47145         one response is valid.
47146         * resolv/res_send.c (send_dg): Check for validity of other
47147         response if the current response is a referral.
47149 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47151         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47153 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47155         [BZ #16823]
47156         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47157         Always divide by positive zero when computing -Inf result.
47158         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47159         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47161 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47163         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47164         FPSCR if value do not change.
47165         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47166         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47167         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47168         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47169         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47170         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47171         function.
47173 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47175         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47176         * sysdeps/unix/sysv/linux/hppa: Move directory from
47177         ports/systeps/unix/sysv/linux/hppa.
47178         * README: Update listing for hppa-*-linux-gnu.
47180 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47182         [BZ #16754]
47183         * manual/stdio.texi (Hook functions): Fix types of stream hook
47184         functions.
47185         [BZ #16854]
47186         * socket/sys/socket.h: Fix typo in comment.
47188 2014-04-28  Wilco  <wdijkstr@arm.com>
47190         * sysdeps/arm/fenv_private.h: New file.
47191         * sysdeps/arm/math_private.h: New file.
47192         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47194 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47196         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47197         with __int128_t.
47198         (La_x86_64_retval): Likewise.
47200 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47202         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47203         fpsr if value didn't change.
47204         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47205         to fpcr if value didn't change.
47206         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47207         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47208         fpsr or fpcr if value didn't change.
47209         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47210         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47211         fpcr if value didn't change.
47212         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47213         to fpsr if value didn't change.
47215 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47217         * nptl/tst-sem3.c: Use test-skeleton.c
47218         (main): Rename to do_test.  Use return instead of
47219         exit.
47220         * nptl/tst-sem4.c: Use test-skeleton.c
47221         (main): Rename to do_test.
47223 2014-04-22  David S. Miller  <davem@davemloft.net>
47225         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47226         (struct sigaction): New struct member __glibc_reserved0, change
47227         type of sa_flags to int.
47229 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47231         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47232         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47234 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47236         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47237         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47239 2014-04-22  Will Newton  <will.newton@linaro.org>
47240             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47242         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47243         (__longjmp): Add longjmp and longjmp_target SystemTap
47244         probes.
47245         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47246         (__sigsetjmp): Add setjmp SystemTap probe.
47248 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47250         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47251         match manual order.
47253 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47255         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47257         * sysdeps/powerpc/fpu/fenv_private.h
47258         (libc_feholdexcept_setroundl_ctx): Define to
47259         libc_feholdexcept_setround_ppc_ctx.
47260         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47261         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47262         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47263         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47265 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47267         * sysdeps/aarch64/math-tests.h: New file.
47269 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47271         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47272         New.
47273         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47274         Check and set bit_AVX2_Usable.
47275         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47276         macro.
47277         (bit_AVX2): Likewise.
47278         (index_AVX2_Usable): Likewise.
47279         (CPUID_AVX2): Likewise.
47280         (HAS_AVX2): Likewise.
47282 2014-04-17  Will Newton  <will.newton@linaro.org>
47284         * manual/setjmp.texi (System V contexts): Add note that
47285         calling setcontext on a context created by a call to a
47286         signal handler is undefined.  Update text to note that
47287         setcontext from a signal handler is possible but not
47288         recommended.
47290         [BZ #16629]
47291         * stdlib/tst-setcontext.c: Include signal.h.
47292         (main): Check that the signal stack before and
47293         after swapcontext is the same.
47295         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47296         Re-implement to restore registers in user code and avoid
47297         rt_sigreturn system call.
47299 2014-04-17  Wilco  <wdijkstr@arm.com>
47301         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47302         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47303         * math/test-fenv.c: Skip exception trap tests on targets which only
47304         support non-stop mode.
47306 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47307             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47309         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47310         (libc_feholdsetround_aarch64_ctx)
47311         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47312         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47313         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47314         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47315         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47316         (libc_feresetround_noexl_ctx): Define.
47318 2014-04-16  Richard Henderson  <rth@redhat.com>
47320         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47322         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47323         unwind tables.
47325         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47326         const from the non-libc, non-ldso copy.
47328         * sysdeps/alpha/libm-test-ulps: Regenerate.
47330 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47331             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47333         * sysdeps/aarch64/fpu/math_private.h: New file.
47335 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47337         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47339 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47341         [BZ #16275]
47342         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47343         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47344         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47345         Intel MPX bound registers before _dl_profile_fixup.
47346         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47347         registers after _dl_profile_fixup.  Save and restore bound
47348         registers bnd0/bnd1 when calling _dl_call_pltexit.
47349         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47350         (LR_BND_OFFSET): Likewise.
47351         (LRV_BND0_OFFSET): Likewise.
47352         (LRV_BND1_OFFSET): Likewise.
47354 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47356         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47357         to...
47358         * sysdeps/mach/hurd/i386/tls.h: ... here.
47359         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47360         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47361         fields.
47363 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47365         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47367 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47369         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47371 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47373         [BZ #14770]
47374         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47375         * sysdeps/s390/configure: Regenerate.
47377         [BZ #16824]
47378         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47379         Set round-to-nearest internally to reduce error accumulation.
47381 2014-04-16  Alan Modra  <amodra@gmail.com>
47383         [BZ #16740]
47384         [BZ #16619]
47385         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47386         * math/libm-test.inc (frexp_test_data): Add tests.
47387         * NEWS: Update fixed bug list.
47389 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47391         * benchtests/Makefile: Depend on libraries in build directory.
47392         (bench-math): Separate out math tests.
47393         (bench-pthread): Separate out pthread tests.
47394         (bench): Include math and pthread tests.
47396 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47398         [BZ #16831]
47399         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47400         _dl_debug_initialize.
47402         * configure.ac: Remove SELinux header check.
47403         * configure: Regenerate.
47404         * nscd/selinux.c (perms): Array of const char* to permission names.
47405         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47406         default policy. Call string_to_security_class and string_to_av_perm to
47407         translate strings. Enforce default policy and call avs_has_perm with
47408         results of translated strings.
47410 2014-04-13  David S. Miller  <davem@davemloft.net>
47412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47414 2014-04-12  Allan McRae  <allan@archlinux.org>
47416         [BZ #16838]
47417         * manual/string.texi (Collation Functions): Fix qsort argument
47418         order in example.
47419         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47421 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47423         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47424         Make the test a no-op if there are no exceptions defined.
47426 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47428         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47429         enable-hardcoded-path-in-tests
47431 2014-04-11  Will Newton  <will.newton@linaro.org>
47433         * benchtests/Makefile (extra-objs): Add json-lib.o.
47434         (bench-func): Tidy up JSON output.
47435         * benchtests/bench-skeleton.c: Include json-lib.h.
47436         (main): Use JSON library functions to do output of
47437         benchmark results.
47438         * benchtests/bench-timing-type.c (main): Output the
47439         timing type simply, leaving formatting to the user.
47440         * benchtests/json-lib.c: New file.
47441         * benchtests/json-lib.h: Likewise.
47443 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47445         [BZ #15215]
47446         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47447         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47448         memory barriers.  Add comments.
47449         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47450         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47451         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47452         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47453         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47454         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47456 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47458         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47459         * sysdeps/s390/s390-64/configure.ac: ... this ...
47460         * sysdeps/s390/configure.ac: ... to here.
47461         * sysdeps/s390/s390-32/configure: Delete file.
47462         * sysdeps/s390/s390-64/configure: Delete file.
47463         * sysdeps/s390/configure: Regenerate.
47465 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47467         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47469 2014-04-11  Will Newton  <will.newton@linaro.org>
47471         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47472         to zero if it is not defined elsewhere.  (mtrim): Test
47473         the value of MALLOC_DEBUG with #if rather than #ifdef.
47475 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47477         * benchtests/pthread_once-inputs: New file.
47478         * benchtests/pthread_once-source.c: New file.
47479         * benchtests/README: Update documentation.
47481 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47482             H.J. Lu  <hongjiu.lu@intel.com>
47484         [BZ #16275]
47485         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47486         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47487         * sysdeps/x86_64/configure: Regenerated.
47488         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47489         macro.
47490         (REGISTER_SAVE_RAX): Likewise.
47491         (REGISTER_SAVE_RCX): Likewise.
47492         (REGISTER_SAVE_RDX): Likewise.
47493         (REGISTER_SAVE_RSI): Likewise.
47494         (REGISTER_SAVE_RDI): Likewise.
47495         (REGISTER_SAVE_R8): Likewise.
47496         (REGISTER_SAVE_R9): Likewise.
47497         (REGISTER_SAVE_BND0): Likewise.
47498         (REGISTER_SAVE_BND1): Likewise.
47499         (REGISTER_SAVE_BND2): Likewise.
47500         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47501         bound registers when calling _dl_fixup.
47503 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47505         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47506         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47507         of its definition.
47508         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47509         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47510         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47511         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47512         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47513         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47514         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47516 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47518         [BZ #15514]
47519         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47520         pathconf(_PC_NAME_MAX).
47522 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47524         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47525         Remove macro usage.
47526         (__PTHREAD_SPINS): Move definition to ...
47527         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47528         (__PTHREAD_SPINS): ... here.
47529         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47530         (__PTHREAD_SPIN): Likewise.
47531         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47532         (__PTHREAD_SPIN): Likewise.
47533         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47534         (__PTHREAD_SPIN): Likewise.
47535         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47536         (__PTHREAD_SPIN): Likewise.
47537         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47538         (__PTHREAD_SPIN): Likewise.
47539         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47540         (__PTHREAD_SPIN): Likewise.
47541         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47542         (__PTHREAD_SPIN): Likewise.
47543         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47544         (__PTHREAD_SPIN): Likewise.
47545         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47546         (__PTHREAD_SPIN): Likewise.
47547         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47548         (__PTHREAD_SPIN): Likewise.
47549         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47550         (__PTHREAD_SPIN): Likewise.
47551         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47552         (__PTHREAD_SPIN): Likewise.
47554         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47555         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47556         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47557         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47558         imply folder.
47559         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47560         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47561         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47562         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47563         correct imply path.
47564         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47565         strlen symbol for non multi-arch builds.
47566         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47567         missing hidden_def and weak_alias.
47569 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47571         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47573 2014-04-07  Will Newton  <will.newton@linaro.org>
47575         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47576         and contents.  [!_LIBC] Remove #ifndef and contents.
47577         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47578         * string/memccpy.c (__memccpy): Use ANSI prototype.
47579         * string/memfrob.c (memfrob): Likewise.
47580         * string/strcoll.c (STRCOLL): Likewise.
47581         * string/strlen.c (strlen): Likewise.
47582         * string/strtok.c (STRTOK): Likewise.
47583         * string/strcat.c: Remove unused #include of memcopy.h.
47584         (strcat): Use ANSI prototype.
47585         * string/strchr.c: Remove unused #include of memcopy.h.
47586         (strchr): Use ANSI prototype.
47587         * string/strcmp.c: Remove unused #include of memcopy.h.
47588         (strcmp): Use ANSI prototype.
47589         * string/strcpy.c: Remove unused #include of memcopy.h.
47590         (strcpy): Use ANSI prototype.
47592 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47594         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47595         * config.make.in (config-extra-cppflags): Set it from
47596         libc_extra_cppflags.
47597         * configure.ac (libc_extra_cflags): Make it accumulate over
47598         configure fragments.
47599         (libc_extra_cppflags): New flag.
47600         * configure. Regenerate.
47601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47602         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47603         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47606         [BZ #16815]
47607         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47608         result for FE_DOWNWARD rounding mode.
47609         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47610         Likewise.
47611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47613 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47615         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47616         in function argument name.
47618 2014-04-03  David Svoboda  <svoboda@cert.org>
47620         [BZ #5666]
47621         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47622         explicitly.
47624 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47626         * elf/dl-unmap-segments.h: New file.
47627         * sysdeps/generic/ldsodefs.h
47628         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47629         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47630         * elf/dl-fptr.c: Likewise.
47631         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47632         * sysdeps/aarch64/tlsdesc.c: Likewise.
47633         * sysdeps/arm/tlsdesc.c: Likewise.
47634         * sysdeps/i386/tlsdesc.c: Likewise.
47635         * sysdeps/tile/dl-runtime.c: Likewise.
47636         * sysdeps/x86_64/tlsdesc.c: Likewise.
47637         * elf/dl-load.h: New file.
47638         * elf/dl-load.c: Include it.
47639         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47640         Macros moved to dl-load.h.
47641         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47642         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47643         Use _dl_unmap_segments in place of __munmap.
47644         Break out segment-mapping loop into ...
47645         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47647 2014-04-03  Will Newton  <will.newton@linaro.org>
47649         * elf/dl-lookup.c (do_lookup_x): Remove comment
47650         referring to nested function and move variable
47651         declarations down to before first use.
47653 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47655         [BZ #16799]
47656         [BZ #16800]
47657         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47658         with 0 numerator.
47659         * math/s_catanf.c (__catanf): Likewise.
47660         * math/s_catanh.c (__catanh): Likewise.
47661         * math/s_catanhf.c (__catanhf): Likewise.
47662         * math/s_catanhl.c (__catanhl): Likewise.
47663         * math/s_catanl.c (__catanl): Likewise.
47664         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47665         by positive zero when computing -Inf result.
47666         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47667         (catanh_test): Likewise.
47668         * sysdeps/i386/fpu/libm-test-ulps: Update.
47669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47671         [BZ #16789]
47672         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47673         instead of using underflowing value in computing result.
47674         * math/s_clog10.c (__clog10): Likewise.
47675         * math/s_clog10f.c (__clog10f): Likewise.
47676         * math/s_clog10l.c (__clog10l): Likewise.
47677         * math/s_clogf.c (__clogf): Likewise.
47678         * math/s_clogl.c (__clogl): Likewise.
47679         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47680         (clog10_test): Likewise.
47681         * sysdeps/i386/fpu/libm-test-ulps: Update.
47682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47684 2014-04-02  Alan Modra  <amodra@gmail.com>
47686         [BZ #16739]
47687         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47688         output when value is near a power of two.  Use int64_t for lx and
47689         remove casts.  Use decimal rather than hex exponent constants.
47690         Don't use long double multiplication when double will suffice.
47691         * math/libm-test.inc (nextafter_test_data): Add tests.
47692         * NEWS: Add 16739 and 16786 to bug list.
47694         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47696         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47698 2014-04-01  Will Newton  <will.newton@linaro.org>
47700         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47701         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47703 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47705         [BZ #13347]
47706         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47707         * nptl/tst-setuid2.c: New file.
47708         * nptl/Makefile (xtests): Add tst-setuid2.
47710 2014-04-01  Alan Modra  <amodra@gmail.com>
47712         [BZ #16786]
47713         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47715 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47717         [BZ #6803]
47718         [BZ #6804]
47719         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47720         set errno as appropriate.
47721         * math/w_scalbf.c (__scalbf): Likewise.
47722         * math/w_scalbl.c (__scalbl): Likewise.
47723         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47724         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47725         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47726         Add more NaN tests.
47728         [BZ #16349]
47729         * math/w_atan2.c: Include <errno.h>.
47730         (__atan2): Set errno for result underflowing to zero.
47731         * math/w_atan2f.c: Include <errno.h>.
47732         (__atan2f): Set errno for result underflowing to zero.
47733         * math/w_atan2l.c: Include <errno.h>.
47734         (__atan2l): Set errno for result underflowing to zero.
47735         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47736         tests.
47737         * math/auto-libm-test-out: Regenerated.
47739 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47741         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47742         Encode instruction correctly in little endian.
47743         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47744         Likewise.
47745         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47746         Likewise.
47747         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47748         Likewise.
47749         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47750         Likewise.
47752 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47754         [BZ #9894]
47755         * sysdeps/unix/sysv/linux/kernel-features.h
47756         [__sparc__ && !__arch64__ && !__sparc_v9__]
47757         (__ASSUME_SET_ROBUST_LIST): Do not define.
47758         [__sparc__ && !__arch64__ && !__sparc_v9__]
47759         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47760         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47761         Likewise.
47762         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47763         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47764         (__ASSUME_REQUEUE_PI): Likewise.
47765         (__ASSUME_SET_ROBUST_LIST): Likewise.
47766         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47767         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47768         Undefine.
47769         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47770         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47771         Likewise.
47772         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47773         Likewise.
47774         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47775         Likewise.
47776         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47777         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47778         Undefine.
47779         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47780         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47781         Likewise.
47783         [BZ #16648]
47784         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47785         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47786         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47788 2014-03-31  Will Newton  <will.newton@linaro.org>
47790         * benchtests/Makefile (bench): Add ffs and ffsll to list
47791         of tests.
47792         * benchtests/ffs-inputs: New file.
47793         * benchtests/ffsll-inputs: Likewise.
47795 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47797         [BZ #16770]
47798         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47799         too large before casting to int.
47800         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47801         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47802         * math/libm-test.inc (scalb_test_data): Add more tests.
47804 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47806         * benchtests/Makefile (DETAILED_OPT): New make option.
47807         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47808         set.
47809         * benchtests/bench-skeleton.c: Include stdbool.h.
47810         (main): Store and print timings per input.
47811         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47812         member to each argument value.
47813         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47814         (_print_arg_data): Initialize per-input timing to 0.
47816         * benchtests/Makefile (timing-type): New binary.
47817         (bench-clean): Also remove bench-timing-type.
47818         (bench): New target for timing-type.
47819         (bench-func): Print output in JSON format.
47820         * benchtests/bench-skeleton.c (main): Print output in JSON
47821         format.
47822         * benchtests/bench-timing-type.c: New file.
47823         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47824         (TIMING_PRINT_STATS): Remove.
47825         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47826         name separately.
47828         * benchtests/bench-modf.c: Remove.
47829         * benchtests/modf-inputs: New inputs file.
47831 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47833         [BZ #16362]
47834         * math/s_clog10.c (M_PI_LOG10E): New macro.
47835         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47836         imaginary parts are 0.
47837         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47838         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47839         imaginary parts are 0.
47840         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47841         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47842         imaginary parts are 0.
47843         * math/libm-test.inc (clog10_test_data): Update expected results
47844         for when real and imaginary parts are 0.
47846 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47848         * elf/dl-load.c: Finish conversion of __builtin_expect into
47849         __glibc_{un}likely.
47851 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47853         [BZ #16348]
47854         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47855         1+x for argument with exponent below -67.
47856         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47857         Likewise.
47858         * math/auto-libm-test-in: Add more tests of exp.
47859         * math/auto-libm-test-out: Regenerated.
47861 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47863         [BZ #16759]
47864         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47865         (nscd_getnetgrent): Use it.
47867         [BZ #16760]
47868         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47869         of stpcpy.
47871 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47873         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47874         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47875         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47876         (lll_robust_unlock): Remove out of line section. Use cfi
47877         intrinsics.
47878         (LLL_STUB_UNWIND_INFO*): Remove.
47879         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47880         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47881         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47882         (lll_robust_unlock): Remove out of line section. Use cfi
47883         intrinsics.
47884         (LLL_STUB_UNWIND_INFO*): Remove.
47886 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47888         [BZ #16758]
47889         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47890         blank values.
47892 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47894         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47896 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47898         [BZ #16198]
47899         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47900         fnstenv.
47901         * math/test-fenv-preserve.c: New file.
47902         * math/Makefile (tests): Add test-fenv-preserve.
47904 2014-03-26  Will Newton <will.newton@linaro.org>
47906         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47908 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47910         * scripts/versionlist.awk: Partition the version sets and emit all
47911         GLIBC_* (sorted) before all others (sorted).
47913 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47915         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47916         GLIBC_2.2.5 version.
47918 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47920         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47921         calls.
47923         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47924         previous change.
47926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47928 2014-03-25  Andreas Schwab  <schwab@suse.de>
47930         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47931         label to be used after in6ailist is initialized.
47933 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47935         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47936         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47938 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47940         [BZ #16357]
47941         [BZ #16599]
47942         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47943         min_plus_half.
47944         (fp_formats): Update initializers.
47945         (init_fp_formats): Initialize new field.
47946         (output_for_one_input_case): Allow underflow for results up to
47947         min_plus_half.
47948         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47949         * math/auto-libm-test-in: Don't mark some underflows from asin and
47950         atanh as spurious.
47951         * math/auto-libm-test-out: Regenerated.
47952         * sysdeps/i386/fpu/libm-test-ulps: Update.
47953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47955 2014-03-25  Andreas Schwab  <schwab@suse.de>
47957         * libio/Makefile (tst-ftell-partial-wide-ENV)
47958         (tst-ftell-active-handler-ENV): Define.
47960 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47962         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47964 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47966         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47968 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47970         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47971         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47972         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47974 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47976         [BZ #16634]
47977         * elf/dl-load.c (open_verify): Add mode parameter.
47978         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47979         (open_path): Change from boolean 'secure' to complete flag 'mode'
47980         (_dl_map_object): Adjust.
47981         * elf/Makefile (tests): Add tst-dlopen-aout.
47982         * elf/tst-dlopen-aout.c: New test.
47984 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47986         [BZ #16714]
47987         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47988         (struct stat): Rename member pad0 to __glibc_reserved0.
47990         [BZ #16712]
47991         * sysdeps/s390/s390-32/bits/wordsize.h
47992         (__WORDSIZE32_SIZE_ULONG): New define.
47993         * sysdeps/s390/s390-64/bits/wordsize.h
47994         (__WORDSIZE32_SIZE_ULONG): Likewise.
47995         * sysdeps/generic/stdint.h (SIZE_MAX):
47996         Define as UL if __WORDSIZE32_SIZE_ULONG.
47998         [BZ #16713]
47999         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48000         (__glibc_reserved0): New variable.
48001         (sa_flags): Change type to int.
48003         * posix/Makefile (before-compile): Use += before-compile instead
48004         of a :=.
48006         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48007         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48009 2014-03-20  Andreas Schwab  <schwab@suse.de>
48011         [BZ #16743]
48012         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48013         non-matching result from nscd.
48015 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48017         * scripts/bench.py: Moved to ...
48018         * benchtests/scripts/bench.py: ... here.
48019         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48021 2014-03-24  Andreas Schwab  <schwab@suse.de>
48023         [BZ #16002]
48024         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48025         alloca_account and account alloca use for struct in6ailist.
48027 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48029         [BZ #16284]
48030         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48031         rounding mode to recompute results that overflow to infinity or
48032         underflow to zero.
48033         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48034         bug 16284.
48035         * math/auto-libm-test-out: Regenerated.
48036         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48037         (ccosh_test): Likewise.
48038         (csin_test_data): Use plus_oflow.
48039         (csin_test): Use ALL_RM_TEST.
48040         (csinh_test_data): Use plus_oflow.
48041         (csinh_test): Use ALL_RM_TEST.
48042         * sysdeps/i386/fpu/libm-test-ulps: Update.
48043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48045 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48047         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48048         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48049         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48051         [BZ #16731]
48052         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48053         when x - 1 is zero.
48054         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48055         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48056         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48057         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48058         argument is 1.
48059         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48060         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48061         zero.
48062         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48063         * sysdeps/i386/fpu/libm-test-ulps: Update.
48064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48066 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48068         * scripts/bench.pl: Remove file.
48069         * scripts/bench.py: New benchmark script.
48070         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48071         * benchtests/README: Mention python dependency.
48072         * scripts/pylintrc: New file.
48073         * scripts/pylint: New file.
48075         * bits/mathdef.h: Use #ifdef instead of #if.
48076         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48077         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48078         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48079         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48080         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48081         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48083 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48084             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48086         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48088         and strpbrk-ppc64 objects.
48089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48090         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48091         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48092         multiarch strpbrk for POWER7.
48093         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48094         multiarch strpbrk for PPC64.
48095         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48096         ifunc selector.
48097         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48098         strpbrk for POWER7.
48100 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48102         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48103         (atan_test): Likewise.
48104         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48105         (atanh_test): Use ALL_RM_TEST.
48106         (atan2_test_data): Likewise.
48107         (cabs_test): Likewise.
48108         (cacosh_test): Likewise.
48109         (carg_test): Likewise.
48110         (casin_test): Likewise.
48111         (casinh_test): Likewise.
48112         (cbrt_test): Likewise.
48113         (csqrt_test): Likewise.
48114         (erf_test): Likewise.
48115         (erfc_test): Likewise.
48116         (pow10_test): Likewise.
48117         (exp2_test): Likewise.
48118         (hypot_test): Likewise.
48119         (j0_test): Likewise.
48120         (j1_test): Likewise.
48121         (lgamma_test): Likewise.
48122         (gamma_test): Likewise.
48123         (sincos_test): Likewise.
48124         (tanh_test): Likewise.
48125         (y0_test): Likewise.
48126         (y1_test): Likewise.
48127         * sysdeps/i386/fpu/libm-test-ulps: Update.
48128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48130 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48132         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48134         and strcspn-ppc64 objects.
48135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48136         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48137         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48138         multiarch strcspn for POWER7.
48139         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48140         multiarch strcspn for PPC64.
48141         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48142         ifunc selector.
48143         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48144         strcspn for POWER7.
48146 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48148         * math/gen-libm-test.pl (generate_testfile): Expect only function
48149         name as argument to AUTO_TESTS_* and pass results for all rounding
48150         modes to parse_args.
48151         (parse_auto_input): Separate inputs of automatic tests from
48152         outputs before storing in %auto_tests.
48153         * math/libm-test.inc (acos_test_data): Update call to
48154         AUTO_TESTS_f_f.
48155         (acos_test): Use ALL_RM_TEST.
48156         (acos_tonearest_test_data): Remove.
48157         (acos_test_tonearest): Likewise.
48158         (acos_towardzero_test_data): Likewise.
48159         (acos_test_towardzero): Likewise.
48160         (acos_downward_test_data): Likewise.
48161         (acos_test_downward): Likewise.
48162         (acos_upward_test_data): Likewise.
48163         (acos_test_upward): Likewise.
48164         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48165         (asin_test_data): Likewise.
48166         (asin_test): Use ALL_RM_TEST.
48167         (asin_tonearest_test_data): Remove.
48168         (asin_test_tonearest): Likewise.
48169         (asin_towardzero_test_data): Likewise.
48170         (asin_test_towardzero): Likewise.
48171         (asin_downward_test_data): Likewise.
48172         (asin_test_downward): Likewise.
48173         (asin_upward_test_data): Likewise.
48174         (asin_test_upward): Likewise.
48175         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48176         (atan_test_data): Likewise.
48177         (atanh_test_data): Likewise.
48178         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48179         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48180         (carg_test_data): Likewise.
48181         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48182         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48183         (ccosh_test_data): Likewise.
48184         (cexp_test_data): Likewise.
48185         (clog_test_data): Likewise.
48186         (clog10_test_data): Likewise.
48187         (cos_test_data): Update call to AUTO_TESTS_f_f.
48188         (cos_test): Use ALL_RM_TEST.
48189         (cos_tonearest_test_data): Remove.
48190         (cos_test_tonearest): Likewise.
48191         (cos_towardzero_test_data): Likewise.
48192         (cos_test_towardzero): Likewise.
48193         (cos_downward_test_data): Likewise.
48194         (cos_test_downward): Likewise.
48195         (cos_upward_test_data): Likewise.
48196         (cos_test_upward): Likewise.
48197         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48198         (cosh_test): Use ALL_RM_TEST.
48199         (cosh_tonearest_test_data): Remove.
48200         (cosh_test_tonearest): Likewise.
48201         (cosh_towardzero_test_data): Likewise.
48202         (cosh_test_towardzero): Likewise.
48203         (cosh_downward_test_data): Likewise.
48204         (cosh_test_downward): Likewise.
48205         (cosh_upward_test_data): Likewise.
48206         (cosh_test_upward): Likewise.
48207         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48208         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48209         (ctan_test_data): Likewise.
48210         (ctan_test): Use ALL_RM_TEST.
48211         (ctan_tonearest_test_data): Remove.
48212         (ctan_test_tonearest): Likewise.
48213         (ctan_towardzero_test_data): Likewise.
48214         (ctan_test_towardzero): Likewise.
48215         (ctan_downward_test_data): Likewise.
48216         (ctan_test_downward): Likewise.
48217         (ctan_upward_test_data): Likewise.
48218         (ctan_test_upward): Likewise.
48219         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48220         (ctanh_test): Use ALL_RM_TEST.
48221         (ctanh_tonearest_test_data): Remove.
48222         (ctanh_test_tonearest): Likewise.
48223         (ctanh_towardzero_test_data): Likewise.
48224         (ctanh_test_towardzero): Likewise.
48225         (ctanh_downward_test_data): Likewise.
48226         (ctanh_test_downward): Likewise.
48227         (ctanh_upward_test_data): Likewise.
48228         (ctanh_test_upward): Likewise.
48229         (erf_test_data): Update call to AUTO_TESTS_f_f.
48230         (erfc_test_data): Likewise.
48231         (exp_test_data): Likewise.
48232         (exp_test): Use ALL_RM_TEST.
48233         (exp_tonearest_test_data): Remove.
48234         (exp_test_tonearest): Likewise.
48235         (exp_towardzero_test_data): Likewise.
48236         (exp_test_towardzero): Likewise.
48237         (exp_downward_test_data): Likewise.
48238         (exp_test_downward): Likewise.
48239         (exp_upward_test_data): Likewise.
48240         (exp_test_upward): Likewise.
48241         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48242         (exp10_test): Use ALL_RM_TEST.
48243         (exp10_tonearest_test_data): Remove.
48244         (exp10_test_tonearest): Likewise.
48245         (exp10_towardzero_test_data): Likewise.
48246         (exp10_test_towardzero): Likewise.
48247         (exp10_downward_test_data): Likewise.
48248         (exp10_test_downward): Likewise.
48249         (exp10_upward_test_data): Likewise.
48250         (exp10_test_upward): Likewise.
48251         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48252         (expm1_test_data): Likewise.
48253         (expm1_test): Use ALL_RM_TEST.
48254         (expm1_tonearest_test_data): Remove.
48255         (expm1_test_tonearest): Likewise.
48256         (expm1_towardzero_test_data): Likewise.
48257         (expm1_test_towardzero): Likewise.
48258         (expm1_downward_test_data): Likewise.
48259         (expm1_test_downward): Likewise.
48260         (expm1_upward_test_data): Likewise.
48261         (expm1_test_upward): Likewise.
48262         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48263         (fma_test): Use ALL_RM_TEST.
48264         (fma_towardzero_test_data): Remove.
48265         (fma_test_towardzero): Likewise.
48266         (fma_downward_test_data): Likewise.
48267         (fma_test_downward): Likewise.
48268         (fma_upward_test_data): Likewise.
48269         (fma_test_upward): Likewise.
48270         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48271         (j0_test_data): Update call to AUTO_TESTS_f_f.
48272         (j1_test_data): Likewise.
48273         (jn_test_data): Update call to AUTO_TESTS_if_f.
48274         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48275         (log_test_data): Update call to AUTO_TESTS_f_f.
48276         (log10_test_data): Likewise.
48277         (log1p_test_data): Likewise.
48278         (log2_test_data): Likewise.
48279         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48280         (pow_tonearest_test_data): Likewise.
48281         (sin_test_data): Update call to AUTO_TESTS_f_f.
48282         (sin_test): Use ALL_RM_TEST.
48283         (sin_tonearest_test_data): Remove.
48284         (sin_test_tonearest): Likewise.
48285         (sin_towardzero_test_data): Likewise.
48286         (sin_test_towardzero): Likewise.
48287         (sin_downward_test_data): Likewise.
48288         (sin_test_downward): Likewise.
48289         (sin_upward_test_data): Likewise.
48290         (sin_test_upward): Likewise.
48291         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48292         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48293         (sinh_test): Use ALL_RM_TEST.
48294         (sinh_tonearest_test_data): Remove.
48295         (sinh_test_tonearest): Likewise.
48296         (sinh_towardzero_test_data): Likewise.
48297         (sinh_test_towardzero): Likewise.
48298         (sinh_downward_test_data): Likewise.
48299         (sinh_test_downward): Likewise.
48300         (sinh_upward_test_data): Likewise.
48301         (sinh_test_upward): Likewise.
48302         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48303         (sqrt_test): Use ALL_RM_TEST.
48304         (sqrt_tonearest_test_data): Remove.
48305         (sqrt_test_tonearest): Likewise.
48306         (sqrt_towardzero_test_data): Likewise.
48307         (sqrt_test_towardzero): Likewise.
48308         (sqrt_downward_test_data): Likewise.
48309         (sqrt_test_downward): Likewise.
48310         (sqrt_upward_test_data): Likewise.
48311         (sqrt_test_upward): Likewise.
48312         (tan_test_data): Update call to AUTO_TESTS_f_f.
48313         (tan_test): Use ALL_RM_TEST.
48314         (tan_tonearest_test_data): Remove.
48315         (tan_test_tonearest): Likewise.
48316         (tan_towardzero_test_data): Likewise.
48317         (tan_test_towardzero): Likewise.
48318         (tan_downward_test_data): Likewise.
48319         (tan_test_downward): Likewise.
48320         (tan_upward_test_data): Likewise.
48321         (tan_test_upward): Likewise.
48322         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48323         (tgamma_test_data): Likewise.
48324         (y0_test_data): Likewise.
48325         (y1_test_data): Likewise.
48326         (yn_test_data): Update call to AUTO_TESTS_if_f.
48327         (main): Do not call removed functions.
48329 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48331         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48332         (ldexp_test_data): Remove.
48333         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48334         scalbn_test_data.
48335         (scalb_test): Use ALL_RM_TEST.
48337 2014-03-19  Andreas Schwab  <schwab@suse.de>
48339         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48341 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48343         [BZ #16649]
48344         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48345         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48346         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48347         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48348         (__ASSUME_PREADV): Undefine.
48349         (__ASSUME_PWRITEV): Likewise.
48351 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48353         * bits/mman-linux.h: Add comment about non-Linux use.
48354         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48355         bits/mman-linux.h resting place.
48357         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48358         * bits/mman-linux.h: ... here.
48360 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48362         * conform/conformtest.pl: Add standard definition when calling C
48363         preprocessor on data files.
48364         (checknamespace): Remove unused variable.
48366 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48368         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48369         minus_oflow, plus_uflow and minus_uflow in expected results.
48370         * math/libm-test.inc (scalbn_test_data): Add more tests of
48371         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48372         minus_uflow.
48373         (scalbn_test): Use ALL_RM_TEST.
48374         (scalbln_test_data): Add more tests of negative arguments.  Use
48375         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48376         (scalbln_test): Use ALL_RM_TEST.
48378 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48380         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48382 2014-03-18  Will Newton  <will.newton@linaro.org>
48384         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48385         inaccurate comment.
48387 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48389         * Makerules [!subdir] (check-abi): Exit with error status if a
48390         test failed.
48392 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48394         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48395         for rint.  Include results for all rounding modes.
48396         (nearbyint_test): Use ALL_RM_TEST.
48397         (rint_test_data): Include all tests used for nearbyint.
48399 2014-03-17  Will Newton  <will.newton@linaro.org>
48401         * nptl/sysdeps/pthread/pthread.h: Revert previous
48402         change.
48404         * sysdeps/generic/ldsodefs.h: Revert previous
48405         change.
48407         * libio/genops.c: Revert previous change.
48408         * libio/libioP.h: Likewise.
48409         * stdio-common/vfprintf.c: Likewise.
48411         * sysdeps/generic/math_private.h: Revert previous
48412         change.
48414         * sysdeps/generic/math_private.h: Check whether
48415         HAVE_RM_CTX is defined with #ifdef rather
48416         than #if.
48418         * argp/argp-fmtstream.h: Check whether
48419         __STRICT_ANSI__ is defined with #ifdef rather
48420         than #if.
48421         * argp/argp.h: Likewise.
48423         * libio/genops.c: Check whether
48424         _IO_JUMPS_OFFSET is defined with #ifdef rather
48425         than #if.
48426         * libio/libioP.h: Likewise.
48427         * stdio-common/vfprintf.c: Likewise.
48429         * sysdeps/generic/ldsodefs.h: Check whether
48430         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48431         than #if.
48433         * nptl/sysdeps/pthread/pthread.h: Check
48434         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48435         its value.
48437 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48439         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48440         setting O_APPEND.
48441         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48442         test case.
48444         [BZ #16680]
48445         * libio/fileops.c (_IO_file_open): Seek to end of file but
48446         don't cache the offset.
48447         (get_file_offset): Remove function.
48448         (do_ftell): Use cached offset when available.
48449         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48450         don't cache the offset.
48451         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48452         case.
48453         (do_one_test): Call it.
48454         (do_ftell_test): Fix up expected old offset for a+ mode.
48455         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48456         available.
48458         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48459         up test status with function return status.
48460         (do_write_test): Likewise.
48461         (do_append_test): Likewise.
48463         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48464         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48465         Remove.
48467 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48469         * math/gen-libm-test.pl (parse_args): Handle results specified for
48470         each rounding mode separately.
48471         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48472         tests and results from lrint_tonearest_test_data,
48473         lrint_towardzero_test_data, lrint_downward_test_data and
48474         lrint_upward_test_data.
48475         (lrint_test): Use ALL_RM_TEST.
48476         (lrint_tonearest_test_data): Remove.
48477         (lrint_test_tonearest): Likewise.
48478         (lrint_towardzero_test_data): Likewise.
48479         (lrint_test_towardzero): Likewise.
48480         (lrint_downward_test_data): Likewise.
48481         (lrint_test_downward): Likewise.
48482         (lrint_upward_test_data): Likewise.
48483         (lrint_test_upward): Likewise.
48484         (llrint_test_data): Merge in per-rounding-mode tests and results
48485         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48486         llrint_downward_test_data and llrint_upward_test_data.
48487         (llrint_test): Use ALL_RM_TEST.
48488         (llrint_tonearest_test_data): Remove.
48489         (llrint_test_tonearest): Likewise.
48490         (llrint_towardzero_test_data): Likewise.
48491         (llrint_test_towardzero): Likewise.
48492         (llrint_downward_test_data): Likewise.
48493         (llrint_test_downward): Likewise.
48494         (llrint_upward_test_data): Likewise.
48495         (llrint_test_upward): Likewise.
48496         (rint_test_data): Merge in per-rounding-mode tests and results
48497         from rint_tonearest_test_data, rint_towardzero_test_data,
48498         rint_downward_test_data and rint_upward_test_data.  Add
48499         per-rounding-mode results for tests not in those arrays.
48500         (rint_test): Use ALL_RM_TEST.
48501         (rint_tonearest_test_data): Remove.
48502         (rint_test_tonearest): Likewise.
48503         (rint_towardzero_test_data): Likewise.
48504         (rint_test_towardzero): Likewise.
48505         (rint_downward_test_data): Likewise.
48506         (rint_test_downward): Likewise.
48507         (rint_upward_test_data): Likewise.
48508         (rint_test_upward): Likewise.
48509         (main): Don't call removed functions.
48511 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48513         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48514         "Compiled on ..." crapola.  It is anti-useful.
48516 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48518         * scripts/evaluate-test.sh: Handle fourth argument to determine
48519         whether test run should stop on failure.
48520         * Makeconfig (stop-on-test-failure): New variable.
48521         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48522         $(stop-on-test-failure).
48523         * Makefile (tests): Give a summary of results from testing and
48524         exit with failure status if they include an ERROR or FAIL.
48525         (xtests): Likewise.
48526         * manual/install.texi (Configuring and compiling): Mention
48527         stop-on-test-failure=y.
48528         * INSTALL: Regenerated.
48530 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48532         * scripts/versionlist.awk: New file.
48533         * Makerules [$(build-shared) = yes]
48534         (postclean-generated): Add Versions.def, not Versions.def.v and
48535         Versions.def.v.i.
48536         ($(common-objpfx)Versions.def.v.i): Target removed.
48537         ($(common-objpfx)Versions.def): New target.
48538         ($(common-objpfx)Versions.all): Depend on that rather that
48539         $(common-objpfx)Versions.def.v.
48540         * Versions.def: File removed.
48542         * Makeconfig (+gccwarn): Add -Wundef.
48543         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48544         a dl-sysdep.h breaking its contract.
48545         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48546         * include/stackinfo.h: New file.
48547         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48548         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48549         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48550         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48551         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48552         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48553         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48554         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48555         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48556         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48557         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48558         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48559         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48560         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48561         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48563 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48565         [BZ #16707]
48566         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48567         implementation.
48568         * math/libm-test.inc (round_test_data): Add more tests.
48570         [BZ #16706]
48571         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48572         implementation.
48573         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48575         [BZ #16701]
48576         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48577         implementation.
48578         * math/libm-test.inc (ceil_test_data): Add more tests.
48580         * math/libm-test.inc (trunc_test_data): Add more tests related to
48581         BZ#16414.
48583 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48585         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48586         with #if rather than #ifdef.
48587         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48589 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48591         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48592         first.  Disable AVX-512 GCC support if assembler doesn't support
48593         it.
48594         * sysdeps/x86_64/configure: Regenerated.
48596 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48598         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48599         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48600         (__old_pthread_attr_setstack): Likewise.
48601         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48602         [!_STACK_GROWS_DOWN]: Likewise.
48604 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48606         * config.make.in (have-bash2): Delete.
48607         * configure.ac (libc_cv_have_bash2): Delete.
48608         * configure: Regenerate.
48609         * elf/Makefile (common-ldd-rewrite): Rename to ...
48610         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48611         (sh-ldd-rewrite): Delete.
48612         (bash-ldd-rewrite): Delete.
48613         (have-bash2): Delete checks.
48614         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48615         ldd-rewrite.
48617         * config.make.in (have-ksh): Delete.
48618         (KSH): Delete.
48619         * configure.ac (libc_cv_have_ksh): Delete.
48620         * configure: Regenerate.
48622         * elf/Makefile: Delete $(have-ksh) check.
48623         ($(objpfx)sotruss): Change KSH to BASH.
48624         * elf/sotruss.ksh: Rename to ...
48625         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48626         function style to match POSIX.  Drop ksh vim mode setting.
48628         * manual/time.texi (Specifying the Time Zone with TZ): Change
48629         Tuesday to Thursday.
48631         * debug/tst-longjmp_chk2.c: Update header comment.
48632         (stackoverflow_handler): Add comment.  Call assert on pass value.
48634 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48636         [BZ #16194]
48637         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48638         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48639         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48640         (La_x86_64_vector): Add zmm.
48641         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48642         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48643         ($(objpfx)tst-audit10): New target.
48644         ($(objpfx)tst-audit10.out): Likewise.
48645         (tst-audit10-ENV): New.
48646         (AVX512-CFLAGS): Likewise.
48647         (CFLAGS-tst-audit10.c): Likewise.
48648         (CFLAGS-tst-auditmod10a.c): Likewise.
48649         (CFLAGS-tst-auditmod10b.c): Likewise.
48650         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48651         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48652         * sysdeps/x86_64/configure: Regenerated.
48653         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48654         AVX-512 zmm register support.
48655         (_dl_x86_64_save_sse): Likewise.
48656         (_dl_x86_64_restore_sse): Likewise.
48657         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48658         size vector registers.
48659         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48660         (ZMM_SIZE): Likewise.
48661         * sysdeps/x86_64/tst-audit10.c: New file.
48662         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48663         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48665 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48667         * configure.ac (HAVE_EHDR_START): New check.
48668         * configure: Regenerated.
48669         * config.h.in (HAVE_EHDR_START): New #undef.
48670         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48671         assuming the lowest-addressed segment maps the start of the file.
48673 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48675         * INSTALL: Regenerated.
48677 2014-03-13  Will Newton  <will.newton@linaro.org>
48679         * manual/setjmp.texi (System V contexts): Improve
48680         clarity and grammar of documentation.
48682 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48684         [BZ #16381]
48685         * elf/Makefile (tests): Add tst-pie2.
48686         (tests-pie): Add tst-pie2.
48687         * elf/tst-pie2.c: New file.
48688         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48689         for ET_EXEC.
48690         * elf/rtld.c (map_doit): Load executable as lt_executable.
48691         (dl_main): Likewise.
48693 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48695         [BZ #16642]
48696         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48697         (__ASSUME_PSELECT): Undefine.
48699 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48701         [BZ #16689]
48702         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48703         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48704         static build.
48705         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48706         selector for static builds.
48708 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48710         [BZ #16695]
48711         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48712         key in the buffer.
48714 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48716         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48717         IFUNC selector for static builds.
48719 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48721         * sysdeps/mips/math_private.h [__mips_hard_float]
48722         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48723         libc_feresetround_mips_ctx.
48724         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48725         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48726         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48728         [BZ #16677]
48729         * math/s_nextafter.c (__nextafter): Do not return value from
48730         overflowing computation.
48731         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48732         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48733         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48734         Likewise.
48735         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48736         Likewise.
48737         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48738         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48740 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48742         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48743         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48744         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48745         the new mov targetting sp.
48747 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48749         [BZ #16683]
48750         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48751         Define it for static builds as well.
48752         (NO_BZERO_IMPL): Likewise.
48754 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48756         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48757         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48758         multiarch strspn for PPC64.
48759         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48760         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48762         (__libc_ifunc_impl_list): Likewise.
48763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48764         multiarch optimizations
48765         * string/strspn.c (strspn): Using macro to redefine symbol name.
48767 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48768             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48770         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48771         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48772         multiarch strncat for PPC64.
48773         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48774         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48776         (__libc_ifunc_impl_list): Likewise.
48777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48778         multiarch optimizations
48780 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48782         [BZ #16639]
48783         * nscd/nscd.service: Make service type forking.
48785 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48787         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48788         sign in non default rounding modes.
48789         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48791 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48793         * math/libm-test.inc (ALL_RM_TEST): New macro.
48794         (ceil_test): Use ALL_RM_TEST.
48795         (cimag_test): Likewise.
48796         (conj_test): Likewise.
48797         (copysign_test): Likewise.
48798         (cproj_test): Likewise.
48799         (creal_test): Likewise.
48800         (fabs_test): Likewise.
48801         (floor_test): Likewise.
48802         (fmax_test): Likewise.
48803         (fmin_test): Likewise.
48804         (fmod_test): Likewise.
48805         (fpclassify_test): Likewise.
48806         (frexp_test): Likewise.
48807         (ilogb_test): Likewise.
48808         (isfinite_test): Likewise.
48809         (finite_test): Likewise.
48810         (isgreater_test): Likewise.
48811         (isgreaterequal_test): Likewise.
48812         (isinf_test): Likewise.
48813         (isless_test): Likewise.
48814         (islessequal_test): Likewise.
48815         (islessgreater_test): Likewise.
48816         (isnan_test): Likewise.
48817         (isnormal_test): Likewise.
48818         (issignaling_test): Likewise.
48819         (isunordered_test): Likewise.
48820         (logb_test): Likewise.
48821         (logb_downward_test_data): Remove.
48822         (logb_test_downward): Likewise.
48823         (lround_test): Use ALL_RM_TEST.
48824         (llround_test): Likewise.
48825         (modf_test): Likewise.
48826         (nexttoward_test): Likewise.
48827         (remainder_test): Likewise.
48828         (drem_test): Likewise.
48829         (remainder_tonearest_test_data): Likewise.
48830         (remainder_test_tonearest): Likewise.
48831         (drem_test_tonearest): Likewise.
48832         (remainder_towardzero_test_data): Likewise.
48833         (remainder_test_towardzero): Likewise.
48834         (drem_test_towardzero): Likewise.
48835         (remainder_downward_test_data): Likewise.
48836         (remainder_test_downward): Likewise.
48837         (drem_test_downward): Likewise.
48838         (remainder_upward_test_data): Likewise.
48839         (remainder_test_upward): Likewise.
48840         (drem_test_upward): Likewise.
48841         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48842         (round_test): Use ALL_RM_TEST.
48843         (signbit_test): Likewise.
48844         (trunc_test): Likewise.
48845         (significand_test): Likewise.
48846         (main): Don't call removed functions.
48848 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48850         [BZ #16674]
48851         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48852         || __USE_XOPEN2K8].
48853         (ILL_ILLOPN): Likewise.
48854         (ILL_ILLADR): Likewise.
48855         (ILL_ILLTRP): Likewise.
48856         (ILL_PRVOPC): Likewise.
48857         (ILL_PRVREG): Likewise.
48858         (ILL_COPROC): Likewise.
48859         (ILL_BADSTK): Likewise.
48860         (FPE_INTDIV): Likewise.
48861         (FPE_INTOVF): Likewise.
48862         (FPE_FLTDIV): Likewise.
48863         (FPE_FLTOVF): Likewise.
48864         (FPE_FLTUND): Likewise.
48865         (FPE_FLTRES): Likewise.
48866         (FPE_FLTINV): Likewise.
48867         (FPE_FLTSUB): Likewise.
48868         (SEGV_MAPERR): Likewise.
48869         (SEGV_ACCERR): Likewise.
48870         (BUS_ADRALN): Likewise.
48871         (BUS_ADRERR): Likewise.
48872         (BUS_OBJERR): Likewise.
48873         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48874         (TRAP_TRACE): Likewise.
48875         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48876         __USE_XOPEN2K8].
48877         (CLD_KILLED): Likewise.
48878         (CLD_DUMPED): Likewise.
48879         (CLD_TRAPPED): Likewise.
48880         (CLD_STOPPED): Likewise.
48881         (CLD_CONTINUED): Likewise.
48882         (POLL_IN): Likewise.
48883         (POLL_OUT): Likewise.
48884         (POLL_MSG): Likewise.
48885         (POLL_ERR): Likewise.
48886         (POLL_PRI): Likewise.
48887         (POLL_HUP): Likewise.
48888         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48889         Likewise.
48890         (ILL_ILLOPN): Likewise.
48891         (ILL_ILLADR): Likewise.
48892         (ILL_ILLTRP): Likewise.
48893         (ILL_PRVOPC): Likewise.
48894         (ILL_PRVREG): Likewise.
48895         (ILL_COPROC): Likewise.
48896         (ILL_BADSTK): Likewise.
48897         (FPE_INTDIV): Likewise.
48898         (FPE_INTOVF): Likewise.
48899         (FPE_FLTDIV): Likewise.
48900         (FPE_FLTOVF): Likewise.
48901         (FPE_FLTUND): Likewise.
48902         (FPE_FLTRES): Likewise.
48903         (FPE_FLTINV): Likewise.
48904         (FPE_FLTSUB): Likewise.
48905         (SEGV_MAPERR): Likewise.
48906         (SEGV_ACCERR): Likewise.
48907         (BUS_ADRALN): Likewise.
48908         (BUS_ADRERR): Likewise.
48909         (BUS_OBJERR): Likewise.
48910         (BUS_MCEERR_AR): Likewise.
48911         (BUS_MCEERR_AO): Likewise.
48912         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48913         (TRAP_TRACE): Likewise.
48914         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48915         __USE_XOPEN2K8].
48916         (CLD_KILLED): Likewise.
48917         (CLD_DUMPED): Likewise.
48918         (CLD_TRAPPED): Likewise.
48919         (CLD_STOPPED): Likewise.
48920         (CLD_CONTINUED): Likewise.
48921         (POLL_IN): Likewise.
48922         (POLL_OUT): Likewise.
48923         (POLL_MSG): Likewise.
48924         (POLL_ERR): Likewise.
48925         (POLL_PRI): Likewise.
48926         (POLL_HUP): Likewise.
48927         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48928         (ILL_ILLOPN): Likewise.
48929         (ILL_ILLADR): Likewise.
48930         (ILL_ILLTRP): Likewise.
48931         (ILL_PRVOPC): Likewise.
48932         (ILL_PRVREG): Likewise.
48933         (ILL_COPROC): Likewise.
48934         (ILL_BADSTK): Likewise.
48935         (FPE_INTDIV): Likewise.
48936         (FPE_INTOVF): Likewise.
48937         (FPE_FLTDIV): Likewise.
48938         (FPE_FLTOVF): Likewise.
48939         (FPE_FLTUND): Likewise.
48940         (FPE_FLTRES): Likewise.
48941         (FPE_FLTINV): Likewise.
48942         (FPE_FLTSUB): Likewise.
48943         (SEGV_MAPERR): Likewise.
48944         (SEGV_ACCERR): Likewise.
48945         (BUS_ADRALN): Likewise.
48946         (BUS_ADRERR): Likewise.
48947         (BUS_OBJERR): Likewise.
48948         (BUS_MCEERR_AR): Likewise.
48949         (BUS_MCEERR_AO): Likewise.
48950         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48951         (TRAP_TRACE): Likewise.
48952         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48953         __USE_XOPEN2K8].
48954         (CLD_KILLED): Likewise.
48955         (CLD_DUMPED): Likewise.
48956         (CLD_TRAPPED): Likewise.
48957         (CLD_STOPPED): Likewise.
48958         (CLD_CONTINUED): Likewise.
48959         (POLL_IN): Likewise.
48960         (POLL_OUT): Likewise.
48961         (POLL_MSG): Likewise.
48962         (POLL_ERR): Likewise.
48963         (POLL_PRI): Likewise.
48964         (POLL_HUP): Likewise.
48965         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48966         Likewise.
48967         (ILL_ILLOPN): Likewise.
48968         (ILL_ILLADR): Likewise.
48969         (ILL_ILLTRP): Likewise.
48970         (ILL_PRVOPC): Likewise.
48971         (ILL_PRVREG): Likewise.
48972         (ILL_COPROC): Likewise.
48973         (ILL_BADSTK): Likewise.
48974         (ILL_BADIADDR): Likewise.
48975         (ILL_BREAK): Likewise.
48976         (FPE_INTDIV): Likewise.
48977         (FPE_INTOVF): Likewise.
48978         (FPE_FLTDIV): Likewise.
48979         (FPE_FLTOVF): Likewise.
48980         (FPE_FLTUND): Likewise.
48981         (FPE_FLTRES): Likewise.
48982         (FPE_FLTINV): Likewise.
48983         (FPE_FLTSUB): Likewise.
48984         (FPE_DECOVF): Likewise.
48985         (FPE_DECDIV): Likewise.
48986         (FPE_DECERR): Likewise.
48987         (FPE_INVASC): Likewise.
48988         (FPE_INVDEC): Likewise.
48989         (SEGV_MAPERR): Likewise.
48990         (SEGV_ACCERR): Likewise.
48991         (SEGV_PSTKOVF): Likewise.
48992         (BUS_ADRALN): Likewise.
48993         (BUS_ADRERR): Likewise.
48994         (BUS_OBJERR): Likewise.
48995         (BUS_MCEERR_AR): Likewise.
48996         (BUS_MCEERR_AO): Likewise.
48997         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48998         (TRAP_TRACE): Likewise.
48999         (TRAP_BRANCH): Likewise.
49000         (TRAP_HWBKPT): Likewise.
49001         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49002         __USE_XOPEN2K8].
49003         (CLD_KILLED): Likewise.
49004         (CLD_DUMPED): Likewise.
49005         (CLD_TRAPPED): Likewise.
49006         (CLD_STOPPED): Likewise.
49007         (CLD_CONTINUED): Likewise.
49008         (POLL_IN): Likewise.
49009         (POLL_OUT): Likewise.
49010         (POLL_MSG): Likewise.
49011         (POLL_ERR): Likewise.
49012         (POLL_PRI): Likewise.
49013         (POLL_HUP): Likewise.
49014         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49015         (ILL_ILLOPN): Likewise.
49016         (ILL_ILLADR): Likewise.
49017         (ILL_ILLTRP): Likewise.
49018         (ILL_PRVOPC): Likewise.
49019         (ILL_PRVREG): Likewise.
49020         (ILL_COPROC): Likewise.
49021         (ILL_BADSTK): Likewise.
49022         (FPE_INTDIV): Likewise.
49023         (FPE_INTOVF): Likewise.
49024         (FPE_FLTDIV): Likewise.
49025         (FPE_FLTOVF): Likewise.
49026         (FPE_FLTUND): Likewise.
49027         (FPE_FLTRES): Likewise.
49028         (FPE_FLTINV): Likewise.
49029         (FPE_FLTSUB): Likewise.
49030         (SEGV_MAPERR): Likewise.
49031         (SEGV_ACCERR): Likewise.
49032         (BUS_ADRALN): Likewise.
49033         (BUS_ADRERR): Likewise.
49034         (BUS_OBJERR): Likewise.
49035         (BUS_MCEERR_AR): Likewise.
49036         (BUS_MCEERR_AO): Likewise.
49037         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49038         (TRAP_TRACE): Likewise.
49039         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49040         __USE_XOPEN2K8].
49041         (CLD_KILLED): Likewise.
49042         (CLD_DUMPED): Likewise.
49043         (CLD_TRAPPED): Likewise.
49044         (CLD_STOPPED): Likewise.
49045         (CLD_CONTINUED): Likewise.
49046         (POLL_IN): Likewise.
49047         (POLL_OUT): Likewise.
49048         (POLL_MSG): Likewise.
49049         (POLL_ERR): Likewise.
49050         (POLL_PRI): Likewise.
49051         (POLL_HUP): Likewise.
49052         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49053         (ILL_ILLOPN): Likewise.
49054         (ILL_ILLADR): Likewise.
49055         (ILL_ILLTRP): Likewise.
49056         (ILL_PRVOPC): Likewise.
49057         (ILL_PRVREG): Likewise.
49058         (ILL_COPROC): Likewise.
49059         (ILL_BADSTK): Likewise.
49060         (FPE_INTDIV): Likewise.
49061         (FPE_INTOVF): Likewise.
49062         (FPE_FLTDIV): Likewise.
49063         (FPE_FLTOVF): Likewise.
49064         (FPE_FLTUND): Likewise.
49065         (FPE_FLTRES): Likewise.
49066         (FPE_FLTINV): Likewise.
49067         (FPE_FLTSUB): Likewise.
49068         (SEGV_MAPERR): Likewise.
49069         (SEGV_ACCERR): Likewise.
49070         (BUS_ADRALN): Likewise.
49071         (BUS_ADRERR): Likewise.
49072         (BUS_OBJERR): Likewise.
49073         (BUS_MCEERR_AR): Likewise.
49074         (BUS_MCEERR_AO): Likewise.
49075         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49076         (TRAP_TRACE): Likewise.
49077         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49078         __USE_XOPEN2K8].
49079         (CLD_KILLED): Likewise.
49080         (CLD_DUMPED): Likewise.
49081         (CLD_TRAPPED): Likewise.
49082         (CLD_STOPPED): Likewise.
49083         (CLD_CONTINUED): Likewise.
49084         (POLL_IN): Likewise.
49085         (POLL_OUT): Likewise.
49086         (POLL_MSG): Likewise.
49087         (POLL_ERR): Likewise.
49088         (POLL_PRI): Likewise.
49089         (POLL_HUP): Likewise.
49090         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49091         (ILL_ILLOPN): Likewise.
49092         (ILL_ILLADR): Likewise.
49093         (ILL_ILLTRP): Likewise.
49094         (ILL_PRVOPC): Likewise.
49095         (ILL_PRVREG): Likewise.
49096         (ILL_COPROC): Likewise.
49097         (ILL_BADSTK): Likewise.
49098         (FPE_INTDIV): Likewise.
49099         (FPE_INTOVF): Likewise.
49100         (FPE_FLTDIV): Likewise.
49101         (FPE_FLTOVF): Likewise.
49102         (FPE_FLTUND): Likewise.
49103         (FPE_FLTRES): Likewise.
49104         (FPE_FLTINV): Likewise.
49105         (FPE_FLTSUB): Likewise.
49106         (SEGV_MAPERR): Likewise.
49107         (SEGV_ACCERR): Likewise.
49108         (BUS_ADRALN): Likewise.
49109         (BUS_ADRERR): Likewise.
49110         (BUS_OBJERR): Likewise.
49111         (BUS_MCEERR_AR): Likewise.
49112         (BUS_MCEERR_AO): Likewise.
49113         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49114         (TRAP_TRACE): Likewise.
49115         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49116         __USE_XOPEN2K8].
49117         (CLD_KILLED): Likewise.
49118         (CLD_DUMPED): Likewise.
49119         (CLD_TRAPPED): Likewise.
49120         (CLD_STOPPED): Likewise.
49121         (CLD_CONTINUED): Likewise.
49122         (POLL_IN): Likewise.
49123         (POLL_OUT): Likewise.
49124         (POLL_MSG): Likewise.
49125         (POLL_ERR): Likewise.
49126         (POLL_PRI): Likewise.
49127         (POLL_HUP): Likewise.
49128         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49129         (ILL_ILLOPN): Likewise.
49130         (ILL_ILLADR): Likewise.
49131         (ILL_ILLTRP): Likewise.
49132         (ILL_PRVOPC): Likewise.
49133         (ILL_PRVREG): Likewise.
49134         (ILL_COPROC): Likewise.
49135         (ILL_BADSTK): Likewise.
49136         (ILL_DBLFLT): Likewise.
49137         (ILL_HARDWALL): Likewise.
49138         (FPE_INTDIV): Likewise.
49139         (FPE_INTOVF): Likewise.
49140         (FPE_FLTDIV): Likewise.
49141         (FPE_FLTOVF): Likewise.
49142         (FPE_FLTUND): Likewise.
49143         (FPE_FLTRES): Likewise.
49144         (FPE_FLTINV): Likewise.
49145         (FPE_FLTSUB): Likewise.
49146         (SEGV_MAPERR): Likewise.
49147         (SEGV_ACCERR): Likewise.
49148         (BUS_ADRALN): Likewise.
49149         (BUS_ADRERR): Likewise.
49150         (BUS_OBJERR): Likewise.
49151         (BUS_MCEERR_AR): Likewise.
49152         (BUS_MCEERR_AO): Likewise.
49153         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49154         (TRAP_TRACE): Likewise.
49155         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49156         __USE_XOPEN2K8].
49157         (CLD_KILLED): Likewise.
49158         (CLD_DUMPED): Likewise.
49159         (CLD_TRAPPED): Likewise.
49160         (CLD_STOPPED): Likewise.
49161         (CLD_CONTINUED): Likewise.
49162         (POLL_IN): Likewise.
49163         (POLL_OUT): Likewise.
49164         (POLL_MSG): Likewise.
49165         (POLL_ERR): Likewise.
49166         (POLL_PRI): Likewise.
49167         (POLL_HUP): Likewise.
49168         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49169         (ILL_ILLOPN): Likewise.
49170         (ILL_ILLADR): Likewise.
49171         (ILL_ILLTRP): Likewise.
49172         (ILL_PRVOPC): Likewise.
49173         (ILL_PRVREG): Likewise.
49174         (ILL_COPROC): Likewise.
49175         (ILL_BADSTK): Likewise.
49176         (FPE_INTDIV): Likewise.
49177         (FPE_INTOVF): Likewise.
49178         (FPE_FLTDIV): Likewise.
49179         (FPE_FLTOVF): Likewise.
49180         (FPE_FLTUND): Likewise.
49181         (FPE_FLTRES): Likewise.
49182         (FPE_FLTINV): Likewise.
49183         (FPE_FLTSUB): Likewise.
49184         (SEGV_MAPERR): Likewise.
49185         (SEGV_ACCERR): Likewise.
49186         (BUS_ADRALN): Likewise.
49187         (BUS_ADRERR): Likewise.
49188         (BUS_OBJERR): Likewise.
49189         (BUS_MCEERR_AR): Likewise.
49190         (BUS_MCEERR_AO): Likewise.
49191         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49192         (TRAP_TRACE): Likewise.
49193         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49194         __USE_XOPEN2K8].
49195         (CLD_KILLED): Likewise.
49196         (CLD_DUMPED): Likewise.
49197         (CLD_TRAPPED): Likewise.
49198         (CLD_STOPPED): Likewise.
49199         (CLD_CONTINUED): Likewise.
49200         (POLL_IN): Likewise.
49201         (POLL_OUT): Likewise.
49202         (POLL_MSG): Likewise.
49203         (POLL_ERR): Likewise.
49204         (POLL_PRI): Likewise.
49205         (POLL_HUP): Likewise.
49206         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49207         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49209         [BZ #16670]
49210         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49211         before #include of <time.h>.
49212         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49213         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49214         (test-xfail-UNIX98/sched.h/conform): Likewise.
49216 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49218         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49219         error absence of trapping exception support.
49220         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49222 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49224         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49225         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49226         * timezone/Makefile (testdata): Move definition above include of
49227         Rules.
49228         (test-zones): New variable.
49229         (tests-special): Add zone files.
49230         (build-testdata): Use $(evaluate-test).
49232         * elf/Makefile (tests-special): Rename tests to end with .out.
49233         ($(objpfx)noload-mem): Likewise.
49234         ($(objpfx)tst-leaks1-mem): Likewise.
49235         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49236         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49237         $(objpfx)test-iconvconfig.out.
49238         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49239         set -e inside subshell and redirect output to file.
49240         * iconvdata/Makefile (generated): Rename tests to end with .out.
49241         Correct type.
49242         (tests-special): Rename tests to end with .out.
49243         ($(objpfx)mtrace-tst-loading): Likewise.
49244         * intl/Makefile (generated): Likewise.
49245         (tests-special): Likewise.
49246         ($(objpfx)mtrace-tst-gettext): Likewise.
49247         * misc/Makefile (generated): Likewise.
49248         (tests-special): Likewise.
49249         ($(objpfx)tst-error1-mem): Likewise.
49250         * nptl/Makefile (tests-special): Likewise.
49251         ($(objpfx)tst-stack3-mem): Likewise.
49252         (generated): Likewise.
49253         * posix/Makefile (generated): Likewise.
49254         (tests-special): Likewise.
49255         (xtests-special): Likewise.
49256         ($(objpfx)tst-fnmatch-mem): Likewise.
49257         ($(objpfx)bug-regex2-mem): Likewise.
49258         ($(objpfx)bug-regex14-mem): Likewise.
49259         ($(objpfx)bug-regex21-mem): Likewise.
49260         ($(objpfx)bug-regex31-mem): Likewise.
49261         ($(objpfx)tst-vfork3-mem): Likewise.
49262         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49263         ($(objpfx)tst-pcre-mem): Likewise.
49264         ($(objpfx)tst-boost-mem): Likewise.
49265         ($(objpfx)bug-ga2-mem): Likewise.
49266         ($(objpfx)bug-glob2-mem): Likewise.
49267         * resolv/Makefile (generate): Likewise.
49268         (tests-special): Likewise.
49269         (xtests-special): Likewise.
49270         (generated): Likewise.
49271         ($(objpfx)mtrace-tst-leaks): Likewise.
49272         ($(objpfx)mtrace-tst-leaks2): Likewise.
49274         * scripts/merge-test-results.sh: New file.
49275         * Makefile (tests-special-notdir): New variable.
49276         (tests): Run merge-test-results.sh.
49277         (xtests): Likewise.
49278         * Rules (tests-special-notdir): New variable.
49279         (xtests-special-notdir): Likewise.
49280         (tests): Run merge-test-results.sh
49281         (xtests): Likewise.
49283         * Makeconfig (test-xfail-name): New variable.
49284         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49285         compute variable name for expected failures.
49286         * conform/Makefile (conformtest-headers-data): New variable.
49287         (conformtest-standards): Likewise.
49288         (conformtest-headers-ISO): Likewise.
49289         (conformtest-headers-ISO99): Likewise.
49290         (conformtest-headers-ISO11): Likewise.
49291         (conformtest-headers-POSIX): Likewise.
49292         (conformtest-headers-XPG3): Likewise.
49293         (conformtest-headers-XPG4): Likewise.
49294         (conformtest-headers-UNIX98): Likewise.
49295         (conformtest-headers-XOPEN2K): Likewise.
49296         (conformtest-headers-POSIX2008): Likewise.
49297         (conformtest-headers-XOPEN2K8): Likewise.
49298         (conformtest-header-list-base): Likewise.
49299         (conformtest-header-list-tests): Likewise.
49300         (conformtest-header-base): Likewise.
49301         (conformtest-header-tests): Likewise.
49302         (tests-special): Add $(conformtest-header-list-tests).  If
49303         [$(fast-check) && !$(cross-compiling)], add
49304         $(conformtest-header-tests) instead of
49305         $(objpfx)run-conformtest.out.
49306         (generated): Add $(conformtest-header-list-base).  If
49307         [$(fast-check) && !$(cross-compiling)], add
49308         $(conformtest-header-base).  Remove previous setting.
49309         ($(conformtest-header-list-tests)): New target.
49310         (test-xfail-run-conformtest): Remove variable.
49311         ($(objpfx)run-conformtest.out): Remove target.
49312         (test-xfail-ISO11/complex.h/conform): New variable.
49313         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49314         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49315         (test-xfail-XPG3/varargs.h/conform): Likewise.
49316         (test-xfail-XPG4/varargs.h/conform): Likewise.
49317         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49318         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49319         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49320         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49321         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49322         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49323         (test-xfail-XPG3/ftw.h/conform): Likewise.
49324         (test-xfail-XPG3/grp.h/conform): Likewise.
49325         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49326         (test-xfail-XPG3/limits.h/conform): Likewise.
49327         (test-xfail-XPG3/pwd.h/conform): Likewise.
49328         (test-xfail-XPG3/search.h/conform): Likewise.
49329         (test-xfail-XPG3/signal.h/conform): Likewise.
49330         (test-xfail-XPG3/stdio.h/conform): Likewise.
49331         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49332         (test-xfail-XPG3/string.h/conform): Likewise.
49333         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49334         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49335         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49336         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49337         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49338         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49339         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49340         (test-xfail-XPG3/termios.h/conform): Likewise.
49341         (test-xfail-XPG3/time.h/conform): Likewise.
49342         (test-xfail-XPG3/unistd.h/conform): Likewise.
49343         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49344         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49345         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49346         (test-xfail-XPG4/netdb.h/conform): Likewise.
49347         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49348         (test-xfail-XPG4/signal.h/conform): Likewise.
49349         (test-xfail-XPG4/stdio.h/conform): Likewise.
49350         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49351         (test-xfail-XPG4/stropts.h/conform): Likewise.
49352         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49353         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49354         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49355         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49356         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49357         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49358         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49359         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49360         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49361         (test-xfail-XPG4/termios.h/conform): Likewise.
49362         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49363         (test-xfail-XPG4/unistd.h/conform): Likewise.
49364         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49365         (test-xfail-POSIX/sched.h/conform): Likewise.
49366         (test-xfail-POSIX/signal.h/conform): Likewise.
49367         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49368         (test-xfail-POSIX/tar.h/conform): Likewise.
49369         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49370         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49371         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49372         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49373         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49374         (test-xfail-UNIX98/sched.h/conform): Likewise.
49375         (test-xfail-UNIX98/signal.h/conform): Likewise.
49376         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49377         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49378         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49379         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49380         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49381         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49382         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49383         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49384         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49385         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49386         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49387         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49388         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49389         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49390         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49391         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49392         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49393         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49394         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49395         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49396         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49397         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49398         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49399         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49400         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49401         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49402         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49403         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49404         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49405         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49406         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49407         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49408         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49409         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49410         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49411         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49412         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49413         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49414         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49415         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49416         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49417         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49418         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49419         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49420         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49421         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49422         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49423         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49424         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49425         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49426         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49427         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49428         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49429         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49430         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49431         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49432         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49433         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49434         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49435         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49436         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49437         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49438         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49439         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49440         (conformtest-cc-flags): Likewise.
49441         ($(conformtest-header-tests): New target.
49442         * conform/check-header-lists.sh: New file.
49443         * conform/run-conformtest.sh: Remove.
49445         * conform/conformtest.pl: Allow ' and \ in values given for
49446         constants.
49447         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49448         inclusion.
49449         [POSIX] (sys/types.h): Likewise.
49450         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49451         inclusion.
49452         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49453         inclusion.
49454         * conform/data/signal.h-data (SIGIO): Remove expectation.
49455         [XPG3] (SIGBUS): Do not expect.
49456         [POSIX || XPG3] (SIGPOLL): Likewise.
49457         [POSIX || XPG3] (SIGPROF): Likewise.
49458         [POSIX || XPG3] (SIGSYS): Likewise.
49459         [XPG3] (SIGTRAP): Likewise.
49460         [POSIX || XPG3] (SIGURG): Likewise.
49461         [POSIX || XPG3] (SIGVTALRM): Likewise.
49462         [POSIX || XPG3] (SIGXCPU): Likewise.
49463         [POSIX || XPG3] (SIGXFSZ): Likewise.
49464         [POSIX] (SA_SIGINFO): Expect.
49465         [XPG3] (siginfo_t): Do not expect type or contents.
49466         [POSIX] (si_pid): Do not expect element.
49467         [POSIX] (si_uid): Likewise.
49468         [POSIX] (si_addr): Likewise.
49469         [POSIX] (si_status): Likewise.
49470         [POSIX] (si_band): Likewise.
49471         [XPG4] (si_value): Likewise.
49472         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49473         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49474         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49475         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49476         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49477         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49478         [POSIX || XPG3] (ILL_COPROC): Likewise.
49479         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49480         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49481         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49482         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49483         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49484         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49485         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49486         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49487         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49488         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49489         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49490         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49491         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49492         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49493         [POSIX || XPG3] (CLD_EXITED): Likewise.
49494         [POSIX || XPG3] (CLD_KILLED): Likewise.
49495         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49496         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49497         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49498         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49499         [POSIX || XPG3] (POLL_IN): Likewise.
49500         [POSIX || XPG3] (POLL_OUT): Likewise.
49501         [POSIX || XPG3] (POLL_MSG): Likewise.
49502         [POSIX || XPG3] (POLL_ERR): Likewise.
49503         [POSIX || XPG3] (POLL_PRI): Likewise.
49504         [POSIX || XPG3] (POLL_HUP): Likewise.
49505         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49506         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49507         (SIG*): Do not allow.
49508         [XPG3] (si_*): Likewise.
49509         [XPG3] (SI_*): Likewise.
49510         [XPG3 || XPG4] (sigev_*): Likewise.
49511         [XPG3 || XPG4] (SIGEV_*): Likewise.
49512         [XPG3 || XPG4] (sival_*): Likewise.
49513         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49514         [POSIX || XPG3] (BUS_*): Likewise.
49515         [POSIX || XPG3] (CLD_*): Likewise.
49516         [POSIX || XPG3] (FPE_*): Likewise.
49517         [POSIX || XPG3] (ILL_*): Likewise.
49518         [POSIX || XPG3] (POLL_*): Likewise.
49519         [POSIX || XPG3] (SEGV_*): Likewise.
49520         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49521         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49522         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49523         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49524         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49525         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49526         Specify type and value.
49527         (TVERSLEN): Likewise.
49528         (REGTYPE): Likewise.
49529         (AREGTYPE): Likewise.
49530         (LNKTYPE): Likewise.
49531         (SYMTYPE): Likewise.
49532         (CHRTYPE): Likewise.
49533         (BLKTYPE): Likewise.
49534         (DIRTYPE): Likewise.
49535         (FIFOTYPE): Likewise.
49536         (CONTTYPE): Likewise.
49537         (TSUID): Likewise.
49538         (TSGID): Likewise.
49539         (TSVTX): Likewise.
49540         (TUREAD): Likewise.
49541         (TUWRITE): Likewise.
49542         (TUEXEC): Likewise.
49543         (TGREAD): Likewise.
49544         (TGWRITE): Likewise.
49545         (TGEXEC): Likewise.
49546         (TOREAD): Likewise.
49547         (TOWRITE): Likewise.
49548         (TOEXEC): Likewise.
49549         [POSIX] (TSVTX): Expect constant.
49551 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49553         * Makefile (tests): Change dependencies to ....
49554         (tests-special): ... additions to this variable.
49555         (tests): Depend on $(tests-special).
49556         * Makerules (check-abi-list): New variable.
49557         (check-abi): Depend on $(check-abi-list).
49558         [$(subdir) = elf] (tests-special): Add
49559         $(objpfx)check-abi-libc.out.
49560         [$(build-shared) = yes && subdir] (tests-special): Add
49561         $(check-abi-list).
49562         [$(build-shared) = yes && subdir] (tests): Do not depend on
49563         check-abi.
49564         * Rules (tests): Depend on $(tests-special).
49565         (xtests): Depend on $(xtests-special).
49566         * catgets/Makefile (tests): Change dependencies to ....
49567         (tests-special): ... additions to this variable.
49568         * conform/Makefile (tests): Change dependencies to ....
49569         (tests-special): ... additions to this variable.
49570         * elf/Makefile (tests): Change dependencies to ....
49571         (tests-special): ... additions to this variable.
49572         * grp/Makefile (tests): Change dependencies to ....
49573         (tests-special): ... additions to this variable.
49574         * iconv/Makefile (xtests): Change dependencies to ....
49575         (xtests-special): ... additions to this variable.
49576         * iconvdata/Makefile (tests): Change dependencies to ....
49577         (tests-special): ... additions to this variable.
49578         * intl/Makefile (tests): Change dependencies to ....
49579         (tests-special): ... additions to this variable.  Also add
49580         $(objpfx)tst-gettext.out.
49581         * io/Makefile (tests): Change dependencies to ....
49582         (tests-special): ... additions to this variable.
49583         * libio/Makefile (tests): Change dependencies to ....
49584         (tests-special): ... additions to this variable.
49585         * malloc/Makefile (tests): Change dependencies to ....
49586         (tests-special): ... additions to this variable.
49587         * misc/Makefile (tests): Change dependencies to ....
49588         (tests-special): ... additions to this variable.
49589         * nptl/Makefile (tests): Change dependencies to ....
49590         (tests-special): ... additions to this variable.
49591         * nptl_db/Makefile (tests): Change dependencies to ....
49592         (tests-special): ... additions to this variable.
49593         * posix/Makefile (tests): Change dependencies to ....
49594         (tests-special): ... additions to this variable.
49595         (xtests): Change dependencies to ....
49596         (xtests-special): ... additions to this variable.
49597         * resolv/Makefile (tests): Change dependencies to ....
49598         (tests-special): ... additions to this variable.
49599         (xtests): Change dependencies to ....
49600         (xtests-special): ... additions to this variable.
49601         * stdio-common/Makefile (tests): Change dependencies to ....
49602         (tests-special): ... additions to this variable.
49603         (do-tst-unbputc): Remove target.
49604         (do-tst-printf): Likewise.
49605         * stdlib/Makefile (tests): Change dependencies to ....
49606         (tests-special): ... additions to this variable.
49607         * string/Makefile (tests): Change dependencies to ....
49608         (tests-special): ... additions to this variable.
49609         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49610         (tests-special): ... additions to this variable.
49612         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49613         whole file.
49614         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49615         whole file.
49616         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49617         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49619         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49620         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49621         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49622         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49623         * conform/data/libgen.h-data [XPG3]: Likewise.
49624         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49625         * conform/data/ndbm.h-data [XPG3]: Likewise.
49626         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49627         * conform/data/netdb.h-data [XPG3]: Likewise.
49628         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49629         * conform/data/poll.h-data [XPG3]: Likewise.
49630         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49631         * conform/data/strings.h-data [XPG3]: Likewise.
49632         * conform/data/stropts.h-data [XPG3]: Likewise.
49633         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49634         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49635         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49636         Likewise.
49637         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49638         * conform/data/sys/time.h-data [XPG3]: Likewise.
49639         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49640         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49641         * conform/data/sys/un.h-data [XPG3]: Likewise.
49642         * conform/data/syslog.h-data [XPG3]: Likewise.
49643         * conform/data/ucontext.h-data [XPG3]: Likewise.
49644         * conform/data/utmpx.h-data [XPG3]: Likewise.
49645         * conform/data/varargs.h-data [UNIX98]: Enable file.
49647         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49649         * math/libm-test.inc (struct test_f_f_data): Move expected results
49650         into structure for each rounding mode.
49651         (struct test_ff_f_data): Likewise.
49652         (struct test_ff_f_data_nexttoward): Likewise.
49653         (struct test_fi_f_data): Likewise.
49654         (struct test_fl_f_data): Likewise.
49655         (struct test_if_f_data): Likewise.
49656         (struct test_fff_f_data): Likewise.
49657         (struct test_c_f_data): Likewise.
49658         (struct test_f_f1_data): Likewise.
49659         (struct test_fF_f1_data): Likewise.
49660         (struct test_ffI_f1_data): Likewise.
49661         (struct test_c_c_data): Likewise.
49662         (struct test_cc_c_data): Likewise.
49663         (struct test_f_i_data): Likewise.
49664         (struct test_ff_i_data): Likewise.
49665         (struct test_f_l_data): Likewise.
49666         (struct test_f_L_data): Likewise.
49667         (struct test_fFF_11_data): Likewise.
49668         (RM_): New macro.
49669         (RM_FE_DOWNWARD): Likewise.
49670         (RM_FE_TONEAREST): Likewise.
49671         (RM_FE_TOWARDZERO): Likewise.
49672         (RM_FE_UPWARD): Likewise.
49673         (RUN_TEST_LOOP_f_f): Update references to expected results.
49674         (RUN_TEST_LOOP_2_f): Likewise.
49675         (RUN_TEST_LOOP_fff_f): Likewise.
49676         (RUN_TEST_LOOP_c_f): Likewise.
49677         (RUN_TEST_LOOP_f_f1): Likewise.
49678         (RUN_TEST_LOOP_fF_f1): Likewise.
49679         (RUN_TEST_LOOP_fI_f1): Likewise.
49680         (RUN_TEST_LOOP_ffI_f1): Likewise.
49681         (RUN_TEST_LOOP_c_c): Likewise.
49682         (RUN_TEST_LOOP_cc_c): Likewise.
49683         (RUN_TEST_LOOP_f_i): Likewise.
49684         (RUN_TEST_LOOP_f_i_tg): Likewise.
49685         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49686         (RUN_TEST_LOOP_f_b): Likewise.
49687         (RUN_TEST_LOOP_f_b_tg): Likewise.
49688         (RUN_TEST_LOOP_f_l): Likewise.
49689         (RUN_TEST_LOOP_f_L): Likewise.
49690         (RUN_TEST_LOOP_fFF_11): Likewise.
49691         * math/gen-libm-test.pl (parse_args): Output four copies of
49692         expected results for each test.
49694         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49695         (__ASSUME_UTIMES): Remove.
49696         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49697         (__ASSUME_UTIMES): Likewise.
49699         * math/gen-auto-libm-tests.c: Update comment on output format.
49700         (output_for_one_input_case): Generate before-rounding and
49701         after-rounding information as conditions on output flags not
49702         floating-point format.
49703         * math/auto-libm-test-out: Regenerated.
49704         * math/gen-libm-test.pl (cond_value): New function.
49705         (or_cond_value): Use cond_value.
49706         (generate_testfile): Handle conditional exceptions.
49708 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49710         * math/libm-test.inc (max_valid_error): New variable.
49711         (init_max_error): Take new argument specifying whether function
49712         results are exactly determined.  Set max_valid_error and bound
49713         other variables for errors based on this argument.
49714         (set_max_error): Do not record results above max_valid_error.
49715         (check_float_internal): Only accept errors of up to 0.5ulps if
49716         also at most max_valid_error.
49717         (START): Take new argument EXACT and pass it to init_max_error.
49718         (acos_test): Update call to START.
49719         (acos_test_tonearest): Likewise.
49720         (acos_test_towardzero): Likewise.
49721         (acos_test_downward): Likewise.
49722         (acos_test_upward): Likewise.
49723         (acosh_test): Likewise.
49724         (asin_test): Likewise.
49725         (asin_test_tonearest): Likewise.
49726         (asin_test_towardzero): Likewise.
49727         (asin_test_downward): Likewise.
49728         (asin_test_upward): Likewise.
49729         (asinh_test): Likewise.
49730         (atan_test): Likewise.
49731         (atanh_test): Likewise.
49732         (atan2_test): Likewise.
49733         (cabs_test): Likewise.
49734         (cacos_test): Likewise.
49735         (cacosh_test): Likewise.
49736         (carg_test): Likewise.
49737         (casin_test): Likewise.
49738         (casinh_test): Likewise.
49739         (catan_test): Likewise.
49740         (catanh_test): Likewise.
49741         (cbrt_test): Likewise.
49742         (ccos_test): Likewise.
49743         (ccosh_test): Likewise.
49744         (ceil_test): Likewise.
49745         (cexp_test): Likewise.
49746         (cimag_test): Likewise.
49747         (clog_test): Likewise.
49748         (clog10_test): Likewise.
49749         (conj_test): Likewise.
49750         (copysign_test): Likewise.
49751         (cos_test): Likewise.
49752         (cos_test_tonearest): Likewise.
49753         (cos_test_towardzero): Likewise.
49754         (cos_test_downward): Likewise.
49755         (cos_test_upward): Likewise.
49756         (cosh_test): Likewise.
49757         (cosh_test_tonearest): Likewise.
49758         (cosh_test_towardzero): Likewise.
49759         (cosh_test_downward): Likewise.
49760         (cosh_test_upward): Likewise.
49761         (cpow_test): Likewise.
49762         (cproj_test): Likewise.
49763         (creal_test): Likewise.
49764         (csin_test): Likewise.
49765         (csinh_test): Likewise.
49766         (csqrt_test): Likewise.
49767         (ctan_test): Likewise.
49768         (ctan_test_tonearest): Likewise.
49769         (ctan_test_towardzero): Likewise.
49770         (ctan_test_downward): Likewise.
49771         (ctan_test_upward): Likewise.
49772         (ctanh_test): Likewise.
49773         (ctanh_test_tonearest): Likewise.
49774         (ctanh_test_towardzero): Likewise.
49775         (ctanh_test_downward): Likewise.
49776         (ctanh_test_upward): Likewise.
49777         (erf_test): Likewise.
49778         (erfc_test): Likewise.
49779         (exp_test): Likewise.
49780         (exp_test_tonearest): Likewise.
49781         (exp_test_towardzero): Likewise.
49782         (exp_test_downward): Likewise.
49783         (exp_test_upward): Likewise.
49784         (exp10_test): Likewise.
49785         (exp10_test_tonearest): Likewise.
49786         (exp10_test_towardzero): Likewise.
49787         (exp10_test_downward): Likewise.
49788         (exp10_test_upward): Likewise.
49789         (pow10_test): Likewise.
49790         (exp2_test): Likewise.
49791         (expm1_test): Likewise.
49792         (expm1_test_tonearest): Likewise.
49793         (expm1_test_towardzero): Likewise.
49794         (expm1_test_downward): Likewise.
49795         (expm1_test_upward): Likewise.
49796         (fabs_test): Likewise.
49797         (fdim_test): Likewise.
49798         (floor_test): Likewise.
49799         (fma_test): Likewise.
49800         (fma_test_towardzero): Likewise.
49801         (fma_test_downward): Likewise.
49802         (fma_test_upward): Likewise.
49803         (fmax_test): Likewise.
49804         (fmin_test): Likewise.
49805         (fmod_test): Likewise.
49806         (fpclassify_test): Likewise.
49807         (frexp_test): Likewise.
49808         (hypot_test): Likewise.
49809         (ilogb_test): Likewise.
49810         (isfinite_test): Likewise.
49811         (finite_test): Likewise.
49812         (isgreater_test): Likewise.
49813         (isgreaterequal_test): Likewise.
49814         (isinf_test): Likewise.
49815         (isless_test): Likewise.
49816         (islessequal_test): Likewise.
49817         (islessgreater_test): Likewise.
49818         (isnan_test): Likewise.
49819         (isnormal_test): Likewise.
49820         (issignaling_test): Likewise.
49821         (isunordered_test): Likewise.
49822         (j0_test): Likewise.
49823         (j1_test): Likewise.
49824         (jn_test): Likewise.
49825         (ldexp_test): Likewise.
49826         (lgamma_test): Likewise.
49827         (gamma_test): Likewise.
49828         (lrint_test): Likewise.
49829         (lrint_test_tonearest): Likewise.
49830         (lrint_test_towardzero): Likewise.
49831         (lrint_test_downward): Likewise.
49832         (lrint_test_upward): Likewise.
49833         (llrint_test): Likewise.
49834         (llrint_test_tonearest): Likewise.
49835         (llrint_test_towardzero): Likewise.
49836         (llrint_test_downward): Likewise.
49837         (llrint_test_upward): Likewise.
49838         (log_test): Likewise.
49839         (log10_test): Likewise.
49840         (log1p_test): Likewise.
49841         (log2_test): Likewise.
49842         (logb_test): Likewise.
49843         (logb_test_downward): Likewise.
49844         (lround_test): Likewise.
49845         (llround_test): Likewise.
49846         (modf_test): Likewise.
49847         (nearbyint_test): Likewise.
49848         (nextafter_test): Likewise.
49849         (nexttoward_test): Likewise.
49850         (pow_test): Likewise.
49851         (pow_test_tonearest): Likewise.
49852         (pow_test_towardzero): Likewise.
49853         (pow_test_downward): Likewise.
49854         (pow_test_upward): Likewise.
49855         (remainder_test): Likewise.
49856         (drem_test): Likewise.
49857         (remainder_test_tonearest): Likewise.
49858         (drem_test_tonearest): Likewise.
49859         (remainder_test_towardzero): Likewise.
49860         (drem_test_towardzero): Likewise.
49861         (remainder_test_downward): Likewise.
49862         (drem_test_downward): Likewise.
49863         (remainder_test_upward): Likewise.
49864         (drem_test_upward): Likewise.
49865         (remquo_test): Likewise.
49866         (rint_test): Likewise.
49867         (rint_test_tonearest): Likewise.
49868         (rint_test_towardzero): Likewise.
49869         (rint_test_downward): Likewise.
49870         (rint_test_upward): Likewise.
49871         (round_test): Likewise.
49872         (scalb_test): Likewise.
49873         (scalbn_test): Likewise.
49874         (scalbln_test): Likewise.
49875         (signbit_test): Likewise.
49876         (sin_test): Likewise.
49877         (sin_test_tonearest): Likewise.
49878         (sin_test_towardzero): Likewise.
49879         (sin_test_downward): Likewise.
49880         (sin_test_upward): Likewise.
49881         (sincos_test): Likewise.
49882         (sinh_test): Likewise.
49883         (sinh_test_tonearest): Likewise.
49884         (sinh_test_towardzero): Likewise.
49885         (sinh_test_downward): Likewise.
49886         (sinh_test_upward): Likewise.
49887         (sqrt_test): Likewise.
49888         (sqrt_test_tonearest): Likewise.
49889         (sqrt_test_towardzero): Likewise.
49890         (sqrt_test_downward): Likewise.
49891         (sqrt_test_upward): Likewise.
49892         (tan_test): Likewise.
49893         (tan_test_tonearest): Likewise.
49894         (tan_test_towardzero): Likewise.
49895         (tan_test_downward): Likewise.
49896         (tan_test_upward): Likewise.
49897         (tanh_test): Likewise.
49898         (tgamma_test): Likewise.
49899         (trunc_test): Likewise.
49900         (y0_test): Likewise.
49901         (y1_test): Likewise.
49902         (yn_test): Likewise.
49903         (significand_test): Likewise.
49905         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49906         individual tests in comment.
49907         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49908         (prev_max_error): New variable.
49909         (prev_real_max_error): Likewise.
49910         (prev_imag_max_error): Likewise.
49911         (compare_ulp_data): Don't refer to test names in comment.
49912         (find_test_ulps): Remove function.
49913         (find_function_ulps): Likewise.
49914         (find_complex_function_ulps): Likewise.
49915         (init_max_error): Take function name as argument.  Look up ulps
49916         for that function.
49917         (print_ulps): Remove function.
49918         (print_max_error): Use prev_max_error instead of calling
49919         find_function_ulps.
49920         (print_complex_max_error): Use prev_real_max_error and
49921         prev_imag_max_error instead of calling find_complex_function_ulps.
49922         (check_float_internal): Take max_ulp parameter instead of calling
49923         find_test_ulps.  Don't call print_ulps.
49924         (check_float): Update call to check_float_internal.
49925         (check_complex): Update calls to check_float_internal.
49926         (START): Pass argument to init_max_error.
49927         * math/gen-libm-test.pl (%results): Don't include "kind"
49928         information.
49929         (parse_ulps): Don't handle ulps of individual tests.
49930         (print_ulps_file): Likewise.
49931         (output_ulps): Likewise.
49932         * math/README.libm-test: Update.
49933         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49934         individual tests.
49935         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49936         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49937         * sysdeps/arm/libm-test-ulps: Likewise.
49938         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49939         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49940         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49941         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49942         * sysdeps/microblaze/libm-test-ulps: Likewise.
49943         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49944         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49945         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49946         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49947         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49948         * sysdeps/sh/libm-test-ulps: Likewise.
49949         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49950         * sysdeps/tile/libm-test-ulps: Likewise.
49951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49953 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49955         * math/libm-test.inc (print_complex_max_error): Check separately
49956         whether real and imaginary errors are within allowed range and
49957         pass 0 to print_complex_function_ulps instead of value within
49958         allowed range.
49960 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49962         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49963         formatting.
49964         (get_handles_fopen): Likewise.
49965         (do_write_test): Likewise.
49967         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49969         * libio/fileops.c (do_ftell): Use cached offset when
49970         available.
49971         * libio/iofwide.c (do_ftell_wide): Likewise.
49972         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49973         _IO_file_attach.
49974         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49976         [BZ #16532]
49977         * libio/libioP.h (get_file_offset): New function.
49978         * libio/fileops.c (get_file_offset): Likewise.
49979         (do_ftell): Likewise.
49980         (_IO_new_file_seekoff): Split out ftell logic.
49981         * libio/wfileops.c (do_ftell_wide): Likewise.
49982         (_IO_wfile_seekoff): Split out ftell logic.
49983         * libio/tst-ftell-active-handler.c: New test case.
49984         * libio/Makefile (tests): Add it.
49986 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49988         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49989         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
49991 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49993         [BZ #16639]
49994         * nscd/connections.c (nscd_init): Call do_exit.
49995         (start_threads): Call do_exit and notify_parent.
49996         (begin_drop_privileges): Call do_exit.
49997         (finish_drop_privileges): Likewise.
49998         * nscd/selinux.c (preserve_capabilities): Likewise.
49999         (install_real_capabilities): Likewise.
50000         (nscd_selinux_enabled): Likewise.
50001         (avc_create_thread): Likewise.
50002         (avc_alloc_lock): Likewise.
50003         (nscd_avc_init): Likewise.
50004         * nscd/nscd.c (parent_fd): New static variable.
50005         (main): Create a pipe between parent and child processes.
50006         Skip closing parent_fd.
50007         (monitor_child): New function.
50008         (do_exit): Likewise.
50009         (notify_parent): Likewise.
50010         * nscd/nscd.h (notify_parent): Likewise.
50011         (do_exit): Likewise.
50013 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50015         * malloc/malloc.c (__libc_calloc): Revert last change.
50017 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50021 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50023         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50025         implementation.
50026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50027         (__libc_ifunc_impl_list): Likewise.
50028         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50029         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50030         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50031         * string/strrchr.c: Define STRRCHR.
50033 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50035         * benchtest/bench-strtok.c (simple_strtok): Delete.
50036         (strtok_string): Use as benchmark.
50037         * string/strtok (STRTOK): New macro.
50039 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50041         * manual/threads.texi: Add header and standard comments to all
50042         functions.
50044         * elf/dl-lookup.c (check_match): New function.
50045         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50046         (do_lookup_x): Remove nested function check_match. Use non-nested
50047         function check_match.
50049 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50051         * csu/Makefile (generated, before-compile): Use += rather than =.
50052         * catgets/Makefile (generated, generated-dirs): Likewise.
50053         * debug/Makefile (generated): Likewise.
50054         * dlfcn/Makefile (generated): Likewise.
50055         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50056         * iconvdata/Makefile (before-compile, generated): Likewise.
50057         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50058         * libio/Makefile (generated): Likewise.
50059         * malloc/Makefile (generated): Likewise.
50060         * manual/Makefile (generated, generated-dirs): Likewise.
50061         * misc/Makefile (generated): Likewise.
50062         * posix/Makefile (generated): Likewise.
50063         * resolv/Makefile (generated): Likewise.
50064         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50065         * timezone/Makefile (generated, generated-dirs): Likewise.
50067         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50069 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50071         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50072         power8 implementation.
50073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50074         file: POWER8 llround ifunc implementation.
50075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50076         (__lllround): Add POWER8 implementation.
50077         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50078         POWER8 llround implementation.
50080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50081         power8 implementation.
50082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50083         file: POWER8 llrint ifunc implementation.
50084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50085         Add POWER8 implementation.
50086         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50087         POWER8 llrint implementation.
50089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50090         power8 implementation.
50091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50092         file: POWER8 finite ifunc implementation.
50093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50094         Add POWER8 implementation.
50095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50096         Likewise.
50097         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50098         POWER8 finite implementation.
50099         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50101         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50102         power8 implementation.
50103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50104         file: POWER8 isinf ifunc implementation.
50105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50106         POWER8 implementation.
50107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50108         Likewise.
50109         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50110         isinf implementation.
50111         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50113         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50114         (INIT_ARCH): Add hwcap2 initialization.
50115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50116         power8 implementation.
50117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50118         file: POWER8 isnan ifunc implementation.
50119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50120         POWER8 implementation.
50121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50122         Likewise.
50123         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50124         isnan implementation.
50125         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50127 2014-02-27  Joey Ye  <joey.ye@arm.com>
50129         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50130         (_FP_NANFRAC_Q): Set to zero.
50132 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50134         [BZ #16623]
50135         * math/auto-libm-test-in: New test inputs.
50136         * math/auto-libm-test-out: Regenerate.
50137         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50138         and DA.
50139         (__cos): Likewise.
50140         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50142 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50144         * scripts/evaluate-test.sh: Take new argument indicating whether
50145         failure is expected.
50146         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50147         indicating whether failure is expected.
50148         * conform/Makefile (test-xfail-run-conformtest): New variable.
50149         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50150         level.
50151         * posix/Makefile (test-xfail-annexc): New variable.
50152         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50154 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50156         * argp/Makefile: Include Makeconfig immediately after defining
50157         subdir.
50158         * assert/Makefile: Likewise.
50159         * benchtests/Makefile: Likewise.
50160         * catgets/Makefile: Likewise.
50161         * conform/Makefile: Likewise.
50162         * crypt/Makefile: Likewise.
50163         * csu/Makefile: Likewise.
50164         (all): Remove target.
50165         * ctype/Makefile: Include Makeconfig immediately after defining
50166         subdir.
50167         * debug/Makefile: Likewise.
50168         * dirent/Makefile: Likewise.
50169         * dlfcn/Makefile: Likewise.
50170         * gmon/Makefile: Likewise.
50171         * gnulib/Makefile: Likewise.
50172         * grp/Makefile: Likewise.
50173         * gshadow/Makefile: Likewise.
50174         * hesiod/Makefile: Likewise.
50175         * hurd/Makefile: Likewise.
50176         (all): Remove target.
50177         * iconvdata/Makefile: Include Makeconfig immediately after
50178         defining subdir.
50179         * inet/Makefile: Likewise.
50180         * intl/Makefile: Likewise.
50181         * io/Makefile: Likewise.
50182         * libio/Makefile: Likewise.
50183         (all): Remove target.
50184         * locale/Makefile: Include Makeconfig immediately after defining
50185         subdir.
50186         * login/Makefile: Likewise.
50187         * mach/Makefile: Likewise.
50188         (all): Remove target.
50189         * malloc/Makefile: Include Makeconfig immediately after defining
50190         subdir.
50191         (all): Remove target.
50192         * manual/Makefile: Include Makeconfig immediately after defining
50193         subdir.
50194         * math/Makefile: Likewise.
50195         * misc/Makefile: Likewise.
50196         * nis/Makefile: Likewise.
50197         * nss/Makefile: Likewise.
50198         * po/Makefile: Likewise.
50199         (all): Remove target.
50200         * posix/Makefile: Include Makeconfig immediately after defining
50201         subdir.
50202         * pwd/Makefile: Likewise.
50203         * resolv/Makefile: Likewise.
50204         * resource/Makefile: Likewise.
50205         * rt/Makefile: Likewise.
50206         * setjmp/Makefile: Likewise.
50207         * shadow/Makefile: Likewise.
50208         * signal/Makefile: Likewise.
50209         * socket/Makefile: Likewise.
50210         * soft-fp/Makefile: Likewise.
50211         * stdio-common/Makefile: Likewise.
50212         * stdlib/Makefile: Likewise.
50213         * streams/Makefile: Likewise.
50214         * string/Makefile: Likewise.
50215         * sunrpc/Makefile: Likewise.
50216         (all): Remove target.
50217         * sysvipc/Makefile: Include Makeconfig immediately after defining
50218         subdir.
50219         * termios/Makefile: Likewise.
50220         * time/Makefile: Likewise.
50221         * timezone/Makefile: Likewise.
50222         (all): Remove target.
50223         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50224         subdir.
50225         * wctype/Makefile: Likewise.
50227 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50229         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50230         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50231         (libc_feholdexcept_setround_mips): Ditto.
50232         (libc_feholdsetround): New.
50233         (libc_feholdsetroundf): New.
50234         (libc_feholdsetroundl): New.
50235         (libc_feupdateenv_test_mips): New.
50236         (libc_feupdateenv_test): New.
50237         (libc_feupdateenv_testf): New.
50238         (libc_feupdateenv_testl): New.
50239         (libc_feresetround): New.
50240         (libc_feresetroundf): New.
50241         (libc_feresetroundl): New.
50242         (libc_fetestexcept_mips): New.
50243         (libc_fetestexcept): New.
50244         (libc_fetestexceptf): New.
50245         (libc_fetestexceptl): New.
50246         (HAVE_RM_CTX): New.
50247         (libc_feholdexcept_setround_mips_ctx): New.
50248         (libc_feholdexcept_setround_ctx): New.
50249         (libc_feholdexcept_setroundf_ctx): New.
50250         (libc_feholdexcept_setroundl_ctx): New.
50251         (libc_fesetenv_mips_ctx): New.
50252         (libc_fesetenv_ctx): New.
50253         (libc_fesetenv_ctxf): New.
50254         (libc_fesetenv_ctxl): New.
50255         (libc_feupdateenv_mips_ctx): New.
50256         (libc_feupdateenv_ctx): New.
50257         (libc_feupdateenvf_ctx): New.
50258         (libc_feupdateenvl_ctx): New.
50259         (libc_feholdsetround_mips_ctx): New.
50260         (libc_feholdsetround_ctx): New.
50261         (libc_feholdsetroundf_ctx): New.
50262         (libc_feholdsetroundl_ctx): New.
50263         (libc_feresetround_mips_ctx): New.
50264         (libc_feresetround_ctx): New.
50265         (libc_feresetroundf_ctx): New.
50266         (libc_feresetroundl_ctx): New.
50268 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50270         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50272         * manual/ipc.texi: New file.
50273         * manual/Makefile (chapters): Add ipc.
50274         * manual/job.texi: Add "Inter-Process Communication" to next.
50275         * manual/process.texi: Add "Inter-Process Communication" to prev.
50277 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50281 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50283         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50285         * manual/arith.texi: Fix spaces after sentences.
50286         * manual/charset.texi: Likewise.
50287         * manual/errno.texi: Likewise.
50288         * manual/install.texi: Likewise.
50289         * manual/llio.texi: Likewise.
50290         * manual/locale.texi: Likewise.
50291         * manual/maint.texi: Likewise.
50292         * manual/math.texi: Likewise.
50293         * manual/memory.texi: Likewise.
50294         * manual/message.texi: Likewise.
50295         * manual/probes.texi: Likewise.
50296         * manual/resource.texi: Likewise.
50297         * manual/signal.texi: Likewise.
50298         * manual/socket.texi: Likewise.
50299         * manual/stdio.texi: Likewise.
50300         * manual/string.texi: Likewise.
50301         * manual/time.texi: Likewise.
50302         * manual/users.texi: Likewise.
50304 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50306         [BZ #16632]
50307         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50308         _DEFAULT_SOURCE is defined.
50310 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50311             Carlos O'Donell  <carlos@redhat.com>
50313         [BZ #16613]
50314         * elf/dl-tls.c (_dl_count_modids): New function.
50315         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50316         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50317         audit library and increment generation counter.
50318         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50319         * elf/tst-audit9.c: New file.
50320         * elf/tst-auditmod9a.c: New file.
50321         * elf/tst-auditmod9b.c: New file.
50322         * elf/Makefile: Add rules to build and run tst-audit9.
50324 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50326         [BZ #15347]
50327         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50329 2014-02-25  Will Newton  <will.newton@linaro.org>
50331         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50332         (__longjmp): Restore sp and lr before restoring callee
50333         saved registers.  Add longjmp and longjmp_target
50334         SystemTap probe point.
50335         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50336         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50337         Define to zero to match jmpbuf layout.
50338         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50339         (__sigsetjmp): Save sp and lr before saving callee
50340         saved registers.  Add setjmp SystemTap probe point.
50342 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50344         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50346 2014-02-24  Andreas Schwab  <schwab@suse.de>
50348         [BZ #15804]
50349         * elf/pldd.c (wait_for_ptrace_stop): New function.
50350         (main): Call it after attaching.
50352 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50354         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50355         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50356         Versions files is now verboten.
50357         * hurd/Versions (libc: GLIBC_2.0):
50358         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50359         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50360         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50361         * mach/Versions: Likewise.
50363         * csu/Versions: Remove unused %include.
50364         * resolv/Versions: Likewise.
50366 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50368         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50369         ($(objpfx)check-local-headers.out): Likewise.
50370         ($(objpfx)begin-end-check.out): Likewise.
50371         * Makerules (check-abi-%.out): Likewise.
50372         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50373         ($(objpfx)test2.cat): Likewise.
50374         ($(objpfx)de/libc.cat): Likewise.
50375         ($(objpfx)test-gencat.out): Likewise.
50376         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50377         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50378         ($(objpfx)noload-mem): Likewise.
50379         ($(objpfx)tst-pathopt.out): Likewise.
50380         ($(objpfx)tst-rtld-load-self.out): Likewise.
50381         ($(objpfx)tst-array1-cmp.out): Likewise.
50382         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50383         ($(objpfx)tst-array2-cmp.out): Likewise.
50384         ($(objpfx)tst-array3-cmp.out): Likewise.
50385         ($(objpfx)tst-array4-cmp.out): Likewise.
50386         ($(objpfx)tst-array5-cmp.out): Likewise.
50387         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50388         ($(objpfx)check-textrel.out): Likewise.
50389         ($(objpfx)check-execstack.out): Likewise.
50390         ($(objpfx)check-localplt.out): Likewise.
50391         ($(objpfx)order2-cmp.out): Likewise.
50392         ($(objpfx)tst-leaks1-mem): Likewise.
50393         ($(objpfx)tst-leaks1-static-mem): Likewise.
50394         ($(objpfx)tst-initorder-cmp.out): Likewise.
50395         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50396         ($(objpfx)tst-unused-dep.out): Likewise.
50397         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50398         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50399         * iconv/Makefile (test-iconvconfig): Likewise.
50400         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50401         ($(objpfx)iconv-test.out): Likewise.
50402         ($(objpfx)tst-tables.out): Likewise.
50403         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50404         ($(objpfx)tst-gettext.out): Likewise.
50405         ($(objpfx)tst-translit.out): Likewise.
50406         ($(objpfx)tst-gettext2.out): Likewise.
50407         ($(objpfx)tst-gettext4.out): Likewise.
50408         ($(objpfx)tst-gettext6.out): Likewise.
50409         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50410         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50411         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50412         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50413         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50414         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50415         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50416         ($(objpfx)wordexp-tst.out): Likewise.
50417         ($(objpfx)annexc.out): Likewise.
50418         ($(objpfx)tst-fnmatch-mem): Likewise.
50419         ($(objpfx)bug-regex2-mem): Likewise.
50420         ($(objpfx)bug-regex14-mem): Likewise.
50421         ($(objpfx)bug-regex21-mem): Likewise.
50422         ($(objpfx)bug-regex31-mem): Likewise.
50423         ($(objpfx)tst-vfork3-mem): Likewise.
50424         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50425         ($(objpfx)tst-pcre-mem): Likewise.
50426         ($(objpfx)tst-boost-mem): Likewise.
50427         ($(objpfx)tst-getconf.out): Likewise.
50428         ($(objpfx)bug-ga2-mem): Likewise.
50429         ($(objpfx)bug-glob2-mem): Likewise.
50430         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50431         ($(objpfx)mtrace-tst-leaks2): Likewise.
50432         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50433         ($(objpfx)tst-printf.out): Likewise.
50434         ($(objpfx)tst-setvbuf1.out): Likewise.
50435         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50436         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50437         ($(objpfx)tst-fmtmsg.out): Likewise.
50438         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50439         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50441         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50442         * bits/sigaction.h [__USE_MISC]: Likewise.
50443         * bits/waitstatus.h: Update #endif comments.
50444         * ctype/ctype.h: Likewise.
50445         * dirent/dirent.h: Likewise.
50446         [__USE_MISC]: Remove redundant conditionals.
50447         * grp/grp.h: Update #endif comments.
50448         [__USE_GNU]: Remove redundant conditionals.
50449         [__USE_MISC]: Likewise.
50450         * inet/netinet/in.h [__USE_GNU]: Likewise.
50451         * io/sys/stat.h [__USE_MISC]: Likewise.
50452         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50453         * libio/bits/stdio.h: Update #endif comments.
50454         [__USE_MISC]: Remove redundant conditionals.
50455         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50456         * libio/stdio.h: Update #endif comments.
50457         [__USE_MISC]: Remove redundant conditionals.
50458         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50459         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50460         * math/math.h: Update #else and #endif comments.
50461         [__USE_MISC]: Remove redundant conditionals.
50462         * misc/sys/uio.h: Update #endif comments.
50463         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50464         * posix/glob.h [__USE_MISC]: Likewise.
50465         * posix/sys/types.h: Update #endif comments.
50466         [__USE_MISC]: Remove redundant conditionals.
50467         * posix/sys/wait.h: Update #endif comments.
50468         [__USE_MISC]: Remove redundant conditionals.
50469         * posix/unistd.h: Update #endif comments.
50470         [__USE_MISC]: Remove redundant conditionals.
50471         * pwd/pwd.h [__USE_GNU]: Likewise.
50472         [__USE_MISC]: Likewise.
50473         * resolv/netdb.h [__USE_GNU]: Likewise.
50474         * signal/signal.h: Update #endif comments.
50475         [__USE_MISC]: Remove redundant conditionals.
50476         * stdlib/stdlib.h: Update #else and #endif comments.
50477         [__USE_MISC]: Remove redundant conditionals.
50478         [__USE_GNU]: Likewise.
50479         * string/bits/string2.h [__USE_MISC]: Likewise.
50480         * string/string.h: Update #endif comments.
50481         [__USE_MISC]: Remove redundant conditionals.
50482         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50483         Likewise.
50484         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50485         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50486         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50487         Likewise.
50488         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50489         Likewise.
50490         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50491         comments.
50492         [__USE_MISC]: Remove redundant conditionals.
50493         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50494         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50495         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50496         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50497         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50498         Likewise.
50499         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50500         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50501         Likewise.
50502         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50503         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50504         Likewise.
50505         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50506         Likewise.
50507         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50508         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50509         Likewise.
50510         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50511         Likewise.
50512         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50513         * sysdeps/x86/bits/string.h: Update #endif comments.
50514         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50515         conditionals.
50516         * time/sys/time.h: Update #endif comments.
50517         * time/time.h: Likewise.
50518         [__USE_MISC]: Remove redundant conditionals.
50520 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50522         [BZ #16600]
50523         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50525 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50527         * Versions.def (librt): Add GLIBC_2.17.
50529 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50531         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50532         synonym for _SYS_AUXV_H to allow direct inclusion.
50533         * sysdeps/sparc/bits/hwcap.h: Likewise.
50534         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50535         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50536         * sysdeps/sparc/sysdep.h: Likewise.
50538 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50540         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50542 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50544         * benchtests/bench-strrchr.c: Print length instead of position.
50546 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50548         [BZ #16611]
50549         * sysdeps/unix/sysv/linux/kernel-features.h
50550         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50551         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50552         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50553         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50554         Likewise.
50555         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50556         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50557         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50558         (__ASSUME_SENDMMSG): Define instead of using previous
50559         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50560         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50561         (__ASSUME_SENDMMSG_SYSCALL): Define.
50562         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50563         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50564         Likewise.
50565         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50566         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50567         Likewise.
50568         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50569         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50570         Likewise.
50571         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50572         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50573         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50574         [__ASSUME_SENDMMSG]: Change conditionals to
50575         [__ASSUME_SENDMMSG_SOCKETCALL].
50576         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50577         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50578         Define.
50579         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50580         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50581         Likewise.
50582         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50583         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50584         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50585         [!__ASSUME_SENDMMSG]: Change conditional to
50586         [!__ASSUME_SENDMMSG_SOCKETCALL].
50587         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50588         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50589         Define.
50591         [BZ #16610]
50592         * sysdeps/unix/sysv/linux/kernel-features.h
50593         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50594         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50595         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50596         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50597         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50598         [__i386__ || __sparc__]
50599         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50600         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50601         (__ASSUME_RECVMMSG): Define instead of using previous
50602         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50603         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50604         (__ASSUME_RECVMMSG_SYSCALL): Define.
50605         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50606         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50607         Likewise.
50608         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50609         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50610         Likewise.
50611         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50612         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50613         Likewise.
50614         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50615         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50616         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50617         [__ASSUME_RECVMMSG]: Change condition to
50618         [__ASSUME_RECVMMSG_SOCKETCALL].
50619         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50620         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50621         Define.
50622         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50623         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50624         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50625         Likewise.
50626         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50627         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50628         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50629         [!__ASSUME_RECVMMSG]: Change condition to
50630         [!__ASSUME_RECVMMSG_SOCKETCALL].
50631         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50632         (__ASSUME_RECVMMSG_SYSCALL): Define.
50634         [BZ #16609]
50635         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50636         __powerpc__ || __s390__ || __sh__ || __sparc__]
50637         (__ASSUME_SOCKETCALL): Define.
50638         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50639         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50640         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50641         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50642         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50643         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50644         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50645         (__ASSUME_ACCEPT4): Define instead of using previous
50646         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50647         __powerpc__ || __sparc__ || __s390__)] condition.
50648         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50649         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50650         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50651         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50652         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50653         [!__ASSUME_ACCEPT4]: Change condition to
50654         [!__ASSUME_ACCEPT4_SOCKETCALL].
50655         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50656         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50657         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50658         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50659         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50660         __ASSUME_ACCEPT4_SYSCALL.
50661         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50662         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50663         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50664         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50665         __ASSUME_ACCEPT4_SYSCALL.
50666         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50667         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50668         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50669         [__ASSUME_ACCEPT4]: Change condition to
50670         [__ASSUME_ACCEPT4_SOCKETCALL].
50671         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50672         (__ASSUME_SOCKETCALL): Define.
50673         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50674         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50675         (__ASSUME_SOCKETCALL): Define.
50676         (__ASSUME_ACCEPT4): Remove.
50677         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50678         Define.
50679         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50680         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50681         Likewise.
50682         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50683         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50685         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50686         macro.
50687         (HWCAP_ARM_LPAE): Likewise.
50688         (HWCAP_ARM_EVTSTRM): Likewise.
50689         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50690         Add vpfd32, lpae and evtstrm.
50691         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50692         Increase to 22.
50694 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50696         * math/auto-libm-test-in: Add tests of clog10.
50697         * math/auto-libm-test-out: Regenerated.
50698         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50699         * sysdeps/i386/fpu/libm-test-ulps: Update.
50700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50702 2014-02-18  Andreas Schwab  <schwab@suse.de>
50704         [BZ #16574]
50705         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50706         Store non-zero if the second buffer was newly allocated.
50707         (send_dg): Likewise.
50708         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50709         to send_vc and send_dg.
50710         (res_nsend): Pass NULL for ansp2_malloced.
50711         * resolv/res_query.c (__libc_res_nquery): Add parameter
50712         answerp2_malloced and pass it down to __libc_res_nsend.
50713         (res_nquery): Pass additional NULL to __libc_res_nquery.
50714         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50715         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50716         second answer buffer if answerp2_malloced was set.
50717         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50718         (__libc_res_nquerydomain): Add parameter
50719         answerp2_malloced and pass it down to __libc_res_nquery.
50720         (res_nquerydomain): Pass additional NULL to
50721         __libc_res_nquerydomain.
50722         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50723         additional NULL to __libc_res_nsend and __libc_res_nquery.
50724         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50725         additional NULL to __libc_res_nsearch.
50726         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50727         parameter of __libc_res_nsearch to check for separately allocated
50728         second buffer.
50729         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50730         __libc_res_nquery.
50731         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50732         additional NULL to __libc_res_nquery.
50733         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50734         __libc_res_nsearch.
50735         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50736         * include/resolv.h: Update prototypes of __libc_res_nquery,
50737         __libc_res_nsearch, __libc_res_nsend.
50739 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50741         * math/auto-libm-test-in: Add tests of fma.
50742         * math/auto-libm-test-out: Regenerated.
50743         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50744         (fma_towardzero_test_data): Likewise.
50745         (fma_downward_test_data): Likewise.
50746         (fma_upward_test_data): Likewise.
50747         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50748         mpc_mode.
50749         (rounding_modes): Add values for new field.
50750         (func_calc_method): Add value mpfr_fff_f.
50751         (func_calc_desc): Add mpfr_fff_f union field.
50752         (test_function): Add field exact_args.
50753         (FUNC): Add macro argument EXACT_ARGS.
50754         (FUNC_mpfr_f_f): Update call to FUNC.
50755         (FUNC_mpfr_f_f): Likewise.
50756         (FUNC_mpfr_ff_f): Likewise.
50757         (FUNC_mpfr_if_f): Likewise.
50758         (FUNC_mpc_c_f): Likewise.
50759         (FUNC_mpc_c_c): Likewise.
50760         (test_functions): Add fma.  Update calls to FUNC.
50761         (handle_input_arg): Add argument exact_args.
50762         (add_test): Update call to handle_input_arg.
50763         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50764         (output_for_one_input_case): Update call to calc_generic_results.
50765         Recalculate exact zero results in each rounding mode.
50767         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50768         non-negative before setting low bit.
50769         * math/auto-libm-test-in: Mark one asin test possibly having
50770         spurious underflow.
50771         * math/auto-libm-test-out: Regenerated.
50772         * sysdeps/i386/fpu/libm-test-ulps: Update.
50773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50775 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50777         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50778         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50779         ports/sysdeps/unix/sysv/linux/microblaze.
50780         * README: Add missing listing for microblaze*-*-linux-gnu.
50782 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50784         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50785         duplicate code
50787 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50789         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50790         * sysdeps/unix/sysv/linux/ia64: Move directory from
50791         ports/sysdeps/unix/sysv/linux/ia64.
50792         * README: Update listing for ia64-*-linux-gnu.
50794 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50795             Joseph Myers  <joseph@codesourcery.com>
50797         * Makeconfig (test-name): New variable.
50798         (evaluate-test): Likewise.
50799         * Makerules (do-test-clean): Remove .test-result files.
50800         (common-mostlyclean): Likewise.
50801         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50802         * scripts/evaluate-test.sh: New file.
50804 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50806         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50807         separate $(objpfx)tst-fopenloc-cmp.out and
50808         $(objpfx)tst-fopenloc-mem.out targets.
50809         (tests): Update dependencies.
50810         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50811         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50812         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50813         (tst-rxspencer-no-utf8-ARGS): New variable.
50814         (tst-rxspencer-no-utf8-ENV): Likewise.
50815         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50816         instead of $(objpfx)tst-rxspencer-mem.
50817         ($(objpfx)tst-rxspencer-mem): Change target to
50818         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50819         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50820         * posix/tst-rxspencer-no-utf8.c: New file.
50822         * elf/Makefile ($(objpfx)order.out): Remove rule.
50823         [$(run-built-tests) = yes] (tests): Depend on
50824         $(objpfx)order-cmp.out.
50825         ($(objpfx)order-cmp.out): New rule.
50826         [$(run-built-tests) = yes] (tests): Depend on
50827         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50828         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50829         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50830         $(objpfx)tst-array5-static-cmp.out.
50831         ($(objpfx)tst-array1.out): Remove rule.
50832         ($(objpfx)tst-array1-cmp.out): New rule.
50833         ($(objpfx)tst-array1-static.out): Remove rule.
50834         ($(objpfx)tst-array1-static-cmp.out): New rule.
50835         ($(objpfx)tst-array2.out): Remove rule.
50836         ($(objpfx)tst-array2-cmp.out): New rule.
50837         ($(objpfx)tst-array3.out): Remove rule.
50838         ($(objpfx)tst-array3-cmp.out): New rule.
50839         ($(objpfx)tst-array4.out): Remove rule.
50840         ($(objpfx)tst-array4-cmp.out): New rule.
50841         ($(objpfx)tst-array5.out): Remove rule.
50842         ($(objpfx)tst-array5-cmp.out): New rule.
50843         ($(objpfx)tst-array5-static.out): Remove rule.
50844         ($(objpfx)tst-array5-static-cmp.out): New rule.
50845         [$(run-built-tests) = yes] (tests): Depend on
50846         $(objpfx)order2-cmp.out.
50847         ($(objpfx)order2.out): Remove rule.
50848         ($(objpfx)order2-cmp.out): New rule.
50849         ($(objpfx)tst-initorder.out): Remove rule.
50850         [$(run-built-tests) = yes] (tests): Depend on
50851         $(objpfx)tst-initorder-cmp.out.
50852         ($(objpfx)tst-initorder-cmp.out): New rule.
50853         ($(objpfx)tst-initorder2.out): Remove rule.
50854         [$(run-built-tests) = yes] (tests): Depend on
50855         $(objpfx)tst-initorder2-cmp.out.
50856         ($(objpfx)tst-initorder2-cmp.out): New rule.
50857         [$(run-built-tests) = yes] (tests): Depend on
50858         $(objpfx)tst-unused-dep-cmp.out.
50859         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50860         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50861         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50862         on $(objpfx)tst-setvbuf1-cmp.out.
50863         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50864         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50865         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50866         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50867         ($(objpfx)tst-svc.out): Remove rule.
50868         ($(objpfx)tst-svc-cmp.out): New rule.
50870 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50872         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50873         * ctype/ctype.h [__USE_MISC]: Likewise.
50874         * dirent/dirent.h [__USE_MISC]: Likewise.
50875         * grp/grp.h [__USE_MISC]: Likewise.
50876         * io/fcntl.h [__USE_MISC]: Likewise.
50877         * io/sys/stat.h [__USE_MISC]: Likewise.
50878         * libio/stdio.h [__USE_MISC]: Likewise.
50879         * posix/unistd.h [__USE_MISC]: Likewise.
50880         * pwd/pwd.h [__USE_MISC]: Likewise.
50881         * stdlib.h [__USE_MISC]: Likewise.
50882         * string/bits/string2.h [__USE_MISC]: Likewise.
50883         * string/string.h [__USE_MISC]: Likewise.
50884         * time/time.h [__USE_MISC]: Likewise.
50886 2014-02-13  Andreas Schwab  <schwab@suse.de>
50888         [BZ #16574]
50889         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50890         second answer buffer if it was separately allocated.
50892 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50894         * sysdeps/mips/math-tests.h: Include <features.h>.
50895         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50896         (ROUNDING_TESTS_long_double): Do not define.
50897         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50898         (EXCEPTION_TESTS_long_double): Likewise.
50899         * sysdeps/mips/mips64/libm-test-ulps: Update.
50901         * include/features.h (__USE_BSD): Remove macro definitions.
50902         (__USE_SVID): Likewise.
50903         (_BSD_SOURCE): Likewise.
50904         (_SVID_SOURCE): Likewise.
50905         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50906         from definition of _DEFAULT_SOURCE.
50907         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50908         [_DEFAULT_SOURCE].
50909         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50910         * bits/mman.h [__USE_BSD]: Likewise.
50911         * bits/termios.h [__USE_BSD]: Likewise.
50912         * bits/waitstatus.h [__USE_BSD]: Likewise.
50913         * ctype/ctype.h [__USE_SVID]: Likewise.
50914         * dirent/dirent.h [__USE_BSD]: Likewise.
50915         * grp/grp.h [__USE_SVID]: Likewise.
50916         [__USE_BSD]: Likewise.
50917         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50918         * io/fcntl.h [__USE_BSD]: Likewise.
50919         * io/ftw.h [__USE_BSD]: Likewise.
50920         * io/sys/stat.h [__USE_BSD]: Likewise.
50921         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50922         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50923         * libio/stdio.h [__USE_SVID]: Likewise.
50924         [__USE_BSD]: Likewise.
50925         * math/math.h [__USE_SVID]: Likewise.
50926         [__USE_BSD]: Likewise.
50927         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50928         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50929         * misc/search.h [__USE_SVID]: Likewise.
50930         * misc/sys/mman.h [__USE_BSD]: Likewise.
50931         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50932         * misc/sys/uio.h [__USE_BSD]: Likewise.
50933         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50934         * posix/glob.h [__USE_BSD]: Likewise.
50935         * posix/regex.h [__USE_BSD]: Likewise.
50936         * posix/sys/types.h [__USE_BSD]: Likewise.
50937         [__USE_SVID]: Likewise.
50938         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50939         * posix/sys/wait.h [__USE_BSD]: Likewise.
50940         [__USE_SVID]: Likewise.
50941         * posix/unistd.h [__USE_BSD]: Likewise.
50942         [__USE_SVID]: Likewise.
50943         * pwd/pwd.h [__USE_SVID]: Likewise.
50944         * resolv/netdb.h [__USE_BSD]: Likewise.
50945         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50946         * signal/signal.h [__USE_BSD]: Likewise.
50947         [__USE_SVID]: Likewise.
50948         * socket/sys/socket.h [__USE_BSD]: Likewise.
50949         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50950         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50951         [__USE_SVID]: Likewise.
50952         * string/bits/string2.h [__USE_BSD]: Likewise.
50953         [__USE_SVID]: Likewise.
50954         * string/bits/string3.h [__USE_BSD]: Likewise.
50955         * string/endian.h [__USE_BSD]: Likewise.
50956         * string/string.h [__USE_SVID]: Likewise.
50957         [__USE_BSD]: Likewise.
50958         * string/strings.h [__USE_BSD]: Likewise.
50959         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50960         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50961         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50962         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50963         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50964         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50965         Likewise.
50966         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50967         Likewise.
50968         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50969         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50970         Likewise.
50971         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50972         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50973         Likewise.
50974         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50975         Likewise.
50976         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50977         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50978         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50979         Likewise.
50980         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50981         Likewise.
50982         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50983         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50984         * termios/termios.h [__USE_BSD]: Likewise.
50985         * time/sys/time.h [__USE_BSD]: Likewise.
50986         * time/time.h [__USE_BSD]: Likewise.
50987         [__USE_SVID]: Likewise.
50989         * Makefile (subdir_targets): Remove subdir_lint.out.
50991         * stdio-common/Makefile (do-tst-unbputc): Remove target.
50992         (do-tst-printf): Likewise.
50993         (tests): Depend directly on $(objpfx)tst-unbputc.out and
50994         $(objpfx)tst-printf.out.
50996         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
50998         * Makerules (check-abi-%): Change target to
50999         $(objpfx)check-abi-%.out.
51000         (check-abi target): Update dependencies.
51001         (check-abi-pattern variable): Redirect output of diff to $@.
51002         (check-abi variable): Likewise.
51003         * elf/Makefile (check-abi): Update dependencies.
51005         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51006         unused.
51007         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51008         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51009         subnormal range.
51010         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51011         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51012         value has largest subnormal exponent.
51013         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51014         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51015         * sysdeps/aarch64/soft-fp/sfp-machine.h
51016         (_FP_TININESS_AFTER_ROUNDING): New macro.
51017         * sysdeps/alpha/soft-fp/sfp-machine.h
51018         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51019         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51020         Likewise.
51021         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51022         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51023         * sysdeps/mips/soft-fp/sfp-machine.h
51024         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51025         * sysdeps/powerpc/soft-fp/sfp-machine.h
51026         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51027         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51028         Likewise.
51029         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51030         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51031         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51032         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51033         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51034         Likewise.
51036 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51038         [BZ #16545]
51039         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51040         model 1.
51042 2014-02-12  Richard Henderson  <rth@redhat.com>
51044         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51045         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51046         * sysdeps/unix/sysv/linux/alpha: Move directory from
51047         ports/sysdeps/unix/sysv/linux/alpha.
51048         * README: Update listing for alpha-*-linux-gnu.
51050 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51052         * include/features.h: Update comment documenting feature test
51053         macros.
51054         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51055         _DEFAULT_SOURCE.
51056         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51057         (_SVID_SOURCE): Likewise.
51058         (_DEFAULT_SOURCE): Update description of default features.
51059         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51060         with _GNU_SOURCE.
51061         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51062         (S_ISVTX): Likewise.
51063         * manual/math.texi (Mathematical Constants): Likewise.
51064         * manual/signal.texi (Interrupted Primitives): Likewise.
51065         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51066         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51067         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51068         Don't refer to _SVID_SOURCE in warning text.
51070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51072         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51073         already defined.
51074         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51075         * sysdeps/mips/dl-lookup.c: Remove.
51076         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51078 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51080         [BZ #16447]
51081         * math/auto-libm-test-in: Add testcase for expl.
51082         * math/auto-libm-test-out: Regenerate.
51083         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51084         calculation of unsafe.
51085         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51087 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51089         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51090         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51091         ports/sysdeps/unix/sysv/linux/aarch64.
51092         * README: Update listing for aarch64*-*-linux-gnu.
51094 2014-02-11  Will Newton  <will.newton@linaro.org>
51096         * manual/probes.texi (Mathematical Function Probes): Use
51097         "triggered" instead of "hit".
51099         * manual/probes.texi (Internal Probes): Add documentation
51100         of setjmp, longjmp and longjmp_target probes.
51102         * include/stap-probe.h: Add comment about probe argument
51103         format.
51105         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51106         definition.  (tr_where, tr_freehook, tr_mallochook,
51107         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51109 2014-02-11  David S. Miller  <davem@davemloft.net>
51111         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51112         processing int_tests.
51114 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51116         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51117         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51118         * sysdeps/unix/sysv/linux/mips: Move directory from
51119         ports/sysdeps/unix/sysv/linux/mips.
51120         * README: Update listing for mips-*-linux-gnu and
51121         mips64-*-linux-gnu.
51123 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51125         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51126         * sysdeps/unix/sysv/linux/m68k: Move directory from
51127         ports/sysdeps/unix/sysv/linux/m68k.
51128         * README: Update listing for m68k-*-linux-gnu.
51130 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51132         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51133         * sysdeps/unix/sysv/linux/generic: Move directory from
51134         ports/sysdeps/unix/sysv/linux/generic.
51135         * sysdeps/unix/sysv/linux/tile: Move directory from
51136         ports/sysdeps/unix/sysv/linux/tile.
51137         * README: Update listing for tile*-*-linux-gnu.
51139 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51141         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51142         __builtin_expect.
51143         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51144         * catgets/open_catalog.c (__open_catalog): Likewise.
51145         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51146         * debug/confstr_chk.c: Likewise.
51147         * debug/fread_chk.c (__fread_chk): Likewise.
51148         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51149         * debug/getgroups_chk.c: Likewise.
51150         * debug/mbsnrtowcs_chk.c: Likewise.
51151         * debug/mbsrtowcs_chk.c: Likewise.
51152         * debug/mbstowcs_chk.c: Likewise.
51153         * debug/memcpy_chk.c: Likewise.
51154         * debug/memmove_chk.c: Likewise.
51155         * debug/mempcpy_chk.c: Likewise.
51156         * debug/memset_chk.c: Likewise.
51157         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51158         * debug/strcat_chk.c (__strcat_chk): Likewise.
51159         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51160         * debug/strncat_chk.c (__strncat_chk): Likewise.
51161         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51162         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51163         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51164         * debug/wcpncpy_chk.c: Likewise.
51165         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51166         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51167         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51168         * debug/wcsncpy_chk.c: Likewise.
51169         * debug/wcsnrtombs_chk.c: Likewise.
51170         * debug/wcsrtombs_chk.c: Likewise.
51171         * debug/wcstombs_chk.c: Likewise.
51172         * debug/wmemcpy_chk.c: Likewise.
51173         * debug/wmemmove_chk.c: Likewise.
51174         * debug/wmempcpy_chk.c: Likewise.
51175         * debug/wmemset_chk.c: Likewise.
51176         * dirent/scandirat.c (SCANDIRAT): Likewise.
51177         * dlfcn/dladdr1.c (dladdr1): Likewise.
51178         * dlfcn/dladdr.c (dladdr): Likewise.
51179         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51180         * dlfcn/dlerror.c (__dlerror): Likewise.
51181         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51182         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51183         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51184         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51185         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51186         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51187         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51188         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51189         Likewise.
51190         * elf/dl-conflict.c: Likewise.
51191         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51192         * elf/dl-dst.h: Likewise.
51193         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51194         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51195         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51196         * elf/dl-init.c (call_init, _dl_init): Likewise.
51197         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51198         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51199         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51200         Likewise.
51201         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51202         Likewise.
51203         * elf/dl-minimal.c (__libc_memalign): Likewise.
51204         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51205         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51206         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51207         * elf/dl-sym.c (do_sym): Likewise.
51208         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51209         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51210         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51211         * elf/dl-writev.h (_dl_writev): Likewise.
51212         * elf/ldconfig.c (search_dir): Likewise.
51213         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51214         (dl_main): Likewise.
51215         * elf/setup-vdso.h (setup_vdso): Likewise.
51216         * grp/compat-initgroups.c (compat_call): Likewise.
51217         * grp/fgetgrent.c (fgetgrent): Likewise.
51218         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51219         * grp/putgrent.c (putgrent): Likewise.
51220         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51221         Likewise.
51222         * hurd/hurdinit.c: Likewise.
51223         * iconvdata/8bit-gap.c (struct): Likewise.
51224         * iconvdata/ansi_x3.110.c : Likewise.
51225         * iconvdata/big5.c : Likewise.
51226         * iconvdata/big5hkscs.c : Likewise.
51227         * iconvdata/cp1255.c: Likewise.
51228         * iconvdata/cp1258.c : Likewise.
51229         * iconvdata/cp932.c : Likewise.
51230         * iconvdata/euc-cn.c: Likewise.
51231         * iconvdata/euc-jisx0213.c : Likewise.
51232         * iconvdata/euc-jp.c: Likewise.
51233         * iconvdata/euc-jp-ms.c : Likewise.
51234         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51235         * iconvdata/gb18030.c : Likewise.
51236         * iconvdata/gbbig5.c (const): Likewise.
51237         * iconvdata/gbgbk.c: Likewise.
51238         * iconvdata/gbk.c : Likewise.
51239         * iconvdata/ibm1364.c : Likewise.
51240         * iconvdata/ibm930.c : Likewise.
51241         * iconvdata/ibm932.c: Likewise.
51242         * iconvdata/ibm933.c : Likewise.
51243         * iconvdata/ibm935.c : Likewise.
51244         * iconvdata/ibm937.c : Likewise.
51245         * iconvdata/ibm939.c : Likewise.
51246         * iconvdata/ibm943.c: Likewise.
51247         * iconvdata/iso_11548-1.c: Likewise.
51248         * iconvdata/iso-2022-cn.c : Likewise.
51249         * iconvdata/iso-2022-cn-ext.c : Likewise.
51250         * iconvdata/iso-2022-jp-3.c: Likewise.
51251         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51252         * iconvdata/iso-2022-kr.c : Likewise.
51253         * iconvdata/iso646.c (gconv_end): Likewise.
51254         * iconvdata/iso_6937-2.c : Likewise.
51255         * iconvdata/iso_6937.c : Likewise.
51256         * iconvdata/iso8859-1.c: Likewise.
51257         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51258         * iconvdata/shift_jisx0213.c : Likewise.
51259         * iconvdata/sjis.c : Likewise.
51260         * iconvdata/t.61.c : Likewise.
51261         * iconvdata/tcvn5712-1.c : Likewise.
51262         * iconvdata/tscii.c: Likewise.
51263         * iconvdata/uhc.c : Likewise.
51264         * iconvdata/unicode.c (gconv_end): Likewise.
51265         * iconvdata/utf-16.c (gconv_end): Likewise.
51266         * iconvdata/utf-32.c (gconv_end): Likewise.
51267         * iconvdata/utf-7.c (base64): Likewise.
51268         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51269         * iconv/gconv_close.c (__gconv_close): Likewise.
51270         * iconv/gconv_open.c (__gconv_open): Likewise.
51271         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51272         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51273         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51274         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51275         (ucs4le_internal_loop_single): Likewise.
51276         * iconv/iconv.c (iconv): Likewise.
51277         * iconv/iconv_close.c: Likewise.
51278         * iconv/loop.c (SINGLE): Likewise.
51279         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51280         * include/atomic.h: Likewise.
51281         * inet/inet6_option.c (option_alloc): Likewise.
51282         * intl/bindtextdom.c (set_binding_values): Likewise.
51283         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51284         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51285         * intl/localealias.c (read_alias_file): Likewise.
51286         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51287         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51288         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51289         * libio/fmemopen.c (fmemopen): Likewise.
51290         * libio/iofgets.c (_IO_fgets): Likewise.
51291         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51292         * libio/iofgetws.c (fgetws): Likewise.
51293         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51294         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51295         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51296         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51297         * locale/findlocale.c (_nl_find_locale): Likewise.
51298         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51299         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51300         Likewise.
51301         * locale/setlocale.c (setlocale): Likewise.
51302         * login/programs/pt_chown.c (main): Likewise.
51303         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51304         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51305         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51306         (mmap, mmap64, mremap, munmap): Likewise.
51307         * math/e_exp2l.c: Likewise.
51308         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51309         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51310         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51311         * math/s_catan.c (__catan): Likewise.
51312         * math/s_catanf.c (__catanf): Likewise.
51313         * math/s_catanh.c (__catanh): Likewise.
51314         * math/s_catanhf.c (__catanhf): Likewise.
51315         * math/s_catanhl.c (__catanhl): Likewise.
51316         * math/s_catanl.c (__catanl): Likewise.
51317         * math/s_ccosh.c (__ccosh): Likewise.
51318         * math/s_ccoshf.c (__ccoshf): Likewise.
51319         * math/s_ccoshl.c (__ccoshl): Likewise.
51320         * math/s_cexp.c (__cexp): Likewise.
51321         * math/s_cexpf.c (__cexpf): Likewise.
51322         * math/s_cexpl.c (__cexpl): Likewise.
51323         * math/s_clog10.c (__clog10): Likewise.
51324         * math/s_clog10f.c (__clog10f): Likewise.
51325         * math/s_clog10l.c (__clog10l): Likewise.
51326         * math/s_clog.c (__clog): Likewise.
51327         * math/s_clogf.c (__clogf): Likewise.
51328         * math/s_clogl.c (__clogl): Likewise.
51329         * math/s_csin.c (__csin): Likewise.
51330         * math/s_csinf.c (__csinf): Likewise.
51331         * math/s_csinh.c (__csinh): Likewise.
51332         * math/s_csinhf.c (__csinhf): Likewise.
51333         * math/s_csinhl.c (__csinhl): Likewise.
51334         * math/s_csinl.c (__csinl): Likewise.
51335         * math/s_csqrt.c (__csqrt): Likewise.
51336         * math/s_csqrtf.c (__csqrtf): Likewise.
51337         * math/s_csqrtl.c (__csqrtl): Likewise.
51338         * math/s_ctan.c (__ctan): Likewise.
51339         * math/s_ctanf.c (__ctanf): Likewise.
51340         * math/s_ctanh.c (__ctanh): Likewise.
51341         * math/s_ctanhf.c (__ctanhf): Likewise.
51342         * math/s_ctanhl.c (__ctanhl): Likewise.
51343         * math/s_ctanl.c (__ctanl): Likewise.
51344         * math/w_pow.c: Likewise.
51345         * math/w_powf.c: Likewise.
51346         * math/w_powl.c: Likewise.
51347         * math/w_scalb.c (sysv_scalb): Likewise.
51348         * math/w_scalbf.c (sysv_scalbf): Likewise.
51349         * math/w_scalbl.c (sysv_scalbl): Likewise.
51350         * misc/error.c (error_tail): Likewise.
51351         * misc/pselect.c (__pselect): Likewise.
51352         * nis/nis_callback.c (__nis_create_callback): Likewise.
51353         * nis/nis_call.c (__nisfind_server): Likewise.
51354         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51355         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51356         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51357         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51358         * nis/nis_lookup.c (nis_lookup): Likewise.
51359         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51360         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51361         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51362         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51363         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51364         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51365         * nis/nss_compat/compat-initgroups.c (add_group)
51366         (internal_getgrent_r): Likewise.
51367         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51368         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51369         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51370         (internal_getspnam_r): Likewise.
51371         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51372         (_nss_nis_getaliasbyname_r): Likewise.
51373         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51374         (_nss_nis_getntohost_r): Likewise.
51375         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51376         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51377         (_nss_nis_getgrgid_r): Likewise.
51378         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51379         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51380         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51381         (_nss_nis_gethostbyname4_r): Likewise.
51382         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51383         (initgroups_netid): Likewise.
51384         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51385         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51386         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51387         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51388         (_nss_nis_getprotobynumber_r): Likewise.
51389         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51390         (_nss_nis_getsecretkey): Likewise.
51391         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51392         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51393         (_nss_nis_getpwuid_r): Likewise.
51394         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51395         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51396         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51397         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51398         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51399         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51400         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51401         Likewise.
51402         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51403         (_nss_nisplus_getntohost_r): Likewise.
51404         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51405         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51406         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51407         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51408         Likewise.
51409         * nis/nss_nisplus/nisplus-initgroups.c
51410         (_nss_nisplus_initgroups_dyn): Likewise.
51411         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51412         (_nss_nisplus_getnetbyaddr_r): Likewise.
51413         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51414         (_nss_nisplus_getprotobynumber_r): Likewise.
51415         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51416         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51417         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51418         Likewise.
51419         * nis/nss_nisplus/nisplus-service.c
51420         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51421         (_nss_nisplus_getservbyport_r): Likewise.
51422         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51423         (_nss_nisplus_getspnam_r): Likewise.
51424         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51425         Likewise.
51426         * nscd/aicache.c (addhstaiX): Likewise.
51427         * nscd/cache.c (cache_search, prune_cache): Likewise.
51428         * nscd/connections.c (register_traced_file, send_ro_fd)
51429         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51430         (main_loop_epoll): Likewise.
51431         * nscd/grpcache.c (addgrbyX): Likewise.
51432         * nscd/hstcache.c (addhstbyX): Likewise.
51433         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51434         * nscd/mem.c (gc, mempool_alloc): Likewise.
51435         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51436         (addinnetgrX): Likewise.
51437         * nscd/nscd-client.h (__nscd_acquire_maplock)
51438         (__nscd_drop_map_ref): Likewise.
51439         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51440         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51441         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51442         Likewise.
51443         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51444         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51445         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51446         (__nscd_get_map_ref): Likewise.
51447         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51448         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51449         Likewise.
51450         * nscd/pwdcache.c (addpwbyX): Likewise.
51451         * nscd/selinux.c (preserve_capabilities): Likewise.
51452         * nscd/servicescache.c (addservbyX): Likewise.
51453         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51454         * posix/fnmatch.c (fnmatch): Likewise.
51455         * posix/getopt.c (_getopt_internal_r): Likewise.
51456         * posix/glob.c (glob, glob_in_dir): Likewise.
51457         * posix/wordexp.c (exec_comm_child): Likewise.
51458         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51459         (getanswer_r, gaih_getanswer_slice): Likewise.
51460         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51461         * resolv/res_init.c: Likewise.
51462         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51463         * resolv/res_query.c (__libc_res_nquery): Likewise.
51464         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51465         Likewise.
51466         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51467         * stdio-common/perror.c (perror): Likewise.
51468         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51469         * stdio-common/tmpnam.c (tmpnam): Likewise.
51470         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51471         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51472         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51473         Likewise.
51474         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51475         * stdlib/putenv.c (putenv): Likewise.
51476         * stdlib/setenv.c (__add_to_environ): Likewise.
51477         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51478         * stdlib/strtol_l.c (INTERNAL): Likewise.
51479         * string/memmem.c (memmem): Likewise.
51480         * string/strerror.c (strerror): Likewise.
51481         * string/strnlen.c (__strnlen): Likewise.
51482         * string/test-memmem.c (simple_memmem): Likewise.
51483         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51484         * sunrpc/pm_getport.c (__get_socket): Likewise.
51485         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51486         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51487         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51488         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51489         Likewise.
51490         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51491         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51492         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51493         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51494         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51495         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51496         Likewise.
51497         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51498         Likewise.
51499         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51500         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51501         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51502         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51503         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51504         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51505         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51506         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51507         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51508         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51509         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51510         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51511         Likewise.
51512         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51513         Likewise.
51514         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51515         Likewise.
51516         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51517         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51518         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51519         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51520         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51521         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51522         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51523         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51524         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51525         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51526         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51527         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51528         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51529         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51530         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51531         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51532         Likewise.
51533         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51534         Likewise.
51535         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51536         Likewise.
51537         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51538         Likewise.
51539         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51541         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51542         Likewise.
51543         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51544         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51545         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51546         * sysdeps/posix/sleep.c: Likewise.
51547         * sysdeps/posix/tempname.c: Likewise.
51548         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51549         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51550         Likewise.
51551         * sysdeps/powerpc/powerpc32/dl-machine.h
51552         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51553         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51555         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51556         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51557         Likewise.
51558         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51559         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51560         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51561         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51562         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51563         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51564         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51565         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51566         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51567         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51568         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51569         (elf_machine_lazy_rel): Likewise.
51570         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51571         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51572         (elf_machine_lazy_rel): Likewise.
51573         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51574         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51575         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51576         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51577         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51578         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51579         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51580         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51581         Likewise.
51582         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51583         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51584         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51585         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51586         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51587         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51588         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51589         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51590         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51591         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51592         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51593         Likewise.
51594         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51595         (__posix_fallocate64_l64): Likewise.
51596         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51597         (posix_fallocate): Likewise.
51598         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51599         Likewise.
51600         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51601         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51602         (getifaddrs_internal): Likewise.
51603         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51604         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51605         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51606         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51607         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51608         (__posix_fallocate64_l64): Likewise.
51609         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51610         Likewise.
51611         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51612         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51613         (__get_clockfreq): Likewise.
51614         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51615         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51616         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51617         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51618         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51619         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51620         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51621         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51622         Likewise.
51623         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51624         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51625         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51626         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51627         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51628         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51629         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51630         Likewise.
51631         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51632         (posix_fallocate): Likewise.
51633         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51634         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51635         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51636         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51637         (elf_machine_rela, elf_machine_rela_relative)
51638         (elf_machine_lazy_rel): Likewise.
51639         * time/asctime.c (asctime_internal): Likewise.
51640         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51641         * time/tzset.c (__tzset_parse_tz): Likewise.
51642         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51643         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51644         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51645         * wcsmbs/wcsmbsload.h: Likewise.
51647         [BZ #15894]
51648         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51650         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51651         (arena_get2): Remove THREAD_STATS conditionals.
51652         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51653         (__malloc_stats, int): Likewise.
51655 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51657         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51658         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51660         * manual/setjmp.texi: Fix typos/grammar errors.
51662         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51663         Only return early when n is <= 0.  Delete unused return statement.
51665         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51666         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51667         * debug/tst-longjmp_chk3.c: New file.
51669         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51670         (test_main): Replace code with set_fortify_handler call.
51671         * debug/test-strcpy_chk.c: Likewise.
51672         * debug/tst-chk1.c: Likewise.
51673         * debug/tst-longjmp_chk.c: Likewise.
51674         * test-skeleton.c: Include fcntl.h & paths.h
51675         (set_fortify_handler): Define.
51677         * debug/tst-longjmp_chk.c: Add header comment and include
51678         ../test-skeleton.c.
51679         (do_test): Mark static.
51680         (TEST_FUNCTION): Define.
51682         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51683         (IP_PMTUDISC_INTERFACE): Likewise.
51684         (IP_MULTICAST_IF): Likewise.
51685         (IP_MULTICAST_TTL): Likewise.
51686         (IP_MULTICAST_LOOP): Likewise.
51687         (IP_ADD_MEMBERSHIP): Likewise.
51688         (IP_DROP_MEMBERSHIP): Likewise.
51689         (IP_UNBLOCK_SOURCE): Likewise.
51690         (IP_BLOCK_SOURCE): Likewise.
51691         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51692         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51693         (IP_MSFILTER): Likewise.
51694         (MCAST_JOIN_GROUP): Likewise.
51695         (MCAST_BLOCK_SOURCE): Likewise.
51696         (MCAST_UNBLOCK_SOURCE): Likewise.
51697         (MCAST_LEAVE_GROUP): Likewise.
51698         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51699         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51700         (MCAST_MSFILTER): Likewise.
51701         (IP_MULTICAST_ALL): Likewise.
51702         (IP_UNICAST_IF): Likewise.
51704         * timezone/Makefile: Delete $(have-ksh) check.
51705         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51706         * timezone/tzselect.ksh: Add +x mode bits.
51708         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51709         (ANON_INODE_FS_MAGIC): Likewise.
51710         (BDEVFS_MAGIC): Likewise.
51711         (BINFMTFS_MAGIC): Likewise.
51712         (BTRFS_TEST_MAGIC): Likewise.
51713         (CRAMFS_MAGIC_WEND): Likewise.
51714         (DEBUGFS_MAGIC): Likewise.
51715         (ECRYPTFS_SUPER_MAGIC): Likewise.
51716         (EXT3_SUPER_MAGIC): Likewise.
51717         (EXT4_SUPER_MAGIC): Likewise.
51718         (FUTEXFS_SUPER_MAGIC): Likewise.
51719         (HOSTFS_SUPER_MAGIC): Likewise.
51720         (HUGETLBFS_MAGIC): Likewise.
51721         (MINIX3_SUPER_MAGIC): Likewise.
51722         (MTD_INODE_FS_MAGIC): Likewise.
51723         (NILFS_SUPER_MAGIC): Likewise.
51724         (OPENPROM_SUPER_MAGIC): Likewise.
51725         (PIPEFS_MAGIC): Likewise.
51726         (PSTOREFS_MAGIC): Likewise.
51727         (QNX6_SUPER_MAGIC): Likewise.
51728         (RAMFS_MAGIC): Likewise.
51729         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51730         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51731         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51732         (SECURITYFS_MAGIC): Likewise.
51733         (SELINUX_MAGIC): Likewise.
51734         (SMACK_MAGIC): Likewise.
51735         (SOCKFS_MAGIC): Likewise.
51736         (SQUASHFS_MAGIC): Likewise.
51737         (STACK_END_MAGIC): Likewise.
51738         (TMPFS_MAGIC): Likewise.
51739         (USBDEVICE_SUPER_MAGIC): Likewise.
51740         (V9FS_MAGIC): Likewise.
51741         (XENFS_SUPER_MAGIC): Likewise.
51742         (CRAMFS_MAGIC): Fix typo in comment.
51743         (EXT2_SUPER_MAGIC): Update comment.
51744         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51746 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51748         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51749         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51750         * sysdeps/unix/sysv/linux/arm: Move directory from
51751         ports/sysdeps/unix/sysv/linux/arm.
51752         * README: Update listing for arm-*-linux-gnueabi.
51754         * README: Remove mention of am33.
51756 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51758         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51759         than the comma operator, to avoid "rhs of comma has no effect"
51760         compiler warnings.
51761         (__sigfillset, __sigandset, __sigorset): Likewise.
51762         * include/signal.h (__sigemptyset): Likewise.
51763         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51765 2014-02-07  Allan McRae  <allan@archlinux.org>
51767         * version.h (RELEASE): Set to "development".
51768         (VERSION): Set to "2.19.90"
51769         * NEWS: Add 2.20 section.
51771 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51773         [BZ #16529]
51774         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51776 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51778         * manual/contrib.texi: Update entry for Carlos O'Donell,
51779         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51781 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51783         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51785         * sysdeps/unix/sysv/linux/kernel-features.h
51786         [__LINUX_KERNEL_VERSION >= 0x020621]
51787         (__ASSUME_PROC_PID_TASK_COMM): Define.
51789 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51791         [BZ #16398]
51792         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51793         conversion when destination buffer does not have enough space.
51794         * libio/tst-ftell-partial-wide.c: New test case.
51795         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51797         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51798         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51799         Leonard and Allan McRae.
51801 2014-02-04  David S. Miller  <davem@davemloft.net>
51803         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51804         32-bit.
51806 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51809         New file
51810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51811         New file
51812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51813         New file.
51814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51815         New file.
51816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51817         New file.
51818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51819         New file.
51820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51821         New file.
51822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51823         New file.
51824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51825         New file.
51826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51827         New file.
51828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51829         New file.
51830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51831         New file.
51832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51833         New file.
51835 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51837         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51838         * shlib-versions: Likewise.
51840 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51841             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51843         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51844         (abilist-pattern): New variable, set to %-le.abilist.
51846         * Makerules (abilist-pattern): New variable.
51847         (vpath): Use $(abilist-pattern) in place of %.abilist.
51848         (check-abi-% pattern rule): Likewise.
51849         (check-abi, update-abi): Likewise.
51851 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51853         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51855 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51857         * manual/startup.texi: Add next, previous, and top entries for
51858         the `Program Arguments' and `Environment Variables' nodes.
51860 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51862         * manual/macros.texi: Add comments before MTASC-safety macros.
51864         * manual/users.texi: Document MTASC-safety properties.
51866         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51867         (pthread_getspecific, pthread_setspecific): Format with
51868         @deftypefun, and add @safety note.
51869         * manual/signal.texi: Move comments that analyze the above
51870         functions to their home place.
51872 2014-02-03  Allan McRae  <allan@archlinux.org>
51874         * po/sl.po: Update Slovenian translation from translation project.
51876 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51878         * manual/time.texi (timegm): Add missing blank after @c.
51879         Reported by Joseph Myers <joseph@codesourcery.com>.
51881 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51883         * manual/check-safety.sh: New.
51884         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51886         * manual/terminal.texi: Document MTASC-safety properties.
51888         * manual/filesys.texi: Document MTASC-safety properties.
51890         * manual/errno.texi: Document MTASC-safety properties.
51892         * manual/intro.texi: Document safety identifiers and
51893         conditionals.
51895         * manual/string.texi (wcstok): Fix prototype.
51896         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51898         * manual/time.texi: Document MTASC-safety properties.
51900         * manual/string.texi: Document MTASC-safety properties.
51902         * manual/threads.texi: Document MTASC-safety properties.
51904         * manual/stdio.texi: Document MTASC-safety properties.
51906         * manual/syslog.texi: Document MTASC-safety properties.
51908         * manual/sysinfo.texi: Document MTASC-safety properties.
51910         * manual/startup.texi: Document MTASC-safety properties.
51912         * manual/socket.texi: Document MTASC-safety properties.
51914         * manual/signal.texi: Document MTASC-safety properties.
51916 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51918         * manual/setjmp.texi: Document MTASC-safety properties.
51920         * manual/search.texi: Document MTASC-safety properties.
51922         * manual/resource.texi: Document MTASC-safety properties.
51924         * manual/process.texi: Document MTASC-safety properties.
51926         * manual/platform.texi: Document MTASC-safety properties.
51928         * manual/pipe.texi: Document MTASC-safety properties.
51930         * manual/pattern.texi: Document MTASC-safety properties.
51932         * manual/message.texi: Document MTASC-safety properties.
51934         [BZ #12751]
51935         * manual/memory.texi: Document MTASC-safety properties.
51937         * manual/math.texi: Document MTASC-safety properties.
51939         * manual/locale.texi: Document MTASC-safety properties.
51941         * manual/llio.texi: Document MTASC-safety properties.
51943         * manual/libdl.texi: New.
51945         * manual/lang.texi: Document MTASC-safety properties.
51947         * manual/job.texi: Document MTASC-safety properties.
51949         * manual/getopt.texi: Document MTASC-safety properties.
51951         * manual/ctype.texi: Document MTASC-safety properties.
51953 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51955         [BZ #16046]
51956         * csu/libc-tls.c (static_map): Remove variable.
51957         (__libc_setup_tls): Use main executable's link map for TLS data.
51958         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51959         casing for LM_ID_BASE and GL(dl_nns).
51960         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51961         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51962         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51963         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51964         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51965         member.
51966         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51967         l_phnum members.
51969 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51971         * manual/debug.texi: Document MTASC-safety properties.
51973 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51975         [BZ #16510]
51976         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51977         of __x86_64__ when disabling x87 inline functions.
51979 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51981         * manual/charset.texi: Document MTASC-safety properties.
51983         * manual/crypt.texi: Document MTASC-safety properties.
51985         * manual/conf.texi: Document MTASC-safety properties.
51987         * manual/arith.texi: Document MTASC-safety properties.
51989         * manual/argp.texi: Document MTASC-safety properties.
51991         * manual/macros.texi: Introduce macros to document multi
51992         thread, asynchronous signal and asynchronous cancellation
51993         safety properties.
51994         * manual/intro.texi: Introduce the properties themselves.
51996 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51998         * sysdeps/sh/sh4/Makefile: New file.
52000 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52002         * math/gen-libm-test.pl ($srcdir): New variable.
52003         ($auto_input): Use it.
52005 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52007         [BZ #16506]
52008         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52009         access beyond array bounds when parsing netgroups file.
52011         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52012         the old buffer before realloc.
52014 2014-01-27  Allan McRae  <allan@archlinux.org>
52016         * po/fr.po: Update French translation from translation project.
52018 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52020         * sysdeps/sh/libm-test-ulps: Regenerate.
52022 2014-01-24  David S. Miller  <davem@davemloft.net>
52024         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52026 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52028         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52029         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52031 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52033         [BZ #16474]
52034         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52035         string pointers after reallocation.
52037 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52039         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52040         __SH4A__ instead of __SH_FPU_ANY__.
52042 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52044         * sysdeps/sh/fpu_control.h: New file.
52045         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52046         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52047         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52048         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52049         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52050         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52051         * sysdeps/sh/sys/ucontext.h: Remove.
52052         * sysdeps/sh/sys: Remove directory.
52054 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52056         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52057         s390/sys/ucontext.h.
52058         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52059         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52061 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52063         [BZ #15605]
52064         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52066 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52068         [BZ #16431]
52069         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52070         Adjust the vDSO correctly for internal calls.
52071         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52073 2014-01-20  Allan McRae  <allan@archlinux.org>
52075         * po/ca.po: Update Catalan translation from translation project.
52077 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52079         * sysdeps/s390/sotruss-lib.c: New file.
52081 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52083         [BZ #16430]
52084         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52085         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52086         local calls issues by not having a PLT stub required for IFUNC calls.
52087         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52089 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52091         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52092         * math/test-fpucw-static.c: Likewise.
52094 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52096         [BZ #16453]
52097         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52099 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52101         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52102         implementation for powerpc.
52104 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52106         [BZ #14782]
52107         * sysdeps/posix/system.c (__libc_system): Do not enable
52108         asynchronous cancellation.
52110 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52112         [BZ #16427]
52113         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52114         handling only for numbers special also in the IEEE case.
52116 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52118         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52120 2014-01-11  Allan McRae  <allan@archlinux.org>
52122         * po/bg.po: Update Bulgarian translation from translation project.
52124         * po/de.po: Update German translation from translation project.
52126 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52128         * sysdeps/generic/gcc-compat.h: New file.
52130 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52132         * benchtests/asin-inputs: Correct slow inputs.
52133         * benchtests/acos-inputs: Likewise.
52135 2014-01-10  Allan McRae  <allan@archlinux.org>
52137         * po:sv.po: Update Swedish translation from translation project.
52139         * po/vi.po: Update Vietnamese translation from translation project.
52141         * po/eo.po: Update Esperanto translation from translation project.
52143         * po/cs.po: Update Czech translation from translation project.
52145         * po/nl.po: Update Dutch translation from translation project.
52147         * po/pl.po: Update Polish translation from translation project.
52149         * po/ru.po: Update Russian translation from translation project.
52151         * po/uk.po: Update Ukrainian translation from translation project.
52153 2014-01-08  Brooks Moses  <bmoses@google.com>
52155         * elf/dl-load.c: Fix comment typo.
52157 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52159         * po/header.pot: Rename to...
52160         * po/pot.header: ... this.
52161         * po/Makefile: Use pot.header.
52163 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52164             Maxim Kuvyrkov  <maxim@kugelworks.com>
52166         [BZ #16394]
52167         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52168         SRC and DEST against LEN.
52170 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52172         [BZ #16414]
52173         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52174         implementation.
52175         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52177 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52181 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52183         [BZ #16408]
52184         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52185         for large positive arguments.
52187 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52189         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52191         * math/auto-libm-test-in: Mark various tests with
52192         xfail-rounding:ldbl-128ibm.
52193         * math/auto-libm-test-out: Regenerated.
52195         [BZ #16407]
52196         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52197         Increase overflow threshold.
52199 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52201         [BZ #14286]
52202         * stdio-common/vfprintf.c: Check for integer overflow.
52204 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52206         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52207         the first argument and return value of __tls_get_addr_internal.
52209 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52211         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52212         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52214 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52216         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52217         * sysdeps/s390/rtld-global-offsets.sym: New file.
52218         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52219         GLIBC_2.19 symbol.
52220         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52221         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52222         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52223         ... this.
52224         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52225         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52226         ... this.
52227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52228         Regenerate.
52229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52230         Regenerate.
52231         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52232         halfs of GPRs for high_gprs contexts.
52233         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52234         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52235         field.
52236         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52237         uc_flags field.
52238         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52239         64 bit versions:
52240         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52241         for high GPRs (uc_high_gprs) and for future extensions
52242         (__reserved).
52243         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52244         for future extensions (__reserved).
52245         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52246         64 bit versions:
52247         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52248         SC_HIGHGPRS offset definition.
52249         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52250         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52252         * Versions.def: Add GLIBC_2.19 for libpthread.
52253         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52254         siglongjmp for libpthread with GLIBC_2.19 symver.
52255         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52256         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52257         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52258         * sysdeps/s390/__longjmp.c: New file.
52259         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52260         * sysdeps/s390/longjmp.c: New file.
52261         * sysdeps/s390/setjmp.S: New file.
52262         * sysdeps/s390/sigjmp.S: New file.
52263         * sysdeps/s390/v1-longjmp.c: New file.
52264         * sysdeps/s390/v1-setjmp.h: New file.
52265         * sysdeps/s390/v1-sigjmp.c: New file.
52266         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52267         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52268         GLIBC_2.19 version.
52269         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52270         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52271         versioned symbols for ____longjmp_chk.
52272         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52273         Likewise.
52274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52275         Regenerate.
52276         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52277         Regenerate.
52278         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52279         Regenerate.
52280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52281         Regenerate.
52282         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52283         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52284         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52285         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52286         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52287         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52288         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52289         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52290         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52291         * sysdeps/s390/rtld-__longjmp.c: New file.
52292         * sysdeps/s390/rtld-setjmp.S: New file.
52294 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52296         [BZ #16400]
52297         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52298         Return -__logl (x) for small positive arguments without evaluating
52299         a polynomial.
52301 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52303         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52304         Rename to ...
52305         (__ptrace_peeksiginfo_args): ... this.
52306         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52307         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52308         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52310 2014-01-06  Allan McRae  <allan@archlinux.org>
52312         * inet/netinet/in.h: Fix typo in comment.
52314 2014-01-05  Andreas Jaeger  <aj@suse.de>
52316         * sysdeps/i386/fpu/libm-test-ulps: Update.
52318 2014-01-05  Allan McRae  <allan@archlinux.org>
52320         * po/libc.pot: Regenerated.
52322         * malloc/memusagestat.c: Fix gettext call formatting.
52324 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52326         * nscd/nscd.c: Improve usage() output.
52328 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52330         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52331         * sysdeps/unix/sysv/linux/configure: Regenerated.
52332         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52333         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52335 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52337         [BZ #16390]
52338         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52339         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52341 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52343         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52344         extra tokens at end of #undef directive.
52345         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52346         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52347         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52349 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52351         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52353         * math/auto-libm-test-in: Mark various tests with
52354         xfail-rounding:ldbl-128ibm.
52355         * math/auto-libm-test-out: Regenerated.
52357 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52359         [BZ #16386]
52360         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52361         numbers with subnormal high part when calculating exponent.
52363         [BZ #16385]
52364         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52365         fabs.
52367         [BZ #16384]
52368         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52369         M_LN2l.
52370         (__ieee754_acoshl): Use __log1pl not __log1p.
52372 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52374         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52375         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52376         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52377         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52378         (reused_arena, arena_get2): Convert to GNU style.
52379         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52380         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52381         (memalign_check, __malloc_set_state): Likewise.
52382         * malloc/mallocbug.c (main): Likewise.
52383         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52384         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52385         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52386         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52387         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52388         (__posix_memalign, malloc_info): Likewise.
52389         * malloc/malloc.h: Likewise.
52390         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52391         (mallochook, memalignhook, reallochook, mabort): Likewise.
52392         * malloc/mcheck.h: Likewise.
52393         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52394         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52395         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52396         * malloc/morecore.c (__default_morecore): Likewise.
52397         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52398         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52399         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52400         (print_and_abort): Likewise.
52401         * malloc/obstack.h: Likewise.
52402         * malloc/set-freeres.c (__libc_freeres): Likewise.
52403         * malloc/tst-mallocstate.c (main): Likewise.
52404         * malloc/tst-mtrace.c (main): Likewise.
52405         * malloc/tst-realloc.c (do_test): Likewise.
52407 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52409         [BZ #16366]
52410         * nscd/netgroupcache.c (do_notfound): New function.
52411         (addgetnetgrentX): Use it.
52413         [BZ # 16365]
52414         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52415         NSS_STATUS_NOTFOUND.
52417 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52419         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52422 2014-01-01  Allan McRae  <allan@archlinux.org>
52424         * scripts/update-copyrights: Update configure input file suffix.
52426         * NEWS: Update copyright year.
52427         * catgets/gencat.c: Likewise.
52428         * csu/version.c: Likewise.
52429         * debug/catchsegv.sh: Likewise.
52430         * debug/pcprofiledump.c: Likewise.
52431         * debug/xtrace.sh: Likewise.
52432         * elf/ldconfig.c: Likewise.
52433         * elf/ldd.bash.in: Likewise.
52434         * elf/pldd.c: Likewise.
52435         * elf/sotruss.ksh: Likewise.
52436         * elf/sprof.c: Likewise.
52437         * iconv/iconv_prog.c: Likewise.
52438         * iconv/iconvconfig.c: Likewise.
52439         * locale/programs/locale.c: Likewise.
52440         * locale/programs/localedef.c: Likewise.
52441         * login/programs/pt_chown.c: Likewise.
52442         * malloc/memusage.sh: Likewise.
52443         * malloc/memusagestat.c: Likewise.
52444         * malloc/mtrace.pl: Likewise.
52445         * manual/libc.texinfo: Likewise.
52446         * nscd/nscd.c: Likewise.
52447         * nss/getent.c: Likewise.
52448         * nss/makedb.c: Likewise.
52449         * posix/getconf.c: Likewise.
52450         * scripts/test-installation.pl: Likewise.
52452         * All files with FSF copyright notices: Update copyright dates
52453         using scripts/update-copyrights.
52454         * intl/plural.c: Regenerated.
52455         * locale/programs/charmap-kw.h: Likewise.
52456         * locale/programs/locfile-kw.h: Likewise.
52458 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52460         * sysdeps/unix/sysv/linux/configure: Regenerated.
52461         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52462         the linux/fanotify.h header.
52463         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52464         HAVE_LINUX_FANOTIFY_H is defined.
52466 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52468         * benchtests/cos-inputs: New inputs.
52469         * benchtests/sin-inputs: Likewise.
52471         * benchtests/atan-inputs: New inputs. Fix name of multiple
52472         precision fallback inputs.
52474         * benchtests/atanh-inputs: New inputs.
52475         * benchtests/tanh-inputs: Likewise.
52477         * benchtests/acosh-inputs: New inputs.
52478         * benchtests/asinh-inputs: Likewise.
52480         * benchtests/cosh-inputs: New inputs.
52481         * benchtests/sinh-inputs: Likewise.
52483         * benchtests/acos-inputs: Add more inputs.
52484         * benchtests/asin-inputs: Likewise.
52486 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52488         [BZ #16375]
52489         * manual/arith.texi: Fix spelling.
52490         * manual/charset.texi: Likewise.
52491         * manual/errno.texi: Likewise.
52492         * manual/filesys.texi: Likewise.
52493         * manual/lang.texi: Likewise.
52494         * manual/llio.texi: Likewise.
52495         * manual/locale.texi: Likewise.
52496         * manual/message.texi: Likewise.
52497         * manual/resource.texi: Likewise.
52498         * manual/search.texi: Likewise.
52499         * manual/setjmp.texi: Likewise.
52500         * manual/stdio.texi: Likewise.
52501         * manual/string.texi: Likewise.
52502         * manual/sysinfo.texi: Likewise.
52503         * manual/time.texi: Likewise.
52505 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52507         * po/sl.po: New file.
52509 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52511         * .gitignore: Add core/.gdbinit/.gdb_history.
52513 2013-12-27  Allan McRae  <allan@archlinux.org>
52515         [BZ #16369]
52516         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52517         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52519 2013-12-24  Brooks Moses  <bmoses@google.com>
52521         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52522         all compilers that claim C++98 compliance, not just GCC.
52523         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52524         Likewise.
52526 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52528         * NEWS: Restore accidentally deleted bug-fix entries.
52530 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52531             Ondřej Bílka  <neleai@seznam.cz>
52533         [BZ #15073]
52534         * malloc/malloc.c (_int_free): Perform sanity check only if we
52535         have_lock.
52537 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52539         [BZ #12986]
52540         * manual/stdio.texi (String Input Conversions): Clarify that character
52541         classes are not supported.
52543 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52547 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52549         [BZ #16337]
52550         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52551         Calculate results for small negative arguments directly rather
52552         than using reflection formula with special underflow handling.
52554         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52555         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52556         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52557         (fchflags): Likewise.
52558         (revoke): Likewise.
52559         (setlogin): Likewise.
52560         (sigaltstack): Likewise.
52561         (wait4): Likewise.
52562         (sigblock): Remove.
52563         (sigsetmask): Likewise.
52564         (wait3): Likewise.
52565         (waitpid): Likewise.
52566         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52567         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52568         file.
52569         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52570         * sysdeps/unix/bsd/Makefile: ... here.
52571         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52572         * sysdeps/unix/bsd/Versions: ... here.
52573         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52574         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52575         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52576         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52577         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52578         * sysdeps/unix/bsd/sigblock.c: ... here.
52579         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52580         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52581         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52582         * sysdeps/unix/bsd/sigvec.c: ... here.
52583         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52584         * sysdeps/unix/bsd/tcdrain.c: ... here.
52585         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52586         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52587         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52588         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52589         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52590         * sysdeps/unix/bsd/wait.c: ... here.
52591         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52592         * sysdeps/unix/bsd/wait3.c: ... here.
52593         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52594         * sysdeps/unix/bsd/waitpid.c: ... here.
52596 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52598         [BZ #16356]
52599         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52600         round-to-nearest for [!USE_AS_EXPM1L].
52601         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52602         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52603         more tests of exp and exp10.  Expect some exp10 tests to miss
52604         exceptions or fail in directed rounding modes.
52605         * math/auto-libm-test-out: Regenerated.
52606         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52607         (exp10_test_tonearest): New function.
52608         (exp10_towardzero_test_data): New array.
52609         (exp10_test_towardzero): New function.
52610         (exp10_downward_test_data): New array.
52611         (exp10_test_downward): New function.
52612         (exp10_upward_test_data): New array.
52613         (exp10_test_upward): New function.
52614         (main): Call the new functions.
52615         * sysdeps/i386/fpu/libm-test-ulps: Update.
52616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52618 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52620         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52621         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52622         * math/auto-libm-test-out: Regenerated.
52623         * math/libm-test.inc (acosh_test_data): Add more tests.
52624         (atanh_test_data): Likewise.
52625         (ceil_test_data): Likewise.
52626         (copysign_test_data): Likewise.
52627         * sysdeps/i386/fpu/libm-test-ulps: Update.
52628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52630         * timezone/checktab.awk: Update from tzcode 2013i.
52631         * timezone/private.h: Likewise.
52632         * timezone/scheck.c: Likewise.
52633         * timezone/tzfile.h: Likewise.
52634         * timezone/tzselect.ksh: Likewise.
52635         * timezone/zdump.c: Likewise.
52636         * timezone/zic.c: Likewise.
52638         * math/auto-libm-test-in: Add tests of cpow.
52639         * math/auto-libm-test-out: Regenerated.
52640         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52641         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52642         mpc_cc_c.
52643         (func_calc_desc): Add mpc_cc_c union field.
52644         (test_functions): Add cpow.
52645         (special_fill_2pi): New function.
52646         (special_real_inputs): Add 2pi.
52647         (calc_generic_results): Handle mpc_cc_c.
52648         * sysdeps/i386/fpu/libm-test-ulps: Update.
52649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52651         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52652         csqrt, ctan and ctanh.
52653         * math/auto-libm-test-out: Regenerated.
52654         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52655         (TEST_COND_x86): Likewise.
52656         (ccos_test_data): Use AUTO_TESTS_c_c.
52657         (ccosh_test_data): Likewise.
52658         (cexp_test_data): Likewise.
52659         (clog_test_data): Likewise.
52660         (csqrt_test_data): Likewise.
52661         (ctan_test_data): Likewise.
52662         (ctan_tonearest_test_data): Likewise.
52663         (ctan_towardzero_test_data): Likewise.
52664         (ctan_downward_test_data): Likewise.
52665         (ctan_upward_test_data): Likewise.
52666         (ctanh_test_data): Likewise.
52667         (ctanh_tonearest_test_data): Likewise.
52668         (ctanh_towardzero_test_data): Likewise.
52669         (ctanh_downward_test_data): Likewise.
52670         (ctanh_upward_test_data): Likewise.
52671         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52672         mpc_c_c.
52673         (func_calc_desc): Add mpc_c_c union field.
52674         (FUNC_mpc_c_c): New macro.
52675         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52676         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52677         ctanh.
52678         (special_fill_min_subnorm_p120): New function.
52679         (special_real_inputs): Add min_subnorm_p120.
52680         (calc_generic_results): Handle mpc_c_c.
52681         * sysdeps/i386/fpu/libm-test-ulps: Update.
52682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52684 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52686         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52687         (do_sin_slow): New functions.
52688         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52689         (cslow2, csloww1, csloww2): Use the new functions.
52691         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52692         Use M to change sign of result instead of X.  Assume X is
52693         positive.
52694         (csloww1): Likewise.
52695         (__sin): Adjust.
52696         (__cos): Adjust.
52698         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52699         arguments A and DA.
52700         (__sin): Adjust.
52701         (__cos): Likewise.
52703         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52704         (__cos): Likewise.
52705         (sloww1): Don't adjust sign of DX.
52706         (csloww1): Likewise.
52707         (sloww2): Use X directly and don't adjust sign of DX.
52708         (csloww2): Likewise.
52710 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52712         * math/auto-libm-test-in: Add tests of cabs and carg.
52713         * math/auto-libm-test-out: Regenerated.
52714         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52715         (carg_test_data): Likewise.
52716         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52717         mpc_c_f.
52718         (func_calc_desc): Add mpc_c_f union field.
52719         (test_functions): Add cabs and carg.
52720         (calc_generic_results): Handle mpc_c_f.
52722         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52723         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52724         as a macro and a compat symbol.
52725         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52726         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52727         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52728         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52729         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52730         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52731         not use .hidden.
52732         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52733         Likewise.
52734         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52735         Likewise.
52736         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52737         Likewise.
52738         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52739         Likewise.
52740         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52741         Likewise.
52742         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52743         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52744         from GLIBC_2.3.2.
52746 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52750 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52752         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52753         trailing whitespace removed.
52754         * scripts/config.guess: Update to version 2013-11-29.
52755         * scripts/config.sub: Update to version 2013-10-01.
52757         * math/auto-libm-test-in: Add tests of sincos.
52758         * math/auto-libm-test-out: Regenerated.
52759         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52760         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52761         mpfr_f_11.
52762         (func_calc_desc): Add mpfr_f_11 union field.
52763         (test_functions): Add sincos.
52764         (calc_generic_results): Handle mpfr_f_11.
52765         * sysdeps/i386/fpu/libm-test-ulps: Update.
52766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52768 2013-12-19  Andreas Schwab  <schwab@suse.de>
52770         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52771         CALL_MCOUNT.
52772         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52773         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52774         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52776 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52778         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52779         * sysdeps/i386/fpu/libm-test-ulps: Update.
52780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52782         [BZ #16293]
52783         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52784         round-to-nearest mode when using frndint.
52785         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52786         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52787         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52788         Likewise.
52789         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52790         sinh test to fail.
52791         * math/auto-libm-test-out: Regenerated.
52792         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52793         (TEST_COND_x86): Likewise.
52794         (expm1_tonearest_test_data): New array.
52795         (expm1_test_tonearest): New function.
52796         (expm1_towardzero_test_data): New array.
52797         (expm1_test_towardzero): New function.
52798         (expm1_downward_test_data): New array.
52799         (expm1_test_downward): New function.
52800         (expm1_upward_test_data): New array.
52801         (expm1_test_upward): New function.
52802         (main): Run the new test functions.
52803         * sysdeps/i386/fpu/libm-test-ulps: Update.
52804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52806         * include/features.h: Update comment documenting feature test
52807         macros.  Mention _DEFAULT_SOURCE in comment.
52808         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52809         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52810         _BSD_SOURCE and _SVID_SOURCE.
52811         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52812         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52813         !_SVID_SOURCE]: Likewise.
52814         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52815         (__USE_POSIX_IMPLICITLY): Define.
52816         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52817         (_POSIX_SOURCE): Undefine and redefine.
52818         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52819         (_POSIX_C_SOURCE): Likewise.
52820         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52821         (Feature Test Macros): Update documentation of default features.
52823 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52825         * benchtests/Makefile: Add bench-strtok.
52826         * benchtests/bench-strtok.c: New file: strtok benchtest.
52828 2013-12-19  Allan McRae  <allan@archlinux.org>
52830         * manual/install.texi: Suppress menu for plain text output.
52831         * INSTALL: Regenerated.
52833 2013-12-18  Brooks Moses  <bmoses@google.com>
52835         [BZ #15846]
52836         * misc/getauxval.c: Include errno.h.
52837         (__getauxval): Set errno to ENOENT if the requested type is not
52838         found.
52839         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52840         don't declare with __attribute_const__.
52841         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52842         * manual/startup.texi: Document that getauxval sets errno.
52844 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52846         * math/auto-libm-test-in: Add tests of jn and yn.
52847         * math/auto-libm-test-out: Regenerated.
52848         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52849         (yn_test_data): Likewise.
52850         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52851         mpfr_if_f.
52852         (func_calc_desc): Add mpfr_if_f union field.
52853         (FUNC_mpfr_if_f): New macro.
52854         (test_functions): Add jn and yn.
52855         (calc_generic_results): Assert type of second input for
52856         mpfr_ff_f.  Handle mpfr_if_f.
52857         (output_for_one_input_case): Disable all checking for arguments
52858         fitting floating-point types in case of an integer argument.
52859         * sysdeps/i386/fpu/libm-test-ulps: Update.
52860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52863         Don't expect fegetround reference in libm.so.
52865 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52867         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52868         $(config-cflags-nofma).
52870 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52872         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52873         * math/auto-libm-test-out: Regenerated.
52875         [BZ #16338]
52876         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52877         to determine exponent and adjust argument to have exponent of -1.
52878         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52879         log2.
52880         * math/auto-libm-test-out: Regenerated.
52881         * sysdeps/i386/fpu/libm-test-ulps: Update.
52882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52884 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52886         * manual/probes.texi: Remove cases when per-thread arenas are
52887         disabled.
52889 2013-12-18  Andreas Schwab  <schwab@suse.de>
52891         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52892         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52893         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52894         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52895         * sysdeps/i386/i686/multiarch/Makefile: Update.
52896         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52898 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52900         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52901         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52903 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52905         [BZ #15968]
52906         Support TZ transition times < 00:00:00.
52907         This is needed for version-3 tz-format files; it supports time
52908         stamps past 2037 for America/Godthab (the only entry in the tz
52909         database for which this change is relevant).
52910         * manual/time.texi (TZ Variable): Document transition times
52911         from -167:59:59 through -00:00:01.
52912         * time/tzset.c (tz_rule): Time of day is now signed.
52913         (__tzset_parse_tz): Parse negative time of day.
52915         Document TZ transition times >= 25:00:00.
52916         * manual/time.texi (TZ Variable): Document transition times from
52917         25:00:00 through 167:59:59.  These are already supported, and this
52918         support will help with version-3 tz-format files.
52920         * manual/time.texi (TZ Variable): Modernize North America example
52921         to reflect current (i.e., 2007-and-later) daylight saving rules.
52923         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52925 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52927         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52928         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52929         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52930         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52931         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52932         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52933         * sysdeps/unix/bsd/clock.c: Likewise.
52934         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52935         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52936         * sysdeps/unix/bsd/init-posix.c: Likewise.
52937         * sysdeps/unix/bsd/poll.c: Likewise.
52938         * sysdeps/unix/bsd/ptsname.c: Likewise.
52939         * sysdeps/unix/bsd/seekdir.c: Likewise.
52940         * sysdeps/unix/bsd/setegid.c: Likewise.
52941         * sysdeps/unix/bsd/seteuid.c: Likewise.
52942         * sysdeps/unix/bsd/setgid.c: Likewise.
52943         * sysdeps/unix/bsd/setrgid.c: Likewise.
52944         * sysdeps/unix/bsd/setruid.c: Likewise.
52945         * sysdeps/unix/bsd/setsid.c: Likewise.
52946         * sysdeps/unix/bsd/setuid.c: Likewise.
52947         * sysdeps/unix/bsd/sigaction.c: Likewise.
52948         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52949         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52950         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52951         * sysdeps/unix/bsd/telldir.c: Likewise.
52952         * sysdeps/unix/bsd/times.c: Likewise.
52953         * sysdeps/unix/bsd/usleep.c: Likewise.
52955         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52956         ($(objpfx)libbsd-compat.a): Remove rule.
52958         * include/features.h (__FAVOR_BSD): Do not define.
52959         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52960         features conflicting with POSIX.
52961         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52962         (_BSD_SOURCE): Remove description of not being a subset of other
52963         feature test macros.
52964         * manual/job.texi (getpgrp): Do not document BSD version.
52965         (getpgid): Do not document by reference to BSD getpgrp.
52966         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52967         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52968         * signal/signal.h [__FAVOR_BSD]: Likewise.
52969         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52970         instead of making contents conditional on [__FAVOR_BSD].
52971         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52973 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52977 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52979         [BZ #16314]
52980         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52981         values below 2**-450, not 2**-500.
52982         * math/auto-libm-test-in: Don't allow spurious underflow from
52983         hypot.
52984         * math/auto-libm-test-out: Regenerated.
52986         [BZ #16316]
52987         [BZ #16330]
52988         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52989         values of ha and hb and sort them after adjusting subnormal
52990         arguments.
52991         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
52992         Likewise.
52993         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
52994         values of ea and eb and sort them after adjusting subnormal
52995         arguments.
52996         * math/auto-libm-test-in: Do not expect some hypot tests of
52997         subnormals to fail.  Add more hypot tests.
52998         * math/auto-libm-test-out: Regenerated.
53000 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53002         [BZ #13304]
53003         * sysdeps/sh/s_fma.c: New file.
53004         * sysdeps/sh/s_fmaf.c: New file.
53005         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53006         version.
53007         * sysdeps/sh/Implies: Add sh/soft-fp.
53009 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53011         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53012         level of indirection to members `objname', `errstring', `malloced'.
53013         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53014         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53015         it as the __longjmp argument (just pass 1 instead).
53016         (_dl_catch_error): Initialize C with argument pointers and address of
53017         volatile local ERRCODE rather than copying values out of C at return.
53019 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53021         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53022         * math/auto-libm-test-out: Regenerated.
53023         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53024         (hypot_test_data): Likewise.
53025         (pow_test_data): Likewise.
53026         (pow_tonearest_test_data): Likewise.
53027         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53028         mpfr_ff_f.
53029         (func_calc_desc): Add mpfr_ff_f union field.
53030         (FUNC_mpfr_ff_f): New macro.
53031         (test_functions): Add atan2, hypot and pow.
53032         (special_fill_min): New function.
53033         (special_fill_minus_min): Likewise.
53034         (special_fill_min_subnorm): Likewise.
53035         (special_fill_minus_min_subnorm): Likewise.
53036         (special_real_inputs): Add min, -min, min_subnorm and
53037         -min_subnorm.
53038         (calc_generic_results): Handle mpfr_ff_f.
53039         * sysdeps/i386/fpu/libm-test-ulps: Update.
53040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53042 2013-12-16  Will Newton  <will.newton@linaro.org>
53044         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53045         (Aligned Memory Blocks): Add documentation for aligned_alloc
53046         and suggest it as an alternative to posix_memalign.
53047         (Hooks for Malloc): Document __memalign_hook is also called
53048         for aligned_alloc.  (Summary of Malloc): Add summary for
53049         aligned alloc.  Document __memalign_hook is also called
53050         for aligned_alloc.
53052 2013-12-16  Will Newton  <will.newton@linaro.org>
53054         * manual/memory.texi (Malloc Examples): Clarify default
53055         alignment documentation.  Suggest posix_memalign rather
53056         than memalign or valloc.
53057         (Aligned Memory Blocks): Remove suggestion to use memalign
53058         or valloc.  Remove obsolete comment about BSD.
53059         Document memalign errno values and mark the function obsolete.
53060         Document posix_memalign returned error codes.  Mark valloc
53061         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53062         called for posix_memalign and valloc.
53063         (Summary of Malloc): Add posix_memalign to function summary.
53064         __memalign_hook is also called for posix_memalign and valloc.
53066 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53068         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53069         TAYLOR_SIN.
53070         (__sin): Adjust.
53071         (__cos): Likewise.
53072         (sloww): Use mynumber union.  Expand ternary operator into
53073         if-else statements.
53074         (cslow): use mynumber union.
53076 2013-12-16  Allan McRae  <allan@archlinux.org>
53078         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53079         * configure: Regenerated.
53081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53083         [BZ #14120]
53084         * configure.ac: Added --enable-maintainer-mode. Check for
53085         autoconf when enabled.
53086         * configure: Regenerated.
53088         * nscd/nscd.service: New file.
53089         * nscd/nscd.tmpfiles: New file.
53091 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53093         [BZ #12100]
53094         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53095         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53096         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53097         (strstr): Add __strstr_sse2_unaligned ifunc.
53098         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53099         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53100         (strcasestr): Remove __strcasestr_sse42 ifunc.
53101         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53105 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53107         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53108         * sysdeps/sh/bits/fenv.h: ... here.
53109         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53111 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53113         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53115         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53116         hypotf multiarch implementations.
53117         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53118         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53119         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53120         multiarch hypot for PPC64.
53121         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53122         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53123         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53124         multiarch hypotf for PPC64.
53126         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53127         modff multiarch implementations.
53128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53131         multiarch modf for PPC64.
53132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53135         multiarch modff for PPC64.
53137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53138         and logl multiarch implementations.
53139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53142         multiarch logb for PPC64.
53143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53146         multiarch logb for PPC64.
53147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53150         multiarch logb for PPC64.
53152         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53153         isinff multiarch implementation.
53154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53155         file.
53156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53158         multiarch isinf for PPC64.
53159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53160         file.
53161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53162         multiarch isinff for PPC64.
53164         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53165         finitef multiarch implementation.
53166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53167         file.
53168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53170         multiarch finite for PPC64.
53171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53172         file.
53173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53174         multiarch finitef for PPC64.
53176         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53177         lrint multiarch implementation.
53178         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53179         file.
53180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53182         multiarch llrint for PPC64.
53183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53184         multiarch lrint for PPC64.
53186         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53187         copysignf multiarch implementation.
53188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53189         file.
53190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53191         file.
53192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53193         multiarch copysign for PPC64.
53194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53195         multiarch copysignf for PPC64.
53197         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53198         multiarch implementation.
53199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53200         file.
53201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53202         file.
53203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53204         file.
53205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53206         file.
53207         multiarch llround for PPC64.
53208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53209         multiarch trunc for PPC64.
53210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53211         multiarch truncf for PPC64.
53213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53214         multiarch implementation.
53215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53216         file.
53217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53218         file.
53219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53220         file.
53221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53222         file.
53223         multiarch llround for PPC64.
53224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53225         multiarch round for PPC64.
53226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53227         multiarch roundf for PPC64.
53229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53230         multiarch implementation.
53231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53232         file.
53233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53234         file.
53235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53236         file.
53237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53238         file.
53239         multiarch llround for PPC64.
53240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53241         multiarch floor for PPC64.
53242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53243         multiarch floorf for PPC64.
53245         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53246         multiarch implementation.
53247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53248         file.
53249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53250         file.
53251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53252         file.
53253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53254         file.
53255         multiarch llround for PPC64.
53256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53257         multiarch ceil for PPC64.
53258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53259         multiarch ceilf for PPC64.
53261         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53262         multiarch implementation.
53263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53264         file.
53265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53266         file.
53267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53268         file.
53269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53270         multiarch llround for PPC64.
53271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53272         multiarch lround for PPC64.
53274         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53275         multiarch implementation.
53276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53279         file.
53280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53283         multiarch isnan for PPC64.
53284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53285         multiarch isnanf for PPC64.
53287         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53288         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53289         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53290         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53291         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53294         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53295         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53296         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53297         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53300         multiarch implementations.
53301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53302         (__libc_ifunc_impl_list): Likewise.
53303         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53304         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53305         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53306         multiarch stpcpy for PPC64.
53308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53309         multiarch implementations.
53310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53311         (__libc_ifunc_impl_list): Likewise.
53312         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53313         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53314         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53315         multiarch strcpy for PPC64.
53317         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53318         redefine function name.
53319         (_wordcopy_fwd_dest_aligned): Likewise.
53320         (_wordcopy_bwd_aligned): Likewise.
53321         (_wordcopy_bwd_dest_aligned): Likewise.
53322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53323         multiarch implementations.
53324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53325         (__libc_ifunc_impl_list): Likewise.
53326         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53327         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53328         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53329         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53330         multiarch wcscpy for PPC64.
53332         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53333         multiarch implementations.
53334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53335         (__libc_ifunc_impl_list): Likewise.
53336         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53337         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53338         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53339         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53340         multiarch wcscpy for PPC64.
53342         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53343         multiarch implementations.
53344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53345         (__libc_ifunc_impl_list): Likewise.
53346         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53347         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53348         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53349         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53350         multiarch wcsrchr for PPC64.
53352         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53353         multiarch implementations.
53354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53355         (__libc_ifunc_impl_list): Likewise.
53356         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53357         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53358         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53359         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53360         multiarch wcschr for PPC64.
53362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53363         multiarch implementations.
53364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53365         (__libc_ifunc_impl_list): Likewise.
53366         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53367         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53368         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53369         multiarch strchrnul for PPC64.
53371         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53372         implementations.
53373         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53374         (__libc_ifunc_impl_list): Likewise.
53375         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53376         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53377         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53378         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53379         strchr for PPC64.
53381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53382         implementations.
53383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53384         (__libc_ifunc_impl_list): Likewise.
53385         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53386         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53387         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53388         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53389         strncmp for PPC64.
53391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53392         multiarch implementations.
53393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53394         (__libc_ifunc_impl_list): Likewise.
53395         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53396         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53397         strncasecmp for PPC64.
53398         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53399         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53400         multiarch strncasecmp_l for PPC64.
53402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53403         multiarch implementations.
53404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53405         (__libc_ifunc_impl_list): Likewise.
53406         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53407         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53408         multiarch strcasecmp for PPC64.
53409         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53410         file.
53411         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53412         multiarch strcasecmp_l for PPC64.
53414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53415         implementations.
53416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53417         (__libc_ifunc_impl_list): Likewise.
53418         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53419         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53420         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53421         strnlen for PPC64.
53423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53424         implementations.
53425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53426         (__libc_ifunc_impl_list): Likewise.
53427         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53428         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53429         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53430         strlen for PPC64.
53432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53433         implementations.
53434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53435         (__libc_ifunc_impl_list): Likewise.
53436         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53437         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53438         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53439         rawmemrchr for PPC64.
53441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53442         implementation.
53443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53444         (__libc_ifunc_impl_list): Likewise.
53445         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53446         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53447         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53448         memrchr for PPC64.
53450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53451         implementation.
53452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53453         (__libc_ifunc_impl_list): Likewise.
53454         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53455         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53456         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53457         memchr for PPC64.
53459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53460         implementation.
53461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53462         (__libc_ifunc_impl_list): Likewise.
53463         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53464         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53465         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53466         mempcpy for PPC64.
53468         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53469         avoid cretion of __bzero symbol.
53470         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53471         Likewise.
53472         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53473         Likewise.
53474         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53475         Likewise.
53476         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53477         multiarch implementations.
53478         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53479         (__libc_ifunc_impl_list): Likewise.
53480         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53481         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53482         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53483         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53484         bzero for PPC32.
53485         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53486         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53487         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53488         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53489         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53490         memset for PPC64.
53491         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53493         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53495         implementations.
53496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53497         (__libc_ifunc_impl_list): Likewise.
53498         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53499         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53500         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53501         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53502         memcmp for PPC64.
53504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53505         multiarch for POWER/PPC64.
53506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53507         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53508         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53509         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53510         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53511         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53512         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53513         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53514         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53515         memcpy for PPC64.
53517         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53518         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53519         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53520         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53521         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53522         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53523         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53524         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53525         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53526         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53527         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53528         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53529         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53530         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53531         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53540 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53542         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53544 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53546         * benchtests/Makefile (bench): Add exp2 and log2.
53547         (LDLIBS-bench-exp2): Add -lm.
53548         (LDLIBS-bench-log2): Likewise.
53549         * benchtests/exp2-inputs: New inputs file.
53550         * benchtests/log2-inputs: New inputs file.
53551         * benchtests/log-inputs: Add new inputs.
53552         * benchtests/tan-inputs: Likewise.
53554 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53556         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53557         definition...
53558         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53559         (csloww2): ... from here.
53561         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53562         instead of structures.
53563         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53564         (POLYNOMIAL): Likewise.
53565         (TAYLOR_SLOW): Likewise.
53566         (__sin): Likewise.
53567         (__cos): Likewise.
53568         (slow1): Likewise.
53569         (slow2): Likewise.
53570         (sloww): Likewise.
53571         (sloww1); Likewise.
53572         (sloww2): Likewise.
53573         (bsloww1): Likewise.
53574         (bsloww2): Likewise.
53575         (cslow2): Likewise.
53576         (csloww): Likewise.
53577         (csloww1): Likewise.
53578         (csloww2): Likewise.
53580 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53582         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53583         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53584         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53585         * malloc/hooks.c (realloc_check): Likewise.
53587         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53588         * malloc/arena.c: Remove PER_THREAD conditional.
53589         [!PER_THREAD]: Remove code.
53590         (ptmalloc_unlock_all2): Likewise.
53591         (ptmalloc_init): Likewise.
53592         (_int_new_arena): Likewise.
53593         (arena_get2): Likewise.
53594         * malloc/hooks.c (__malloc_get_state): Likewise.
53595         (__malloc_set_state): Likewise.
53596         * malloc/malloc.c: Likewise.
53597         (struct malloc_state): Likewise.
53598         (struct malloc_par): Likewise.
53599         (__libc_realloc): Likewise.
53600         (__libc_mallopt): Likewise.
53602 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53604         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53606 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53608         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53609         macro to a function.  Check for zero perturb_byte.
53610         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53612         * malloc/malloc.c: (force_reg): Remove.
53613         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53614         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53615         force_reg by atomic_forced_read.
53616         * malloc/arena.c (ptmalloc_init): Likewise.
53617         * malloc/hooks.c (top_check): Likewise.
53619 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53623 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53625         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53627 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53629         * math/auto-libm-test-in: Add tests of lgamma.
53630         * math/auto-libm-test-out: Regenerated.
53631         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53632         (M_LOG_2_SQRT_PIl): Likewise.
53633         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53634         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53635         mpfr_f_f1.
53636         (func_calc_desc): Add mpfr_f_f1 union field.
53637         (ARGS1): New macro.
53638         (ARGS2): Likewise.
53639         (ARGS3): Likewise.
53640         (ARGS4): Likewise.
53641         (RET1): Likewise.
53642         (RET2): Likewise.
53643         (CALC): Likewise.
53644         (FUNC): Likewise.
53645         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53646         (test_functions): Add lgamma.
53647         (calc_generic_results): Handle mpfr_f_f1.
53648         * sysdeps/i386/fpu/libm-test-ulps: Update.
53649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53651 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53653         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53654         __mpn_add_n for PowerPC64/POWER7.
53655         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53656         __mpn_sub_n for PowerPC64/POWER7.
53658         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53659         __mpn_addmul_1 for PowerPC64.
53660         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53661         __mpn_submul_1 for PowerPC64.
53662         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53663         for PowerPC64.
53664         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53665         for PowerPC64.
53667 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53669         [BZ #15089]
53670         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53672 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53674         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53676         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53677         add multiarch folders.
53678         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53679         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53680         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53681         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53682         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53683         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53684         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53685         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53686         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53687         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53688         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53697         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53699         New file.
53700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53701         New file.
53702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53703         multiarch __ieee754_hypot for PowerPC32.
53704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53705         New file.
53706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53707         New file.
53708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53709         multiarch __ieee754_hypotf for PowerPC32.
53711         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53712         long_double_symbol only if __logbl is defined.
53713         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53714         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53715         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53716         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53717         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53718         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53719         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53720         path for implementation.
53721         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53722         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53724         logb, and logbl multiarch implementations for PowerPC32.
53725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53726         file.
53727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53728         file.
53729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53730         multiarch logb for PowerPC32.
53731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53732         file.
53733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53734         file.
53735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53736         multiarch logbf for PowerPC32.
53737         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53739         file.
53740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53741         multiarch logbl implementation for PowerPC32.
53743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53744         and modff multiarch implementations.
53745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53746         New file.
53747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53748         New file.
53749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53750         multiarch modf for PowerPC32.
53751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53752         New file.
53753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53754         New file.
53755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53756         multiarch modff for PowerPC32.
53758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53759         and lrintf multiarch implementations.
53760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53761         New file.
53762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53763         New file.
53764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53765         multiarch lrint for PowerPC32.
53766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53767         file: multiarch lrintf for PowerPC32.
53769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53770         and lroundf multiarch implementations.
53771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53772         New file.
53773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53774         New file.
53775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53776         New file.
53777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53778         multiarch lround for PowerPC32.
53779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53780         file: multiarch lroundf for PowerPC32.
53782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53783         copysign and copysignf multiarch implementations.
53784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53785         New file.
53786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53787         New file.
53788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53789         file: multiarch copysign for PowerPC32.
53790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53791         file: multiarch copysignf for PowerPC32.
53793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53794         and truncf multiarch implementations.
53795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53796         New file.
53797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53798         file.
53799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53800         multiarch trunc for PowerPC32.
53801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53802         New file.
53803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53804         New file.
53805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53806         multiarch truncf for PowerPC32.
53808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53809         and roundf multiarch implementations.
53810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53811         New file.
53812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53813         file.
53814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53815         multiarch round for PowerPC32.
53816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53817         New file.
53818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53819         New file.
53820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53821         multiarch roundf for PowerPC32.
53823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53824         and floorf multiarch implementations.
53825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53826         New file.
53827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53828         file.
53829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53830         multiarch floor for PowerPC32.
53831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53832         New file.
53833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53834         New file.
53835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53836         multiarch floorf for PowerPC32.
53838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53839         and ceilf multiarch implementations.
53840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53841         New file.
53842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53843         file.
53844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53845         multiarch ceil for PowerPC32.
53846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53847         New file.
53848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53849         file.
53850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53851         multiarch ceilf for PowerPC32.
53853         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53854         is defined.
53855         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53856         FINITEF is defined.
53857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53858         and finitef multiarch implementations.
53859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53860         New file.
53861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53862         file.
53863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53864         multiarch finite for PowerPC32.
53865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53866         New file.
53867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53868         file: multiarch finitef for PowerPC32.
53870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53871         and isinff multiarch implementations.
53872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53873         file.
53874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53875         file.
53876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53877         multiarch isinf for PowerPC32.
53878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53879         New file.
53880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53881         multiarch isinff for PowerPC32.
53883         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53884         alias when __isnan is defined.
53885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53886         and isnanf multiarch implementations.
53887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53888         file.
53889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53890         file.
53891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53892         file.
53893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53894         file.
53895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53896         multiarch isnan for PowerPC32.
53897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53898         New file.
53899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53900         New file.
53901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53902         multiarch isnanf for PowerPC32.
53904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53905         and sqrtf multiarch implementations.
53906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53907         file.
53908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53909         file.
53910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53911         multiarch sqrt for PowerPC32.
53912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53913         file.
53914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53915         file.
53916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53917         multiarch sqrtf for PowerPC32.
53919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53920         and llroundf multiarch implementations.
53921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53922         New file.
53923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53924         New file.
53925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53926         New file.
53927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53928         file: multiarch llround for PowerPC32.
53929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53930         file: multiarch llroundf for PowerPC32.
53932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53933         multiarch PowerPC32 fpu implementations.
53934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53935         New file.
53936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53937         New file.
53938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53939         multiarch llrint for PowerPC32.
53940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53941         New file.
53942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53943         New file.
53944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53945         file.
53947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53949         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53950         file.
53951         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53952         file.
53953         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53954         file.
53955         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53956         multiarch wordcopy for PPC32.
53957         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53958         wordcopy objects.
53959         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53960         (__libc_ifunc_impl_list): Likewise.
53961         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53962         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53963         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53964         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53965         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53966         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53968         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53969         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53970         file.
53971         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53972         file.
53973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53974         file.
53975         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53976         multiarch wcscpy for PPC32.
53977         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53978         multiarch objects.
53979         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53980         (__libc_ifunc_impl_list): Likewise.
53981         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53982         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53983         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53984         sysdeps/powerpc/power6/wcscpy.c.
53986         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53987         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53988         file.
53989         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53990         file.
53991         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
53992         file.
53993         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
53994         multiarch wcsrchr for PPC32.
53995         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53996         multiarch objects.
53997         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53998         (__libc_ifunc_impl_list): Likewise.
53999         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54000         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54001         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54002         sysdeps/powerpc/power6/wcsrchr.c.
54004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54005         file.
54006         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54007         file.
54008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54010         multiarch wcschr for PPc32.
54011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54012         multiarch objects.
54013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54014         (__libc_ifunc_impl_list): Likewise.
54015         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54016         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54017         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54018         sysdeps/powerpc/power6/wcschr.c.
54020         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54021         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54022         file.
54023         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54024         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54025         file: multiarch strchr for PPC32.
54026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54027         multiarch objects.
54028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54029         (__libc_ifunc_impl_list): Likewise.
54031         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54032         name.
54033         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54034         file.
54035         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54036         file.
54037         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54038         multiarch strchrnul for PPC32.
54039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54040         multiarch objects.
54041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54042         (__libc_ifunc_impl_list): Likewise.
54044         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54045         file.
54046         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54047         multiarch strncasecmp for PPC32.
54048         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54049         file.
54050         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54051         multiarch strncasecmp_l for PPC32.
54052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54053         strncasecmp multiarch objects.
54054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54055         (__libc_ifunc_impl_list): Likewise.
54057         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54058         file.
54059         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54060         multiarch strncasecmp for PPC32.
54061         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54062         New file.
54063         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54064         multiarch strcasecmp_l for PPC32.
54065         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54066         multiarch objects.
54067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54068         (__libc_ifunc_impl_list): Likewise.
54070         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54071         file.
54072         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54073         file.
54074         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54075         multiarch strncmp for PPC32.
54076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54077         multiarch objects.
54078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54079         (__libc_ifunc_impl_list): Likewise.
54081         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54082         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54083         file.
54084         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54085         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54087         multiarch objects.
54088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54089         (__libc_ifunc_impl_list): Likewise.
54091         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54092         file.
54093         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54094         file.
54095         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54097         multiarch objects.
54098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54099         (__libc_ifunc_impl_list): Likewise.
54101         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54102         file.
54103         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54104         file.
54105         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54106         multiarch rawmemchr for PPC32.
54107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54108         multiarch objects.
54109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54110         (__libc_ifunc_impl_list): Likewise.
54112         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54113         file.
54114         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54115         file.
54116         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54117         file: memrchr multiarch for PPC32.
54118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54119         multiarch objects.
54120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54121         (__libc_ifunc_impl_list): Likewise.
54123         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54124         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54125         file.
54126         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54127         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54128         multiarch memchr for PPC32.
54129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54130         multiarch objects.
54131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54132         (__libc_ifunc_impl_list): Likewise.
54134         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54135         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54136         file.
54137         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54138         file.
54139         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54140         file: multiarch mempcpy for PPC32.
54141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54142         multiarch objects.
54143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54144         (__libc_ifunc_impl_list): Likewise.
54146         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54147         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54148         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54149         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54150         multiarch bzero for PPC32.
54151         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54152         file.
54153         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54154         file.
54155         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54156         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54157         file: multiarch memset for PPC32.
54158         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54160         memset multiarch objects.
54161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54162         (__libc_ifunc_impl_list): Likewise.
54164         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54165         file.
54166         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54167         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54168         memcmp for PPC32.
54169         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54170         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54171         multiarch objects.
54172         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54173         (__libc_ifunc_impl_list): Likewise.
54175         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54176         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54177         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54178         file.
54179         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54180         file.
54181         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54182         file.
54183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54184         multiarch memcpy for PPC32.
54185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54186         multiarch objects.
54187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54188         (__libc_ifunc_impl_list): Likewise.
54190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54191         support multiarch for POWER/PPC32.
54192         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54193         Likewise.
54194         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54196         Implies file to make multiarch folder appers before the fpu and
54197         default folder for power4 configuration.
54199 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54201         * scripts/bench.pl: Append volatile keyword to type.
54203 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54205         * sysdeps/sh/sotruss-lib.c: New file.
54206         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54208 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54212 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54214         [BZ #6810]
54215         * math/w_tgamma.c: Include <errno.h>.
54216         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54217         * math/w_tgammaf.c: Include <errno.h>.
54218         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54219         * math/w_tgammal.c: Include <errno.h>.
54220         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54221         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54222         underflow.  Add more tgamma tests.
54223         * math/auto-libm-test-out: Regenerated.
54224         * sysdeps/i386/fpu/libm-test-ulps: Update.
54225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54227         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54228         sin, sinh, tan, tanh, tgamma, y0 and y1.
54229         * math/auto-libm-test-out: Regenerated.
54230         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54231         (TEST_COND_x86): Likewise.
54232         (M_E2l): Remove macro.
54233         (M_E3l): Likewise.
54234         (M_2_SQRT_PIl): Likewise.
54235         (M_SQRT_PIl): Likewise.
54236         (M_1_DIV_El): Likewise.
54237         (log_test_data): Use AUTO_TESTS_f_f.
54238         (log10_test_data): Likewise.
54239         (log1p_test_data): Likewise.
54240         (log2_test_data): Likewise.
54241         (sin_test_data): Likewise.
54242         (sin_tonearest_test_data): Likewise.
54243         (sin_towardzero_test_data): Likewise.
54244         (sin_downward_test_data): Likewise.
54245         (sin_upward_test_data): Likewise.
54246         (sinh_test_data): Likewise.
54247         (sinh_tonearest_test_data): Likewise.
54248         (sinh_towardzero_test_data): Likewise.
54249         (sinh_downward_test_data): Likewise.
54250         (sinh_upward_test_data): Likewise.
54251         (tan_test_data): Likewise.
54252         (tan_tonearest_test_data): Likewise.
54253         (tan_towardzero_test_data): Likewise.
54254         (tan_downward_test_data): Likewise.
54255         (tan_upward_test_data): Likewise.
54256         (tanh_test_data): Likewise.
54257         (tgamma_test_data): Likewise.
54258         (y0_test_data): Likewise.
54259         (y1_test_data): Likewise.
54260         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54261         (special_real_inputs): Add pi/4.
54262         * sysdeps/i386/fpu/libm-test-ulps: Update.
54263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54265 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54267         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54268         "longjmp_target" static probes.
54269         (__longjmp): Rename to __longjmp_symbol.
54270         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54271         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54272         on which longjmp to generate.
54273         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54274         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54275         probe.
54276         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54277         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54278         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54279         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54280         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54281         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54283         __longjmp_symbol based on which __longjmp to generate.
54284         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54285         probe.
54286         (setjmp): Rename to setjmp_symbol.
54287         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54288         (_setjmp): Rename to _setjmp_symbol.
54289         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54290         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54291         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54292         which setjmp to generate.
54293         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54294         "longjmp_target" static probes.
54296 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54298         * benchtests/README: Add note about output arguments.
54299         * benchtests/bench-sincos.c: Remove file.
54300         * benchtests/sincos-inputs: New file.
54301         * scripts/bench.pl: Identify output arguments and define
54302         static variables for them.
54304         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54306         [BZ #15941]
54307         * Makefile (INSTALL): Add install-plain.texi as the primary
54308         dependency.
54309         * manual/install-plain.texi: New file.
54310         * manual/install.texi: Include node directive only for
54311         non-plaintext output.
54313 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54315         * stdlib/longlong.h: Update from GCC.
54317         [BZ #6807]
54318         [BZ #15901]
54319         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54320         * math/w_j0f.c (y0f): Likewise.
54321         * math/w_j0l.c (__y0l): Likewise.
54322         * math/w_j1.c (y1): Likewise.
54323         * math/w_j1f.c (y1f): Likewise.
54324         * math/w_j1l.c (__y1l): Likewise.
54325         * math/w_jn.c (yn): Likewise.
54326         * math/w_jnf.c (ynf): Likewise.
54327         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54328         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54329         value for Bessel function domain errors outside _SVID_ mode.
54330         Adjust sign of return value for yn (negative integer, 0).
54331         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54332         by zero in return for negative x and set sign appropriately for
54333         negative n.
54334         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54335         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54336         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54337         expectations in error cases.
54338         (y1_test_data): Likewise.
54339         (yn_test_data): Likewise.
54340         * sysdeps/i386/fpu/libm-test-ulps: Update.
54341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54343 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54345         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54346         "64" to "64-v1".  Add "64-v2".
54347         (abi-64-options): Rename to ...
54348         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54349         (abi-64-condition): Rename to ...
54350         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54351         (abi-64-ld-soname): Rename to ...
54352         (abi-64-v1-ld-soname): ... this.
54353         (abi-64-v2-options): Define.
54354         (abi-64-v2-condition): Likewise.
54355         (abi-64-v2-ld-soname): Likewise.
54356         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54357         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54362 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54363             Alan Modra  <amodra@gmail.com>
54365         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54366         New versions for use with the ELFv2 ABI.
54367         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54368         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54369         declaration.
54370         (struct La_ppc64v2_retval): Likewise.
54371         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54372         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54373         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54374         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54375         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54376         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54377         Do not save or restore CR.
54378         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54379         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54380         return values for ELFv2 ABI.  Fix location of FPR return registers.
54381         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54382         updated values for _CALL_ELF == 2.
54383         (La_regs, La_retval, int_retval): Likewise.
54385 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54387         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54388         (FRAME_MIN_SIZE_PARM): Likewise.
54389         (FRAME_BACKCHAIN): Likewise.
54390         (FRAME_CR_SAVE): Likewise.
54391         (FRAME_LR_SAVE): Likewise.
54392         (FRAME_TOC_SAVE): Likewise.
54393         (FRAME_PARM_SAVE): Likewise.
54394         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54395         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54396         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54397         (call_mcount_parm_offset): New macro.
54398         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54399         (PROF): Use symbolic stack frame offsets.
54400         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54401         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54402         Redefine in terms of FRAME_MIN_SIZE.
54403         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54404         (_dl_profile_resolve): Likewise.  Update comment.
54405         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54406         symbols stack frame offsets.
54407         (__sigsetjmp): Likewise.
54408         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54409         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54410         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54411         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54414         (FRAME_BACKCHAIN): Remove.
54415         (FRAME_CR_SAVE): Likewise.
54416         (FRAME_LR_SAVE): Likewise.
54417         (FRAME_COMPILER_DW): Likewise.
54418         (FRAME_LINKER_DW): Likewise.
54419         (FRAME_TOC_SAVE): Likewise.
54420         (FRAME_PARM_SAVE): Likewise.
54421         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54422         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54423         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54425         (CHECK_SP): Use symbolic stack frame offsets.
54426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54427         zone" instead of caller's parameter save area for temp storage.
54428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54429         Likewise.  Also, use symbolic stack frame offsets.
54430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54431         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54432         our own stack frame instead of the caller's.
54433         (__socket): Use symbolic stack frame offsets.
54435 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54436             Alan Modra  <amodra@gmail.com>
54438         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54439         Define.
54440         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54441         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54442         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54443         New function.
54444         (elf_machine_fixup_plt): Call it.
54445         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54446         reloc arguments.
54447         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54448         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54449         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54450         r2 before calling target.
54452 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54453             Alan Modra  <amodra@gmail.com>
54455         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54456         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54457         versions of macros to support ELFv2 ABI.
54458         (LOCALENTRY): New macro.
54459         (ENTRY, EALIGN): Use it.
54460         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54461         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54462         fall through into ENTRY entry point.
54463         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54464         Only define if _CALL_ELF != 2.
54466         (elf_machine_matches_host): Verify ABI version matches.
54467         (RTLD_START): Use LOCALENTRY.
54468         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54469         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54470         (PLT_ENTRY_WORDS): New macro.
54471         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54472         (elf_machine_runtime_setup): Support ELFv2 ABI.
54473         (elf_machine_fixup_plt): Likewise.
54474         (elf_machine_plt_conflict): Likewise.
54475         (resolve_ifunc): Likewise.
54476         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54477         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54478         Likewise.
54479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54480         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54482         (makecontext): Support ELFv2 ABI.
54483         * elf/elf.h (EF_PPC64_ABI): Define.
54485 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54487         * sysdeps/powerpc/powerpc64/sysdep.h
54488         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54489         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54490         (ENTRY) [ASSEMBLER]: ... but instead here ...
54491         (EALIGN) [ASSEMBLER]: ... and here.
54492         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54493         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54494         (ENTRY_2) [!ASSEMBLER]: Use it.
54495         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54496         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54497         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54498         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54499         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54501         Use PPC64_LOAD_FUNCPTR.
54503         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54505 2013-12-04  Alan Modra  <amodra@gmail.com>
54507         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54508         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54509         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54510         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54512         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54513         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54514         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54515         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54516         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54517         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54519 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54522         (__makecontext): Fix incorrect CFI when backtracing out of
54523         context created via makecontext.
54524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54525         (__setcontext): Fix incorrect CFI during switch to new context.
54526         (__novec_setcontext): Likewise.
54528 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54530         [BZ #4772]
54531         * time/strptime_l.c (__strptime_internal): Allow modifiers
54532         in strptime.
54533         * time/tst-strptime.c (day_tests): Add testcase.
54535 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54537         * scripts/bench.pl: Skip over blank lines.
54539 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54541         [BZ #926]
54542         * manual/time.texi (Calendar Time): Clarify what timezone functions
54543         use.
54545 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54549 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54551         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54552         implementation.
54553         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54554         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54555         * debug/memset_chk.c (__memset_chk): Likewise.
54556         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54557         * debug/strncpy_chk.c: Likewise.
54559 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54561         [BZ #15268]
54562         [BZ #15425]
54563         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54564         (__ieee754_exp): For possibly underflowing results, check size of
54565         result and force underflow exception if required.
54566         * math/auto-libm-test-in: Add more tests of exp.
54567         * math/auto-libm-test-out: Regenerated.
54568         * sysdeps/i386/fpu/libm-test-ulps: Update.
54569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54571         [BZ #16283]
54572         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54573         * math/w_exp2f.c (__exp2f): Likewise.
54574         * math/w_exp2l.c (__exp2l): Likewise.
54575         * math/auto-libm-test-in: Do not allow missing errno on exp2
54576         underflow.
54577         * math/auto-libm-test-out: Regenerated.
54579 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54581         [BZ #16274]
54582         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54583         handle filename validation.
54584         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54585         (do_open): Delete.
54587 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54589         [BZ #6786]
54590         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54591         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54592         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54593         <float.h>.
54594         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54595         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54596         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54597         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54598         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54599         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54600         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54601         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54602         Add more erfc tests.
54603         * math/auto-libm-test-out: Regenerated.
54604         * sysdeps/i386/fpu/libm-test-ulps: Update.
54605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54607         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54608         exp2, expm1, j0 and j1.
54609         * math/auto-libm-test-out: Regenerated.
54610         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54611         (erfc_test_data): Likewise.
54612         (exp_test_data): Likewise.
54613         (exp_tonearest_test_data): Likewise.
54614         (exp_towardzero_test_data): Likewise.
54615         (exp_downward_test_data): Likewise.
54616         (exp_upward_test_data): Likewise.
54617         (exp10_test_data): Likewise.
54618         (exp2_test_data): Likewise.
54619         (expm1_test_data): Likewise.
54620         (j0_test_data): Likewise.
54621         (j1_test_data): Likewise.
54622         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54623         (input_flag_type): Add flag_xfail_rounding.
54624         (input_flags): Add xfail-rounding.
54625         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54626         (output_for_one_input_case): Handle flag_xfail_rounding.
54627         * sysdeps/i386/fpu/libm-test-ulps: Update.
54628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54630 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54632         [BZ #16289]
54633         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54634         division by 0.
54636 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54638         [BZ #16195]
54639         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54640         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54641         (STAP_PROBE0): New macro.
54642         (STAP_PROBE1): Likewise.
54643         (STAP_PROBE2): Likewise.
54644         (STAP_PROBE3): Likewise.
54645         (STAP_PROBE4): Likewise.
54647 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54649         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54651 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54653         * benchtests/Makefile (bench): Add sqrt.
54654         (LDLIBS-bench-sqrt): New.
54655         * benchtests/sqrt-input: New.
54657 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54659         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54660         (GAIH_EAI): Likewise.
54661         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54662         (gaih_inet): Likewise.
54663         (getaddrinfo): Don't use GAIH_EAI.
54665         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54666         (struct gaih): Remove definition.
54668 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54670         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54671         Use HERRNOP directly.
54673 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54677 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54679         * math/gen-auto-libm-tests.c (test_functions): Add more
54680         single-argument functions.
54681         (special_fill_pi_2): New function.
54682         (special_fill_minus_pi_2): Likewise.
54683         (special_fill_pi_6): Likewise.
54684         (special_fill_minus_pi_6): Likewise.
54685         (special_fill_pi_3): Likewise.
54686         (special_fill_2pi_3): Likewise.
54687         (special_fill_e): Likewise.
54688         (special_fill_1_e): Likewise.
54689         (special_fill_e_minus_1): Likewise.
54690         (special_real_inputs): Add more special inputs.
54691         (output_for_one_input_case): Do not require ERANGE on underflow to
54692         zero if round-to-nearest result does not underflow to zero, unless
54693         exact results required.
54694         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54695         atan, atanh, cbrt, cos and cosh.
54696         * math/auto-libm-test-out: Regenerated.
54697         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54698         (acos_tonearest_test_data): Likewise.
54699         (acos_towardzero_test_data): Likewise.
54700         (acos_downward_test_data): Likewise.
54701         (acos_upward_test_data): Likewise.
54702         (acosh_test_data): Likewise.
54703         (asin_test_data): Likewise.
54704         (asin_tonearest_test_data): Likewise.
54705         (asin_towardzero_test_data): Likewise.
54706         (asin_upward_test_data): Likewise.
54707         (asinh_test_data): Likewise.
54708         (atan_test_data): Likewise.
54709         (atanh_test_data): Likewise.
54710         (cbrt_test_data): Likewise.
54711         (cos_test_data): Likewise.
54712         (cos_tonearest_test_data): Likewise.
54713         (cos_towardzero_test_data): Likewise.
54714         (cos_downward_test_data): Likewise.
54715         (cos_upward_test_data): Likewise.
54716         (cosh_test_data): Likewise.
54717         (cosh_tonearest_test_data): Likewise.
54718         (cosh_towardzero_test_data): Likewise.
54719         (cosh_downward_test_data): Likewise.
54720         (cosh_upward_test_data): Likewise.
54721         * sysdeps/i386/fpu/libm-test-ulps: Update.
54722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54724 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54726         [BZ #6787]
54727         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54728         * math/w_exp10f.c (__exp10f): Likewise.
54729         * math/w_exp10l.c (__exp10l): Likewise.
54730         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54731         errno settings in existing tests.
54733         [BZ #14032]
54734         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54735         precision control set to double precision.
54736         * sysdeps/i386/fpu/w_sqrt.c: New file.
54737         * math/auto-libm-test-in: Add more tests.
54738         * math/auto-libm-test-out: Update.
54740         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54741         (sqrt_test_tonearest): New function.
54742         (sqrt_towardzero_test_data): New variable.
54743         (sqrt_test_towardzero): New function.
54744         (sqrt_downward_test_data): New variable.
54745         (sqrt_test_downward): New function.
54746         (sqrt_upward_test_data): New variable.
54747         (sqrt_test_upward): New function.
54748         (main): Call the new functions.
54750         * math/gen-auto-libm-tests.c: New file.
54751         * math/auto-libm-test-in: Likewise.
54752         * math/auto-libm-test-out: New generated file.
54753         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54754         variables.
54755         (%beautify): Add generated representations of zero.
54756         (top level): Set $auto_input and call parse_auto_input.
54757         (beautify): Remove trailing "f" from hex float constants.
54758         (parse_args): Handle XFAIL_TEST.
54759         (convert_condition): New function.
54760         (or_value): Likewise.
54761         (or_cond_value): Likewise.
54762         (generate_testfile): Handle AUTO_TESTS_* lines.
54763         (parse_auto_input): New function.
54764         * math/libm-test.inc (XFAIL_TEST): New macro.
54765         (ERRNO_UNCHANGED): Update value.
54766         (ERRNO_EDOM): Likewise.
54767         (ERRNO_ERANGE): Likewise.
54768         (IGNORE_RESULT): Likewise.
54769         (TEST_COND_flt_32): New macro.
54770         (TEST_COND_dbl_64): Likewise.
54771         (TEST_COND_ldbl_96_intel): Likewise.
54772         (TEST_COND_ldbl_96_m68k): Likewise.
54773         (TEST_COND_ldbl_128): Likewise.
54774         (TEST_COND_ldbl_128ibm): Likewise.
54775         (TEST_COND_long32): Likewise.
54776         (TEST_COND_long64): Likewise.
54777         (TEST_COND_before_rounding): Likewise.
54778         (TEST_COND_after_rounding): Likewise.
54779         (enable_test): Handle XFAIL_TEST flag.
54780         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54781         with finite results.
54782         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54783         auto-libm-test-out.
54785 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54786             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54788         [BZ #16214]
54789         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54790         __tls_get_addr_internal instead of __tls_get_offset in order to
54791         avoid GOT pointer dependency.  Make rtld export
54792         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54793         __tls_get_addr since we are a __tls_get_offset platform.
54794         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54795         GOT pointer being set up before.
54796         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54798 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54800         * manual/math.texi (Errors in Math Functions): Document accuracy
54801         goals.
54803         [BZ #15004]
54804         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54805         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54806         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54807         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54808         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54809         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54810         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54811         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54812         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54813         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54814         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54815         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54816         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54817         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54818         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54819         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54821         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54822         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54823         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54824         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54825         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54826         Likewise.
54827         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54828         Likewise.
54829         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54830         Likewise.
54831         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54832         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54833         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54834         atomic-feupdateenv and flt-rounds.
54835         * sysdeps/powerpc/nofpu/Versions (libc): Add
54836         __atomic_feholdexcept, __atomic_feclearexcept,
54837         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54838         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54839         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54840         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54841         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54842         here.
54843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54844         Update.
54846         * manual/arith.texi (FP Exceptions): Document that exceptions may
54847         not be raised when matherr is used.
54848         (Math Error Reporting): Document overflow in directed rounding
54849         modes.  Document that errno may not be set when finite values are
54850         returned on overflow.  Document intent to set errno on underflow
54851         only for underflow to zero.
54853         [BZ #16271]
54854         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54855         round-to-nearest then adjust result for other rounding modes.
54856         * include/fenv.h (fegetround): Use libm_hidden_proto.
54857         * math/fegetround.c (fegetround): Use libm_hidden_def.
54858         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54859         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54860         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54861         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54862         Likewise.
54863         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54864         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54865         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54866         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54868 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54870         [BZ #16077]
54871         * nss/Versions (libnss_files): Add
54872         _nss_files_gethostbyname3_r.
54873         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54874         New function.
54875         (HOST_DB_LOOKUP): Remove macro.
54876         (_nss_files_gethostbyname_r): Implement function without the
54877         HOST_DB_LOOKUP macro.
54878         (_nss_files_gethostbyname2_r): Likewise.
54880 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54882         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54884 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54886         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54887         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54888         warning.
54890 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54892         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54893         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54894         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54895         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54896         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54897         __fe_nomask_env_priv and attribute_hidden.
54898         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54899         (libc_feupdateenv_test_ppc): Likewise.
54900         (libc_feresetround_ppc): Likewise.
54901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54902         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54903         compat_symbol macro.
54904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54905         (__fe_nomask_env): Likewise.
54906         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54908 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54910         * string/Makefile: Remove ifunc tests.
54911         * string/test-string.h: Define TEST_IFUNC.
54912         * string/test-bcopy-ifunc.c: Remove.
54913         * string/test-bzero-ifunc.c: Likewise.
54914         * string/test-memccpy-ifunc.c: Likewise.
54915         * string/test-memchr-ifunc.c: Likewise.
54916         * string/test-memcmp-ifunc.c: Likewise.
54917         * string/test-memcpy-ifunc.c: Likewise.
54918         * string/test-memmem-ifunc.c: Likewise.
54919         * string/test-memmove-ifunc.c: Likewise.
54920         * string/test-mempcpy-ifunc.c: Likewise.
54921         * string/test-memrchr-ifunc.c: Likewise.
54922         * string/test-memset-ifunc.c: Likewise.
54923         * string/test-rawmemchr-ifunc.c: Likewise.
54924         * string/test-stpcpy-ifunc.c: Likewise.
54925         * string/test-stpncpy-ifunc.c: Likewise.
54926         * string/test-strcasecmp-ifunc.c: Likewise.
54927         * string/test-strcasestr-ifunc.c: Likewise.
54928         * string/test-strcat-ifunc.c: Likewise.
54929         * string/test-strchr-ifunc.c: Likewise.
54930         * string/test-strchrnul-ifunc.c: Likewise.
54931         * string/test-strcmp-ifunc.c: Likewise.
54932         * string/test-strcpy-ifunc.c: Likewise.
54933         * string/test-strcspn-ifunc.c: Likewise.
54934         * string/test-strlen-ifunc.c: Likewise.
54935         * string/test-strncasecmp-ifunc.c: Likewise.
54936         * string/test-strncat-ifunc.c: Likewise.
54937         * string/test-strncmp-ifunc.c: Likewise.
54938         * string/test-strncpy-ifunc.c: Likewise.
54939         * string/test-strnlen-ifunc.c: Likewise.
54940         * string/test-strpbrk-ifunc.c: Likewise.
54941         * string/test-strrchr-ifunc.c: Likewise.
54942         * string/test-strspn-ifunc.c: Likewise.
54943         * string/test-strstr-ifunc.c: Likewise.
54945 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54947         * benchtests/Makefile: Remove ifunc tests.
54948         * benchtests/bench-string.h: Define TEST_IFUNC.
54949         * benchtests/bench-bcopy-ifunc.c: Remove.
54950         * benchtests/bench-bzero-ifunc.c: Likewise.
54951         * benchtests/bench-memccpy-ifunc.c: Likewise.
54952         * benchtests/bench-memchr-ifunc.c: Likewise.
54953         * benchtests/bench-memcmp-ifunc.c: Likewise.
54954         * benchtests/bench-memcpy-ifunc.c: Likewise.
54955         * benchtests/bench-memmem-ifunc.c: Likewise.
54956         * benchtests/bench-memmove-ifunc.c: Likewise.
54957         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54958         * benchtests/bench-memrchr-ifunc.c: Likewise.
54959         * benchtests/bench-memset-ifunc.c: Likewise.
54960         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54961         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54962         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54963         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54964         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54965         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54966         * benchtests/bench-strcat-ifunc.c: Likewise.
54967         * benchtests/bench-strchr-ifunc.c: Likewise.
54968         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54969         * benchtests/bench-strcmp-ifunc.c: Likewise.
54970         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54971         * benchtests/bench-strcpy-ifunc.c: Likewise.
54972         * benchtests/bench-strcspn-ifunc.c: Likewise.
54973         * benchtests/bench-strlen-ifunc.c: Likewise.
54974         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54975         * benchtests/bench-strncat-ifunc.c: Likewise.
54976         * benchtests/bench-strncmp-ifunc.c: Likewise.
54977         * benchtests/bench-strncpy-ifunc.c: Likewise.
54978         * benchtests/bench-strnlen-ifunc.c: Likewise.
54979         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54980         * benchtests/bench-strrchr-ifunc.c: Likewise.
54981         * benchtests/bench-strsep-ifunc.c: Likewise.
54982         * benchtests/bench-strspn-ifunc.c: Likewise.
54983         * benchtests/bench-strstr-ifunc.c: Likewise.
54985 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54987         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54989 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54991         * resolv/netdb.h: Use __glibc_reserved instead __unused.
54992         * rt/aio.h: Likewise.
54993         * sysdeps/gnu/bits/utmp.h: Likewise.
54994         * sysdeps/gnu/bits/utmpx.h: Likewise.
54995         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54996         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
54997         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
54998         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
54999         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55000         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55001         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55002         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55003         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55004         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55005         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55006         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55007         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55009         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55010         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55011         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55012         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55013         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55014         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55015         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55016         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55017         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55018         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55019         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55020         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55021         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55022         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55023         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55024         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55025         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55026         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55027         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55028         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55029         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55030         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55031         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55032         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55033         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55034         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55035         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55036         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55038 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55040         [BZ #16245]
55041         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55042         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55044 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55046         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55047         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55048         Likewise.
55050 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55052         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55053         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55054         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55055         (__fesetround): Remove define.
55056         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55057         rounding and exceptions handling.
55058         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55059         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55060         (__fe_nomask_env): Likewise.
55061         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55062         __fegetround instead of fegetround.
55063         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55064         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55066 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55068         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55069         it's there.
55071         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55073 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55075         [BZ #11157]
55076         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55077         (encrypt_r): Likewise.
55078         * malloc/obstack.h (obstack_free): Likewise.
55079         * posix/unistd.h (encrypt): Likewise.
55081 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55083         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55084         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55085         DL_CALL_DT_FINI() that call the functions directly.
55086         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55087         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55088         * elf/dl-fini.c: Likewise.
55090 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55092         * malloc/hooks.c (memalign_check): Add alignment rounding.
55093         * malloc/malloc.c (_mid_memalign): New function.
55094         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55095         Implement by calling _mid_memalign.
55096         * manual/probes.texi (Memory Allocation Probes): Remove
55097         memory_valloc_retry and memory_pvalloc_retry.
55099 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55101         * locale/programs/locarchive.c (open_archive): Add const
55102         qualifier to ARCHIVEFNAME and copy default fname to
55103         DEFAULT_FNAME.
55105         [BZ #15601]
55106         * libio/tst-widetext.input: Rename Oriya to Odia.
55107         * locale/iso-639.def: Likewise.
55109         * manual/probes.texi (Mathematical Function Probes): Add
55110         documentation for sin, cos, asin and acos probes.
55111         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55112         (__sin32): Add slowasin probe.
55113         (__cos32): Add slowacos probe.
55114         (__mpsin): Add slowsin probe.
55115         (__mpcos): Add slowcos probe.
55117 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55119         [BZ #15483]
55120         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55121         thread-local __sim_exceptions_thread and global
55122         __sim_exceptions_global.
55123         (__sim_disabled_exceptions): Change to thread-local
55124         __sim_disabled_exceptions_thread and global
55125         __sim_disabled_exceptions_global.
55126         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55127         and global __sim_round_mode_global.
55128         (__simulate_exceptions): Use thread-local floating-point state and
55129         set global state from it as needed.
55130         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55131         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55132         __sim_round_mode_thread.
55133         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55134         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55135         and global __sim_exceptions_global.
55136         (__sim_disabled_exceptions): Change to thread-local
55137         __sim_disabled_exceptions_thread and global
55138         __sim_disabled_exceptions_global.
55139         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55140         and global __sim_round_mode_global.
55141         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55142         (SIM_SET_GLOBAL): Likewise.
55143         * sysdeps/powerpc/soft-fp/sfp-machine.h
55144         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55145         __sim_round_mode_thread.
55146         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55147         __sim_disabled_exceptions_thread.
55148         (__sim_exceptions): Change to __sim_exceptions_thread.
55149         (__sim_disabled_exceptions): Change to
55150         __sim_disabled_exceptions_thread.
55151         (__sim_round_mode): Change to __sim_round_mode_thread.
55152         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55153         thread-local floating-point state and set global state from it as
55154         needed.
55155         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55156         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55157         (__sim_disabled_exceptions): Remove extern declaration.
55158         (feenableexcept): Use thread-local floating-point state and set
55159         global state from it as needed.
55160         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55161         extern declaration.
55162         (__sim_disabled_exceptions): Likewise.
55163         (__sim_round_mode): Likewise.
55164         (__fegetenv): Use thread-local floating-point state.
55165         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55166         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55167         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55168         floating-point state and set global state from it as needed.
55169         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55170         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55171         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55172         Likewise.
55173         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55174         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55175         Likewise.
55176         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55177         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55178         Use __sim_round_mode_thread.
55179         * math/test-fenv-tls.c: New file.
55180         * math/Makefile (tests): Add test-fenv-tls.
55181         ($(objpfx)test-fenv-tls): Depend on
55182         $(common-objpfx)nptl/libpthread.so.
55184 2013-11-19  Andreas Schwab  <schwab@suse.de>
55186         * locale/programs/locale.c (show_info): Decode wordarray elements.
55187         * locale/categories.def (LC_MONETARY): Add element for
55188         _NL_MONETARY_CRNCYSTR.
55189         * locale/C-monetary.c (conversion_rate): New variable.
55190         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55191         element.
55193 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55195         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55196         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55198 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55200         * elf/Makefile (tst-auxv): New test.
55201         * elf/tst-auxv.c: New
55202         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55204 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55206         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55207         (hidden_proto): Caller changed.
55208         (hidden_tls_proto): New macro.
55209         (libc_hidden_tls_proto): Likewise.
55210         (rtld_hidden_tls_proto): Likewise.
55211         (libm_hidden_tls_proto): Likewise.
55212         (libresolv_hidden_tls_proto): Likewise.
55213         (librt_hidden_tls_proto): Likewise.
55214         (libdl_hidden_tls_proto): Likewise.
55215         (libnss_files_hidden_tls_proto): Likewise.
55216         (libnsl_hidden_tls_proto): Likewise.
55217         (libnss_nisplus_hidden_tls_proto): Likewise.
55218         (libutil_hidden_tls_proto): Likewise.
55220 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55222         [BZ #10253]
55223         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55224         (decompose_rpath): Defer expansion to fillin_rpath.
55225         (_dl_init_paths): Pass linkmap to fillin_rpath.
55227 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55229         * benchtests/Makefile: Add strsep.
55230         * benchtests/bench-strsep.c: New file: strsep benchtest.
55231         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55233 2013-11-18  Andreas Schwab  <schwab@suse.de>
55235         * locale/programs/locale.c (show_info) [case byte]: Check for
55236         '\377' instead of '\177'.
55237         * locale/C-monetary.c (not_available): Always use "\377".
55238         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55239         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55240         detect unavailable sign_posn locale elements.
55241         * locale/localeconv.c (__localeconv): For grouping and
55242         mon_grouping handle "\177" and "\377" like no grouping.
55243         (INT_ELEM): New macro.  Use it to set all numeric members.
55244         * locale/programs/ld-monetary.c (monetary_read)
55245         <tok_mon_grouping>: Normalize single -1 to the empty string.
55246         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55247         Likewise.
55249 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55251         [BZ #16055]
55252         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55253         when we match (nil).
55254         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55256 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55258         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55259         (NO_TEST_INLINE): Update value.
55260         (ERRNO_UNCHANGED): Likewise.
55261         (ERRNO_EDOM): Likewise.
55262         (ERRNO_ERANGE): Likewise.
55263         (IGNORE_RESULT): Likewise.
55264         (check_float_internal): Check signs of NaN results if
55265         TEST_NAN_SIGN used.
55266         (check_complex): Pass TEST_NAN_SIGN flag through to second
55267         check_float_internal call.
55268         (copysign_test_data): Add tests with quiet NaNs as second
55269         argument.  Use TEST_NAN_SIGN.
55270         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55271         TEST_NAN_SIGN.
55272         (signbit_test_data): Add tests of quiet NaN argument.
55273         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55275         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55276         $ignore_result.
55277         (parse_args): Handle function results specified as IGNORE.
55278         * math/libm-test.inc (IGNORE_RESULT): New macro.
55279         (check_float_internal): Do not check numerical result if flag
55280         IGNORE_RESULT set.
55281         (check_complex): Pass through IGNORE_RESULT to second
55282         check_float_internal call.
55283         (check_int): Do not check numerical result if flag IGNORE_RESULT
55284         set.
55285         (check_long): Likewise.
55286         (check_bool): Likewise.
55287         (check_longlong): Likewise.
55288         (lrint_test_data): Add tests of infinite and NaN arguments.
55289         (lrint_tonearest_test_data): Likewise.
55290         (lrint_towardzero_test_data): Likewise.
55291         (lrint_downward_test_data): Likewise.
55292         (lrint_upward_test_data): Likewise.
55293         (llrint_test_data): Likewise.
55294         (llrint_tonearest_test_data): Likewise.
55295         (llrint_towardzero_test_data): Likewise.
55296         (llrint_downward_test_data): Likewise.
55297         (llrint_upward_test_data): Likewise.
55298         (lround_test_data): Likewise.
55299         (llround_test_data): Likewise.
55301         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55302         (ERRNO_UNCHANGED): Update value.
55303         (ERRNO_EDOM): Likewise.
55304         (ERRNO_ERANGE): Likewise.
55305         (NO_TEST_INLINE_FLOAT): New macro.
55306         (NO_TEST_INLINE_DOUBLE): Likewise.
55307         (enable_test): New function.
55308         (RUN_TEST_f_f): Check enable_test before running test.
55309         (RUN_TEST_2_f): Likewise.
55310         (RUN_TEST_fff_f): Likewise.
55311         (RUN_TEST_c_f): Likewise.
55312         (RUN_TEST_f_f1): Likewise.
55313         (RUN_TEST_fF_f1): Likewise.
55314         (RUN_TEST_fI_f1): Likewise.
55315         (RUN_TEST_ffI_f1): Likewise.
55316         (RUN_TEST_c_c): Likewise.
55317         (RUN_TEST_cc_c): Likewise.
55318         (RUN_TEST_f_i): Likewise.
55319         (RUN_TEST_f_i_tg): Likewise.
55320         (RUN_TEST_ff_i_tg): Likewise.
55321         (RUN_TEST_f_b): Likewise.
55322         (RUN_TEST_f_b_tg): Likewise.
55323         (RUN_TEST_f_l): Likewise.
55324         (RUN_TEST_f_L): Likewise.
55325         (RUN_TEST_fFF_11): Likewise.
55326         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55327         conditionals.
55328         (cosh_test_data): Likewise.
55329         (exp_test_data): Likewise.
55330         (expm1_test_data): Likewise.
55331         (hypot_test_data): Likewise.
55332         (pow_test_data): Likewise.
55333         (sinh_test_data): Likewise.
55334         (tanh_test_data): Likewise.
55335         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55336         flags argument.
55338         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55339         tests with quiet NaN input and output.
55340         (acosh_test_data): Likewise.
55341         (asin_test_data): Likewise.
55342         (asinh_test_data): Likewise.
55343         (atan_test_data): Likewise.
55344         (atanh_test_data): Likewise.
55345         (atan2_test_data): Likewise.
55346         (cbrt_test_data): Likewise.
55347         (cos_test_data): Likewise.
55348         (cosh_test_data): Likewise.
55349         (erf_test_data): Likewise.
55350         (erfc_test_data): Likewise.
55351         (exp_test_data): Likewise.
55352         (exp10_test_data): Likewise.
55353         (exp2_test_data): Likewise.
55354         (expm1_test_data): Likewise.
55355         (hypot_test_data): Likewise.
55356         (j0_test_data): Likewise.
55357         (j1_test_data): Likewise.
55358         (jn_test_data): Likewise.
55359         (lgamma_test_data): Likewise.
55360         (log_test_data): Likewise.
55361         (log10_test_data): Likewise.
55362         (log1p_test_data): Likewise.
55363         (log2_test_data): Likewise.
55364         (pow_test_data): Likewise.
55365         (scalb_test_data): Likewise.
55366         (sin_test_data): Likewise.
55367         (sincos_test_data): Likewise.
55368         (sinh_test_data): Likewise.
55369         (tan_test_data): Likewise.
55370         (tanh_test_data): Likewise.
55371         (tgamma_test_data): Likewise.
55372         (y0_test_data): Likewise.
55373         (y1_test_data): Likewise.
55374         (yn_test_data): Likewise.
55376         [BZ #16167]
55377         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55378         argument being NaN and avoid computations with second argument in
55379         that case.
55380         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55381         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55382         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55384 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55386         * locale/iso-639.def: Add Chitwani Tharu (the).
55388 2013-11-14  Andreas Schwab  <schwab@suse.de>
55390         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55391         word instead of empty string.
55393 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55396         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55398         (__fe_nomask_env): Likewise.
55400 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55402         * benchtests/bench-timing.h: Include time.h.
55404 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55406         [BZ #15997]
55407         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55408         to 3.4.0 for x32.
55409         * sysdeps/unix/sysv/linux/configure: Regenerated.
55411 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55413         [BZ #16151]
55414         * stdlib/strtod_l.c (round_and_return): Do not consider
55415         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55416         exponent one less than half the least subnormal exponent.
55417         * stdlib/test-strtod-round-data: Add more tests.
55418         * stdlib/tst-strtod-round.c (tests): Regenerated.
55420 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55422         [BZ #14143]
55423         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55424         (__fe_mask_env): Likewise.
55425         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55426         libm_hidden_proto and add function prototype.
55427         (__fe_mask_env): Add function prototype.
55428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55429         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55431         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55433         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55435 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55437         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55438         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55440 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55442         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55443         of htab_find_slot().
55445 2013-11-11  David S. Miller  <davem@davemloft.net>
55447         [BZ #16150]
55448         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55449         symbol in the non-vis3 case in static builds.
55450         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55451         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55452         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55453         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55455 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55457         [BZ #387]
55458         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55459         it is empty.
55461 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55463         * benchtests/Makefile: Add bench-strtod.
55464         * benchtests/bench-strtod.c: New file: strtod benchtest
55466 2013-11-11  Andreas Schwab  <schwab@suse.de>
55468         [BZ #16153]
55469         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55470         terminating NUL in key length.
55472 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55474         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55475         Add artificial ODP entry for vDSO symbol for PPC64.
55476         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55477         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55479 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55481         [BZ #15374]
55482         * nss/getent.c (services_keys): Recognize services starting with digit.
55484 2013-11-06  David S. Miller  <davem@davemloft.net>
55486         [BZ #15985]
55487         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55488         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55490 2013-11-06  Will Newton  <will.newton@linaro.org>
55492         * manual/memory.texi (Malloc Examples): Remove register
55493         keyword from examples.
55495 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55497         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55499 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55501         [BZ #6981]
55502         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55503         depending on [__GCC_IEC_559 > 0].
55504         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55505         depending on [__GCC_IEC_559_COMPLEX > 0].
55507 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55509         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55510         to iso-639.def.
55512 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55514         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55516 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55518         [BZ #16112]
55519         * malloc/malloc (malloc_info): Do not handle first bin as
55520         special case.
55522 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55524         * locale/iso-639.def: Add Central Nahuatl (nhn).
55526 2013-11-01  Bruno Haible  <bruno@clisp.org>
55528         [BZ #7003]
55529         * manual/math.texi (BSD Random): Specify range upper bound as
55530         in POSIX.
55532 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55534         * locale/iso-639.def: Add Meadow Mari (mhr).
55536 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55538         [BZ #14752], [BZ #15763]
55539         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55540         Validate name.
55541         * rt/tst_shm.c: Add test for escaping directory.
55543 2013-10-31  Andreas Schwab  <schwab@suse.de>
55545         [BZ #15917]
55546         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55547         followed by 'x' as part of digit sequence.
55548         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55550 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55552         [BZ #16037]
55553         * configure.ac: allow GNU Make 4.0 and greater.
55554         * configure: Regenerated.
55556 2013-10-30  Will Newton  <will.newton@linaro.org>
55558         [BZ #16038]
55559         * malloc/hooks.c (memalign_check): Limit alignment to the
55560         maximum representable power of two.
55561         * malloc/malloc.c (__libc_memalign): Likewise.
55562         * malloc/tst-memalign.c (do_test): Add test for very
55563         large alignment values.
55564         * malloc/tst-posix_memalign.c (do_test): Likewise.
55566 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55568         [BZ #11087]
55569         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55570         (munmap_chunk): Likewise.
55571         (mremap_chunk): Likewise.
55573 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55575         [BZ #15799]
55576         * stdlib/div.c (div): Remove obsolete code.
55577         * stdlib/ldiv.c (ldiv): Likewise.
55578         * stdlib/lldiv.c (lldiv): Likewise.
55580 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55582         [BZ #16071]
55583         * nss/nss_files/files-XXX.c (get_contents_ret): New
55584         enumerator.
55585         (get_contents): New function.
55586         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55588 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55590         * configure.in: Moved to ...
55591         * configure.ac: ... here. Change reference to configure.in
55592         to configure.ac.
55593         * sysdeps/arm/preconfigure.ac: ... here.
55594         configure.in to configure.ac.
55595         * sysdeps/gnu/configure.in: Moved to ...
55596         * sysdeps/gnu/configure.ac: ... here.
55597         * sysdeps/i386/configure.in: Moved to ...
55598         * sysdeps/i386/configure.ac: ... here.
55599         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55600         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55601         * sysdeps/mach/configure.in: Moved to ...
55602         * sysdeps/mach/configure.ac: ... here.
55603         * sysdeps/mach/hurd/configure.in: Moved to ...
55604         * sysdeps/mach/hurd/configure.ac: ... here.
55605         * sysdeps/powerpc/configure.in: Moved to ...
55606         * sysdeps/powerpc/configure.ac: ... here.
55607         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55608         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55609         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55610         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55611         * sysdeps/s390/s390-32/configure.in: Moved to ...
55612         * sysdeps/s390/s390-32/configure.ac: ... here.
55613         * sysdeps/s390/s390-64/configure.in: Moved to ...
55614         * sysdeps/s390/s390-64/configure.ac: ... here.
55615         * sysdeps/sh/configure.in: Moved to ...
55616         * sysdeps/sh/configure.ac: ... here.
55617         * sysdeps/sparc/configure.in: Moved to ...
55618         * sysdeps/sparc/configure.ac: ... here.
55619         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55620         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55621         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55622         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55623         * sysdeps/x86_64/configure.in: Moved to ...
55624         * sysdeps/x86_64/configure.ac: ... here.
55625         * sysdeps/x86_64/preconfigure.in: Moved to ...
55626         * sysdeps/x86_64/preconfigure.ac: ... here.
55627         * aclocal.m4: Change reference to configure.in to configure.ac.
55628         * config.h.in: Likewise.
55629         * manual/install.texi: Likewise.
55630         * manual/maint.texi: Likewise.
55631         * Makefile: Likewise.
55632         * malloc/Makefile: Likewise.
55633         * nscd/Makefile: Likewise.
55634         * Makeconfig: Change reference to configure.in and
55635         preconfigure.in to configure.ac and preconfigure.ac
55636         respectively.
55637         * INSTALL: Regenerated.
55638         * configure: Likewise.
55639         * sysdeps/gnu/configure: Likewise.
55640         * sysdeps/i386/configure: Likewise.
55641         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55642         * sysdeps/mach/configure: Likewise.
55643         * sysdeps/mach/hurd/configure: Likewise.
55644         * sysdeps/powerpc/configure: Likewise.
55645         * sysdeps/powerpc/powerpc32/configure: Likewise.
55646         * sysdeps/powerpc/powerpc64/configure: Likewise.
55647         * sysdeps/s390/s390-32/configure: Likewise.
55648         * sysdeps/s390/s390-64/configure: Likewise.
55649         * sysdeps/sh/configure: Likewise.
55650         * sysdeps/sparc/configure: Likewise.
55651         * sysdeps/unix/sysv/linux/configure: Likewise.
55652         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55653         * sysdeps/x86_64/configure: Likewise.
55654         * sysdeps/x86_64/preconfigure: Likewise.
55656 2013-10-29  Andreas Schwab  <schwab@suse.de>
55658         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55660 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55662         * benchtests/pow-inputs: Add new inputs.
55664         * benchtests/exp-inputs: Add new inputs.
55666         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55667         conditional check for return value.
55668         (__cos32): Likewise.
55670 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55672         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55673         to provide a boost for large inputs with word alignment.
55674         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55675         implementation based on optimized PPC64 strcpy.
55676         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55677         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55678         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55679         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55681 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55683         [BZ #2801]
55684         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55686 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55688         [BZ #14876]
55689         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55690         * time/tst-strptime.c (day_tests): Add testcase.
55692 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55694         [BZ #14029]
55695         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55697 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55699         [BZ #16074]
55700         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55701         MAP_FAILED on error.
55703 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55705         [BZ #16072]
55706         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55707         heap for large requests.
55709 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55711         [BZ #9954]
55712         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55713         result if the result has no associated interface.
55714         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55715         interface for all 127.X.Y.Z addresses.
55717 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55719         * locale/iso-639.def: Add Ligurian (lij)
55721 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55723         [BZ #15825]
55724         * sunrpc/rpc_main.c: Document rpcgen -5.
55726 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55728         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55730 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55732         [BZ #10278]
55733         * posix/glob.c: Match only directories when trailing slash is present.
55734         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55735         (main): Add testcase.
55737 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55739         [BZ #15670]
55740         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55742 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55744         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55745         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55746         AUTH_DES and cindex for FIPS 140-2.
55747         (DES Encryption): Add cindex FIPS 46-3.
55749         * locale/locarchive.h (struct locarhandle): Add fname.
55750         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55751         if an optional argument was specified to --list-archive,
55752         otherwise NULL.
55753         * locale/programs/locarchive.c (show_archive_content): Take new
55754         argument fname and pass it via ah.fname to open_archive.
55755         * locale/programs/localedef.h: Update decl.
55756         (open_archive): If AH->fname is non-null, open that file
55757         rather than the default file name, and don't ignore ENOENT.
55758         (create_archive): Set AH.fname to NULL.
55759         (delete_locales_from_archive): Likewise.
55760         (add_locales_to_archive): Likewise.
55761         * locale/programs/locfile.c (write_all_categories): Likewise.
55763 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55764             Aldy Hernandez  <aldyh@redhat.com>
55766         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55767         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55768         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55769         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55770         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55771         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55772         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55773         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55774         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55775         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55776         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55777         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55778         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55779         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55780         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55781         Likewise.
55782         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55783         Likewise.
55784         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55785         Likewise.
55786         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55787         Likewise.
55788         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55789         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55790         Likewise.
55791         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55792         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55793         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55794         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55795         Likewise.
55796         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55797         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55798         * sysdeps/powerpc/preconfigure: Likewise.
55799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55800         Likewise.
55801         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55802         Replace contents of file by #include of <fenv_libc.h>.
55803         * sysdeps/powerpc/soft-fp/sfp-machine.h
55804         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55805         and <sys/prctl.h>.
55806         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55807         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55808         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55809         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55810         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55811         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55813         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55814         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55815         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55816         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55817         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55819         Allow copysignl PLT reference to be missing.
55821 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55822             Joseph Myers  <joseph@codesourcery.com
55824         [BZ #15948]
55825         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55826         single character.
55827         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55829 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55831         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55832         * elf/tst-tls1.c: Likewise.
55833         * elf/tst-tls10.h: Likewise.
55834         * elf/tst-tls14.c: Likewise.
55835         * elf/tst-tls2.c: Likewise.
55836         * elf/tst-tls3.c: Likewise.
55837         * elf/tst-tls4.c: Likewise.
55838         * elf/tst-tls5.c: Likewise.
55839         * elf/tst-tls6.c: Likewise.
55840         * elf/tst-tls7.c: Likewise.
55841         * elf/tst-tls8.c: Likewise.
55842         * elf/tst-tls9.c: Likewise.
55843         * elf/tst-tlsmod1.c: Likewise.
55844         * elf/tst-tlsmod13.c: Likewise.
55845         * elf/tst-tlsmod13a.c: Likewise.
55846         * elf/tst-tlsmod14a.c: Likewise.
55847         * elf/tst-tlsmod16a.c: Likewise.
55848         * elf/tst-tlsmod16b.c: Likewise.
55849         * elf/tst-tlsmod2.c: Likewise.
55850         * elf/tst-tlsmod3.c: Likewise.
55851         * elf/tst-tlsmod4.c: Likewise.
55852         * elf/tst-tlsmod5.c: Likewise.
55853         * elf/tst-tlsmod6.c: Likewise.
55855 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55857         [BZ #12486]
55858         * malloc/malloc.c: remove checks for statistics.
55860 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55862         [BZ #15277]
55863         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55864         * inet/tst-network.c: Add testcase.
55866 2013-10-17  Andreas Schwab  <schwab@suse.de>
55868         [BZ #15218]
55869         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55870         to determine canonical name.
55872 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55874         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55875         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55876         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55877         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55879         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55880         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55881         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55882         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55883         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55884         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55885         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55886         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55887         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55888         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55889         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55890         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55891         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55892         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55893         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55894         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55895         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55896         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55897         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55898         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55899         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55900         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55901         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55902         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55903         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55904         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55905         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55906         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55907         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55908         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55909         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55910         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55911         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55912         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55913         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55914         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55915         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55916         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55917         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55918         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55919         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55920         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55921         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55922         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55923         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55924         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55925         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55926         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55927         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55928         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55929         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55930         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55931         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55933 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55935         [BZ #16041]
55936         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55937         make result into a quiet NaN.
55939 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55941         * soft-fp/adddf3.c: Fix horizontal whitespace.
55942         * soft-fp/addsf3.c: Likewise.
55943         * soft-fp/addtf3.c: Likewise.
55944         * soft-fp/divdf3.c: Likewise.
55945         * soft-fp/divsf3.c: Likewise.
55946         * soft-fp/divtf3.c: Likewise.
55947         * soft-fp/double.h: Likewise.
55948         * soft-fp/eqdf2.c: Likewise.
55949         * soft-fp/eqsf2.c: Likewise.
55950         * soft-fp/eqtf2.c: Likewise.
55951         * soft-fp/extenddftf2.c: Likewise.
55952         * soft-fp/extended.h: Likewise.
55953         * soft-fp/extendsfdf2.c: Likewise.
55954         * soft-fp/extendsftf2.c: Likewise.
55955         * soft-fp/extendxftf2.c: Likewise.
55956         * soft-fp/fixdfdi.c: Likewise.
55957         * soft-fp/fixdfsi.c: Likewise.
55958         * soft-fp/fixdfti.c: Likewise.
55959         * soft-fp/fixsfdi.c: Likewise.
55960         * soft-fp/fixsfsi.c: Likewise.
55961         * soft-fp/fixsfti.c: Likewise.
55962         * soft-fp/fixtfdi.c: Likewise.
55963         * soft-fp/fixtfsi.c: Likewise.
55964         * soft-fp/fixtfti.c: Likewise.
55965         * soft-fp/fixunsdfdi.c: Likewise.
55966         * soft-fp/fixunsdfsi.c: Likewise.
55967         * soft-fp/fixunsdfti.c: Likewise.
55968         * soft-fp/fixunssfdi.c: Likewise.
55969         * soft-fp/fixunssfsi.c: Likewise.
55970         * soft-fp/fixunssfti.c: Likewise.
55971         * soft-fp/fixunstfdi.c: Likewise.
55972         * soft-fp/fixunstfsi.c: Likewise.
55973         * soft-fp/fixunstfti.c: Likewise.
55974         * soft-fp/floatdidf.c: Likewise.
55975         * soft-fp/floatdisf.c: Likewise.
55976         * soft-fp/floatditf.c: Likewise.
55977         * soft-fp/floatsidf.c: Likewise.
55978         * soft-fp/floatsisf.c: Likewise.
55979         * soft-fp/floatsitf.c: Likewise.
55980         * soft-fp/floattidf.c: Likewise.
55981         * soft-fp/floattisf.c: Likewise.
55982         * soft-fp/floattitf.c: Likewise.
55983         * soft-fp/floatundidf.c: Likewise.
55984         * soft-fp/floatundisf.c: Likewise.
55985         * soft-fp/floatunditf.c: Likewise.
55986         * soft-fp/floatunsidf.c: Likewise.
55987         * soft-fp/floatunsisf.c: Likewise.
55988         * soft-fp/floatunsitf.c: Likewise.
55989         * soft-fp/floatuntidf.c: Likewise.
55990         * soft-fp/floatuntisf.c: Likewise.
55991         * soft-fp/floatuntitf.c: Likewise.
55992         * soft-fp/fmadf4.c: Likewise.
55993         * soft-fp/fmasf4.c: Likewise.
55994         * soft-fp/fmatf4.c: Likewise.
55995         * soft-fp/gedf2.c: Likewise.
55996         * soft-fp/gesf2.c: Likewise.
55997         * soft-fp/getf2.c: Likewise.
55998         * soft-fp/ledf2.c: Likewise.
55999         * soft-fp/lesf2.c: Likewise.
56000         * soft-fp/letf2.c: Likewise.
56001         * soft-fp/muldf3.c: Likewise.
56002         * soft-fp/mulsf3.c: Likewise.
56003         * soft-fp/multf3.c: Likewise.
56004         * soft-fp/negdf2.c: Likewise.
56005         * soft-fp/negsf2.c: Likewise.
56006         * soft-fp/negtf2.c: Likewise.
56007         * soft-fp/op-1.h: Likewise.
56008         * soft-fp/op-2.h: Likewise.
56009         * soft-fp/op-4.h: Likewise.
56010         * soft-fp/op-8.h: Likewise.
56011         * soft-fp/op-common.h: Likewise.
56012         * soft-fp/quad.h: Likewise.
56013         * soft-fp/single.h: Likewise.
56014         * soft-fp/soft-fp.h: Likewise.
56015         * soft-fp/sqrtdf2.c: Likewise.
56016         * soft-fp/sqrtsf2.c: Likewise.
56017         * soft-fp/sqrttf2.c: Likewise.
56018         * soft-fp/subdf3.c: Likewise.
56019         * soft-fp/subsf3.c: Likewise.
56020         * soft-fp/subtf3.c: Likewise.
56021         * soft-fp/truncdfsf2.c: Likewise.
56022         * soft-fp/trunctfdf2.c: Likewise.
56023         * soft-fp/trunctfsf2.c: Likewise.
56024         * soft-fp/trunctfxf2.c: Likewise.
56025         * soft-fp/unorddf2.c: Likewise.
56026         * soft-fp/unordsf2.c: Likewise.
56027         * soft-fp/unordtf2.c: Likewise.
56029 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56031         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56032         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56034 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56036         * elf/dl-libc.c: Clear initfini list after freeing.
56038 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56040         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56041         * soft-fp/addsf3.c: Likewise.
56042         * soft-fp/addtf3.c: Likewise.
56043         * soft-fp/divdf3.c: Likewise.
56044         * soft-fp/divsf3.c: Likewise.
56045         * soft-fp/divtf3.c: Likewise.
56046         * soft-fp/double.h: Likewise.
56047         * soft-fp/eqdf2.c: Likewise.
56048         * soft-fp/eqsf2.c: Likewise.
56049         * soft-fp/eqtf2.c: Likewise.
56050         * soft-fp/extenddftf2.c: Likewise.
56051         * soft-fp/extended.h: Likewise.
56052         * soft-fp/extendsfdf2.c: Likewise.
56053         * soft-fp/extendsftf2.c: Likewise.
56054         * soft-fp/extendxftf2.c: Likewise.
56055         * soft-fp/fixdfdi.c: Likewise.
56056         * soft-fp/fixdfsi.c: Likewise.
56057         * soft-fp/fixdfti.c: Likewise.
56058         * soft-fp/fixsfdi.c: Likewise.
56059         * soft-fp/fixsfsi.c: Likewise.
56060         * soft-fp/fixsfti.c: Likewise.
56061         * soft-fp/fixtfdi.c: Likewise.
56062         * soft-fp/fixtfsi.c: Likewise.
56063         * soft-fp/fixtfti.c: Likewise.
56064         * soft-fp/fixunsdfdi.c: Likewise.
56065         * soft-fp/fixunsdfsi.c: Likewise.
56066         * soft-fp/fixunsdfti.c: Likewise.
56067         * soft-fp/fixunssfdi.c: Likewise.
56068         * soft-fp/fixunssfsi.c: Likewise.
56069         * soft-fp/fixunssfti.c: Likewise.
56070         * soft-fp/fixunstfdi.c: Likewise.
56071         * soft-fp/fixunstfsi.c: Likewise.
56072         * soft-fp/fixunstfti.c: Likewise.
56073         * soft-fp/floatdidf.c: Likewise.
56074         * soft-fp/floatdisf.c: Likewise.
56075         * soft-fp/floatditf.c: Likewise.
56076         * soft-fp/floatsidf.c: Likewise.
56077         * soft-fp/floatsisf.c: Likewise.
56078         * soft-fp/floatsitf.c: Likewise.
56079         * soft-fp/floattidf.c: Likewise.
56080         * soft-fp/floattisf.c: Likewise.
56081         * soft-fp/floattitf.c: Likewise.
56082         * soft-fp/floatundidf.c: Likewise.
56083         * soft-fp/floatundisf.c: Likewise.
56084         * soft-fp/floatunsidf.c: Likewise.
56085         * soft-fp/floatunsisf.c: Likewise.
56086         * soft-fp/floatuntidf.c: Likewise.
56087         * soft-fp/floatuntisf.c: Likewise.
56088         * soft-fp/floatuntitf.c: Likewise.
56089         * soft-fp/fmadf4.c: Likewise.
56090         * soft-fp/fmasf4.c: Likewise.
56091         * soft-fp/fmatf4.c: Likewise.
56092         * soft-fp/gedf2.c: Likewise.
56093         * soft-fp/gesf2.c: Likewise.
56094         * soft-fp/getf2.c: Likewise.
56095         * soft-fp/ledf2.c: Likewise.
56096         * soft-fp/lesf2.c: Likewise.
56097         * soft-fp/letf2.c: Likewise.
56098         * soft-fp/muldf3.c: Likewise.
56099         * soft-fp/mulsf3.c: Likewise.
56100         * soft-fp/multf3.c: Likewise.
56101         * soft-fp/negdf2.c: Likewise.
56102         * soft-fp/negsf2.c: Likewise.
56103         * soft-fp/negtf2.c: Likewise.
56104         * soft-fp/op-1.h: Likewise.
56105         * soft-fp/op-2.h: Likewise.
56106         * soft-fp/op-4.h: Likewise.
56107         * soft-fp/op-8.h: Likewise.
56108         * soft-fp/op-common.h: Likewise.
56109         * soft-fp/quad.h: Likewise.
56110         * soft-fp/single.h: Likewise.
56111         * soft-fp/soft-fp.h: Likewise.
56112         * soft-fp/sqrtdf2.c: Likewise.
56113         * soft-fp/sqrtsf2.c: Likewise.
56114         * soft-fp/sqrttf2.c: Likewise.
56115         * soft-fp/subdf3.c: Likewise.
56116         * soft-fp/subsf3.c: Likewise.
56117         * soft-fp/subtf3.c: Likewise.
56118         * soft-fp/truncdfsf2.c: Likewise.
56119         * soft-fp/trunctfdf2.c: Likewise.
56120         * soft-fp/trunctfsf2.c: Likewise.
56121         * soft-fp/trunctfxf2.c: Likewise.
56122         * soft-fp/unorddf2.c: Likewise.
56123         * soft-fp/unordsf2.c: Likewise.
56124         * soft-fp/unordtf2.c: Likewise.
56126 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56128         [BZ #15672]
56129         * misc/error.c (error_tail): Fix possible buffer overflow.
56131 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56133         [BZ #13028]
56134         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56135         address.
56137 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56139         [BZ #832]
56140         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56141         testing pipefail option.
56143 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56145         * soft-fp/double.h: Indent preprocessor directives inside #if.
56146         * soft-fp/extended.h: Likewise.
56147         * soft-fp/op-2.h: Likewise.
56148         * soft-fp/op-4.h: Likewise.
56149         * soft-fp/op-common.h: Likewise.
56150         * soft-fp/quad.h: Likewise.
56151         * soft-fp/single.h: Likewise.
56152         * soft-fp/soft-fp.h: Likewise.
56154 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56156         * iconv/iconv_prog.c: Fix typos.
56157         * stdio-common/psiginfo-data.h: Likewise.
56159 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56161         [BZ #15764]
56162         * locale/setlocale.c: Fix typo.
56164 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56166         [BZ #16036]
56167         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56168         signaling NaN arguments.
56169         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56170         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56172         [BZ #14910]
56173         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56174         unordered operands.
56175         * soft-fp/gesf2.c (__gesf2): Likewise.
56176         * soft-fp/getf2.c (__getf2): Likewise.
56177         * soft-fp/ledf2.c (__ledf2): Likewise.
56178         * soft-fp/lesf2.c (__lesf2): Likewise.
56179         * soft-fp/letf2.c (__letf2): Likewise.
56181         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56182         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56183         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56184         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56185         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56186         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56187         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56188         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56189         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56190         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56191         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56192         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56193         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56194         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56195         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56196         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56197         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56198         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56199         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56200         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56201         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56202         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56203         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56204         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56205         * soft-fp/floattidf.c (__floattidf): Likewise.
56206         * soft-fp/floattisf.c (__floattisf): Likewise.
56207         * soft-fp/floattitf.c (__floattitf): Likewise.
56208         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56209         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56210         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56211         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56212         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56213         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56214         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56215         * soft-fp/gesf2.c (__gesf2): Likewise.
56216         * soft-fp/getf2.c (__getf2): Likewise.
56217         * soft-fp/ledf2.c (__ledf2): Likewise.
56218         * soft-fp/lesf2.c (__lesf2): Likewise.
56219         * soft-fp/letf2.c (__letf2): Likewise.
56221         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56222         Undefine and redefine.
56223         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56224         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56225         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56226         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56227         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56228         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56229         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56230         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56231         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56232         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56233         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56234         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56235         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56236         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56237         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56239         [BZ #16032]
56240         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56241         without decrementing exponent if mantissa >= that for the
56242         denominator, not >.
56243         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56244         denominator, not >.  Decrement exponent in < case instead of
56245         incrementing in >= case.
56246         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56247         without decrementing exponent if mantissa >= that for the
56248         denominator, not >.
56250         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56251         computing saturated result for unsigned overflow.
56253 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56254             Jeff Law  <law@redhat.com>
56256         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56257         (atan2Mp): Add systemtap probe marker.
56258         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56259         (__ieee754_log): Add systemtap probe marker.
56260         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56261         (atanMp): Add systemtap probe marker.
56262         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56263         (tanMp): Add systemtap probe marker.
56264         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56265         (__slowexp): Add systemtap probe marker.
56266         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56267         (__slowpow): Add systemtap probe marker.
56268         * manual/probes.texi: Document probes.
56270 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56272         [BZ #15362]
56273         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56274         written.
56275         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56276         written.
56277         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56278         written to buffer but not flushed.
56279         * libio/iofwrite_u.c:  Likewise.
56280         * libio/iopadn.c:  Return bytes returned even if EOF was
56281         encountered.
56282         * libio/iowpadn.c:  Likewise.
56283         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56284         if _IO_padn does not write the whole buffer.
56285         [!COMPILE_WPRINTF] (PAD): Likewise.
56287 2013-10-10  David S. Miller  <davem@davemloft.net>
56289         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56290         directory block.
56292 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56294         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56295         instead of FSF address.
56296         * soft-fp/fixdfti.c: Likewise.
56297         * soft-fp/fixsfti.c: Likewise.
56298         * soft-fp/fixtfti.c: Likewise.
56299         * soft-fp/fixunsdfti.c: Likewise.
56300         * soft-fp/fixunssfti.c: Likewise.
56301         * soft-fp/fixunstfti.c: Likewise.
56302         * soft-fp/floattidf.c: Likewise.
56303         * soft-fp/floattisf.c: Likewise.
56304         * soft-fp/floattitf.c: Likewise.
56305         * soft-fp/floatuntidf.c: Likewise.
56306         * soft-fp/floatuntisf.c: Likewise.
56307         * soft-fp/floatuntitf.c: Likewise.
56308         * soft-fp/trunctfxf2.c: Likewise.
56310         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56311         * soft-fp/fixdfti.c: Likewise.
56312         * soft-fp/fixsfti.c: Likewise.
56313         * soft-fp/fixtfti.c: Likewise.
56314         * soft-fp/fixunsdfti.c: Likewise.
56315         * soft-fp/fixunssfti.c: Likewise.
56316         * soft-fp/fixunstfti.c: Likewise.
56317         * soft-fp/floattidf.c: Likewise.
56318         * soft-fp/floattisf.c: Likewise.
56319         * soft-fp/floattitf.c: Likewise.
56320         * soft-fp/floatuntidf.c: Likewise.
56321         * soft-fp/floatuntisf.c: Likewise.
56322         * soft-fp/floatuntitf.c: Likewise.
56323         * soft-fp/trunctfxf2.c: Likewise.
56325 2013-10-10  David S. Miller  <davem@davemloft.net>
56327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56329 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56331         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56332         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56333         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56334         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56335         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56336         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56337         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56339         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56340         for NaNs before doing comparisons on argument.
56341         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56342         Likewise.
56344 2013-10-10  Will Newton  <will.newton@linaro.org>
56346         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56347         passed to _int_memalign does not overflow.
56349 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56351         * scripts/bench.pl: Add include-sources directive.
56352         * benchtests/README: Update documentation.
56354 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56356         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56357         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56358         instead of FP_INIT_ROUNDMODE.
56359         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56360         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56362         [BZ #16034]
56363         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56364         copy class of input value.
56365         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56366         not handle exceptions.
56367         * soft-fp/negsf2.c (__negsf2): Likewise.
56368         * soft-fp/negtf2.c (__negtf2): Likewise.
56369         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56371 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56373         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56374         semicolon.  From Linux kernel.
56376 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56378         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56380 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56382         [BZ #156]
56383         * manual/socket.texi: Added statement about buffer
56384         for gethostbyname2_r.
56386 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56388         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56389         Use .p2align directive instead, throughout.
56390         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56391         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56392         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56393         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56394         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56395         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56396         * sysdeps/x86_64/strchr.S: Likewise.
56397         * sysdeps/x86_64/strrchr.S: Likewise.
56399 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56401         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56403         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56405         * sysdeps/generic/math_private.h (__mpsin1): Remove
56406         declaration.
56407         (__mpcos1): Likewise.
56408         (__mpsin): New argument __range_reduce.
56409         (__mpcos): Likewise.
56410         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56411         (slow): Use __mpsin and __mpcos.
56412         (slow1): Likewise.
56413         (slow2): Likewise.
56414         (sloww): Likewise.
56415         (sloww1): Likewise.
56416         (sloww2): Likewise.
56417         (bsloww): Likewise.
56418         (bsloww1): Likewise.
56419         (bsloww2): Likewise.
56420         (cslow2): Likewise.
56421         (csloww): Likewise.
56422         (csloww1): Likewise.
56423         (csloww2): Likewise.
56424         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56425         range_reduce.  Merge in __mpsin1.
56426         (__mpcos): Likewise.
56427         (__mpsin1): Remove.
56428         (__mpcos1): Likewise.
56430 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56432         * locale/loadlocale.c (_nl_intern_locale_data): Use
56433         LOCFILE_ALIGNED_P.
56434         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56435         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56436         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56437         obstack data is appropriately aligned.
56438         (obstack_int32_grow_fast): Likewise.
56439         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56440         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56441         (add_locale_uint32_array): Likewise.
56443 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56445         * benchtests/Makefile: Remove ARGLIST and RET variables.
56446         ($(objpfx)bench-%.c): Pass only function name to the script.
56447         * benchtests/README: Update documentation.
56448         * benchtests/acos-inputs: Add new directives.
56449         * benchtests/acosh-inputs: Likewise.
56450         * benchtests/asin-inputs: Likewise.
56451         * benchtests/asinh-inputs: Likewise.
56452         * benchtests/atan-inputs: Likewise.
56453         * benchtests/atanh-inputs: Likewise.
56454         * benchtests/cos-inputs: Likewise.
56455         * benchtests/cosh-inputs: Likewise.
56456         * benchtests/exp-inputs: Likewise.
56457         * benchtests/log-inputs: Likewise.
56458         * benchtests/pow-inputs: Likewise.
56459         * benchtests/rint-inputs: Likewise.
56460         * benchtests/sin-inputs: Likewise.
56461         * benchtests/sinh-inputs: Likewise.
56462         * benchtests/tan-inputs: Likewise.
56463         * benchtests/tanh-inputs: Likewise.
56464         * scripts/bench.pl: Add support for new directives.
56466 2013-10-07  Alan Modra  <amodra@gmail.com>
56468         * README: Fix careless merge.
56470 2013-10-05  Alan Modra  <amodra@gmail.com>
56472         * NEWS: Mention powerpc64le support and bugs fixed.
56473         * README: Both big-endian and little-endian powerpc64 supported.
56475 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56477         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56478         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56479         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56480         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56482 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56484         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56485         match prototype.
56487 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56489         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56490         Move -mhard-float appending from
56491         ports/sysdeps/powerpc/powerpc32/Makefile.
56492         [$(with-fp) = yes] (ASFLAGS): Likewise.
56493         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56494         * sysdeps/powerpc/nofpu: Move directory from
56495         ports/sysdeps/powerpc/nofpu.
56496         * sysdeps/powerpc/soft-fp: Move directory from
56497         ports/sysdeps/powerpc/soft-fp.
56498         * sysdeps/powerpc/powerpc32/405: Move directory from
56499         ports/sysdeps/powerpc/powerpc32/405.
56500         * sysdeps/powerpc/powerpc32/440: Move directory from
56501         ports/sysdeps/powerpc/powerpc32/440.
56502         * sysdeps/powerpc/powerpc32/464: Move directory from
56503         ports/sysdeps/powerpc/powerpc32/464.
56504         * sysdeps/powerpc/powerpc32/476: Move directory from
56505         ports/sysdeps/powerpc/powerpc32/476.
56506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56507         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56509         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56511         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56513         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56515         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56516         * README: Update for powerpc-*-linux-gnu software floating point
56517         support in libc.
56519         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56520         case to powerpc/powerpc32*.
56521         * sysdeps/unix/sysv/linux/configure: Regenerated.
56523         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56524         (_FPU_MASK_OM): Define as 0x04.
56525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56527         0x00c10080.
56528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56529         0x0000003c.
56530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56533         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56534         getcontext_e500.
56535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56536         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56537         setcontext_e500.
56538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56539         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56540         and setcontext_e500.
56542 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56544         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56546 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56548         * manual/threads.texi (Default Thread Attributes): Fix typo.
56550 2013-10-04  Will Newton  <will.newton@linaro.org>
56552         * malloc/Makefile: Add tst-memalign.
56553         * malloc/tst-memalign.c: New file.
56555         * malloc/tst-posix_memalign.c: Add comments.
56556         (do_test): Add comments and call free on all potentially
56557         allocated pointers. Add space after cast.
56559         * malloc/tst-pvalloc.c: Add comments.
56560         (do_test): Add comments and call free on all potentially
56561         allocated pointers. Remove duplicate check for NULL pointer.
56562         Add space after cast.
56564         * malloc/tst-valloc.c: Add comments.
56565         (do_test): Add comments and call free on all potentially
56566         allocated pointers. Remove duplicate check for NULL pointer.
56567         Add space after cast.
56569 2013-10-04  Alan Modra  <amodra@gmail.com>
56571         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56572         Use stdint types in rather than __attribute__((mode())).
56573         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56575 2013-10-04  Alan Modra  <amodra@gmail.com>
56577         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56578         Correct handling of unaligned relocs for little-endian.
56579         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56581 2013-10-04  Alan Modra  <amodra@gmail.com>
56583         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56584         * configure: Regenerate.
56585         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56586         * shlib-versions: Likewise.
56588 2013-10-04  Alan Modra  <amodra@gmail.com>
56590         * string/tester.c (test_memrchr): Increment reported test cycle.
56592 2013-10-04  Alan Modra  <amodra@gmail.com>
56594         * string/test-memcpy.c (do_one_test): When reporting errors, print
56595         string address and don't overrun end of string.
56597 2013-10-04  Alan Modra  <amodra@gmail.com>
56599         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56600         insrdi.  Make better use of reg selection to speed exit slightly.
56601         Schedule entry path a little better.  Remove useless "are we done"
56602         checks on entry to main loop.  Handle wrapping around zero address.
56603         Correct main loop count.  Handle single left-over word from main
56604         loop inline rather than by using loop_small.  Remove extra word
56605         case in loop_small caused by wrong loop count.  Add little-endian
56606         support.
56607         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56608         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56609         cache hint.
56610         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56611         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56612         support.  Avoid rlwimi.
56613         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56615 2013-10-04  Alan Modra  <amodra@gmail.com>
56617         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56618         insrdi.  Formatting.
56619         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56620         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56621         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56622         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56623         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56624         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56626 2013-10-04  Alan Modra  <amodra@gmail.com>
56628         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56629         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56630         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56631         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56632         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56633         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56634         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56635         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56636         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56637         use of regs.  Use power7 mtocrf.  Tidy function tails.
56639 2013-10-04  Alan Modra  <amodra@gmail.com>
56641         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56642         Formatting.  Consistently use rXXX register defines or rN defines.
56643         Use early exit labels that avoid restoring unused non-volatile regs.
56644         Make cr field use more consistent with rWORDn compares.  Rename
56645         regs used as shift registers for unaligned loop, using rN defines
56646         for short lifetime/multiple use regs.
56647         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56648         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56649         addi 1,1,64 to pop stack frame.  Simplify return value code.
56650         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56652 2013-10-04  Alan Modra  <amodra@gmail.com>
56654         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56655         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56656         rather than rlwimi.
56657         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56658         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56659         little-endian support.  Correct typos.
56660         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56661         rather than rlwimi.
56662         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56663         in loop and entry code to keep "and." results.
56664         (strchr): Add little-endian support.  Comment.  Move cntlzd
56665         earlier in tail.
56666         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56668 2013-10-04  Alan Modra  <amodra@gmail.com>
56670         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56671         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56672         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56673         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56675 2013-10-04  Alan Modra  <amodra@gmail.com>
56677         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56678         (rTMP): Define as r11.
56679         (strcmp): Add little-endian support.  Optimise tail.
56680         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56681         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56682         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56683         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56684         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56685         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56686         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56688 2013-10-04  Alan Modra  <amodra@gmail.com>
56690         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56691         little-endian support.  Remove unnecessary "are we done" tests.
56692         Handle "s" wrapping around zero and extremely large "size".
56693         Correct main loop count.  Handle single left-over word from main
56694         loop inline rather than by using small_loop.  Correct comments.
56695         Delete "zero" tail, use "end_max" instead.
56696         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56698 2013-10-04  Alan Modra  <amodra@gmail.com>
56700         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56701         support.  Don't branch over align.
56702         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56703         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56704         support.  Rearrange tmp reg use to suit.  Comment.
56705         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56707 2013-10-04  Alan Modra  <amodra@gmail.com>
56709         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56711 2013-10-04  Alan Modra  <amodra@gmail.com>
56713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56714         conditional form of branch and link when obtaining pc.
56715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56717 2013-10-04  Alan Modra  <amodra@gmail.com>
56719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56720         HIWORD/LOWORD.
56721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56724 2013-10-04  Alan Modra  <amodra@gmail.com>
56726         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56727         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56728         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56729         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56730         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56731         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56732         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56733         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56734         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56735         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56737 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56738             Alistair Popple <alistair@ozlabs.au.ibm.com>
56739             Alan Modra <amodra@gmail.com>
56741         [BZ #15723]
56742         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56743         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56744         _dl_hwcap access for little-endian.
56745         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56746         destroy vmx regs when saving unaligned.
56747         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56748         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56749         destroy vmx regs when saving unaligned.
56751 2013-10-04  Alan Modra  <amodra@gmail.com>
56753         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56754         Don't use a union to pack hi/low value.
56756 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56758         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56759         for little-endian.
56760         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56761         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56762         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56763         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56764         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56766 2013-10-04  Alan Modra  <amodra@gmail.com>
56768         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56769         constants to usual value for .cst8 section, and remove redundant
56770         high address load.
56771         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56772         constant for 0x1p52.  Load little-endian words of double from
56773         correct stack offsets.
56775 2013-10-04  Alan Modra  <amodra@gmail.com>
56777         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56778         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56779         words of double from correct stack offsets.
56780         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56781         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56782         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56783         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56784         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56785         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56786         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56787         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56788         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56789         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56790         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56791         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56792         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56793         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56794         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56795         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56796         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56798 2013-10-04  Alan Modra  <amodra@gmail.com>
56800         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56801         64-bit int/double union.
56802         (_FPU_SETCW): Likewise.
56803         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56804         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56806 2013-10-04  Alan Modra  <amodra@gmail.com>
56808         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56809         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56811 2013-10-04  Alan Modra  <amodra@gmail.com>
56813         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56814         use vector int constants.
56815         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56817 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56819         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56820         array with long long.
56821         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56822         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56823         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56824         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56825         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56826         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56827         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56828         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56829         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56830         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56831         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56832         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56833         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56835 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56837         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56838         (__signbit): Likewise.  Correct for little-endian.
56839         (__signbitl): Call __signbit.
56840         (lrint): Correct for little-endian.
56841         (lrintf): Call lrint.
56843 2013-10-04  Alan Modra  <amodra@gmail.com>
56845         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56846         union 32-bit int array member with 64-bit int array.
56847         (t515, tm256): Double rather than long double.
56848         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56850 2013-10-04  Alan Modra  <amodra@gmail.com>
56852         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56853         Delete.
56854         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56855         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56856         version of math_ldbl.h.
56858 2013-10-04  Alan Modra  <amodra@gmail.com>
56860         [BZ #15734], [BZ #15735]
56861         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56862         all uses of ieee875 long double macros and unions.  Simplify test
56863         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56864         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56865         normalize after ldbl_extract_mantissa, and don't add hidden bit
56866         already handled.  Don't treat low word of ieee854 mantissa like
56867         low word of IBM long double and mask off bit when testing for
56868         zero.
56869         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56870         all uses of ieee875 long double macros and unions.  Simplify tests
56871         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56872         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56873         two1022, instead use their values.  Recognise that tests for large
56874         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56875         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56876         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56877         test for 0.0L and nan.  Correct negation.
56878         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56879         ieee875 long double macros and unions.  Correct output for large
56880         magnitude x.  Correct absolute value calculation.
56881         (__erfcl): Likewise.
56882         * math/libm-test.inc: Add tests for errors discovered in IBM long
56883         double versions of fmodl, remainderl, erfl and erfcl.
56885 2013-10-04  Alan Modra  <amodra@gmail.com>
56887         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56888         all uses of ieee854 long double macros and unions.  Simplify tests
56889         for long doubles that are fully specified by the high double.
56890         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56891         Likewise.
56892         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56893         Remove dead code too.
56894         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56895         (__ieee754_ynl): Likewise.
56896         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56897         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56898         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56899         Remove dead code too.
56900         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56901         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56902         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56903         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56904         Simplify.
56905         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56906         Simplify.
56907         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56908         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56909         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56910         Comment on variable precision.
56911         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56912         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56913         Likewise.
56914         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56915         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56916         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56917         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56918         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56920 2013-10-04  Alan Modra  <amodra@gmail.com>
56922         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56923         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56924         all uses of ieee854 long double macros and unions.
56925         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56926         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56927         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56928         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56929         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56930         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56931         Likewise.
56932         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56933         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56934         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56935         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56936         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56937         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56938         Simplify sign and nan test too.
56939         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56940         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56941         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56942         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56943         Likewise.
56944         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56945         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56946         Likewise.
56947         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56948         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56949         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56950         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56951         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56952         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56954 2013-10-04  Alan Modra  <amodra@gmail.com>
56956         * stdio-common/printf_size.c (__printf_size): Don't use
56957         union ieee854_long_double in fpnum union.
56958         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56959         signbit macro to retrieve sign from long double.
56960         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56961         retrieve sign from long double.
56962         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56963         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56964         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56965         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56966         * math/test-misc.c (main): Don't use union ieee854_long_double.
56968 2013-10-04  Alan Modra  <amodra@gmail.com>
56970         [BZ #15680]
56971         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56972         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56973         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56974         calculation.  Remove unnecessary test for denormal exponent.
56975         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56976         Correct handling of denormals.  Avoid undefined shift behaviour.
56977         Correct normalisation of low mantissa when low double is denormal.
56978         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56979         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56980         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56981         Correct normalisation of low mantissa.  Test for overflow of high
56982         mantissa and normalise.
56983         (ldbl_nearbyint): Use more readable constant for two52.
56984         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56985         (__mpn_construct_long_double): Fix test for overflow of high
56986         mantissa and correct normalisation.  Avoid undefined shift.
56988 2013-10-04  Alan Modra  <amodra@gmail.com>
56990         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56991         (union ibm_extended_long_double): Define as an array of ieee754_double.
56992         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
56993         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
56994         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
56995         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56996         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56997         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
56998         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56999         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57000         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57001         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57002         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57004 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57006         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57007         page size instead of calling getpagesize.
57009         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57010         (LOCFILE_ALIGN_MASK): Likewise.
57011         (LOCFILE_ALIGN_UP): Likewise.
57012         (LOCFILE_ALIGNED_P): Likewise.
57013         * locale/programs/ld-collate.c (collate_output): Use the new
57014         macros instead of __alignof__ (int32_t).
57015         * locale/weight.h (findidx): Likewise.
57017 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57019         [BZ #431]
57020         * manual/string.texi: Fix strncat and wcsncat.
57022 2013-10-03  Brooks Moses  <bmoses@google.com>
57024         [BZ #15915]
57025         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57026         * Makerules: ...here, and adjust associated comments.
57028 2013-10-02  Will Newton  <will.newton@linaro.org>
57030         * malloc/Makefile: Add tst-pvalloc.
57031         * malloc/tst-pvalloc.c: New file.
57033 2013-10-02  Will Newton  <will.newton@linaro.org>
57035         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57036         improve test coverage.
57038 2013-10-02  Will Newton  <will.newton@linaro.org>
57040         * malloc/Makefile: Add tst-posix_memalign.
57041         * malloc/tst-posix_memalign.c: New file.
57043 2013-10-01  Eric Blake  <eblake@redhat.com>
57045         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57046         Use __THROWNL rather than __THROW on static functions.
57048 2013-09-30  Petr Machata  <pmachata@redhat.com>
57050         * elf/elf.h (R_AARCH64_ABS16): New macro.
57051         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57052         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57053         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57054         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57055         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57056         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57057         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57058         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57059         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57060         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57061         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57062         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57063         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57064         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57065         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57066         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57067         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57068         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57069         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57070         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57071         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57072         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57073         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57074         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57075         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57076         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57077         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57078         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57079         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57080         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57081         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57082         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57083         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57084         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57085         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57086         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57087         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57088         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57089         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57090         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57091         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57092         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57093         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57094         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57095         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57096         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57097         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57098         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57099         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57100         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57101         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57102         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57103         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57104         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57105         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57106         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57107         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57108         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57109         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57110         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57111         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57112         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57113         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57114         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57115         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57116         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57117         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57118         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57119         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57120         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57121         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57122         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57123         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57124         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57125         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57126         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57127         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57128         (R_AARCH64_TLSDESC_LDR): Likewise.
57129         (R_AARCH64_TLSDESC_ADD): Likewise.
57130         (R_AARCH64_TLSDESC_CALL): Likewise.
57132 2013-09-30  Andreas Schwab  <schwab@suse.de>
57134         [BZ #15048]
57135         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57136         the nss database lookup.
57137         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57140 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57142         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57144 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57146         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57147         ${Bash-specific parameter/pattern/string} parameter expansion.
57148         * sysdeps/unix/make-syscalls.sh: Likewise.
57150 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57152         * sysdeps/sh/stackguard-macros.h: New file.
57154 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57158         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57159         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57160         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57161         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57163 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57165         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57166         Fix thread ID register.
57168 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57170         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57171         [POSIX || UNIX98]: Require rather than permitting all symbols from
57172         <time.h>.
57173         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57174         element of struct sched_param.
57175         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57176         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57177         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57178         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57179         constant.
57181 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57183         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57184         argument calculation.
57186 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57188         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57189         Expect macro.
57190         [POSIX] (pthread_attr_t): Do not require type.
57191         [POSIX] (pthread_cond_t): Likewise.
57192         [POSIX] (pthread_condattr_t): Likewise.
57193         [POSIX] (pthread_key_t): Likewise.
57194         [POSIX] (pthread_mutex_t): Likewise.
57195         [POSIX] (pthread_mutexattr_t): Likewise.
57196         [POSIX] (pthread_once_t): Likewise.
57197         [POSIX] (pthread_t): Likewise.
57198         [POSIX-based standards] (pthread_atfork): Expect function.
57200 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57201             Richard Sandiford  <richard@codesourcery.com>
57203         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57204         (swap_endianness_p): New extern variable.
57205         (set_big_endian): New inline function.
57206         (maybe_swap_uint32): Likewise.
57207         (maybe_swap_uint32_array): Likewise.
57208         (maybe_swap_uint32_obstack): Likewise.
57209         * locale/programs/locfile.c: Include <stdbool.h>.
57210         (swap_endianness_p): New variable.
57211         (add_locale_uint32): Call maybe_swap_uint32.
57212         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57213         (write_locale_data): Call maybe_swap_uint32_array.
57214         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57215         maybe_swap_uint32.
57216         (obstack_int32_grow_fast): Likewise.
57217         (output_weightwc): Call maybe_swap_uint32_obstack.
57218         (collate_output): Likewise.
57219         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57220         (OPT_LITTLE_ENDIAN): Likewise.
57221         (options): Add --little-endian and --big-endian options.
57222         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57223         * locale/programs/locarchive.c: Include "locfile.h".
57224         (GET): New macro.
57225         (SET): Likewise.
57226         (INC): Likewise.
57227         (create_archive): Use the new macros to access fields of
57228         structures directly mapped from or written to locale archives.
57229         (oldlocrecentcmp): Likewise.
57230         (enlarge_archive): Likewise.
57231         (insert_name): Likewise.
57232         (add_alias): Likewise.
57233         (add_locale): Likewise.
57234         (delete_locales_from_archive): Likewise.
57235         (show_archive_content): Likewise.
57236         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57237         locale data.
57239 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57241         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57242         http://www.gnu.org/doc/freemanuals.texi.
57243         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57245 2013-09-24  Will Newton  <will.newton@linaro.org>
57247         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57248         macro.
57250 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57252         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57253         unsigned char.
57255 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57257         * manual/threads.texi (POSIX Threads): Fix a typo.
57259 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57261         [BZ #14547]
57262         * string/tst-strcoll-overflow.c: New test case.
57263         * string/Makefile (xtests): Add tst-strcoll-overflow.
57264         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57265         cache if string sizes may cause integer overflow.
57267         [BZ #14547]
57268         * string/strcoll_l.c (coll_seq): New members rule, idx,
57269         save_idx and back_us.
57270         (get_next_seq_nocache): New function.
57271         (do_compare_nocache): New function.
57272         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57273         when malloc fails.
57275 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57277         [BZ #15754]
57278         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57279         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57280         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57282         [BZ #15754]
57283         * elf/Makefile (tests): Add tst-ptrguard1.
57284         (tests-static): Add tst-ptrguard1-static.
57285         (tst-ptrguard1-ARGS): Define.
57286         (tst-ptrguard1-static-ARGS): Define.
57287         * elf/tst-ptrguard1.c: New file.
57288         * elf/tst-ptrguard1-static.c: New file.
57289         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57290         * sysdeps/i386/stackguard-macros.h: Likewise.
57291         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57292         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57293         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57294         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57295         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57296         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57298 2013-09-23  Hector Marco  <hecmargi@upv.es>
57299             Ismael Ripoll  <iripoll@disca.upv.es>
57300             Carlos O'Donell  <carlos@redhat.com>
57302         [BZ #15754]
57303         * sysdeps/generic/stackguard-macros.h: Define
57304         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57305         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57306         Define __pointer_chk_guard_local.
57307         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57308         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57310 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57312         [BZ #15859]
57313         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57315 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57317         * include/string.h (__ffs): Declare as hidden.
57318         * string/ffs.c (__ffs): Define as hidden.
57319         * sysdeps/i386/ffs.c (__ffs): Likewise.
57320         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57321         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57322         * sysdeps/s390/ffs.c (__ffs): Likewise.
57323         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57325 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57327         * NEWS: Mention malloc probes.
57329         * malloc/arena.c (new_heap): New memory_heap_new probe.
57330         (grow_heap): New memory_heap_more probe.
57331         (shrink_heap): New memory_heap_less probe.
57332         (heap_trim): New memory_heap_free probe.
57333         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57334         (systrim): New memory_sbrk_less probe.
57335         * manual/probes.texi: Document them.
57337         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57338         * manual/probes.texi: Document it.
57340         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57341         (__libc_realloc): Add memory_realloc_retry probe.
57342         (__libc_memalign): Add memory_memalign_retry probe.
57343         (__libc_valloc): Add memory_valloc_retry probe.
57344         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57345         (__libc_calloc): Add memory_calloc_retry probe.
57346         * manual/probes.texi: Document them.
57348         * malloc/arena.c (get_free_list): Add probe
57349         memory_arena_reuse_free_list.
57350         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57351         and memory_arena_reuse.
57352         (arena_get2) [!PER_THREAD]: Likewise.
57353         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57354         memory_arena_reuse_realloc.
57355         * manual/probes.texi: Document them.
57357         * malloc/malloc.c (__libc_free): Add
57358         memory_mallopt_free_dyn_thresholds probe.
57359         (__libc_mallopt): Add multiple memory_mallopt probes.
57360         * manual/probes.texi: Document them.
57362         * malloc/malloc.c: Include stap-probe.h.
57363         (__libc_mallopt): Add memory_mallopt probe.
57364         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57365         * manual/probes.texi: New.
57366         * manual/Makefile (chapters): Add probes.
57367         * manual/threads.texi: Set next node.
57369 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57371         [BZ #15963, #13985]
57372         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57373         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57374         Add `Chinese' to `nan' entry name.
57376 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57378         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57379         (POLYNOMIAL): Likewise.
57380         (TAYLOR_SINCOS): Likewise.
57381         (TAYLOR_SLOW): Likewise.
57382         (__sin): Use TAYLOR_SINCOS.
57383         (__cos): Likewise.
57384         (slow): Use TAYLOR_SLOW.
57385         (sloww): Likewise.
57386         (bsloww): Likewise.
57387         (csloww): Likewise.
57389 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57391         * stdlib/strtod_l.c: Fix buffer overrun.
57393 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57395         * benchtests/Makefile (bench): Add sincos.
57396         * benchtests/bench-sincos.c: New file.
57398         * math/libm-test.inc (cos_test_data): New test inputs.
57399         (sin_test_data): Likewise.
57401         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57402         macro.
57403         (__sin): Use it.
57404         (__cos): Likewise.
57405         (slow1): Likewise.
57406         (slow2): Likewise.
57407         (sloww1): Likewise.
57408         (sloww2): Likewise.
57409         (bsloww1): Likewise.
57410         (bsloww2): Likewise.
57411         (cslow2): Likewise.
57412         (csloww1): Likewise.
57413         (csloww2): Likewise.
57415         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57416         function.
57417         (__sin): Use it.
57418         (__cos): Likewise.
57420         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57421         gotos.
57422         (__cos): Likewise.
57424 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57426         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57427         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57428         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57429         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57430         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57431         * elf/cache.c (print_entry): Handle the new cache flags.
57433 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57434             Aldy Hernandez  <aldyh@redhat.com>
57436         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57437         Change condition to [_SOFT_FLOAT].
57438         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57440         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57441         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57444         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57450         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57453         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57454         declaration.
57456 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57458         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57459         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57460         (__longjmp): Use LOAD_GP to load saved GPRs.
57461         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57462         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57463         (__sigsetjmp): Use SAVE_GP to save GPRs.
57465         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57466         Do not append -msoft-float.
57467         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57469 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57471         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57473 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57475         [BZ #15966]
57476         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57477         (_FPU_GETCW): Use initial "__" on variable and field names but not
57478         on macro parameter name.
57479         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57480         parentheses around reference to macro parameter.
57482 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57484         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57485         prototype.
57486         (ctype_startup): Use uint32_t in cast and sizeof for
57487         ctype->charnames.
57489 2013-09-11  Jia Liu  <proljc@gmail.com>
57491         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57492         __daddr_t_defined.
57493         [__FreeBSD__]: Likewise.
57495 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57498         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57499         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57500         (strchr): Remove __strchr_sse42 ifunc selection.
57501         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57502         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57504 2013-09-11  Will Newton  <will.newton@linaro.org>
57506         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57507         parameter to RES. Remove hardcoded 1000 value.
57508         * benchtests/bench-skeleton.c (main): Pass RES parameter
57509         to TIMING_INIT and multiply result by 1000.
57511 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57515 2013-09-11  Andreas Schwab  <schwab@suse.de>
57517         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57518         if not defined.
57519         (O_TMPFILE) [__USE_GNU]: Define.
57520         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57521         Define.
57523 2013-09-11  Will Newton  <will.newton@linaro.org>
57525         [BZ #15857]
57526         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57527         does not overflow.
57529 2013-09-11  Will Newton  <will.newton@linaro.org>
57531         [BZ #15856]
57532         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57533         does not overflow.
57535 2013-09-11  Will Newton  <will.newton@linaro.org>
57537         [BZ #15855]
57538         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57539         does not overflow.
57541 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57543         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57544         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57545         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57546         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57547         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57549 2013-09-10  Allan McRae  <allan@archlinux.org>
57551         [BZ #15748]
57552         * manual/arith.texi (Parsing of Floats): Clarify
57553         cross-reference.
57555         [BZ #15849]
57556         * manual/install.texi (Running make install): Mention
57557         --enable-pt-chown.
57558         * INSTALL: Regenerated.
57560 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57562         * csu/init-first.c (_init): Remove the !SHARED condition around
57563         FPU control word initialization.
57564         * elf/dl-support.c (_dl_fpu_control): New variable.
57565         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57566         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57567         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57568         * math/test-fpucw-static.c: New file.
57569         * math/test-fpucw-ieee.c: New file.
57570         * math/test-fpucw-ieee-static.c: New file.
57571         * math/Makefile (tests): Add `test-fpucw-ieee' and
57572         `$(tests-static)'.
57573         (tests-static): New variable.
57574         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57575         dependency to...
57576         [($(build-shared),yes)]
57577         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57578         ... this.
57579         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57580         New dependency.
57582 2013-09-09  Allan McRae  <allan@archlinux.org>
57584         [BZ #15939]
57585         * manual/string.texi (Collation Functions): Fix typo in
57586         strcoll example.
57587         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57589         [BZ #15893]
57590         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57592         [BZ #15892]
57593         * libio/memstream.c (open_memstream): Fix memory leak.
57594         * libio/wmemstream.c (open_wmemstream): Likewise.
57596         [BZ #15895]
57597         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57599 2013-09-09  Will Newton  <will.newton@linaro.org>
57601         * malloc/Makefile: Add tst-realloc to tests.
57602         * malloc/tst-realloc.c: New file.
57604 2013-09-09  Allan McRae  <allan@archlinux.org>
57606         [BZ #15844]
57607         * COPYING: Update from GNU website to fix FSF address.
57608         * COPYING.LIB: Likewise.
57610 2013-09-06  David S. Miller  <davem@davemloft.net>
57612         * po/zh_TW.po: Update Chinese (traditional) translation from
57613         translation project.
57615 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57616             Joseph Myers  <joseph@codesourcery.com>
57618         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57619         "localeinfo.h".
57620         (obstack_chunk_alloc): New macro.
57621         (obstack_chunk_free): Likewise.
57622         (record_offset): New function.
57623         (init_locale_data): Likewise.
57624         (align_locale_data): Likewise.
57625         (add_locale_empty): Likewise.
57626         (add_locale_raw_data): Likewise.
57627         (add_locale_raw_obstack): Likewise.
57628         (add_locale_string): Likewise.
57629         (add_locale_wstring): Likewise.
57630         (add_locale_uint32): Likewise.
57631         (add_locale_uint32_array): Likewise.
57632         (add_locale_char): Likewise.
57633         (start_locale_structure): Likewise.
57634         (end_locale_structure): Likewise.
57635         (start_locale_prelude): Likewise.
57636         (end_locale_prelude): Likewise.
57637         (write_locale_data): Take locale_file structure rather than an
57638         iovec.
57639         * locale/programs/locfile.h: Include "obstack.h".
57640         (struct locale_file): Change to store locale file contents instead
57641         of header.
57642         (init_locale_data): New prototype.
57643         (align_locale_data): Likewise.
57644         (add_locale_empty): Likewise.
57645         (add_locale_raw_data): Likewise.
57646         (add_locale_raw_obstack): Likewise.
57647         (add_locale_string): Likewise.
57648         (add_locale_wstring): Likewise.
57649         (add_locale_uint32): Likewise.
57650         (add_locale_uint32_array): Likewise.
57651         (add_locale_char): Likewise.
57652         (start_locale_structure): Likewise.
57653         (end_locale_structure): Likewise.
57654         (start_locale_prelude): Likewise.
57655         (end_locale_prelude): Likewise.
57656         (write_locale_data): Update prototype.
57657         * locale/programs/3level.h (struct TABLE): Remove result field.
57658         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57659         Use new locale_file interface.
57660         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57661         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57662         * locale/programs/ld-address.c (address_output): Use new
57663         locale_file interface.
57664         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57665         NO_ADD_LOCALE.
57666         (collate_finish): Don't call collseq_table_finalize.
57667         (collate_output): Use new locale_file interface.
57668         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57669         in file.
57670         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57671         (TABLE): Move defines earlier in file.
57672         (ELEMENT): Likewise.
57673         (DEFAULT): Likewise.
57674         (wctrans_table_add): Move macro and inline function earlier in
57675         file.
57676         (struct wctype_table): Move type earlier in file.
57677         (add_locale_wctype_table): New static prototype.
57678         (struct locale_ctype_t): Use logical types instead of struct iovec
57679         pointers for members.
57680         (ctype_output): Use new locale_file interface.
57681         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57682         new locale_file interface.
57683         (allocate_arrays): Update for use of new locale_file interface.
57684         * locale/programs/ld-identification.c (identification_output): Use
57685         new locale_file interface.
57686         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57687         * locale/programs/ld-messages.c (messages_output): Likewise.
57688         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57689         * locale/programs/ld-name.c (name_output): Likewise.
57690         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57691         * locale/programs/ld-paper.c (paper_output): Likewise.
57692         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57693         * locale/programs/ld-time.c (time_output): Likewise.
57695 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57697         * benchtests/Makefile: Add memrchr benchmark.
57698         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57699         benchmark as memrchr.
57700         * benchtests/bench-memrchr-ifunc.c: New file.
57701         * benchtests/bench-memrchr.c: New file.
57703 2013-09-06   Will Newton  <will.newton@linaro.org>
57705         * benchtests/Makefile (string-bench): Add memcpy.
57707 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57708             Cong Wang  <amwang@redhat.com>
57710         [BZ #15850]
57711         * sysdeps/unix/sysv/linux/bits/in.h
57712         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57713         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57714         before __USE_KERNEL_IPV6_DEFS uses.
57715         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57716         IPPROTO_BEETPH.
57717         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57718         sockaddr_in6, or ipv6_mreq.
57720 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57722         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57723         memory access for final bytes in some large inputs.
57724         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57726 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57728         * string/test-memrchr.c: New file.
57729         * string/test-memrchr-ifunc.c: New file.
57730         * string/Makefile: Add new memrchr testcase.
57732 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57734         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57735         fanotify_init returns EPERM.
57737 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57739         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57740         errors.
57741         (top level): Treat second token from macro or constant entries for
57742         allowed headers as allowed.
57743         * include/complex.h: Condition internal declarations on
57744         [!_ISOMAC].
57745         * include/fenv.h: Condition include of <stdbool.h> and internal
57746         declarations on [!_ISOMAC].
57748 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57750         [BZ #15923]
57751         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57753 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57755         * configure.in (--enable-versioning): Remove configure option.
57756         (libc_cv_asm_symver_directive): Remove configure test.
57757         (libc_cv_ld_version_script_option): Likewise.
57758         (VERSIONING): Remove variable and AC_SUBST.
57759         (DO_VERSIONING): Remove AC_DEFINE.
57760         * configure: Regenerated.
57761         * config.h.in (DO_VERSIONING): Remove macro.
57762         * Makerules [$(versioning) = yes]: Change conditionals to
57763         [$(build-shared) = yes].
57764         * config.make.in (versioning): Remove variable.
57765         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57766         [$(build-shared) = yes].
57767         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57768         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57769         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57770         [$(build-shared) = yes].
57771         * extra-lib.mk [$(versioning) = yes]: Likewise.
57772         * hurd/Makefile [$(versioning) = yes]: Likewise.
57773         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57774         [SHARED].
57775         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57776         [SHARED].
57777         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57778         [SHARED && !NO_HIDDEN].
57779         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57780         [SHARED].
57781         [SHARED && DO_VERSIONING]: Likewise..
57782         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57783         [$(build-shared) = yes].
57784         * manual/install.texi (--disable-versioning): Remove
57785         documentation.
57786         * INSTALL: Regenerated.
57787         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57788         to [SHARED].
57789         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57790         [$(build-shared) = yes].
57791         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57792         * sysdeps/i386/i686/multiarch/strstr-c.c
57793         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57794         [SHARED && !NO_HIDDEN].
57795         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57796         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57797         * sysdeps/powerpc/powerpc32/dl-machine.c
57798         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57799         * sysdeps/powerpc/powerpc32/sysdep.h
57800         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57801         to [SHARED && PIC && !NO_HIDDEN].
57802         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57803         conditional to [SHARED].
57805 2013-09-04   Will Newton  <will.newton@linaro.org>
57807         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57808         * benchtests/bench-string.h: Include bench-timing.h instead
57809         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57810         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57811         call to HP_TIMING_DIFF_INIT.
57812         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57813         instead of hp-timing.h macros.
57814         * benchtests/bench-memchr.c: Likewise.
57815         * benchtests/bench-memcmp.c: Likewise.
57816         * benchtests/bench-memcpy.c: Likewise.
57817         * benchtests/bench-memmem.c: Likewise.
57818         * benchtests/bench-memmove.c: Likewise.
57819         * benchtests/bench-memset.c: Likewise.
57820         * benchtests/bench-rawmemchr.c: Likewise.
57821         * benchtests/bench-strcasecmp.c: Likewise.
57822         * benchtests/bench-strcasestr.c: Likewise.
57823         * benchtests/bench-strcat.c: Likewise.
57824         * benchtests/bench-strchr.c: Likewise.
57825         * benchtests/bench-strcmp.c: Likewise.
57826         * benchtests/bench-strcpy.c: Likewise.
57827         * benchtests/bench-strcpy_chk.c: Likewise.
57828         * benchtests/bench-strlen.c: Likewise.
57829         * benchtests/bench-strncasecmp.c: Likewise.
57830         * benchtests/bench-strncat.c: Likewise.
57831         * benchtests/bench-strncmp.c: Likewise.
57832         * benchtests/bench-strncpy.c: Likewise.
57833         * benchtests/bench-strnlen.c: Likewise.
57834         * benchtests/bench-strpbrk.c: Likewise.
57835         * benchtests/bench-strrchr.c: Likewise.
57836         * benchtests/bench-strspn.c: Likewise.
57837         * benchtests/bench-strstr.c: Likewise.
57839 2013-09-04  Will Newton  <will.newton@linaro.org>
57841         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57843 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57845         [BZ #15427]
57846         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57847         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57848         * math/libm-test.inc (lgamma_test_data): Add more tests.
57849         * sysdeps/i386/fpu/libm-test-ulps: Update.
57850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57852 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57854         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57855         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57856         Add ifunc.
57857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57858         Add strcmp-sse2-unaligned
57859         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57861 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57863         * Versions.def (libc): Add GLIBC_2.19.
57865 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57867         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57868         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57870 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57872         [BZ #14155]
57873         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57874         intermediate calculations in recurrence.
57875         (__ieee754_ynf): Likewise.
57876         * math/libm-test.inc (jn_test_data): Do not allow spurious
57877         underflow exception.  Add more tests.
57878         (yn_test_data): Add more tests.
57879         * sysdeps/i386/fpu/libm-test-ulps: Update.
57880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57882 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57884         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57886 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57888         * csu/init-first.c: Fix then/than typos.
57889         * locale/programs/ld-collate.c: Likewise.
57890         * locale/programs/linereader.h: Likewise.
57891         * manual/charset.texi: Likewise.
57892         * manual/filesys.texi: Likewise.
57893         * manual/stdio.texi: Likewise.
57894         * manual/string.texi: Likewise.
57895         * stdlib/fmtmsg.c: Likewise.
57896         * sysdeps/i386/stpncpy.S: Likewise.
57897         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57898         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57899         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57900         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57902 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57904         * elf/dl-open.c: Fix typos.
57905         * iconvdata/gbbig5.c: Likewise.
57906         * iconvdata/iso-2022-jp.c: Likewise.
57907         * iconv/gconv_int.h: Likewise.
57908         * iconv/loop.c: Likewise.
57909         * nis/rpcsvc/nis.h: Likewise.
57910         * resolv/ns_name.c: Likewise.
57911         * stdio-common/vfscanf.c: Likewise.
57912         * streams/stropts.h: Likewise.
57913         * sunrpc/rpc_thread.c: Likewise.
57914         * sysdeps/i386/strpbrk.S: Likewise.
57915         * sysdeps/ieee754/k_standard.c: Likewise.
57916         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57917         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57918         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57919         * sysdeps/mach/hurd/profil.c: Likewise.
57920         * sysdeps/s390/dl-procinfo.h: Likewise.
57921         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57922         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57923         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57924         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57925         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57927 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57929         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57930         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57932 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57934         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57935         aix specific files.
57936         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57937         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57938         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57939         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57940         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57941         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57942         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57943         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57945 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57946             Roland McGrath  <roland@hack.frob.com>
57948         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57949         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57951 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57953         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57954         __executable_start symbol instead of _start.
57956 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57958         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57959         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57960         Move macros to...
57961         * sysdeps/gnu/ldsodefs.h: ... this new file.
57963         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57964         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57965         instead of ELFOSABI_LINUX.
57967         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57968         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57969         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57970         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57971         Likewise.
57972         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57973         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57974         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57975         Likewise.
57976         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57977         (ibm_extended_long_double): Add ieee_nan member.
57978         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57979         (do_test): New function.
57981         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57982         TEST_TRUNC.
57983         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57984         functions, renamed from truncdfsf_test, trunctfsf_test,
57985         trunctfdf_test.
57986         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57987         functions.
57988         (do_test): Run all these.
57990 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
57992         * argp/argp-help.c: Fix typos.
57993         * argp/argp-parse.c: Likewise.
57994         * debug/backtracesyms.c: Likewise.
57995         * elf/elf.h: Likewise.
57996         * malloc/malloc.c: Likewise.
57997         * nis/nis_print.c: Likewise.
57998         * resolv/res_comp.c: Likewise.
57999         * stdlib/stdlib.h: Likewise.
58000         * sunrpc/clnt_tcp.c: Likewise.
58001         * sunrpc/clnt_udp.c: Likewise.
58002         * sunrpc/clnt_unix.c: Likewise.
58003         * sysdeps/unix/bsd/ptsname.c: Likewise.
58004         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58005         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58007         Likewise.
58008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58009         Likewise.
58010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58011         Likewise.
58012         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58014 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58016         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58019 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58021         [BZ #15897]
58022         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58023         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58024         ($(objpfx)bug-dl-leaf): New rule.
58025         ($(objpfx)bug-dl-leaf.so): Likewise.
58026         ($(objpfx)bug-dl-leaf.out): Likewise.
58027         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58028         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58029         * dlfcn/bug-dl-leaf.c: New test.
58030         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58031         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58032         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58033         (dlclose): Likewise.
58034         (dlmopen): Likewise.
58036 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58038         * include/netdb.h [!_ISOMAC]:
58039         Don't include <tls.h>.
58040         (h_errno, __libc_h_errno): Move declaration and macros out of
58041         [_LIBC_REENTRANT].
58043         * include/resolv.h [_RESOLV_H_]:
58044         Don't include <tls.h>.
58045         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58046         * resolv/res_libc.c: Don't include <tls.h>.
58047         (_res): Use __attribute__ ((nocommon)) in place of
58048         __attribute__ ((section (".bss"))).
58050         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58051         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58053         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58055         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58056         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58058         * resolv/res_mkquery.c: Include <sys/time.h>.
58060         * inet/ifreq.c: Moved to ...
58061         * sysdeps/unix/ifreq.c: ... here.
58062         * inet/ifreq.c: New file, true stub version.
58064         * socket/sa_len.c: New file.
58065         * socket/Makefile (aux): Add it.
58066         * sysdeps/unix/sysv/linux/Makefile
58067         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58068         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58069         and #include <socket/sa_len.c>.
58070         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58071         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58073         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58074         * bits/socket.h: ... here.
58076         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58077         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58078         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58080 2013-08-27  Andreas Schwab  <schwab@suse.de>
58082         [BZ #15736]
58083         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58084         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58085         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58086         * string/test-strcasecmp.c (test_main): Run tests in several
58087         locales.
58088         * string/test-strncasecmp.c (test_main): Likewise.
58090         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58091         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58092         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58093         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58094         (__strncasecmp_ssse3) [PIC]: Likewise.
58096 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58098         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58100         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58101         instead of explicitly declaring xdecrypt.
58102         * nis/nss_nis/nis-publickey.c: Likewise.
58104 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58106         [BZ #15890]
58107         * nscd/aicache.c: Include res_hconf.h.
58108         (addhstaiX): Initialize res_hconf.
58110 2013-08-26  Andreas Schwab  <schwab@suse.de>
58112         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58113         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58115 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58117         * nscd/aicache.c (addhstaiX): Fix indentation.
58119 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58121         * configure.ac: Quote $build_pt_chown test.
58122         * configure: Regenerated.
58124 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58126         [BZ #15532]
58127         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58128         * math/s_cexpf.c (__cexpf): Likewise.
58129         * math/s_cexpl.c (__cexpl): Likewise.
58130         * math/libm-test.inc (cexp_test_data): Correct expected return
58131         value for NaN + i0.  Add another test.
58133 2013-08-22  David S. Miller  <davem@davemloft.net>
58135         * po/ca.po: Update Catalan translation from translation project.
58136         * po/uk.po: Add Ukrainian translations from translation project.
58138 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58140         [BZ #15797]
58141         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58142         is infinite, not alongside NaN test.
58143         * math/s_fdimf.c (__fdimf): Likewise.
58144         * math/s_fdiml.c (__fdiml): Likewise.
58145         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58146         errno is unchanged.
58148 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58150         * argp/argp-help.c: Fix typos.
58151         * crypt/speeds.c: Likewise.
58152         * csu/check_fds.c: Likewise.
58153         * elf/dl-load.c: Likewise.
58154         * elf/dl-open.c: Likewise.
58155         * elf/reldep3.c: Likewise.
58156         * elf/reldep.c: Likewise.
58157         * elf/sprof.c: Likewise.
58158         * iconv/iconv_charmap.c: Likewise.
58159         * iconv/skeleton.c: Likewise.
58160         * iconv/strtab.c: Likewise.
58161         * io/lockf64.c: Likewise.
58162         * libio/libioP.h: Likewise.
58163         * resolv/gai_notify.c: Likewise.
58164         * resolv/ns_name.c: Likewise.
58165         * resolv/ns_samedomain.c: Likewise.
58166         * resolv/res_send.c: Likewise.
58167         * stdlib/random.c: Likewise.
58168         * sunrpc/rpc/xdr.h: Likewise.
58169         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58170         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58171         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58172         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58173         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58174         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58175         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58176         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58177         * sysdeps/mach/hurd/check_fds.c: Likewise.
58178         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58179         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58180         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58181         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58182         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58183         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58184         * sysdeps/pthread/aio_notify.c: Likewise.
58185         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58186         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58187         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58188         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58189         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58191 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58193         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58194         version if bit_Slow_SSE4_2 is set.
58195         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58196         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58198 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58200         [BZ #15867]
58201         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58202         trampoline stack frame information.
58203         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58204         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58205         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58206         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58207         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58208         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58209         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58210         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58211         sa_flags value.
58212         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58213         interrupting a syscall and set with option SA_SIGINFO.
58215 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58217         [BZ #15531]
58218         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58219         argument is infinite.
58220         * math/s_cprojf.c (__cprojf): Likewise.
58221         * math/s_cprojl.c (__cprojl): Likewise.
58222         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58223         * math/libm-test.inc (cproj_test_data): Add more tests.
58225         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58227         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58228         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58229         size.  Use __ffs to determine corresponding shift.
58231 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58232             Roland McGrath  <roland@hack.frob.com>
58234         * Makefile (INSTALL): Remove trailing blank lines from output of
58235         makeinfo.
58237 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58239         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58240         Align 32 bit compat elf_greg to 8 bytes.
58242 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58244         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58246 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58248         * string/strcoll_l.c (coll_seq): New structure.
58249         (get_next_seq_cached): New function.
58250         (get_next_seq): New function.
58251         (do_compare): New function.
58252         (STRCOLL): Use GNU style definition.  Simplify implementation
58253         by using get_next_seq, get_next_seq_cached and do_compare.
58255 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58257         [BZ #14699]
58258         CVE-2013-4237
58259         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58260         member.
58261         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58262         member.
58263         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58264         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58265         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58266         conditional.
58267         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58268         GETDENTS_64BIT_ALIGNED.
58269         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58270         * manual/filesys.texi (Reading/Closing Directory): Document
58271         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58272         strongly.
58273         * manual/conf.texi (Limits for Files): Add portability note to
58274         NAME_MAX, PATH_MAX.
58275         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58277 2013-08-13  Andreas Schwab  <schwab@suse.de>
58279         [BZ #15749]
58280         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58281         of fabs.
58282         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58283         LDBL_MAX_EXP >= 16384]: Add tests for it.
58285 2013-08-12  David S. Miller  <davem@davemloft.net>
58287         * version.h (RELEASE): Set to "development".
58288         (VERSION): Set to "2.18.90".
58289         * NEWS: Add 2.19 section.
58291 2013-08-03  David S. Miller  <davem@davemloft.net>
58293         * po/ko.po: Update Korean translation from translation project.
58295 2013-08-01  David S. Miller  <davem@davemloft.net>
58297         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58298         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58299         Bilka.
58301 2013-07-30  David S. Miller  <davem@davemloft.net>
58303         * po/fr.po: Update French translation from translation project.
58305 2013-07-28  David S. Miller  <davem@davemloft.net>
58307         * po/cs.po: Update Czech translation from translation project.
58309         * po/sv.po: Update Swedish translation from translation project.
58311 2013-07-27  David S. Miller  <davem@davemloft.net>
58313         * po/eo.po: Update Esperanto translation from translation project.
58315         * po/vi.po: Update Vietnamese translation from translation project.
58317         * po/de.po: Update German translation from translation project.
58319 2013-07-26  David S. Miller  <davem@davemloft.net>
58321         * po/bg.po: Update Bulgarian translation from translation project.
58323         * po/nl.po: Update Dutch translation from translation project.
58324         * po/pl.po: Update Polish translation from translation project.
58325         * po/ru.po: Update Russian translation from translation project.
58327 2013-07-24  David S. Miller  <davem@davemloft.net>
58329         * po/libc.pot: Update.
58331 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58333         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58334         variable page size.
58335         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58336         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58337         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58339 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58341         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58343 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58344             Andreas Schwab  <schwab@suse.de>
58345             Roland McGrath  <roland@hack.frob.com>
58346             Joseph Myers  <joseph@codesourcery.com>
58347             Carlos O'Donell  <carlos@redhat.com>
58349         [BZ #15755]
58350         * config.h.in: Define HAVE_PT_CHOWN.
58351         * config.make.in (build-pt-chown): New variable.
58352         * configure.in (--enable-pt_chown): New configure option.
58353         * configure: Regenerate.
58354         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58355         build-pt-chown is enabled.
58356         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58357         pt_chown to fix pty ownership.
58358         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58359         CLOSE_ALL_FDS.
58360         * manual/install.texi (Configuring and compiling): Mention
58361         --enable-pt_chown. Add @findex for grantpt.
58362         * INSTALL: Regenerate.
58364 2013-07-20  David S. Miller  <davem@davemloft.net>
58366         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58367         difference between 32-bit and 64-bit.
58369 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58371         [BZ #15711]
58372         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58373         Avoid system header dependency with -ffreestanding.
58374         ($(objpfx)bits/syscall%d): Likewise.
58376 2013-07-13  David S. Miller  <davem@davemloft.net>
58378         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58379         underflows from atanl/atan2l due to bug 15319.
58380         (casinh_test_data): Likewise.
58382 2013-07-07  David S. Miller  <davem@davemloft.net>
58384         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58386 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58388         * sysdeps/i386/fpu/libm-test-ulps: Update.
58389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58391 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58393         * configure.in (--enable-lock-elision): Fix message text.
58394         * INSTALL: Regenerate.
58395         * configure: Regenerate.
58397 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58401 2013-07-03  Andreas Jaeger  <aj@suse.de>
58403         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58404         define.
58405         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58406         (ptrace_peeksiginfo_args): Add.
58407         (__ptrace_peeksiginfo_flags): Add.
58408         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58409         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58410         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58412 2013-07-03  Allan McRae  <allan@archlinux.org>
58414         * sysdeps/i386/fpu/libm-test-ulps: Update.
58416 2013-07-02  David S. Miller  <davem@davemloft.net>
58418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58420 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58424 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58426         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58429 2013-07-02  Andi Kleen <ak@linux.intel.com>
58431         * config.h.in (ENABLE_LOCK_ELISION): Add.
58432         * configure.in (--enable-lock-elision): Add option.
58433         * manual/install.texi: Document --enable lock elision.
58434         * configure: Regenerate
58435         * INSTALL: Regenerate.
58437 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58439         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58440         SSE4.2 strcasecmp for libc.a.
58441         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58443 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58445         [BZ #13304]
58446         * soft-fp/op-common.h (_FP_FMA): New macro.
58447         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58448         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58449         (_FP_MUL_MEAT_1_imm): ... here.
58450         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58451         (_FP_MUL_MEAT_1_wide): ... here.
58452         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58453         (_FP_MUL_MEAT_1_hard): ... here.
58454         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58455         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58456         (_FP_MUL_MEAT_2_wide): ... here.
58457         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58458         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58459         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58460         (_FP_MUL_MEAT_2_gmp): ... here.
58461         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58462         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58463         (_FP_MUL_MEAT_4_wide): ... here.
58464         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58465         (_FP_MUL_MEAT_4_gmp): ... here.
58466         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58467         (_FP_WFRACBITS_DW_S): Likewise.
58468         (_FP_WFRACXBITS_DW_S): Likewise.
58469         (_FP_HIGHBIT_DW_S): Likewise.
58470         (FP_FMA_S): Likewise.
58471         (_FP_FRAC_HIGH_DW_S): Likewise.
58472         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58473         (_FP_WFRACBITS_DW_D): Likewise.
58474         (_FP_WFRACXBITS_DW_D): Likewise.
58475         (_FP_HIGHBIT_DW_D): Likewise.
58476         (FP_FMA_D): Likewise.
58477         (_FP_FRAC_HIGH_DW_D): Likewise.
58478         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58479         (_FP_WFRACBITS_DW_E): Likewise.
58480         (_FP_WFRACXBITS_DW_E): Likewise.
58481         (_FP_HIGHBIT_DW_E): Likewise.
58482         (FP_FMA_E): Likewise.
58483         (_FP_FRAC_HIGH_DW_E): Likewise.
58484         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58485         (_FP_WFRACBITS_DW_Q): Likewise.
58486         (_FP_WFRACXBITS_DW_Q): Likewise.
58487         (_FP_HIGHBIT_DW_Q): Likewise.
58488         (FP_FMA_Q): Likewise.
58489         (_FP_FRAC_HIGH_DW_Q): Likewise.
58490         * soft-fp/fmasf4.c: New file.
58491         * soft-fp/fmadf4.c: Likewise.
58492         * soft-fp/fmatf4.c: Likewise.
58494 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58497         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58498         Silvermont.
58499         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58500         macro.
58501         (index_Slow_SSE4_2): Likewise.
58502         (index_Prefer_PMINUB_for_stringop): Likewise.
58503         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58504         bit_Slow_SSE4_2 is set.
58505         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58506         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58508 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58510         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58511         rtld_global._dl_hwcap2.
58512         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58513         POWER8.
58514         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58515         POWER8 feature descriptions defined in _dl_hwcap2.
58516         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58517         string handling for POWER8 feature bits.
58518         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58519         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58520         _dl_powerpc_cap_flags.
58521         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58522         * sysdeps/powerpc/rtld-global-offsets.sym
58523         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58524         _dl_hwcap2 in the rtld_global_ro structure.
58526 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58528         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58529         hardware capabilities in support of AT_HWCAP2.
58530         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58531         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58532         GLRO(dl_hwcap2).
58533         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58534         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58535         explicitly the unknown a_type display mechanism is used.
58536         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58537         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58538         struct member.
58539         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58540         to macro prototype for AT_HWCAP2 support.
58541         * sysdeps/i386/dl-procinfo.h: Likewise.
58542         * sysdeps/s390/dl-procinfo.h: Likewise.
58543         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58544         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58545         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58546         return -1 for unknown a_type display fallback.
58547         * sysdeps/sparc/dl-procinfo.h: Likewise.
58548         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58549         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58551 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58553         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58554         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58556 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58558         [BZ #12492]
58559         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58560         mprotect making __stack_prot writable.
58562 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58563             Joseph Myers  <joseph@codesourcery.com>
58565         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58566         as being properly aligned.
58568 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58570         * dlfcn/modstatic5.c: New file.
58571         * dlfcn/tststatic5.c: New file.
58572         * dlfcn/Makefile (tests): Add tststatic5.
58573         (tests-static): Likewise.
58574         (modules-names): Add modstatic5.
58575         (tststatic5-ENV): New variable.
58576         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58578         [BZ #15022]
58579         * elf/dl-support.c (_dl_main_map): New variable.
58580         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58581         (_dl_nns, _dl_load_adds): Set to 1.
58582         (_dl_initial_searchlist): Refer to _dl_main_map.
58583         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58584         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58585         call to _dl_get_origin.
58586         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58587         around call_map.
58588         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58589         * dlfcn/modstatic3.c: New file.
58590         * dlfcn/tststatic3.c: New file.
58591         * dlfcn/tststatic4.c: New file.
58592         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58593         (tests-static): Likewise.
58594         (modules-names): Add modstatic3.
58595         (tststatic3-ENV, tststatic4-ENV): New variables.
58596         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58597         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58599 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58601         * configure.in (CC): Require GCC version 4.4 or later.
58602         * configure: Regenerated.
58603         * manual/install.texi (Tools for Compilation): Update GCC version
58604         requirement.
58605         * INSTALL: Regenerated.
58607 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58609         [BZ #15674]
58610         * string/test-memcmp.c (check2): New.
58611         (main): Call check2.
58613         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58615 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58617         [BZ #15022]
58618         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58619         over to...
58620         (dl_open_worker) [!SHARED]: ... here.
58622 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58624         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58626 2013-06-25  Richard Henderson  <rth@redhat.com>
58628         * locale/programs/locarchive.c: Include <libc-internal.h>
58630 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58632         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58633         trailing whitespace removed.
58635 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58637         [BZ #10283]
58638         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58639         * locale/programs/locarchive.c: Include libc-mmap.h.
58640         (prepare_address_space): Take two new outputs (the mmap base and len).
58641         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58642         values.
58643         (create_archive): Declare new mmap base and len values for
58644         prepare_address_space, and store the result in ah.
58645         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58646         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58647         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58648         Declare new mmap base and len values for
58649         prepare_address_space, and store the result in new_ah.
58650         (open_archive): Declare new mmap base and len values for
58651         prepare_address_space, and store the result in ah.
58652         (close_archive): If ah->mmap_base is not NULL, use that and
58653         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58654         * sysdeps/generic/libc-mmap.h: New file.
58656 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58658         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58659         (ALIGN_UP): Likewise.
58660         (PTR_ALIGN_DOWN): Likewise.
58661         (PTR_ALIGN_UP): Likewise.
58663 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58665         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58666         entry mapped to PPC_PLATFORM_POWER8.
58667         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58668         POWER8.
58669         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58670         (_dl_string_platform): Add case for exporting platform position for
58671         POWER8.
58672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58673         search path to sysdeps/powerpc/powerpc32/power8 directory.
58674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58675         search path to sysdeps/powerpc/powerpc64/power8 directory.
58676         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58677         power7 directories.
58678         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58679         power7 directories.
58681 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58683         * INSTALL: Regenerate.
58685         * nscd/connections.c (nscd_init): Fix comment.
58687 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58689         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58691         [BZ #15667]
58692         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58693         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58695 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58697         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58698         DL_DST_REQ_STATIC.
58699         (DL_DST_REQ_STATIC): Remove macro.
58701 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58703         [BZ #7006]
58704         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58705         with a shift of 0 bits.
58707 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58709         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58710         $(tststatic-ENV).
58712 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58714         [BZ #15655]
58715         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58717 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58719         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58720         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58721         accepts -fno-tree-loop-distribute-patterns.
58722         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58723         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58724         recursive call.
58725         * string/memset.c (memset): Likewise.
58726         * string/test-memmove.c (simple_memmove): Disable loop transformation
58727         to library calls.
58728         * string/test-memset.c (simple_memset): Likewise.
58729         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58730         * benchtests/bench-memset.c (simple_memset): Likewise.
58731         * configure: Regenerated.
58733 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58735         * math/test-misc.c (main): Ignore fesetround failure when failures
58736         of subsequent rounding tests would be ignored.
58738         [BZ #15654]
58739         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58740         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58741         * math/fegetenv.c (__fegetenv): Return 0.
58742         * math/fegetexcept.c (fegetexcept): Return 0.
58743         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58744         FE_TONEAREST.
58745         * math/feholdexcpt.c (feholdexcept): Return 0.
58746         * math/fesetenv.c (__fesetenv): Return 0.
58747         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58748         argument FE_TONEAREST.
58749         * math/feupdateenv.c (__feupdateenv): Return 0.
58750         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58752 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58754         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58755         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58756         ($(objpfx)rtld-%.os rules): Use them.
58758 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58760         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58761         fields.
58763 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58765         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58766         length of target pattern, then descending length of dependency pattern.
58767         * configure.in (AWK): Require gawk 3.1.2 or newer.
58768         * manual/install.texi (Tools for Compilation): Say that we do.
58769         * configure: Regenerated.
58771         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58772         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58773         * scripts/sysd-rules.awk: ... this new script.
58774         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58775         than a glob-style pattern.
58777 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58779         * math/test-misc.c (main): Do not treat incorrectly rounded
58780         conversions as failure unless ROUNDING_TESTS passes.
58782 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58784         [BZ #15631]
58785         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58786         restore exception state around main square root computation, then
58787         check for inexactness explicitly.
58789         * math/libm-test.inc (fma_test_data): Add another test.
58791 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58793         * manual/threads.texi (Non-POSIX Extensions): New document
58794         node.  Document pthread_getattr_default_np and
58795         pthread_setattr_default_np.
58797         * Versions.def (libpthread): Add GLIBC_2.18.
58798         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58800         Likewise.
58801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58802         Likewise.
58803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58804         Likewise.
58805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58806         Likewise.
58807         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58808         Likewise.
58809         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58810         Likewise.
58811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58812         Likewise.
58813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58814         Likewise.
58815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58816         Likewise.
58818 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58821         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58823 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58824             H.J. Lu  <hjl.tools@gmail.com>
58826         [BZ #15627]
58827         * sysdeps/x86_64/rtld-memset.c: Remove file.
58828         * sysdeps/x86_64/rtld-memset.S: New file.
58830 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58832         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58833         (test_in_one_mode): Take arguments for whether the rounding mode
58834         is supported for each floating-point type.
58835         (do_test): Pass new arguments to test_in_one_mode using
58836         ROUNDING_TESTS.
58838 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58840         * posix/tst-waitid.c (do_test): Distinguish different instances of
58841         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58842         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58843         before entering the kernel for waitpid.
58845 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58847         * NEWS: Fix note on clock function precision.  Text by Roland
58848         McGrath.
58850 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58852         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58853         it into place only when and if the sanity check passes.
58855 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58857         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58858         output for whether conversion result is exact.  Take argument
58859         indicating whether type is IBM long double.
58860         (round_for_all): Change need_exact field to ibm_ld.
58861         * stdlib/tst-strtod-round.c (struct exactness): New type.
58862         (struct test): Change bool ld_ok field to struct exactness exact.
58863         (TEST): Update all definitions for change to field.
58864         (tests): Regenerate array contents.
58865         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58866         field value.  Check for IBM long double here.
58867         (do_test): Update calls to test_in_one_mode.
58869 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58871         [BZ #12515]
58872         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58873         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58875 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58877         [BZ #15605]
58878         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58879         generated by the compiler on loop optimizations.
58880         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58881         general definitions.
58883 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58885         * math/bug-nextafter.c: Include <math-tests.h>.
58886         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58887         the relevant type.
58888         * math/bug-nexttoward.c: Include <math-tests.h>.
58889         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58890         the relevant type.
58891         * math/test-misc.c: Include <math-tests.h>.
58892         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58893         the relevant type.
58895 2013-06-12  Andreas Jaeger  <aj@suse.de>
58897         * po/ia.po: Update Interlingua translation from translation
58898         project.
58900 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58902         * include/fenv.h: Include stdbool.h.
58903         (struct rm_ctx): New structure.
58904         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58905         Define macro.
58906         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58907         (SET_RESTORE_ROUNDF): Likewise.
58908         (SET_RESTORE_ROUNDL): Likewise.
58909         (SET_RESTORE_ROUND_NOEX): Likewise.
58910         (SET_RESTORE_ROUND_NOEXF): Likewise.
58911         (SET_RESTORE_ROUND_NOEXL): Likewise.
58912         (SET_RESTORE_ROUND_53BIT): Likewise.
58913         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58914         (libc_feresetround_noexf_ctx): Likewise.
58915         (libc_feresetround_noexl_ctx): Likewise.
58916         (libc_feholdsetround_53bit_ctx): Likewise.
58917         (libc_feresetround_53bit_ctx): Likewise.
58918         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58919         (libc_feholdexcept_setround_sse_ctx): New function.
58920         (libc_fesetenv_sse_ctx): Likewise.
58921         (libc_feupdateenv_sse_ctx): Likewise.
58922         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58923         (libc_feholdexcept_setround_387_ctx): Likewise.
58924         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58925         (libc_feholdsetround_387_prec_ctx): Likewise.
58926         (libc_feholdsetround_387_ctx): Likewise.
58927         (libc_feholdsetround_387_53bit_ctx): Likewise.
58928         (libc_feholdsetround_sse_ctx): Likewise.
58929         (libc_feresetround_sse_ctx): Likewise.
58930         (libc_feresetround_387_ctx): Likewise.
58931         (libc_feupdateenv_387_ctx): Likewise.
58932         (libc_feholdexcept_setroundf_ctx): Define macro.
58933         (libc_fesetenvf_ctx): Likewise.
58934         (libc_feupdateenvf_ctx): Likewise.
58935         (libc_feholdsetroundf_ctx): Likewise.
58936         (libc_feresetroundf_ctx): Likewise.
58937         (libc_feholdexcept_setround_ctx): Likewise.
58938         (libc_fesetenv_ctx): Likewise.
58939         (libc_feupdateenv_ctx): Likewise.
58940         (libc_feholdsetround_ctx): Likewise.
58941         (libc_feresetround_ctx): Likewise.
58942         (libc_feholdexcept_setroundl_ctx): Likewise.
58943         (libc_feupdateenvl_ctx): Likewise.
58944         (libc_feholdsetroundl_ctx): Likewise.
58945         (libc_feresetroundl_ctx): Likewise.
58946         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58947         (libc_feresetround_53bit_ctx): Likewise.
58949 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58951         * locale/iso-639.def: Convert to UTF-8.
58953 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58955         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58956         (EXCEPTION_TESTS_double): Likewise.
58957         (EXCEPTION_TESTS_long_double): Likewise.
58958         (EXCEPTION_TESTS): Likewise.
58959         * math/libm-test.inc (test_exceptions): Only test exceptions if
58960         EXCEPTION_TESTS (FLOAT).
58962 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58964         * benchtests/Makefile (string-bench): Add strcpy_chk and
58965         stpcpy_chk.
58966         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58967         * benchtests/bench-stpcpy_chk.c: New file.
58968         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58969         * benchtests/bench-strcpy_chk.c: New file.
58970         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58971         code.
58972         (do_test): Likewise.
58974 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58976         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58977         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58978         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58979         with tabs where appropriate.
58980         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58981         dl-procinfo.h.
58982         [PPC_PLATFORM_PPC440]: Likewise.
58983         [PPC_PLATFORM_PPC464]: Likewise.
58984         [PPC_PLATFORM_PPC476]: Likewise.
58985         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58986         ppc464, and ppc476 platform strings merging from ports/
58987         dl-procinfo.h.
58989 2013-06-11  Andreas Schwab  <schwab@suse.de>
58991         [BZ #14991]
58992         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
58993         (from_ucs4_idx): Regenerate.
58994         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
58995         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
58996         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
58997         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
58998         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
58999         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59000         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59001         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59002         from FROM_LOOP and TO_LOOP specific macros.
59003         (BODY): Handle combining characters.
59004         * iconvdata/BIG5HKSCS.irreversible: Update.
59005         * iconvdata/BIG5HKSCS.precomposed: New file.
59006         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59007         characters.
59008         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59010 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59012         * include/sys/time.h: Fix indentation and add copyright header.
59014         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59015         (do_test): Likewise.
59016         * string/test-memchr.c (do_one_test): Likewise.
59017         (do_test): Likewise.
59018         * string/test-memcmp.c (do_one_test): Likewise.
59019         (do_test): Likewise.
59020         * string/test-memcpy.c (do_one_test): Likewise.
59021         (do_test): Likewise.
59022         * string/test-memmem.c (do_one_test): Likewise.
59023         (do_test): Likewise.
59024         (do_random_tests): Likewise.
59025         * string/test-memmove.c (do_one_test): Likewise.
59026         (do_test): Likewise.
59027         * string/test-memset.c (do_one_test): Likewise.
59028         (do_test): Likewise.
59029         * string/test-rawmemchr.c (do_one_test): Likewise.
59030         (do_test): Likewise.
59031         * string/test-strcasecmp.c (do_one_test): Likewise.
59032         (do_test): Likewise.
59033         * string/test-strcasestr.c (do_one_test): Likewise.
59034         (do_test): Likewise.
59035         * string/test-strcat.c (do_one_test): Likewise.
59036         (do_test): Likewise.
59037         * string/test-strchr.c (do_one_test): Likewise.
59038         (do_test): Likewise.
59039         * string/test-strcmp.c (do_one_test): Likewise.
59040         (do_test): Likewise.
59041         * string/test-strcpy.c (do_one_test): Likewise.
59042         (do_test): Likewise.
59043         * string/test-string.h: Likewise.
59044         (test_init): Likewise.
59045         * string/test-strlen.c (do_one_test): Likewise.
59046         (do_test): Likewise.
59047         * string/test-strncasecmp.c (do_one_test): Likewise.
59048         (do_test): Likewise.
59049         * string/test-strncat.c (do_one_test): Likewise.
59050         (do_test): Likewise.
59051         * string/test-strncmp.c (do_one_test): Likewise.
59052         (do_test_limit): Likewise.
59053         (do_test): Likewise.
59054         * string/test-strncpy.c (do_one_test): Likewise.
59055         (do_test): Likewise.
59056         * string/test-strnlen.c (do_one_test): Likewise.
59057         (do_test): Likewise.
59058         * string/test-strpbrk.c (do_one_test): Likewise.
59059         (do_test): Likewise.
59060         * string/test-strrchr.c (do_one_test): Likewise.
59061         (do_test): Likewise.
59062         * string/test-strspn.c (do_one_test): Likewise.
59063         (do_test): Likewise.
59064         * string/test-strstr.c (do_one_test): Likewise.
59065         (do_test): Likewise.
59067         * benchtests/Makefile (string-bench): Add string benchmarks.
59068         * benchtests/bench-bcopy-ifunc.c: New file.
59069         * benchtests/bench-bcopy.c: New file.
59070         * benchtests/bench-bzero-ifunc.c: New file.
59071         * benchtests/bench-bzero.c: New file.
59072         * benchtests/bench-memccpy-ifunc.c: New file.
59073         * benchtests/bench-memccpy.c: New file.
59074         * benchtests/bench-memchr-ifunc.c: New file.
59075         * benchtests/bench-memchr.c: New file.
59076         * benchtests/bench-memcmp-ifunc.c: New file.
59077         * benchtests/bench-memcmp.c: New file.
59078         * benchtests/bench-memmem-ifunc.c: New file.
59079         * benchtests/bench-memmem.c: New file.
59080         * benchtests/bench-memmove-ifunc.c: New file.
59081         * benchtests/bench-memmove.c: New file.
59082         * benchtests/bench-mempcpy-ifunc.c: New file.
59083         * benchtests/bench-mempcpy.c: New file.
59084         * benchtests/bench-memset-ifunc.c: New file.
59085         * benchtests/bench-memset.c: New file.
59086         * benchtests/bench-rawmemchr-ifunc.c: New file.
59087         * benchtests/bench-rawmemchr.c: New file.
59088         * benchtests/bench-stpcpy-ifunc.c: New file.
59089         * benchtests/bench-stpcpy.c: New file.
59090         * benchtests/bench-stpncpy-ifunc.c: New file.
59091         * benchtests/bench-stpncpy.c: New file.
59092         * benchtests/bench-strcasecmp-ifunc.c: New file.
59093         * benchtests/bench-strcasecmp.c: New file.
59094         * benchtests/bench-strcasestr-ifunc.c: New file.
59095         * benchtests/bench-strcasestr.c: New file.
59096         * benchtests/bench-strcat-ifunc.c: New file.
59097         * benchtests/bench-strcat.c: New file.
59098         * benchtests/bench-strchr-ifunc.c: New file.
59099         * benchtests/bench-strchr.c: New file.
59100         * benchtests/bench-strchrnul-ifunc.c: New file.
59101         * benchtests/bench-strchrnul.c: New file.
59102         * benchtests/bench-strcmp-ifunc.c: New file.
59103         * benchtests/bench-strcmp.c: New file.
59104         * benchtests/bench-strcpy-ifunc.c: New file.
59105         * benchtests/bench-strcpy.c: New file.
59106         * benchtests/bench-strcspn-ifunc.c: New file.
59107         * benchtests/bench-strcspn.c: New file.
59108         * benchtests/bench-strlen-ifunc.c: New file.
59109         * benchtests/bench-strlen.c: New file.
59110         * benchtests/bench-strncasecmp-ifunc.c: New file.
59111         * benchtests/bench-strncasecmp.c: New file.
59112         * benchtests/bench-strncat-ifunc.c: New file.
59113         * benchtests/bench-strncat.c: New file.
59114         * benchtests/bench-strncmp-ifunc.c: New file.
59115         * benchtests/bench-strncmp.c: New file.
59116         * benchtests/bench-strncpy-ifunc.c: New file.
59117         * benchtests/bench-strncpy.c: New file.
59118         * benchtests/bench-strnlen-ifunc.c: New file.
59119         * benchtests/bench-strnlen.c: New file.
59120         * benchtests/bench-strpbrk-ifunc.c: New file.
59121         * benchtests/bench-strpbrk.c: New file.
59122         * benchtests/bench-strrchr-ifunc.c: New file.
59123         * benchtests/bench-strrchr.c: New file.
59124         * benchtests/bench-strspn-ifunc.c: New file.
59125         * benchtests/bench-strspn.c: New file.
59126         * benchtests/bench-strstr-ifunc.c: New file.
59127         * benchtests/bench-strstr.c: New file.
59129         * benchtests/Makefile: Disable parallel execution of targets.
59130         (string-bench): Add memcpy.
59131         (benchset): New variable to store a list of benchmark sets.
59132         (bench-func): Renamed from bench.
59133         (bench-set): New target.
59134         (bench): Depend on bench-func and bench-set.
59135         * benchtests/README: Add section on benchmark sets.
59136         * benchtests/bench-memcpy-ifunc.c: New file.
59137         * benchtests/bench-memcpy.c: New file.
59138         * benchtests/bench-string.h: New file.
59140 2013-06-11  Andreas Schwab  <schwab@suse.de>
59142         [BZ #15577]
59143         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59144         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59145         values in the triple.
59146         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59147         terminator in the group key.
59149 2013-06-11  Andreas Jaeger  <aj@suse.de>
59151         * po/zh_TW.po: Update Chinese (traditional) translation from
59152         translation project.
59154 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59156         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59157         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59158         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59159         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59160         (clock_getcpuclockid): Likewise.
59161         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59162         Add weak_alias and libc_hidden_def.
59163         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59164         * rt/clock_gettime.c (clock_gettime): Rename to
59165         __clock_gettime.  Add weak_alias and libc_hidden_def.
59166         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59167         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59168         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59169         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59170         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59171         Likewise.
59172         * rt/clock_settime.c (clock_settime): Rename to
59173         __clock_settime.  Add weak_alias and libc_hidden_def.
59174         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59176 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59178         * mach/err_boot.sub: Remove trailing whitespace.
59179         * mach/err_ipc.sub: Likewise.
59180         * mach/err_mach.sub: Likewise.
59182         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59183         (ROUNDING_TESTS_double): Likewise.
59184         (ROUNDING_TESTS_long_double): Likewise.
59185         (ROUNDING_TESTS): Likewise.
59186         * math/libm-test.inc: Include <math-tests.h>.
59187         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59188         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59189         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59190         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59192 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59194         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59195         of assigning.
59197 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59199         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59200         otherwise empty TRANS lines.
59201         * sysdeps/gnu/errlist.c: Regenerated.
59203         * catgets/gencat.c (error_print): Use (void) in function
59204         definition.
59205         * crypt/crypt_util.c (__init_des): Likewise.
59206         * crypt/speeds.c (Stop): Likewise.
59207         (main): Likewise.
59208         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59209         * inet/ruserpass.c (token): Likewise.
59210         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59211         * intl/localealias.c (extend_alias_table): Likewise.
59212         * intl/plural-exp.c (init_germanic_plural): Likewise.
59213         * libio/fcloseall.c (__fcloseall): Likewise.
59214         * libio/genops.c (_IO_flush_all): Likewise.
59215         (_IO_flush_all_linebuffered): Likewise.
59216         (_IO_cleanup): Likewise.
59217         (_IO_iter_begin): Likewise.
59218         (_IO_iter_end): Likewise.
59219         (_IO_list_lock): Likewise.
59220         (_IO_list_unlock): Likewise.
59221         (_IO_list_resetlock): Likewise.
59222         * libio/getchar.c (getchar): Likewise.
59223         * libio/getchar_u.c (getchar_unlocked): Likewise.
59224         * libio/getwchar.c (getwchar): Likewise.
59225         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59226         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59227         * login/getpt.c (__getpt): Likewise.
59228         * login/tst-utmp.c (main): Likewise.
59229         * malloc/hooks.c (__malloc_check_init): Likewise.
59230         * malloc/malloc.c (__malloc_stats): Likewise.
59231         * malloc/mtrace.c (tr_break): Likewise.
59232         (mtrace): Likewise.
59233         (muntrace): Likewise.
59234         * misc/fstab.c (endfsent): Likewise.
59235         * misc/getclktck.c (__getclktck): Likewise.
59236         * misc/getdtsz.c (__getdtablesize): Likewise.
59237         * misc/gethostid.c (gethostid): Likewise.
59238         * misc/getpagesize.c (__getpagesize): Likewise.
59239         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59240         (__get_nprocs): Likewise.
59241         (__get_phys_pages): Likewise.
59242         (__get_avphys_pages): Likewise.
59243         * misc/getttyent.c (getttyent): Likewise.
59244         (setttyent): Likewise.
59245         (endttyent): Likewise.
59246         * misc/getusershell.c (getusershell): Likewise.
59247         (endusershell): Likewise.
59248         (setusershell): Likewise.
59249         (initshells): Likewise.
59250         * misc/hsearch.c (__hdestroy): Likewise.
59251         * misc/sync.c (sync): Likewise.
59252         * misc/syslog.c (closelog_internal): Likewise.
59253         (closelog): Likewise.
59254         * misc/ttyslot.c (ttyslot): Likewise.
59255         * misc/vhangup.c (vhangup): Likewise.
59256         * posix/fork.c (__fork): Likewise.
59257         * posix/getegid.c (__getegid): Likewise.
59258         * posix/geteuid.c (__geteuid): Likewise.
59259         * posix/getgid.c (__getgid): Likewise.
59260         * posix/getpid.c (__getpid): Likewise.
59261         * posix/getppid.c (__getppid): Likewise.
59262         * posix/getuid.c (__getuid): Likewise.
59263         * posix/pause.c (pause): Likewise.
59264         * posix/setpgrp.c (setpgrp): Likewise.
59265         * posix/setsid.c (__setsid): Likewise.
59266         * posix/test-vfork.c (noop): Likewise.
59267         * resolv/gethnamaddr.c (_endhtent): Likewise.
59268         (_gethtent): Likewise.
59269         (ht_endhostent): Likewise.
59270         (gethostent): Likewise.
59271         (dns_service): Likewise.
59272         * stdlib/drand48.c (drand48): Likewise.
59273         * stdlib/lrand48.c (lrand48): Likewise.
59274         * stdlib/mrand48.c (mrand48): Likewise.
59275         * stdlib/rand.c (rand): Likewise.
59276         * stdlib/random.c (__random): Likewise.
59277         * stdlib/setenv.c (clearenv): Likewise.
59278         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59279         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59280         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59281         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59282         (__get_nprocs): Likewise.
59283         (__get_phys_pages): Likewise.
59284         (__get_avphys_pages): Likewise.
59285         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59286         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59287         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59288         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59289         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59290         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59291         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59292         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59293         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59294         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59295         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59296         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59297         * sysdeps/posix/clock.c (clock): Likewise.
59298         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59299         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59300         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59301         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59302         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59303         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59304         (__get_nprocs_conf): Likewise.
59305         (__get_phys_pages): Likewise.
59306         (__get_avphys_pages): Likewise.
59307         * time/clock.c (clock): Likewise.
59308         * time/tzset.c (__tzname_max): Likewise.
59310 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59312         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59313         (__bswap_32): Do not use "register".
59314         * crypt/crypt.c (_ufc_doit_r): Likewise.
59315         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59316         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59317         * gmon/gmon.c (__monstartup): Likewise.
59318         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59319         * hurd/hurdmalloc.c (more_memory): Likewise.
59320         (malloc): Likewise.
59321         (free): Likewise.
59322         (realloc): Likewise.
59323         (malloc_fork_prepare): Likewise.
59324         (malloc_fork_parent): Likewise.
59325         (malloc_fork_child): Likewise.
59326         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59327         (_svcauth_des): Likewise.
59328         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59329         * inet/inet_net.c (inet_network): Likewise.
59330         * inet/inet_netof.c (inet_netof): Likewise.
59331         * inet/rcmd.c (__validuser2_sa): Likewise.
59332         * io/fts.c (fts_open): Likewise.
59333         (fts_load): Likewise.
59334         (fts_close): Likewise.
59335         (fts_read): Likewise.
59336         (fts_children): Likewise.
59337         (fts_build): Likewise.
59338         (fts_stat): Likewise.
59339         (fts_sort): Likewise.
59340         (fts_alloc): Likewise.
59341         (fts_lfree): Likewise.
59342         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59343         (_IO_file_xsgetn): Likewise.
59344         (_IO_file_xsgetn_mmap): Likewise.
59345         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59346         (_IO_cookie_write): Likewise.
59347         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59348         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59349         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59350         * malloc/obstack.c (_obstack_begin): Likewise.
59351         (_obstack_begin_1): Likewise.
59352         (_obstack_newchunk): Likewise.
59353         (_obstack_allocated_p): Likewise.
59354         (obstack_free): Likewise.
59355         (_obstack_memory_used): Likewise.
59356         * misc/getttyent.c (getttynam): Likewise.
59357         (getttyent): Likewise.
59358         (skip): Likewise.
59359         (value): Likewise.
59360         * misc/getusershell.c (initshells): Likewise.
59361         * misc/syslog.c (__vsyslog_chk): Likewise.
59362         * misc/ttyslot.c (ttyslot): Likewise.
59363         * nis/nis_hash.c (__nis_hash): Likewise.
59364         * posix/fnmatch_loop.c (FCT): Likewise.
59365         * posix/getconf.c (print_all): Likewise.
59366         (main): Likewise.
59367         * posix/getopt.c (exchange): Likewise.
59368         * posix/glob.c (globfree): Likewise.
59369         (prefix_array): Likewise.
59370         (__glob_pattern_type): Likewise.
59371         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59372         (NS_GET32): Likewise.
59373         (NS_PUT16): Likewise.
59374         (NS_PUT32): Likewise.
59375         * resolv/gethnamaddr.c (getanswer): Likewise.
59376         (gethostbyname2): Likewise.
59377         (gethostbyaddr): Likewise.
59378         (_gethtent): Likewise.
59379         (_gethtbyname2): Likewise.
59380         (_gethtbyaddr): Likewise.
59381         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59382         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59383         * resolv/res_init.c (__res_vinit): Likewise.
59384         (net_mask): Likewise.
59385         * resolv/res_mkquery.c (outchar): Likewise.
59386         (PRINT): Likewise.
59387         * stdio-common/printf_fp.c (outchar): Likewise.
59388         (PRINT): Likewise.
59389         * stdio-common/printf_fphex.c (outchar): Likewise.
59390         (PRINT): Likewise.
59391         * stdio-common/printf_size.c (outchar): Likewise.
59392         (PRINT): Likewise.
59393         * stdio-common/test_rdwr.c (main): Likewise.
59394         * stdio-common/tfformat.c (matches): Likewise.
59395         * stdio-common/vfprintf.c (outchar): Likewise.
59396         (printf_unknown): Likewise.
59397         (buffered_vfprintf): Likewise.
59398         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59399         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59400         (ReadFile): Likewise.
59401         * stdlib/qsort.c (SWAP): Likewise.
59402         (_quicksort): Likewise.
59403         * stdlib/setenv.c (__add_to_environ): Likewise.
59404         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59405         * stdlib/strtol_l.c (__strtol_l): Likewise.
59406         * stdlib/tst-strtod.c (main): Likewise.
59407         * stdlib/tst-strtol.c (main): Likewise.
59408         * stdlib/tst-strtoll.c (main): Likewise.
59409         * string/bits/string2.h (__strcmp_cc): Likewise.
59410         (__strcmp_cg): Likewise.
59411         (__strcspn_c1): Likewise.
59412         (__strcspn_c2): Likewise.
59413         (__strcspn_c3): Likewise.
59414         (__strspn_c1): Likewise.
59415         (__strspn_c2): Likewise.
59416         (__strspn_c3): Likewise.
59417         (__strsep_1c): Likewise.
59418         (__strsep_2c): Likewise.
59419         (__strsep_3c): Likewise.
59420         * string/memccpy.c (__memccpy): Likewise.
59421         * string/stpcpy.c (__stpcpy): Likewise.
59422         * string/strcmp.c (strcmp): Likewise.
59423         * string/strrchr.c (strrchr): Likewise.
59424         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59425         Likewise.
59426         * sysdeps/mach/hurd/getcwd.c
59427         (_hurd_canonicalize_directory_name_internal): Likewise.
59428         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59429         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59430         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59431         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59432         Likewise, in both definitions.
59433         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59434         definitions.
59435         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59436         64] (__bswap_64): Likewise.
59437         * time/test_time.c (main): Likewise.
59438         * time/tzfile.c (__tzfile_read): Likewise.
59439         (__tzfile_compute): Likewise.
59440         * time/tzset.c (__tzset_parse_tz): Likewise.
59441         (tzset_internal): Likewise.
59442         (compute_change): Likewise.
59443         * wcsmbs/wcscat.c (__wcscat): Likewise.
59444         * wcsmbs/wcschr.c (wcschr): Likewise.
59445         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59446         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59447         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59448         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59449         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59450         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59451         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59452         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59453         * wcsmbs/wmemset.c (wmemset): Likewise.
59455 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59457         * scripts/config.guess: Update to version 2013-05-16.
59458         * scripts/config.sub: Update to version 2013-04-24.
59459         * scripts/install-sh: Update to version 2011-11-20.07.
59460         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59461         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59463 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59465         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59466         * elf/sln.c: Likewise.
59467         * hurd/hurd/ioctl.h: Likewise.
59468         * hurd/hurdmalloc.c: Likewise.
59469         * hurd/xattr.c: Likewise.
59470         * include/shlib-compat.h: Likewise.
59471         * inet/ruserpass.c: Likewise.
59472         * libio/iofgets_u.c: Likewise.
59473         * libio/iofgetws_u.c: Likewise.
59474         * locale/programs/ld-identification.c: Likewise.
59475         * locale/programs/ld-time.c: Likewise.
59476         * mach/msg-destroy.c: Likewise.
59477         * nss/nss_files/files-netgrp.c: Likewise.
59478         * resolv/res_data.c: Likewise.
59479         * soft-fp/op-1.h: Likewise.
59480         * soft-fp/op-2.h: Likewise.
59481         * soft-fp/op-4.h: Likewise.
59482         * soft-fp/op-common.h: Likewise.
59483         * stdio-common/printf_fphex.c: Likewise.
59484         * stdlib/strtod_l.c: Likewise.
59485         * sunrpc/rpc/clnt.h: Likewise.
59486         * sysdeps/generic/framestate.c: Likewise.
59487         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59488         * sysdeps/i386/bsd-setjmp.S: Likewise.
59489         * sysdeps/i386/__longjmp.S: Likewise.
59490         * sysdeps/i386/setjmp.S: Likewise.
59491         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59492         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59493         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59494         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59495         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59496         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59497         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59498         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59499         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59500         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59501         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59502         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59503         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59504         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59505         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59506         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59507         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59508         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59509         * sysdeps/ieee754/support.c: Likewise.
59510         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59511         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59512         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59513         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59514         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59515         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59516         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59517         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59518         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59519         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59520         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59521         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59522         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59523         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59524         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59525         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59526         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59529 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59531         * posix/transbug.c: Remove executable mode.
59533 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59535         * crypt/speeds.c: Remove trailing whitespace.
59536         * dlfcn/default.c: Likewise.
59537         * elf/ifuncdep2.c: Likewise.
59538         * elf/ifuncmain1.c: Likewise.
59539         * elf/ifuncmain1vis.c: Likewise.
59540         * elf/testobj.h: Likewise.
59541         * elf/tst-stackguard1.c: Likewise.
59542         * gmon/sys/gmon.h: Likewise.
59543         * hurd/hurdmsg.c: Likewise.
59544         * hurd/new-fd.c: Likewise.
59545         * hurd/ports-get.c: Likewise.
59546         * iconvdata/ibm1008_420.c: Likewise.
59547         * inet/tst-getni1.c: Likewise.
59548         * inet/tst-getni2.c: Likewise.
59549         * libio/ioungetc.c: Likewise.
59550         * libio/wfiledoalloc.c: Likewise.
59551         * manual/libm-err-tab.pl: Likewise.
59552         * math/w_dremf.c: Likewise.
59553         * misc/ftruncate.c: Likewise.
59554         * posix/bug-glob2.c: Likewise.
59555         * posix/tst-pcre.c: Likewise.
59556         * posix/wait4.c: Likewise.
59557         * resolv/README: Likewise.
59558         * resolv/res_debug.h: Likewise.
59559         * resolv/tst-inet_ntop.c: Likewise.
59560         * setjmp/bug269-setjmp.c: Likewise.
59561         * soft-fp/extended.h: Likewise.
59562         * soft-fp/op-1.h: Likewise.
59563         * soft-fp/op-2.h: Likewise.
59564         * soft-fp/op-4.h: Likewise.
59565         * soft-fp/op-8.h: Likewise.
59566         * soft-fp/testit.c: Likewise.
59567         * stdio-common/bug16.c: Likewise.
59568         * stdlib/random.c: Likewise.
59569         * sunrpc/rpcsvc/rquota.x: Likewise.
59570         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59571         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59572         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59573         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59574         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59575         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59576         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59577         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59578         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59579         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59580         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59581         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59582         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59583         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59584         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59585         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59586         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59587         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59588         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59589         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59590         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59591         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59592         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59593         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59594         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59595         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59596         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59597         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59598         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59599         * sysdeps/ieee754/s_lib_version.c: Likewise.
59600         * sysdeps/mach/hurd/check_fds.c: Likewise.
59601         * sysdeps/mach/hurd/getsockname.c: Likewise.
59602         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59603         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59604         * sysdeps/powerpc/bits/link.h: Likewise.
59605         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59606         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59607         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59608         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59609         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59610         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59611         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59612         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59613         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59614         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59615         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59616         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59617         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59618         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59619         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59620         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59621         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59622         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59623         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59624         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59625         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59626         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59627         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59628         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59629         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59630         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59631         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59632         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59633         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59634         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59635         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59636         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59637         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59638         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59639         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59640         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59641         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59642         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59643         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59644         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59645         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59646         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59647         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59648         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59649         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59650         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59651         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59652         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59653         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59654         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59655         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59656         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59657         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59658         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59659         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59660         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59661         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59662         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59663         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59664         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59665         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59666         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59667         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59668         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59669         * sysdeps/powerpc/sysdep.h: Likewise.
59670         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59671         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59672         * sysdeps/sh/dl-trampoline.S: Likewise.
59673         * sysdeps/sh/memset.S: Likewise.
59674         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59675         * sysdeps/sh/strlen.S: Likewise.
59676         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59677         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59678         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59679         * sysdeps/sparc/sparc32/rem.S: Likewise.
59680         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59681         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59682         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59683         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59684         * sysdeps/sparc/sparc32/urem.S: Likewise.
59685         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59686         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59687         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59688         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59689         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59690         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59691         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59692         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59693         * sysdeps/unix/bsd/times.c: Likewise.
59694         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59695         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59699         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59700         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59701         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59702         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59703         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59704         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59705         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59706         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59707         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59708         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59709         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59710         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59711         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59712         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59713         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59714         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59715         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59716         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59717         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59718         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59719         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59720         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59721         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59722         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59723         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59724         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59725         * sysdeps/x86_64/strcspn.S: Likewise.
59727 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59729         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59730         generated file.  Regenerate properly from gen-translit.pl.
59731         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59732         locale/C-translit.h.
59734 2013-06-05  Andreas Schwab  <schwab@suse.de>
59736         [BZ #15100]
59737         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59738         week as 6 instead of -1.
59739         * time/tst-strptime.c (day_tests): Add test case.
59741 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59743         * sysdeps/generic/math_private.h
59744         (libc_feholdexcept_setround_53bit): Replace with
59745         libc_feholdsetround_53bit.
59746         (libc_feupdateenv_53bit): Replace with
59747         libc_feresetround_53bit.
59748         (SET_RESTORE_ROUND_53BIT): Adjust.
59750 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59752         * string/test-strchrnul.c: Add copyright header.
59754         * posix/tst-getaddrinfo4.c: Increase test timeout.
59756 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59758         [BZ #15536]
59759         * math/libm-test.inc (MAX_EXP): Remove
59760         (MIN_EXP): Define.
59761         (ulp): Use MIN_EXP - MANT_DIG.
59762         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59764 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59766         * po/be.po: Revert last change.
59767         * po/zh_CN.po: Likewise.
59768         * po/header.pot: Likewise.
59770 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59772         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59773         link-libc-deps to empty as target-specific variable.
59774         * Makerules (link-libc-args): New variable.
59775         (libc-for-link): Likewise.
59776         (link-libc-deps): Likewise.
59777         (lib%.so): Depend on $(link-libc-deps).  Link with
59778         $(link-libc-args).
59779         (build-module): Link with $(link-libc-args).
59780         (build-module-asneeded): Likewise.
59781         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59782         list of objects.
59783         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59784         target-specific variable.
59785         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59786         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59787         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59788         libc.
59789         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59790         libc and ld.so.
59791         ($(objpfx)libpcprofile.so): Likewise.
59792         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59793         libc_nonshared.a.
59794         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59795         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59796         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59797         $(link-libc-deps).
59798         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59799         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59800         * login/Makefile ($(objpfx)libutil.so): Likewise.
59801         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59802         * math/Makefile ($(objpfx)libm.so): Likewise.
59803         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59804         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59805         variable instead of depending directly on libc.
59806         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59807         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59808         $(link-libc-deps).
59809         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59810         libc.
59811         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59812         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59813         ($(objpfx)libanl.so): Likewise.
59814         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59815         ld.so.
59816         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59817         $(link-libc-deps).
59818         * sysdeps/i386/fpu/Makefile: Remove file.
59819         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59820         ($(objpfx)libm.so): Remove dependency on ld.so.
59822 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59824         [BZ # 15553]
59825         * nis/yp_xdr.c (XDRMAXNAME): Define.
59826         (XDRMAXRECORD): Define.
59827         (xdr_domainname): Use XDRMAXNAME.
59828         (xdr_mapname): Likewise.
59829         (xdr_peername): Likewise.
59830         (xdr_keydat): Use XDRMAXRECORD.
59831         (xdr_valdat): Likewise.
59833 2013-05-30  Jeff Law  <law@redhat.com>
59835         [BZ #14256]
59836         * manual/errno.texi (ESTALE): Update to account for more than
59837         just NFS file systems.
59838         * sysdeps/gnu/errlist.c: Regenerated.
59840 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59842         [BZ #15465]
59843         * elf/Makefile (tests): Add tst-null-argv.
59844         (modules-names):  Add tst-null-argv-lib.
59845         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59846         (tst-null-argv-ENV): Set environment for tst-null-argv.
59847         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59848         (RTLD_PROGNAME): New macro.
59849         * elf/tst-null-argv.c: New test case.
59850         * elf/tst-null-argv-lib.c: Library for test case.
59851         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59852         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59853         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59854         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59855         * elf/dl-init.c (call_init): Likewise.
59856         (_dl_init): Likewise.
59857         * elf/dl-load.c (print_search_path): Likewise.
59858         (_dl_map_object): Likewise.
59859         * elf/dl-lookup.c (do_lookup_x): Likewise.
59860         (add_dependency): Likewise.
59861         (_dl_lookup_symbol_x): Likewise.
59862         (_dl_debug_bindings): Likewise.
59863         * elf/dl-open.c (_dl_show_scope): Likewise.
59864         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59865         * elf/dl-version.c (match_symbol): Likewise.
59866         (_dl_check_map_versions): Likewise.
59867         * elf/rtld.c (dl_main): Likewise.
59868         (print_unresolved): Use RTLD_PROGNAME.
59869         (print_missing_version): Likewise.
59870         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59871         (elf_machine_rela): Likewise.
59872         * sysdeps/powerpc/powerpc32/dl-machine.c
59873         (__process_machine_rela): Likewise.
59874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59875         Likewise.
59876         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59877         Likewise.
59878         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59879         Likewise.
59880         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59881         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59882         Likewise.
59883         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59884         Likewise.
59885         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59887 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59889         * po/be.po: Add descriptive title.
59890         * po/zh_CN.po: Likewise.
59891         * po/header.pot: Likewise.
59893 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59895         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59896         error message.
59897         (enlarge_archive): Likewise.
59899 2013-05-28  Ben North  <ben@redfrontdoor.org>
59901         * manual/arith.texi (frexp): It is the magnitude of the return
59902         value which lies in [0.5, 1), not the return value itself.
59904 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59908 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59910         * stdio-common/bug26.c (main): Correct fscanf template.
59912         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59913         declare _dl_skip_args.
59915         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59916         Don't declare.
59918         * manual/platform.texi: Add missing @end deftypefun.
59920 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59922         [BZ #15529]
59923         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59924         bit of mantissa of 2^16382.
59925         * math/libm-test.inc (hypot_test_data): Add more tests.
59927         * math/libm-test.inc: Add drem and pow10 to list of tested
59928         functions.
59929         (pow10_test): New function.
59930         (drem_test): Likewise.
59931         (drem_test_tonearest): Likewise.
59932         (drem_test_towardzero): Likewise.
59933         (drem_test_downward): Likewise.
59934         (drem_test_upward): Likewise.
59935         (main): Call the new functions.
59937         * math/libm-test.inc (finite_test_data): Remove.
59938         (finite_test): Run tests from isfinite_test_data.
59939         (gamma_test_data): Remove.
59940         (gamma_test): Run tests from lgamma_test_data.
59941         * sysdeps/i386/fpu/libm-test-ulps: Update.
59942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59944 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59946         * manual/platform.texi: Add PowerPC PPR function set documentation.
59947         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59948         implementation.
59950 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59952         * math/libm-test.inc (MAX_EXP): Define.
59953         (ULPDIFF): Define.
59954         (ulp): New function.
59955         (check_float_internal): Use ULPDIFF.
59956         (cpow_test): Disable failing test.
59957         (check_ulp): Test ulp() implementation.
59958         (main): Call check_ulp before starting tests.
59960 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59962         * math/gen-libm-test.pl (generate_testfile): Do not handle
59963         START_DATA and END_DATA.
59964         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59965         END_DATA.
59966         (acos_tonearest_test_data): Likewise.
59967         (acos_towardzero_test_data): Likewise.
59968         (acos_downward_test_data): Likewise.
59969         (acos_upward_test_data): Likewise.
59970         (acosh_test_data): Likewise.
59971         (asin_test_data): Likewise.
59972         (asin_tonearest_test_data): Likewise.
59973         (asin_towardzero_test_data): Likewise.
59974         (asin_downward_test_data): Likewise.
59975         (asin_upward_test_data): Likewise.
59976         (asinh_test_data): Likewise.
59977         (atan_test_data): Likewise.
59978         (atanh_test_data): Likewise.
59979         (atan2_test_data): Likewise.
59980         (cabs_test_data): Likewise.
59981         (cacos_test_data): Likewise.
59982         (cacosh_test_data): Likewise.
59983         (carg_test_data): Likewise.
59984         (casin_test_data): Likewise.
59985         (casinh_test_data): Likewise.
59986         (catan_test_data): Likewise.
59987         (catanh_test_data): Likewise.
59988         (cbrt_test_data): Likewise.
59989         (ccos_test_data): Likewise.
59990         (ccosh_test_data): Likewise.
59991         (ceil_test_data): Likewise.
59992         (cexp_test_data): Likewise.
59993         (cimag_test_data): Likewise.
59994         (clog_test_data): Likewise.
59995         (clog10_test_data): Likewise.
59996         (conj_test_data): Likewise.
59997         (copysign_test_data): Likewise.
59998         (cos_test_data): Likewise.
59999         (cos_tonearest_test_data): Likewise.
60000         (cos_towardzero_test_data): Likewise.
60001         (cos_downward_test_data): Likewise.
60002         (cos_upward_test_data): Likewise.
60003         (cosh_test_data): Likewise.
60004         (cosh_tonearest_test_data): Likewise.
60005         (cosh_towardzero_test_data): Likewise.
60006         (cosh_downward_test_data): Likewise.
60007         (cosh_upward_test_data): Likewise.
60008         (cpow_test_data): Likewise.
60009         (cproj_test_data): Likewise.
60010         (creal_test_data): Likewise.
60011         (csin_test_data): Likewise.
60012         (csinh_test_data): Likewise.
60013         (csqrt_test_data): Likewise.
60014         (ctan_test_data): Likewise.
60015         (ctan_tonearest_test_data): Likewise.
60016         (ctan_towardzero_test_data): Likewise.
60017         (ctan_downward_test_data): Likewise.
60018         (ctan_upward_test_data): Likewise.
60019         (ctanh_test_data): Likewise.
60020         (ctanh_tonearest_test_data): Likewise.
60021         (ctanh_towardzero_test_data): Likewise.
60022         (ctanh_downward_test_data): Likewise.
60023         (ctanh_upward_test_data): Likewise.
60024         (erf_test_data): Likewise.
60025         (erfc_test_data): Likewise.
60026         (exp_test_data): Likewise.
60027         (exp_tonearest_test_data): Likewise.
60028         (exp_towardzero_test_data): Likewise.
60029         (exp_downward_test_data): Likewise.
60030         (exp_upward_test_data): Likewise.
60031         (exp10_test_data): Likewise.
60032         (exp2_test_data): Likewise.
60033         (expm1_test_data): Likewise.
60034         (fabs_test_data): Likewise.
60035         (fdim_test_data): Likewise.
60036         (finite_test_data): Likewise.
60037         (floor_test_data): Likewise.
60038         (fma_test_data): Likewise.
60039         (fma_towardzero_test_data): Likewise.
60040         (fma_downward_test_data): Likewise.
60041         (fma_upward_test_data): Likewise.
60042         (fmax_test_data): Likewise.
60043         (fmin_test_data): Likewise.
60044         (fmod_test_data): Likewise.
60045         (fpclassify_test_data): Likewise.
60046         (frexp_test_data): Likewise.
60047         (gamma_test_data): Likewise.
60048         (hypot_test_data): Likewise.
60049         (ilogb_test_data): Likewise.
60050         (isfinite_test_data): Likewise.
60051         (isgreater_test_data): Likewise.
60052         (isgreaterequal_test_data): Likewise.
60053         (isinf_test_data): Likewise.
60054         (isless_test_data): Likewise.
60055         (islessequal_test_data): Likewise.
60056         (islessgreater_test_data): Likewise.
60057         (isnan_test_data): Likewise.
60058         (isnormal_test_data): Likewise.
60059         (issignaling_test_data): Likewise.
60060         (isunordered_test_data): Likewise.
60061         (j0_test_data): Likewise.
60062         (j1_test_data): Likewise.
60063         (jn_test_data): Likewise.
60064         (ldexp_test_data): Likewise.
60065         (lgamma_test_data): Likewise.
60066         (lrint_test_data): Likewise.
60067         (lrint_tonearest_test_data): Likewise.
60068         (lrint_towardzero_test_data): Likewise.
60069         (lrint_downward_test_data): Likewise.
60070         (lrint_upward_test_data): Likewise.
60071         (llrint_test_data): Likewise.
60072         (llrint_tonearest_test_data): Likewise.
60073         (llrint_towardzero_test_data): Likewise.
60074         (llrint_downward_test_data): Likewise.
60075         (llrint_upward_test_data): Likewise.
60076         (log_test_data): Likewise.
60077         (log10_test_data): Likewise.
60078         (log1p_test_data): Likewise.
60079         (log2_test_data): Likewise.
60080         (logb_test_data): Likewise.
60081         (logb_downward_test_data): Likewise.
60082         (lround_test_data): Likewise.
60083         (llround_test_data): Likewise.
60084         (modf_test_data): Likewise.
60085         (nearbyint_test_data): Likewise.
60086         (nextafter_test_data): Likewise.
60087         (nexttoward_test_data): Likewise.
60088         (pow_test_data): Likewise.
60089         (pow_tonearest_test_data): Likewise.
60090         (pow_towardzero_test_data): Likewise.
60091         (pow_downward_test_data): Likewise.
60092         (pow_upward_test_data): Likewise.
60093         (remainder_test_data): Likewise.
60094         (remainder_tonearest_test_data): Likewise.
60095         (remainder_towardzero_test_data): Likewise.
60096         (remainder_downward_test_data): Likewise.
60097         (remainder_upward_test_data): Likewise.
60098         (remquo_test_data): Likewise.
60099         (rint_test_data): Likewise.
60100         (rint_tonearest_test_data): Likewise.
60101         (rint_towardzero_test_data): Likewise.
60102         (rint_downward_test_data): Likewise.
60103         (rint_upward_test_data): Likewise.
60104         (round_test_data): Likewise.
60105         (scalb_test_data): Likewise.
60106         (scalbn_test_data): Likewise.
60107         (scalbln_test_data): Likewise.
60108         (signbit_test_data): Likewise.
60109         (sin_test_data): Likewise.
60110         (sin_tonearest_test_data): Likewise.
60111         (sin_towardzero_test_data): Likewise.
60112         (sin_downward_test_data): Likewise.
60113         (sin_upward_test_data): Likewise.
60114         (sincos_test_data): Likewise.
60115         (sinh_test_data): Likewise.
60116         (sinh_tonearest_test_data): Likewise.
60117         (sinh_towardzero_test_data): Likewise.
60118         (sinh_downward_test_data): Likewise.
60119         (sinh_upward_test_data): Likewise.
60120         (sqrt_test_data): Likewise.
60121         (tan_test_data): Likewise.
60122         (tan_tonearest_test_data): Likewise.
60123         (tan_towardzero_test_data): Likewise.
60124         (tan_downward_test_data): Likewise.
60125         (tan_upward_test_data): Likewise.
60126         (tanh_test_data): Likewise.
60127         (tgamma_test_data): Likewise.
60128         (trunc_test_data): Likewise.
60129         (y0_test_data): Likewise.
60130         (y1_test_data): Likewise.
60131         (yn_test_data): Likewise.
60132         (significand_test_data): Likewise.
60134         * math/gen-libm-test.pl (@functions): Remove variable.
60135         (generate_testfile): Don't handle START and END lines.
60136         * math/libm-test.inc (START): New macro.
60137         (END): Likewise.
60138         (END_COMPLEX): Likewise.
60139         (acos_test): Use END macro without arguments.
60140         (acos_test_tonearest): Likewise.
60141         (acos_test_towardzero): Likewise.
60142         (acos_test_downward): Likewise.
60143         (acos_test_upward): Likewise.
60144         (acosh_test): Likewise.
60145         (asin_test): Likewise.
60146         (asin_test_tonearest): Likewise.
60147         (asin_test_towardzero): Likewise.
60148         (asin_test_downward): Likewise.
60149         (asin_test_upward): Likewise.
60150         (asinh_test): Likewise.
60151         (atan_test): Likewise.
60152         (atanh_test): Likewise.
60153         (atan2_test): Likewise.
60154         (cabs_test): Likewise.
60155         (cacos_test): Use END_COMPLEX macro without arguments.
60156         (cacosh_test): Likewise.
60157         (carg_test): Use END macro without arguments.
60158         (casin_test): Use END_COMPLEX macro without arguments.
60159         (casinh_test): Likewise.
60160         (catan_test): Likewise.
60161         (catanh_test): Likewise.
60162         (cbrt_test): Use END macro without arguments.
60163         (ccos_test): Use END_COMPLEX macro without arguments.
60164         (ccosh_test): Likewise.
60165         (ceil_test): Use END macro without arguments.
60166         (cexp_test): Use END_COMPLEX macro without arguments.
60167         (cimag_test): Use END macro without arguments.
60168         (clog_test): Use END_COMPLEX macro without arguments.
60169         (clog10_test): Likewise.
60170         (conj_test): Likewise.
60171         (copysign_test): Use END macro without arguments.
60172         (cos_test): Likewise.
60173         (cos_test_tonearest): Likewise.
60174         (cos_test_towardzero): Likewise.
60175         (cos_test_downward): Likewise.
60176         (cos_test_upward): Likewise.
60177         (cosh_test): Likewise.
60178         (cosh_test_tonearest): Likewise.
60179         (cosh_test_towardzero): Likewise.
60180         (cosh_test_downward): Likewise.
60181         (cosh_test_upward): Likewise.
60182         (cpow_test): Use END_COMPLEX macro without arguments.
60183         (cproj_test): Likewise.
60184         (creal_test): Use END macro without arguments.
60185         (csin_test): Use END_COMPLEX macro without arguments.
60186         (csinh_test): Likewise.
60187         (csqrt_test): Likewise.
60188         (ctan_test): Likewise.
60189         (ctan_test_tonearest): Likewise.
60190         (ctan_test_towardzero): Likewise.
60191         (ctan_test_downward): Likewise.
60192         (ctan_test_upward): Likewise.
60193         (ctanh_test): Likewise.
60194         (ctanh_test_tonearest): Likewise.
60195         (ctanh_test_towardzero): Likewise.
60196         (ctanh_test_downward): Likewise.
60197         (ctanh_test_upward): Likewise.
60198         (erf_test): Use END macro without arguments.
60199         (erfc_test): Likewise.
60200         (exp_test): Likewise.
60201         (exp_test_tonearest): Likewise.
60202         (exp_test_towardzero): Likewise.
60203         (exp_test_downward): Likewise.
60204         (exp_test_upward): Likewise.
60205         (exp10_test): Likewise.
60206         (exp2_test): Likewise.
60207         (expm1_test): Likewise.
60208         (fabs_test): Likewise.
60209         (fdim_test): Likewise.
60210         (finite_test): Likewise.
60211         (floor_test): Likewise.
60212         (fma_test): Likewise.
60213         (fma_test_towardzero): Likewise.
60214         (fma_test_downward): Likewise.
60215         (fma_test_upward): Likewise.
60216         (fmax_test): Likewise.
60217         (fmin_test): Likewise.
60218         (fmod_test): Likewise.
60219         (fpclassify_test): Likewise.
60220         (frexp_test): Likewise.
60221         (gamma_test): Likewise.
60222         (hypot_test): Likewise.
60223         (ilogb_test): Likewise.
60224         (isfinite_test): Likewise.
60225         (isgreater_test): Likewise.
60226         (isgreaterequal_test): Likewise.
60227         (isinf_test): Likewise.
60228         (isless_test): Likewise.
60229         (islessequal_test): Likewise.
60230         (islessgreater_test): Likewise.
60231         (isnan_test): Likewise.
60232         (isnormal_test): Likewise.
60233         (issignaling_test): Likewise.
60234         (isunordered_test): Likewise.
60235         (j0_test): Likewise.
60236         (j1_test): Likewise.
60237         (jn_test): Likewise.
60238         (ldexp_test): Likewise.
60239         (lgamma_test): Likewise.
60240         (lrint_test): Likewise.
60241         (lrint_test_tonearest): Likewise.
60242         (lrint_test_towardzero): Likewise.
60243         (lrint_test_downward): Likewise.
60244         (lrint_test_upward): Likewise.
60245         (llrint_test): Likewise.
60246         (llrint_test_tonearest): Likewise.
60247         (llrint_test_towardzero): Likewise.
60248         (llrint_test_downward): Likewise.
60249         (llrint_test_upward): Likewise.
60250         (log_test): Likewise.
60251         (log10_test): Likewise.
60252         (log1p_test): Likewise.
60253         (log2_test): Likewise.
60254         (logb_test): Likewise.
60255         (logb_test_downward): Likewise.
60256         (lround_test): Likewise.
60257         (llround_test): Likewise.
60258         (modf_test): Likewise.
60259         (nearbyint_test): Likewise.
60260         (nextafter_test): Likewise.
60261         (nexttoward_test): Likewise.
60262         (pow_test): Likewise.
60263         (pow_test_tonearest): Likewise.
60264         (pow_test_towardzero): Likewise.
60265         (pow_test_downward): Likewise.
60266         (pow_test_upward): Likewise.
60267         (remainder_test): Likewise.
60268         (remainder_test_tonearest): Likewise.
60269         (remainder_test_towardzero): Likewise.
60270         (remainder_test_downward): Likewise.
60271         (remainder_test_upward): Likewise.
60272         (remquo_test): Likewise.
60273         (rint_test): Likewise.
60274         (rint_test_tonearest): Likewise.
60275         (rint_test_towardzero): Likewise.
60276         (rint_test_downward): Likewise.
60277         (rint_test_upward): Likewise.
60278         (round_test): Likewise.
60279         (scalb_test): Likewise.
60280         (scalbn_test): Likewise.
60281         (scalbln_test): Likewise.
60282         (signbit_test): Likewise.
60283         (sin_test): Likewise.
60284         (sin_test_tonearest): Likewise.
60285         (sin_test_towardzero): Likewise.
60286         (sin_test_downward): Likewise.
60287         (sin_test_upward): Likewise.
60288         (sincos_test): Likewise.
60289         (sinh_test): Likewise.
60290         (sinh_test_tonearest): Likewise.
60291         (sinh_test_towardzero): Likewise.
60292         (sinh_test_downward): Likewise.
60293         (sinh_test_upward): Likewise.
60294         (sqrt_test): Likewise.
60295         (tan_test): Likewise.
60296         (tan_test_tonearest): Likewise.
60297         (tan_test_towardzero): Likewise.
60298         (tan_test_downward): Likewise.
60299         (tan_test_upward): Likewise.
60300         (tanh_test): Likewise.
60301         (tgamma_test): Likewise.
60302         (trunc_test): Likewise.
60303         (y0_test): Likewise.
60304         (y1_test): Likewise.
60305         (yn_test): Likewise.
60306         (significand_test): Likewise.
60308 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60310         [BZ #15381]
60311         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60313 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60315         [BZ #14894]
60316         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60317         __ppc_mdoio and __ppc_mdoom.
60318         * manual/platform.texi: Document new functions __ppc_yield,
60319         __ppc_mdoio and __ppc_mdoom.
60321 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60323         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60324         (main): Mention "tls" pseudo-hwcap is legacy.
60325         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60327 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60329         * math/gen-libm-test.pl (parse_args): Output only string of
60330         arguments as text for test name, not full call or descriptions of
60331         tests for extra outputs.
60332         (generate_testfile): Do not pass function name to parse_args.
60333         Generate this_func variable from START.
60334         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60335         field to arg_str.
60336         (struct test_ff_f_data): Likewise.
60337         (test_ff_f_data_nexttoward): Likewise.
60338         (struct test_fi_f_data): Likewise.
60339         (struct test_fl_f_data): Likewise.
60340         (struct test_if_f_data): Likewise.
60341         (struct test_fff_f_data): Likewise.
60342         (struct test_c_f_data): Likewise.
60343         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60344         (struct test_fF_f1_data): Likewise.
60345         (struct test_ffI_f1_data): Likewise.
60346         (struct test_c_c_data): Rename test_name field to arg_str.
60347         (struct test_cc_c_data): Likewise.
60348         (struct test_f_i_data): Likewise.
60349         (struct test_ff_i_data): Likewise.
60350         (struct test_f_l_data): Likewise.
60351         (struct test_f_L_data): Likewise.
60352         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60353         and extra2_name.
60354         (COMMON_TEST_SETUP): New macro.
60355         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60356         (COMMON_TEST_CLEANUP): Likewise.
60357         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60358         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60359         macros.
60360         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60361         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60362         macros.
60363         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60364         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60365         cleanup macros.
60366         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60367         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60368         macros.
60369         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60370         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60371         macros.
60372         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60373         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60374         cleanup macros.
60375         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60376         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60377         cleanup macros.
60378         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60379         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60380         cleanup macros.
60381         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60382         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60383         macros.
60384         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60385         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60386         macros.
60387         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60388         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60389         macros.
60390         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60391         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60392         cleanup macros.
60393         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60394         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60395         cleanup macros.
60396         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60397         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60398         macros.
60399         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60400         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60401         cleanup macros.
60402         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60403         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60404         macros.
60405         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60406         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60407         macros.
60408         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60409         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60410         cleanup macros.
60411         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60413 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60415         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60416         to _sifields.sigfault.
60417         (si_addr_lsb): Define new macro.
60418         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60419         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60420         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60422 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60424         [BZ #15441]
60425         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60426         returns -1.
60427         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60428         null return -1.
60429         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60430         loading the domain.
60432 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60434         * math/gen-libm-test.pl (parse_args): Do not include expected
60435         result in test name.
60436         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60437         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60438         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60439         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60440         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60443 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60445         * benchtests/Makefile: Sort function entries.
60447         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60448         tanh, asinh, acosh, atanh.
60449         * benchtests/acos-inputs: New file.
60450         * benchtests/acosh-inputs: New file.
60451         * benchtests/asin-inputs: New file.
60452         * benchtests/asinh-inputs: New file.
60453         * benchtests/atanh-inputs: New file.
60454         * benchtests/cosh-inputs: New file.
60455         * benchtests/log-inputs: New file.
60456         * benchtests/sinh-inputs: New file.
60457         * benchtests/tanh-inputs: New file.
60459 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60461         [BZ #15339]
60462         * posix/tst-getaddrinfo4.c: New test.
60463         * posix/Makefile (tests): Add it.
60465 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60467         [BZ #15339]
60468         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60469         when no services were used.
60470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60471         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60473 2013-05-21  Andreas Schwab  <schwab@suse.de>
60475         [BZ #15014]
60476         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60477         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60478         successful.
60479         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60480         redundant variable declarations and reallocation of buffer when
60481         parsing as IPv6 address.  Always set NSS status when called from
60482         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60483         buffer too small.  Correct computation of needed size.
60484         * nss/Makefile (tests): Add test-digits-dots.
60485         * nss/test-digits-dots.c: New test.
60487 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60489         * benchtests/Makefile: Remove instructions for adding
60490         benchmark tests.
60491         * benchtests/README: New file to explain how to execute and
60492         enhance the benchmark tests.
60494 2013-05-21  Andreas Schwab  <schwab@suse.de>
60496         [BZ #15493]
60497         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60498         * setjmp/tst-sigsetjmp.c: New test.
60500 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60502         * sysdeps/x86_64/memset.S (memset): New implementation.
60503         (__bzero): Likewise.
60504         (__memset_tail): New function.
60506 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60508         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60509         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60510         __memcpy_sse2_unaligned ifunc selection.
60511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60512         Add memcpy-sse2-unaligned.S.
60513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60514         Add: __memcpy_sse2_unaligned.
60516 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60518         [BZ #15490]
60519         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60520         math_force_eval before restoring floating-point envrionment.
60521         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60522         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60523         Likewise.
60524         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60525         <math_private.h>.
60526         (__nearbyintl): Use math_force_eval before restoring
60527         floating-point environment.
60528         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60530         * math/gen-libm-test.pl (special_functions): Remove.
60531         (parse_args): Don't handle TEST_extra.  Handle functions with no
60532         return value.
60533         * math/libm-test.inc (struct test_sincos_data): Replace with
60534         struct test_fFF_11_data.
60535         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60536         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60537         (sincos_test_data): Change element type to struct
60538         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60539         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60540         RUN_TEST_LOOP_sincos.
60541         * math/README.libm-test: Don't mention special handling of
60542         individual functions.
60543         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60544         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60545         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60546         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60547         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60550         * math/gen-libm-test.pl (get_variable): Remove function.
60551         (parse_args): Don't show pointer parameters to call in test
60552         names.  Use "extra output N" in test names for extra outputs
60553         rather than naming variables.
60555 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60557         [BZ #15488]
60558         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60559         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60560         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60561         double tests.
60562         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60563         disable.
60564         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60565         check_long_double.
60567         * math/gen-libm-test.pl (@tests): Remove variable.
60568         ($count): Likewise.
60569         (new_test): Remove function.
60570         (show_exceptions): New function.
60571         (special_functions): Use show_exceptions instead of new_test.
60572         (parse_args): Likewise.
60573         (generate_testfile): Pass only function name in generated call to
60574         print_max_error or print_complex_max_error.
60575         (get_ulps): Do not handle complex tests specially.
60576         (output_test): Rename to ...
60577         (get_all_ulps_for_test): ... this.  Return a string rather than
60578         printing to a file.  Require ulps to be present.
60579         (output_ulps): Generate arrays rather than #defines.
60580         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60581         (struct ulp_data): New type.
60582         (BUILD_COMPLEX_ULP): Remove macro.
60583         (compare_ulp_data): New function.
60584         (find_ulps): Likewise.
60585         (find_test_ulps): Likewise.
60586         (find_function_ulps): Likewise.
60587         (find_complex_function_ulps): Likewise.
60588         (print_max_error): Determine allowed ulps using
60589         find_function_ulps.
60590         (print_complex_max_error): Determine allowed ulps using
60591         find_complex_function_ulps.
60592         (check_float_internal): Determine max ulps using find_test_ulps.
60593         (check_float): Do not take max_ulp parameter.  Update call to
60594         check_float_internal.
60595         (check_complex): Likewise.
60596         (check_int): Do not take max_ulp parameter.
60597         (check_long): Likewise.
60598         (check_bool): Likewise.
60599         (check_longlong): Likewise.
60600         (struct test_f_f_data): Remove max_ulp field.
60601         (struct test_ff_f_data): Likewise.
60602         (struct test_ff_f_data_nexttoward): Likewise.
60603         (struct test_fi_f_data): Likewise.
60604         (struct test_fl_f_data): Likewise.
60605         (struct test_if_f_data): Likewise.
60606         (struct test_fff_f_data): Likewise.
60607         (struct test_c_f_data): Likewise.
60608         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60609         (struct test_fF_f1_data): Likewise.
60610         (struct test_ffI_f1_data): Likewise.
60611         (struct test_c_c_data): Remove max_ulp field.
60612         (struct test_cc_c_data): Likewise.
60613         (struct test_f_i_data): Likewise.
60614         (struct test_ff_i_data): Likewise.
60615         (struct test_f_l_data): Likewise.
60616         (struct test_f_L_data): Likewise.
60617         (struct test_sincos_data): Likewise.
60618         (RUN_TEST_f_f): Do not handle ulps.
60619         (RUN_TEST_LOOP_f_f): Likewise.
60620         (RUN_TEST_2_f): Likewise.
60621         (RUN_TEST_LOOP_2_f): Likewise.
60622         (RUN_TEST_fff_f): Likewise.
60623         (RUN_TEST_LOOP_fff_f): Likewise.
60624         (RUN_TEST_c_f): Likewise.
60625         (RUN_TEST_LOOP_c_f): Likewise.
60626         (RUN_TEST_f_f1): Likewise.
60627         (RUN_TEST_LOOP_f_f1): Likewise.
60628         (RUN_TEST_fF_f1): Likewise.
60629         (RUN_TEST_LOOP_fF_f1): Likewise.
60630         (RUN_TEST_fI_f1): Likewise.
60631         (RUN_TEST_LOOP_fI_f1): Likewise.
60632         (RUN_TEST_ffI_f1): Likewise.
60633         (RUN_TEST_LOOP_ffI_f1): Likewise.
60634         (RUN_TEST_c_c): Likewise.
60635         (RUN_TEST_LOOP_c_c): Likewise.
60636         (RUN_TEST_cc_c): Likewise.
60637         (RUN_TEST_LOOP_cc_c): Likewise.
60638         (RUN_TEST_f_i): Likewise.
60639         (RUN_TEST_LOOP_f_i): Likewise.
60640         (RUN_TEST_f_i_tg): Likewise.
60641         (RUN_TEST_LOOP_f_i_tg): Likewise.
60642         (RUN_TEST_ff_i_tg): Likewise.
60643         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60644         (RUN_TEST_f_b): Likewise.
60645         (RUN_TEST_LOOP_f_b): Likewise.
60646         (RUN_TEST_f_b_tg): Likewise.
60647         (RUN_TEST_LOOP_f_b_tg): Likewise.
60648         (RUN_TEST_f_l): Likewise.
60649         (RUN_TEST_LOOP_f_l): Likewise.
60650         (RUN_TEST_f_L): Likewise.
60651         (RUN_TEST_LOOP_f_L): Likewise.
60652         (RUN_TEST_sincos): Likewise.
60653         (RUN_TEST_LOOP_sincos): Likewise.
60655 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60657         [BZ #15480]
60658         [BZ #15485]
60659         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60660         main case of finite arguments, set rounding mode to FE_TONEAREST
60661         and discard exceptions.
60662         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60663         exceptions.
60664         (remainder_tonearest_test_data): New variable.
60665         (remainder_test_tonearest): New function.
60666         (remainder_towardzero_test_data): New variable.
60667         (remainder_test_towardzero): New function.
60668         (remainder_downward_test_data): New variable.
60669         (remainder_test_downward): New function.
60670         (remainder_upward_test_data): New variable.
60671         (remainder_test_upward): New function.
60672         (main): Call the new test functions.
60674         * math/libm-test.inc (struct test_f_f1_data): Remove field
60675         extra_init.
60676         (struct test_fF_f1_data): Likewise.
60677         (struct test_ffI_f1_data): Likewise.
60678         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60679         based on value of EXTRA_EXPECTED.
60680         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60681         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60682         EXTRA_VAR based on value of EXTRA_EXPECTED.
60683         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60684         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60685         EXTRA_VAR based on value of EXTRA_EXPECTED.
60686         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60687         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60688         EXTRA_VAR based on value of EXTRA_EXPECTED.
60689         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60690         * math/gen-libm-test.pl (parse_args): Don't output initializers
60691         for extra output values.
60693         * math/libm-test.inc (check_int): Expect result to be exactly
60694         equal to expected value and do not handle ulps.
60695         (check_long): Likewise.
60696         (check_longlong): Likewise.
60698         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60699         exceptions.
60700         (cimag_test_data): Likewise.
60701         (conj_test_data): Likewise.
60702         (copysign_test_data): Likewise.
60703         (cproj_test_data): Likewise.
60704         (creal_test_data): Likewise.
60705         (fabs_test_data): Likewise.
60706         (fdim_test_data): Likewise.
60707         (finite_test_data): Likewise.
60708         (floor_test_data): Likewise.
60709         (fmax_test_data): Likewise.
60710         (fmin_test_data): Likewise.
60711         (fmod_test_data): Likewise.
60712         (fpclassify_test_data): Likewise.
60713         (frexp_test_data): Likewise.
60714         (ilogb_test_data): Likewise.
60715         (isfinite_test_data): Likewise.
60716         (isgreater_test_data): Likewise.
60717         (isgreaterequal_test_data): Likewise.
60718         (isinf_test_data): Likewise.
60719         (isless_test_data): Likewise.
60720         (islessequal_test_data): Likewise.
60721         (islessgreater_test_data): Likewise.
60722         (isnan_test_data): Likewise.
60723         (isnormal_test_data): Likewise.
60724         (issignaling_test_data): Likewise.
60725         (isunordered_test_data): Likewise.
60726         (ldexp_test_data): Likewise.
60727         (lrint_test_data): Likewise.
60728         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60729         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60730         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60731         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60732         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60733         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60734         test input.
60735         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60736         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60737         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60738         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60739         that test input.
60740         (lrint_downward_test_data): Test for "inexact" exceptions.
60741         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60742         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60743         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60744         test input.
60745         (lrint_upward_test_data): Test for "inexact" exceptions.
60746         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60747         test input.
60748         (llrint_test_data): Test for "inexact" exceptions.
60749         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60750         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60751         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60752         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60753         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60754         (llrint_downward_test_data): Test for "inexact" exceptions.
60755         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60756         (llrint_upward_test_data): Test for "inexact" exceptions.
60757         (logb_test_data): Likewise.
60758         (logb_downward_test_data): Likewise.
60759         (nextafter_test_data): Likewise.
60760         (nexttoward_test_data): Likewise.
60761         (remainder_test_data): Likewise.
60762         (remquo_test_data): Likewise.
60763         (scalbn_test_data): Likewise.
60764         (scalbln_test_data): Likewise.
60765         (signbit_test_data): Likewise.
60766         (sqrt_test_data): Likewise.
60767         (significand_test_data): Likewise.
60769 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60771         [BZ #15424]
60772         * benchtests/bench-modf.c (struct args): Mark arg0 as
60773         volatile.
60774         * scripts/bench.pl: Mark members of struct args as volatile.
60776 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60778         [BZ # 15497]
60779         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60780         negative infinity on POWER6 or lower.
60781         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60783 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60785         [BZ #15442]
60786         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60787         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60788         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60789         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60790         (_FP_SETQNAN): New macro.
60791         (_FP_SETQNAN_SEMIRAW): Likewise.
60792         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60793         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60794         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60795         (FP_EXTEND): Use _FP_FRAC_SNANP.
60796         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60797         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60798         into account.
60799         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60800         New macro.
60801         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60802         Likewise.
60804 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60806         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60807         with DIVIDE_BY_ZERO_EXCEPTION.
60808         (gamma_test_data): Likewise.
60809         (lgamma_test_data): Likewise.
60810         (log_test_data): Likewise.
60811         (log10_test_data): Likewise.
60812         (log2_test_data): Likewise.
60813         (tgamma_test_data): Likewise.
60815         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60816         (acos_test_tonearest): Likewise.
60817         (acos_test_towardzero): Likewise.
60818         (acos_test_downward): Likewise.
60819         (acos_test_upward): Likewise.
60820         (acosh_test): Likewise.
60821         (asin_test): Likewise.
60822         (asin_test_tonearest): Likewise.
60823         (asin_test_towardzero): Likewise.
60824         (asin_test_downward): Likewise.
60825         (asin_test_upward): Likewise.
60826         (asinh_test): Likewise.
60827         (atan_test): Likewise.
60828         (atanh_test): Likewise.
60829         (atan2_test): Likewise.
60830         (cabs_test): Likewise.
60831         (cacos_test): Likewise.
60832         (cacosh_test): Likewise.
60833         (casin_test): Likewise.
60834         (casinh_test): Likewise.
60835         (catan_test): Likewise.
60836         (catanh_test): Likewise.
60837         (cbrt_test): Likewise.
60838         (ccos_test): Likewise.
60839         (ccosh_test): Likewise.
60840         (cexp_test): Likewise.
60841         (clog_test): Likewise.
60842         (clog10_test): Likewise.
60843         (cos_test): Likewise.
60844         (cos_test_tonearest): Likewise.
60845         (cos_test_towardzero): Likewise.
60846         (cos_test_downward): Likewise.
60847         (cos_test_upward): Likewise.
60848         (cosh_test): Likewise.
60849         (cosh_test_tonearest): Likewise.
60850         (cosh_test_towardzero): Likewise.
60851         (cosh_test_downward): Likewise.
60852         (cosh_test_upward): Likewise.
60853         (cpow_test): Likewise.
60854         (csin_test): Likewise.
60855         (csinh_test): Likewise.
60856         (csqrt_test): Likewise.
60857         (ctan_test): Likewise.
60858         (ctan_test_tonearest): Likewise.
60859         (ctan_test_towardzero): Likewise.
60860         (ctan_test_downward): Likewise.
60861         (ctan_test_upward): Likewise.
60862         (ctanh_test): Likewise.
60863         (ctanh_test_tonearest): Likewise.
60864         (ctanh_test_towardzero): Likewise.
60865         (ctanh_test_downward): Likewise.
60866         (ctanh_test_upward): Likewise.
60867         (erf_test): Likewise.
60868         (erfc_test): Likewise.
60869         (exp_test): Likewise.
60870         (exp_test_tonearest): Likewise.
60871         (exp_test_towardzero): Likewise.
60872         (exp_test_downward): Likewise.
60873         (exp_test_upward): Likewise.
60874         (exp10_test): Likewise.
60875         (exp2_test): Likewise.
60876         (expm1_test): Likewise.
60877         (fmod_test): Likewise.
60878         (gamma_test): Likewise.
60879         (hypot_test): Likewise.
60880         (j0_test): Likewise.
60881         (j1_test): Likewise.
60882         (jn_test): Likewise.
60883         (lgamma_test): Likewise.
60884         (log_test): Likewise.
60885         (log10_test): Likewise.
60886         (log1p_test): Likewise.
60887         (log2_test): Likewise.
60888         (logb_test_downward): Likewise.
60889         (pow_test): Likewise.
60890         (pow_test_tonearest): Likewise.
60891         (pow_test_towardzero): Likewise.
60892         (pow_test_downward): Likewise.
60893         (pow_test_upward): Likewise.
60894         (remainder_test): Likewise.
60895         (remquo_test): Likewise.
60896         (sin_test): Likewise.
60897         (sin_test_tonearest): Likewise.
60898         (sin_test_towardzero): Likewise.
60899         (sin_test_downward): Likewise.
60900         (sin_test_upward): Likewise.
60901         (sincos_test): Likewise.
60902         (sinh_test): Likewise.
60903         (sinh_test_tonearest): Likewise.
60904         (sinh_test_towardzero): Likewise.
60905         (sinh_test_downward): Likewise.
60906         (sinh_test_upward): Likewise.
60907         (sqrt_test): Likewise.
60908         (tan_test): Likewise.
60909         (tan_test_tonearest): Likewise.
60910         (tan_test_towardzero): Likewise.
60911         (tan_test_downward): Likewise.
60912         (tan_test_upward): Likewise.
60913         (tanh_test): Likewise.
60914         (tgamma_test): Likewise.
60915         (y0_test): Likewise.
60916         (y1_test): Likewise.
60917         (yn_test): Likewise.
60919         * math/gen-libm-test.pl (adjust_arg): Remove function.
60920         (special_function): Remove argument $in_func.  Only handle
60921         generating output for tables of tests, not inside functions.
60922         (parse_args): Likewise.
60923         (generate_testfile): Remove variable $in_func.  Update call to
60924         parse_args.
60925         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60926         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60927         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60928         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60929         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60930         (MAX_VALUE_INIT): Rename macro to max_value.
60931         (MIN_VALUE_INIT): Rename macro to min_value.
60932         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60933         (plus_zero): Remove variable.
60934         (minus_zero): Likewise.
60935         (plus_infty): Likewise.
60936         (minus_infty): Likewise.
60937         (qnan_value): Likewise.
60938         (max_value): Likewise.
60939         (min_value): Likewise.
60940         (min_subnorm_value): Likewise.
60942 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60944         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60945         uint64_t or uint32_t usage.
60946         * crypt/sha256-block.c: Likewise.
60947         * crypt/sha256-crypt.c: Likewise.
60948         * crypt/sha256.c: Likewise.
60949         * crypt/sha512-block.c: Likewise.
60950         * crypt/sha512-crypt.c: Likewise.
60951         * crypt/sha512.c: Likewise.
60952         * debug/backtrace-tst.c: Likewise.
60953         * debug/pcprofiledump.c: Likewise.
60954         * elf/cache.c: Likewise.
60955         * elf/dl-cache.c: Likewise.
60956         * elf/dl-misc.c: Likewise.
60957         * elf/dl-profile.c: Likewise.
60958         * elf/dl-support.c: Likewise.
60959         * elf/ldconfig.c: Likewise.
60960         * elf/sprof.c: Likewise.
60961         * iconv/dummy-repertoire.c: Likewise.
60962         * iconv/iconv_charmap.c: Likewise.
60963         * iconv/skeleton.c: Likewise.
60964         * iconvdata/8bit-generic.c: Likewise.
60965         * iconvdata/cp737.h: Likewise.
60966         * iconvdata/cp775.h: Likewise.
60967         * iconvdata/ibm1008.h: Likewise.
60968         * iconvdata/ibm1025.h: Likewise.
60969         * iconvdata/ibm1046.h: Likewise.
60970         * iconvdata/ibm1097.h: Likewise.
60971         * iconvdata/ibm1112.h: Likewise.
60972         * iconvdata/ibm1122.h: Likewise.
60973         * iconvdata/ibm1123.h: Likewise.
60974         * iconvdata/ibm1124.h: Likewise.
60975         * iconvdata/ibm1129.h: Likewise.
60976         * iconvdata/ibm1130.h: Likewise.
60977         * iconvdata/ibm1132.h: Likewise.
60978         * iconvdata/ibm1133.h: Likewise.
60979         * iconvdata/ibm1137.h: Likewise.
60980         * iconvdata/ibm1140.h: Likewise.
60981         * iconvdata/ibm1141.h: Likewise.
60982         * iconvdata/ibm1142.h: Likewise.
60983         * iconvdata/ibm1143.h: Likewise.
60984         * iconvdata/ibm1144.h: Likewise.
60985         * iconvdata/ibm1145.h: Likewise.
60986         * iconvdata/ibm1146.h: Likewise.
60987         * iconvdata/ibm1147.h: Likewise.
60988         * iconvdata/ibm1148.h: Likewise.
60989         * iconvdata/ibm1149.h: Likewise.
60990         * iconvdata/ibm1153.h: Likewise.
60991         * iconvdata/ibm1154.h: Likewise.
60992         * iconvdata/ibm1155.h: Likewise.
60993         * iconvdata/ibm1156.h: Likewise.
60994         * iconvdata/ibm1157.h: Likewise.
60995         * iconvdata/ibm1158.h: Likewise.
60996         * iconvdata/ibm1160.h: Likewise.
60997         * iconvdata/ibm1161.h: Likewise.
60998         * iconvdata/ibm1162.h: Likewise.
60999         * iconvdata/ibm1163.h: Likewise.
61000         * iconvdata/ibm1164.h: Likewise.
61001         * iconvdata/ibm1166.h: Likewise.
61002         * iconvdata/ibm1167.h: Likewise.
61003         * iconvdata/ibm12712.h: Likewise.
61004         * iconvdata/ibm1390.h: Likewise.
61005         * iconvdata/ibm1399.h: Likewise.
61006         * iconvdata/ibm16804.h: Likewise.
61007         * iconvdata/ibm4517.h: Likewise.
61008         * iconvdata/ibm4899.h: Likewise.
61009         * iconvdata/ibm4909.h: Likewise.
61010         * iconvdata/ibm4971.h: Likewise.
61011         * iconvdata/ibm5347.h: Likewise.
61012         * iconvdata/ibm803.h: Likewise.
61013         * iconvdata/ibm856.h: Likewise.
61014         * iconvdata/ibm901.h: Likewise.
61015         * iconvdata/ibm902.h: Likewise.
61016         * iconvdata/ibm9030.h: Likewise.
61017         * iconvdata/ibm9066.h: Likewise.
61018         * iconvdata/ibm921.h: Likewise.
61019         * iconvdata/ibm922.h: Likewise.
61020         * iconvdata/ibm9448.h: Likewise.
61021         * iconvdata/isiri-3342.h: Likewise.
61022         * iconvdata/jis0201.h: Likewise.
61023         * include/link.h: Likewise.
61024         * include/netdb.h: Likewise.
61025         * inet/check_native.c: Likewise.
61026         * inet/check_pf.c: Likewise.
61027         * inet/getipv4sourcefilter.c: Likewise.
61028         * inet/getnameinfo.c: Likewise.
61029         * inet/getsourcefilter.c: Likewise.
61030         * inet/htonl.c: Likewise.
61031         * inet/setipv4sourcefilter.c: Likewise.
61032         * inet/setsourcefilter.c: Likewise.
61033         * inet/test-inet6_opt.c: Likewise.
61034         * inet/tst-network.c: Likewise.
61035         * locale/C-collate.c: Likewise.
61036         * locale/C-ctype.c: Likewise.
61037         * locale/C-time.c: Likewise.
61038         * locale/C-translit.h: Likewise.
61039         * locale/loadarchive.c: Likewise.
61040         * locale/programs/3level.h: Likewise.
61041         * locale/programs/charmap.c: Likewise.
61042         * locale/programs/charmap.h: Likewise.
61043         * locale/programs/ld-address.c: Likewise.
61044         * locale/programs/ld-collate.c: Likewise.
61045         * locale/programs/ld-ctype.c: Likewise.
61046         * locale/programs/ld-identification.c: Likewise.
61047         * locale/programs/ld-measurement.c: Likewise.
61048         * locale/programs/ld-messages.c: Likewise.
61049         * locale/programs/ld-monetary.c: Likewise.
61050         * locale/programs/ld-name.c: Likewise.
61051         * locale/programs/ld-numeric.c: Likewise.
61052         * locale/programs/ld-paper.c: Likewise.
61053         * locale/programs/ld-telephone.c: Likewise.
61054         * locale/programs/ld-time.c: Likewise.
61055         * locale/programs/linereader.c: Likewise.
61056         * locale/programs/locale.c: Likewise.
61057         * locale/programs/locarchive.c: Likewise.
61058         * locale/programs/locfile.h: Likewise.
61059         * locale/programs/repertoire.c: Likewise.
61060         * locale/programs/simple-hash.c: Likewise.
61061         * locale/programs/simple-hash.h: Likewise.
61062         * malloc/memusage.c: Likewise.
61063         * malloc/memusagestat.c: Likewise.
61064         * nis/nis_defaults.c: Likewise.
61065         * nis/nis_hash.c: Likewise.
61066         * nis/nis_print.c: Likewise.
61067         * nis/nis_xdr.c: Likewise.
61068         * nscd/connections.c: Likewise.
61069         * nscd/hstcache.c: Likewise.
61070         * nscd/nscd_gethst_r.c: Likewise.
61071         * nscd/nscd_getserv_r.c: Likewise.
61072         * nscd/nscd_helper.c: Likewise.
61073         * nscd/servicescache.c: Likewise.
61074         * nss/makedb.c: Likewise.
61075         * nss/nss_db/db-XXX.c: Likewise.
61076         * nss/nss_db/db-initgroups.c: Likewise.
61077         * nss/nss_db/db-netgrp.c: Likewise.
61078         * nss/nss_files/files-network.c: Likewise.
61079         * nss/nss_files/files-parse.c: Likewise.
61080         * posix/bug-regex5.c: Likewise.
61081         * posix/fnmatch_loop.c: Likewise.
61082         * posix/regcomp.c: Likewise.
61083         * posix/regexec.c: Likewise.
61084         * posix/tst-rfc3484-2.c: Likewise.
61085         * posix/tst-rfc3484-3.c: Likewise.
61086         * posix/tst-rfc3484.c: Likewise.
61087         * resolv/nss_dns/dns-canon.c: Likewise.
61088         * resolv/nss_dns/dns-network.c: Likewise.
61089         * resolv/res_init.c: Likewise.
61090         * resolv/res_mkquery.c: Likewise.
61091         * resolv/tst-aton.c: Likewise.
61092         * stdlib/cxa_atexit.c: Likewise.
61093         * stdlib/cxa_finalize.c: Likewise.
61094         * stdlib/gen-fpioconst.c: Likewise.
61095         * stdlib/strtol_l.c: Likewise.
61096         * string/tst-endian.c: Likewise.
61097         * sunrpc/auth_des.c: Likewise.
61098         * sunrpc/clnt_udp.c: Likewise.
61099         * sunrpc/rtime.c: Likewise.
61100         * sunrpc/svcauth_des.c: Likewise.
61101         * sunrpc/xdr.c: Likewise.
61102         * sunrpc/xdr_intXX_t.c: Likewise.
61103         * sunrpc/xdr_rec.c: Likewise.
61104         * sysdeps/generic/ldconfig.h: Likewise.
61105         * sysdeps/generic/ldsodefs.h: Likewise.
61106         * sysdeps/generic/memusage.h: Likewise.
61107         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61108         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61109         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61110         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61111         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61112         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61113         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61114         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61115         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61116         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61117         * sysdeps/posix/getaddrinfo.c: Likewise.
61118         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61119         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61120         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61121         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61122         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61123         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61124         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61125         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61126         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61127         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61128         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61129         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61130         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61131         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61132         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61133         * sysdeps/x86_64/dl-tls.h: Likewise.
61134         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61135         * time/alt_digit.c: Likewise.
61136         * time/era.c: Likewise.
61137         * wcsmbs/tst-c16c32-1.c: Likewise.
61139 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61141         * math/libm-test.inc (struct test_sincos_data): New type.
61142         (RUN_TEST_LOOP_sincos): New macro.
61143         (sincos_test_data): New variable.
61144         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61146 2013-05-16  Richard Henderson  <rth@redhat.com>
61148         * math/atest-exp2.c (LIMB64): New macro.
61149         (CONSTSZ): New macro.
61150         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61151         (hexdig): Move ...
61152         (print_mpn_fp): ... to function scope.
61153         (read_mpn_hex): Remove.
61154         (get_log2): Remove.
61155         (exp2_mpn): Use mp_log2.
61156         (main): Use mp_exp1.
61158 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61160         * math/libm-test.inc: Remove comment about not testing "inexact"
61161         exceptions.
61162         (INEXACT_EXCEPTION): New macro.
61163         (NO_INEXACT_EXCEPTION): Likewise.
61164         (INVALID_EXCEPTION_OK): Update value.
61165         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61166         (OVERFLOW_EXCEPTION_OK): Likewise.
61167         (UNDERFLOW_EXCEPTION_OK): Likewise.
61168         (IGNORE_ZERO_INF_SIGN): Likewise.
61169         (ERRNO_UNCHANGED): Likewise.
61170         (ERRNO_EDOM): Likewise.
61171         (ERRNO_ERANGE): Likewise.
61172         (test_exceptions): Handle testing "inexact" exceptions.
61173         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61174         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61175         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61176         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61177         INEXACT_EXCEPTION.
61178         (rint_towardzero_test_data): Likewise.
61179         (rint_downward_test_data): Likewise.
61180         (rint_upward_test_data): Likewise.
61182         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61183         with OVERFLOW_EXCEPTION.
61184         (exp10_test_data): Likewise.
61185         (exp2_test_data): Likewise.
61186         (expm1_test_data): Likewise.
61187         (lgamma_test_data): Likewise.
61188         (pow_test_data): Likewise.
61189         (tgamma_test_data): Likewise.
61190         (yn_test_data): Remove duplicate test of overflow.
61192         * math/libm-test.inc (struct test_cc_c_data): New type.
61193         (RUN_TEST_LOOP_cc_c): New macro.
61194         (cpow_test_data): New variable.
61195         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61197         * math/libm-test.inc (struct test_f_L_data): New type.
61198         (RUN_TEST_LOOP_f_L): New macro.
61199         (llrint_test_data): New variable.
61200         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61201         (llrint_tonearest_test_data): New variable.
61202         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61203         (llrint_towardzero_test_data): New variable.
61204         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61205         (llrint_downward_test_data): New variable.
61206         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61207         (llrint_upward_test_data): New variable.
61208         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61209         (llround_test_data): New variable.
61210         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61212 2013-05-13  Peter Collingbourne  <pcc@google.com>
61214         * math/atest-exp2.c (get_log2): Remove const attribute.
61216 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61218         * math/libm-test.inc (struct test_f_l_data): New type.
61219         (RUN_TEST_LOOP_f_l): New macro.
61220         (lrint_test_data): New variable.
61221         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61222         (lrint_tonearest_test_data): New variable.
61223         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61224         (lrint_towardzero_test_data): New variable.
61225         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61226         (lrint_downward_test_data): New variable.
61227         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61228         (lrint_upward_test_data): New variable.
61229         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61230         (lround_test_data): New variable.
61231         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61233 2013-05-15  Peter Collingbourne  <pcc@google.com>
61235         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61236         (EXTRACT_WORDS64) Use where appropriate.
61237         (INSERT_WORDS64) Likewise.
61239         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61240         constraints with x constraints.
61241         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61243         * malloc/obstack.c (_obstack_compat): Add initializer.
61245 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61247         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61248         si_trapno and add si_addr_lsb to _sifields.sigfault.
61249         (si_trapno): Remove macro.
61250         (si_addr_lsb): Define new macro.
61251         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61253 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61255         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61256         instead of TEST_f_l.
61257         (llrint_test_tonearest): Likewise.
61258         (llrint_test_towardzero): Likewise.
61259         (llrint_test_downward): Likewise.
61260         (llrint_test_upward): Likewise.
61261         (llround_test): Likewise.
61263         * math/libm-test.inc (struct test_f_i_data): Add comment.
61264         (RUN_TEST_LOOP_f_b): New macro.
61265         (RUN_TEST_LOOP_f_b_tg): Likewise.
61266         (finite_test_data): New variable.
61267         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61268         (isfinite_test_data): New variable.
61269         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61270         (isinf_test_data): New variable.
61271         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61272         (isnan_test_data): New variable.
61273         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61274         (isnormal_test_data): New variable.
61275         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61276         (issignaling_test_data): New variable.
61277         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61278         (signbit_test_data): New variable.
61279         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61281         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61282         with INVALID_EXCEPTION.
61283         (acosh_test_data): Likewise.
61284         (asin_test_data): Likewise.
61285         (atanh_test_data): Likewise.
61286         (fmod_test_data): Likewise.
61287         (log_test_data): Likewise.
61288         (log10_test_data): Likewise.
61289         (log2_test_data): Likewise.
61290         (pow_test_data): Likewise.
61291         (sqrt_test_data): Likewise.
61292         (y0_test_data): Likewise.
61293         (y1_test_data): Likewise.
61294         (yn_test_data): Likewise.
61296         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61297         function contents.
61299         * math/libm-test.inc (struct test_ff_i_data): New type.
61300         (RUN_TEST_LOOP_ff_i_tg): New macro.
61301         (isgreater_test_data): New variable.
61302         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61303         (isgreaterequal_test_data): New variable.
61304         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61305         (isless_test_data): New variable.
61306         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61307         (islessequal_test_data): New variable.
61308         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61309         (islessgreater_test_data): New variable.
61310         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61311         (isunordered_test_data): New variable.
61312         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61314 2013-05-14  David S. Miller  <davem@davemloft.net>
61316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61318 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61320         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61322         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61323         extra_test to int.
61324         (struct test_f_i_data): Change type of max_ulp to int.
61326         * math/libm-test.inc (test_ffI_f1_data): New type.
61327         (RUN_TEST_LOOP_ffI_f1): New macro.
61328         (remquo_test_data): New variable.
61329         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61331         * setjmp/tst-setjmp-fp.c: New file.
61332         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61333         (link-libm): New variable.
61334         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61336         * math/libm-test.inc (struct test_f_i_data): New type.
61337         (RUN_TEST_LOOP_f_i): New macro.
61338         (RUN_TEST_LOOP_f_i_tg): Likewise.
61339         (fpclassify_test_data): New variable.
61340         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61341         (ilogb_test_data): New variable.
61342         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61344         * math/libm-test.inc (scalbln_test): Correct function name in END
61345         call.
61347         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61348         (RUN_TEST_LOOP_fI_f1): New macro.
61349         (frexp_test_data): New variable.
61350         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61352         * math/libm-test.inc (struct test_fF_f1_data): New type.
61353         (RUN_TEST_LOOP_fF_f1): New macro.
61354         (modf_test_data): New variable.
61355         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61357         * math/libm-test.inc (struct test_f_f1_data): New type.
61358         (RUN_TEST_LOOP_f_f1): New macro.
61359         (gamma_test_data): New variable.
61360         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61361         (lgamma_test_data): New variable.
61362         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61364 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61366         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61367         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61368         (main): Comment "tls" pseudo-hwcap.
61370 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61372         * math/libm-test.inc (struct test_fl_f_data): New type.
61373         (RUN_TEST_LOOP_fl_f): New variable.
61374         (scalbln_test_data): New variable.
61375         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61377         * math/libm-test.inc (struct test_fi_f_data): New type.
61378         (RUN_TEST_LOOP_fi_f): New macro.
61379         (ldexp_test_data): New variable.
61380         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61381         (scalbn_test_data): New variable.
61382         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61384         * math/libm-test.inc (struct test_c_f_data): New type.
61385         (RUN_TEST_LOOP_c_f): New macro.
61386         (cabs_test_data): New variable.
61387         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61388         (carg_test_data): New variable.
61389         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61390         (cimag_test_data): New variable.
61391         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61392         (creal_test_data): New variable.
61393         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61395         * math/libm-test.inc (struct test_if_f_data): New type.
61396         (RUN_TEST_LOOP_if_f): New macro.
61397         (jn_test_data): New variable.
61398         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61399         (yn_test_data): New variable.
61400         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61402         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61404 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61406         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61407         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61409 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61411         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61412         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61413         (bench-deps): Add bench-timing.h.
61414         * benchtests-bench-skeleton.c: Include bench-timing.h.
61415         (main): Use TIMING_* macros instead of clock_gettime.
61416         * benchtests/bench-timing.h: New file.
61418         [BZ #14582]
61419         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61420         Renamed from _LIB_VERSION.
61421         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61423 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61425         * math/libm-test.inc (struct test_fff_f_data): New type.
61426         (RUN_TEST_LOOP_fff_f): New macro.
61427         (fma_test_data): New variable.
61428         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61429         (fma_towardzero_test_data): New variable.
61430         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61431         (fma_downward_test_data): New variable.
61432         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61433         (fma_upward_test_data): New variable.
61434         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61436         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61437         (struct test_c_c_data): New type.
61438         (RUN_TEST_LOOP_c_c): New macro.
61439         (cacos_test_data): New variable.
61440         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61441         (cacosh_test_data): New variable.
61442         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61443         (casin_test_data): New variable.
61444         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61445         (casinh_test_data): New variable.
61446         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61447         (catan_test_data): New variable.
61448         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61449         (catanh_test_data): New variable.
61450         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61451         (ccos_test_data): New variable.
61452         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61453         (ccosh_test_data): New variable.
61454         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61455         (cexp_test_data): New variable.
61456         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61457         (clog_test_data): New variable.
61458         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61459         (clog10_test_data): New variable.
61460         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61461         (conj_test_data): New variable.
61462         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61463         (cproj_test_data): New variable.
61464         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61465         (csin_test_data): New variable.
61466         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61467         (csinh_test_data): New variable.
61468         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61469         (csqrt_test_data): New variable.
61470         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61471         (ctan_test_data): New variable.
61472         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61473         (ctan_tonearest_test_data): New variable.
61474         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61475         (ctan_towardzero_test_data): New variable.
61476         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61477         (ctan_downward_test_data): New variable.
61478         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61479         (ctan_upward_test_data): New variable.
61480         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61481         (ctanh_test_data): New variable.
61482         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61483         (ctanh_tonearest_test_data): New variable.
61484         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61485         (ctanh_towardzero_test_data): New variable.
61486         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61487         (ctanh_downward_test_data): New variable.
61488         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61489         (ctanh_upward_test_data): New variable.
61490         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61491         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61492         of BUILD_COMPLEX.
61494         * math/libm-test.inc (struct test_ff_f_data): New type.
61495         (struct test_ff_f_data_nexttoward): Likewise.
61496         (RUN_TEST_LOOP_2_f): New macro.
61497         (RUN_TEST_LOOP_ff_f): Likewise.
61498         (atan2_test_data): New variable.
61499         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61500         (copysign_test_data): New variable.
61501         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61502         (fdim_test_data): New variable.
61503         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61504         (fmax_test_data): New variable.
61505         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61506         (fmin_test_data): New variable.
61507         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61508         (fmod_test_data): New variable.
61509         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61510         (hypot_test_data): New variable.
61511         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61512         (nextafter_test_data): New variable.
61513         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61514         (nexttoward_test_data): New variable.
61515         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61516         (pow_test_data): New variable.
61517         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61518         (pow_tonearest_test_data): New variable.
61519         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61520         (pow_towardzero_test_data): New variable.
61521         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61522         (pow_downward_test_data): New variable.
61523         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61524         (pow_upward_test_data): New variable.
61525         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61526         (remainder_test_data): New variable.
61527         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61528         (scalb_test_data): New variable.
61529         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61530         * sysdeps/i386/fpu/libm-test-ulps: Update.
61532 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61534         * math/libm-test.inc (fma_test): Use max_value instead of local
61535         variable fltmax.
61536         (nextafter_test): Likewise.
61538         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61539         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61540         (acos_downward_test_data): New variable.
61541         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61542         (acos_upward_test_data): New variable.
61543         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61544         (acosh_test_data): New variable.
61545         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61546         (asin_test_data): New variable.
61547         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61548         (asin_tonearest_test_data): New variable.
61549         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61550         (asin_towardzero_test_data): New variable.
61551         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61552         (asin_downward_test_data): New variable.
61553         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61554         (asin_upward_test_data): New variable.
61555         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61556         (asinh_test_data): New variable.
61557         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61558         (atan_test_data): New variable.
61559         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61560         (atanh_test_data): New variable.
61561         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61562         (cbrt_test_data): New variable.
61563         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61564         (ceil_test_data): New variable.
61565         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61566         (cos_test_data): New variable.
61567         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61568         (cos_tonearest_test_data): New variable.
61569         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61570         (cos_towardzero_test_data): New variable.
61571         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61572         (cos_downward_test_data): New variable.
61573         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61574         (cos_upward_test_data): New variable.
61575         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61576         (cosh_test_data): New variable.
61577         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61578         (cosh_tonearest_test_data): New variable.
61579         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61580         (cosh_towardzero_test_data): New variable.
61581         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61582         (cosh_downward_test_data): New variable.
61583         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61584         (cosh_upward_test_data): New variable.
61585         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61586         (erf_test_data): New variable.
61587         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61588         (erfc_test_data): New variable.
61589         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61590         (exp_test_data): New variable.
61591         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61592         (exp_tonearest_test_data): New variable.
61593         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61594         (exp_towardzero_test_data): New variable.
61595         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61596         (exp_downward_test_data): New variable.
61597         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61598         (exp_upward_test_data): New variable.
61599         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61600         (exp10_test_data): New variable.
61601         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61602         (exp2_test_data): New variable.
61603         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61604         (expm1_test_data): New variable.
61605         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61606         (fabs_test_data): New variable.
61607         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61608         (floor_test_data): New variable.
61609         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61610         (j0_test_data): New variable.
61611         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61612         (j1_test_data): New variable.
61613         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61614         (log_test_data): New variable.
61615         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61616         (log10_test_data): New variable.
61617         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61618         (log1p_test_data): New variable.
61619         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61620         (log2_test_data): New variable.
61621         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61622         (logb_test_data): New variable.
61623         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61624         (logb_downward_test_data): New variable.
61625         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61626         (nearbyint_test_data): New variable.
61627         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61628         (rint_test_data): New variable.
61629         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61630         (rint_tonearest_test_data): New variable.
61631         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61632         (rint_towardzero_test_data): New variable.
61633         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61634         (rint_downward_test_data): New variable.
61635         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61636         (rint_upward_test_data): New variable.
61637         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61638         (round_test_data): New variable.
61639         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61640         (sin_test_data): New variable.
61641         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61642         (sin_tonearest_test_data): New variable.
61643         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61644         (sin_towardzero_test_data): New variable.
61645         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61646         (sin_downward_test_data): New variable.
61647         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61648         (sin_upward_test_data): New variable.
61649         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61650         (sinh_test_data): New variable.
61651         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61652         (sinh_tonearest_test_data): New variable.
61653         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61654         (sinh_towardzero_test_data): New variable.
61655         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61656         (sinh_downward_test_data): New variable.
61657         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61658         (sinh_upward_test_data): New variable.
61659         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61660         (sqrt_test_data): New variable.
61661         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61662         (tan_test_data): New variable.
61663         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61664         (tan_tonearest_test_data): New variable.
61665         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61666         (tan_towardzero_test_data): New variable.
61667         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61668         (tan_downward_test_data): New variable.
61669         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61670         (tan_upward_test_data): New variable.
61671         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61672         (tanh_test_data): New variable.
61673         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61674         (tgamma_test_data): New variable.
61675         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61676         (trunc_test_data): New variable.
61677         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61678         (y0_test_data): New variable.
61679         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61680         (y1_test_data): New variable.
61681         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61682         (significand_test_data): New variable.
61683         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61685 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61687         [BZ #12387]
61688         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61690 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61692         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61694 2013-05-10  Andreas Jaeger  <aj@suse.de>
61696         [BZ #15448]
61697         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61698         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61700 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61702         * math/gen-libm-test.pl (adjust_arg): New function.
61703         (special_functions): Handle generating output in both functions
61704         and arrays.
61705         (parse_args): Likewise.
61706         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61707         $in_func argument to parse_args.
61708         * math/libm-test.inc (struct test_f_f_data): New type.
61709         (IF_ROUND_INIT_): New macro.
61710         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61711         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61712         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61713         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61714         (ROUND_RESTORE_): Likewise.
61715         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61716         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61717         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61718         (ROUND_RESTORE_FE_UPWARD): Likewise.
61719         (RUN_TEST_LOOP_f_f): New macro.
61720         (acos_test_data): New variable.
61721         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61722         (acos_tonearest_test_data): New variable.
61723         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61725 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61727         * benchtests/bench-skeleton.c (startup): Fix coding style.
61729 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61731         [BZ #6809]
61732         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61733         negative infinity argument.
61734         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61735         negative infinity argument.
61736         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61737         negative infinity argument.
61738         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61739         domain errors.
61741 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61743         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61744         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61745         * iconv/iconv_prog.c (main): Likewise.
61746         * locale/programs/charmap-dir.c (charmap_readdir)
61747         (fopen_uncompressed): Likewise.
61748         * locale/programs/locfile.c (siblings_uncached)
61749         (write_locale_data): Use lstat64 instead of lstat.
61750         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61751         stat.
61753 2013-05-10  Andreas Jaeger  <aj@suse.de>
61755         [BZ #15395]
61756         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61757         localization.
61758         Include <locale.h>.
61760 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61762         * elf/dl-close.c (_dl_close_worker): Add comments.
61764 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61766         [BZ #15359]
61767         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61768         high part of pi/2.
61769         (__ieee754_rem_pio2l): Update comments.
61771         [BZ #15429]
61772         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61773         high part of pi/2.
61774         (__ieee754_rem_pio2l): Update comments.
61776         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61777         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61779         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61780         M_PI_4l.
61782         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61783         (M_PI_34_LOG10El): Likewise.
61784         (M_PI2_LOG10El): Likewise.
61785         (M_PI4_LOG10El): Likewise.
61786         (M_PI_LOG10El): Likewise.
61788 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61792 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61794         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61795         (MINUS_ZERO_INIT): Likewise.
61796         (PLUS_INFTY_INIT): Likewise.
61797         (MINUS_INFTY_INIT): Likewise.
61798         (QNAN_VALUE_INIT): Likewise.
61799         (MAX_VALUE_INIT): Likewise.
61800         (MIN_VALUE_INIT): Likewise.
61801         (MIN_SUBNORM_VALUE_INIT): Likewise.
61802         (plus_zero): Initialize with PLUS_ZERO_INIT.
61803         (minus_zero): Initialize with MINUS_ZERO_INIT.
61804         (plus_infty): Initialize with PLUS_INFTY_INIT.
61805         (minus_infty): Initialize with MINUS_INFTY_INIT.
61806         (qnan_value): Initialize with QNAN_VALUE_INIT.
61807         (max_value): Initialize with MAX_VALUE_INIT.
61808         (min_value): Initialize with MIN_VALUE_INIT.
61809         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61811         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61812         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61813         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61814         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61816         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61817         (RUN_TEST_2_f): Likewise.
61818         (RUN_TEST_ff_f): Likewise.
61819         (RUN_TEST_fi_f): Likewise.
61820         (RUN_TEST_fl_f): Likewise.
61821         (RUN_TEST_fff_f): Likewise.
61822         (RUN_TEST_c_f): Likewise.
61823         (RUN_TEST_f_f1): Likewise.
61824         (RUN_TEST_fF_f1): Likewise.
61825         (RUN_TEST_fI_f1): Likewise.
61826         (RUN_TEST_ffI_f1): Likewise.
61827         (RUN_TEST_c_c): Likewise.
61828         (RUN_TEST_cc_c): Likewise.
61829         (RUN_TEST_f_i): Likewise.
61830         (RUN_TEST_f_i_tg): Likewise.
61831         (RUN_TEST_ff_i_tg): Likewise.
61832         (RUN_TEST_f_b): Likewise.
61833         (RUN_TEST_f_b_tg): Likewise.
61834         (RUN_TEST_f_l): Likewise.
61835         (RUN_TEST_f_L): Likewise.
61836         (RUN_TEST_sincos): Likewise.
61837         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61838         whether to show exceptions.  Do not include ");\n" in return
61839         value.
61840         (special_functions): Output call to RUN_TEST_sincos instead of
61841         check_float calls.  Update calls to new_test.
61842         (parse_args): Output call to single RUN_TEST_* macro instead of
61843         check_* calls and other assignments.  Update calls to new_test.
61845         [BZ #2546]
61846         [BZ #2560]
61847         [BZ #5159]
61848         [BZ #15426]
61849         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61850         input to result for tgamma overflow.
61851         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61852         (gamma_coeff): New variable.
61853         (NCOEFF): New macro.
61854         (gamma_positive): New function.
61855         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61856         underflow here.  Use gamma_positive instead of exp (lgamma) for
61857         other arguments.
61858         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61859         (gamma_coeff): New variable.
61860         (NCOEFF): New macro.
61861         (gammaf_positive): New function.
61862         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61863         underflow here.  Use gamma_positive instead of exp (lgamma) for
61864         other arguments.
61865         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61866         (gamma_coeff): New variable.
61867         (NCOEFF): New macro.
61868         (gammal_positive): New function.
61869         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61870         underflow here.  Use gamma_positive instead of exp (lgamma) for
61871         other arguments.
61872         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61873         (gamma_coeff): New variable.
61874         (NCOEFF): New macro.
61875         (gammal_positive): New function.
61876         (__ieee754_gammal_r): Handle positive infinity, overflow and
61877         underflow here.  Handle NaN the same as positive infinity.  Remove
61878         check x < 0xffffffff for negative integers.  Use gamma_positive
61879         instead of exp (lgamma) for other arguments.
61880         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61881         (gamma_coeff): New variable.
61882         (NCOEFF): New macro.
61883         (gammal_positive): New function.
61884         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61885         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61886         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61887         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61888         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61889         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61890         * sysdeps/generic/math_private.h (__gamma_productf): New
61891         prototype.
61892         (__gamma_product): Likewise.
61893         (__gamma_productl): Likewise.
61894         * math/Makefile (libm-calls): Add gamma_product.
61895         * math/libm-test.inc (tgamma_test): Add more tests.
61896         * sysdeps/i386/fpu/libm-test-ulps: Update.
61897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61899 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61901         * benchtests/bench-skeleton.c (main): Preheat CPU.
61903 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61905         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61907 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61909         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61910         and _dl_skip_args_internal.
61912 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61914         * manual/message.texi (Message Translation): Talk about users.
61915         Message to key mapping impacts design.
61917 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61919         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61921         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61923         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61924         * sysdeps/wordsize-64/glob64.c: ... here.
61926         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61927         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61928         New macros.
61930         * debug/getlogin_r_chk.c: Moved to ...
61931         * login/getlogin_r_chk.c: ... here.
61932         * debug/Makefile (routines): Move getlogin_r_chk to ...
61933         * login/Makefile (routines): ... here.
61934         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61935         * login/Versions (libc: GLIBC_2.4): ... here.
61937         * io/poll.c (__poll): Renamed from poll.
61938         Add libc_hidden_def.
61939         (poll): Define as weak alias.
61941         * debug/ptsname_r_chk.c: Moved to ...
61942         * login/ptsname_r_chk.c: ... here.
61943         * debug/Makefile (routines): Move ptsname_r_chk to ...
61944         * login/Makefile (routines): ... here.
61945         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61946         * login/Versions (libc: GLIBC_2.4): ... here.
61948         * posix/getlogin.c: Moved to ...
61949         * login/getlogin.c: ... here.
61950         * posix/getlogin_r.c: Moved to ...
61951         * login/getlogin_r.c: ... here.
61952         * posix/getlogin_r.c: Moved to ...
61953         * login/getlogin_r.c: ... here.
61954         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61955         * login/Makefile (routines): ... here.
61956         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61957         * login/Versions (libc: GLIBC_2.0): ... here.
61959         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61960         (setrlimit): Define as weak alias.
61962         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61963         Call __ names for open, ftruncate, and close.
61964         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61965         (truncate): Define as weak alias.
61967 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61969         * math/gen-libm-test.pl (parse_args): Initialize x before each
61970         test of frexp, modf and remquo.
61972         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61973         test signgam value.
61975 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61977         [BZ #15418]
61978         [BZ #15419]
61979         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61980         internal tests.
61981         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61983 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61985         * elf/dl-writev.h: New file.
61986         * elf/dl-misc.c: Include it.
61987         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61988         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61990 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
61992         * math/libm-test.inc (noXFails): Remove variable.
61993         (noXPasses): Likewise.
61994         (BUILD_COMPLEX_INT): Remove macro.
61995         (print_screen): Remove xfail argument.
61996         (print_screen_max_error): Likewise.
61997         (update_stats): Likewise.
61998         (print_max_error): Likewise.  Update calls to other affected
61999         functions.
62000         (print_complex_max_error): Likewise.
62001         (test_single_exception): Update calls to print_screen.
62002         (test_single_errno): Likewise.
62003         (check_float_internal): Remove xfail argument.  Update calls to
62004         other affected functions.
62005         (check_float): Likewise.
62006         (check_complex): Likewise.
62007         (check_int): Likewise.
62008         (check_long): Likewise.
62009         (check_bool): Likewise.
62010         (check_longlong): Likewise.
62011         (main): Don't print noXFails and noXPasses.
62012         * math/gen-libm-test.pl (top level): Don't mention expected
62013         failure handling in comment.
62014         (new_test): Don't handle expected failures.
62015         (parse_args): Don't mention expected failure handling in comment.
62016         (generate_testfile): Don't handle expected failures.
62017         (parse_ulps): Likewise.
62018         (print_ulps_file): Likewise.
62019         (get_failure): Remove function.
62020         (output_test): Don't handle expected failures.
62021         * make/README.libm-test: Don't mention expected failure handling.
62023         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62024         (minus_zero): Likewise.
62025         (plus_infty): Likewise.
62026         (minus_infty): Likewise.
62027         (qnan_value): Likewise.
62028         (max_value): Likewise.
62029         (min_value): Likewise.
62030         (min_subnorm_value): Likewise.
62031         (initialize): Do not initialize those variables dynamically.
62033 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62035         * io/open.c (__open_2): Moved to ...
62036         * io/open_2.c: ... this new file.
62037         * io/open64.c (__open64_2): Moved to ...
62038         * io/open64_2.c: ... this new file.
62039         * io/openat.c (__openat_2): Moved to ...
62040         * io/openat_2.c: ... this new file.
62041         * io/openat64.c (__openat64_2): Moved to ...
62042         * io/openat64_2.c: ... this new file.
62043         * io/Makefile (routines): Add them.
62044         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62045         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62046         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62047         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62048         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62049         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62050         (__openat64): Add hidden_ver.
62051         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62052         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62054         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62055         Separately conditionalize setting of GLRO(dl_sysinfo) so
62056         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62057         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62059 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62061         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62062         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62063         definition.
62064         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62065         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62066         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62067         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62068         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62070 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62072         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62073         test signgam value.
62075         * math/libm-test.inc (hypot_test): Do not use
62076         IGNORE_ZERO_INF_SIGN.
62078 2013-05-03  Andreas Jaeger  <aj@suse.de>
62080         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62081         Linux 3.9.
62082         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62083         (PF_MAX): Adjust for VSOCK change.
62085 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62089 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62091         [BZ #15264]
62092         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62093         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62094         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62096 2013-05-02  David S. Miller  <davem@davemloft.net>
62098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62100 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62102         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62104 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62106         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62108 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62110         [BZ #14952]
62111         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62112         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62113         Use __attribute__ ((__gnu_inline__)).
62114         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62115         Don't use __attribute__ ((__gnu_inline__)).
62117 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62119         [BZ #15423]
62120         * math/s_catan.c (__catan): Handle small real or imaginary part of
62121         input specially to avoid spurious underflow.
62122         * math/s_catanf.c (__catanf): Likewise.
62123         * math/s_catanh.c (__catanh): Likewise.
62124         * math/s_catanhf.c (__catanhf): Likewise.
62125         * math/s_catanhl.c (__catanhl): Likewise.
62126         * math/s_catanl.c (__catanl): Likewise.
62127         * math/libm-test.inc (catan_test): Add more tests.
62128         (catanh_test): Likewise.
62129         * sysdeps/i386/fpu/libm-test-ulps: Update.
62130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62132 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62136 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62138         [BZ #15416]
62139         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62140         accurately for denominator in atan2.
62141         * math/s_catanf.c (__catanf): Likewise.
62142         * math/s_catanh.c (__catanh): Likewise.
62143         * math/s_catanhf.c (__catanhf): Likewise.
62144         * math/s_catanhl.c (__catanhl): Likewise.
62145         * math/s_catanl.c (__catanl): Likewise.
62146         * math/libm-test.inc (catan_test): Add more tests.
62147         (catanh_test): Likewise.
62148         * sysdeps/i386/fpu/libm-test-ulps: Update.
62149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62151 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62153         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62155         * benchtests/Makefile (bench): Remove slow benchmarks.
62156         * benchtests/atan-inputs: Add slow benchmark inputs.
62157         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62158         (BENCH_FUNC): Accept variant offset.
62159         (VARIANT): Define.
62160         * benchtests/bench-skeleton.c (main): Run benchmark for each
62161         variant.
62162         * benchtests/cos-inputs: Add slow benchmark inputs.
62163         * benchtests/exp-inputs: Likewise.
62164         * benchtests/pow-inputs: Likewise.
62165         * benchtests/sin-inputs: Likewise.
62166         * benchtests/slowatan-inputs: Remove.
62167         * benchtests/slowatan.c: Remove.
62168         * benchtests/slowcos-inputs: Remove.
62169         * benchtests/slowcos.c: Remove.
62170         * benchtests/slowexp-inputs: Remove.
62171         * benchtests/slowexp.c: Remove.
62172         * benchtests/slowpow-inputs: Remove.
62173         * benchtests/slowpow.c: Remove.
62174         * benchtests/slowsin-inputs: Remove.
62175         * benchtests/slowsin.c: Remove.
62176         * benchtests/slowtan-inputs: Remove.
62177         * benchtests/slowtan.c: Remove.
62178         * benchtests/tan-inputs: Add slow benchmark inputs.
62179         * scripts/bench.pl: Parse comments and directives.
62181         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62182         in CPPFLAGS.
62183         ($(objpfx)bench-%.c): Remove *-ITER.
62184         * benchtests/bench-modf.c: Remove definition of ITER.
62185         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62186         (main): Loop for DURATION seconds instead of fixed number of
62187         iterations.
62188         * scripts/bench.pl: Don't expect iterations in parameters.
62190 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62192         * io/fchdir.c (__fchdir): Renamed from fchdir.
62193         (fchdir): Define as weak alias.
62195 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62197         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62198         (ERRNO_EDOM): Likewise.
62199         (ERRNO_ERANGE): Likewise.
62200         (noErrnoTests): New variable.
62201         (init_max_error): Set errno to 0.
62202         (test_single_errno): New function.
62203         (test_errno): Likewise.
62204         (check_float_internal): Call test_errno.  Set errno to 0.
62205         (check_complex): Refer to errno tests in comment.
62206         (check_int): Call test_errno.  Set errno to 0.
62207         (check_long): Likewise.
62208         (check_bool): Likewise.
62209         (check_longlong): Likewise.
62210         (cos_test): Use ERRNO_* flags for errno tests instead of
62211         check_int.
62212         (expm1_test): Likewise.
62213         (fmod_test): Likewise.
62214         (ilogb_test): Likewise.
62215         (lgamma_test): Likewise.
62216         (pow_test): Likewise.
62217         (remainder_test): Likewise.
62218         (sin_test): Likewise.
62219         (tan_test): Likewise.
62220         (yn_test): Likewise.
62221         (initialize): Set errno to 0.
62222         (main): Print number of errno tests.
62223         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62225 2013-04-29  Andreas Jaeger  <aj@suse.de>
62227         [BZ #15084]
62228         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62229         and RES_USEVC.
62231         [BZ #15085]
62232         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62233         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62234         unimplemented.
62236         [BZ #15380]
62237         * stdlib/random.c (__initstate): Return NULL if
62238         __initstate fails.
62240         [BZ #15086]
62241         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62242         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62243         RES_SNGLKUPREOP.
62245 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62249 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62251         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62252         of individual tests.
62253         (casin_test): Likewise.
62254         (casinh_test): Likewise.
62256 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62258         [BZ #15409]
62259         * math/s_catan.c (__catan): Handle arguments with large real or
62260         imaginary part separately without squaring.
62261         * math/s_catanf.c (__catanf): Likewise.
62262         * math/s_catanh.c (__catanh): Likewise.
62263         * math/s_catanhf.c (__catanhf): Likewise.
62264         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62265         and redefine.
62266         (__catanhl): Handle arguments with large real or imaginary part
62267         separately without squaring.
62268         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62269         and redefine.
62270         (__catanl): Handle arguments with large real or imaginary part
62271         separately without squaring.
62272         * math/libm-test.inc (catan_test): Add more tests.
62273         (catanh_test): Likewise.
62274         * sysdeps/i386/fpu/libm-test-ulps: Update.
62275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62277 2013-04-27  Andreas Jaeger  <aj@suse.de>
62279         [BZ #15007]
62280         * stdlib/stdlib.h: Update guards for qecvt.
62281         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62282         <stdlib.h>.
62284 2013-04-27  Allan McRae  <allan@archlinux.org>
62286         * sysdeps/i386/fpu/libm-test-ulps: Update.
62288 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62290         [BZ #15406]
62291         * math/s_catan.c: Include <float.h>.
62292         (__catan): Ensure underflow exception occurs for underflowed
62293         result.
62294         * math/s_catanf.c: Include <float.h>.
62295         (__catanf): Ensure underflow exception occurs for underflowed
62296         result.
62297         * math/s_catanh.c: Include <float.h>.
62298         (__catanh): Ensure underflow exception occurs for underflowed
62299         result.
62300         * math/s_catanhf.c: Include <float.h>.
62301         (__catanhf): Ensure underflow exception occurs for underflowed
62302         result.
62303         * math/s_catanhl.c: Include <float.h>.
62304         (__catanhl): Ensure underflow exception occurs for underflowed
62305         result.
62306         * math/s_catanl.c: Include <float.h>.
62307         (__catanl): Ensure underflow exception occurs for underflowed
62308         result.
62309         * math/libm-test.inc (catan_test): Add more tests.
62310         (catanh_test): Likewise.
62312         [BZ #15405]
62313         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62314         underflowed result.
62315         * math/s_ccoshf.c (__ccoshf): Likewise.
62316         * math/s_ccoshl.c (__ccoshl): Likewise.
62317         * math/s_csin.c (__csin): Likewise.
62318         * math/s_csinf.c (__csinf): Likewise.
62319         * math/s_csinh.c (__csinh): Likewise.
62320         * math/s_csinhf.c (__csinhf): Likewise.
62321         * math/s_csinhl.c (__csinhl): Likewise.
62322         * math/s_csinl.c (__csinl): Likewise.
62323         * math/libm-test.inc (ccos_test): Add more tests.
62324         (ccosh_test): Likewise.
62325         (csin_test): Likewise.
62326         (csinh_test): Likewise.
62328 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62330         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62331         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62332         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62333         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62334         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62335         powerpc/power5+/fpu folders.
62336         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62339 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62343 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62345         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62346         additions to variable.
62347         [$(config-machine) = x86_64] (modules-names): Likewise.
62348         ($(objpfx)tst-audit3): Remove dependency.
62349         ($(objpfx)tst-audit3.out): Likewise.
62350         ($(objpfx)tst-audit4): Likewise.
62351         ($(objpfx)tst-audit4.out): Likewise.
62352         ($(objpfx)tst-audit5): Likewise.
62353         ($(objpfx)tst-audit5.out): Likewise.
62354         ($(objpfx)tst-audit6): Likewise.
62355         ($(objpfx)tst-audit6.out): Likewise.
62356         ($(objpfx)tst-audit7): Likewise.
62357         ($(objpfx)tst-audit7.out): Likewise.
62358         (tst-audit3-ENV): Remove variable.
62359         (tst-audit4-ENV): Likewise.
62360         (tst-audit5-ENV): Likewise.
62361         (tst-audit6-ENV): Likewise.
62362         (tst-audit7-ENV): Likewise.
62363         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62364         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62365         addition to variable.
62366         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62367         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62368         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62369         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62370         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62371         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62372         tst-audit3, tst-audit4 and tst-audit5.
62373         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62374         tst-audit6 and tst-audit7.
62375         [$(subdir) = elf] (modules-names): Add audit modules for those
62376         tests.
62377         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62378         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62379         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62380         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62381         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62382         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62383         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62384         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62385         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62386         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62387         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62388         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62389         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62390         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62391         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62392         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62393         Likewise.
62394         [$(subdir) = elf && $(config-cflags-avx) = yes]
62395         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62396         [$(subdir) = elf && $(config-cflags-avx) = yes]
62397         (CFLAGS-tst-auditmod4a.c): Likewise.
62398         [$(subdir) = elf && $(config-cflags-avx) = yes]
62399         (CFLAGS-tst-auditmod4b.c): Likewise.
62400         [$(subdir) = elf && $(config-cflags-avx) = yes]
62401         (CFLAGS-tst-auditmod6b.c): Likewise.
62402         [$(subdir) = elf && $(config-cflags-avx) = yes]
62403         (CFLAGS-tst-auditmod6c.c): Likewise.
62404         [$(subdir) = elf && $(config-cflags-avx) = yes]
62405         (CFLAGS-tst-auditmod7b.c): Likewise.
62406         * elf/tst-audit3.c: Move to ...
62407         * sysdeps/x86_64/tst-audit3.c: ... here.
62408         * elf/tst-audit4.c: Move to ...
62409         * sysdeps/x86_64/tst-audit4.c: ... here.
62410         * elf/tst-audit5.c: Move to ...
62411         * sysdeps/x86_64/tst-audit5.c: ... here.
62412         * elf/tst-audit6.c: Move to ...
62413         * sysdeps/x86_64/tst-audit6.c: ... here.
62414         * elf/tst-audit7.c: Move to ...
62415         * sysdeps/x86_64/tst-audit7.c: ... here.
62416         * elf/tst-auditmod3a.c: Move to ...
62417         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62418         * elf/tst-auditmod3b.c: Move to ...
62419         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62420         * elf/tst-auditmod4a.c: Move to ...
62421         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62422         * elf/tst-auditmod4b.c: Move to ...
62423         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62424         * elf/tst-auditmod5a.c: Move to ...
62425         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62426         * elf/tst-auditmod5b.c: Move to ...
62427         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62428         * elf/tst-auditmod6a.c: Move to ...
62429         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62430         * elf/tst-auditmod6b.c: Move to ...
62431         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62432         * elf/tst-auditmod6c.c: Move to ...
62433         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62434         * elf/tst-auditmod7a.c: Move to ...
62435         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62436         * elf/tst-auditmod7b.c: Move to ...
62437         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62439 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62441         [BZ #15366]
62442         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62443         define unconditionally.
62444         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62445         define unconditionally.
62446         (INT8_C, INT16_C, etc.): Likewise.
62448 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62450         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62451         __ehdr_start with hidden visibility.
62453         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62455 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62457         * math/libm-test.inc (cos_test): Use accurate hex constants.
62458         (sincost_test): Likewise.
62460 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62462         * math/libm-test.inc (catan_test): Add more tests.
62463         (catanh_test): Likewise.
62465         * math/s_catanf.c (__catanf): Use suffixed floating-point
62466         constants.
62467         * math/s_catanhf.c (__catanhf): Likewise.
62468         * math/s_catanhl.c (__catanhl): Likewise.
62469         * math/s_catanl.c (__catanl): Likewise.
62471         [BZ #15394]
62472         * math/s_catan.c (__catan): Calculate imaginary part of result
62473         with log1p not log unless computing log of number close to 0.
62474         * math/s_catanf.c (__catanf): Likewise.
62475         * math/s_catanl.c (__catanl): Likewise.
62476         * math/s_catanh.c (__catanh): Calculate real part of result with
62477         log1p not log unless computing log of number close to 0.
62478         * math/s_catanhf.c (__catanhf): Likewise.
62479         * math/s_catanhl.c (__catanhl): Likewise.
62480         * math/libm-test.inc (catan_test): Add more tests.
62481         (catanh_test): Likewise.
62482         * sysdeps/i386/fpu/libm-test-ulps: Update.
62483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62485 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62487         * benchtests/Makefile: Mention files in which fast and slow
62488         paths of math functions are implemented.
62490 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62492         * sysdeps/posix/timespec_get.c: New file.
62494 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62496         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62497         POWER.
62498         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62499         for POWER.
62500         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62501         powerpc/power5/fpu folders.
62502         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62503         * benchtests/Makefile: Add modf testcase.
62504         * benchtests/bench-modf.c: New file: Benchmark test for mo
62506 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62508         [BZ #14888]
62509         * time/Makefile (tests): Add tst-strptime-whitespace.
62510         * time/strptime_l.c (get_number): Use ISSPACE.
62511         (__strptime_internal): Likewise.
62512         * time/tst-strptime-whitespace.c: New test case.
62514 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62516         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62517         member.
62518         (_nss_files_init): Set it here.
62520 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62522         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62523         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62524         unsigned.
62526 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62528         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62530 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62532         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62533         size just once.
62535 2013-04-21  David S. Miller  <davem@davemloft.net>
62537         * po/ru.po: Update Russion translation from translation project.
62539 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62541         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62542         and setfsgid.
62544 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62546         * configure.in: Remove i386 configure warning. Remove i386 case.
62547         * configure: Regenerate.
62548         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62549         Add example to error message.
62550         * sysdeps/i386/configure: Regenerate.
62552 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62554         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62555         slowtan.
62556         * benchtests/cos-inputs: New file.
62557         * benchtests/slowcos-inputs: New file.
62558         * benchtests/slowcos.c: New file.
62559         * benchtests/slowtan-inputs: New file.
62560         * benchtests/slowtan.c: New file.
62561         * benchtests/tan-inputs: New file.
62563 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62565         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62566         considered kosher.
62568 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62570         * benchtests/Makefile: Include cppflags-iterator.mk to add
62571         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62573         * Makefile.in (bench-clean): New target.
62574         * benchtests/Makefile (bench-clean): Likewise.
62576 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62578         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62580 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62582         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62584 2013-04-15  Andreas Schwab  <schwab@suse.de>
62586         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62587         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62588         * nscd/pwdcache.c (cache_addpw): Likewise.
62589         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62590         more than recsize.
62592 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62594         * benchtests/Makefile (bench): Write all output to
62595         bench-out.tmp together.
62597 2013-04-15  Andreas Schwab  <schwab@suse.de>
62599         * nscd/nscd.c (main): Don't fork again after closing files.
62601 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62603         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62605         * benchtests/Rules (bench-deps): Collect dependencies into a
62606         single variable.  Add Makefile to dependencies.
62607         ($(objpfx)bench-%.c): Depend on bench-deps.
62609 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62610             Xavier Roche  <roche+kml2@exalead.com>
62612         [BZ #15361]
62613         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62614         just that it's a file descriptor.
62615         * manual/llio.texi (Synchronizing AIO Operations): Update description
62616         for EBADF error from aio_fsync.
62618 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62620         * Rules (bench): Move target definition...
62621         * benchtests/Makefile: ... here.
62623 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62625         * math/libm-test.inc (cos_test): Fix PI/2 test.
62626         (sincos_test): Likewise.
62627         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62628         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62630 2013-04-11  Andreas Schwab  <schwab@suse.de>
62632         [BZ #13988]
62633         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62634         accept exponent character only when digits were seen.
62635         * stdio-common/Makefile (tests): Add bug26.
62636         * stdio-common/bug26.c: New file.
62638         [BZ #14293]
62639         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62640         non-freeable.
62642 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62644         * Makeconfig (rtld-prefix): Define built linker prefix.
62645         * Rules (run-bench): Use it.
62646         * math/Makefile (run-regen-ulps): Likewise.
62648         * Rules (bench): Remove eval.
62650 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62651             Roland McGrath  <roland@hack.frob.com>
62652             Ondrej Bilka  <neleai@seznam.cz>
62654         [BZ #15346]
62655         * time/getdate.c: Include ctype.h and alloca.h.
62656         (__getdate_r): Trim leading and trailing spaces of input.
62657         * time/tst-getdate.c (tests): Add tests with leading and
62658         trailing spaces.
62660 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62662         [BZ #14280]
62663         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62664         when computing value.
62666 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62668         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62669         Use testrun.sh to run libm tests.
62671         [BZ #15309]
62672         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62674 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62676         [BZ #15264]
62677         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62679 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62681         * Makefile.in (regen-ulps): New target.
62682         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62683         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62684         [ifneq (no,$(PERL)] (regen-ulps): New target.
62685         [ifeq (no,$(PERL)] (regen-ulps): New target.
62686         * math/libm-test.inc (ulps_file_name): Define.
62687         (output_dir): New variable.
62688         (options): Add "output-dir" option.
62689         (parse_opt): Handle 'o' case.
62690         (main): If output_dir is non-NULL use it as a prefix
62691         otherwise use "".
62692         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62694 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62696         [BZ #10060, #10062]
62697         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62698         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62699         fail configure if __sync_val_compare_and_swap is not inlined.
62700         * sysdeps/i386/configure: Regenerate.
62701         * configure.in: Build for i686 when configured for i386.
62702         * configure: Regenerate.
62703         * README: Remove i386 reference.
62705 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62707         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62708         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62710 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62712         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62713         (lmsnanval): New variables.
62714         (F): Add conversion tests.
62715         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62716         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62718         * stdio-common/tstdiomisc.c (F): Properly collect individual
62719         tests' results.
62721         [BZ #14686, #15336]
62722         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62723         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62724         Instead, use input NaN values or generate a qNaN by arithmetic
62725         operation.  Also fix bugs to comply with the standard.
62726         * math/libm-test.inc (remainder_test): Add more tests.
62728         [BZ #15335, #15342]
62729         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62730         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62731         input NaN values or generate a qNaN by arithmetic operation.
62733         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62734         unreachable code.
62736         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62737         definitions.
62739 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62741         [BZ #14478]
62742         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62743         underflowed result.
62744         * math/s_cexpf.c (__cexpf): Likewise.
62745         * math/s_cexpl.c (__cexpl): Likewise.
62746         * math/libm-test.inc (cexp_test): Add more tests.
62748 2013-04-03  Andreas Schwab  <schwab@suse.de>
62750         [BZ #15330]
62751         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62752         order arrays from heap if bigger than alloca cutoff.
62754 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62756         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62757         (SNAN_TESTS_double): Refer to GCC PR56831.
62758         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62759         GCC PR56828.
62761 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62763         * Rules (bench): Move bench.out after the run is complete.
62765         * Rules (bench): Echo currently running benchmark.
62767         * benchtests/Makefile (bench): Add atan and slowatan.
62768         * benchtests/atan-inputs: New file.
62769         * benchtests/slowatan-inputs: New file.
62770         * benchtests/slowatan.c: New file.
62772         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62773         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62774         its value.
62776         [BZ #15305]
62777         * sysdeps/unix/sysv/linux/kernel-features.h
62778         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62779         __ASSUME_XFS_RESTRICTED_CHOWN.
62780         * sysdeps/unix/sysv/linux/pathconf.c
62781         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62782         Save and restore errno.
62784 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62786         [BZ #15327]
62787         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62788         arguments using __kernel_casinh.
62789         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62790         arguments using __kernel_casinhf.
62791         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62792         arguments using __kernel_casinhl.
62793         * math/libm-test.inc (cacosh_test): Add more tests.
62794         * sysdeps/i386/fpu/libm-test-ulps: Update.
62795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62797 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62799         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62800         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62802         * bench/Makefile (bench): Add sin and slowsin.
62803         * benchtests/sin-inputs: New file.
62804         * benchtests/slowsin-inputs: New file.
62805         * benchtests/slowsin.c: New file.
62807         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62808         (bench): Add slowexp and slowpow.
62809         (exp-ITER): Increase iterations.
62810         (pow-ITER): Likewise.
62811         * benchtests/exp-inputs: Change input.
62812         * benchtests/pow-inputs: Likewise.
62813         * benchtests/slowexp-inputs: New file.
62814         * benchtests/slowexp.c: New file.
62815         * benchtests/slowpow-inputs: New file.
62816         * benchtests/slowpow.c: New file.
62818 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62820         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62821         instructions.
62822         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62823         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62824         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62825         * benchtests/Makefile: Add rint benchtest.
62826         * benchtests/rint-inputs: Input for rint benchtest.
62828 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62830         * Versions.def (libm): Add GLIBC_2.18.
62831         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62832         hidden libm prototypes.
62833         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62834         * math/Makefile (libm-calls): Add s_issignaling.
62835         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62836         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62837         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62838         declaration.
62839         * math/math.h [__USE_GNU] (issignaling): New macro.
62840         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62841         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62842         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62843         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62844         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62845         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62846         * manual/arith.texi (issignaling): New section.
62847         * manual/libm-err-tab.pl (@all_functions): Update comment.
62848         * math/gen-libm-test.pl (parse_args): Apply special handling for
62849         issignaling.
62850         * math/libm-test.inc (print_float, issignaling_test): New
62851         functions.
62852         (check_float_internal): Add issignaling checks.
62853         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62854         default definition.
62855         * sysdeps/powerpc/math-tests.h: New file.
62856         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62857         tests.
62858         * math/test-snan.c (TEST_FUNC): Likewise.
62860 2013-03-30  David S. Miller  <davem@davemloft.net>
62862         * po/de.po: Update from translation team.
62864 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62866         [BZ #10357]
62867         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62868         imaginary part less than 1.0 and real part less than 0.5
62869         specially.
62870         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62871         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62872         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62873         (cacos_test): Add more tests.
62874         (casin_test): Likewise.
62875         (casinh_test): Likewise.
62876         * sysdeps/i386/fpu/libm-test-ulps: Update.
62877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62879 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62881         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62882         ONE with its value.
62884         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62885         (__pow_mp): Replace ONE and MONE with their values.
62886         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62887         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62888         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62889         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62890         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62891         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62893         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62895         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62896         (__pow_mp): Replace ZERO and MZERO with their values.
62897         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62898         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62899         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62900         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62901         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62902         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62903         (__sqr): Likewise.
62905         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62907         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62909 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62911         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62912         Declare with __attribute__ ((weak)).
62913         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62914         Call __call_tls_dtors only if it's not NULL.
62916 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62918         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62919         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62920         magic __ehdr_start linker symbol if it's defined.
62921         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62922         them up here if it was already done.
62924         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62925         (_dl_aux_init): Use const in cast when setting it.
62926         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62927         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62928         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62930         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62931         Declare them here.
62932         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62933         * csu/libc-tls.c: Nor here.
62934         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62936         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62937         (__libc_message): Never call vsyslog.
62939 2013-03-28  Alan Modra  <amodra@gmail.com>
62941         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62942         Define as empty.
62943         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62944         Likewise.
62946 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62948         [BZ #15214]
62949         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62950         underflow.
62951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62953 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62955         [BZ #15304]
62956         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62957         Don't add gid passed as argument.
62959         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62961 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62963         [BZ #15307]
62964         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62965         imaginary part between 1.0 and 1.5 and real part less than 0.5
62966         specially.
62967         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62968         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62969         * math/libm-test.inc (cacos_test): Add more tests.
62970         (casin_test): Likewise.
62971         (casinh_test): Likewise.
62972         * sysdeps/i386/fpu/libm-test-ulps: Update.
62973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62975 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62977         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62978         constants.
62979         (norm): Likewise.
62980         (denorm): Likewise.
62981         (__dbl_mp): Likewise.
62982         (add_magnitudes): Likewise.
62983         (sub_magnitudes): Likewise.
62984         (__add): Likewise.
62985         (__sub): Likewise.
62986         (__mul): Likewise.
62987         (__sqr): Likewise.
62988         (__inv): Likewise.
62989         (__dvd): Likewise.
62991         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
62992         commented code.
62993         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
62994         (__dubcos): Likewise.
62995         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
62996         (__ieee754_acos): Likewise.
62997         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62998         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
62999         (__exp1): Likewise.
63000         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63001         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63002         (log1): Likewise.
63003         (my_log2): Likewise.
63004         (checkint): Likewise.
63005         * sysdeps/ieee754/dbl-64/e_remainder.c
63006         (__ieee754_remainder): Likewise.
63007         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63008         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63009         (bsloww): Likewise.
63010         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63012         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63013         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63014         MANTISSA_STORE_T to store computations on mantissa.  Use
63015         macros for rounding and division.
63016         (denorm): Likewise.
63017         (__dbl_mp): Likewise.
63018         (add_magnitudes): Likewise.
63019         (sub_magnitudes): Likewise.
63020         (__mul): Likewise.
63021         (__sqr): Likewise.
63022         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63023         powers of two in terms of TWOPOW macro.
63024         (mp_no): Make type of mantissa as MANTISSA_T.
63025         [!RADIXI]: Define RADIXI.
63026         [!TWO52]: Define TWO52.
63027         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63029 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63031         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63032         llroundl symbol when building for PPC32.
63034 2013-03-24  Mark H Weaver  <mhw@netris.org>
63036         * manual/arith.texi (Normalization Functions): Fix prototypes for
63037         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63039 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63041         [BZ #13889]
63042         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63043         high value to check if expl overflow.
63044         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63045         to check for underflow and overflow.
63046         * math/libm-test.inc: Add exp test.
63048 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63050         [BZ #11120]
63051         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63052         with NOT_IN_libc.
63054 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63056         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63057         symbol.
63059 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63061         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63062         wrap blocks consisting of several statements.
63064         * sysdeps/generic/math-tests.h: New file.
63065         * sysdeps/i386/fpu/math-tests.h: Likewise.
63066         * math/test-snan.c: Include it.
63067         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63069 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63071         [BZ #15285]
63072         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63073         (__ieee754_j0l): Do not improve calculations using cos of twice
63074         input for inputs above LDBL_MAX / 2.0L.
63075         (__ieee754_y0l): Likewise.
63076         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63077         (__ieee754_j1l): Do not improve calculations using cos of twice
63078         input for inputs above LDBL_MAX / 2.0L.
63079         (__ieee754_y1l): Likewise.
63080         * math/libm-test.inc (j0_test): Add another test.
63081         (j1_test): Likewise.
63082         (y0_test): Likewise.
63083         (y1_test): Likewise.
63084         * sysdeps/i386/fpu/libm-test-ulps: Update.
63086 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63088         * Rules ($(objpfx)bench-%.c): Include code from a C source
63089         file.
63091 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63093         [BZ #15287]
63094         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63095         imaginary part 1.0 and real part less than 0.5 specially.
63096         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63097         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63098         * math/libm-test.inc (cacos_test): Add more tests.
63099         (casin_test): Likewise.
63100         (casinh_test): Likewise.
63101         * sysdeps/i386/fpu/libm-test-ulps: Update.
63102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63104 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63106         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63107         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63109 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63111         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63112         * config.make.in (config-cflags-sse4): Remove variable.
63113         (config-cflags-avx): Likewise.
63114         (config-cflags-sse2avx): Likewise.
63115         (config-cflags-novzeroupper): Likewise.
63116         (config-asflags-i686): Likewise.
63117         (have-mfma4): Likewise.
63118         (have-as-vis3): Likewise.
63119         (MIG): Likewise.
63120         * configure.in (MIG): Do not AC_SUBST.
63121         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63122         (libc_cv_cc_sse4): Do not AC_SUBST.
63123         (libc_cv_cc_avx): Likewise.
63124         (libc_cv_cc_sse2avx): Likewise.
63125         (libc_cv_cc_novzeroupper): Likewise.
63126         (libc_cv_cc_fma4): Likewise.
63127         (libc_cv_as_i686): Likewise.
63128         (libc_cv_sparc_as_vis3): Likewise.
63129         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63130         LIBC_CONFIG_VAR.
63131         (config-asflags-i686): Likewise.
63132         (config-cflags-avx): Likewise.
63133         (config-cflags-sse2avx): Likewise.
63134         (have-mfma4): Likewise.
63135         (config-cflags-novzeroupper): Likewise.
63136         * sysdeps/mach/configure.in (MIG): Likewise.
63137         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63138         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63139         LIBC_CONFIG_VAR.
63140         (config-cflags-avx): Likewise.
63141         (config-cflags-sse2avx): Likewise.
63142         (have-mfma4): Likewise.
63143         (config-cflags-novzeroupper): Likewise.
63144         * configure: Regenerated.
63145         * sysdeps/i386/configure: Likewise.
63146         * sysdeps/mach/configure: Likewise.
63147         * sysdeps/sparc/configure: Likewise.
63148         * sysdeps/x86_64/configure: Likewise.
63150 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63152         [BZ #14812]
63153         * locale/programs/localedef.c (options): Put N_ translation marker
63154         on argument names, not just descriptions.
63156 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63158         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63160 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63162         [BZ #14176]
63163         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63165 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63167         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63168         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63169         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63170         [!BEFORE_ABORT] (before_abort): New function.
63171         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63172         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63173         (writev_for_fatal): New function.
63174         (WRITEV_FOR_FATAL): New macro; call that.
63175         (backtrace_and_maps): New function.
63176         (BEFORE_ABORT): New macro; call that.
63177         (struct str_list): Type removed.
63178         (__libc_message, __libc_fatal): Functions removed.
63179         Include <sysdeps/posix/libc_fatal.c> instead.
63181 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63183         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63184         constants.
63185         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63186         double constants.
63188 2013-03-19  Andreas Schwab  <schwab@suse.de>
63190         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63191         * sysdeps/gnu/configure: Regenerate.
63193         * configure.in: Substitute libc_cv_rtlddir.
63194         * configure: Regenerate.
63195         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63196         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63197         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63198         * elf/Makefile (install-others, CFLAGS-interp.c)
63199         (ldso_install, common-ldd-rewrite): Likewise.
63200         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63201         $(inst_slibdir)/$(rtld-installed-name).
63202         * scripts/rellns-sh: Add -p option.
63203         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63204         for source.
63206 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63208         * manual/nptl.texi: Renamed to ...
63209         * manual/threads.texi: ... this.
63210         * manual/Makefile (chapters): Update.
63212 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63214         [BZ #14812]
63215         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63216         on argument names, not just descriptions.
63217         * malloc/memusagestat.c (options): Likewise.
63218         * nss/getent.c (options): Likewise.
63220 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63222         [BZ #14812]
63223         * iconv/iconv_prog.c (options): Put N_ translation marker
63224         on argument names, not just descriptions.
63225         * iconv/iconvconfig.c (options): Likewise.
63227 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63229         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63230         implementation which is faster on all x86_64 architectures.
63231         Tested on AMD, Intel Nehalem, SNB, IVB.
63232         * sysdeps/x86_64/strnlen.S: Likewise.
63234         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63235         Remove all multiarch strlen and strnlen versions.
63236         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63237         Remove strlen and strnlen related parts.
63239         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63240         Inline strlen part.
63241         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63243         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63244         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63245         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63246         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63247         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63248         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63250 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63252         * manual/memory.texi (Malloc Tunable Parameters):
63253         Sort parameters alphabetically. Add comments for missing entries.
63255 2013-03-17  David S. Miller  <davem@davemloft.net>
63257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63259 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63261         [BZ #15283]
63262         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63263         for arguments at most half maximum finite value.
63264         * math/libm-test.inc (j0_test): Add more tests.
63265         (j1_test): Likewise.
63266         (y0_test): Likewise.
63267         (y1_test): Likewise.
63268         * sysdeps/i386/fpu/libm-test-ulps: Update.
63269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63271         [BZ #14155]
63272         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63273         1 / x and functions P and Q for arguments above 0x1p256L.
63274         (__ieee754_y0l): Likewise.
63275         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63276         (__ieee754_y1l): Likewise.
63277         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63278         (j1_test): Likewise.
63279         (y0_test): Likewise.
63280         (y1_test): Likewise.
63282 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63284         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63285         variable.
63287 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63289         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63290         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63291         zero since it's initialized to EXEC_PAGESIZE.
63293         * sysdeps/unix/sysv/linux/ldsodefs.h
63294         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63295         * sysdeps/generic/ldsodefs.h: ... here.
63297 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63299         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63301         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63302         math/test-snan.c.
63303         * math/test-snan.c: Renamed from
63304         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63305         * math/Makefile (tests): Add test-snan.
63306         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63307         test-powerpc-snan.
63309         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63310         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63311         functions.
63312         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63313         __builtin_nan family of functions.
63314         * math/libm-test.inc (initialize): Initialize qnan_value with
63315         __builtin_nan family of functions.
63316         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63317         Remove variables.
63318         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63319         Remove functions.
63320         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63321         storage class.  Initialize qNaN_var and sNaN_var with
63322         __builtin_nan and __builtin_nans families of functions,
63323         respectively.
63325         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63326         (sqrt_test): Remove duplicate test with qNaN input.
63327         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63328         (round_test, signbit_test, significand_test): Note missing +/-Inf
63329         as well as qNaN tests.
63331         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63332         qNaN_var.  Fix a few strings, too.
63333         * math/libm-test.inc (nan_value): Rename to qnan_value.
63334         * math/gen-libm-test.pl (%beautify): Adjust to that.
63335         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63336         * math/test-misc.c (main): Likewise.
63337         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63338         to __qnan_bytes, and __qnan_union, respectively.
63339         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63340         Likewise.
63341         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63342         and lqnanval, respectively.
63343         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63344         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63345         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63346         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63348         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63349         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63350         doubles.
63352         * math/test-misc.c (main): Fix copy'n'pastos.
63353         * misc/tst-efgcvt.c (special): Likewise.
63355         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63356         Remove declarations.
63358 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63360         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63361         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63362         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63363         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63365 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63367         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63368         macro to return vdso values correctly in IFUNC implementations.
63369         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63370         Optimization by using IFUNC.
63372 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63373             Richard Henderson  <rth@redhat.com>
63374             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63376         * Makefile.in (bench): New target.
63377         * NEWS: Mention the benchmark framework.
63378         * Rules (bench): Likewise.
63379         (binaries-bench): Generate binaries for functions to
63380         benchmark.
63381         * benchtests/Makefile: New makefile for benchmark tests.
63382         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63383         programs.
63384         * benchtests/exp-inputs: New input file for EXP function.
63385         * benchtests/pow-inputs: New input file for POW function.
63386         * scripts/bench.pl: New script to generate source files for
63387         benchmark programs.
63389 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63391         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63392         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63393         computations on mantissa.  Use macros for rounding and
63394         division.
63395         (denorm): Likewise.
63396         (__dbl_mp): Likewise.
63397         (add_magnitudes): Likewise.
63398         (sub_magnitudes): Likewise.
63399         (__mul): Likewise.
63400         (__sqr): Likewise.
63401         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63402         powers of two in terms of TWOPOW macro.
63403         (mp_no): Make type of mantissa as MANTISSA_T.
63404         [!RADIXI]: Define RADIXI.
63405         [!TWO52]: Define TWO52.
63406         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63408         * manual/nptl.texi (cindex): Modify threads to pthreads.
63410 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63412         * sysdeps/x86_64/preconfigure: Regenerated.
63414 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63416         [BZ #14155]
63417         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63418         0x1p28 and above.
63419         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63420         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63421         0x1p28 and above.
63422         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63423         * math/libm-test.inc (j0_test): Do not allow one spurious
63424         underflow exception.
63425         (y1_test): Likewise.
63427 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63429         * manual/Makefile (chapters): Add nptl.
63430         * manual/debug.texi (Debugging Support): Add link to Threads
63431         chapter.
63432         * manual/nptl.texi: New file.
63434         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63436 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63438         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63439         for non-NULL pointer before the memory validity test. Pointed
63440         out by Holger Brunck <holger.brunck@keymile.com>.
63442 2013-03-13  Andreas Schwab  <schwab@suse.de>
63444         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63445         instead of .os.
63447 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63449         * timezone/zic.c: Update from tzcode 2013b.
63451 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63453         * manual/install.texi (Configuring and compiling):
63454         Mention i686 and i586.
63455         * INSTALL: Regenerate.
63457 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63459         * sysdeps/init_array/elf-init.c: New file.
63460         * csu/elf-init.c
63461         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63462         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63464         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63465         __gmon_start__ as global, but as static with a .preinit_array pointer.
63466         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63467         * sysdeps/init_array/crti.S: New file, empty except for comments.
63468         * sysdeps/init_array/crtn.S: Likewise.
63470 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63472         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63473         definining bcopy.
63474         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63475         Remove Prefer_SSE_for_memop.
63476         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63477         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63478         HAS_PREFER_SSE_FOR_MEMOP.
63479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63480         memset-x86-64.
63481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63482         Remove bzero, memset ifunc support.
63483         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63484         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63485         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63486         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63488 2013-03-11  Andreas Schwab  <schwab@suse.de>
63490         [BZ #15234]
63491         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63492         by SHLIB_COMPAT.
63493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63494         (GLIBC_2.16): Remove pthread_atfork.
63496 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63498         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63499         (ptestcases.h): Likewise.
63501 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63503         * Makeconfig ($(common-objpfx)config.status): Depend on
63504         sysdeps/*/preconfigure{,.in} too.
63506 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63508         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63509         (__free_hook): Use void * instead of __malloc_ptr_t.
63510         (__malloc_hook): Likewise.
63511         (__realloc_hook): Likewise.
63512         (__memalign_hook): Likewise.
63513         (__after_morecore_hook): Likewise.
63514         * malloc/arena.c (save_malloc_hook): Likewise.
63515         (save_free_hook): Likewise.
63516         * malloc/hooks.c (malloc_hook_ini): Likewise.
63517         (realloc_hook_ini): Likewise.
63518         (memalign_hook_ini): Likewise.
63519         * malloc/malloc.c (malloc_hook_ini): Likewise.
63520         (realloc_hook_ini): Likewise.
63521         (memalign_hook_ini): Likewise.
63522         (__free_hook): Likewise.
63523         (__malloc_hook): Likewise.
63524         (__realloc_hook): Likewise.
63525         (__memalign_hook): Likewise.
63526         (__libc_malloc): Likewise.
63527         (__libc_free): Likewise.
63528         (__libc_realloc): Likewise.
63529         (__libc_memalign): Likewise.
63530         (__libc_valloc): Likewise.
63531         (__libc_pvalloc): Likewise.
63532         (__libc_calloc): Likewise.
63533         (__posix_memalign): Likewise.
63534         * malloc/morecore.c (__sbrk): Likewise.
63535         (__default_morecore): Likewise.
63537         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63539         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63540         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63541         __malloc_ptrdiff_t.
63543         * malloc/malloc.h (__malloc_size_t): Remove macro.
63544         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63545         __malloc_size_t.
63546         (old_memalign_hook): Likewise.
63547         (old_realloc_hook): Likewise.
63548         (struct hdr): Likewise.
63549         (flood): Likewise.
63550         (mallochook): Likewise.
63551         (memalignhook): Likewise.
63552         (reallochook): Likewise.
63553         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63554         (tr_old_realloc_hook): Likewise.
63555         (tr_old_memalign_hook): Likewise.
63556         (tr_mallochook): Likewise.
63557         (tr_reallochook): Likewise.
63558         (tr_memalignhook): Likewise.
63560 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63562         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63563         default_ldbl_pack and using as default implementation.
63564         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63565         implementation.
63566         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63567         redundant definition.
63568         (ldbl_insert_mantissa): Likewise.
63569         (ldbl_canonicalize): Likewise.
63570         (ldbl_nearbyint): Likewise.
63571         (ldbl_pack): Rename to ldbl_pack_ppc.
63572         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63573         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63574         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63576 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63579         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63580         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63581         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63583         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63584         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63585         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63587 2013-03-07  Andreas Jaeger  <aj@suse.de>
63589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63590         bits/mman-linux.h.
63592 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63594         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63595         Include mpa.h and declare __MPEXP.
63596         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63597         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63598         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63599         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63600         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63601         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63602         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63604         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63605         (__slowpow): Use long double EXPL and LOGL functions to
63606         compute POW.
63607         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63608         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63609         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63610         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63611         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63612         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63615         intermediate variable to calculate exponent.
63616         (__sqr): Likewise.
63617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63618         Likewise.
63619         (__sqr): Likewise.
63621         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63622         [!NO__SQR]: Define __sqr.
63623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63624         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63625         sysdeps/ieee754/dbl-64/mpa.c.
63626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63628         [BZ #12723]
63629         * posix/Makefile (tests): Add tst-pathconf.
63630         * posix/tst-pathconf.c: New test case.
63631         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63632         _PC_PIPE_BUF.
63633         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63635 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63637         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63639 2013-03-06  Andreas Jaeger  <aj@suse.de>
63641         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63642         definition via __MAP_ANONYMOUS.
63644         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63645         it's not part of Linux headers.
63647         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63648         (MAP_HUGE_MASK): Define.
63650         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63651         Define.
63652         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63653         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63654         Define.
63655         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63656         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63657         Define.
63658         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63659         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63660         Define.
63661         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63663         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63664         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63665         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63666         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63667         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63668         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63670         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63671         Handle f2fs.
63673         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63674         Handle f2fs and efivarfs.
63676         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63677         f2fs.
63679         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63680         (EFIVARFS_MAGIC): Add.
63681         (F2FS_LINK_MAX): Add.
63683 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63685         * stdio-common/vfprintf.c: Replace __builtin_expect with
63686         __glibc_unlikely.
63688 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63690         [BZ #13550]
63691         * sysdeps/generic/bp-sym.h: Remove file.
63692         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63693         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63694         <bp-sym.h> and <bp-asm.h>.
63695         (__longjmp): Don't use BP_SYM.
63696         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63697         and <bp-asm.h>.
63698         (memcpy): Don't use BP_SYM.
63699         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63700         <bp-sym.h> and <bp-asm.h>.
63701         (memcpy): Don't use BP_SYM.
63702         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63703         <bp-asm.h>.
63704         (memcpy): Don't use BP_SYM.
63705         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63706         <bp-asm.h>.
63707         (memset): Don't use BP_SYM.
63708         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63709         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63710         (__bzero): Don't use BP_SYM.
63711         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63712         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63713         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63714         <bp-sym.h> and <bp-asm.h>.
63715         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63716         pointers.
63717         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63718         <bp-sym.h> and <bp-asm.h>.
63719         (memcpy): Don't use BP_SYM.
63720         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63721         <bp-sym.h> and <bp-asm.h>.
63722         (memset): Don't use BP_SYM.
63723         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63724         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63725         (__bzero): Don't use BP_SYM.
63726         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63727         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63728         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
63729         <bp-sym.h> and <bp-asm.h>.
63730         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63731         pointers.
63732         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63733         <bp-sym.h> and <bp-asm.h>.
63734         (memcpy): Don't use BP_SYM.
63735         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63736         <bp-sym.h> and <bp-asm.h>.
63737         (memset): Don't use BP_SYM.
63738         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63739         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63740         (__bzero): Don't use BP_SYM.
63741         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63742         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63743         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63744         <bp-sym.h> and <bp-asm.h>.
63745         (__memchr): Don't use BP_SYM.
63746         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63747         <bp-sym.h> and <bp-asm.h>.
63748         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63749         pointers.
63750         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63751         <bp-sym.h> and <bp-asm.h>.
63752         (memcpy): Don't use BP_SYM.
63753         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63754         <bp-sym.h> and <bp-asm.h>.
63755         (__mempcpy): Don't use BP_SYM.
63756         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63757         <bp-sym.h> and <bp-asm.h>.
63758         (__memrchr): Don't use BP_SYM.
63759         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63760         <bp-sym.h> and <bp-asm.h>.
63761         (memset): Don't use BP_SYM.
63762         (__bzero): Likewise.
63763         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63764         <bp-sym.h> and <bp-asm.h>.
63765         (__rawmemchr): Don't use BP_SYM.
63766         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63767         <bp-sym.h> and <bp-asm.h>.
63768         (__STRCMP): Don't use BP_SYM.
63769         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63770         <bp-sym.h> and <bp-asm.h>.
63771         (strchr): Don't use BP_SYM.
63772         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63773         <bp-sym.h> and <bp-asm.h>.
63774         (__strchrnul): Don't use BP_SYM.
63775         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63776         <bp-sym.h> and <bp-asm.h>.
63777         (strlen): Don't use BP_SYM.
63778         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63779         <bp-sym.h> and <bp-asm.h>.
63780         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63781         pointers.
63782         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63783         <bp-sym.h> and <bp-asm.h>.
63784         (__strnlen): Don't use BP_SYM.
63785         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63786         <bp-sym.h> and <bp-asm.h>.
63787         (__GI__setjmp): Don't use BP_SYM.
63788         (_setjmp): Likewise.
63789         (__sigsetjmp): Likewise.
63790         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63791         (L(start_addresses)): Don't use BP_SYM.
63792         (_start): Likewise.
63793         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63794         <bp-asm.h>.
63795         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63796         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63797         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63798         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63799         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63800         <bp-asm.h>.
63801         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63802         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63803         about bounded pointers.
63804         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63805         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63806         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63807         <bp-asm.h>.
63808         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63809         about bounded pointers.  Remove GKM FIXME comments.
63810         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63811         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63812         <bp-asm.h>.
63813         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63814         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63815         Remove GKM FIXME comments.
63816         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63817         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63818         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63819         <bp-asm.h>.
63820         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63821         about bounded pointers.  Remove GKM FIXME comment.
63822         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63823         and <bp-asm.h>.
63824         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63825         pointers.
63826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63827         <bp-sym.h> and <bp-asm.h>.
63828         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63830         <bp-sym.h> and <bp-asm.h>.
63831         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63832         comment.
63834 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63836         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63837         call free(NULL).
63839 2013-03-05  David S. Miller  <davem@davemloft.net>
63841         * po/es.po: Update from translation team.
63843 2013-03-05  Andreas Jaeger  <aj@suse.de>
63845         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63846         <bits/mman-linux.h>.
63847         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63848         is fine.
63849         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63850         <bits/mman-linux.h> to end of file.
63851         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63852         is fine.
63853         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63854         <bits/mman-linux.h> to end of file.
63855         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63856         is fine.
63857         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63858         <bits/mman-linux.h> to end of file.
63860         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63861         (MCL_CURRENT, MCL_FUTURE): Define here.
63863 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63865         [BZ #15232]
63866         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63867         attribute_hidden.
63868         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63870 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63872         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63873         fourth parameter needed for rt_sigprocmask syscall.
63874         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63875         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63876         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63877         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63878         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63879         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63881 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63883         [BZ #13550]
63884         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63885         comment about bounded pointers.
63886         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63887         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63889 2013-03-04  Andreas Jaeger  <aj@suse.de>
63891         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63892         common definitions.
63894         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63895         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63896         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63897         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63898         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63899         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63901 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63903         [BZ #15055]
63904         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63905         __ieee754_sqrl instead of __sqrl.
63907 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63909         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63910         * sysdeps/powerpc/fpu_control.h: ... here.
63911         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63912         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63913         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63914         * sysdeps/powerpc/bits/mathinline.h: ... here.
63916 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63918         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63919         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63920         to just [NEED_DL_SYSINFO_DSO].
63921         * elf/dl-support.c: Likewise.
63922         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63923         * elf/rtld.c (dl_main): Likewise.
63924         * elf/setup-vdso.h (setup_vdso): Likewise.
63925         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63926         * sysdeps/unix/sysv/linux/dl-sysdep.c
63927         (_dl_discover_osversion): Likewise.
63929 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63931         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63932         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63934 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63936         * NEWS: Mention libm performance improvements and non-x86 PI
63937         futex support.
63939         * csu/libc-start.c (__pthread_initialize_minimal): Change
63940         function arguments.
63941         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63943 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63945         [BZ #13550]
63946         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63947         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63948         <bp-sym.h> and <bp-asm.h>.
63949         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63950         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63951         and <bp-asm.h>.
63952         (memcpy): Don't use BP_SYM.
63953         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63954         <bp-asm.h>.
63955         (__mpn_add_n): Don't use BP_SYM.
63956         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63957         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63958         and <bp-asm.h>.
63959         (__mpn_addmul_1): Don't use BP_SYM.
63960         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63961         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63962         <bp-sym.h>.
63963         (_setjmp): Don't use BP_SYM.
63964         (__novmx_setjmp): Likewise.
63965         (__GI__setjmp): Likewise.
63966         (__vmx_setjmp): Likewise.
63967         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63968         <bp-sym.h>.
63969         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63970         (__bzero): Don't use BP_SYM.
63971         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63972         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63973         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63974         <bp-sym.h> and <bp-asm.h>.
63975         (memcpy): Don't use BP_SYM.
63976         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63977         <bp-sym.h> and <bp-asm.h>.
63978         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63979         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63980         <bp-sym.h> and <bp-asm.h>.
63981         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63982         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63983         <bp-asm.h>.
63984         (__mpn_lshift): Don't use BP_SYM.
63985         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63986         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63987         <bp-asm.h>.
63988         (memset): Don't use BP_SYM.
63989         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63990         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63991         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
63992         <bp-asm.h>.
63993         (__mpn_mul_1): Don't use BP_SYM.
63994         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63995         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
63996         <bp-sym.h> and <bp-asm.h>.
63997         (memcmp): Don't use BP_SYM.
63998         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
63999         <bp-sym.h> and <bp-asm.h>.
64000         (memcpy): Don't use BP_SYM.
64001         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64002         <bp-sym.h> and <bp-asm.h>.
64003         (memset): Don't use BP_SYM.
64004         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64005         <bp-sym.h> and <bp-asm.h>.
64006         (strncmp): Don't use BP_SYM.
64007         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64008         <bp-sym.h> and <bp-asm.h>.
64009         (memcpy): Don't use BP_SYM.
64010         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64011         <bp-sym.h> and <bp-asm.h>.
64012         (memset): Don't use BP_SYM.
64013         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64014         <bp-sym.h> and <bp-asm.h>.
64015         (__memchr): Don't use BP_SYM.
64016         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64017         <bp-sym.h> and <bp-asm.h>.
64018         (memcmp): Don't use BP_SYM.
64019         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64020         <bp-sym.h> and <bp-asm.h>.
64021         (memcpy): Don't use BP_SYM.
64022         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64023         <bp-sym.h> and <bp-asm.h>.
64024         (__mempcpy): Don't use BP_SYM.
64025         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64026         <bp-sym.h> and <bp-asm.h>.
64027         (__memrchr): Don't use BP_SYM.
64028         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64029         <bp-sym.h> and <bp-asm.h>.
64030         (memset): Don't use BP_SYM.
64031         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64032         <bp-sym.h> and <bp-asm.h>.
64033         (__rawmemchr): Don't use BP_SYM.
64034         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64035         <bp-sym.h> and <bp-asm.h>.
64036         (__STRCMP): Don't use BP_SYM.
64037         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64038         <bp-sym.h> and <bp-asm.h>.
64039         (strchr): Don't use BP_SYM.
64040         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64041         <bp-sym.h> and <bp-asm.h>.
64042         (__strchrnul): Don't use BP_SYM.
64043         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64044         <bp-sym.h> and <bp-asm.h>.
64045         (strlen): Don't use BP_SYM.
64046         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64047         <bp-sym.h> and <bp-asm.h>.
64048         (strncmp): Don't use BP_SYM.
64049         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64050         <bp-sym.h> and <bp-asm.h>.
64051         (__strnlen): Don't use BP_SYM.
64052         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64053         <bp-asm.h>.
64054         (__mpn_rshift): Don't use BP_SYM.
64055         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64056         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64057         <bp-sym.h> and <bp-asm.h>.
64058         (__sigsetjmp): Don't use BP_SYM.
64059         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64060         (L(start_addresses)): Don't use BP_SYM.
64061         (_start): Likewise.
64062         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64063         <bp-asm.h>.
64064         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64065         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64066         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64067         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64068         <bp-asm.h>.
64069         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64070         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64071         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64072         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64073         <bp-asm.h>.
64074         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64075         comments.
64076         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64077         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64078         <bp-asm.h>.
64079         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64080         FIXME comments.
64081         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64082         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64083         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64084         <bp-asm.h>.
64085         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64086         comment.
64087         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64088         and <bp-asm.h>.
64089         (strncmp): Don't use BP_SYM,
64090         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64091         <bp-asm.h>.
64092         (__mpn_sub_n): Don't use BP_SYM.
64093         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64094         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64095         and <bp-asm.h>.
64096         (__mpn_submul_1): Don't use BP_SYM.
64097         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64099         <bp-sym.h> and <bp-asm.h>.
64100         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64102         <bp-sym.h> and <bp-asm.h>.
64103         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64104         comment.
64106 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64108         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64109         Use ZK to minimize writes to Z.
64110         (sub_magnitudes): Simplify code a bit.
64111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64112         Use ZK to minimize writes to Z.
64113         (sub_magnitudes): Simplify code a bit.
64115 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64117         * csu/gmon-start.c: Add special exception to license text.
64119 2013-02-27  Richard Henderson  <rth@redhat.com>
64121         * scripts/config.guess: Update from config.git.
64122         * scripts/config.sub: Likewise.
64124 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64126         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64128         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64130         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64132         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64134         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64136 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64138         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64139         [$(build-shared = yes].
64141 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64143         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64144         (__mul): Reduce iterations for calculating mantissa.
64146         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64147         MPTWO.
64148         (__mpranred): Likewise.
64150         [BZ #15160]
64151         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64152         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64154 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64156         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64157         Define __attribute__.
64159 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64161         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64162         unused.
64163         * posix/regex_internal.h (__attribute): Remove.
64164         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64165         (re_string_context_at): Likewise.
64166         (bitset_not): Use __attribute__ and mark function as possibly
64167         unused.
64168         (bitset_merge): Likewise.
64169         (bitset_mask): Likewise.
64170         (re_string_char_size_at): Likewise.
64171         (re_string_wchar_at): Likewise.
64172         (re_string_elem_size_at): Likewise.
64174 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64176         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64177         code.
64178         (cc32): Likewise.
64180         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64181         (__acr): Likewise.
64182         (__cpy): Likewise.
64183         (norm): Likewise.
64184         (denorm): Likewise.
64185         (__dbl_mp): Likewise.
64186         (add_magnitudes): Likewise.
64187         (sub_magnitudes): Likewise.
64188         (__mul): Likewise.
64189         (__inv): Likewise.
64191         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64192         style.
64194         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64195         style.
64197         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64198         code.
64200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64201         up changes with default code.
64202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64203         Likewise.
64205 2013-02-24  Allan McRae  <allan@archlinux.org>
64207         * manual/socket.texi (The Internet Namespace): Order menu items
64208         to match that in the file.
64210         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64211         node listing of the info page menu.
64213 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64215         [BZ #13550]
64216         * sysdeps/i386/bp-asm.h: Remove file.
64217         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64218         (PARMS): Do not use macros from bp-asm.h.
64219         (S1): Likewise.
64220         (S2): Likewise.
64221         (SIZE): Likewise.
64222         (__mpn_add_n): Do not use BP_SYM
64223         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64224         "bp-asm.h".
64225         (PARMS): Do not use macros from bp-asm.h.
64226         (S1): Likewise.
64227         (SIZE): Likewise.
64228         (__mpn_addmul_1): Do not use BP_SYM
64229         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64230         "bp-asm.h".
64231         (PARMS): Do not use macros from bp-asm.h.
64232         (SIGMSK): Likewise.
64233         (_setjmp): Likewise.  Do not use BP_SYM.
64234         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64235         "bp-asm.h".
64236         (PARMS): Do not use macros from bp-asm.h.
64237         (SIGMSK): Likewise.
64238         (setjmp): Likewise.  Do not use BP_SYM.
64239         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64240         "bp-asm.h".
64241         (PARMS): Do not use macros from bp-asm.h.
64242         (__frexp): Do not use BP_SYM.
64243         (frexp): Likewise.
64244         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64245         "bp-asm.h".
64246         (PARMS): Do not use macros from bp-asm.h.
64247         (__frexpf): Do not use BP_SYM.
64248         (frexpf): Likewise.
64249         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64250         "bp-asm.h".
64251         (PARMS): Do not use macros from bp-asm.h.
64252         (__frexpl): Do not use BP_SYM.
64253         (frexpl): Likewise.
64254         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64255         "bp-asm.h".
64256         (PARMS): Do not use macros from bp-asm.h.
64257         (__remquo): Do not use BP_SYM.
64258         (remquo): Likewise.
64259         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64260         "bp-asm.h".
64261         (PARMS): Do not use macros from bp-asm.h.
64262         (__remquof): Do not use BP_SYM.
64263         (remquof): Likewise.
64264         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64265         "bp-asm.h".
64266         (PARMS): Do not use macros from bp-asm.h.
64267         (__remquol): Do not use BP_SYM.
64268         (remquol): Likewise.
64269         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64270         "bp-asm.h".
64271         (PARMS): Do not use macros from bp-asm.h.
64272         (DEST): Likewise.
64273         (SRC): Likewise.
64274         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64275         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64276         "bp-asm.h".
64277         (PARMS): Do not use macros from bp-asm.h.
64278         (strlen): Do not use BP_SYM.
64279         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64280         "bp-asm.h".
64281         (PARMS): Do not use macros from bp-asm.h.
64282         (S1): Likewise.
64283         (S2): Likewise.
64284         (SIZE): Likewise.
64285         (__mpn_add_n): Do not use BP_SYM.
64286         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64287         "bp-asm.h".
64288         (PARMS): Do not use macros from bp-asm.h.
64289         (S1): Likewise.
64290         (SIZE): Likewise.
64291         (__mpn_addmul_1): Do not use BP_SYM.
64292         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64293         weak_alias.
64294         (bzero): Likewise.
64295         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64296         "bp-asm.h".
64297         (PARMS): Do not use macros from bp-asm.h.
64298         (S): Likewise.
64299         (SIZE): Likewise.
64300         (__mpn_lshift): Do not use BP_SYM.
64301         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64302         "bp-asm.h".
64303         (PARMS): Do not use macros from bp-asm.h.
64304         (DEST): Likewise.
64305         (SRC): Likewise.
64306         (LEN): Likewise.
64307         (memcpy): Likewise.  Do not use BP_SYM.
64308         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64309         libc_hidden_def and weak_alias.
64310         (mempcpy): Do not use BP_SYM in weak_alias.
64311         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64312         "bp-asm.h".
64313         (PARMS): Do not use macros from bp-asm.h.
64314         (DEST): Likewise.
64315         (LEN): Likewise.
64316         [!BZERO_P] (CHR): Likewise.
64317         (memset): Likewise.  Do not use BP_SYM.
64318         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64319         "bp-asm.h".
64320         (PARMS): Do not use macros from bp-asm.h.
64321         (S1): Likewise.
64322         (SIZE): Likewise.
64323         (__mpn_mul_1): Do not use BP_SYM.
64324         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64325         "bp-asm.h".
64326         (PARMS): Do not use macros from bp-asm.h.
64327         (S): Likewise.
64328         (SIZE): Likewise.
64329         (__mpn_rshift): Do not use BP_SYM.
64330         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64331         "bp-asm.h".
64332         (PARMS): Do not use macros from bp-asm.h.
64333         (STR): Likewise.
64334         (CHR): Likewise.
64335         (strchr): Likewise.  Do not use BP_SYM.
64336         (index): Do not use BP_SYM in weak_alias.
64337         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64338         "bp-asm.h".
64339         (PARMS): Do not use macros from bp-asm.h.
64340         (DEST): Likewise.
64341         (SRC): Likewise.
64342         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64343         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64344         "bp-asm.h".
64345         (PARMS): Do not use macros from bp-asm.h.
64346         (strlen): Do not use BP_SYM.
64347         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64348         "bp-asm.h".
64349         (PARMS): Do not use macros from bp-asm.h.
64350         (S1): Likewise.
64351         (S2): Likewise.
64352         (SIZE): Likewise.
64353         (__mpn_sub_n): Do not use BP_SYM.
64354         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64355         "bp-asm.h".
64356         (PARMS): Do not use macros from bp-asm.h.
64357         (S1): Likewise.
64358         (SIZE): Likewise.
64359         (__mpn_submul_1): Do not use BP_SYM.
64360         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64361         "bp-asm.h".
64362         (PARMS): Do not use macros from bp-asm.h.
64363         (S1): Likewise.
64364         (S2): Likewise.
64365         (SIZE): Likewise.
64366         (__mpn_add_n): Do not use BP_SYM.
64367         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64368         weak_alias.
64369         (bzero): Likewise.
64370         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64371         "bp-asm.h".
64372         (PARMS): Do not use macros from bp-asm.h.
64373         (BLK2): Likewise.
64374         (LEN): Likewise.
64375         (memcmp): Do not use BP_SYM.
64376         (bcmp): Do not use BP_SYM in weak_alias.
64377         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64378         "bp-asm.h".
64379         (PARMS): Do not use macros from bp-asm.h.
64380         (DEST): Likewise.
64381         (SRC): Likewise.
64382         (LEN): Likewise.
64383         (memcpy): Likewise.  Do not use BP_SYM.
64384         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64385         "bp-asm.h".
64386         (PARMS): Do not use macros from bp-asm.h.
64387         (DEST): Likewise.
64388         (SRC): Likewise.
64389         (LEN): Likewise.
64390         (memmove): Likewise.  Do not use BP_SYM.
64391         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64392         "bp-asm.h".
64393         (PARMS): Do not use macros from bp-asm.h.
64394         (DEST): Likewise.
64395         (SRC): Likewise.
64396         (LEN): Likewise.
64397         (__mempcpy): Likewise.  Do not use BP_SYM.
64398         (mempcpy): Do not use BP_SYM in weak_alias.
64399         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64400         "bp-asm.h".
64401         (PARMS): Do not use macros from bp-asm.h.
64402         (DEST): Likewise.
64403         (LEN): Likewise.
64404         [!BZERO_P] (CHR): Likewise.
64405         (memset): Likewise.  Do not use BP_SYM.
64406         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64407         "bp-asm.h".
64408         (PARMS): Do not use macros from bp-asm.h.
64409         (STR2): Likewise.
64410         (strcmp): Do not use BP_SYM.
64411         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64412         "bp-asm.h".
64413         (PARMS): Do not use macros from bp-asm.h.
64414         (STR): Likewise.
64415         (DELIM): Likewise.
64416         [USE_AS_STRTOK_R] (SAVE): Likewise.
64417         (FUNCTION): Likewise.  Do not use BP_SYM.
64418         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64419         aliases.
64420         (strtok_r): Likewise.
64421         (__GI___strtok_r): Likewise.
64422         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64423         (PARMS): Do not use macros from bp-asm.h.
64424         (S): Likewise.
64425         (SIZE): Likewise.
64426         (__mpn_lshift): Do not use BP_SYM.
64427         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64428         (PARMS): Do not use macros from bp-asm.h.
64429         (STR): Likewise.
64430         (CHR): Likewise.
64431         (__memchr): Do not use BP_SYM.
64432         (memchr): Do not use BP_SYM in weak_alias.
64433         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64434         (PARMS): Do not use macros from bp-asm.h.
64435         (BLK2): Likewise.
64436         (LEN): Likewise.
64437         (memcmp): Do not use BP_SYM.
64438         (bcmp): Do not use BP_SYM in weak_alias.
64439         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64440         (PARMS): Do not use macros from bp-asm.h.
64441         (S1): Likewise.
64442         (SIZE): Likewise.
64443         (__mpn_mul_1): Do not use BP_SYM.
64444         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64445         "bp-asm.h".
64446         (PARMS): Do not use macros from bp-asm.h.
64447         (STR): Likewise.
64448         (CHR): Likewise.
64449         (__rawmemchr): Do not use BP_SYM.
64450         (rawmemchr): Do not use BP_SYM in weak_alias.
64451         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64452         (PARMS): Do not use macros from bp-asm.h.
64453         (S): Likewise.
64454         (SIZE): Likewise.
64455         (__mpn_rshift): Do not use BP_SYM.
64456         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64457         (PARMS): Do not use macros from bp-asm.h.
64458         (SIGMSK): Likewise.
64459         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64460         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64461         (_start): Do not use BP_SYM.
64462         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64463         (PARMS): Do not use macros from bp-asm.h.
64464         (DEST): Likewise.
64465         (SRC): Likewise.
64466         (__stpcpy): Likewise.  Do not use BP_SYM.
64467         (stpcpy): Do not use BP_SYM in weak_alias.
64468         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64469         "bp-asm.h".
64470         (PARMS): Do not use macros from bp-asm.h.
64471         (DEST): Likewise.
64472         (SRC): Likewise.
64473         (LEN): Likewise.
64474         (__stpncpy): Likewise.  Do not use BP_SYM.
64475         (stpncpy): Do not use BP_SYM in weak_alias.
64476         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64477         (PARMS): Do not use macros from bp-asm.h.
64478         (STR): Likewise.
64479         (CHR): Likewise.
64480         (strchr): Likewise.  Do not use BP_SYM.
64481         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64482         "bp-asm.h".
64483         (PARMS): Do not use macros from bp-asm.h.
64484         (STR): Likewise.
64485         (CHR): Likewise.
64486         (__strchrnul): Likewise.  Do not use BP_SYM.
64487         (strchrnul): Do not use BP_SYM in weak_alias.
64488         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64489         "bp-asm.h".
64490         (PARMS): Do not use macros from bp-asm.h.
64491         (STOP): Likewise.
64492         (strcspn): Do not use BP_SYM.
64493         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64494         "bp-asm.h".
64495         (PARMS): Do not use macros from bp-asm.h.
64496         (STR): Likewise.
64497         (STOP): Likewise.
64498         (strpbrk): Likewise.  Do not use BP_SYM.
64499         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64500         "bp-asm.h".
64501         (PARMS): Do not use macros from bp-asm.h.
64502         (STR): Likewise.
64503         (CHR): Likewise.
64504         (strrchr): Likewise.  Do not use BP_SYM.
64505         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64506         (PARMS): Do not use macros from bp-asm.h.
64507         (SKIP): Likewise.
64508         (strspn): Do not use BP_SYM.
64509         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64510         (PARMS): Do not use macros from bp-asm.h.
64511         (STR): Likewise.
64512         (DELIM): Likewise.
64513         (SAVE): Likewise.
64514         (FUNCTION): Likewise.  Do not use BP_SYM.
64515         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64516         aliases.
64517         (strtok_r): Likewise.
64518         (__GI___strtok_r): Likewise.
64519         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64520         (PARMS): Do not use macros from bp-asm.h.
64521         (S1): Likewise.
64522         (S2): Likewise.
64523         (SIZE): Likewise.
64524         (__mpn_sub_n): Do not use BP_SYM.
64525         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64526         "bp-asm.h".
64527         (PARMS): Do not use macros from bp-asm.h.
64528         (S1): Likewise.
64529         (SIZE): Likewise.
64530         (__mpn_submul_1): Do not use BP_SYM.
64531         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64532         <bp-sym.h>.
64533         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64534         and <bp-asm.h>.
64535         (PARMS): Do not use macros from bp-asm.h.
64536         (FLAGS): Likewise.
64537         (PTID): Likewise.
64538         (TLS): Likewise.
64539         (CTID): Likewise.
64540         (__clone): Do not use BP_SYM.
64541         (clone): Do not use BP_SYM in weak_alias.
64542         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64543         and <bp-asm.h>.
64544         (PARMS): Do not use macros from bp-asm.h.
64545         (LEN): Likewise.
64546         (__mmap64): Do not use BP_SYM.
64547         (mmap64): Do not use BP_SYM in weak_alias.
64548         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64549         <bp-sym.h> and <bp-asm.h>.
64550         (PARMS): Do not use macros from bp-asm.h.
64551         (__posix_fadvise64_l64): Do not use BP_SYM.
64552         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64553         (PARMS): Do not use macros from bp-asm.h.
64554         (NSOPS): Likewise.
64555         (semtimedop): Do not use BP_SYM.
64556         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64557         and <bp-asm.h>.
64559 2013-02-21  Allan McRae  <allan@archlinux.org>
64561         * manual/message.texi (Charset conversion in gettext):
64562         Move @end statement to beginning of line.
64564 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64566         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64567         static.
64568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64569         Likewise.
64571         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64572         (denorm): Likewise.
64573         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64576 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64578         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64579         tail-call to the resolved function if pltexit isn't needed.
64581 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64584         or Y being zero as being unlikely.
64585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64586         Likewise.
64588 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64590         * manual/nss.texi (System Databases and Name Service Switch):
64591         Remove frobnicate @pxref.
64593 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64595         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64596         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64598 2013-02-20  Petr Machata  <pmachata@redhat.com>
64600         * elf/elf.h (R_ARM_TARGET1): New macro.
64601         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64602         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64603         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64604         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64605         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64606         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64607         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64608         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64609         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64610         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64611         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64612         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64613         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64614         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64615         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64616         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64617         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64618         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64619         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64620         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64621         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64622         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64623         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64624         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64625         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64626         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64627         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64628         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64629         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64630         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64631         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64632         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64633         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64634         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64635         (R_ARM_THM_GOT_BREL12): Likewise.
64636         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64637         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64638         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64639         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64640         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64641         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64642         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64643         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64644         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64646 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64648         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64649         __attribute_used__ to __attribute__ ((unused)).
64651 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64653         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64654         powerpc mpa.c.
64655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64656         comment formatting.
64657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64659 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64661         [BZ #13550]
64662         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64663         Remove macro.
64664         (ENTER): Remove both macro definitions.
64665         (LEAVE): Likewise.
64666         (CHECK_BOUNDS_LOW): Likewise.
64667         (CHECK_BOUNDS_HIGH): Likewise.
64668         (CHECK_BOUNDS_BOTH): Likewise.
64669         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64670         (RETURN_BOUNDED_POINTER): Likewise.
64671         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64672         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64673         (POP_ERRNO_LOCATION_RETURN): Likewise.
64674         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64675         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64676         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64677         macros.
64678         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64679         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64680         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64681         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64682         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64683         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64684         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64685         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64686         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64687         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64688         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64689         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64690         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64691         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64692         removed macros.
64693         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64694         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64695         macros.
64696         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64697         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64698         * sysdeps/i386/i586/memset.S (memset): Likewise.
64699         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64700         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64701         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64702         macros.
64703         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64704         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64705         Change uses of L(2) to L(out).
64706         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64707         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64708         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64709         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64710         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64711         removed macros.
64712         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64713         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64714         macros.
64715         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64716         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64717         (RETURN): Do not use macro LEAVE.
64718         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64719         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64720         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64721         * sysdeps/i386/i686/memset.S (memset): Likewise.
64722         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64723         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64724         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64725         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64726         Likewise.
64727         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64728         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64729         L(1_2) and L(1_3) into L(1).
64730         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64731         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64732         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64733         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64734         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64735         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64736         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64737         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64738         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64739         macros.
64740         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64741         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64742         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64743         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64744         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64745         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64746         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64747         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64748         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64749         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64750         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64751         * sysdeps/i386/strspn.S (strspn): Likewise.
64752         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64753         conditional code.
64754         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64755         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64756         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64757         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64758         L(1_3) into L(1_1).
64759         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64760         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64761         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64762         macros.
64763         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64765 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64767         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64768         macro.
64770 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64772         * math/atest-exp.c (exp_mpn): Remove ROUND.
64773         * math/atest-exp2.c (exp_mpn): Likewise.
64774         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64776         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64777         * stdlib/tst-tls-atexit-lib.c: Likewise.
64778         * stdlib/tst-tls-atexit.c: Likewise.
64780 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64782         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64783         and __attribute_alloc_size__.
64785 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64787         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64788         __attribute_alloc_size__.
64789         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64790         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64792 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64794         * include/programs/xmalloc.h: New file.
64795         * catgets/gencat.c: Include it.
64796         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64797         * elf/pldd.c: Likewise.
64798         * iconv/iconv_charmap.c: Likewise.
64799         * iconv/iconvconfig.c: Likewise.
64800         * iconv/strtab.c: Likewise.
64801         * locale/programs/locale.c: Likewise.
64802         * locale/programs/localedef.h: Likewise.
64803         * locale/programs/simple-hash.c: Likewise.
64804         * nscd/nscd.h: Likewise.
64805         * nss/makedb.c: Likewise.
64806         * sysdeps/generic/ldconfig.h: Likewise.
64808 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64810         * Versions.def: Add GLIBC_2.18.
64811         * include/link.h (struct link_map): New member l_tls_dtor_count.
64812         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64813         (__call_tls_dtors): Likewise.
64814         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64815         __cxa_thread_atexit_impl.
64816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64817         Likewise.
64818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64819         Likewise.
64820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64821         Likewise.
64822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64823         Likewise.
64824         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64826         Likewise.
64827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64828         Likewise.
64829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64831         Likewise.
64832         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64833         (tests): Add test case tst-tls-atexit.
64834         (modules-names): Add shared library for tst-tls-atexit.
64835         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64836         (GLIBC_PRIVATE): Add __call_tls_dtors.
64837         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64838         for libstdc++.
64839         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64840         * stdlib/tst-tls-atexit.c: New test case.
64841         * stdlib/tst-tls-atexit-lib.c: New test case.
64843         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64845         * elf/Versions (ld): Add _dl_find_dso_for_object.
64846         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64847         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64848         (dl_open_worker): Use _dl_find_dso_for_object.
64849         * elf/dl-sym.c (do_sym): Likewise.
64850         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64852 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64854         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64855         Syntactic changes only.
64856         (_dl_runtime_profile): Do a tail-call to the resolved function.
64858 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64860         [BZ #13550]
64861         * sysdeps/x86_64/bp-asm.h: Remove file.
64862         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64863         <bp-sym.h> and <bp-asm.h>.
64864         (__clone): Do not use BP_SYM.
64865         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64866         <bp-sym.h> and <bp-asm.h>.
64867         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64868         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64869         "bp-asm.h".
64870         (_setjmp): Do not use BP_SYM.
64871         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64872         "bp-asm.h".
64873         (setjmp): Do not use BP_SYM.
64874         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64875         libc_hidden_def.
64876         (mempcpy): Do not use BP_SYM in weak_alias.
64877         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64878         "bp-asm.h".
64879         (strchr): Do not use BP_SYM.
64880         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64881         "bp-asm.h".
64882         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64883         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64884         (_start): Do not use BP_SYM.
64885         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64886         "bp-asm.h".
64887         (strcat): Do not use BP_SYM.
64888         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64889         "bp-asm.h".
64890         (STRCMP): Do not use BP_SYM.
64891         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64892         "bp-asm.h".
64893         (STRCPY): Do not use BP_SYM.
64894         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64895         "bp-asm.h".
64896         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64897         "bp-asm.h".
64898         (FUNCTION): Do not use BP_SYM.
64899         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64900         weak_alias.
64901         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64903 2013-02-17  Andreas Jaeger  <aj@suse.de>
64905         * time/Versions: Sort entries.
64906         * string/Versions: Likewise.
64907         * resolv/Versions: Likewise.
64908         * posix/Versions: Likewise.
64909         * iconv/Versions: Likewise.
64910         * elf/Versions: Likewise.
64911         * wcsmbs/Versions: Likewise.
64913 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64915         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64916         loop termination condition.
64918         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64919         variable to calculate EZ.
64920         (__sqr): Likewise.
64922         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64923         the lower precision input.
64925 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64927         [BZ #13550]
64928         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64929         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64930         (run-via-rtld-prefix): Do not handle %-bp tests.
64931         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64932         (all-object-suffixes): Remove .ob.
64933         (bppfx): Remove variable.
64934         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64935         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64936         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64937         [$(build-bounded) = yes] (libtype.ob): Likewise.
64938         * Makerules (elide-routines.ob): Remove variable.
64939         (do-tests-clean): Do not handle *-bp.out.
64940         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64941         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64942         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64943         (tests): Do not include $(tests-bp.out).
64944         (xtests): Do not include $(xtests-bp.out).
64945         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64946         [$(build-bounded) = yes] ($(addprefix
64947         $(objpfx),$(binaries-bounded))): Remove rule.
64948         ($(objpfx)%-bp.out): Remove rule.
64949         * config.make.in (build-bounded): Remove variable.
64950         * crypt/Makefile [$(build-bounded) = yes]
64951         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64952         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64953         append to variable.
64954         [$(build-bounded) = yes] (install-lib): Likewise.
64955         [$(build-bounded) = yes] (generated): Likewise.
64956         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64957         Remove rule.
64958         * intl/Makefile [$(build-bounded) = yes]
64959         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64960         * math/Makefile [$(build-bounded) = yes]
64961         ($(tests:%=$(objpfx)%-bp): Likewise.
64962         * misc/Makefile [$(build-bounded) = yes]
64963         ($(objpfx)tst-tsearch-bp): Likewise.
64964         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64965         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64966         Remove dependency.
64967         * string/Makefile (o-objects.ob): Remove variable.
64968         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64969         (CFLAGS-.ob): Remove variable.
64970         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64971         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64972         both definitions of variable.
64973         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64974         (ASFLAGS-.ob): Remove variable.
64976 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64978         [BZ #13550]
64979         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64980         Remove __BOUNDED_POINTERS__ from condition.
64981         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64982         * string/bits/string2.h [!__NO_STRING_INLINES &&
64983         !__BOUNDED_POINTERS__]: Likewise.
64984         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64985         Likewise.
64986         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64987         Remove conditional code.
64988         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64989         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64990         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
64991         condition.
64993         [BZ #13550]
64994         * csu/libc-start.c: Do not include <bp-sym.h>.
64995         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
64996         * elf/dl-open.c: Do not include <bp-sym.h>.
64997         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
64998         * math/fegetenv.c: Do not include <bp-sym.h>.
64999         (fegetenv): Do not use BP_SYM in versioned symbols.
65000         * nptl/sysdeps/pthread/bits/libc-lockP.h
65001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65002         <bp-sym.h>.
65003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65004         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65005         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65006         (__pthread_mutex_destroy): Likewise.
65007         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65008         (__pthread_mutex_lock): Likewise.
65009         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65010         (__pthread_mutex_trylock): Likewise.
65011         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65012         (__pthread_mutex_unlock): Likewise.
65013         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65014         (__pthread_mutexattr_init): Likewise.
65015         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65016         (__pthread_mutexattr_destroy): Likewise.
65017         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65018         (__pthread_mutexattr_settype): Likewise.
65019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65020         (__pthread_rwlock_init): Likewise.
65021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65022         (__pthread_rwlock_destroy): Likewise.
65023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65024         (__pthread_rwlock_rdlock): Likewise.
65025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65026         (__pthread_rwlock_tryrdlock): Likewise.
65027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65028         (__pthread_rwlock_wrlock): Likewise.
65029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65030         (__pthread_rwlock_trywrlock): Likewise.
65031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65032         (__pthread_rwlock_unlock): Likewise.
65033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65034         (__pthread_key_create): Likewise.
65035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65036         (__pthread_setspecific): Likewise.
65037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65038         (__pthread_getspecific): Likewise.
65039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65040         Likewise.
65041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65042         (_pthread_cleanup_push_defer): Likewise.
65043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65044         (_pthread_cleanup_pop_restore): Likewise.
65045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65046         (pthread_setcancelstate): Likewise.
65047         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65048         <bp-sym.h>.
65049         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65050         (memchr): Do not use BP_SYM in weak_alias.
65051         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65052         (fegetenv): Do not use BP_SYM in versioned symbols.
65053         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65054         (fesetenv): Do not use BP_SYM in versioned symbols.
65055         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65056         (feupdateenv): Do not use BP_SYM in versioned symbols.
65057         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65058         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65059         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65060         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65061         (open64): Do not use BP_SYM in weak_alias.
65062         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65063         (fegetenv): Do not use BP_SYM in versioned symbols.
65064         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65065         (fesetenv): Do not use BP_SYM in versioned symbols.
65066         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65067         (feupdateenv): Do not use BP_SYM in versioned symbols.
65068         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65069         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65070         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65071         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65072         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65073         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65074         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65075         <bp-sym.h>.
65076         (__libc_start_main): Do not use BP_SYM.
65078 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65081         redundant return line.
65082         (norm): Likewise.
65083         (denorm): Likewise.
65084         (dbl_mp): Likewise.
65085         (sub_magnitudes): Likewise.
65086         (__add): Likewise.
65087         (__sub): Likewise.
65088         (__mul): Likewise.
65089         (__inv): Likewise.
65090         (__dvd): Likewise.
65091         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65092         (norm): Likewise.
65093         (denorm): Likewise.
65094         (dbl_mp): Likewise.
65095         (sub_magnitudes): Likewise.
65096         (__add): Likewise.
65097         (__sub): Likewise.
65098         (__mul): Likewise.
65099         (__inv): Likewise.
65100         (__dvd): Likewise.
65102         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65103         instead of __mul.
65104         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65105         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65106         (cc32): Likewise.
65108         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65109         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65110         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65111         of __mul for squares.
65112         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65113         function
65114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65115         Likewise.
65116         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65117         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65119 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65121         [BZ #13550]
65122         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65123         code.
65124         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65125         prototype or function definition.  Rename ubp_* variables and
65126         parameters.  Remove argv definitions conditional on
65127         [__BOUNDED_POINTERS__].
65128         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65129         * elf/dl-runtime.c (_dl_fixup): Likewise.
65130         * include/set-hooks.h (RUN_HOOK): Likewise.
65131         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65132         definition.
65133         * string/strcpy.c (strcpy): Do not use __unbounded.
65134         * sysdeps/generic/frame.h (struct layout): Likewise.
65135         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65136         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65137         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65138         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65139         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65140         (__backtrace): Likewise.
65141         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65142         use __ptrvalue.
65143         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65144         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65145         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65146         Likewise.
65147         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65148         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65149         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65150         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65151         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65152         Do not use __unbounded.
65153         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65154         Rename __unboundedrlimits parameter to rlimits in prototype.
65155         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65156         Do not use __unbounded.
65157         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65158         not use __ptrvalue.
65159         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65160         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65161         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65162         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65163         __ptrvalue or __unbounded.
65164         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65165         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65166         use __unbounded.
65167         (__new_msgctl): Do not use __ptrvalue.
65168         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65169         __unbounded.
65170         (__libc_msgrcv): Do not use __ptrvalue.
65171         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65172         startup_info): Do not use __unbounded.
65173         (__libc_start_main): Likewise.  Rename ubp_* variables and
65174         parameters.  Remove argv definitions conditional on
65175         [__BOUNDED_POINTERS__].
65176         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65177         __ptrvalue.
65178         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65179         use __unbounded.
65180         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65181         or __ptrvalue.
65182         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65183         use __unbounded.
65184         (__new_shmctl): Do not use __ptrvalue.
65185         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65186         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65187         Likewise.
65188         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65189         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65190         (__libc_sigaction): Likewise.
65191         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65192         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65193         Likewise.
65194         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65196 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65198         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65200         * string/mempcpy.c: Implement by calling memcpy.
65202 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65206         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65207         evaluation.
65209         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65210         values in the mantissa.
65212         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65213         minimize writes to Z.
65214         (sub_magnitudes): Simplify code a bit.
65216 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65218         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65219         from the message.  The linker prefixes all warnings with that already.
65221 2013-02-12  Andreas Schwab  <schwab@suse.de>
65223         [BZ #15078]
65224         * posix/regexec.c (extend_buffers): Add parameter min_len.
65225         (check_matching): Pass minimum needed length.
65226         (clean_state_log_if_needed): Likewise.
65227         (get_subexp): Likewise.
65228         * posix/Makefile (tests): Add bug-regex34.
65229         (bug-regex34-ENV): Define.
65230         * posix/bug-regex34.c: New file.
65232         [BZ #11561]
65233         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65234         elements compare against the byte sequence of it, not its name.
65235         * posix/Makefile (tests): Add bug-regex35.
65236         (bug-regex35-ENV): Define.
65237         * posix/bug-regex35.c: New file.
65239 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65241         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65242         comment.
65243         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65244         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65245         (CHECK_EOL): Add undef.
65247 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65249         * bits/stdlib-bsearch.h: New file.
65250         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65251         * stdlib/stdlib.h: Likewise.
65253 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65255         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65256         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65257         declaration.
65258         * manual/search.texi (Array Search Function): Add missing const in
65259         lfind prototype.
65260         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65261         declaration to use rlim_t.
65262         (Basic Scheduling Functions): Remove erroneous const from
65263         sched_getparam prototype.  Remove erroneous * from
65264         sched_get_priority_max and sched_get_priority_min prototypes.
65265         (Resource Usage): Fix summary @comment on vtimes to refer to
65266         sys/vtimes.h rather than vtimes.h.
65267         Add missing *s in vtimes prototype.
65268         (Limits on Resources): Fix ulimit prototype to return long int.
65269         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65270         prototypes to use long int rather than double.
65271         (BSD Random): Fix initstate and setstate to use char *, not void *.
65272         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65273         prototype to make second argument 'struct aiocb64 *const[]'.
65274         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65275         (Status of AIO Operations): Remove erroneous const in aio_return and
65276         aio_return64 prototypes.
65277         (Synchronizing I/O): Fix sync prototype to return void.
65278         * manual/startup.texi (Suboptions): Remove an erroneous const in
65279         getsubopt prototype.
65280         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65281         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65282         use size_t rather than int.
65283         (Scanning All Users): Likewise for getpwent_r.
65284         (Setting Groups): Add missing const to setgroups prototype.
65285         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65286         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65287         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65288         'const void *' rather than 'const char *'.
65289         (Host Address Functions): Likewise for inet_ntop.
65290         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65291         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65292         ssize_t for return value.
65293         (Sending Data): Likewise for send, sendto, sendmsg.
65294         (Socket Option Functions): Add a missing const in setsockopt prototype.
65295         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65296         use wchar_t for the argument.
65297         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65298         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65299         take no arguments.
65300         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65301         double/float/long double for second argument.
65302         Fix return types of significand, significandf, significandl.
65303         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65304         argument in fchmod prototype.
65305         (File Owner): Use uid_t and gid_t in fchown prototype.
65306         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65307         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65308         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65309         use 'const struct dirent **' as argument types to CMP function pointer
65310         argument.
65311         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65312         (File Times): Fix summary magic @comment for struct utimbuf and utime
65313         to refer to utime.h, not time.h.
65314         * manual/string.texi (Argz Functions): Add missing const in
65315         argz_extract and argz_next prototypes.
65316         (Finding Tokens in a String): Likewise for basename.
65317         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65318         (Copying and Concatenation): Fix typo in wmemmove prototype.
65319         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65320         (Signal Stack): Remove erroneous const in sigstack prototype.
65321         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65322         prototype.
65323         (Simple Calendar Time): Likewise for stime.
65324         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65325         prototype.
65326         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65327         say sys/sysctl.h instead.
65328         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65329         and vsyslog prototypes.
65331 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65333         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65334         Remove.
65336 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65338         * misc/sys/mman.h: Fix typo in mremap comment.
65340 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65342         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65343         the '\0' terminator.
65345 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65347         [BZ #13550]
65348         * debug/segfault.c: Don't include <bp-checks.h>.
65349         * sysdeps/generic/bp-checks.h: Remove file.
65350         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65351         (__GETDENTS): Don't use CHECK_N.
65352         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65353         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65354         (__getgroups): Don't use CHECK_N.
65355         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65356         (setgroups): Don't use CHECK_N.
65357         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65358         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65359         (__libc_msgrcv): Don't use CHECK_N.
65360         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65361         (__libc_msgsnd): Don't use CHECK_N.
65362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65363         <bp-checks.h>.
65364         (__libc_pread): Don't use CHECK_N.
65365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65366         include <bp-checks.h>.
65367         (__libc_pread64): Don't use CHECK_N.
65368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65369         include <bp-checks.h>.
65370         (__libc_pwrite): Don't use CHECK_N.
65371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65372         include <bp-checks.h>.
65373         (__libc_pwrite64): Don't use CHECK_N.
65374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65375         <bp-checks.h>.
65376         (__libc_pread): Don't use CHECK_N.
65377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65378         include <bp-checks.h>.
65379         (__libc_pread64): Don't use CHECK_N.
65380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65381         include <bp-checks.h>.
65382         (__libc_pwrite): Don't use CHECK_N.
65383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65384         include <bp-checks.h>.
65385         (__libc_pwrite64): Don't use CHECK_N.
65386         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65387         (do_pread): Don't use CHECK_N.
65388         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65389         (do_pread64): Don't use CHECK_N.
65390         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65391         (do_pwrite): Don't use CHECK_N.
65392         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65393         (do_pwrite64): Don't use CHECK_N.
65394         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65395         (__libc_readv): Don't use CHECK_N.
65396         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65397         (semop): Don't use CHECK_N.
65398         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65399         <bp-checks.h>.
65400         (semtimedop): Don't use CHECK_N.
65401         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65402         (__libc_pread): Don't use CHECK_N.
65403         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65404         <bp-checks.h>.
65405         (__libc_pread64): Don't use CHECK_N.
65406         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65407         <bp-checks.h>.
65408         (__libc_pwrite): Don't use CHECK_N.
65409         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65410         <bp-checks.h>.
65411         (__libc_pwrite64): Don't use CHECK_N.
65412         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65413         <bp-checks.h>.
65414         (__libc_msgrcv): Don't use CHECK_N.
65415         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65416         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65417         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65418         (__libc_writev): Don't use CHECK_N.
65420 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65422         * string/strcpy.c: Removed unused variable.
65424         * Makeconfig (+sysdep-includes): Define with := rather than =.
65425         Use an existing include/ subdir of each sysdeps dir before it.
65427 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65429         * nscd/connection.c (register_traced_file): Comment function.
65430         [HAVE_INOTIFY] (union __inev): Define.
65431         [HAVE_INOTIFY] (inotify_check_files): New function.
65432         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65433         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65434         clear_db_cache.
65435         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65437 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65439         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65440         loaded if not already and that a failure is permanent.
65442 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65444         [BZ #15006]
65445         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65446         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65448 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65450         [BZ #13550]
65451         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65452         (CHECK_1_NULL_OK): Likewise.
65453         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65454         (__fxstat): Do not use CHECK_1.
65455         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65456         <bp-checks.h>.
65457         (___fxstat64): Do not use CHECK_1.
65458         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65459         <bp-checks.h>.
65460         (__fxstatat): Do not use CHECK_1.
65461         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65462         <bp-checks.h>.
65463         (__fxstatat64): Do not use CHECK_1.
65464         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65465         <bp-checks.h>.
65466         (__fxstat): Do not use CHECK_1.
65467         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65468         <bp-checks.h>.
65469         (__fxstatat): Do not use CHECK_1.
65470         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65471         <bp-checks.h>.
65472         (__getresgid): Do not use CHECK_1.
65473         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65474         <bp-checks.h>.
65475         (__getresuid): Do not use CHECK_1.
65476         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65477         <bp-checks.h>.
65478         (__lxstat): Do not use CHECK_1.
65479         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65480         <bp-checks.h>.
65481         (__old_msgctl): Do not use CHECK_1.
65482         (__new_msgctl): Likewise.
65483         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65484         <bp-checks.h>.
65485         (__new_setrlimit): Do not use CHECK_1.
65486         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65487         <bp-checks.h>.
65488         (__old_shmctl): Do not use CHECK_1.
65489         (__new_shmctl): Likewise.
65490         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65491         <bp-checks.h>.
65492         (__xstat): Do not use CHECK_1.
65493         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65494         (__lxstat): Do not use CHECK_1.
65495         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65496         <bp-checks.h>.
65497         (___lxstat64): Do not use CHECK_1.
65498         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65499         (__old_msgctl): Do not use CHECK_1.
65500         (__new_msgctl): Likewise.
65501         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65502         <bp-checks.h>.
65503         (__gettimeofday): Do not use CHECK_1.
65504         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65505         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65506         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65507         <bp-checks.h>.
65508         (__gettimeofday): Do not use CHECK_1.
65509         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65510         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65511         (__new_shmctl): Do not use CHECK_1.
65512         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65513         <bp-checks.h>.
65514         (do_sigtimedwait): Do not use CHECK_1.
65515         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65516         <bp-checks.h>.
65517         (do_sigwaitinfo): Do not use CHECK_1.
65518         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65519         <bp-checks.h>.
65520         (msgctl): Do not use CHECK_1.
65521         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65522         <bp-checks.h>.
65523         (shmctl): Do not use CHECK_1.
65524         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65525         (ustat): Do not use CHECK_1.
65526         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65527         <bp-checks.h>.
65528         (__fxstat): Do not use CHECK_1.
65529         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65530         <bp-checks.h>.
65531         (__fxstatat): Do not use CHECK_1.
65532         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65533         <bp-checks.h>.
65534         (__lxstat): Do not use CHECK_1.
65535         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65536         <bp-checks.h>.
65537         (__xstat): Do not use CHECK_1.
65538         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65539         (__xstat): Do not use CHECK_1.
65540         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65541         (___xstat64): Do not use CHECK_1.
65543         [BZ #13550]
65544         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65545         definitions.
65546         (CHECK_BOUNDS_HIGH): Likewise.
65547         * string/strcpy.c: Do not include <bp-checks.h>.
65548         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65550 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65552         * nscd/nscd-client.h (__nscd_drop_map_ref):
65553         Add __attribute__ ((unused)).
65554         * nis/nss-nisplus.h (niserr2nss): Likewise.
65556         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65557         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65559         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65560         Remove inline keyword.
65561         * include/rounding-mode.h (round_away): Likewise.
65562         * libio/wfileops.c (adjust_wide_data): Likewise.
65563         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65564         (__m128i_strloadu_tolower): Likewise.
65565         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65566         (__m128i_strloadu_tolower): Likewise.
65567         * time/mktime.c (ydhms_diff): Likewise.
65568         * locale/elem-hash.h (elem_hash): Likewise.
65569         * locale/setlocale.c (setdata): Likewise.
65570         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65571         (re_string_wchar_at): Likewise.
65572         (bitset_not, bitset_merge, bitset_mask): Likewise.
65573         [!(__GNUC__ > 3)] (inline): Remove macro.
65574         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65575         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65576         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65577         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65578         * string/memcmp.c (memcmp_bytes): Likewise.
65579         * locale/programs/locarchive.c (compute_hashval): Likewise.
65580         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65581         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65582         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65583         * nss/getent.c (print_rpc, print_protocols): Likewise.
65584         (print_passwd, print_group, print_aliases): Likewise.
65585         * nis/nss-nisplus.h (niserr2nss): Likewise.
65586         * nscd/connections.c (restart_p): Likewise.
65587         Change return type to bool.
65589 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65591         * Makeconfig (all-Depend-files): Add existing
65592         $(sorted-subdirs:=/Depend) files.
65593         (all-subdirs): Remove nss.
65594         * sysdeps/unix/inet/Subdirs: Add it here instead.
65595         * hesiod/Depend: New file.
65597         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65598         instead of calling alloca.
65600         * io/lseek.c (__lseek): Rename to __libc_lseek.
65601         Define __lseek as an alias.
65603         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65605 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65607         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65608         else clause and remove check for non-standard endianness.
65610 2013-02-04  David S. Miller  <davem@davemloft.net>
65612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65614 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65616         [BZ #13550]
65617         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65618         (__ubp_memchr): Remove prototype.
65619         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65620         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65621         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65622         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65623         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65624         Remove alias.
65625         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65626         (__ubp_memchr): Likewise.
65627         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65628         (__ubp_memchr): Likewise.
65629         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65630         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65631         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65632         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65633         CHECK_STRING.
65634         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65635         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65636         (__getcwd): Do not use CHECK_STRING.
65637         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65638         <bp-checks.h>.
65639         (__real_chown): Do not use CHECK_STRING.
65640         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65641         <bp-checks.h>.
65642         (fchownat): Do not use CHECK_STRING.
65643         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65644         CHECK_STRING.
65645         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65646         <bp-checks.h>.
65647         (__lchown): Do not use CHECK_STRING.
65648         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65649         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65650         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65651         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65653         include <bp-checks.h>.
65654         (truncate64): Do not use CHECK_STRING.
65655         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65656         <bp-checks.h>.
65657         (__real_chown): Do not use CHECK_STRING.
65658         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65659         <bp-checks.h>.
65660         (__lchown): Do not use CHECK_STRING.
65661         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65662         <bp-checks.h>.
65663         (__chown): Do not use CHECK_STRING.
65664         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65665         <bp-checks.h>.
65666         (truncate64): Do not use CHECK_STRING.
65667         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65668         Likewise.
65669         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65670         (__xmknod): Do not use CHECK_STRING.
65671         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65672         <bp-checks.h>.
65673         (__xmknodat): Do not use CHECK_STRING.
65674         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65675         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65677 2013-02-04  Andreas Schwab  <schwab@suse.de>
65679         [BZ #14142]
65680         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65681         * include/netdb.h: Likewise for h_errno.
65682         * elf/tst-stackguard1.c: Include <tls.h>.
65684 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65686         * elf/link.h (struct link_map): Extend the l_addr comment.
65687         * include/link.h (struct link_map): Likewise.
65689 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65691         [BZ #13550]
65692         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65693         (BOUNDED_1): Remove macro.
65694         * debug/backtrace.c: Don't include <bp-checks.h>.
65695         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65696         (__backtrace): Likewise.
65697         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65698         <bp-checks.h>.
65699         (__backtrace): Don't use BOUNDED_1.
65700         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65701         <bp-checks.h>.
65702         (__backtrace): Don't use BOUNDED_1.
65703         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65704         (__backtrace): Don't use BOUNDED_1.
65705         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65706         (shmat): Don't use BOUNDED_N.
65708 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65710         [BZ #13550]
65711         * sysdeps/generic/bp-start.h: Remove file.
65712         * csu/libc-start.c: Don't include <bp-start.h>.
65713         (LIBC_START_MAIN): Set up __environ directly instead of using
65714         INIT_ARGV_and_ENVIRON.
65715         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65716         <bp-start.h>.
65718         [BZ #13550]
65719         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65720         definitions.
65721         (CHECK_FCNTL): Likewise.
65722         (CHECK_N_PAGES): Likewise.
65724         [BZ #13550]
65725         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65726         definitions.
65727         (CHECK_SIGSET_NULL_OK): Likewise.
65728         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65729         <bp-checks.h>.
65730         (sigpending): Don't use CHECK_SIGSET.
65731         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65732         <bp-checks.h>.
65733         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65734         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65735         <bp-checks.h>.
65736         (do_sigsuspend): Don't use CHECK_SIGSET.
65737         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65738         use CHECK_SIGSET.
65739         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65740         (do_sigwait): Don't use CHECK_SIGSET.
65741         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65742         use CHECK_SIGSET.
65743         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65744         include <bp-checks.h>.
65745         (sigpending): Don't use CHECK_SIGSET.
65746         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65747         include <bp-checks.h>.
65748         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65749         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65750         <bp-checks.h>.
65751         (sigpending): Don't use CHECK_SIGSET.
65752         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65753         <bp-checks.h>.
65754         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65756         [BZ #13550]
65757         * sysdeps/generic/bp-semctl.h: Remove file.
65758         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65759         <bp-checks.h> and <bp-semctl.h>.
65760         (__old_semctl): Don't use CHECK_SEMCTL.
65761         (__new_semctl): Likewise.
65762         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65763         and <bp-semctl.h>.
65764         (__old_semctl): Don't use CHECK_SEMCTL.
65765         (__new_semctl): Likewise.
65766         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65767         <bp-checks.h> and <bp-semctl.h>.
65768         (__old_semctl): Don't use CHECK_SEMCTL.
65769         (__new_semctl): Likewise.
65770         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65771         <bp-checks.h> and <bp-semctl.h>.
65772         (semctl): Don't use CHECK_SEMCTL.
65774         [BZ #13550]
65775         * Makerules (elide-bp-thunks): Remove variable.
65776         (elide-routines.oS): Don't use $(elide-bp-thunks).
65777         (elide-routines.os): Likewise.
65778         (elide-routines.o): Likewise.
65779         (elide-routines.op): Likewise.
65780         (elide-routines.og): Likewise.
65781         (objects): Don't use $(bp-thunks).
65782         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65783         include.
65784         (common-generated): Do not add s-proto-bp.d.
65785         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65786         (int): Likewise.
65787         (typ): Likewise.
65788         Do not generate makefile rules for bounded-pointer thunks.
65789         * sysdeps/generic/bp-thunks.h: Remove file.
65790         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65791         * sysdeps/unix/s-proto-bp.S: Likewise.
65793         [BZ #15062]
65794         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65795         parts of result separately when argument is not close to line from
65796         -i to i and one part of argument is small.
65797         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65798         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65799         * math/libm-test.inc (cacos_test): Add more tests.
65800         (casin_test): Likewise.
65801         (casinh_test): Likewise.
65802         * sysdeps/i386/fpu/libm-test-ulps: Update.
65803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65805 2013-01-31  David S. Miller  <davem@davemloft.net>
65807         * po/de.po: Update from translation team.
65809 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65811         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65813 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65815         * configure.in (_AC_PROG_CC_C89): New definition.
65816         * configure: Regenerate.
65818         * configure.in (AC_PROG_CPP): New definition.
65819         * configure: Regenerate.
65821 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65823         * debug/tst-backtrace.h: New file.
65824         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65825         (ret): Remove variable.
65826         (x): Likewise.
65827         (FAIL): Remove macro.
65828         (NO_INLINE): Likewise.
65829         (fn1): Use match function instead of strstr.
65830         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65831         (ret): Remove variable.
65832         (x): Likewise.
65833         (FAIL): Remove macro.
65834         (NO_INLINE): Likewise.
65835         (fn): Use match function instead of strstr.
65836         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65837         (ret): Remove variable.
65838         (x): Likewise.
65839         (FAIL): Remove macro.
65840         (NO_INLINE): Likewise.
65841         (handle_signal): Use match function instead of strstr.
65842         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65843         (ret): Remove variable.
65844         (x): Likewise.
65845         (FAIL): Remove macro.
65846         (NO_INLINE): Likewise.
65847         (handle_signal): Use match function instead of strstr.
65849 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65851         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65853 2013-01-23  David S. Miller  <davem@davemloft.net>
65855         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65856         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65857         argument of CAS if possible.
65858         * sysdeps/sparc/sparc64/bits/atomic.h
65859         (__arch_compare_and_exchange_val_32_acq): Likewise.
65860         (__arch_compare_and_exchange_val_64_acq): Likewise.
65862 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65864         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65865         * sysdeps/posix/ulimit.c: ... this.
65866         Include <limits.h>.
65867         * sysdeps/unix/bsd/ulimit.c: Remove file.
65869 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65871         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65872         (LDFLAGS-tst-array5): Likewise.
65874 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65876         [BZ #15036]
65877         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65878         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65879         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65880         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65882 2013-01-21  David S. Miller  <davem@davemloft.net>
65884         * sysdeps/sparc/backtrace.c: New file.
65885         * sysdeps/sparc/sparc32/backtrace.h: New file.
65886         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65887         * sysdeps/sparc/sparc64/backtrace.h: New file.
65888         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65889         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65890         -funwind-tables.
65892 2013-01-21  Andreas Schwab  <schwab@suse.de>
65894         [BZ #15020]
65895         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65896         closed its stdout.
65898 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65901         "mpa2.h".
65902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65904 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65905             Mark Mitchell  <mark@codesourcery.com>
65906             Tom de Vries  <tom@codesourcery.com>
65907             Paul Pluzhnikov  <ppluzhnikov@google.com>
65909         * debug/tst-backtrace2.c: New file.
65910         * debug/tst-backtrace3.c: Likewise.
65911         * debug/tst-backtrace4.c: Likewise.
65912         * debug/tst-backtrace5.c: Likewise.
65913         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65914         (CFLAGS-tst-backtrace3.c): Likewise.
65915         (CFLAGS-tst-backtrace4.c): Likewise.
65916         (CFLAGS-tst-backtrace5.c): Likewise.
65917         (LDFLAGS-tst-backtrace2): Likewise.
65918         (LDFLAGS-tst-backtrace3): Likewise.
65919         (LDFLAGS-tst-backtrace4): Likewise.
65920         (LDFLAGS-tst-backtrace5): Likewise.
65921         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65922         tst-backtrace4 and tst-backtrace5.
65924 2013-01-18  Anton Blanchard  <anton@samba.org>
65925             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65927         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65928         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65929         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65930         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65932         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65933         "+r" and remove output regs list as redundant.  Add explicit inline
65934         asm to specify register of return val to work around compiler codegen
65935         bug.  Remove (int) cast on return value.  Add return type parameter to
65936         use in macro so that this macro does not truncate return value for
65937         64-bit values.
65938         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65939         pass to INTERNAL_VSYSCALL_NCS.
65940         (INLINE_VSYSCALL): Add 'long int' as return type to
65941         INTERNAL_VSYSCALL_NCS macro invocation.
65942         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65943         INTERNAL_VSYSCALL_NCS macro invocation.
65944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65946 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65948         [BZ #14496]
65949         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65950         Fix application of SIMD FP exception mask.
65952         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65953         mp_no from a power of two.
65954         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65955         __mpexp_twomm1.  Use __pow_mp.
65957         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65958         multiplication.
65960 2013-01-17  David S. Miller  <davem@davemloft.net>
65962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65964 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65966         [BZ #15023]
65967         * include/complex.h: Condition contents on [!_COMPLEX_H].
65968         (__kernel_casinhf): New prototype.
65969         (__kernel_casinh): Likewise.
65970         (__kernel_casinhl): Likewise.
65971         * math/Makefile (libm_calls): Add k_casinh.
65972         * math/k_casinh.c: New file.
65973         * math/k_casinhf.c: Likewise.
65974         * math/k_casinhl.c: Likewise.
65975         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65976         finite nonzero arguments.
65977         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65978         finite nonzero arguments.
65979         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65980         finite nonzero arguments.
65981         * math/s_casinh.c: Do not include <float.h>.
65982         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65983         * math/s_casinhf.c: Do not include <float.h>.
65984         (__casinhf): Move code for finite nonzero arguments to
65985         k_casinhf.c.
65986         * math/s_casinhl.c: Do not include <float.h>.
65987         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65988         redefine.
65989         (__casinhl): Move code for finite nonzero arguments to
65990         k_casinhl.c.
65991         * math/libm-test.inc (cacos_test): Add more tests.
65992         * sysdeps/i386/fpu/libm-test-ulps: Update.
65993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65995 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
65997         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
65998         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
65999         [!HAVE_MREMAP]: Remove [defined linux] case.
66000         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66002 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66004         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66006 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66008         * elf/elf.h (R_386_SIZE32): New relocation.
66009         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66010         R_386_SIZE32.
66011         (elf_machine_rela): Likewise.
66012         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66013         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66015 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66017         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66018         (FP_FAST_FMA): Do not define.
66019         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66020         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66021         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66022         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66023         !_SOFT_FLOAT]: Likewise.
66024         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66025         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66026         value.
66027         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66028         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66029         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66030         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66031         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66032         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66033         file.
66035 2013-01-16  Andreas Schwab  <schwab@suse.de>
66037         [BZ #14327]
66038         * include/stdlib.h (__mktemp): Add declaration.
66039         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66040         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66042 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66044         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66045         definitions.
66046         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66047         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66048         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66049         definitions here.
66050         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66051         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66052         definitions.
66053         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66054         and ONE.
66055         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66056         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66057         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66058         definitions.
66059         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66060         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66061         definitions.
66062         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66064         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66066 2013-01-15  David S. Miller  <davem@davemloft.net>
66068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66069         trunc{,f} to libm-sysdep_routes.
66070         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66072         file.
66073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66075         file.
66076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66077         file.
66078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66080         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66081         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66082         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66083         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66084         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66085         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66088         nearbyint{,f} to libm-sysdep_routes.
66089         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66091         New file.
66092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66093         file.
66094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66095         New file.
66096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66097         file.
66098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66100         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66101         file.
66102         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66103         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66104         file.
66105         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66106         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66107         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66109         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66110         libc_feholdexcept and libc_fesetenv.
66112 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66114         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66116 2013-01-14  David S. Miller  <davem@davemloft.net>
66118         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66119         (SPARC_ASM_VIS2_IFUNC): Likewise.
66120         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66122         use of 'siam' instruction.
66123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66124         Likewise.
66125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66126         Likewise.
66127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66128         Likewise.
66129         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66130         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66131         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66134         file.
66135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66136         file.
66137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66138         file.
66139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66140         file.
66141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66146         new VIS2 routines.
66147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66150         Likewise.
66151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66156         routines to libm-sysdep_routines.
66157         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66160         fdim/fdimf to libm-sysdep_routines.
66161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66162         file.
66163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66165         file.
66166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66169         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66170         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66171         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66172         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66174 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66176         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66177         to optimize copies.
66179         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66184         local variable MPTWO.
66185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66186         Likewise.
66188 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66190         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66191         GLOB_NOESCAPE.
66193 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66195         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66197 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66199         * manual/pattern.texi (glob_t): Document gl_flags.
66200         (glob64_t): Likewise.
66202 2013-01-11  David S. Miller  <davem@davemloft.net>
66204         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66205         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66206         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66207         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66208         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66209         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66210         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66211         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66212         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66213         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66214         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66215         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66216         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66218         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66219         sparc V9 rather than using V8 code.
66220         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66221         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66223         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66224         Move to...
66225         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66226         Here.
66228 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66230         [BZ #14941]
66231         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66232         not in the main loop.
66233         * configure: Regenerated.
66235 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66237         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66238         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66239         to just #else.
66240         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66241         [!__GLIBC_HAVE_LONG_LONG] case.
66242         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66243         condition to just #else.
66244         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66245         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66246         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66247         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66248         unconditional.
66249         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66250         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66251         #elif condition to just #else.
66252         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66253         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66254         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66255         #elif condition to just #else.
66257 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66259         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66260         (EF_MIPS_ARCH_64): Fix value.
66261         (EF_MIPS_ARCH_32R2): New.
66262         (EF_MIPS_ARCH_64R2): New.
66264 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66266         * Makeconfig (+link-pie-before-libc): New.
66267         (+link-pie-after-libc): Likewise.
66268         (+link-pie-tests): Likewise.
66269         (+link-pie): Rewritten.
66270         (link-before-libc): Remove $(config-LDFLAGS).
66271         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66272         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66273         (config-LDFLAGS): Renamed to ...
66274         (rtld-LDFLAGS): This.
66275         (rtld-tests-LDFLAGS): New macro.
66276         (link-libc-rpath-link): Likewise.
66277         (link-libc-tests-rpath-link): Likewise.
66278         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66279         (link-libc): Prepand $(link-libc-rpath-link).
66280         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66281         (test-program-prefix): New macro.
66282         (test-via-rtld-prefix): Likewise.
66283         (test-program-cmd): Likewise.
66284         (host-test-program-cmd): Likewise.
66285         * Makefile ($(common-objpfx)testrun.sh): Replace
66286         $(run-program-prefix) with $(test-program-prefix).
66287         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66288         $(rtld-LDFLAGS).
66289         ($(common-objpfx)shlib.lds): Likewise.
66290         (build-module-helper): Likewise.
66291         ($(common-objpfx)format.lds): Likewise.
66292         * Rules (binaries-pie-tests): New.
66293         (binaries-pie-notests): Likewise.
66294         (binaries-pie): Rewritten.
66295         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66296         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66297         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66298         (make-test-out): Replace $(host-built-program-cmd) with
66299         $(host-test-program-cmd).
66300         * config.make.in (build-hardcoded-path-in-tests): New variable.
66301         * configure.in (--enable-hardcoded-path-in-tests): New configure
66302         option.
66303         (hardcoded_path_in_tests): New AC_SUBST.
66304         * configure: Regenerated.
66305         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66306         $(built-program-cmd) with $(test-program-cmd).
66307         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66308         (test_program_cmd): This.
66309         * elf/Makefile ($(objpfx)order.out): Run test with
66310         $(test-program-prefix).
66311         ($(objpfx)order2.out): Likewise.
66312         ($(objpfx)tst-initorder.out): Likewise.
66313         ($(objpfx)tst-initorder2.out): Likewise.
66314         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66315         $(test-program-cmd).
66316         ($(objpfx)tst-array1-static.out): Likewise.
66317         ($(objpfx)tst-array2.out): Likewise.
66318         ($(objpfx)tst-array3.out): Likewise.
66319         ($(objpfx)tst-array4.out): Likewise.
66320         ($(objpfx)tst-array5.out): Likewise.
66321         ($(objpfx)tst-array5-static.out): Likewise.
66322         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66323         $(test-program-cmd).
66324         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66325         $(run-program-prefix) with $(test-program-prefix).
66326         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66327         (test_program_prefix): This.
66328         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66329         $(run-program-prefix) with $(test-program-prefix).
66330         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66331         (test_program_prefix): This.
66332         * iconvdata/tst-tables.sh: Likewise.
66333         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66334         $(run-program-prefix) with $(test-program-prefix).
66335         ($(objpfx)tst-translit.out): Likewise.
66336         ($(objpfx)tst-gettext2.out): Likewise.
66337         ($(objpfx)tst-gettext4.out): Likewise.
66338         ($(objpfx)tst-gettext6.out): Likewise.
66339         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66340         (test_program_prefix): This.
66341         * intl/tst-gettext2.sh: Likewise.
66342         * intl/tst-gettext4.sh  Likewise.
66343         * intl/tst-gettext6.sh: Likewise.
66344         * intl/tst-translit.sh: Likewise.
66345         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66346         with $(test-program-cmd).
66347         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66348         $(run-program-prefix) with $(test-program-prefix).
66349         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66350         (test_program_prefix): This.
66351         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66352         $(run-program-prefix) with $(test-program-prefix).
66353         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66354         (test_program_prefix): This.
66355         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66356         * posix/Makefile ($(objpfx)globtest.out): Replace
66357         $(run-via-rtld-prefix) and $(test-wrapper) with
66358         $(test-program-prefix) and $(test-via-rtld-prefix).
66359         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66360         $(test-program-prefix).
66361         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66362         $(host-test-program-cmd).
66363         (tst-spawn-ARGS): Likewise.
66364         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66365         $(test-program-prefix).
66366         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66367         (test_via_rtld_prefix): This.
66368         (test_wrapper): Renamed to ...
66369         (test_program_prefix): This.
66370         (run_program_prefix): Replaced by test_program_prefix.
66371         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66372         (test_program_prefix): This.
66373         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66374         with $(host-test-program-cmd).
66375         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66376         $(run-program-prefix) with $(test-program-prefix).
66377         ($(objpfx)tst-printf.out): Likewise.
66378         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66379         $(test-program-cmd).
66380         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66381         (test_program_prefix): This.
66382         * stdio-common/tst-unbputc.sh: Likewise.
66383         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66384         $(run-program-prefix) with $(test-program-prefix).
66385         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66386         (test_program_prefix): This.
66387         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66388         $(built-program-cmd) with $(test-program-cmd).
66390 2013-01-11  Andreas Jaeger  <aj@suse.de>
66392         [BZ #15003]
66393         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66394         value. Sync with Linux 3.7.
66396 2013-01-10  David S. Miller  <davem@davemloft.net>
66398         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66399         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66400         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66402 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66404         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66405         never set.
66406         * configure: Regenerated.
66408 2013-01-10  David S. Miller  <davem@davemloft.net>
66410         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66411         sparc V9 rather than using V8 code.
66412         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66413         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66415 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66417         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66418         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66419         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66420         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66421         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66422         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66423         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66424         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66425         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66426         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66427         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66428         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66429         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66430         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66431         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66432         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66433         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66434         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66435         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66436         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66437         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66438         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66439         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66440         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66441         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66442         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66443         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66445 2013-01-10  David S. Miller  <davem@davemloft.net>
66447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66449 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66451         * posix/Makefile (tests-static): New variable.
66452         (tests): Add $(tests-static).
66453         (tst-exec-static-ARGS): New variable.
66454         (tst-spawn-static-ARGS): Likewise.
66455         * posix/tst-exec-static.c: New file.
66456         * posix/tst-spawn-static.c: Likewise.
66457         * posix/tst-exec.c: Support run directly.
66458         * posix/tst-spawn.c: Likewise.
66460 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66462         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66463         long.
66464         * math/bits/mathcalls.h (llrint): Likewise.
66465         (llround): Likewise.
66466         * stdlib/stdlib.h (struct drand48_data): Likewise.
66467         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66468         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66469         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66470         Likewise.
66471         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66472         Likewise.
66473         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66474         (elf_greg_t): Likewise.
66475         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66476         (__jmp_buf): Likewise.
66477         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66478         definitions.
66479         (llrint): Likewise, for all definitions.
66480         (llrintl): Likewise.
66482         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66483         Remove [__GNUC__] condition.
66484         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66485         condition to just [__USE_ISOC99].
66486         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66488 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66490         [BZ #14200]
66491         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66492         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66493         defined.
66494         (_POSIX_V6_ILP32_OFF32): Likewise.
66495         (_XBS5_ILP32_OFF32): Likewise.
66496         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66497         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66499 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66501         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66503         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66504         doubles __mpexp_twomm1.  Adjust usage.
66505         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66506         Remove.
66508 2013-01-10  Andreas Schwab  <schwab@suse.de>
66510         [BZ #14964]
66511         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66512         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66514 2013-01-09  David S. Miller  <davem@davemloft.net>
66516         [BZ #15003]
66517         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66518         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66519         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66520         (TCP_FASTOPEN): Define.
66521         (tcp_repair_opt): New structure.
66522         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66523         enum values.
66524         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66525         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66526         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66527         (tcp_cookie_transactions): New structure.
66529 2013-01-09  Anton Blanchard  <anton@samba.org>
66531         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66532         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66533         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66534         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66536 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66538         * include/features.h (__USE_ANSI): Remove.
66540 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66542         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66544         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66546 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66548         * sysdeps/s390/fpu/libm-test-ulps: Update.
66550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66552         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66553         (__acr): Likewise.
66554         (__cpy): Likewise.
66555         (norm): Likewise.
66556         (denorm): Likewise.
66557         (__mp_dbl): Likewise.
66558         (__dbl_mp): Likewise.
66559         (add_magnitudes): Likewise.
66560         (sub_magnitudes): Likewise.
66561         (__add): Likewise.
66562         (__sub): Likewise.
66563         (__mul): Likewise.
66564         (__inv): Likewise.
66565         (__dvd): Likewise.
66566         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66567         (__acr): Likewise.
66568         (__cpy): Likewise.
66569         (norm): Likewise.
66570         (denorm): Likewise.
66571         (__mp_dbl): Likewise.
66572         (__dbl_mp): Likewise.
66573         (add_magnitudes): Likewise.
66574         (sub_magnitudes): Likewise.
66575         (__add): Likewise.
66576         (__sub): Likewise.
66577         (__mul): Likewise.
66578         (__inv): Likewise.
66579         (__dvd): Likewise.
66580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66581         (__acr): Likewise.
66582         (__cpy): Likewise.
66583         (norm): Likewise.
66584         (denorm): Likewise.
66585         (__mp_dbl): Likewise.
66586         (__dbl_mp): Likewise.
66587         (add_magnitudes): Likewise.
66588         (sub_magnitudes): Likewise.
66589         (__add): Likewise.
66590         (__sub): Likewise.
66591         (__mul): Likewise.
66592         (__inv): Likewise.
66593         (__dvd): Likewise.
66595 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66597         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66598         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66599         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66600         2 && __USE_EXTERN_INLINES]: Likewise.
66602 2013-01-08  Andreas Jaeger  <aj@suse.de>
66604         [BZ #14985]
66605         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66606         Remove.
66607         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66608         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66610 2013-01-07  Anton Blanchard  <anton@samba.org>
66612         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66613         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66614         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66615         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66616         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66617         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66618         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66619         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66621         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66622         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66623         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66624         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66625         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66626         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66627         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66628         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66629         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66630         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66631         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66632         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66633         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66634         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66635         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66636         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66637         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66638         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66639         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66640         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66641         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66642         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66643         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66644         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66645         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66646         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66647         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66648         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66649         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66650         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66651         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66652         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66653         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66654         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66656 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66658         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66659         (__MALLOC_PMT): Likewise.
66660         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66661         [__GNUC__], only on [_LIBC].
66662         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66663         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66664         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66665         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66666         forward declaration.
66667         (realloc_hook_ini): Likewise.
66668         (memalign_hook_ini): Likewise.
66669         (__libc_memalign): Do not use __MALLOC_PMT in variable
66670         declaration.
66671         (__libc_valloc): Likewise.
66672         (__libc_pvalloc): Likewise.
66673         (__libc_calloc): Likewise.
66674         (__posix_memalign): Likewise.
66676         [BZ #14996]
66677         * math/s_casinh.c: Include <float.h>.
66678         (__casinh): Do not do computation with squaring and square root
66679         for large arguments.
66680         * math/s_casinhf.c: Include <float.h>.
66681         (__casinhf): Do not do computation with squaring and square root
66682         for large arguments.
66683         * math/s_casinhl.c: Include <float.h>.
66684         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66685         (__casinhl): Do not do computation with squaring and square root
66686         for large arguments.
66687         * math/libm-test.inc (casin_test): Add more tests.
66688         (casinh_test): Likewise.
66689         * sysdeps/i386/fpu/libm-test-ulps: Update.
66690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66692 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66694         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66695         (__x86_64_raw_data_cache_size): Likewise.
66696         (__x86_64_data_cache_size_half): Likewise.
66697         (__x86_64_raw_data_cache_size_half): Likewise.
66698         (__x86_64_shared_cache_size): Likewise.
66699         (__x86_64_raw_shared_cache_size): Likewise.
66700         (__x86_64_shared_cache_size_half): Likewise.
66701         (__x86_64_raw_shared_cache_size_half): Likewise.
66702         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66703         to ...
66704         (__x86_data_cache_size): This.
66705         (__x86_64_raw_data_cache_size): Renamed to ...
66706         (__x86_raw_data_cache_size): This.
66707         (__x86_64_data_cache_size_half): Renamed to ...
66708         (__x86_data_cache_size_half): This.
66709         (__x86_64_raw_data_cache_size_half): Renamed to ...
66710         (__x86_raw_data_cache_size_half): This.
66711         (__x86_64_shared_cache_size): Renamed to ...
66712         (__x86_shared_cache_size): This.
66713         (__x86_64_raw_shared_cache_size): Renamed to ...
66714         (__x86_raw_shared_cache_size): This.
66715         (__x86_64_shared_cache_size_half): Renamed to ...
66716         (__x86_shared_cache_size_half): This.
66717         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66718         (__x86_raw_shared_cache_size_half): This.
66719         * sysdeps/x86_64/memcpy.S: Updated.
66720         * sysdeps/x86_64/memset.S: Likewise.
66721         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66722         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66723         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66725 2013-01-04  David S. Miller  <davem@davemloft.net>
66727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66729 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66731         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66732         1 to avoid redefinition warning.
66733         (__USE_GNU): Don't define.
66734         (init_signaling_nan): Protoize.
66736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66738 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66740         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66742         (__cpymn): Likewise.
66743         (norm): Remove commented code.
66744         (denorm): Likewise.
66745         (__mp_dbl): Likewise.
66746         (__inv): Likewise.
66747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66748         (__cpymn): Likewise.
66749         (norm): Remove commented code.
66750         (denorm): Likewise.
66751         (__mp_dbl): Likewise.
66752         (__inv): Likewise.
66754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66755         mp_no value for 1.0 and 2.0.
66756         (norm): Use RADIXI instead of radixi.d.
66757         (denorm): Likewise.
66758         (__mul): Use 0.0 instead of zero.d.
66759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66760         mp_no value for 1.0 and 2.0.
66761         (norm): Use RADIXI instead of radixi.d.
66762         (denorm): Likewise.
66763         (__mul): Use 0.0 instead of zero.d.
66765 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66767         [BZ #14994]
66768         * math/s_casinh.c (__casinh): Reduce finite argument to first
66769         quadrant then set signs of results at the end.
66770         * math/s_casinhf.c (__casinhf): Likewise.
66771         * math/s_casinhl.c (__casinhl): Likewise.
66772         * math/libm-test.inc (casin_test): Add more tests.
66773         (casinh_test): Likewise.
66774         * sysdeps/i386/fpu/libm-test-ulps: Update.
66775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66777 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66779         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66781         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66783         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66784         declarations.
66785         (denorm): Likewise.
66786         (__mp_dbl): Likewise.
66787         (__inv): Likewise.
66789         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66790         and adjust the header comment.
66792         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66793         variable name from declaration.
66795 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66798         Initialize COMMON_CPUID_INDEX_7 element.
66799         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66800         (CPUID_RTM): Likewise.
66801         (HAS_RTM): Likewise.
66802         (COMMON_CPUID_INDEX_7): New enum.
66804 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66806         [BZ #14981]
66807         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66808         size is zero, record memory as freed.
66810 2013-01-03  Andreas Jaeger  <aj@suse.de>
66812         * po/ia.po: Add new Interlingua translation.
66814 2012-01-03  Allan McRae  <allan@archlinux.org>
66816         * locale/programs/localedef.c: Fix description of '--posix' flag.
66818 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66820         * NEWS: Update dates in second copyright notice.
66821         * README: Update copyright dates in example.
66822         * manual/libc.texinfo: Update copyright dates.
66823         * scripts/test-installation.pl: Update copyright date in --version
66824         output.
66826         * hurd/ctty-input.c: Fix copyright notice formatting.
66827         * hurd/ctty-output.c: Likewise.
66828         * hurd/dtable.c: Likewise.
66829         * hurd/hurd-raise.c: Likewise.
66830         * hurd/hurdprio.c: Likewise.
66831         * hurd/msgportdemux.c: Likewise.
66832         * misc/sys/file.h: Likewise.
66833         * misc/sys/ioctl.h: Likewise.
66834         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66835         * sysdeps/mach/hurd/chdir.c: Likewise.
66836         * sysdeps/mach/hurd/fchdir.c: Likewise.
66837         * sysdeps/mach/hurd/rename.c: Likewise.
66838         * sysdeps/mach/hurd/rmdir.c: Likewise.
66839         * sysdeps/mach/hurd/seekdir.c: Likewise.
66840         * sysdeps/mach/hurd/setsid.c: Likewise.
66841         * sysdeps/posix/wait3.c: Likewise.
66843         * All files with FSF copyright notices: Update copyright dates
66844         using scripts/update-copyrights.
66845         * intl/plural.c: Regenerated.
66846         * locale/programs/charmap-kw.h: Likewise.
66847         * locale/programs/locfile-kw.h: Likewise.
66849 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66851         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66852         four values.
66854         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66855         calculation loop and add branch prediction.
66857         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66858         check access beyond bounds of m1np.
66860         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66861         MPTWO.
66862         (__inv): Remove local variable MPTWO to use the global
66863         constant.
66864         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66865         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66866         variable MPTWO.
66867         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66868         MP3HALFS static const.
66870 2013-01-01  David S. Miller  <davem@davemloft.net>
66872         * po/ca.po: Update from translation team.
66874 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66876         * scripts/update-copyrights: New file.
66877         * Makeconfig: Reformat copyright notice.
66878         * ctype/ctype.h: Likewise.
66879         * debug/swprintf_chk.c: Likewise.
66880         * elf/dl-cache.c: Likewise.
66881         * elf/dl-debug.c: Likewise.
66882         * elf/dl-object.c: Likewise.
66883         * grp/initgroups.c: Likewise.
66884         * hurd/Makefile: Likewise.
66885         * hurd/hurd/signal.h: Likewise.
66886         * hurd/hurdfault.c: Likewise.
66887         * hurd/hurdioctl.c: Likewise.
66888         * hurd/hurdlookup.c: Likewise.
66889         * hurd/intr-msg.c: Likewise.
66890         * iconv/gconv_open.c: Likewise.
66891         * libio/swprintf.c: Likewise.
66892         * locale/lc-ctype.c: Likewise.
66893         * locale/nl_langinfo.c: Likewise.
66894         * mach/Machrules: Likewise.
66895         * mach/Makefile: Likewise.
66896         * malloc/obstack.h: Likewise.
66897         * manual/Makefile: Likewise.
66898         * manual/tsort.awk: Likewise.
66899         * misc/bits/stab.def: Likewise.
66900         * nis/nis_print_group_entry.c: Likewise.
66901         * nis/nis_table.c: Likewise.
66902         * nis/nss_compat/compat-pwd.c: Likewise.
66903         * nis/nss_compat/compat-spwd.c: Likewise.
66904         * po/Makefile: Likewise.
66905         * posix/fnmatch.c: Likewise.
66906         * posix/regex.h: Likewise.
66907         * resolv/Makefile: Likewise.
66908         * resolv/nss_dns/dns-network.c: Likewise.
66909         * resolv/res_hconf.c: Likewise.
66910         * scripts/gen-sorted.awk: Likewise.
66911         * soft-fp/soft-fp.h: Likewise.
66912         * stdio-common/printf.h: Likewise.
66913         * stdlib/monetary.h: Likewise.
66914         * stdlib/random.c: Likewise.
66915         * stdlib/random_r.c: Likewise.
66916         * sysdeps/generic/Makefile: Likewise.
66917         * sysdeps/gnu/Makefile: Likewise.
66918         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66919         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66920         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66921         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66922         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66923         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66924         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66925         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66926         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66927         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66928         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66929         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66930         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66931         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66932         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66933         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66934         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66935         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66936         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66937         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66938         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66939         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66940         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66941         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66942         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66943         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66944         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66945         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66946         * sysdeps/mach/hurd/errnos.awk: Likewise.
66947         * sysdeps/mach/hurd/fork.c: Likewise.
66948         * sysdeps/mach/hurd/getcwd.c: Likewise.
66949         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66950         * sysdeps/mach/hurd/mmap.c: Likewise.
66951         * sysdeps/mach/hurd/utimes.c: Likewise.
66952         * sysdeps/mach/hurd/xmknod.c: Likewise.
66953         * sysdeps/posix/profil.c: Likewise.
66954         * sysdeps/posix/readdir_r.c: Likewise.
66955         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66956         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66957         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66958         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66960         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66961         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66962         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66964         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66965         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66966         * sysdeps/pthread/lio_listio.c: Likewise.
66967         * sysdeps/sparc/dl-procinfo.h: Likewise.
66968         * sysdeps/unix/i386/sysdep.S: Likewise.
66969         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66970         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66971         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66972         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66974         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66975         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66976         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66977         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66978         * sysdeps/wordsize-32/divdi3.c: Likewise.
66979         * time/sys/time.h: Likewise.
66980         * wcsmbs/Makefile: Likewise.
66982 2013-01-01  David S. Miller  <davem@davemloft.net>
66984         * po/fr.po: Update from translation team.
66986         * catgets/gencat.c: Update copyright year.
66987         * csu/version.c: Likewise.
66988         * debug/catchsegv.sh: Likewise.
66989         * debug/pcprofiledump.c: Likewise.
66990         * debug/xtrace.sh: Likewise.
66991         * elf/ldconfig.c: Likewise.
66992         * elf/ldd.bash.in: Likewise.
66993         * elf/pldd.c: Likewise.
66994         * elf/sotruss.ksh: Likewise.
66995         * elf/sprof.c: Likewise.
66996         * iconv/iconv_prog.c: Likewise.
66997         * iconv/iconvconfig.c: Likewise.
66998         * locale/programs/locale.c: Likewise.
66999         * locale/programs/localedef.c: Likewise.
67000         * login/programs/pt_chown.c: Likewise.
67001         * malloc/memusage.sh: Likewise.
67002         * malloc/memusagestat.c: Likewise.
67003         * malloc/mtrace.pl: Likewise.
67004         * nscd/nscd.c: Likewise.
67005         * nss/getent.c: Likewise.
67006         * nss/makedb.c: Likewise.
67007         * posix/getconf.c: Likewise.
67009 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67011         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67012         numbers.
67014 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67016         * math/bits/mathcalls.h (modf): Use __nonnull.
67018 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67020         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67021         (split): Use macro CN instead of the bare value.
67022         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67023         could be used.
67024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67025         instead of the bare value.
67026         (power1): Likewise.
67028 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67030         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67031         __ATAN_TWOM.
67032         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67034         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67035         their values.
67036         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67037         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67038         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67039         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67041 2012-12-28  Andreas Jaeger  <aj@suse.de>
67043         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67044         values are from Linux 3.7.
67046         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67047         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67049 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67051         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67052         TRUE case.
67054         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67055         (norm): Likewise.
67056         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67057         variables with preprocessor constants.
67058         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67059         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67060         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67062 2012-12-27  Bruno Haible  <bruno@clisp.org>
67064         [BZ #14317]
67065         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67066         only if needed.
67068 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67071         and use variable directly.
67072         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67074         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67075         MPONE.
67076         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67077         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67078         variable MPONE.
67079         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67080         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67081         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67082         include directive.  Remove local variable MPONE.
67083         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67084         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67085         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67087 2012-12-25  David S. Miller  <davem@davemloft.net>
67089         * version.h (RELEASE): Set to "development".
67090         (VERSION): Set to "2.17.90".
67091         * NEWS: Add 2.18 section.
67093 2012-12-21  David S. Miller  <davem@davemloft.net>
67095         * po/hr.po: Update from translation team.
67097 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67099         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67101 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67103         * NEWS:  Mention new memcpy for MIPS.
67105 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67107         * manual/contrib.texi (Contributors): Spelling correction.
67109 2012-12-15  David S. Miller  <davem@davemloft.net>
67111         * po/ru.po: Update from translation team.
67113 2012-12-13  David S. Miller  <davem@davemloft.net>
67115         * NEWS: Mention IFUNC testsuite enhancements.
67117         * po/pl.po: Update from translation team.
67118         * po/bg.po: Likewise.
67120         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67121         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67123 2012-12-11  David S. Miller  <davem@davemloft.net>
67125         * po/sv.po: Update from translation team.
67127         * po/vi.po: Update from translation team.
67129         * po/cs.po: Update from translation team.
67131         * po/de.po: Update from translation team.
67132         * po/eo.po: Likewise.
67133         * po/nl.po: Likewise.
67135 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67137         [BZ #14246]
67138         * manual/argp.texi (Argp Helper Functions): Move node to follow
67139         Argp Parsing State.
67141         [BZ #14872]
67142         * manual/conf.texi (Limits on File System Capacity): Mention if
67143         terminating null is included in the max size.
67145 2012-12-10  Andreas Jaeger  <aj@suse.de>
67147         * po/cs.po: Update from translation team.
67149 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67151         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67152         void pointer and cast to uintptr_t.
67153         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67154         path.
67155         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67156         * sysdeps/s390/s390-64/memset.S: Likewise.
67158 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67160         [BZ #14833]
67161         * menual/message.texi (Message Translation): Fix typos.
67162         (Helper programs for gettext): Likewise.
67164 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67166         [BZ #14898]
67167         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67168         Change to -1.
67170 2012-12-07  David S. Miller  <davem@davemloft.net>
67172         * po/libc.pot: Update.
67174 2012-12-07  Richard Henderson  <rth@redhat.com>
67176         [BZ #10114]
67177         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67178         normal/normal case to before the switch.
67179         (_FP_DIV): Likewise.
67181 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67182             Mike Frysinger  <vapier@gentoo.org>
67184         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67185         check for __NR_fadvise64_64.
67187 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67189         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67190         0, not just to plain "0" as a statement.
67191         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67192         with cw.
67194 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67196         * NEWS: Use sourceware.org in Bugzilla URL.
67198 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67201         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67203         * stdio-common/tst-put-error.c (do_test): Add newline to the
67204         padded test to ensure flush.
67206 2012-12-05  Jeff Law  <law@redhat.com>
67208         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67210 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67212         * README: Don't refer to ports add-on as distributed separately.
67213         Mention AArch64 in list of systems supported in the ports add-on.
67215         * LICENSES: Add more non-FSF copyright and license notices.
67217         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67218         ((unused)).
67220         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67222         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67223         10000 as width of padded output.
67225 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67227         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67229         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67230         variable LX with __attribute__ ((unused)).
67231         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67232         Likewise.
67233         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67234         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67235         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67236         with __attribute__ ((unused)).
67238 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67240         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67242 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67244         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67245         (CFLAGS-nldbl-acos.c): New variable.
67246         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67247         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67248         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67249         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67250         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67251         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67252         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67253         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67254         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67255         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67256         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67257         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67258         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67259         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67260         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67261         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67262         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67263         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67264         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67265         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67266         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67267         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67268         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67269         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67270         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67271         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67272         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67273         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67274         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67275         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67276         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67277         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67278         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67279         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67280         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67281         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67282         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67283         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67284         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67285         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67286         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67287         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67288         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67289         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67290         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67291         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67292         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67293         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67294         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67295         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67296         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67297         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67298         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67299         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67300         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67301         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67302         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67303         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67304         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67305         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67306         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67307         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67308         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67309         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67310         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67311         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67312         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67313         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67314         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67315         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67316         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67317         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67318         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67319         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67320         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67321         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67322         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67323         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67324         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67325         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67326         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67327         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67328         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67329         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67330         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67331         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67332         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67333         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67334         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67335         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67336         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67337         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67338         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67339         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67340         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67341         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67342         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67345         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67347         [BZ #14914]
67348         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67349         whole low double instead of just low 47 bits when splitting values
67350         into two parts.
67352 2012-12-03  Allan McRae  <allan@archlinux.org>
67354         * manual/stdio.texi (Predefined Printf Handlers): Remove
67355         @hsep and @vsep usage.
67357 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67359         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67360         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67362 2012-12-03  Jeff Law  <law@redhat.com>
67364         * time/sys/time.h (settimeofday): Do not mark TV argument
67365         as __nonnull.
67367 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67369         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67370         when currently writing and seek to current position when not.
67371         * libio/Makefile (tests): Remove bug-fclose1.
67372         * libio/bug-fclose1.c: Delete.
67374 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67376         * manual/arith.texi (feenableexcept): Fix typo.
67377         (fedisableexcept): Likewise.
67379 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67381         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67382         second, differently-typed declaration, rather than a cast.
67384 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67386         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67387         * include/rpc/svc.h: ... here.
67389 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67391         [BZ #13013]
67392         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67393         depending n and resplen2 to catch cases where answer
67394         equals answerp2.
67396 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67398         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67399         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67401 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67403         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67405 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67407         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67409 2012-11-28  Jeff Law  <law@redhat.com>
67411         [BZ #13761]
67412         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67413         dataset_temporary.  Track alloca usage into alloca_used.
67414         If dataset is large allocate and release it via malloc/free.
67416 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67418         [BZ #14197]
67419         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67421 2012-11-28  David S. Miller  <davem@davemloft.net>
67423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67425 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67427         [BZ #14803]
67428         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67429         of pi/2 rounded to nearest to 64 bits.
67430         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67431         nearest to 64 bits.
67432         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67433         bits.
67435 2012-11-28  Jeff Law <law@redhat.com>
67436             Martin Osvald <mosvald@redhat.com>
67438         [BZ #14889]
67439         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67440         * sunrpc/svc.c: Include time.h.
67441         (__svc_accept_failed): New function.
67442         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67443         any reason other than EINTR, call __svc_accept_failed.
67444         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67445         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67447 2012-11-28  Andreas Schwab  <schwab@suse.de>
67449         * scripts/abilist.awk: Also handle indirect functions in .opd
67450         section.
67452 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67454         [BZ #13881]
67455         * sysdeps/x86/fpu/powl_helper.c: New file.
67456         * sysdeps/x86/fpu/Makefile: Likewise.
67457         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67458         (p3): New object.
67459         (__ieee754_powl): Use __powl_helper for finite arguments except
67460         integer exponents below 8.
67461         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67462         (p3): New object.
67463         (__ieee754_powl): Use __powl_helper for finite arguments except
67464         integer exponents below 8.
67465         * math/libm-test.inc (pow_test): Add more tests and enable some
67466         previously disabled tests.
67467         * sysdeps/i386/fpu/libm-test-ulps: Update.
67468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67470 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67471             Carlos O'Donell  <carlos_odonell@mentor.com>
67473         * nss/makedb.c (is_prime): Assert that input is odd and greater
67474         than 4.  Note that fact in a comment too.
67475         (next_prime): Add 4 to input.
67477 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67479         [BZ #11741]
67480         * libio/Makefile (tests): Add test case tst-fwrite-error.
67481         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67482         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67483         * libio/tst-fwrite-error.c: New test case.
67485 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67487         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67488         before casting to void *.
67489         * include/libc-internal.h (__pointer_type): New macro.
67490         (__integer_if_pointer_type_sub): Likewise.
67491         (__integer_if_pointer_type): Likewise.
67492         (cast_to_integer): Likewise.
67493         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67494         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67495         before casting to atomic64_t.
67496         (atomic_exchange_acq): Likewise.
67497         (__arch_exchange_and_add_body): Likewise.
67498         (__arch_add_body): Likewise.
67499         (atomic_add_negative): Likewise.
67500         (atomic_add_zero): Likewise.
67502 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67504         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67505         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67506         (add_fdes): Likewise.
67507         (linear_search_fdes): Likewise.
67508         (binary_search_unencoded_fdes): Likewise.
67510 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67512         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67514 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67516         * configure.in: Autodetect C++ header directories.
67517         * configure: Regenerated.
67519 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67521         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67523 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67527 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67529         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67530         LDBL_MANT_DIG == 106]: Disable some tests.
67531         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67532         Likewise.
67533         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67534         Likewise.
67536         [BZ #14871]
67537         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67538         input for small inputs.  Return +/- pi/2 for large inputs.
67539         * math/libm-test.inc (atan_test): Add more tests.
67541         * sysdeps/generic/unwind-dw2-fde-glibc.c
67542         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67543         __attribute__ ((unused)).
67545         [BZ #14645]
67546         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67547         x * y if x and y are nonzero and z is zero.
67549         [BZ #14811]
67550         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67551         nonzero exponents with absolute value below 0x1p-117 to +/-
67552         0x1p-117.
67554         [BZ #14869]
67555         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67556         up arguments below 2**-450, not just those below 2**-500.
67557         * math/libm-test.inc (hypot_test): Add another test.
67559         [BZ #14868]
67560         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67561         Return a+b for ratio over 2**120, not 2**60.
67562         * math/libm-test.inc (hypot_test): Add another test.
67564         * math/libm-test.inc (clog_test): Use
67565         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67566         (clog10_test): Likewise.
67568         [BZ #6778]
67569         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67571 2012-11-22  Andreas Schwab  <schwab@suse.de>
67573         * sysdeps/i386/fpu/libm-test-ulps: Update.
67575 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67577         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67578         printf output with newline.
67580 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67582         [BZ #14865]
67583         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67584         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67585         -z nodlopen, -z initfirst and -z execstack support.
67586         * configure: Regenerated.
67588         * elf/elf.h (DF_1_NODIRECT): New macro.
67589         (DF_1_IGNMULDEF): Likewise.
67590         (DF_1_NOKSYMS): Likewise.
67591         (DF_1_NOHDR): Likewise.
67592         (DF_1_EDITED): Likewise.
67593         (DF_1_NORELOC): Likewise.
67594         (DF_1_SYMINTPOSE): Likewise.
67595         (DF_1_GLOBAUDIT): Likewise.
67596         (DF_1_SINGLETON): Likewise.
67597         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67598         DT_1_SUPPORTED_MASK bits.
67599         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67601 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67603         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67605 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67607         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67608         macro.
67610         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67611         (sendmmsg): Move declarations...
67612         * socket/sys/socket.h: ... here.
67613         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67614         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67615         include it from...
67616         * socket/recvmmsg.c: ... this new file.
67617         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67618         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67619         definition of __sendmmsg hidden.
67620         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67621         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67622         Move ENOSYS stub into and include it from...
67623         * socket/sendmmsg.c: ... this new file.
67624         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67625         (sysdep_routines): Move recvmmsg and sendmmsg...
67626         * socket/Makefile (routines): ... here.
67627         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67628         (GLIBC_PRIVATE): Add __sendmmsg.
67629         * include/sys/socket.h (__sendmmsg): Add declarations.
67630         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67631         sendmmsg.
67633 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67635         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67636         variable I1 with __attribute__ ((unused)).
67637         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67639 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67641         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67642         DUMMY variables with __attribute__ ((unused)).
67644         * bits/byteswap.h: Include <bits/types.h>.
67645         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67647 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67649         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67650         string_t.  Do not manually set errno.
67651         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67652         length with __strnlen.  Make sure to both set errno and return it on
67653         failure.
67655 2012-11-19  David S. Miller  <davem@davemloft.net>
67657         With help from Joseph Myers.
67658         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67659         very large arguments properly.
67660         * math/libm-test.inc (atan_test): New tests.
67661         (atan2_test): New tests.
67662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67663         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67665 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67667         [BZ #14856]
67668         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67669         Define to 3.
67671         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67672         [POSIX] (EADDRNOTAVAIL): Likewise.
67673         [POSIX] (EAFNOSUPPORT): Likewise.
67674         [POSIX] (EALREADY): Likewise.
67675         [POSIX] (ECONNABORTED): Likewise.
67676         [POSIX] (ECONNREFUSED): Likewise.
67677         [POSIX] (ECONNRESET): Likewise.
67678         [POSIX] (EDESTADDRREQ): Likewise.
67679         [POSIX] (EDQUOT): Likewise.
67680         [POSIX] (EHOSTUNREACH): Likewise.
67681         [POSIX] (EIDRM): Likewise.
67682         [POSIX] (EISCONN): Likewise.
67683         [POSIX] (ELOOP): Likewise.
67684         [POSIX] (EMULTIHOP): Likewise.
67685         [POSIX] (ENETDOWN): Likewise.
67686         [POSIX] (ENETUNREACH): Likewise.
67687         [POSIX] (ENOBUFS): Likewise.
67688         [POSIX] (ENODATA): Likewise.
67689         [POSIX] (ENOLINK): Likewise.
67690         [POSIX] (ENOMSG): Likewise.
67691         [POSIX] (ENOPROTOOPT): Likewise.
67692         [POSIX] (ENOSR): Likewise.
67693         [POSIX] (ENOSTR): Likewise.
67694         [POSIX] (ENOTCONN): Likewise.
67695         [POSIX] (ENOTSOCK): Likewise.
67696         [POSIX] (EOPNOTSUPP): Likewise.
67697         [POSIX] (EOVERFLOW): Likewise.
67698         [POSIX] (EPROTO): Likewise.
67699         [POSIX] (EPROTONOSUPPORT): Likewise.
67700         [POSIX] (EPROTOTYPE): Likewise.
67701         [POSIX] (ESTALE): Likewise.
67702         [POSIX] (ETIME): Likewise.
67703         [POSIX] (ETXTBSY): Likewise.
67704         [POSIX] (EWOULDBLOCK): Likewise.
67705         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67706         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67707         [POSIX] (SEEK_CUR): Likewise.
67708         [POSIX] (SEEK_END): Likewise.
67709         [POSIX || UNIX98] (mode_t): Do not require.
67710         [POSIX] (off_t): Likewise.
67711         [POSIX] (pid_t): Likewise.
67712         [POSIX] (sys/stat.h): Do not allow header.
67713         [POSIX] (unistd.h): Likewise.
67714         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67715         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67716         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67717         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67718         require.
67719         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67720         sigevent): Specify elements.
67721         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67722         entry.
67723         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67724         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67726         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67727         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67728         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67729         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67730         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67731         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67732         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67733         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67734         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67735         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67736         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67737         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67738         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67739         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67740         Likewise.
67741         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67742         Likewise.
67743         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67744         Likewise.
67745         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67746         Likewise.
67747         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67748         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67749         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67750         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67751         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67752         Specify lower bound on value.
67753         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67754         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67755         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67756         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67757         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67758         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67759         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67760         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67761         value.
67762         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67763         as optional.
67764         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67765         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67766         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67767         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67768         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67769         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67770         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67771         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67772         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67773         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67774         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67775         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67776         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67777         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67778         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67779         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67780         entry.
67781         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67782         optional.
67783         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67784         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67785         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67786         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67787         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67788         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67789         Likewise.
67790         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67791         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67792         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67793         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67794         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67795         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67796         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67797         as optional.
67798         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67799         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67800         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67801         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67802         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67803         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67804         specify as optional.
67805         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67806         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67807         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67808         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67809         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67810         [XPG3] (NL_LANGMAX): Likewise.
67811         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67812         [POSIX || XPG3] (NL_NMAX): Likewise.
67813         [POSIX || XPG3] (NL_SETMAX): Likewise.
67814         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67815         [XPG3] (NZERO): Likewise.
67816         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67817         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67818         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67819         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67820         (REG_ERANGE): Expect.
67821         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67822         optional-constant.
67823         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67824         Use (void) in prototype.
67825         [POSIX] (*_t): Allow.
67826         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67827         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67828         (WRDE_BADVAL): Expect.
67830         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67831         expect.
67832         [XPG3 || XPG4] (O_RSYNC): Likewise.
67833         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67834         Likewise.
67835         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67836         [XPG3 || XPG4] (sigqueue): Likewise.
67837         [XPG3 || XPG4] (sigtimedwait): Likewise.
67838         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67839         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67840         [XPG3 || XPG4] (vsnprintf): Likewise.
67841         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67842         Likewise.
67843         [XPG3 || XPG4] (blksize_t): Likewise.
67844         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67845         Likewise.
67846         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67847         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67848         [XPG3 || XPG4] (struct itimerspec): Likewise.
67849         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67850         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67851         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67852         [XPG3 || XPG4] (clockid_t): Likewise.
67853         [XPG3 || XPG4] (timer_t): Likewise.
67854         [XPG3 || XPG4] (clock_getres): Likewise.
67855         [XPG3 || XPG4] (clock_gettime): Likewise.
67856         [XPG3 || XPG4] (clock_settime): Likewise.
67857         [XPG3 || XPG4] (nanosleep): Likewise.
67858         [XPG3 || XPG4] (timer_create): Likewise.
67859         [XPG3 || XPG4] (timer_delete): Likewise.
67860         [XPG3 || XPG4] (timer_gettime): Likewise.
67861         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67862         [XPG3 || XPG4] (timer_settime): Likewise.
67863         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67864         [XPG3 || XPG4] (getlogin_r): Likewise.
67865         [XPG3 || XPG4] (pread): Likewise.
67866         [XPG3 || XPG4] (pthread_atfork): Likewise.
67867         [XPG3 || XPG4] (pwrite): Likewise.
67869         [BZ #14835]
67870         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67871         <bits/siginfo.h>.
67873 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67875         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67876         finalizing MALLSTREAM.
67878         * sysdeps/mach/hurd/syncfs.c: New file.
67880 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67882         [BZ #14719]
67883         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67884         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67885         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67886         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67887         (_nss_dns_gethostbyname4_r): Likewise.
67888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67889         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67891 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67893         [BZ #13763]
67894         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67896 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67898         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67899         * elf/cache.c (print_entry): Print ",AArch64" for
67900         FLAG_AARCH64_LIB64
67902         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67903         * elf/cache.c (print_entry): Print ",hard-float" for
67904         FLAG_ARM_LIBHF.
67906 2012-11-18  David S. Miller  <davem@davemloft.net>
67908         With help from Joseph Myers.
67909         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67910         cutoff to 2**-13.
67911         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67912         cutoff to 2**-25.
67913         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67914         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67915         small.
67916         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67917         * math/libm-test.inc (y0_test): New tests.
67918         (y1_test): New tests.
67919         * sysdeps/i386/fpu/libm-test-ulps: Update.
67920         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67923 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67925         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67926         64-bit targets.
67927         * configure: Regenerated.
67929 2012-11-17  David S. Miller  <davem@davemloft.net>
67931         [BZ #14811]
67932         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67933         nonzero exponents with absolute value below 0x1p-128 to +/-
67934         0x1p-128.
67936 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67938         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67940         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67942         * posix/getconf-speclist.c: New file.
67943         * posix/posix-envs.def: Likewise.
67944         * posix/confstr.c (START_ENV_GROUP): New macro.
67945         (END_ENV_GROUP): Likewise.
67946         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67947         (KNOWN_PRESENT_ENV_STRING): Likewise.
67948         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67949         (UNKNOWN_ENVIRONMENT): Likewise.
67950         (confstr): Include posix-envs.def instead of handling
67951         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67952         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67953         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67954         (END_ENV_GROUP): Likewise.
67955         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67956         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67957         (UNKNOWN_ENVIRONMENT): Likewise.
67958         (__sysconf): Include posix-envs.def instead of handling associated
67959         cases directly here.
67960         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67961         preprocessing getconf-speclist.c rather than running getconf or
67962         generating empty file.
67964 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67966         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67968 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67970         [BZ #14672]
67971         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67973 2012-11-16  David S. Miller  <davem@davemloft.net>
67975         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67976         smaller than LDBL_EPSILON/2.0L, just return xm1.
67978 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67980         * elf/tst-array1.c (init): Set constructor priority to 1000.
67981         (fini): Set destructor priority to 1000.
67982         * elf/tst-array2dep.c: Likewise.
67984 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67986         [BZ #11741]
67987         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67988         (_IO_new_file_xsputn): Also return EOF if none of the input
67989         data was written when overflow failed.
67990         * libio/iopadn.c (_IO_padn): Likewise.
67991         * libio/iowpadn.c (_IO_wpadn): Likewise.
67992         * stdio-common/tst-put-error.c: Add copyright notice.
67993         (do_test): Add case for printing padded string.
67994         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67995         _IO_padn returned error.
67996         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
67997         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
67998         return EOF.
68000 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68002         * libio/libioP.h: Add comment note that the references to C++
68003         bits are now obsolete.
68005 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68007         * math/libm-test.inc (check_complex): Use asprintf.
68009 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68011         * debug/pcprofiledump.c (print_version): Update copyright year.
68012         * malloc/memusagestat.c (print_version): Likewise.
68014 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68016         [BZ #14831]
68017         * elf/Makefile (tests): Add tst-audit8.
68018         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68019         ($(objpfx)tst-audit8.out): New target.
68020         (tst-audit8-ENV): New variable.
68021         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68022         audit if l_reloc_result is NULL.
68023         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68024         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68025         * elf/tst-audit8.c: New file.
68027 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68029         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68030         * misc/Makefile (CFLAGS-select.c): Define.
68031         * posix/Makefile (CFLAGS-pause.c): Define.
68033 2012-11-13  David S. Miller  <davem@davemloft.net>
68035         * crypt/Makefile: Move test targets after toplevel Rules
68036         inclusion.  Grab any necessary sysdep routines when linking.
68037         * crypt/md5.c (md5_process_block): Remove define, we will always
68038         name it __md5_process_block.
68039         (md5_finish_ctx): Update md5_process_block call.
68040         (md5_stream): Likewise.
68041         (md5_process_bytes): Likewise.
68042         (md5_process_block): Rename to __md5_process_block and move to ...
68043         * crypt/md5-block.c: ... here.
68044         * crypt/sha256.c (sha256_process_block): Move to ...
68045         * crypt/sha256-block.c: ... here.
68046         * crypt/sha512.c (sha512_process_block): Move to ...
68047         * crypt/sha512-block.c: ... here.
68048         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68049         path.
68050         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68051         * sysdeps/sparc/sparc64/multiarch/Makefile
68052         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68053         crypt subdir.
68054         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68055         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68056         multiarch changes.
68057         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68058         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68059         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68060         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68061         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68062         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68063         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68064         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68065         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68066         file.
68067         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68068         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68069         file.
68070         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68072 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68074         * timezone/tzselect.ksh: Update from tzcode git revision
68075         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68076         * timezone/zdump.c: Likewise.
68077         * timezone/zic.c: Likewise.
68078         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68079         in TZVERSION setting, not $(PKGVERSION).
68080         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68081         REPORT_BUGS_TO settings.
68083         [BZ #14838]
68084         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68085         macro.
68087 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68089         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68090         detection to immediately after _FP_ROUND().
68091         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68092         bits are 0.
68094 2012-11-11  David S. Miller  <davem@davemloft.net>
68096         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68097         inttypes.h
68098         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68099         __close rather than their public counterparts.
68101 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68103         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68104         file.
68105         [UNIX98] (sem_timedwait): Do not expect.
68106         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68107         [XPG4 || UNIX98] (sockatmark): Do not expect.
68108         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68109         (clock_getcpuclockid): Do not expect.
68110         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68111         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68112         Do not expect.
68113         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68114         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68115         [UNIX98] (vwscanf): Likewise.
68116         [UNIX98] (vswscanf): Likewise.
68118 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68120         * timezone/version.h: Remove file.
68121         * timezone/README: Do not refer to version.h.
68122         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68123         $(objpfx)version.h.
68124         ($(objpfx)zdump.o): Likewise.
68125         ($(objpfx)version.h): New target.
68127         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68128         2012i.
68129         * timezone/README: Don't mention modification to tzselect.ksh.
68130         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68131         work on unmodified tzselect.ksh.  Substitute version numbers in
68132         tzselect.ksh.
68134         * Makefile (format-me): Remove.
68135         (INSTALL): Adjust indentation.  Use commands directly instead of
68136         using $(format-me).
68138         * aclocal.m4 (ACX_PKGVERSION): New macro.
68139         (ACX_BUGURL): Likewise.
68140         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68141         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68142         (REPORT_BUGS_TO): Likewise.
68143         * configure: Regenerated.
68144         * config.h.in (PKGVERSION): New macro.
68145         (REPORT_BUGS_TO): Likewise.
68146         * config.make.in (PKGVERSION): New variable.
68147         (PKGVERSION_TEXI): Likewise.
68148         (REPORT_BUGS_TO): Likewise.
68149         (REPORT_BUGS_TEXI): Likewise.
68150         * Makefile (format-me): Use -I$(common-objpfx)manual.
68151         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68152         ($(common-objpfx)manual/%): New target.
68153         (manual/%): Remove target.
68154         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68155         (print_version): Use PKGVERSION.
68156         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68157         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68158         and REPORT_BUGS_TO.
68159         ($(objpfx)xtrace): Likewise.
68160         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68161         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68162         (print_version): Use PKGVERSION.
68163         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68164         (do_version): Use PKGVERSION.
68165         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68166         REPORT_BUGS_TO.
68167         (common-ldd-rewrite): Likewise.
68168         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68169         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68170         (print_version): Use PKGVERSION.
68171         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68172         * elf/pldd.c (argp_program_bug_address): Remove variable.
68173         (more_help): New function.
68174         (argp): Use more_help.
68175         (print_version): Use PKGVERSION.
68176         * elf/sln.c (main): Use PKGVERSION.
68177         (usage): Use REPORT_BUGS_TO.
68178         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68179         (top level): Use PKGVERSION.
68180         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68181         (print_version): Use PKGVERSION.
68182         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68183         (print_version): Use PKGVERSION.
68184         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68185         (print_version): Use PKGVERSION.
68186         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68187         (print_version): Use PKGVERSION.
68188         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68189         (print_version): Use PKGVERSION.
68190         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68191         (print_version): Use PKGVERSION.
68192         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68193         and BUGURL.
68194         ($(objpfx)memusage): Likewise.
68195         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68196         (do_version): Use PKGVERSION.
68197         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68198         (print_version): Use PKGVERSION.
68199         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68200         ($PKGVERSION): New variable.
68201         ($REPORT_BUGS_TO): Likewise.
68202         (usage): Use $REPORT_BUGS_TO.
68203         (top level): Use $PKGVERSION.
68204         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68205         ($(objpfx)pkgvers.texi): New rule.
68206         ($(objpfx)stamp-pkgvers): Likewise.
68207         * manual/install.texi: Include pkgvers.texi.
68208         (--with-pkgversion): Document new configure option.
68209         (--with-bugurl): Likewise.
68210         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68211         than necessarily for this particular distribution.  Use
68212         REPORT_BUGS_TO for where to report bugs.
68213         * INSTALL: Regenerated.
68214         * manual/libc.texinfo: Include pkgvers.texi.
68215         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68216         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68217         (print_version): Use PKGVERSION.
68218         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68219         (print_version): Use PKGVERSION.
68220         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68221         (print_version): Use PKGVERSION.
68222         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68223         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68224         macro.
68225         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68226         (print_version): Use PKGVERSION.
68227         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68228         (print_version): Use PKGVERSION.
68229         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68230         and PKGVERSION.
68232         * timezone/checktab.awk: Update from tzcode 2012i.
68233         * timezone/ialloc.c: Likewise.
68234         * timezone/private.h: Likewise.
68235         * timezone/scheck.c: Likewise.
68236         * timezone/tzfile.h: Likewise.
68237         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68238         (TZVERSION): Hardcode tzcode version number.
68239         * timezone/zdump.c: Update from tzcode 2012i.
68240         * timezone/zic.c: Likewise.
68241         * timezone/version.h: New file.
68242         * timezone/README: Describe version.h.  Update upstream location.
68244         [BZ #14824]
68245         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68246         (mktemp): Enable declaration.
68247         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68248         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68249         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68250         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68251         Likewise.
68252         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68253         Likewise.
68254         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68255         Likewise.
68256         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68257         Likewise.
68258         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68259         Likewise.
68260         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68261         Likewise.
68263         [BZ #14821]
68264         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68265         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68266         for copies of such integer values.
68267         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68268         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68270 2012-11-09  Andreas Jaeger  <aj@suse.de>
68272         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68273         definitions and declarations that are provided by
68274         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68276 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68278         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68279         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68280         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68281         definition.
68283 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68285         * elf/elf.h: Update comment before AArch64 relocations.
68287 2012-11-07  David S. Miller  <davem@davemloft.net>
68289         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68290         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68291         (__start_context): Declare.
68292         (__makecontext_ret): Delete.
68293         (__makecontext): Hook up __start_context instead of
68294         __makecontext_ret.
68295         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68296         (sysdep_routines): Add __start_context when in stdlib.
68298 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68300         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68301         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68302         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68303         hardcoded "nm".
68304         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68305         (READELF): New variable.  Use it instead of hardcoded "readelf".
68307 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68309         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68310         * sysdeps/x86/Makefile: Here.
68311         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68312         * sysdeps/x86/tst-xmmymm.sh: This.
68314 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68316         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68317         expectations.
68318         [UNIX98] (pthread_barrier_t): Do not expect.
68319         [UNIX98] (pthread_barrierattr_t): Likewise.
68320         [UNIX98] (pthread_spinlock_t): Likewise.
68321         [UNIX98] (pthread_barrier_destroy): Likewise.
68322         [UNIX98] (pthread_barrier_init): Likewise.
68323         [UNIX98] (pthread_barrier_wait): Likewise.
68324         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68325         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68326         [UNIX98] (pthread_barrierattr_init): Likewise.
68327         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68328         [UNIX98] (pthread_getcpuclockid): Likewise.
68329         [UNIX98] (pthread_mutex_timedlock): Likewise.
68330         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68331         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68332         [UNIX98] (pthread_sigmask): Likewise.
68333         [UNIX98] (pthread_spin_destroy): Likewise.
68334         [UNIX98] (pthread_spin_init): Likewise.
68335         [UNIX98] (pthread_spin_lock): Likewise.
68336         [UNIX98] (pthread_spin_trylock): Likewise.
68337         [UNIX98] (pthread_spin_unlock): Likewise.
68338         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68339         Do not expect.
68340         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68341         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68342         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68343         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68344         [XPG3 || XPG4] (pthread_key_t): Likewise.
68345         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68346         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68347         [XPG3 || XPG4] (pthread_once_t): Likewise.
68348         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68349         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68350         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68351         [XPG3 || XPG4] (pthread_t): Likewise.
68353         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68354         not expect.
68355         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68357         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68358         Change function return type to int.
68360         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68361         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68362         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68363         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68364         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68365         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68366         [!POSIX] (posix_madvise): Likewise.
68367         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68368         && !UNIX98].
68369         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68370         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68371         (mode_t): Likewise.
68372         (posix_mem_offset): Likewise.
68373         (posix_typed_mem_get_info): Likewise.
68374         (posix_typed_mem_open): Likewise.
68376         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68377         Change condition to [XOPEN2K8].
68379         * conform/conformtest.pl: Preprocess allow-header data with -x c
68380         instead of from stdin.
68381         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68382         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68383         [C99-based standards] (cerfc): Likewise.
68384         [C99-based standards] (cexp2): Likewise.
68385         [C99-based standards] (cexpm1): Likewise.
68386         [C99-based standards] (clog10): Likewise.
68387         [C99-based standards] (clog1p): Likewise.
68388         [C99-based standards] (clog2): Likewise.
68389         [C99-based standards] (clgamma): Likewise.
68390         [C99-based standards] (ctgamma): Likewise.
68391         [C99-based standards] (cerff): Likewise.
68392         [C99-based standards] (cerfcf): Likewise.
68393         [C99-based standards] (cexp2f): Likewise.
68394         [C99-based standards] (cexpm1f): Likewise.
68395         [C99-based standards] (clog10f): Likewise.
68396         [C99-based standards] (clog1pf): Likewise.
68397         [C99-based standards] (clog2f): Likewise.
68398         [C99-based standards] (clgammaf): Likewise.
68399         [C99-based standards] (ctgammaf): Likewise.
68400         [C99-based standards] (cerfl): Likewise.
68401         [C99-based standards] (cerfcl): Likewise.
68402         [C99-based standards] (cexp2l): Likewise.
68403         [C99-based standards] (cexpm1l): Likewise.
68404         [C99-based standards] (clog10l): Likewise.
68405         [C99-based standards] (clog1pl): Likewise.
68406         [C99-based standards] (clog2l): Likewise.
68407         [C99-based standards] (clgammal): Likewise.
68408         [C99-based standards] (ctgammal): Likewise.
68409         * conform/data/inttypes.h-data [C99-based standards]: Include
68410         stdint.h-data.  Remove all expectations for stdint.h contents.
68411         [C99-based standards] (PRI*): Do not allow.
68412         [C99-based standards] (SCN*): Likewise.
68413         [C99-based standards] (*_t): Likewise.
68414         [C99-based-standards] (PRId8): Expect macro.
68415         [C99-based-standards] (PRIi8): Likewise.
68416         [C99-based-standards] (PRIo8): Likewise.
68417         [C99-based-standards] (PRIu8): Likewise.
68418         [C99-based-standards] (PRIx8): Likewise.
68419         [C99-based-standards] (PRIX8): Likewise.
68420         [C99-based-standards] (SCNd8): Likewise.
68421         [C99-based-standards] (SCNi8): Likewise.
68422         [C99-based-standards] (SCNo8): Likewise.
68423         [C99-based-standards] (SCNu8): Likewise.
68424         [C99-based-standards] (SCNx8): Likewise.
68425         [C99-based-standards] (PRIdLEAST8): Likewise.
68426         [C99-based-standards] (PRIiLEAST8): Likewise.
68427         [C99-based-standards] (PRIoLEAST8): Likewise.
68428         [C99-based-standards] (PRIuLEAST8): Likewise.
68429         [C99-based-standards] (PRIxLEAST8): Likewise.
68430         [C99-based-standards] (PRIXLEAST8): Likewise.
68431         [C99-based-standards] (SCNdLEAST8): Likewise.
68432         [C99-based-standards] (SCNiLEAST8): Likewise.
68433         [C99-based-standards] (SCNoLEAST8): Likewise.
68434         [C99-based-standards] (SCNuLEAST8): Likewise.
68435         [C99-based-standards] (SCNxLEAST8): Likewise.
68436         [C99-based-standards] (PRIdFAST8): Likewise.
68437         [C99-based-standards] (PRIiFAST8): Likewise.
68438         [C99-based-standards] (PRIoFAST8): Likewise.
68439         [C99-based-standards] (PRIuFAST8): Likewise.
68440         [C99-based-standards] (PRIxFAST8): Likewise.
68441         [C99-based-standards] (PRIXFAST8): Likewise.
68442         [C99-based-standards] (SCNdFAST8): Likewise.
68443         [C99-based-standards] (SCNiFAST8): Likewise.
68444         [C99-based-standards] (SCNoFAST8): Likewise.
68445         [C99-based-standards] (SCNuFAST8): Likewise.
68446         [C99-based-standards] (SCNxFAST8): Likewise.
68447         [C99-based-standards] (PRId16): Likewise.
68448         [C99-based-standards] (PRIi16): Likewise.
68449         [C99-based-standards] (PRIo16): Likewise.
68450         [C99-based-standards] (PRIu16): Likewise.
68451         [C99-based-standards] (PRIx16): Likewise.
68452         [C99-based-standards] (PRIX16): Likewise.
68453         [C99-based-standards] (SCNd16): Likewise.
68454         [C99-based-standards] (SCNi16): Likewise.
68455         [C99-based-standards] (SCNo16): Likewise.
68456         [C99-based-standards] (SCNu16): Likewise.
68457         [C99-based-standards] (SCNx16): Likewise.
68458         [C99-based-standards] (PRIdLEAST16): Likewise.
68459         [C99-based-standards] (PRIiLEAST16): Likewise.
68460         [C99-based-standards] (PRIoLEAST16): Likewise.
68461         [C99-based-standards] (PRIuLEAST16): Likewise.
68462         [C99-based-standards] (PRIxLEAST16): Likewise.
68463         [C99-based-standards] (PRIXLEAST16): Likewise.
68464         [C99-based-standards] (SCNdLEAST16): Likewise.
68465         [C99-based-standards] (SCNiLEAST16): Likewise.
68466         [C99-based-standards] (SCNoLEAST16): Likewise.
68467         [C99-based-standards] (SCNuLEAST16): Likewise.
68468         [C99-based-standards] (SCNxLEAST16): Likewise.
68469         [C99-based-standards] (PRIdFAST16): Likewise.
68470         [C99-based-standards] (PRIiFAST16): Likewise.
68471         [C99-based-standards] (PRIoFAST16): Likewise.
68472         [C99-based-standards] (PRIuFAST16): Likewise.
68473         [C99-based-standards] (PRIxFAST16): Likewise.
68474         [C99-based-standards] (PRIXFAST16): Likewise.
68475         [C99-based-standards] (SCNdFAST16): Likewise.
68476         [C99-based-standards] (SCNiFAST16): Likewise.
68477         [C99-based-standards] (SCNoFAST16): Likewise.
68478         [C99-based-standards] (SCNuFAST16): Likewise.
68479         [C99-based-standards] (SCNxFAST16): Likewise.
68480         [C99-based-standards] (PRId32): Likewise.
68481         [C99-based-standards] (PRIi32): Likewise.
68482         [C99-based-standards] (PRIo32): Likewise.
68483         [C99-based-standards] (PRIu32): Likewise.
68484         [C99-based-standards] (PRIx32): Likewise.
68485         [C99-based-standards] (PRIX32): Likewise.
68486         [C99-based-standards] (SCNd32): Likewise.
68487         [C99-based-standards] (SCNi32): Likewise.
68488         [C99-based-standards] (SCNo32): Likewise.
68489         [C99-based-standards] (SCNu32): Likewise.
68490         [C99-based-standards] (SCNx32): Likewise.
68491         [C99-based-standards] (PRIdLEAST32): Likewise.
68492         [C99-based-standards] (PRIiLEAST32): Likewise.
68493         [C99-based-standards] (PRIoLEAST32): Likewise.
68494         [C99-based-standards] (PRIuLEAST32): Likewise.
68495         [C99-based-standards] (PRIxLEAST32): Likewise.
68496         [C99-based-standards] (PRIXLEAST32): Likewise.
68497         [C99-based-standards] (SCNdLEAST32): Likewise.
68498         [C99-based-standards] (SCNiLEAST32): Likewise.
68499         [C99-based-standards] (SCNoLEAST32): Likewise.
68500         [C99-based-standards] (SCNuLEAST32): Likewise.
68501         [C99-based-standards] (SCNxLEAST32): Likewise.
68502         [C99-based-standards] (PRIdFAST32): Likewise.
68503         [C99-based-standards] (PRIiFAST32): Likewise.
68504         [C99-based-standards] (PRIoFAST32): Likewise.
68505         [C99-based-standards] (PRIuFAST32): Likewise.
68506         [C99-based-standards] (PRIxFAST32): Likewise.
68507         [C99-based-standards] (PRIXFAST32): Likewise.
68508         [C99-based-standards] (SCNdFAST32): Likewise.
68509         [C99-based-standards] (SCNiFAST32): Likewise.
68510         [C99-based-standards] (SCNoFAST32): Likewise.
68511         [C99-based-standards] (SCNuFAST32): Likewise.
68512         [C99-based-standards] (SCNxFAST32): Likewise.
68513         [C99-based-standards] (PRId64): Likewise.
68514         [C99-based-standards] (PRIi64): Likewise.
68515         [C99-based-standards] (PRIo64): Likewise.
68516         [C99-based-standards] (PRIu64): Likewise.
68517         [C99-based-standards] (PRIx64): Likewise.
68518         [C99-based-standards] (PRIX64): Likewise.
68519         [C99-based-standards] (SCNd64): Likewise.
68520         [C99-based-standards] (SCNi64): Likewise.
68521         [C99-based-standards] (SCNo64): Likewise.
68522         [C99-based-standards] (SCNu64): Likewise.
68523         [C99-based-standards] (SCNx64): Likewise.
68524         [C99-based-standards] (PRIdLEAST64): Likewise.
68525         [C99-based-standards] (PRIiLEAST64): Likewise.
68526         [C99-based-standards] (PRIoLEAST64): Likewise.
68527         [C99-based-standards] (PRIuLEAST64): Likewise.
68528         [C99-based-standards] (PRIxLEAST64): Likewise.
68529         [C99-based-standards] (PRIXLEAST64): Likewise.
68530         [C99-based-standards] (SCNdLEAST64): Likewise.
68531         [C99-based-standards] (SCNiLEAST64): Likewise.
68532         [C99-based-standards] (SCNoLEAST64): Likewise.
68533         [C99-based-standards] (SCNuLEAST64): Likewise.
68534         [C99-based-standards] (SCNxLEAST64): Likewise.
68535         [C99-based-standards] (PRIdFAST64): Likewise.
68536         [C99-based-standards] (PRIiFAST64): Likewise.
68537         [C99-based-standards] (PRIoFAST64): Likewise.
68538         [C99-based-standards] (PRIuFAST64): Likewise.
68539         [C99-based-standards] (PRIxFAST64): Likewise.
68540         [C99-based-standards] (PRIXFAST64): Likewise.
68541         [C99-based-standards] (SCNdFAST64): Likewise.
68542         [C99-based-standards] (SCNiFAST64): Likewise.
68543         [C99-based-standards] (SCNoFAST64): Likewise.
68544         [C99-based-standards] (SCNuFAST64): Likewise.
68545         [C99-based-standards] (SCNxFAST64): Likewise.
68546         [C99-based-standards] (PRIdMAX): Likewise.
68547         [C99-based-standards] (PRIiMAX): Likewise.
68548         [C99-based-standards] (PRIoMAX): Likewise.
68549         [C99-based-standards] (PRIuMAX): Likewise.
68550         [C99-based-standards] (PRIxMAX): Likewise.
68551         [C99-based-standards] (PRIXMAX): Likewise.
68552         [C99-based-standards] (SCNdMAX): Likewise.
68553         [C99-based-standards] (SCNiMAX): Likewise.
68554         [C99-based-standards] (SCNoMAX): Likewise.
68555         [C99-based-standards] (SCNuMAX): Likewise.
68556         [C99-based-standards] (SCNxMAX): Likewise.
68557         [C99-based-standards] (PRIdPTR): Likewise.
68558         [C99-based-standards] (PRIiPTR): Likewise.
68559         [C99-based-standards] (PRIoPTR): Likewise.
68560         [C99-based-standards] (PRIuPTR): Likewise.
68561         [C99-based-standards] (PRIxPTR): Likewise.
68562         [C99-based-standards] (PRIXPTR): Likewise.
68563         [C99-based-standards] (SCNdPTR): Likewise.
68564         [C99-based-standards] (SCNiPTR): Likewise.
68565         [C99-based-standards] (SCNoPTR): Likewise.
68566         [C99-based-standards] (SCNuPTR): Likewise.
68567         [C99-based-standards] (SCNxPTR): Likewise.
68568         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68569         allow.
68570         * conform/data/stdint.h-data: Update comments to clarify
68571         requirements.
68572         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68573         type.
68574         [C99-based standards] (INT8_MAX): Likewise.
68575         [C99-based standards] (INT16_MIN): Likewise.
68576         [C99-based standards] (INT16_MAX): Likewise.
68577         [C99-based standards] (INT32_MIN): Likewise.
68578         [C99-based standards] (INT32_MAX): Likewise.
68579         [C99-based standards] (INT64_MIN): Likewise.
68580         [C99-based standards] (INT64_MAX): Likewise.
68581         [C99-based standards] (UINT8_MAX): Likewise.
68582         [C99-based standards] (UINT16_MAX): Likewise.
68583         [C99-based standards] (UINT32_MAX): Likewise.
68584         [C99-based standards] (UINT64_MAX): Likewise.
68585         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68586         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68587         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68588         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68589         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68590         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68591         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68592         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68593         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68594         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68595         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68596         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68597         [C99-based standards] (INT_FAST8_MIN): Likewise.
68598         [C99-based standards] (INT_FAST8_MAX): Likewise.
68599         [C99-based standards] (INT_FAST16_MIN): Likewise.
68600         [C99-based standards] (INT_FAST16_MAX): Likewise.
68601         [C99-based standards] (INT_FAST32_MIN): Likewise.
68602         [C99-based standards] (INT_FAST32_MAX): Likewise.
68603         [C99-based standards] (INT_FAST64_MIN): Likewise.
68604         [C99-based standards] (INT_FAST64_MAX): Likewise.
68605         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68606         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68607         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68608         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68609         [C99-based standards] (INTPTR_MIN): Likewise.
68610         [C99-based standards] (INTPTR_MAX): Likewise.
68611         [C99-based standards] (UINTPTR_MAX): Likewise.
68612         [C99-based standards] (INTMAX_MIN): Likewise.
68613         [C99-based standards] (INTMAX_MAX): Likewise.
68614         [C99-based standards] (UINTMAX_MAX): Likewise.
68615         [C99-based standards] (PTRDIFF_MIN): Likewise.
68616         [C99-based standards] (PTRDIFF_MAX): Likewise.
68617         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68618         [C99-based standards] (SIZE_MAX): Likewise.
68619         [C99-based standards] (WCHAR_MAX): Likewise.
68620         [C99-based standards] (WINT_MAX): Likewise.
68621         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68622         constraint on value.
68623         [C99-based standards] (WCHAR_MIN): Likewise.
68624         [C99-based standards] (WINT_MIN): Likewise.
68625         [C99-based standards] (*_t): Allow.
68626         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68627         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68628         Include math.h-data and complex.h-data.  Remove all expectations
68629         of math.h and complex.h contents.
68630         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68631         at end of line.
68632         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68633         (struct tm): Expect tag.
68634         [C99-based-standards] (wcstof): Expect function.
68635         [C99-based-standards] (wcstold): Likewise.
68636         [C99-based-standards] (wcstoll): Likewise.
68637         [C99-based-standards] (wcstoull): Likewise.
68638         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68639         macro-int-constant.  Specify type.
68640         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68641         constraint on value.
68642         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68643         Specify type.
68644         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68645         Specify value.
68646         [ISO C standards]: Do not allow headers.
68647         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68648         wcs[abcdefghijklmnopqrstuvwxyz]*.
68649         [ISO C standards] (*_t): Do not allow.
68650         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68651         Expect function.
68652         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68653         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68654         Specify type.
68655         [ISO C standards]: Do not allow headers.
68656         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68657         is[abcdefghijklmnopqrstuvwxyz]*.
68658         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68659         to[abcdefghijklmnopqrstuvwxyz]*.
68660         [ISO C standards] (*_t): Do not allow.
68661         * conform/data/stdalign.h-data: New file.
68662         * conform/data/stdbool.h-data: Likewise.
68663         * conform/data/stdnoreturn.h-data: Likewise.
68665 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68667         [BZ #14815]
68668         * manual/filesys.texi (Directory Entries): Typo fix.
68669         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68671 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68673         * elf/elf.h (EM_AARCH64): New macro.
68674         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68675         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68676         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68677         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68678         (R_AARCH64_TLSDESC): Likewise.
68679         (NT_ARM_TLS): Likewise.
68680         (NT_ARM_HW_BREAK): Likewise.
68681         (NT_ARM_HW_WATCH): Likewise.
68683 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68685         [BZ #14811]
68686         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68687         (__ieee754_powl): Saturate nonzero exponents with absolute value
68688         below 0x1p-79 to +/- 0x1p-79.
68689         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68690         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68691         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68692         nonzero exponents with absolute value below 0x1p-32 to +/-
68693         0x1p-32.
68694         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68695         (__ieee754_powl): Saturate nonzero exponents with absolute value
68696         below 0x1p-79 to +/- 0x1p-79.
68697         * math/libm-test.inc (pow_test): Add more tests.
68699 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68701         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68702         _dl_s390_cap_flags with kernel. Increase string length.
68703         (_dl_s390_platforms): Add z196 and zEC12.
68705 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68707         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68708         Change XOPEN21K to XOPEN2K.
68710 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68712         * string/memmove.c: Use memcpy when possible.
68714 2012-11-06  Andreas Jaeger  <aj@suse.de>
68716         * po/eo.po: Update from translation team.
68718 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68720         [BZ #14793]
68721         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68722         exponent and small x and y exponents, scale x or y up.  Increase
68723         by 2 the exponent used in scaling up.
68724         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68725         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68726         * math/libm-test.inc (fma_test): Add more tests.
68727         (fma_test_towardzero): Likewise.
68728         (fma_test_downward): Likewise.
68729         (fma_test_upward): Likewise.
68731 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68733         [BZ #14805]
68734         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68735         fenv_t *.
68737         [BZ #14801]
68738         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68739         namespace for names of struct fields.
68740         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68741         fenv_t fields.
68742         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68743         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68745 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68747         [BZ #3665]
68748         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68750 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68752         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68753         PTR_DEMANGLE.
68755         [BZ #5246]
68756         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68757         PTR_DEMANGLE.
68759 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68761         [BZ #14797]
68762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68763         definitely overflow as x * y not x * y + z.
68764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68766         * math/libm-test.inc (fma_test): Add more tests.
68767         (fma_test_towardzero): Likewise.
68768         (fma_test_downward): Likewise.
68769         (fma_test_upward): Likewise.
68771 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68773         [BZ #157]
68775         * include/stub-tag.h: Remove file.
68776         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68777         '#include' of it.
68778         * manual/maint.texi (Porting): Don't reference it.
68779         * Makerules ($(objpfx)stubs): Likewise.
68780         * dirent/closedir.c: Don't include <stub-tag.h>.
68781         * dirent/dirfd.c: Likewise.
68782         * dirent/fdopendir.c: Likewise.
68783         * dirent/getdents.c: Likewise.
68784         * dirent/getdents64.c: Likewise.
68785         * dirent/opendir.c: Likewise.
68786         * dirent/readdir.c: Likewise.
68787         * dirent/readdir64.c: Likewise.
68788         * dirent/readdir64_r.c: Likewise.
68789         * dirent/readdir_r.c: Likewise.
68790         * dirent/rewinddir.c: Likewise.
68791         * dirent/seekdir.c: Likewise.
68792         * dirent/telldir.c: Likewise.
68793         * gmon/profil.c: Likewise.
68794         * grp/setgroups.c: Likewise.
68795         * inet/if_index.c: Likewise.
68796         * io/access.c: Likewise.
68797         * io/chdir.c: Likewise.
68798         * io/chmod.c: Likewise.
68799         * io/chown.c: Likewise.
68800         * io/close.c: Likewise.
68801         * io/dup.c: Likewise.
68802         * io/dup2.c: Likewise.
68803         * io/dup3.c: Likewise.
68804         * io/euidaccess.c: Likewise.
68805         * io/faccessat.c: Likewise.
68806         * io/fchdir.c: Likewise.
68807         * io/fchmod.c: Likewise.
68808         * io/fchmodat.c: Likewise.
68809         * io/fchown.c: Likewise.
68810         * io/fchownat.c: Likewise.
68811         * io/fcntl.c: Likewise.
68812         * io/flock.c: Likewise.
68813         * io/fstatfs.c: Likewise.
68814         * io/fstatfs64.c: Likewise.
68815         * io/fstatvfs.c: Likewise.
68816         * io/fstatvfs64.c: Likewise.
68817         * io/futimens.c: Likewise.
68818         * io/fxstat.c: Likewise.
68819         * io/fxstat64.c: Likewise.
68820         * io/fxstatat.c: Likewise.
68821         * io/fxstatat64.c: Likewise.
68822         * io/getcwd.c: Likewise.
68823         * io/isatty.c: Likewise.
68824         * io/lchmod.c: Likewise.
68825         * io/lchown.c: Likewise.
68826         * io/link.c: Likewise.
68827         * io/linkat.c: Likewise.
68828         * io/lseek.c: Likewise.
68829         * io/lseek64.c: Likewise.
68830         * io/lxstat64.c: Likewise.
68831         * io/mkdir.c: Likewise.
68832         * io/mkdirat.c: Likewise.
68833         * io/mkfifo.c: Likewise.
68834         * io/mkfifoat.c: Likewise.
68835         * io/open.c: Likewise.
68836         * io/open64.c: Likewise.
68837         * io/openat.c: Likewise.
68838         * io/openat64.c: Likewise.
68839         * io/pipe.c: Likewise.
68840         * io/pipe2.c: Likewise.
68841         * io/poll.c: Likewise.
68842         * io/posix_fadvise.c: Likewise.
68843         * io/posix_fadvise64.c: Likewise.
68844         * io/posix_fallocate.c: Likewise.
68845         * io/posix_fallocate64.c: Likewise.
68846         * io/read.c: Likewise.
68847         * io/readlink.c: Likewise.
68848         * io/readlinkat.c: Likewise.
68849         * io/rmdir.c: Likewise.
68850         * io/sendfile.c: Likewise.
68851         * io/sendfile64.c: Likewise.
68852         * io/statfs.c: Likewise.
68853         * io/statfs64.c: Likewise.
68854         * io/statvfs.c: Likewise.
68855         * io/statvfs64.c: Likewise.
68856         * io/symlink.c: Likewise.
68857         * io/symlinkat.c: Likewise.
68858         * io/ttyname.c: Likewise.
68859         * io/ttyname_r.c: Likewise.
68860         * io/umask.c: Likewise.
68861         * io/unlink.c: Likewise.
68862         * io/unlinkat.c: Likewise.
68863         * io/utime.c: Likewise.
68864         * io/utimensat.c: Likewise.
68865         * io/write.c: Likewise.
68866         * io/xmknod.c: Likewise.
68867         * io/xmknodat.c: Likewise.
68868         * io/xstat.c: Likewise.
68869         * io/xstat64.c: Likewise.
68870         * login/getpt.c: Likewise.
68871         * login/grantpt.c: Likewise.
68872         * login/unlockpt.c: Likewise.
68873         * math/e_acoshl.c: Likewise.
68874         * math/e_acosl.c: Likewise.
68875         * math/e_asinl.c: Likewise.
68876         * math/e_atan2l.c: Likewise.
68877         * math/e_atanhl.c: Likewise.
68878         * math/e_coshl.c: Likewise.
68879         * math/e_expl.c: Likewise.
68880         * math/e_fmodl.c: Likewise.
68881         * math/e_gammal_r.c: Likewise.
68882         * math/e_hypotl.c: Likewise.
68883         * math/e_j0l.c: Likewise.
68884         * math/e_j1l.c: Likewise.
68885         * math/e_jnl.c: Likewise.
68886         * math/e_lgammal_r.c: Likewise.
68887         * math/e_log10l.c: Likewise.
68888         * math/e_log2l.c: Likewise.
68889         * math/e_logl.c: Likewise.
68890         * math/e_powl.c: Likewise.
68891         * math/e_rem_pio2l.c: Likewise.
68892         * math/e_sinhl.c: Likewise.
68893         * math/e_sqrtl.c: Likewise.
68894         * math/fclrexcpt.c: Likewise.
68895         * math/fedisblxcpt.c: Likewise.
68896         * math/feenablxcpt.c: Likewise.
68897         * math/fegetenv.c: Likewise.
68898         * math/fegetexcept.c: Likewise.
68899         * math/fegetround.c: Likewise.
68900         * math/feholdexcpt.c: Likewise.
68901         * math/fesetenv.c: Likewise.
68902         * math/fesetround.c: Likewise.
68903         * math/feupdateenv.c: Likewise.
68904         * math/fgetexcptflg.c: Likewise.
68905         * math/fraiseexcpt.c: Likewise.
68906         * math/fsetexcptflg.c: Likewise.
68907         * math/ftestexcept.c: Likewise.
68908         * math/k_cosl.c: Likewise.
68909         * math/k_rem_pio2l.c: Likewise.
68910         * math/k_sinl.c: Likewise.
68911         * math/k_tanl.c: Likewise.
68912         * math/s_asinhl.c: Likewise.
68913         * math/s_atanl.c: Likewise.
68914         * math/s_cbrtl.c: Likewise.
68915         * math/s_erfl.c: Likewise.
68916         * math/s_expm1l.c: Likewise.
68917         * math/s_log1pl.c: Likewise.
68918         * math/s_tanhl.c: Likewise.
68919         * misc/acct.c: Likewise.
68920         * misc/brk.c: Likewise.
68921         * misc/chflags.c: Likewise.
68922         * misc/chroot.c: Likewise.
68923         * misc/fchflags.c: Likewise.
68924         * misc/fgetxattr.c: Likewise.
68925         * misc/flistxattr.c: Likewise.
68926         * misc/fremovexattr.c: Likewise.
68927         * misc/fsetxattr.c: Likewise.
68928         * misc/fsync.c: Likewise.
68929         * misc/ftruncate.c: Likewise.
68930         * misc/futimes.c: Likewise.
68931         * misc/futimesat.c: Likewise.
68932         * misc/getdomain.c: Likewise.
68933         * misc/getdtsz.c: Likewise.
68934         * misc/gethostid.c: Likewise.
68935         * misc/gethostname.c: Likewise.
68936         * misc/getloadavg.c: Likewise.
68937         * misc/getpagesize.c: Likewise.
68938         * misc/getsysstats.c: Likewise.
68939         * misc/getxattr.c: Likewise.
68940         * misc/gtty.c: Likewise.
68941         * misc/ioctl.c: Likewise.
68942         * misc/lgetxattr.c: Likewise.
68943         * misc/listxattr.c: Likewise.
68944         * misc/llistxattr.c: Likewise.
68945         * misc/lremovexattr.c: Likewise.
68946         * misc/lsetxattr.c: Likewise.
68947         * misc/lutimes.c: Likewise.
68948         * misc/madvise.c: Likewise.
68949         * misc/mincore.c: Likewise.
68950         * misc/mlock.c: Likewise.
68951         * misc/mlockall.c: Likewise.
68952         * misc/mmap.c: Likewise.
68953         * misc/mprotect.c: Likewise.
68954         * misc/msync.c: Likewise.
68955         * misc/munlock.c: Likewise.
68956         * misc/munlockall.c: Likewise.
68957         * misc/munmap.c: Likewise.
68958         * misc/preadv.c: Likewise.
68959         * misc/preadv64.c: Likewise.
68960         * misc/ptrace.c: Likewise.
68961         * misc/pwritev.c: Likewise.
68962         * misc/pwritev64.c: Likewise.
68963         * misc/readv.c: Likewise.
68964         * misc/reboot.c: Likewise.
68965         * misc/remap_file_pages.c: Likewise.
68966         * misc/removexattr.c: Likewise.
68967         * misc/revoke.c: Likewise.
68968         * misc/select.c: Likewise.
68969         * misc/setdomain.c: Likewise.
68970         * misc/setegid.c: Likewise.
68971         * misc/seteuid.c: Likewise.
68972         * misc/sethostid.c: Likewise.
68973         * misc/sethostname.c: Likewise.
68974         * misc/setregid.c: Likewise.
68975         * misc/setreuid.c: Likewise.
68976         * misc/setxattr.c: Likewise.
68977         * misc/sstk.c: Likewise.
68978         * misc/stty.c: Likewise.
68979         * misc/swapoff.c: Likewise.
68980         * misc/swapon.c: Likewise.
68981         * misc/sync.c: Likewise.
68982         * misc/syncfs.c: Likewise.
68983         * misc/syscall.c: Likewise.
68984         * misc/truncate.c: Likewise.
68985         * misc/ualarm.c: Likewise.
68986         * misc/usleep.c: Likewise.
68987         * misc/ustat.c: Likewise.
68988         * misc/utimes.c: Likewise.
68989         * misc/vhangup.c: Likewise.
68990         * misc/writev.c: Likewise.
68991         * posix/_exit.c: Likewise.
68992         * posix/alarm.c: Likewise.
68993         * posix/execve.c: Likewise.
68994         * posix/fexecve.c: Likewise.
68995         * posix/fork.c: Likewise.
68996         * posix/fpathconf.c: Likewise.
68997         * posix/getaddrinfo.c: Likewise.
68998         * posix/getegid.c: Likewise.
68999         * posix/geteuid.c: Likewise.
69000         * posix/getgid.c: Likewise.
69001         * posix/getgroups.c: Likewise.
69002         * posix/getlogin.c: Likewise.
69003         * posix/getlogin_r.c: Likewise.
69004         * posix/getpgid.c: Likewise.
69005         * posix/getpid.c: Likewise.
69006         * posix/getppid.c: Likewise.
69007         * posix/getresgid.c: Likewise.
69008         * posix/getresuid.c: Likewise.
69009         * posix/getsid.c: Likewise.
69010         * posix/getuid.c: Likewise.
69011         * posix/glob64.c: Likewise.
69012         * posix/nanosleep.c: Likewise.
69013         * posix/pathconf.c: Likewise.
69014         * posix/pause.c: Likewise.
69015         * posix/posix_madvise.c: Likewise.
69016         * posix/pread.c: Likewise.
69017         * posix/pread64.c: Likewise.
69018         * posix/pwrite.c: Likewise.
69019         * posix/pwrite64.c: Likewise.
69020         * posix/sched_getaffinity.c: Likewise.
69021         * posix/sched_getp.c: Likewise.
69022         * posix/sched_gets.c: Likewise.
69023         * posix/sched_primax.c: Likewise.
69024         * posix/sched_primin.c: Likewise.
69025         * posix/sched_rr_gi.c: Likewise.
69026         * posix/sched_setaffinity.c: Likewise.
69027         * posix/sched_setp.c: Likewise.
69028         * posix/sched_sets.c: Likewise.
69029         * posix/sched_yield.c: Likewise.
69030         * posix/setgid.c: Likewise.
69031         * posix/setlogin.c: Likewise.
69032         * posix/setpgid.c: Likewise.
69033         * posix/setresgid.c: Likewise.
69034         * posix/setresuid.c: Likewise.
69035         * posix/setsid.c: Likewise.
69036         * posix/setuid.c: Likewise.
69037         * posix/sleep.c: Likewise.
69038         * posix/spawni.c: Likewise.
69039         * posix/sysconf.c: Likewise.
69040         * posix/times.c: Likewise.
69041         * posix/wait.c: Likewise.
69042         * posix/wait3.c: Likewise.
69043         * posix/wait4.c: Likewise.
69044         * posix/waitpid.c: Likewise.
69045         * resolv/gai_sigqueue.c: Likewise.
69046         * resource/getpriority.c: Likewise.
69047         * resource/getrlimit.c: Likewise.
69048         * resource/getrusage.c: Likewise.
69049         * resource/nice.c: Likewise.
69050         * resource/setpriority.c: Likewise.
69051         * resource/setrlimit.c: Likewise.
69052         * resource/ulimit.c: Likewise.
69053         * rt/aio_cancel.c: Likewise.
69054         * rt/aio_fsync.c: Likewise.
69055         * rt/aio_read.c: Likewise.
69056         * rt/aio_sigqueue.c: Likewise.
69057         * rt/aio_suspend.c: Likewise.
69058         * rt/aio_write.c: Likewise.
69059         * rt/clock_getres.c: Likewise.
69060         * rt/clock_gettime.c: Likewise.
69061         * rt/clock_nanosleep.c: Likewise.
69062         * rt/clock_settime.c: Likewise.
69063         * rt/lio_listio.c: Likewise.
69064         * rt/mq_close.c: Likewise.
69065         * rt/mq_getattr.c: Likewise.
69066         * rt/mq_notify.c: Likewise.
69067         * rt/mq_open.c: Likewise.
69068         * rt/mq_receive.c: Likewise.
69069         * rt/mq_send.c: Likewise.
69070         * rt/mq_setattr.c: Likewise.
69071         * rt/mq_timedreceive.c: Likewise.
69072         * rt/mq_timedsend.c: Likewise.
69073         * rt/mq_unlink.c: Likewise.
69074         * rt/shm_open.c: Likewise.
69075         * rt/shm_unlink.c: Likewise.
69076         * rt/timer_create.c: Likewise.
69077         * rt/timer_delete.c: Likewise.
69078         * rt/timer_getoverr.c: Likewise.
69079         * rt/timer_gettime.c: Likewise.
69080         * rt/timer_settime.c: Likewise.
69081         * setjmp/__longjmp.c: Likewise.
69082         * setjmp/setjmp.c: Likewise.
69083         * signal/kill.c: Likewise.
69084         * signal/killpg.c: Likewise.
69085         * signal/raise.c: Likewise.
69086         * signal/sigaction.c: Likewise.
69087         * signal/sigaltstack.c: Likewise.
69088         * signal/sigblock.c: Likewise.
69089         * signal/sigignore.c: Likewise.
69090         * signal/sigintr.c: Likewise.
69091         * signal/signal.c: Likewise.
69092         * signal/sigpause.c: Likewise.
69093         * signal/sigpending.c: Likewise.
69094         * signal/sigqueue.c: Likewise.
69095         * signal/sigreturn.c: Likewise.
69096         * signal/sigset.c: Likewise.
69097         * signal/sigsetmask.c: Likewise.
69098         * signal/sigstack.c: Likewise.
69099         * signal/sigsuspend.c: Likewise.
69100         * signal/sigtimedwait.c: Likewise.
69101         * signal/sigvec.c: Likewise.
69102         * signal/sigwait.c: Likewise.
69103         * signal/sigwaitinfo.c: Likewise.
69104         * signal/sysv_signal.c: Likewise.
69105         * socket/accept.c: Likewise.
69106         * socket/accept4.c: Likewise.
69107         * socket/bind.c: Likewise.
69108         * socket/connect.c: Likewise.
69109         * socket/getpeername.c: Likewise.
69110         * socket/getsockname.c: Likewise.
69111         * socket/getsockopt.c: Likewise.
69112         * socket/isfdtype.c: Likewise.
69113         * socket/listen.c: Likewise.
69114         * socket/recv.c: Likewise.
69115         * socket/recvfrom.c: Likewise.
69116         * socket/recvmsg.c: Likewise.
69117         * socket/send.c: Likewise.
69118         * socket/sendmsg.c: Likewise.
69119         * socket/sendto.c: Likewise.
69120         * socket/setsockopt.c: Likewise.
69121         * socket/shutdown.c: Likewise.
69122         * socket/sockatmark.c: Likewise.
69123         * socket/socket.c: Likewise.
69124         * socket/socketpair.c: Likewise.
69125         * stdio-common/ctermid.c: Likewise.
69126         * stdio-common/cuserid.c: Likewise.
69127         * stdio-common/remove.c: Likewise.
69128         * stdio-common/rename.c: Likewise.
69129         * stdio-common/renameat.c: Likewise.
69130         * stdio-common/tempname.c: Likewise.
69131         * stdlib/getcontext.c: Likewise.
69132         * stdlib/makecontext.c: Likewise.
69133         * stdlib/setcontext.c: Likewise.
69134         * stdlib/swapcontext.c: Likewise.
69135         * stdlib/system.c: Likewise.
69136         * streams/fattach.c: Likewise.
69137         * streams/fdetach.c: Likewise.
69138         * streams/getmsg.c: Likewise.
69139         * streams/getpmsg.c: Likewise.
69140         * streams/putmsg.c: Likewise.
69141         * streams/putpmsg.c: Likewise.
69142         * sysdeps/unix/bsd/getpt.c: Likewise.
69143         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69144         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69145         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69147         Likewise.
69148         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69149         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69150         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69151         * sysvipc/msgctl.c: Likewise.
69152         * sysvipc/msgget.c: Likewise.
69153         * sysvipc/msgrcv.c: Likewise.
69154         * sysvipc/msgsnd.c: Likewise.
69155         * sysvipc/semctl.c: Likewise.
69156         * sysvipc/semget.c: Likewise.
69157         * sysvipc/semop.c: Likewise.
69158         * sysvipc/semtimedop.c: Likewise.
69159         * sysvipc/shmat.c: Likewise.
69160         * sysvipc/shmctl.c: Likewise.
69161         * sysvipc/shmdt.c: Likewise.
69162         * sysvipc/shmget.c: Likewise.
69163         * termios/tcdrain.c: Likewise.
69164         * termios/tcflow.c: Likewise.
69165         * termios/tcflush.c: Likewise.
69166         * termios/tcgetattr.c: Likewise.
69167         * termios/tcgetpgrp.c: Likewise.
69168         * termios/tcsendbrk.c: Likewise.
69169         * termios/tcsetattr.c: Likewise.
69170         * termios/tcsetpgrp.c: Likewise.
69171         * time/adjtime.c: Likewise.
69172         * time/clock.c: Likewise.
69173         * time/getitimer.c: Likewise.
69174         * time/gettimeofday.c: Likewise.
69175         * time/setitimer.c: Likewise.
69176         * time/settimeofday.c: Likewise.
69177         * time/stime.c: Likewise.
69178         * time/time.c: Likewise.
69180 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69182         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69183         /usr/old/bin.
69185         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69186         instead of spaces.
69187         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69189 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69191         [BZ #14796]
69192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69193         FE_TONEAREST before applying Dekker multiplication and Knuth
69194         addition.  Clear inexact exceptions and check for exact zero
69195         results afterwards.
69196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69197         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69198         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69199         * math/libm-test.inc (fma_test): Add more tests.
69200         (fma_test_towardzero): Likewise.
69201         (fma_test_downward): Likewise.
69202         (fma_test_upward): Likewise.
69203         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69204         function.
69205         (libc_fesetround): New macro.
69206         (libc_fesetroundf): Likewise.
69207         (libc_fesetroundl): Likewise.
69208         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69209         function.
69210         (libc_fesetround_387): Likewise.
69211         (libc_fesetroundf): New macro.
69212         (libc_fesetround): Likewise.
69213         (libc_fesetroundl): Likewise.
69214         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69215         function.
69216         (libc_fesetroundf): New macro.
69217         (libc_fesetround): Likewise.
69218         (libc_fesetroundl): Likewise.
69219         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69220         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69221         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69222         libm_hidden_ver.
69223         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69224         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69225         libm_hidden_def.
69226         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69227         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69228         libm_hidden_ver.
69229         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69230         libm_hidden_def.
69232         [BZ #3439]
69233         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69234         integer constant usable in #if and use that to give value to enum
69235         constant.
69236         (FE_DIVBYZERO): Likewise.
69237         (FE_UNDERFLOW): Likewise.
69238         (FE_OVERFLOW): Likewise.
69239         (FE_INVALID): Likewise.
69240         (FE_INVALID_SNAN): Likewise.
69241         (FE_INVALID_ISI): Likewise.
69242         (FE_INVALID_IDI): Likewise.
69243         (FE_INVALID_ZDZ): Likewise.
69244         (FE_INVALID_IMZ): Likewise.
69245         (FE_INVALID_COMPARE): Likewise.
69246         (FE_INVALID_SOFTWARE): Likewise.
69247         (FE_INVALID_SQRT): Likewise.
69248         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69249         (FE_TONEAREST): Likewise.
69250         (FE_TOWARDZERO): Likewise.
69251         (FE_UPWARD): Likewise.
69252         (FE_DOWNWARD): Likewise.
69253         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69254         (FE_DIVBYZERO): Likewise.
69255         (FE_OVERFLOW): Likewise.
69256         (FE_UNDERFLOW): Likewise.
69257         (FE_INEXACT): Likewise.
69258         (FE_TONEAREST): Likewise.
69259         (FE_DOWNWARD): Likewise.
69260         (FE_UPWARD): Likewise.
69261         (FE_TOWARDZERO): Likewise.
69262         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69263         (FE_UNDERFLOW): Likewise.
69264         (FE_OVERFLOW): Likewise.
69265         (FE_DIVBYZERO): Likewise.
69266         (FE_INVALID): Likewise.
69267         (FE_TONEAREST): Likewise.
69268         (FE_TOWARDZERO): Likewise.
69269         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69270         (FE_OVERFLOW): Likewise.
69271         (FE_UNDERFLOW): Likewise.
69272         (FE_DIVBYZERO): Likewise.
69273         (FE_INEXACT): Likewise.
69274         (FE_TONEAREST): Likewise.
69275         (FE_TOWARDZERO): Likewise.
69276         (FE_UPWARD): Likewise.
69277         (FE_DOWNWARD): Likewise.
69278         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69279         (FE_DIVBYZERO): Likewise.
69280         (FE_OVERFLOW): Likewise.
69281         (FE_UNDERFLOW): Likewise.
69282         (FE_INEXACT): Likewise.
69283         (FE_TONEAREST): Likewise.
69284         (FE_DOWNWARD): Likewise.
69285         (FE_UPWARD): Likewise.
69286         (FE_TOWARDZERO): Likewise.
69288 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69290         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69292 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69294         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69295         commands.  Quote $PWD.
69296         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69297         -x" by "export".
69298         (remove_newlines): Remove.
69300 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69302         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69303         * stdlib/stdlib.h (atof): Moved to ...
69304         * include/bits/stdlib-float.h: Here.  New file.
69305         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69306         * stdlib/bits/stdlib-float.h: New file.
69307         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69308         -mno-sse -mno-mmx.
69309         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69310         <xmmintrin.h>.
69312 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69314         * conform/conformtest.pl (@headers): Add fenv.h.
69315         * conform/data/fenv.h-data: New file.
69316         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69317         include of <math/fenv.h>.
69319         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69320         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69321         && !UNIX98].  Enables tests for XOPEN2K8.
69322         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69323         POSIX2008]: Likewise.
69325         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69326         (struct rusage): Do not expect type or its members.
69328         [BZ #3439]
69329         * math/math.h (FP_NAN): Define macro to integer constant usable in
69330         #if and use that to give value to enum constant.
69331         (FP_INFINITE): Likewise.
69332         (FP_ZERO): Likewise.
69333         (FP_SUBNORMAL): Likewise.
69334         (FP_NORMAL): Likewise.
69336 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69338         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69339         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69340         arguments.
69342 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69344         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69345         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69346         autoconf-time if not.
69347         * configure.in: Remove AC_PREREQ.
69349 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69351         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69352         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69353         of the internal implementation.
69355 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69357         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69358         except include of <misc/sys/syslog.h>.
69360 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69363         function returns with a NULL context exit with zero.
69365 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69367         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69369 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69371         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69372         (run_program_cmd): This.
69373         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69374         (tst_langinfo): New variable.  Use it.
69376 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69378         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69379         floating point opcodes.
69381 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69383         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69384         variable.
69386         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69388         * sysdeps/mach/hurd/powerpc: Remove directory.
69389         * sysdeps/mach/powerpc: Likewise.
69391 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69393         * scripts/check-local-headers.sh: Ignore c++ headers.
69395 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69397         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69398         __libc_cleanup_region_start argument.
69400 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69402         [BZ #14784]
69403         [BZ #14785]
69404         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69405         x * y using scaling, not as x * y + z.
69406         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69407         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69408         * math/libm-test.inc (fma_test): Add more tests.
69409         (fma_test_towardzero): Likewise.
69410         (fma_test_downward): Likewise.
69411         (fma_test_upward): Likewise.
69413 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69415         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69417 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69419         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69420         New variable.
69422 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69424         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69426 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69429         Fix sort order.
69430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69431         Likewise.
69433 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69436         Fix the order of the list for glibc 2.17.
69437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69438         Likewise.
69440 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69444 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69446         [BZ #14610]
69447         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69448         for low part of x being zero before using __atanl (y).
69449         * math/libm-test.inc (atan2_test): Add another test.
69451         * manual/install.texi (Configuring and compiling): Document
69452         general use of test-wrapper and test-wrapper-env.
69453         * INSTALL: Regenerated.
69455         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69456         (__fma): Do not extract and scale down low bits on after-rounding
69457         systems when result rounded to normal precision would have normal
69458         exponent.
69459         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69460         (__fmal): Do not extract and scale down low bits on after-rounding
69461         systems when result rounded to normal precision would have normal
69462         exponent.
69463         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69464         (__fmal): Do not extract and scale down low bits on after-rounding
69465         systems when result rounded to normal precision would have normal
69466         exponent.
69467         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69468         macro.
69469         (fma_test): Add more tests.
69470         (fma_test_towardzero): Likewise.
69471         (fma_test_downward): Likewise.
69472         (fma_test_upward): Likewise.
69474 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69476         * sysdeps/i386/tininess.h: Renamed to ...
69477         * sysdeps/x86/tininess.h: This.
69478         * sysdeps/x86_64/tininess.h: Removed.
69480 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69482         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69483         input.  Use $(build-program-cmd).
69484         ($(objpfx)tst-array1-static.out): Likewise.
69485         ($(objpfx)tst-array2.out): Likewise.
69486         ($(objpfx)tst-array3.out): Likewise.
69487         ($(objpfx)tst-array4.out): Likewise.
69488         ($(objpfx)tst-array5.out): Likewise.
69489         ($(objpfx)tst-array5-static.out): Likewise.
69491 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69493         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69494         if defined.
69496         * nss/nsswitch.h (nss_interface_function): Provide new
69497         macro for use with NSS functions.
69498         * grp/initgroups.c: Use new macro.
69499         * nss/getXXbyYY.c: Likewise.
69500         * nss/getXXbyYY_r.c: Likewise.
69501         * nss/getXXent.c: Likewise.
69502         * nss/getXXent_r.c: Likewise.
69503         * sysdeps/posix/getaddrinfo.c: Likewise.
69505 2012-10-30  Andreas Jaeger  <aj@suse.de>
69507         * po/ru.po: Update Russion translation from translation project.
69509 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69511         [BZ #14152]
69512         [BZ #14783]
69513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69514         result and shift together with sticky bit instead of replicating
69515         round-to-nearest rounding.
69516         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69517         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69518         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69519         missing underflow exceptions.
69520         (fma_test_towardzero): Add more tests.
69521         (fma_test_downward): Likewise.
69522         (fma_test_upward): Likewise.
69524         [BZ #14047]
69525         * sysdeps/generic/tininess.h: New file.
69526         * sysdeps/i386/tininess.h: Likewise.
69527         * sysdeps/sh/tininess.h: Likewise.
69528         * sysdeps/x86_64/tininess.h: Likewise.
69529         * stdlib/tst-strtod-underflow.c: Likewise.
69530         * stdlib/tst-tininess.c: Likewise.
69531         * stdlib/strtod_l.c: Include <tininess.h>.
69532         (round_and_return): Do not set errno for exact underflow cases.
69533         Force an underflow exception when setting errno for underflow.
69534         Determine underflow based on rounding to normal precision if
69535         TININESS_AFTER_ROUNDING.
69536         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69537         ERANGE for exact underflow cases.
69538         * stdlib/Makefile (tests): Add tst-tininess and
69539         tst-strtod-underflow.
69540         ($(objpfx)tst-tininess): Use $(link-libm).
69541         ($(objpfx)tst-strtod-underflow): Likewise.
69543 2012-10-30  Andreas Jaeger  <aj@suse.de>
69545         [BZ #14767]
69546         * elf/Makefile (tests): Remove conditional for have-initfini-array
69547         since this is now always required and the variable does not exist
69548         anymore.
69549         (tests-static): Likewise.
69550         (modules-names): Likewise.
69552         * po/eo.po: Add Esperanto translation from translation project.
69554         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69555         merged with constructor/destructor.
69556         (init_array): Likewise.
69557         * elf/tst-array2dep.c (fini_array): Likewise.
69558         (init_array): Likewise.
69560 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69562         * manual/message.texi: Delete @cartouche tags.
69564 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69566         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69567         EOPNOTSUPP.
69568         * sysdeps/mach/hurd/fsync.c: Likewise.
69570         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69571         [_POSIX_REALTIME_SIGNALS]: Change condition to
69572         [_POSIX_REALTIME_SIGNALS > 0].
69574 2012-10-27  Andreas Jaeger  <aj@suse.de>
69576         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69577         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69578         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69579         [__WORDSIZE != 64]: Likewise.
69581 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69583         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69584         *  iconvdata/tst-tables.sh: Likewise.
69586 2012-10-25  David S. Miller  <davem@davemloft.net>
69588         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69589         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69590         of strtoull.
69592         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69593         ifunc-impl-list.c
69594         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69595         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69596         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69597         file.
69599 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69601         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69602         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69603         __getdirentries.
69605 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69606             Jim Blandy  <jimb@codesourcery.com>
69608         * scripts/cross-test-ssh.sh: New file.
69609         * manual/install.texi (Configuring and compiling): Document use of
69610         cross-test-ssh.sh.
69611         * INSTALL: Regenerated.
69613 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69615         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69616         EOPNOTSUPP.
69618 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69620         * Makeconfig (run-program-prefix): Fix comment.
69622 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69623             Jim Blandy  <jimb@codesourcery.com>
69625         * Makeconfig (test-wrapper): New variable,
69626         (test-wrapper-env): Likewise.
69627         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69628         (run-built-tests): Define to yes.
69629         (run-program-prefix): Use $(test-wrapper).
69630         (built-program-cmd): Likewise.
69631         * Rules (make-test-out): Use $(test-wrapper-env) and
69632         $(host-built-program-cmd).
69633         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69634         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69635         tst-pathopt.sh.
69636         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69637         $(test-wrapper-env) to tst-rtld-load-self.sh.
69638         ($(objpfx)order2.out): Use $(test-wrapper).
69639         ($(objpfx)tst-initorder.out): Likewise.
69640         ($(objpfx)tst-initorder2.out): Likewise.
69641         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69642         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69643         (test_wrapper_env): New variable.  Use it to run ld.so.
69644         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69645         Use it to run ld.so.
69646         (test_wrapper_env): Likewise.
69647         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69648         $(test-wrapper) to run-iconv-test.sh.
69649         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69650         (ICONV): Use $test_wrapper.
69651         * posix/Makefile ($(objpfx)globtest.out): Pass
69652         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69653         globtest.sh, not $(run-program-prefix).
69654         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69655         (test_wrapper): Likewise.
69656         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69657         set together with run_via_rtld_prefix.
69658         (run_program_prefix): Define in terms of test_wrapper and
69659         run_via_rtld_prefix.
69661 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69663         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69664         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69665         Targets removed.
69667         [BZ #14743]
69668         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69669         Declare __clock_getres, __clock_gettime, __clock_settime,
69670         __clock_nanosleep, and __clock_getcpuclockid.
69671         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69672         Remove librt_hidden_def (clock_gettime).
69673         * sysdeps/unix/clock_gettime.c: Likewise.
69674         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69675         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69676         * rt/clock_getres.c: Define __clock_getres as an alias.
69677         * sysdeps/posix/clock_getres.c: Likewise.
69678         * rt/clock_settime.c: Define __clock_settime as an alias.
69679         * sysdeps/unix/clock_settime.c: Likewise.
69680         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69681         * sysdeps/unix/clock_nanosleep.c: Likewise.
69682         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69683         * rt/clock-compat.c: New file.
69684         * rt/Makefile (librt-routines): Add clock-compat and move
69685         $(clock-routines) to ...
69686         (routines): ... here, new variable.
69687         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69688         Don't add get_clockfreq here.
69689         * rt/Versions (libc: GLIBC_2.17): New version set.
69690         Add clock_* symbols here.
69691         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69692         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69693         (GLIBC_2.17): Add clock_* symbols.
69694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69696         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69698         Likewise.
69699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69700         Likewise.
69701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69705         * NEWS: Mention the move.
69707         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69708         Use __open, __read, __close rather than their public counterparts.
69709         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69710         (__get_clockfreq_via_cpuinfo): Likewise.
69711         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69712         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69714         * config.h.in (HAVE_IFUNC): New #undef.
69715         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69716         was successful.
69717         * configure: Regenerated.
69719 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69721         * configure.in: Move READELF check to start of file.
69722         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69723         libc_cv_asm_gnu_indirect_function in the process.
69724         * configure: Regenerated.
69726 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69728         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69729         send the output to /dev/null.
69730         (libc_cv_cc_with_libunwind): Likewise.
69731         (libc_cv_as_noexecstack): Likewise.
69732         * configure: Regenerate.
69734 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69736         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69738         * posix/globtest.sh (TMPDIR): Do not set.
69739         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69740         (testout): Likewise.
69742 2012-10-24  Andreas Jaeger  <aj@suse.de>
69744         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69745         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69746         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69747         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69748         posix_fadvise64, posix_fallocate64.
69750         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69751         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69752         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69753         Likewise.
69754         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69755         Likewise.
69756         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69758         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69759         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69760         <bits/fcntl-linux.h>.
69761         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69763         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69764         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69765         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69766         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69767         [__WORDSIZE != 64]: Likewise.
69769 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69771         * Makeconfig (run-built-tests): New variable.
69772         * Rules [$(cross-compiling) = yes]: Change condition to
69773         [$(run-built-tests) = no].
69774         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69775         to [$(run-built-tests) = yes].
69776         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69777         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69778         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69779         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69780         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69781         * io/Makefile [$(cross-compiling) = no]: Likewise.
69782         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69783         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69784         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69785         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69786         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69787         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69788         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69789         * string/Makefile [$(cross-compiling) = no]: Likewise.
69791         * posix/Makefile ($(objpfx)globtest.out): Pass
69792         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69793         $(rtld-installed-name).
69794         * posix/globtest.sh (elf_objpfx): Remove variable.
69795         (rtld_installed_name): Likewise.
69796         (library_path): Likewise.
69797         (run_program_prefix): New variable.  Use for running globtest
69798         binary.
69800 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69801             Joseph Myers  <joseph@codesourcery.com>
69803         * Makeconfig (host-built-program-cmd): New variable.
69804         * elf/Makefile (tst-stackguard1-ARGS): Use
69805         $(host-built-program-cmd).
69806         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69807         (tst-spawn-ARGS): Likewise.
69808         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69810 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69811             Jim Blandy  <jimb@codesourcery.com>
69813         * Makeconfig (run-via-rtld-prefix): New variable.
69814         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69815         (built-program-cmd): Likewise.
69817 2012-10-22  Andreas Jaeger  <aj@suse.de>
69819         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69820         __O_RSYNC if it exists, otherwise to O_SYNC.
69822 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69823             Joseph Myers  <joseph@codesourcery.com>
69825         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69826         /dev/null.
69827         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69828         from /dev/null
69829         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69830         /dev/null.
69832 2012-10-22  Andreas Jaeger  <aj@suse.de>
69834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69835         Define always.
69836         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69839         bits/fcntl-linux.h.
69841         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69842         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69844         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69845         to __O_LARGEFILE.
69846         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69847         to __O_LARGEFILE.
69849 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69850             Joseph Myers  <joseph@codesourcery.com>
69852         * config.make.in (NM): New variable.
69854 2012-10-21  Andreas Jaeger  <aj@suse.de>
69856         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69857         definitions and declarations that are provided by
69858         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69860 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69862         [BZ #14683]
69863         * elf/Makefile (tests-static): Add tst-leaks1-static.
69864         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69865         ($(objpfx)tst-leaks1-static): New rule.
69866         ($(objpfx)tst-leaks1-static-mem): Likewise.
69867         (tst-leaks1-static-ENV): New macro.
69868         * elf/dl-open.c (dl_open_worker): Check the main application
69869         only if SHARED is defined.
69870         * elf/tst-leaks1-static.c: New file.
69872 2012-10-20  Andreas Jaeger  <aj@suse.de>
69874         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69875         generic values for Linux.
69876         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69877         and declarations that are provided by <bits/fcntl-linux.h> and
69878         include <bits/fcntl-linux.h>.
69879         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69880         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69882 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69884         * io/fcntl.h: Move include of <bits/types.h> to the top and
69885         include it unconditionally.
69887 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69889         * wcsmbs/Makefile (tests-ifunc): New variable.
69890         (tests): Add $(tests-ifunc).
69891         * wcsmbs/test-wcschr-ifunc.c: New file.
69892         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69893         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69894         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69895         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69896         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69898         * string/Makefile (tests-ifunc): New variable.
69899         (tests): Add $(tests-ifunc).
69900         * string/test-memccpy.c (TEST_NAME): New macro.
69901         * string/test-memchr.c (TEST_NAME): Likewise.
69902         * string/test-memcmp.c (TEST_NAME): Likewise.
69903         * string/test-memcpy.c (TEST_NAME): Likewise.
69904         * string/test-memmem.c (TEST_NAME): Likewise.
69905         * string/test-memmove.c (TEST_NAME): Likewise.
69906         * string/test-memset.c (TEST_NAME): Likewise.
69907         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69908         * string/test-stpcpy.c (TEST_NAME): Likewise.
69909         * string/test-stpncpy.c (TEST_NAME): Likewise.
69910         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69911         * string/test-strcasestr.c (TEST_NAME): Likewise.
69912         * string/test-strcat.c (TEST_NAME): Likewise.
69913         * string/test-strchr.c (TEST_NAME): Likewise.
69914         * string/test-strcmp.c(TEST_NAME): Likewise.
69915         * string/test-strcpy.c (TEST_NAME): Likewise.
69916         * string/test-strcspn.c (TEST_NAME): Likewise.
69917         * string/test-strlen.c (TEST_NAME): Likewise.
69918         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69919         * string/test-strncmp.c (TEST_NAME): Likewise.
69920         * string/test-strncpy.c (TEST_NAME): Likewise.
69921         * string/test-strnlen.c (TEST_NAME): Likewise.
69922         * string/test-strpbrk.c (TEST_NAME): Likewise.
69923         * string/test-strrchr.c (TEST_NAME): Likewise.
69924         * string/test-strspn.c (TEST_NAME): Likewise.
69925         * string/test-strstr.c (TEST_NAME): Likewise.
69926         * string/test-bcopy-ifunc.c: New file.
69927         * string/test-bzero-ifunc.c: Likewise.
69928         * string/test-memccpy-ifunc.c: Likewise.
69929         * string/test-memchr-ifunc.c: Likewise.
69930         * string/test-memcmp-ifunc.c: Likewise.
69931         * string/test-memcpy-ifunc.c: Likewise.
69932         * string/test-memmem-ifunc.c: Likewise.
69933         * string/test-memmove-ifunc.c: Likewise.
69934         * string/test-mempcpy-ifunc.c: Likewise.
69935         * string/test-memset-ifunc.c: Likewise.
69936         * string/test-rawmemchr-ifunc.c: Likewise.
69937         * string/test-stpcpy-ifunc.c: Likewise.
69938         * string/test-stpncpy-ifunc.c: Likewise.
69939         * string/test-strcasecmp-ifunc.c: Likewise.
69940         * string/test-strcasestr-ifunc.c: Likewise.
69941         * string/test-strcat-ifunc.c: Likewise.
69942         * string/test-strchr-ifunc.c: Likewise.
69943         * string/test-strchrnul-ifunc.c: Likewise.
69944         * string/test-strcmp-ifunc.c: Likewise.
69945         * string/test-strcpy-ifunc.c: Likewise.
69946         * string/test-strcspn-ifunc.c: Likewise.
69947         * string/test-strlen-ifunc.c: Likewise.
69948         * string/test-strncasecmp-ifunc.c: Likewise.
69949         * string/test-strncat-ifunc.c: Likewise.
69950         * string/test-strncmp-ifunc.c: Likewise.
69951         * string/test-strncpy-ifunc.c: Likewise.
69952         * string/test-strnlen-ifunc.c: Likewise.
69953         * string/test-strpbrk-ifunc.c: Likewise.
69954         * string/test-strrchr-ifunc.c: Likewise.
69955         * string/test-strspn-ifunc.c: Likewise.
69956         * string/test-strstr-ifunc.c: Likewise.
69958         * debug/Makefile (tests-ifunc): New variable.
69959         (tests): Add $(tests-ifunc).
69960         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69961         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69962         * debug/test-stpcpy_chk-ifunc.c: New file.
69963         * debug/test-strcpy_chk-ifunc.c: Likewise.
69965 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69967         [BZ #13601]
69968         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69969         header is not read in.
69971 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69973         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69974         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69975         directly.  Pass built executable to script as
69976         $(built-program-cmd).
69977         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69978         $testprogram without using LD_LIBRARY_PATH and $ldso.
69980         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69981         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69982         $(rtld-installed-name).
69983         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69984         (rtld_installed_name): Likewise.
69985         (library_path): Likewise.
69986         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69987         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69988         $(run-program-prefix) to tst-tables.sh.
69989         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69990         it to run tst-table-from and tst-table-to.
69991         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
69992         Pass it to tst-table.sh.
69993         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
69994         $(run-program-prefix) to tst-gettext.sh.
69995         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
69996         tst-translit.sh.
69997         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
69998         tst-gettext2.sh.
69999         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70000         to run tst-gettext.
70001         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70002         to run tst-gettext2.
70003         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70004         to run tst-translit.
70005         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70006         $(run-program-prefix) to tst-mtrace.sh.
70007         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70008         to run tst-mtrace.
70009         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70010         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70011         $(rtld-installed-name).
70012         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70013         (rtld_installed_name): Likewise.
70014         (run_program_prefix): New variable.  Use it to run wordexp-test.
70016         * Makeconfig (ARCH): Remove all definitions.
70017         (machine): Likewise.
70018         [ARCH]: Remove conditional code.
70019         [!objdir]: Give error.
70020         [!objdir] (objpfx): Remove.
70021         [!objdir] (common-objpfx): Likewise.
70022         [!objdir] (common-objdir): Likewise.
70023         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70024         AC_CONFIG_FILES call.
70025         * configure: Regenerated.
70027         [BZ #13888]
70028         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70029         or TMPDIR.
70030         (testout): Likewise.
70032         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70033         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70034         $(rtld-installed-name).
70035         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70036         (rtld_installed_name): Likewise.
70037         (runit): Remove function.
70038         (run_getconf): New variable,  Use it for running getconf binary.
70040 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70042         [BZ #14716]
70043         * string/test-memmem.c (check_result): New function.
70044         (do_one_test): Use it.
70045         (check1): New function.
70046         (test_main): Use it.
70048 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70050         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70052 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70054         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70055         (_G_LSEEK64): Likewise.
70056         (_G_MMAP64): Likewise.
70057         (_G_FSTAT64): Likewise.
70058         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70059         (_G_LSEEK64): Likewise.
70060         (_G_MMAP64): Likewise.
70061         (_G_FSTAT64): Likewise.
70062         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70063         unconditional.  Call __mmap64 directly.
70064         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70065         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70066         __lseek64 directly.
70067         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70068         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70069         __mmap64 directly.
70070         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70071         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70072         __lseek64 directly.
70073         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70074         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70075         __lseek64 directly.
70076         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70077         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70078         __lseek64 directly.
70079         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70080         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70081         __fxstat64 directly.
70082         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70083         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70084         unconditional.
70085         (freopen64) [!_G_OPEN64]: Remove conditional code.
70086         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70087         unconditional.
70088         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70089         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70090         unconditional.
70091         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70092         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70093         unconditional.
70094         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70095         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70096         unconditional.
70097         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70098         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70099         unconditional.
70100         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70101         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70102         unconditional.
70103         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70104         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70105         unconditional.
70106         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70108 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70110         [BZ #12140]
70111         * manual/memory.texi (Malloc Tunable Parameters): Add note
70112         about free list pointers overwriting some perturb bytes.
70113         Wording suggested by Roland McGrath.
70115 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70117         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70118         (lgamma_test): Likewise.
70119         (tgamma_test): Likewise.
70121 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70123         [BZ #14700]
70124         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70125         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70127 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70129         * NEWS: Mention BZ #14716.
70130         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70131         when removing AVAILABLE1_USES_J macro.
70133 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70135         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70136         (__bswap_64): __uint64_t for unsigned 64-bit int.
70138 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70140         * include/string.h (memmem): Declare libc hidden alias.
70141         * string/memmem.c (memmem): Define libc hidden alias.
70142         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70143         __read, __close instead of open, read, close.
70145 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70148         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70149         global and hidden.
70150         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70151         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70152         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70153         Likewise.
70154         (__rawmemchr_sse2): Likewise.
70155         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70156         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70157         (__strchr_sse2): Likewise.
70158         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70159         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70160         (__strcasecmp_sse2): Likewise.
70161         (__strncasecmp_sse2): Likewise.
70162         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70163         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70164         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70165         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70166         (__strrchr_sse2): Likewise.
70167         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70168         ifunc-impl-list.c.
70169         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70170         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70171         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70172         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70173         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70174         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70175         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70176         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70177         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70178         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70179         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70180         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70181         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70182         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70183         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70184         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70185         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70186         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70187         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70188         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70189         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70190         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70191         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70192         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70193         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70194         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70195         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70196         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70197         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70198         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70200         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70201         global and hidden.
70202         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70203         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70204         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70205         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70206         Likewise.
70207         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70208         Likewise.
70209         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70210         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70211         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70212         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70213         ifunc-impl-list.c.
70214         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70215         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70216         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70217         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70218         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70219         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70220         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70221         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70222         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70223         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70224         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70225         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70226         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70227         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70228         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70229         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70230         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70231         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70232         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70233         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70234         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70235         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70236         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70237         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70238         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70239         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70240         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70241         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70242         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70243         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70244         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70245         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70246         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70247         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70248         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70249         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70250         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70251         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70252         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70253         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70254         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70256         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70257         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70258         * include/ifunc-impl-list.h: New file.
70259         * misc/ifunc-impl-list.c: Likewise.
70260         * misc/Makefile (routines): Add ifunc-impl-list.
70261         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70262         * string/test-string.h: Include <ifunc-impl-list.h>.
70263         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70264         TEST_NAME]: New variables.
70265         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70266         are defined.
70267         (test_init): Call __libc_ifunc_impl_list to initialize
70268         func_list if TEST_IFUNC and TEST_NAME are defined.
70270         * string/Makefile (strop-tests): Add bcopy and bzero.
70271         * string/test-bcopy.c: New file.
70272         * string/test-bzero.c: Likewise.
70273         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70274         defined.
70275         * string/test-memset.c: Support bzero test if TEST_BZERO is
70276         defined.
70277         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70278         __libc_memmove.
70279         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70280         __libc_memset.
70281         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70282         of memset.
70284 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70286         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70287         * configure: Regenerated.
70289         * Makeconfig (+link-static-before-libc): Don't include
70290         $(link-static-libc).
70292         * libio/libio.h (_IO_pos_t): Remove.
70294 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70296         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70297         McGrath.
70299 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70301         * crypt/crypt-entry.c: Include fips-private.h.
70302         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70303         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70304         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70305         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70307 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70309         * crypt/crypt-private.h: Include stdbool.h.
70310         (_ufc_setup_salt_r): Return bool.
70311         * crypt/crypt-entry.c: Include errno.h.
70312         (__crypt_r): Return NULL with EINVAL for bad salt.
70313         * crypt/crypt_util.c (bad_for_salt): New.
70314         (_ufc_setup_salt_r): Check that salt is long enough and within
70315         the specified alphabet.
70316         * crypt/badsalttest.c: New file.
70317         * crypt/Makefile (tests): Add it.
70318         ($(objpfx)badsalttest): New.
70320 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70322         * NEWS: Add entry for BZ #14602.
70324 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70326         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70327         type-generic.
70328         * math/libm-test.inc: Update comment listing what functions and
70329         macros are tested.
70330         (isgreater_test): New function.
70331         (isgreaterequal_test): Likewise.
70332         (isless_test): Likewise.
70333         (islessequal_test): Likewise.
70334         (islessgreater_test): Likewise.
70335         (isunordered_test): Likewise.
70336         (main): Call the new functions.
70338 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70340         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70341         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70342         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70343         * sysdeps/i386/configure: Regenerated.
70344         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70345         * sysdeps/mach/configure: Regenerated.
70346         * sysdeps/mach/hurd/configure: Regenerated.
70347         * sysdeps/powerpc/configure: Regenerated.
70348         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70349         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70350         * sysdeps/s390/s390-32/configure: Regenerated.
70351         * sysdeps/s390/s390-64/configure: Regenerated.
70352         * sysdeps/sh/configure: Regenerated.
70353         * sysdeps/sparc/configure: Regenerated.
70354         * sysdeps/unix/sysv/linux/configure: Regenerated.
70355         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70356         * sysdeps/x86_64/configure: Regenerated.
70358         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70359         defined.  Don't check if MAP is NULL.
70361 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70363         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70364         (_G_stat64): Likewise.
70365         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70366         (_G_stat64): Likewise.
70367         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70368         instead of struct _G_stat64.
70369         * libio/fileops.c (mmap_remap_check): Likewise.
70370         (decide_maybe_mmap): Likewise.
70371         (_IO_new_file_seekoff): Likewise.
70372         (_IO_file_stat): Likewise.
70373         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70374         _G_off64_t.
70375         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70376         instead of struct _G_stat64.
70377         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70379 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70381         [BZ #14602]
70382         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70383         Replace with ...
70384         (CHECK_EOL): New macro.
70385         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70386         CHECK_EOL.
70387         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70388         Replace with CHECK_EOL.
70389         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70390         Replace with CHECK_EOL.
70392 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70394         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70395         type-generic.
70396         * math/libm-test.inc: Update comment listing what functions and
70397         macros are tested.
70398         (finite_test): New function.
70399         (isinf_test): Likewise.
70400         (isnan_test): Likewise.
70401         (fpclassify_test): Test subnormal input.
70402         (isfinite_test): Likewise.
70403         (isnormal_test): Likewise.
70404         (main): Call the new functions.
70406 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70408         [BZ #14660]
70409         * Makerules (%.dynsym): Force C locale when running
70410         $(OBJDUMP) --dynamic-syms.
70412 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70414         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70415         <stdint.h>.
70417 2012-10-06  David S. Miller  <davem@davemloft.net>
70419         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70420         upper 32-bits of the length value in %o2 since we use branch-on-register
70421         tests which consider the entire 64-bit register.
70423 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70425         * string/test-strstr.c (check2): Add a test for page boundary.
70427 2012-10-05  David S. Miller  <davem@davemloft.net>
70429         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70430         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70431         file.
70432         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70433         sysdep_routines.
70434         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70435         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70436         and bzero when HWCAP_SPARC_CRYPTO is present.
70438 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70440         [BZ #14602]
70441         * string/test-strstr.c (check2): New function.
70442         (test_main): Call check2.
70444         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70445         and bug-strchr1.
70446         * string/bug-strcasestr1.c (do_test): Moved to ...
70447         * string/test-strcasestr.c (check1): Here.  New function.
70448         (do_one_test): Break out result checking code into ...
70449         (check_result): This.  New function.
70450         (do_one_test): Call check_result.
70451         (test_main): Call check1.
70452         * string/bug-strchr1.c (do_test): Moved to ...
70453         * string/test-strchr.c (check1): Here.  New function.
70454         (do_one_test): Break out result checking code into ...
70455         (check_result): This.  New function.
70456         (do_one_test): Call check_result.
70457         (test_main): Call check1.
70458         * string/bug-strstr1.c (main): Moved to ...
70459         * string/test-strstr.c (check1): Here.  New function.
70460         (do_one_test): Break out result checking code into ...
70461         (check_result): This.  New function.
70462         (do_one_test): Call check_result.
70463         (test_main): Call check1.
70464         * string/bug-strcasestr1.c: Removed.
70465         * string/bug-strchr1.c: Likewise.
70466         * string/bug-strstr1.c: Likewise.
70468         * elf/Makefile (dl-routines): Add hwcaps.
70469         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70470         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70471         (_dl_important_hwcaps): Moved to ...
70472         * elf/dl-hwcaps.c: Here.  New file.
70473         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70475         [BZ #14557]
70476         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70477         if IS_IN_rtld isn't defined.
70479         * elf/dl-support.c (_dl_sysinfo_map): New.
70480         Include "get-dynamic-info.h" and "setup-vdso.h".
70481         (_dl_non_dynamic_init): Call setup_vdso.
70482         * elf/dynamic-link.h: Don't include <assert.h>.
70483         (elf_get_dynamic_info): Moved to ...
70484         * elf/get-dynamic-info.h: Here.  New file.
70485         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70486         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70487         * elf/setup-vdso.h: Here.  New file.
70488         * elf/rtld.c: Include "setup-vdso.h".
70489         (dl_main): Call setup_vdso.
70491 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70493         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70494         creal in comment listing functions tested.  List finite, isinf,
70495         isnan, isless, islessequal, isgreater, isgreaterequal,
70496         islessgreater, isunordered, lgamma_r and pow10 as functions and
70497         macros not tested.  Mention which functions not tested are aliases
70498         for other functions.  Fix typo.  Note that signs of NaNs are not
70499         tested.
70501         * scripts/config.guess: Update from config.git.
70502         * scripts/config.sub: Likewise.
70504 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70506         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70507         * misc/madvise.c (madvise): Renamed to __madvise.
70508         Make madvise a weak alias.
70509         * include/sys/mman.h: Declare __madvise.
70510         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70511         * sysdeps/unix/syscalls.list
70512         (madvise): Make __madvise the strong name, and madvise a weak alias.
70513         * sysdeps/unix/sysv/linux/syscalls.list
70514         (madvise, mmap): Remove redundant entries.
70515         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70516         * malloc/malloc.c (mtrim): Likewise.
70517         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70519 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70521         * sysdeps/mach/hurd/dl-cache.c: File removed.
70522         * config.h.in (USE_LDCONFIG): New #undef.
70523         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70524         * configure: Regenerated.
70525         * elf/Makefile (dl-routines): Add dl-cache only under
70526         [$(use-ldconfig) = yes].
70527         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70528         cache on [USE_LDCONFIG].
70529         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70530         [USE_LDCONFIG].
70531         * elf/rtld.c (dl_main): Likewise.
70533 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70535         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70536         _SC_LEVEL4_CACHE_LINESIZE.
70538 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70540         * sysdeps/unix/bsd/confstr.h: File removed.
70542 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70544         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70545         sys/sdt-config.h.
70547 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70549         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70550         Make 'mapoff' field ElfW(Off) rather than off_t.
70552 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70554         * nscd/Makefile: Remove nscd-cflags and all its users.
70555         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70556         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70558         [BZ #10631]
70559         * malloc.c (malloc_printerr): Clarify error message.
70561 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70563         [BZ #14648]
70564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70565         Set bit_FMA_Usable if FMA is supported.
70566         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70567         macro.
70568         (bit_FMA4_Usable): Updated.
70569         (index_FMA_Usable): New macro.
70570         (CPUID_FMA): Likewise.
70571         (HAS_FMA): Defined with bit_FMA_Usable.
70573 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70575         * bits/types.h (__swblk_t): Type removed.
70576         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70577         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70578         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70579         (__SWBLK_T_TYPE): Likewise.
70580         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70581         (__SWBLK_T_TYPE): Likewise.
70582         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70583         (__SWBLK_T_TYPE): Likewise.
70584         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70585         (__SWBLK_T_TYPE): Likewise.
70587 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70588             Honza Horak <hhorak@redhat.com>
70590         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70591         (xdr_mapname): Use YPMAXMAP as maxsize.
70592         (xdr_peername): Use YPMAXPEER as maxsize.
70593         (xdr_keydat): Use YPAXRECORD as maxsize.
70594         (xdr_valdat): Use YPMAXRECORD as maxsize.
70596 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70598         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70600         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70601         * csu/init-first.c: ... here.
70602         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70603         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70604         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70605         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70606         * sysdeps/i386/init-first.c: File removed.
70607         * sysdeps/sh/init-first.c: File removed.
70609 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70611         [BZ #14645]
70612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70613         if x * y might underflow to zero and z is zero.
70614         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70615         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70616         * math/libm-test.inc (min_subnorm_value): New variable.
70617         (fma_test): Add more tests.
70618         (fma_test_towardzero): Likewise.
70619         (fma_test_downward): Likewise.
70620         (fma_test_upward): Likewise.
70621         (initialize): Set min_subnorm_value.
70623 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70625         [BZ #14638]
70626         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70627         0 + 0.
70628         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70629         mode for addition resulting in exact zero.
70630         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70632         exact 0 + 0.
70633         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70634         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70635         * math/libm-test.inc (fma_test): Add more tests.
70636         (fma_test_towardzero): New function.
70637         (fma_test_downward): Likewise.
70638         (fma_test_upward): Likewise.
70639         (main): Call the new functions.
70641 2012-09-28  David S. Miller  <davem@davemloft.net>
70643         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70645 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70647         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70648         instead of SIGALRM.
70650         * sysdeps/gnu/_G_config.h: Moved to ...
70651         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70652         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70653         * sysdeps/generic/_G_config.h: ... here.
70655         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70657         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70659         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70660         Conditionalize target on [libnss_test1.so-version].
70662         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70664         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70665         (elfobjdir): Move out of conditionals.
70667         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70668         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70669         (__nss_lookup_function): Conditionalize label remove_from_tree on
70670         [!DO_STATIC_NSS || SHARED], matching its only use.
70672 2012-09-28  David S. Miller  <davem@davemloft.net>
70674         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70675         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70676         file.
70677         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70678         sysdep_routines.
70679         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70680         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70681         when HWCAP_SPARC_CRYPTO is present.
70683 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70685         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70687 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70689         [BZ #6530]
70690         * stdio-common/vfprintf.c (process_string_arg): Revert
70691         2000-07-22 change.
70693 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70695         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70696         for testcase.
70697         * stdio-common/tst-sprintf.c: Include <locale.h>
70698         (main): Test sprintf's handling of incomplete multibyte
70699         characters.
70701 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70703         * elf/dl-runtime.c (VERSYMIDX): Removed.
70704         * elf/dl-version.c (VERSYMIDX): Likewise.
70705         * elf/do-rel.h (VERSYMIDX): Likewise.
70706         (VALIDX): Likewise.
70707         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70708         * elf/rtld.c (VALIDX): Likewise.
70709         (ADDRIDX): Likewise.
70710         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70711         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70712         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70713         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70714         (VALIDX): Likewise.
70715         (ADDRIDX): Likewise.
70717 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70719         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70721 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70723         [BZ #11438]
70724         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70725         to global scope.
70726         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70727         addresses are in the same scope as 192.0.2/24.
70728         * posix/gai.conf: Document new scope table defaults.
70730 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70732         [BZ #5298]
70733         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70734         for ftell.  Compute offsets from write pointers instead.
70735         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70737 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70739         [BZ #14543]
70740         * libio/Makefile (tests): New test case tst-fseek.
70741         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70742         combination works in wide mode.
70743         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70744         state when the external buffer state changes.
70746 2012-09-27  David S. Miller  <davem@davemloft.net>
70748         [BZ #14376]
70749         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70750         pass reloc->r_addend in as the 'high' argument to
70751         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70755 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70757         * rt/tst-aio2.c: Include <pthread.h>.
70758         * rt/tst-aio3.c: Likewise.
70760 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70762         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70764 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70766         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70767         contents on [SHARED].
70769 2012-09-26  Marek Polacek  <polacek@redhat.com>
70771         [BZ #14530]
70772         [BZ #13741]
70773         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70774         for C++ and GCC <4.3 as well as for non GCC compilers.
70776 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70780 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70782         * Makefile.in (all, install): Declare with .PHONY.
70783         Reported by Michael Hope <michael.hope@linaro.org>.
70785 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70787         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70788         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70789         system header.
70790         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70791         Likewise.
70792         (sydep_routines): Add the new and the internal functions.
70793         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70794         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70796         (GLIBC_2.17): Add the new function.
70797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70798         (GLIBC_2.17): Likewise.
70799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70800         (GLIBC_2.17): Likewise.
70801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70802         (GLIBC_2.17): Likewise.
70803         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70805 2012-09-25  Alan Modra  <amodra@gmail.com>
70807         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70808         Add release barrier before setting once_control to say
70809         initialisation is done.  Add hints on lwarx.  Use macro in
70810         place of isync.
70811         (clear_once_control): Add release barrier.
70813 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70815         [BZ #13629]
70816         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70817         specially.
70818         * math/s_clog10.c (__clog10): Likewise.
70819         * math/s_clog10f.c (__clog10f): Likewise.
70820         * math/s_clog10l.c (__clog10l): Likewise.
70821         * math/s_clogf.c (__clogf): Likewise.
70822         * math/s_clogl.c (__clogl): Likewise.
70823         * math/Makefile (libm-calls): Add x2y2m1.
70824         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70825         (__x2y2m1): Likewise.
70826         (__x2y2m1l): Likewise.
70827         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70828         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70829         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70830         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70831         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70832         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70833         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70834         * sysdeps/i386/fpu/libm-test-ulps: Update.
70835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70837         [BZ #14621]
70838         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70839         int as type of variable DEPTH.
70840         (glob): Use size_t instead of int as type of variables NEWCOUNT
70841         and OLD_PATHC.
70843 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70845         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70846         Add s_sincosf-sse2.
70847         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70848         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70849         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70850         macros for using routine as __sincosf_ia32.
70851         Use macro for function declaration and weak_alias.
70852         * sysdeps/i386/fpu/libm-test-ulps: Update.
70854         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70857         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70858         subnormal argument.
70859         * math/s_cexpf.c (__cexpf): Likewise.
70860         * math/s_csinf.c (__csinf): Likewise.
70861         * math/s_csinhf.c (__csinhf): Likewise.
70862         * math/s_ctanf.c (__ctanf): Likewise.
70863         * math/s_ctanhf.c (__ctanhf): Likewise.
70864         * math/s_ccosh.c (__ccoshf): Likewise.
70865         * math/s_cexp.c (__cexpl): Likewise.
70866         * math/s_csin.c (__csin): Likewise.
70867         * math/s_csinh.c (__csinh): Likewise.
70868         * math/s_ctan.c (__ctan): Likewise.
70869         * math/s_ctanh.c (ctanh): Likewise.
70870         * math/s_ccoshl.c (__ccoshl): Likewise.
70871         * math/s_cexpl.c (__cexpl): Likewise.
70872         * math/s_csinl.c (__csinl): Likewise.
70873         * math/s_csinhl.c (__csinhl): Likewise.
70874         * math/s_ctanl.c (__ctanl): Likewise.
70875         * math/s_ctanhl.c (__ctanhl): Likewise.
70877 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70879         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70880         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70881         (_IO_off_t): Define to __off_t, not _G_off_t.
70882         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70883         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70884         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70885         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70886         type of __dummy and __dummy2 fields.
70887         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70888         (_G_ssize_t): Likewise.
70889         (_G_off_t): Likewise.
70890         (_G_pid_t): Likewise.
70891         (_G_uid_t): Likewise.
70892         (_G_wchar_t): Likewise.
70893         (_G_wint_t): Likewise.
70894         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70895         (_G_ssize_t): Likewise.
70896         (_G_off_t): Likewise.
70897         (_G_pid_t): Likewise.
70898         (_G_uid_t): Likewise.
70899         (_G_wchar_t): Likewise.
70900         (_G_wint_t): Likewise.
70901         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70902         (_G_ssize_t): Likewise.
70903         (_G_off_t): Likewise.
70904         (_G_pid_t): Likewise.
70905         (_G_uid_t): Likewise.
70906         (_G_wchar_t): Likewise.
70907         (_G_wint_t): Likewise.
70909 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70911         * malloc/arena.c: Include malloc-sysdep.h.
70912         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70913         is sufficient to shrink the heap or an unmap is needed.
70914         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70915         new function check_may_shrink_heap.
70916         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70917         new function check_may_shrink_heap.
70919 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70921         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70922         comments.
70924 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70926         * catgets/test-gencat.sh: Add "set -e".
70927         * elf/tst-pathopt.sh: Likewise.
70928         * grp/tst_fgetgrent.sh: Likewise.
70929         * iconvdata/run-iconv-test.sh: Likewise.
70930         * intl/tst-gettext.sh: Likewise.
70931         * intl/tst-gettext2.sh: Likewise.
70932         * intl/tst-gettext4.sh: Likewise.
70933         * intl/tst-gettext6.sh: Likewise.
70934         * intl/tst-translit.sh: Likewise.
70935         * io/ftwtest-sh: Likewise.
70936         * libio/test-freopen.sh: Likewise.
70937         * malloc/tst-mtrace.sh: Likewise.
70938         * posix/globtest.sh: Likewise.
70939         * posix/tst-getconf.sh: Likewise.
70940         * posix/wordexp-tst.sh: Likewise.
70941         * stdio-common/tst-printf.sh: Likewise.
70942         * stdio-common/tst-unbputc.sh: Likewise.
70943         * stdlib/tst-fmtmsg.sh: Likewise.
70944         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70945         * catgets/Makefile: Do not specify -e option when running
70946         testsuite shell scripts.
70947         * elf/Makefile: Likewise.
70948         * grp/Makefile: Likewise.
70949         * iconvdata/Makefile: Likewise.
70950         * intl/Makefile: Likewise.
70951         * io/Makefile: Likewise.
70952         * libio/Makefile: Likewise.
70953         * malloc/Makefile: Likewise.
70954         * posix/Makefile: Likewise.
70955         * stdio-common/Makefile: Likewise.
70956         * stdlib/Makefile: Likewise.
70957         * sysdeps/x86_64/Makefile: Likewise.
70959         * io/ftwtest-sh: Add copyright header.
70960         * posix/globtest.sh: Likewise.
70961         * posix/tst-getconf.sh: Likewise.
70962         * posix/wordexp-tst.sh: Likewise.
70963         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70965 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70967         [BZ #13679]
70968         * Makeconfig (+link): Defined as $(+link-static) if
70969         $(build-shared) isn't yes.
70970         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70971         isn't yes.
70972         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70974         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70976         [BZ #14562]
70977         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70978         new chunk size with MALLOC_ALIGN_MASK.
70980 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70982         [BZ #5044]
70983         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70984         <rounding-mode.h>.
70985         (__printf_fphex): Determine rounding using get_rounding_mode and
70986         round_away.
70987         * stdio-common/tst-printf-round.c (struct hex_test): New
70988         structure.
70989         (hex_tests): New variable.
70990         (test_hex_in_one_mode): New function.
70991         (do_test): Also run tests for hex float output.
70993 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
70995         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70996         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70997         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
70998         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70999         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71000         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71001         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71002         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71004 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71006         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71007         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71008         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71009         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71011 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71013         [BZ #14579]
71014         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71015         mode only.
71016         * elf/tst-rtld-load-self.sh: New test.
71017         * elf/Makefile: Run it.
71019 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71021         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71022         (tst-writev-ENV): Remove.
71023         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71025 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71027         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71029 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71031         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71032         unconditional.
71033         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71034         Likewise.
71035         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71036         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71037         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71038         Likewise.
71040 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71042         [BZ #14587]
71043         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71044         * config.make.in (have-cpp-asm-debuginfo): Removed.
71045         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71046         * configure: Regenerated.
71048 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71050         [BZ #5044]
71051         * stdio-common/printf_fp.c: Include <stdbool.h> and
71052         <rounding-mode.h>.
71053         (___printf_fp): Determine rounding using get_rounding_mode and
71054         round_away.
71055         * stdio-common/tst-printf-round.c: New file.
71056         * stdio-common/Makefile (tests): Add tst-printf-round.
71057         (link-libm): New variable.
71058         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71060 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71062         [BZ #14576]
71063         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71064         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71065         Likewise.
71066         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71067         Likewise.
71069 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71071         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71072         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71073         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71074         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71076 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71078         [BZ #14518]
71079         * include/rounding-mode.h: New file.
71080         * sysdeps/generic/get-rounding-mode.h: Likewise.
71081         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71082         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71083         (MAX_VALUE): New macro.
71084         (MIN_VALUE): Likewise.
71085         (overflow_value): New function.
71086         (underflow_value): Likewise.
71087         (round_and_return): Use overflow_value and underflow_value to
71088         determine return values in overflow and underflow cases.  Use
71089         round_away to determine rounding depending on rounding mode.
71090         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71091         determine return values in overflow and underflow cases.
71092         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71093         (struct test_results): New structure.
71094         (struct test): Use struct test_results to store expected results
71095         for all rounding modes.
71096         (TEST): Include expected results for all rounding modes.
71097         (test_in_one_mode): New function.
71098         (do_test): Use test_in_one_mode to compute and check results.
71099         Check results for all rounding modes.
71100         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71101         $(link-libm).
71103 2012-12-09  Allan McRae  <allan@archlinux.org>
71105         * sysdeps/i386/fpu/libm-test-ulps: Update
71107 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71109         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71110         (_G_int32_t): Likewise.
71111         (_G_uint16_t): Likewise.
71112         (_G_uint32_t): Likewise.
71113         (_G_HAVE_BOOL): Likewise.
71114         (_G_HAVE_ATEXIT): Likewise.
71115         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71116         (_G_HAVE_IO_FILE_OPEN): Likewise.
71117         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71118         (_G_int32_t): Likewise.
71119         (_G_uint16_t): Likewise.
71120         (_G_uint32_t): Likewise.
71121         (_G_HAVE_BOOL): Likewise.
71122         (_G_HAVE_ATEXIT): Likewise.
71123         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71124         (_G_HAVE_IO_FILE_OPEN): Likewise.
71125         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71126         (_G_int32_t): Likewise.
71127         (_G_uint16_t): Likewise.
71128         (_G_uint32_t): Likewise.
71129         (_G_HAVE_BOOL): Likewise.
71130         (_G_HAVE_ATEXIT): Likewise.
71131         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71132         (_G_HAVE_IO_FILE_OPEN): Likewise.
71134 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71136         * csu/libc-tls.c: Update copyright years.
71138 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71140         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71141         [!_G_USING_THUNKS]: Remove conditional code.
71142         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71143         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71145         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71146         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71147         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71148         (_G_VTABLE_LABEL_PREFIX): Likewise.
71149         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71150         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71151         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71152         (_G_VTABLE_LABEL_PREFIX): Likewise.
71153         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71154         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71155         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71156         (_G_VTABLE_LABEL_PREFIX): Likewise.
71157         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71159 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71161         * libio/Makefile: Include ../Makeconfig before tests.
71162         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71163         only if $(build-shared) is yes.
71165         * iconv/gconv_db.c: Update copyright years.
71167 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71169         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71170         unwind info if defined PIC. Fix special cases description.
71171         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71173         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71174         DP_HI_MASK entry.
71175         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71177 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71179         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71181         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71182         is NULL.
71184         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71185         (LDLIBS-tst-chk4): This.
71186         (LDFLAGS-tst-chk5): Renamed to ...
71187         (LDLIBS-tst-chk5): This.
71188         (LDFLAGS-tst-chk6): Renamed to ...
71189         (LDLIBS-tst-chk6): This.
71190         (LDFLAGS-tst-lfschk4): Renamed to ...
71191         (LDLIBS-tst-lfschk4): This.
71192         (LDFLAGS-tst-lfschk5): Renamed to ...
71193         (LDLIBS-tst-lfschk5): This.
71194         (LDFLAGS-tst-lfschk6): Renamed to ...
71195         (LDLIBS-tst-lfschk6): This.
71197         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71198         on $(common-objpfx)soversions.mk.
71200 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71202         [BZ #10014]
71203         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71204         example host name.
71206 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71208         * malloc/arena.c (arena_get_retry): New function that gets
71209         another arena for the caller to try its request on.
71210         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71211         current arena cannot fulfill the request.
71212         (__libc_memalign): Likewise.
71213         (__libc_memalign): Likewise.
71214         (__libc_pvalloc): Likewise.
71215         (__libc_calloc): Likewise.
71217 2012-09-05  John Tobey  <john.tobey@gmail.com>
71219         [BZ #13542]
71220         * manual/arith.texi (Operations on Complex): Fix description
71221         of carg branch cut.
71223 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71225         [BZ #10014]
71226         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71227         host name.
71229         [BZ #10038]
71230         * manual/memory.texi (Memory): Make order of menu items match
71231         order of sections.
71233 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71235         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71236         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71237         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71239 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71241         * csu/libc-tls.c (static_dtv): Renamed to ...
71242         (_dl_static_dtv): This.  Make it global.
71243         (_dl_initial_dtv): Removed.
71244         (__libc_setup_tls): Updated.
71245         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71246         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71247         DL_INITIAL_DTV.
71249 2012-09-06  Petr Machata  <pmachata@redhat.com>
71251         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71252         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71253         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71254         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71256 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71258         [BZ #14545]
71259         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71260         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71261         freeing dtv[-1].
71263 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71265         [BZ #14544]
71266         * Makeconfig (link-static-before-libc): Replace $(+prector)
71267         with $(+prectorT).
71268         (link-static-after-libc): Replace $(+postctor) with
71269         $(+postctorT).
71270         (link-bounded): Replace $(+prector)/$(+postctor) with
71271         $(+prectorT)/$(+postctorT).
71272         (+prectorT): New macro.
71273         (+postctorT): Likewise.
71275 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71277         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71278         (round_str): Handle values above the maximum for IBM long double
71279         as inexact.
71280         * stdlib/tst-strtod-round.c (tests): Regenerated.
71282 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71284         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71285         assembler flag.
71286         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71287         zarch_nohighgprs around the zarch optimized routines.
71288         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71289         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71290         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71291         for zarch.
71293 2012-09-05  David S. Miller  <davem@davemloft.net>
71295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71297         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71298         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71299         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71300         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71301         entries.
71303 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71305         * malloc/arena.c: Fold copyright years.
71306         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71308 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71310         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71312 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71314         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71316 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71318         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71319         change internal state upon failure.
71321 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71323         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71324         * malloc/memusage.c (mmap): Likewise.
71325         (mmap64, mremap): Likewise.  Adjust name in comment.
71327 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71329         * libio/fileops.c: Fix typos in comments.
71330         * libio/oldfileops.c: Likewise.
71331         * libio/wfileops.c: Likewise.
71333 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71335         [BZ #1349]
71336         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71337         (tst-malloc-usable-ENV): Set environment for test case.
71338         * malloc/hooks.c (malloc_check_get_size): New function to get
71339         requested size.
71340         * malloc/malloc.c (musable): Use malloc_check_get_size.
71341         * malloc/tst-malloc-usable.c: New test case.
71343 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71345         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71347 2012-09-05  Allan McRae  <allan@archlinux.org>
71349         [BZ #13966]
71350         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71351         determine header location.
71352         * configure: Regenerated.
71354 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71356         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71357         float format.
71358         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71359         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71360         format.
71361         (test): Regenerate.
71363 2012-09-04  David S. Miller  <davem@davemloft.net>
71365         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71366         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71367         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71369 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71371         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71372         failures.
71374         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71376 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71378         [BZ #9914]
71379         * libio/iogetdelim.c: Include <limits.h>.
71380         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71381         + len + 1 would overflow.
71383 2012-09-03  Andreas Jaeger  <aj@suse.de>
71385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71386         * sysdeps/i386/fpu/libm-test-ulps: Update.
71388 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71390         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71391         Add s_sinf-sse2, s_conf-sse2.
71393         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71394         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71395         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71396         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71398         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71399         for using routine as __sinf_ia32.
71400         Use macro for function declaration and weak_alias.
71401         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71402         for using routine as __cosf_ia32.
71403         Use macro for function declaration and weak_alias.
71405         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71406         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71408         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71409         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71410         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71412         * math/libm-test.inc (cos_test): Add more test cases.
71413         (sin_test): Likewise.
71414         (sincos_test): Likewise.
71416 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71418         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71419         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71420         hidden.
71421         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71423 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71425         [BZ #14538]
71426         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71427         first element of the GOT.
71428         (elf_machine_load_address): Return the difference between
71429         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71431 2012-09-01  Allan McRae  <allan@archlinux.org>
71433         [BZ #13412]
71434         * configure.in (AWK): Require gawk version 3.0 or later.
71435         * configure: Regenerated.
71437 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71439         * sysdeps/unix/sysv/linux/kernel-features.h
71440         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71441         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71442         [__NR_clock_getres]: Make code unconditional.
71443         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71444         (clock_getcpuclockid): Remove code left unreachable by removal of
71445         conditionals.
71446         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71447         code unconditional.
71448         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71449         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71450         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71451         Make code unconditional.
71452         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71453         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71454         * sysdeps/unix/sysv/linux/clock_settime.c
71455         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71456         conditional code.
71457         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71458         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71460 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71462         [BZ #14476]
71463         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71464         scripts/test-installation.pl.
71466         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71467         and $ld_so_version if it is set.
71469 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71471         [BZ #14516]
71472         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71473         failure if reading from procfs failed.
71474         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71476 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71478         * sysdeps/unix/sysv/linux/kernel-features.h
71479         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71480         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71481         Remove conditional code.
71482         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71483         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71484         Remove conditional code.
71485         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71486         * sysdeps/unix/sysv/linux/i386/fxstat.c
71487         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71488         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71489         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71490         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71491         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71492         * sysdeps/unix/sysv/linux/i386/lxstat.c
71493         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71494         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71495         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71496         Remove conditional code.
71497         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71498         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71499         Remove conditional code.
71500         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71501         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71502         <kernel-features.h>.
71503         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71504         Remove.
71505         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71506         Remove conditional code.
71507         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71508         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71509         Remove conditional.
71511 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71513         [BZ #5400]
71514         * NEWS: Add fixed bug number.
71516 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71518         [BZ #14519]
71519         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71520         underflowing exponent in case of negative sign.
71521         * stdlib/tst-strtod-round-data: Add more tests.
71522         * stdlib/tst-strtod-round.c (tests): Regenerated.
71524         [BZ #3479]
71525         * stdlib/strtod_l.c (NDIG): Remove.
71526         (HEXNDIG): Likewise.
71527         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71528         smallest representable value.
71529         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71530         lie within an exact representation of 1/2 ulp of the result.
71531         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71532         unconditionally.
71533         (TENS_P9_IDX): Define unconditionally.
71534         (TENS_P9_SIZE): Likewise.
71535         (TENS_P10_IDX): Likewise.
71536         (TENS_P10_SIZE): Likewise.
71537         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71538         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71539         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71540         entries for 10^2^13 and 10^2^14.
71541         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71542         (TENS_P13_IDX): Define.
71543         (TENS_P13_SIZE): Likewise.
71544         (TENS_P14_IDX): Likewise.
71545         (TENS_P14_SIZE): Likewise.
71546         (_fpioconst_pow10): Change array size to
71547         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71548         unconditional.
71549         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71550         1024]: Add entries for 10^2^13 and 10^2^14.
71551         [LAST_POW10 > _LAST_POW10]: Remove #error.
71552         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71553         (_fpioconst_pow10): Change array size to
71554         FPIOCONST_POW10_ARRAY_SIZE.
71555         * stdlib/gen-fpioconst.c: New file.
71556         * stdlib/gen-tst-strtod-round.c: Likewise.
71557         * stdlib/tst-strtod-round-data: Likewise.
71558         * stdlib/tst-strtod-round.c: Likewise.
71559         * stdlib/Makefile (tests): Add tst-strtod-round.
71561         [BZ #14459]
71562         * stdlib/strtod_l.c: Include <stdint.h>.
71563         (NDEBUG): Do not define.
71564         (round_and_return): Change EXPONENT parameter to type intmax_t.
71565         Rearrange calculations to avoid internal overflow possibilities.
71566         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71567         Rearrange calculations to avoid internal overflow possibilities.
71568         Assert that number fits inside MPNSIZE limbs.
71569         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71570         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71571         calculations and add assertions to avoid internal overflow
71572         possibilities.  Add casts to avoid signed/unsigned operations.
71573         * stdlib/tst-strtod-overflow.c: New file.
71574         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71576 2012-08-25  Marek Polacek  <polacek@redhat.com>
71578         * time/time.h: Fix some typos in comments.
71580 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71582         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71583         * posix/tst-rfc3484-2.c: Likewise.
71584         * posix/tst-rfc3484-3.c: Likewise.
71586 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71588         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71589         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71591 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71593         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71594         #include of fxstatat64.c.
71596 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71598         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71599         * shadow/getspent_r.c: Likewise.
71600         * shadow/getspnam.c: Likewise.
71601         * shadow/getspnam_r.c: Likewise.
71602         * gshadow/getsgent.c: Likewise.
71603         * gshadow/getsgent_r.c: Likewise.
71604         * gshadow/getsgnam.c: Likewise.
71605         * gshadow/getsgnam_r.c: Likewise.
71606         * inet/getnetbyad.c: Likewise.
71607         * inet/getnetbyad_r.c: Likewise.
71608         * inet/getnetbynm.c: Likewise.
71609         * inet/getnetbynm_r.c: Likewise.
71610         * inet/getnetent.c: Likewise.
71611         * inet/getnetent_r.c: Likewise.
71612         * inet/getproto.c: Likewise.
71613         * inet/getproto_r.c: Likewise.
71614         * inet/getprtent.c: Likewise.
71615         * inet/getprtent_r.c: Likewise.
71616         * inet/getprtname.c: Likewise.
71617         * inet/getprtname_r.c: Likewise.
71618         * inet/getrpcbyname.c: Likewise.
71619         * inet/getrpcbyname_r.c: Likewise.
71620         * inet/getrpcbynumber.c: Likewise.
71621         * inet/getrpcbynumber_r.c: Likewise.
71622         * inet/getrpcent.c: Likewise.
71623         * inet/getrpcent_r.c: Likewise.
71624         * inet/getaliasent.c: Likewise.
71625         * inet/getaliasent_r.c: Likewise.
71626         * inet/getaliasname.c: Likewise.
71627         * inet/getaliasname_r.c: Likewise.
71628         * nscd/getgrgid_r.c: Likewise.
71629         * nscd/getgrnam_r.c: Likewise.
71630         * nscd/gethstbyad_r.c: Likewise.
71631         * nscd/gethstbynm3_r.c: Likewise.
71632         * nscd/getpwnam_r.c: Likewise.
71633         * nscd/getpwuid_r.c: Likewise.
71634         * nscd/getsrvbynm_r.c: Likewise.
71635         * nscd/getsrvbypt_r.c: Likewise.
71636         * nscd/gai.c: Likewise.
71638         * configure.in (build_nscd): New substituted variable, set
71639         by --disable-build-nscd and defaults to $use_nscd.
71640         * configure: Regenerated.
71641         * config.make.in (build-nscd): New substituted variable.
71642         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71643         Change conditional to require [$(build-nscd) = yes] as well.
71644         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71646         [BZ #13696]
71647         * configure.in (use_nscd): New substituted variable, set by
71648         --disable-nscd.  If enabled, define USE_NSCD.
71649         * configure: Regenerated.
71650         * config.h.in: Add USE_NSCD.
71651         * config.make.in (use-nscd): New substituted variable.
71652         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71653         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71654         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71655         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71656         (CFLAGS-getgrnam_r.c): Likewise.
71657         (CFLAGS-initgroups.c): Likewise.
71658         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71659         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71660         Variables removed.
71661         * inet/getnetgrent_r.c
71662         (nscd_setnetgrent): New function, broken out of ...
71663         (setnetgrent): ... here.  Call it.
71664         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71665         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71666         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71667         * nscd/Makefile (routines, aux): Move definitions after include of
71668         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71669         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71670         Conditionalize on [USE_NSCD].
71671         (is_nscd, nscd_init_cb): Likewise.
71672         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71673         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71674         * nss/nss_db/db-init.c: Likewise.
71675         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71676         [USE_NSCD].
71677         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71678         (make_request): Use it.
71679         (cache_valid_p): New function.
71680         (__check_pf): Use it.
71681         * NEWS: Add item for --disable-nscd.
71683 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71685         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71686         to support sed >= 4.2.1-20-ga9bf076.
71687         * configure: Regenerated.
71689 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71691         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71692         Conditionalize whole body on [IREL].
71694 2012-08-22  Jeff Law <law@redhat.com>
71696         [BZ #14505]
71697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71698         if the family is PF_UNSPEC.
71700 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71702         * Makerules (lib-version): Rename from V.
71703         (install-lib-nosubdir): Change V to lib-version.
71705 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71707         [BZ #14252]
71708         * powerpc32/power6/wcschr.c: New file.
71709         * powerpc32/power6/wcscpy.c: New file.
71710         * powerpc32/power6/wcsrchr.c: New file.
71711         * powerpc64/power6/wcschr.c: New file.
71712         * powerpc64/power6/wcscpy.c: New file.
71713         * powerpc64/power6/wcsrchr.c: New file.
71715 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71717         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71718         (two_way_short_needle): Use it.
71719         * string/strstr.c (AVAILABLE1_USES_J): Define.
71720         * string/strcasestr.c: Likewise.
71722         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71723         array references.
71724         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71726         [BZ #11607]
71727         * NEWS: Add an entry.
71728         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71729         define their defaults.
71730         (two_way_short_needle): Detect end-of-string on-the-fly.
71731         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71732         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71733         * string/bug-strcasestr1.c: New test.
71734         * string/Makefile: Run it.
71736 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71738         [BZ #11607]
71739         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71740         the first character.
71742 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71744         * csu/elf-init.c (__libc_csu_irel): Function removed.
71745         * csu/libc-start.c (apply_irel): New function.
71746         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71748 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71750         * sysdeps/unix/sysv/linux/kernel-features.h
71751         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71752         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71753         <kernel-features.h>.
71754         [__NR_fadvise64_64]: Make code unconditional.
71755         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71756         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71757         !__NR_fadvise64_64)]: Likewise.
71758         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71759         !__NR_fadvise64_64))]: Likewise.
71760         [__NR_fadvise64]: Make code unconditional.
71761         [!__NR_fadvise64]: Remove conditional code.
71762         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71763         <kernel-features.h>.
71764         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71765         unconditional.
71766         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71767         conditional code.
71768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71769         not include <kernel-features.h>.
71770         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71771         unconditional.
71772         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71773         conditional code.
71774         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71775         include <kernel-features.h>.
71776         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71777         unconditional.
71778         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71779         conditional code.
71781 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71783         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71784         slight instruction rearrangements per scrollpipe analysis.
71785         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71787 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71789         * manual/syslog.texi (syslog; vsyslog, closelog):
71790         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71791         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71793         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71794         DSOCAPS to match condition on defining it.
71796 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71798         * sysdeps/unix/sysv/linux/kernel-features.h
71799         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71801         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71802         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71804         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71805         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71807         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71808         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71810         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71811         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71813         * sysdeps/unix/sysv/linux/kernel-features.h
71814         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71815         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71816         unconditional.
71817         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71818         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71819         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71820         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71821         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71822         Make code unconditional.
71823         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71824         (__mmap64) [!__NR_mmap2]: Likewise.
71825         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71826         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71827         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71828         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71829         [__NR_mmap2]: Make code unconditional.
71830         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71831         (__mmap64) [!__NR_mmap2]: Likewise.
71833 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71835         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71837 2012-08-18  Andreas Jaeger  <aj@suse.de>
71839         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71841 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71843         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71844         * include/unistd.h (__have_sock_cloexec): Likewise.
71845         (__have_pipe2): Likewise.
71846         (__have_dup3): Likewise.
71848 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71850         [BZ #9685]
71851         * include/unistd.h (__have_pipe2): Change define into an extern int.
71852         (__have_dup3): Likewise.
71853         * socket/have_sock_cloexec.c: Include fcntl.h.
71854         (__have_pipe2): New variable.
71855         (__have_dup3): Likewise.
71857 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71859         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71861 2012-08-17  Marek Polacek  <polacek@redhat.com>
71863         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71864         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71866 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71868         * configure.in: Add AC_SUBST for sysheaders.
71869         * configure: Regenerated.
71870         * config.make.in (sysheaders): New substituted variable.
71872         * sysdeps/unix/mkfifo.c: Moved ...
71873         * sysdeps/posix/mkfifo.c: ... here.
71874         * sysdeps/unix/mkfifoat.c: Moved ...
71875         * sysdeps/posix/mkfifoat.c: ... here.
71877         * sysdeps/unix/utime.c: Moved ...
71878         * sysdeps/posix/utime.c: ... here.
71880         * sysdeps/unix/time.c: Moved ...
71881         * sysdeps/posix/time.c: ... here.
71882         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71883         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71885         * sysdeps/unix/nice.c: Moved ...
71886         * sysdeps/posix/nice.c: ... here.
71888         * sysdeps/unix/alarm.c: Moved ...
71889         * sysdeps/posix/alarm.c: ... here.
71891         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71893 2012-08-17  Jeff Law <law@redhat.com>
71895         * intl/Makefile (codeset_mo): New variable.
71896         ($(codeset_mo)): New target.
71897         (tst-codeset.out): Depend on that.  Remove explicit rule.
71898         (tst-gettext3.out, tst-gettext5.out): Likewise.
71899         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71900         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71901         * intl/tst-codeset.sh: Remove.
71902         * intl/tst-gettext3.sh: Likewise.
71903         * intl/tst-gettext5.sh: Likewise.
71905 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71907         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71908         * sysdeps/unix/syscalls.list: ... here.
71910         * sysdeps/posix/getaddrinfo.c
71911         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71912         (gaiconf_init, gaiconf_reload): Use them.
71913         [!_STATBUF_ST_NSEC]
71914         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71915         Define using time_t rather than struct timespec.
71917         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71918         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71919         Macros removed.
71920         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71921         [!NO_THREADS].
71922         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71923         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71924         Likewise.
71926         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71927         __libc_cleanup_push argument.
71929         * bits/param.h: New file.
71930         * misc/sys/param.h: New file.
71931         * include/sys/param.h: New file.
71932         * misc/Makefile (headers): Add bits/param.h.
71933         * sysdeps/generic/sys/param.h: File removed.
71934         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71935         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71936         * sysdeps/mach/hurd/bits/param.h: New file.
71937         * sysdeps/mach/hurd/sys/param.h: File removed.
71939         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71940         last change.
71942         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71943         [_IO_MTSAFE_IO].
71944         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71945         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71946         New macros.
71948         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71949         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71950         rather than -D_IO_MTSAFE_IO conditionally.
71951         * stdio-common/Makefile (CPPFLAGS): Likewise.
71952         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71953         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71954         Use $(libio-mtsafe).
71955         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71956         of -D_IO_MTSAFE_IO.
71957         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71958         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71959         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71960         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71961         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71962         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71963         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71964         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71965         (CFLAGS-fread_u_chk.c): Likewise.
71966         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71967         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71968         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71969         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71970         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71971         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71972         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71973         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71974         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71976         * libio/Makefile: Test [$(libc-reentrant) = yes]
71977         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71979         * Makeconfig
71980         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71981         * sysdeps/pthread/configure: File removed.
71982         * sysdeps/pthread/Makeconfig: New file.
71983         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71984         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71986 2012-08-16  Gary Benson  <gbenson@redhat.com>
71988         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71989         unmapping the first object in a namespace.
71991 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71993         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
71994         (__internal_setnetgrent): ... this.  Add internal_function to
71995         definition.  Add libc_hidden_def.
71996         (setnetgrent): Update caller.
71997         (internal_endnetgrent): Renamed to ...
71998         (__internal_endnetgrent): ... this.  Add internal_function to
71999         definition.  Add libc_hidden_def.
72000         (endnetgrent): Update caller.
72001         (internal_getnetgrent_r): Renamed to ...
72002         (__internal_getnetgrent_r): ... this.  Add internal_function to
72003         definition.  Add libc_hidden_def.
72004         (__getnetgrent_r): Update caller.
72005         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72007 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72009         * stdlib/longlong.h: Update from GCC.
72011 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72013         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72014         on _QL, which is set by umul_ppmm but never used.
72015         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72016         variables, which are set by GMP macros but never used.
72017         * stdio-common/_itowa.c (_itowa): Likewise.
72018         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72019         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72021 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72023         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72024         struct La_sh_regs is not constant.
72025         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72026         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72027         and struct La_sparc64_regs are not constant.
72029 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72031         * sysdeps/unix/sysv/linux/kernel-features.h
72032         (__ASSUME_POSIX_TIMERS): Remove.
72033         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72034         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72035         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72036         Make code unconditional.
72037         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72038         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72039         Make code unconditional.
72040         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72041         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72042         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72043         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72044         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72045         Make code unconditional.
72046         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72047         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72048         (__libc_missing_posix_timers): Remove.
72050 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72052         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72053         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72055         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72057         * elf/dl-sym.c: Include <stdlib.h>.
72059         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72060         constants, which avoids warnings in 32-bit builds.
72062         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72063         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72065         * misc/lseek.c: File moved to ...
72066         * io/lseek.c: ... here.
72068         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72070         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72071         shifting LEN more than 31 bits at once.
72073 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72075         [BZ #14195]
72076         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72077         segmentation fault for a case of two empty input strings.
72078         * string/test-strncasecmp.c (check1): Renamed to...
72079         (bz12205): ...this.
72080         (bz14195): Add new testcase for two empty input strings and N > 0.
72081         (test_main): Call new testcase, adapt for renamed function.
72083 2012-08-15  Andreas Jaeger  <aj@suse.de>
72085         [BZ #14090]
72086         * crypt/md5test2.c: New test, based on test supplied by Serge
72087         Belyshev <belyshev@depni.sinp.msu.ru>.
72088         * crypt/Makefile (xtests): Add md5test-giant..
72089         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72091 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72093         [BZ #14090]
72094         * crypt/md5.c (md5_process_block): Don't assume the buffer
72095         length is less than 2**32.
72096         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72097         length is less than 2**64.
72099 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72101         * string/str-two-way.h: Include <sys/param.h>.
72102         (MAX): Macro removed.
72104         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72105         Move #define and #undef of memmove to just before and after
72106         including <string.h>.
72108         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72109         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72110         and after including <string.h>.  Move declarations of
72111         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72112         to before #include "string/memmove.c".
72114         * include/dirent.h: Declare __getdirentries.
72116         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72117         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72119 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72121         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72122         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72123         * sysdeps/i386/configure: Regenerated.
72124         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72125         STABS_CURRENT_FILE, and STABS_FUN.
72126         (END): Remove call to STABS_FUN_END.
72127         (STABS_CURRENT_FILE1): Delete.
72128         (STABS_CURRENT_FILE): Likewise.
72129         (STABS_FUN): Likewise.
72130         (STABS_FUN_END): Likewise.
72131         (STABS_FUN2): Likewise.
72132         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72133         * sysdeps/x86_64/configure: Regenerated.
72135 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72137         * elf/dl-open.c: Include <atomic.h>.
72138         * elf/dl-lookup.c: Likewise.
72140 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72142         * sysdeps/unix/sysv/linux/kernel-features.h
72143         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72144         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72145         unconditionally.
72146         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72147         unconditionally.
72148         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72149         condition on __ASSUME_CLONE_THREAD_FLAGS.
72151 2012-08-14  Andreas Jaeger  <aj@suse.de>
72153         * sysdeps/i386/fpu/libm-test-ulps: Update.
72155 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72157         * include/atomic.h (atomic_exchange_and_add): Split into ...
72158         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72159         New atomic macros.
72161 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72163         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72165 2012-08-13  Jeff Law <law@redhat.com>
72167         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72168         null byte in the output string.
72170 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72172         * sysdeps/unix/sysv/linux/kernel-features.h
72173         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72174         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72175         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72176         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72177         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72178         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72179         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72181 2012-08-09  Jeff Law <law@redhat.com>
72183         [BZ #13939]
72184         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72185         When avoid_arena is set, don't retry in the that arena.  Pick the
72186         next one, whatever it might be.
72187         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72188         (arena_lock): Pass in new parameter to arena_get2.
72189         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72190         arena_get2.
72191         (__libc_malloc): Unify retrying after main arena failure with
72192         __libc_memalign version.
72193         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72195 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72197         [BZ #14166]
72198         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72199         to __redirect_strstr.
72200         (__strstr_sse42): Use typeof __redirect_strstr.
72201         (__strstr_ia32): Likewise.
72202         (__libc_strstr): New prototype.
72203         (strstr): Renamed to ...
72204         (__libc_strstr): This.
72205         (strstr): New strong alias of __libc_strstr.
72206         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72207         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72208         __redirect_time.
72209         Include <time.h>.
72210         (__libc_time): New prototype.
72211         (time_ifunc): Replace time with __libc_time.
72212         (time): New strong alias and hidden definition of __libc_time.
72213         (__GI_time): Remove strong alias.
72214         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72215         Include <stddef.h>.
72216         (memmove): Redefined to __redirect_memmove.
72217         (__memmove_sse2): Use typeof __redirect_memmove.
72218         (__memmove_ssse3): Likewise.
72219         (__memmove_ssse3_back): Likewise.
72220         (__libc_memmove): New prototype.
72221         (memmove): Renamed to ...
72222         (__libc_memmove): This.
72223         (memmove): New strong alias of __libc_memmove.
72225 2012-08-08  Mark Salter  <msalter@redhat.com>
72227         * elf/elf.h
72228         (R_MN10300_TLS_GD): Define.
72229         (R_MN10300_TLS_LD): Likewise.
72230         (R_MN10300_TLS_LDO): Likewise.
72231         (R_MN10300_TLS_GOTIE): Likewise.
72232         (R_MN10300_TLS_IE): Likewise.
72233         (R_MN10300_TLS_LE): Likewise.
72234         (R_MN10300_TLS_DTPMOD): Likewise.
72235         (R_MN10300_TLS_DTPOFF): Likewise.
72236         (R_MN10300_TLS_TPOFF): Likewise.
72237         (R_MN10300_SYM_DIFF): Likewise.
72238         (R_MN10300_ALIGN): Likewise.
72239         (R_MN10300_NUM): Update.
72241 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72243         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72244         Remove.
72246 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72248         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72250         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72251         sysdeps/unix -> sysdeps/posix move.
72252         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72254 2012-08-07      Allan McRae     <allan@archlinux.org>
72256         [BZ #14303]
72257         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72258         (SUNOS_CPP): Likewise.
72259         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72260         not found.
72261         (open_input): Call CPP using execvp.
72263 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72265         * sysdeps/unix/sysv/linux/kernel-features.h
72266         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72267         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72268         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72269         (__ASSUME_WAITID_SYSCALL): Likewise.
72270         * sysdeps/unix/sysv/linux/dl-execstack.c
72271         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72272         code unconditional.
72273         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72274         conditional code.
72275         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72276         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72277         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72278         code.
72279         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72280         unconditional.
72281         [__ASSUME_WAITID_SYSCALL]: Likewise.
72282         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72284 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72286         * sysdeps/unix/closedir.c: Renamed to ...
72287         * sysdeps/posix/closedir.c: ... here.
72288         * sysdeps/unix/dirfd.c: Renamed to ...
72289         * sysdeps/posix/dirfd.c: ... here.
72290         * sysdeps/unix/dirstream.h: Renamed to ...
72291         * sysdeps/posix/dirstream.h: ... here.
72292         * sysdeps/unix/fdopendir.c: Renamed to ...
72293         * sysdeps/posix/fdopendir.c: ... here.
72294         * sysdeps/unix/opendir.c: Renamed to ...
72295         * sysdeps/posix/opendir.c: ... here.
72296         * sysdeps/unix/readdir.c: Renamed to ...
72297         * sysdeps/posix/readdir.c: ... here.
72298         * sysdeps/unix/readdir_r.c: Renamed to ...
72299         * sysdeps/posix/readdir_r.c: ... here.
72300         * sysdeps/unix/rewinddir.c: Renamed to ...
72301         * sysdeps/posix/rewinddir.c: ... here.
72302         * sysdeps/unix/seekdir.c: Renamed to ...
72303         * sysdeps/posix/seekdir.c: ... here.
72304         * sysdeps/unix/telldir.c: Renamed to ...
72305         * sysdeps/posix/telldir.c: ... here.
72306         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72307         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72308         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72309         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72311         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72312         * bits/fcntl.h: ... here.
72314         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72315         not 0.
72316         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72317         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72318         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72319         (struct flock): Move l_start, l_len to the beginning.
72320         Use __pid_t for l_pid.
72321         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72322         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72323         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72324         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72325         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72326         [__USE_LARGEFILE64] (struct flock64): New type.
72327         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72329         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72330         * bits/dirent.h: ... here.
72332         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72333         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72335 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72337         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72338         Change from 2.6.0 to 2.6.16.
72339         * sysdeps/unix/sysv/linux/configure: Regenerated.
72340         * sysdeps/unix/sysv/linux/kernel-features.h
72341         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72342         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72343         version.
72344         (__ASSUME_UTIMES): Likewise.
72345         (__ASSUME_CLONE_STOPPED): Remove.
72346         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72347         architectures, not kernel version.
72348         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72349         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72350         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72351         (__ASSUME_WAITID_SYSCALL): Likewise.
72352         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72353         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72354         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72355         refer to older versions.
72357 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72359         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72360         Define alphasort64 as an alias.
72361         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72362         Define versionsort64 as an alias.
72363         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72364         Define scandir64 as an alias.
72365         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72366         Define scandirat64 as an alias.
72367         * dirent/alphasort64.c (alphasort64):
72368         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72369         * dirent/versionsort64.c: Likewise.
72370         * dirent/scandir64.c: Likewise.
72371         * dirent/scandirat64.c: Likewise.
72372         * sysdeps/wordsize-64/alphasort.c: File removed.
72373         * sysdeps/wordsize-64/alphasort64.c: File removed.
72374         * sysdeps/wordsize-64/scandir.c: File removed.
72375         * sysdeps/wordsize-64/scandir64.c: File removed.
72376         * sysdeps/wordsize-64/scandirat.c: File removed.
72377         * sysdeps/wordsize-64/scandirat64.c: File removed.
72378         * sysdeps/wordsize-64/versionsort.c: File removed.
72379         * sysdeps/wordsize-64/versionsort64.c: File removed.
72380         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72381         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72382         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72383         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72384         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72385         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72386         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72387         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72389         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72390         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72391         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72392         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72393         [defined __arch64__ || defined __sparcv9]
72394         (__INO_T_MATCHES_INO64_T): New macro.
72395         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72396         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72397         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72398         * sysdeps/unix/sysv/linux/bits/dirent.h
72399         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72400         (_DIRENT_MATCHES_DIRENT64): New macro.
72402         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72403         Define lockf64 as an alias.
72404         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72405         Define fseeko64 as an alias.
72406         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72407         Define ftello64 as an alias.
72408         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72409         Define _IO_fgetpos64 and fgetpos64 as aliases.
72410         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72411         Define _IO_fsetpos64 and fsetpos64 as aliases.
72412         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72413         Conditionalize body on this.
72414         * libio/fseeko64.c: Likewise.
72415         * libio/ftello64.c: Likewise.
72416         * libio/iofgetpos64.c: Likewise.
72417         * libio/iofsetpos64.c: Likewise.
72418         * sysdeps/wordsize-64/lockf.c: File removed.
72419         * sysdeps/wordsize-64/lockf64.c: File removed.
72420         * sysdeps/wordsize-64/fseeko.c: File removed.
72421         * sysdeps/wordsize-64/fseeko64.c: File removed.
72422         * sysdeps/wordsize-64/ftello.c: File removed.
72423         * sysdeps/wordsize-64/ftello64.c: File removed.
72424         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72425         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72426         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72427         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72428         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72429         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72430         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72431         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72432         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72433         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72434         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72435         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72436         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72437         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72439         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72440         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72441         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72442         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72443         [defined __arch64__ || defined __sparcv9]
72444         (__OFF_T_MATCHES_OFF64_T): New macro.
72445         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72446         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72447         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72448         (__OFF_T_MATCHES_OFF64_T): New macro.
72450 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72452         * stdlib/secure-getenv.c (__secure_getenv): Replace
72453         GLIBC_2_16 with GLIBC_2_17.
72455 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72457         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72458         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72460 2012-08-03  David S. Miller  <davem@davemloft.net>
72462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72464 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72466         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72467         Remove.
72468         (__ASSUME_CORRECT_SI_PID): Likewise.
72469         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72470         (__ASSUME_TMPFS_NAME): Likewise.
72471         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72472         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72473         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72474         (HAVE_AUX_SECURE): Make definition unconditional.
72475         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72476         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72478 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72480         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72481         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72482         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72483         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72484         __eloop_threshold instead of SYMLOOP_MAX.
72486         * sysdeps/generic/eloop-threshold.h: New file.
72487         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72488         of MAXSYMLINKS.
72489         * elf/chroot_canon.c (chroot_canon): Likewise.
72491 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72493         [BZ #13717]
72494         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72495         Change to 2.6.0 everywhere.
72496         * sysdeps/unix/sysv/linux/configure: Regenerated.
72497         * sysdeps/unix/sysv/linux/kernel-features.h
72498         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72499         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72500         kernel versions.
72501         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72502         (__ASSUME_FUTEX_REQUEUE): Remove.
72503         (__ASSUME_STATFS64): Define unconditionally.
72504         (__ASSUME_AT_SECURE): Likewise.
72505         (__ASSUME_CORRECT_SI_PID): Likewise.
72506         (__ASSUME_TGKILL): Define without depending on kernel version for
72507         i386.
72508         (__ASSUME_UTIMES): Likewise.
72509         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72510         kernel version.
72511         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72512         (__ASSUME_TMPFS_NAME): Likewise.
72513         * README: Update reference to Linux kernel versions.
72515 2012-08-02  Marek Polacek  <polacek@redhat.com>
72517         [BZ #14150]
72518         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72519         libc_cv_asm_type_prefix with %.
72520         * configure: Regenerated.
72521         * include/libc-symbols.h: Remove comment about
72522         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72523         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72524         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72525         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72526         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72527         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72528         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72529         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72530         * elf/tst-unique2mod1.c: Likewise.
72531         * elf/tst-unique1mod2.c: Likewise.
72532         * elf/tst-unique1mod1.c: Likewise.
72533         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72534         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72535         Replace ASM_TYPE_DIRECTIVE with .type.
72536         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72537         * sysdeps/i386/sysdep.h: Likewise.
72538         * sysdeps/x86_64/sysdep.h: Likewise.
72539         * sysdeps/sh/sysdep.h: Likewise.
72540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72541         Do not define ASM_TYPE_DIRECTIVE.
72542         * sysdeps/powerpc/sysdep.h: Likewise.
72543         * sysdeps/powerpc/powerpc32/sysdep.h:
72544         Replace ASM_TYPE_DIRECTIVE with .type.
72545         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72546         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72547         * sysdeps/i386/fpu/e_powf.S: Likewise.
72548         * sysdeps/i386/fpu/e_expl.S: Likewise.
72549         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72550         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72551         * sysdeps/i386/fpu/e_pow.S: Likewise.
72552         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72553         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72554         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72555         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72556         * sysdeps/i386/fpu/e_log2.S: Likewise.
72557         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72558         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72559         * sysdeps/i386/fpu/e_powl.S: Likewise.
72560         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72561         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72562         * sysdeps/i386/fpu/e_logl.S: Likewise.
72563         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72564         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72565         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72566         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72567         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72568         * sysdeps/i386/fpu/e_log.S: Likewise.
72569         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72570         * sysdeps/i386/fpu/e_logf.S: Likewise.
72571         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72572         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72573         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72574         * sysdeps/i386/fpu/e_log10.S: Likewise.
72575         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72576         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72577         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72578         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72579         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72580         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72581         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72582         * sysdeps/i386/i686/strtok.S: Likewise.
72583         * sysdeps/i386/i386-mcount.S: Likewise.
72584         * sysdeps/i386/strtok.S: Likewise.
72585         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72586         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72587         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72588         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72589         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72590         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72591         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72592         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72593         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72594         * sysdeps/x86_64/_mcount.S: Likewise.
72595         * sysdeps/x86_64/strtok.S: Likewise.
72596         * sysdeps/sh/_mcount.S: Likewise.
72598 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72600         * libio/iofopen.c: Include <fcntl.h>.
72601         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72602         (_IO_fopen64, fopen64): Define as aliases.
72603         * libio/iofopen64.c: Include <fcntl.h>.
72604         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72605         Conditionalize body on this.
72606         * sysdeps/wordsize-64/iofopen.c: File removed.
72607         * sysdeps/wordsize-64/iofopen64.c: File removed.
72609 2012-08-01  Marek Polacek  <polacek@redhat.com>
72611         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72612         Use dlfcn directly instead of a variable.
72613         (binfmt-subdir): Do not define.
72614         (dlfcn): Likewise.
72616 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72618         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72619         Remove all definitions.
72620         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72621         <kernel-features.h>.
72622         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72623         (miss_F_GETOWN_EX): Remove all definitions.
72624         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72625         macro definition.
72626         [!__ASSUME_FCNTL64]: Remove conditional code.
72627         [__ASSUME_FCNTL64]: Make code unconditional.
72628         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72629         <kernel-features.h>.
72630         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72631         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72632         (lockf64) [__NR_fcntl64]: Make code unconditional.
72633         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72635         * sysdeps/unix/sysv/linux/kernel-features.h
72636         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72637         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72638         Make code unconditional.
72639         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72640         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72642         [__NR_vfork]: Make code unconditional.
72643         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72644         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72646         [__NR_vfork]: Make code unconditional.
72647         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72648         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72650 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72652         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72653         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72655         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72656         Define mkstemp64 as an alias.
72657         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72658         Define mkstemps64 as an alias.
72659         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72660         Define mkostemp64 as an alias.
72661         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72662         Define mkostemps64 as an alias.
72663         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72664         Conditionalize body on this.
72665         * misc/mkostemp64.c: Likewise.
72666         * misc/mkostemps64.c: Likewise.
72667         * misc/mkstemps64.c: Likewise.
72668         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72669         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72670         * sysdeps/wordsize-64/mkostemp.c: File removed.
72671         * sysdeps/wordsize-64/mkstemp.c: File removed.
72672         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72673         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72674         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72675         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72677         [BZ #14138]
72678         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72679         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72680         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72681         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72683         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72684         compat_symbol macros from <shlib-compat.h> rather than the underlying
72685         default_symbol_version and symbol_version macros, so that DEFAULT
72686         lines in shlib-versions are respected.
72687         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72689 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72691         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72692         Declare with warn_unused_result.
72693         (setgid, setregid, setegid, setresgid): Likewise.
72694         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72695         Likewise.
72696         * WUR-REPORT: Remove set*id functions.
72698 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72700         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72702 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72704         [BZ #10191]
72705         * include/sys/socket.h (__libc_accept, __libc_accept4):
72706         Add attribute_hidden.
72707         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72709         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72710         use of PTR_MANGLE.
72711         * inet/getnetgrent_r.c (setup): Likewise.
72713         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72715 2012-07-31  David S. Miller  <davem@davemloft.net>
72717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72719 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72721         [BZ #13629]
72722         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72723         value between 1.0 and 2.0 and smaller part has absolute value less
72724         than 1.0.
72725         * math/s_clog10.c (__clog10): Likewise.
72726         * math/s_clog10f.c (__clog10f): Likewise.
72727         * math/s_clog10l.c (__clog10l): Likewise.
72728         * math/s_clogf.c (__clogf): Likewise.
72729         * math/s_clogl.c (__clogl): Likewise.
72730         * math/libm-test.inc (clog_test): Add more tests.
72731         (clog10_test): Likewise.
72732         * sysdeps/i386/fpu/libm-test-ulps: Update.
72733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72735 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72737         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72738         Exit with zero in case no suitable GID is found, and write a
72739         message to standard error.
72741 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72743         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72744         rather than to 1.
72745         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72746         (MAXPATHLEN): Removed.
72747         (NOGROUP, NODEV): New macros.
72748         (setbit, clrbit, isset, isclr): New macros.
72749         (howmany, roundup, powerof2): New macros.
72750         (DEV_BSIZE): New macro.
72752         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72753         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72755         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72756         definition on [!__NO_LONG_DOUBLE_MATH].
72758         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72759         PTR_MANGLE and PTR_DEMANGLE.
72761         * socket/accept4.c (accept4): Rename to __libc_accept4.
72762         Define accept4 as a weak alias.
72764         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72765         on [_DIRENT_HAVE_D_TYPE].
72766         * io/ftw.c (ftw_dir): Likewise.
72768         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72770         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72772         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72773         Use the BSD numbers rather than the arbitrary ones we had.
72774         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72775         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72776         (SIGXCPU, SIGXFSZ): New macros.
72777         (_NSIG): Now 32.
72779         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72780         initializer on [_LIBC_REENTRANT].
72782         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72783         definitions inside [_POSIX_MAPPED_FILES].
72785         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72787         * dirent/opendir.c: Include <fcntl.h>.
72789         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72790         (__libc_getspecific): Likewise.
72791         (__libc_key_create): Likewise.
72793         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72794         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72795         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72796         (tmpfile64): Define as alias.
72797         * sysdeps/wordsize-64/tmpfile.c: File removed.
72798         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72799         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72800         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72802         * stdio-common/vfscanf.c: Include <stdbool.h>.
72803         * nss/makedb.c: Likewise.
72804         * stdio-common/_i18n_number.h: Likewise.
72805         * argp/argp-help.c: Likewise.
72806         * posix/wordexp.c: Likewise.
72807         * sysdeps/posix/spawni.c: Likewise.
72808         * nss/nss_files/files-initgroups.c: Likewise.
72809         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72810         * nss/nss_files/files-initgroups.c: Likewise.
72811         * nss/nss_db/db-netgrp.c: Likewise.
72812         * nss/nss_db/db-initgroups.c: Likewise.
72813         * io/fchmodat.c: Include <sys/stat.h>.
72815         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72816         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72818         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72819         [HAVE_MMAP].
72821         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72822         Add multiple inclusion protection.
72824 2012-07-27  David S. Miller  <davem@davemloft.net>
72826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72828 2012-07-27  Gary Benson  <gbenson@redhat.com>
72830         [BZ #14298]
72831         * elf/rtld.c: Include <stap-probe.h>.
72832         (dl_main): Added static probes "init_start" and "init_complete".
72833         * elf/dl-load.c: Include <stap-probe.h>.
72834         (lose): Take new parameter "nsid".
72835         Added static probe "map_failed".
72836         (_dl_map_object_from_fd): Pass namespace id to lose.
72837         Added static probe "map_start".
72838         (open_verify): Pass namespace id to lose.
72839         * elf/dl-open.c: Include <stap-probe.h>.
72840         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72841         and "reloc_complete".
72842         * elf/dl-close.c: Include <stap-probe.h>.
72843         (_dl_close_worker): Added static probes "unmap_start" and
72844         "unmap_complete".
72845         * elf/rtld-debugger-interface.txt: New file documenting the above.
72847 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72849         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72850         rather than a string variable.
72851         * sunrpc/rpc_main.c (h_output): Likewise.
72852         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72854 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72856         * inet/check_native.c: New file.
72858 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72860         [BZ #13629]
72861         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72862         if larger part has absolute value 1.0.
72863         * math/s_clog10.c (__clog10): Likewise.
72864         * math/s_clog10f.c (__clog10f): Likewise.
72865         * math/s_clog10l.c (__clog10l): Likewise.
72866         * math/s_clogf.c (__clogf): Likewise.
72867         * math/s_clogl.c (__clogl): Likewise.
72868         * math/libm-test.inc (clog_test): Add more tests.
72869         (clog10_test): Likewise.
72870         * sysdeps/i386/fpu/libm-test-ulps: Update.
72871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72873         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72874         (pltexit): Likewise.
72875         (La_regs): Likewise.
72876         (La_retval): Likewise.
72877         (int_retval): Likewise.
72878         Update #error for removed macros to refer only to definitions in
72879         tst-audit.h.
72880         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72881         macro.
72882         (pltexit): Likewise.
72883         (La_regs): Likewise.
72884         (La_retval): Likewise.
72885         (int_retval): Likewise.
72886         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72887         macro.
72888         (pltexit): Likewise.
72889         (La_regs): Likewise.
72890         (La_retval): Likewise.
72891         (int_retval): Likewise.
72892         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72893         macro.
72894         (pltexit): Likewise.
72895         (La_regs): Likewise.
72896         (La_retval): Likewise.
72897         (int_retval): Likewise.
72898         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72899         macro.
72900         (pltexit): Likewise.
72901         (La_regs): Likewise.
72902         (La_retval): Likewise.
72903         (int_retval): Likewise.
72904         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72905         macro.
72906         (pltexit): Likewise.
72907         (La_regs): Likewise.
72908         (La_retval): Likewise.
72909         (int_retval): Likewise.
72910         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72911         macro.
72912         (pltexit): Likewise.
72913         (La_regs): Likewise.
72914         (La_retval): Likewise.
72915         (int_retval): Likewise.
72916         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72917         macro definitions in tst-audit.h.
72918         * sysdeps/i386/tst-audit.h: New file.
72919         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72920         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72921         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72922         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72923         * sysdeps/sh/tst-audit.h: Likewise.
72924         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72925         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72926         * sysdeps/x86_64/tst-audit.h: Likewise.
72928 2012-07-26  Andreas Jaeger  <aj@suse.de>
72930         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72931         ptrace.
72933         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72934         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72935         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72936         PTRACE_O_MASK.
72937         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72938         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72939         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72941         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72942         value.
72944         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72945         _sigsys.
72946         (si_call_addr, si_syscall, si_arch): Define new macro.
72947         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72948         _sigsys.
72949         (si_call_addr, si_syscall, si_arch): Define new marcro.
72950         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72951         _sigsys.
72952         (si_call_addr, si_syscall, si_arch): Define new macro.
72953         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72954         _sigsys.
72955         (si_call_addr, si_syscall, si_arch): Define new macro.
72957 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72959         [BZ #13717]
72960         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72961         Change to 2.4.21 where previously 2.4.1.
72962         * sysdeps/unix/sysv/linux/configure: Regenerated.
72963         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72964         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72965         Linux kernel version.
72966         (__ASSUME_STD_AUXV): Remove.
72967         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72968         kernel version.
72969         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72970         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72971         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72972         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72973         (__ASSUME_NETLINK_SUPPORT): Likewise.
72974         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72975         (__no_netlink_support): Remove conditional definition.
72976         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72977         Remove.
72978         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72979         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72980         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72981         (if_nameindex_ioctl): Remove.
72982         (if_nameindex_netlink): Do not handle __no_netlink_support.
72983         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72984         code.
72985         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72986         Remove conditional code.
72987         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72988         code.
72989         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72990         unconditional.
72991         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72992         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
72993         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
72994         Remove.
72995         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
72996         [!__ASSUME_STD_AUXV]: Remove conditional code.
72997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
72998         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
72999         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73001         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73002         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73003         code.
73004         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73006         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73007         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73008         conditional code.
73009         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73011         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73012         code.
73013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73014         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73015         conditional code.
73016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73017         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73018         code unconditional.
73019         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73020         conditional code.
73021         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73022         unconditional.
73023         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73024         conditional code.
73025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73026         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73027         unconditional.
73028         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73029         conditional code.
73030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73031         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73032         code unconditional.
73033         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73034         conditional code.
73035         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73036         unconditional.
73037         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73038         conditional code.
73039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73040         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73041         code unconditional.
73042         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73043         conditional code.
73044         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73045         unconditional.
73046         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73047         conditional code.
73049 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73051         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73052         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73053         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73054         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73055         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73056         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73057         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73058         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73059         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73060         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73061         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73062         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73063         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73064         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73065         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73066         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73067         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73068         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73069         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73070         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73071         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73072         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73073         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73075 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73077         * Versions.def: Add GLIBC_2.17.
73078         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73079         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73080         Introduce __libc_secure_getenv.
73081         * stdlib/Versions (2.17): Add secure_getenv
73082         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73083         * stdlib/secure-getenv.c: Rename __secure_getenv to
73084         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73085         symbol __secure_getenv for GLIBC_2.0.
73086         * stdlib/tst-secure-getenv.c: New.
73087         * stdlib/Makefile (tests): Add testcase.
73088         * manual/startup.texi (Environment Access): Document
73089         secure_getenv.
73090         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73091         __libc_secure_getenv.
73092         * inet/ruserpass.c (ruserpass): Likewise.
73093         * malloc/mtrace.c (mtrace): Likewise.
73094         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73095         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73096         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73097         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73098         HAVE_SECURE_GETENV.
73099         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73100         __secure_getenv to __libc_secure_getenv.
73101         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73103         Likewise.
73104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73105         Likewise.
73106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73108         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73114 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73116         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73117         (struct La_i86_retval): Likewise.
73118         (struct La_x86_64_regs): Likewise.
73119         (struct La_x86_64_retval): Likewise.
73120         (struct La_x32_regs): Likewise.
73121         (struct La_x32_retval): Likewise.
73122         (struct La_ppc32_regs): Likewise.
73123         (struct La_ppc32_retval): Likewise.
73124         (struct La_ppc64_regs): Likewise.
73125         (struct La_ppc64_retval): Likewise.
73126         (struct La_sh_regs): Likewise.
73127         (struct La_sh_retval): Likewise.
73128         (struct La_s390_32_regs): Likewise.
73129         (struct La_s390_32_retval): Likewise.
73130         (struct La_s390_64_regs): Likewise.
73131         (struct La_s390_64_retval): Likewise.
73132         (struct La_sparc32_regs): Likewise.
73133         (struct La_sparc32_retval): Likewise.
73134         (struct La_sparc64_regs): Likewise.
73135         (struct La_sparc64_retval): Likewise.
73136         (struct audit_ifaces): Remove architecture-specific pltenter and
73137         pltexit members.
73138         * sysdeps/i386/ldsodefs.h: New file.
73139         * sysdeps/powerpc/ldsodefs.h: Likewise.
73140         * sysdeps/s390/ldsodefs.h: Likewise.
73141         * sysdeps/sh/ldsodefs.h: Likewise.
73142         * sysdeps/sparc/ldsodefs.h: Likewise.
73143         * sysdeps/x86_64/ldsodefs.h: Likewise.
73145 2012-07-25  Marek Polacek  <polacek@redhat.com>
73147         [BZ #6808]
73148         * math/libm-test.inc (yn_test): Add another test.
73149         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73150         to ERANGE when the result is +-Inf.
73151         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73152         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73153         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73154         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73156 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73158         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73159         equal to 0.
73160         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73161         clock_t.
73162         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73164 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73166         * configure.in <sysdeps resolving>: Correct printing
73167         Implies_before.
73168         * configure: Regenerate.
73170 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73172         * math/w_ilogb.c: Include <limits.h>.
73173         * math/w_ilogbl.c: Likewise.
73175 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73177         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73178         va_copy.  Document allowing for unavailable va_copy only as
73179         pre-C99 compatibility.
73180         * manual/string.texi (Copying and Concatenation): Use va_copy
73181         instead of __va_copy in concat example.
73183 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73185         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73186         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73187         it if not null.
73189         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73190         with O_NOLINK passed to __file_name_lookup.
73192         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73193         with O_NOLINK passed to __file_name_lookup.
73195         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73196         negative N or less than NGIDS.
73198         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73199         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73200         enough.  Use memcpy instead of strncpy.
73202 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73204         * elf/Makefile (check-data): Remove.
73205         (localplt.data): New vpath directive.
73206         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73207         instead of $(check-data).
73208         * scripts/data/localplt-generic.data: Move to ...
73209         * sysdeps/generic/localplt.data: ... here.
73210         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73211         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73212         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73214         ... here.
73215         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73217         ... here.
73218         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73220         ... here.
73221         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73223         ... here.
73224         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73226         ... here.
73227         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73229         ... here.
73231 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73233         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73234         PPC32 and PPC64 files.
73235         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73236         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73238 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73240         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73241         __makecontext_ret to ...
73242         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73243         ... here and call exit if uc_link is NULL.  New file.
73244         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73245         __makecontext_ret.S.
73246         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73247         __makecontext_ret to ...
73248         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73249         ... here and call exit if uc_link is NULL.  New file.
73250         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73251         __makecontext_ret.S.
73253 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73255         * elf/elf.h (R_390_IRELATIVE): New definition.
73256         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73257         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73258         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73259         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73260         (elf_machine_lazy_rel): Likewise.
73261         * sysdeps/s390/dl-irel.h: New file.
73262         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73263         * sysdeps/s390/s390-64/memset.S: New asm code.
73264         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73265         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73266         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73267         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73268         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73269         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73270         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73271         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73272         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73273         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73274         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73275         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73276         * sysdeps/s390/s390-32/memset.S: New asm code.
73277         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73279 2012-07-17  Marek Polacek  <polacek@redhat.com>
73281         [BZ #14349]
73282         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73283         * sysdeps/s390/s390-64/configure.in: Likewise.
73284         * sysdeps/sparc/configure.in: Likewise.
73285         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73286         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73287         * sysdeps/i386/configure.in: Likewise.
73288         * sysdeps/x86_64/configure.in: Likewise.
73289         * sysdeps/sh/configure.in: Likewise.
73290         * sysdeps/s390/s390-32/configure: Regenerated.
73291         * sysdeps/s390/s390-64/configure: Likewise.
73292         * sysdeps/x86_64/configure: Likewise.
73293         * sysdeps/sh/configure: Likewise.
73294         * sysdeps/powerpc/powerpc64/configure: Likewise.
73295         * sysdeps/powerpc/powerpc32/configure: Likewise.
73296         * sysdeps/sparc/configure: Likewise.
73297         * sysdeps/i386/configure: Likewise.
73299         * elf/dl-open.c: Comment fixes.
73301 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73303         * Makefile [CXX] (check-data): Remove.
73304         [CXX] (c++-types.data): New vpath directive.
73305         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73306         vpath.  Do not allow for C++ type data being missing.
73307         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73308         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73309         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73310         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73311         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73312         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73313         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73315         ... here.
73316         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73318         ... here.
73319         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73321         ... here.
73322         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73324         ... here.
73325         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73327         ... here.
73328         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73330         ... here.
73331         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73333         ... here.
73334         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73337         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73338         definitions to architecture-specific files.
73339         (TLS_IE): Likewise.
73340         (TLS_LD): Likewise.
73341         (TLS_GD): Likewise.
73342         * sysdeps/i386/tls-macros.h: New file.
73343         * sysdeps/powerpc/tls-macros.h: Likewise.
73344         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73345         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73346         * sysdeps/sh/tls-macros.h: Likewise.
73347         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73348         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73349         * sysdeps/x86_64/tls-macros.h: Likewise.
73351 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73353         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73354         zero value for regular exit case.
73356         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73357         (__start_context): Preserve zero value for regular exit case.
73359 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73360             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73362         * manual/setjmp.texi (setcontext): Clarify normal process
73363         termination when uc_link is the null pointer.
73364         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73365         exit call.
73367 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73369         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73370         preprocessor.  Test for each exception mask separately.
73372 2012-07-16  Andreas Jaeger  <aj@suse.de>
73374         * po/ru.po: Update from translation team.
73376 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73378         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73379         equal to 0.
73380         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73381         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73382         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73383         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73384         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73386 2012-07-13  Andreas Jaeger  <aj@suse.de>
73388         * po/fr.po: Update from translation team.
73390 2012-07-12  Marek Polacek  <polacek@redhat.com>
73392         [BZ #14173]
73393         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73394         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73395         loop condition.
73397 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73399         [BZ #13717]
73400         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73401         Change to 2.4.1 where previously 2.4.0.
73402         * sysdeps/unix/sysv/linux/configure: Regenerated.
73403         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73404         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73405         version.
73406         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73407         (__ASSUME_AT_CLKTCK): Remove.
73408         (__ASSUME_AT_PAGESIZE): Likewise.
73409         (__ASSUME_AT_XID): Likewise.
73410         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73411         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73412         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73413         unconditionally.
73414         (HAVE_AUX_PAGESIZE): Likewise.
73415         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73416         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73417         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73419 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73421         [BZ #14307]
73422         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73423         the temporary buffer used to invoke __gethostbyname2_r,
73424         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73425         host_data / struct gaih_addrtuple.
73426         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73427         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73428         header file nss/nsswitch.h.
73429         * nss/nsswitch.h (global scope): Add definition of implementation
73430         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73431         resolv/nss_dns/dns-host.c).
73433 2012-07-11  Andreas Jaeger  <aj@suse.de>
73435         * po/fr.po: Update from translation team.
73437         * po/sv.po: Update from translation team
73438         * po/fr.po: Another update from translation team.
73440 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73442         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73443         for subnormals or multiply small sinh result by itself.
73444         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73447 2012-07-11  David S. Miller  <davem@davemloft.net>
73449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73451 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73453         [BZ #14347]
73454         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73455         (INTERNAL_MARK): Shift it here.
73457 2012-07-10  Marek Polacek  <polacek@redhat.com>
73459         [BZ #14151]
73460         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73461         libc_cv_asm_global_directive with .globl.
73462         * configure: Regenerated.
73463         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73464         with .globl.
73465         * sysdeps/i386/configure: Regenerated.
73466         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73467         with .globl.
73468         * sysdeps/x86_64/configure: Regenerated.
73469         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73470         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73471         * elf/tst-unique2mod2.c: Likewise.
73472         * elf/tst-unique2mod1.c: Likewise.
73473         * elf/tst-unique1mod2.c: Likewise.
73474         * elf/tst-unique1mod1.c: Likewise.
73475         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73476         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73477         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73478         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73479         * sysdeps/mach/sysdep.h: Likewise.
73480         * sysdeps/i386/sysdep.h: Likewise.
73481         * sysdeps/i386/i386-mcount.S: Likewise.
73482         * sysdeps/x86_64/_mcount.S: Likewise.
73483         * sysdeps/x86_64/sysdep.h: Likewise.
73484         * sysdeps/sh/_mcount.S: Likewise.
73485         * sysdeps/sh/sysdep.h: Likewise.
73486         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73487         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73488         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73489         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73490         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73491         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73492         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73493         * locale/localeinfo.h: Likewise.
73494         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73495         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73497 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73499         [BZ #14336]
73500         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73501         system".
73502         * manual/message.texi (The Uniforum approach): Likewise.
73503         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73504         (glibc iconv Implementation): Likewise.
73506 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73508         [BZ #14337]
73509         * math/s_clog.c (__clog): Avoid scaling a value down where that
73510         could result in underflow.
73511         * math/s_clog10.c (__clog10): Likewise.
73512         * math/s_clog10f.c (__clog10f): Likewise.
73513         * math/s_clog10l.c (__clog10l): Likewise.
73514         * math/s_clogf.c (__clogf): Likewise.
73515         * math/s_clogl.c (__clogl): Likewise.
73516         * math/libm-test.inc (clog_test): Add more tests.
73517         (clog10_test): Likewise.
73518         * sysdeps/i386/fpu/libm-test-ulps: Update.
73519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73521 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73523         [BZ #14283]
73524         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73525         by 7 not 8 to examine high bit of fractional part.
73527         [BZ #14042]
73528         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73529         for call to __mcount_internal.
73530         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73531         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73532         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73534 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73536         [BZ #14154]
73537         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73538         approximation for values within 0x1p-13f of an odd multiple of
73539         pi/4.
73540         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73541         exception.  Add more tests.
73542         * sysdeps/i386/fpu/libm-test-ulps: Update.
73544         [BZ #6778]
73545         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73546         inputs and return -1 for them.  Do not check for +Inf in case not
73547         reachable for +Inf.
73548         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73549         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73550         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73551         and return -1 for them.  Do not check for +Inf in case not
73552         reachable for +Inf.
73553         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73554         define.
73555         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73556         and return -1 for them.  Do not check for +Inf in case not
73557         reachable for +Inf.
73558         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73559         spurious underflow.
73560         * sysdeps/i386/fpu/libm-test-ulps: Update.
73561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73563 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73565         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73567 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73569         [BZ #14157]
73570         [BZ #14331]
73571         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73572         could result in spurious underflow.  Scale down values above
73573         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73574         * math/s_csqrtf.c (__csqrtf): Likewise.
73575         * math/s_csqrtl.c (__csqrtl): Likewise.
73576         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73577         spurious underflow.
73578         * sysdeps/i386/fpu/libm-test-ulps: Update.
73579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73581 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73583         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73584         xopen-msg.sed.
73585         * catgets/xopen-msg.awk: New file.
73586         * catgets/xopen-msg.sed: Removed.
73588         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73589         po2text.sed.
73590         * intl/po2test.awk: New file.
73591         * intl/po2test.sed: Removed.
73593 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73595         [BZ #14328]
73596         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73597         or multiply small sinh result by itself.
73598         * math/s_ctanf.c (__ctanf): Likewise.
73599         * math/s_ctanh.c (__ctanh): Likewise.
73600         * math/s_ctanhf.c (__ctanhf): Likewise.
73601         * math/s_ctanhl.c (__ctanhl): Likewise.
73602         * math/s_ctanl.c (__ctanl): Likewise.
73603         * math/libm-test.inc (ctan_test_tonearest): New function.
73604         (ctan_test_towardzero): Likewise.
73605         (ctan_test_downward): Likewise.
73606         (ctan_test_upward): Likewise.
73607         (ctanh_test_tonearest): Likewise.
73608         (ctanh_test_towardzero): Likewise.
73609         (ctanh_test_downward): Likewise.
73610         (ctanh_test_upward): Likewise.
73611         (main): Call these new functions.
73612         * sysdeps/i386/fpu/libm-test-ulps: Update.
73613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73615 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73617         * .gitignore: Delete /ports entry.
73619 2012-07-03  Andreas Jaeger  <aj@suse.de>
73621         * po/bg.po: Update from translation team.
73622         * po/cs.po: Likewise.
73623         * po/de.po: Likewise.
73624         * po/hr.po: Likewise.
73625         * po/nl.pl: Likewise.
73626         * po/pl.po: Likewise.
73627         * po/vi.po: Likewise.
73629 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73631         * Makeconfig [!+link] (+link-before-libc): New variable.
73632         [!+link] (+link-after-libc): Likewise.
73633         [!+link] (+link-tests): Likewise.
73634         [!+link] (+link): Define in terms of $(+link-before-libc) and
73635         $(+link-after-libc).
73636         [!+link-static] (+link-static-before-libc): New variable.
73637         [!+link-static] (+link-static-after-libc): Likewise.
73638         [!+link-static] (+link-static-tests): Likewise.
73639         [!+link-static] (+link-static): Define in terms of
73640         $(+link-static-before-libc) and $(+link-static-after-libc).
73641         [build-shared] (link-libc-before-gnulib): New variable.
73642         [build-shared] (link-libc-tests): Likewise.
73643         [build-shared] (link-libc): Define in terms of
73644         $(link-libc-before-gnulib).
73645         [!build-shared] (link-libc-tests): New variable.
73646         (link-libc-static-tests): New variable.
73647         [!gnulib] (gnulib-arch): New variable.
73648         [!gnulib] (gnulib-tests): Likewise.
73649         [!gnulib] (static-gnulib-arch): Likewise.
73650         [!gnulib] (static-gnulib-tests): Likewise.
73651         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73652         Define with "=" instead of ":=".
73653         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73654         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73655         * Rules (binaries-all-notests): New variable.
73656         (binaries-all-tests): Likewise.
73657         (binaries-static-notests): Likewise.
73658         (binaries-static-tests): Likewise.
73659         (binaries-all): Define using $(binaries-all-notests) and
73660         $(binaries-all-tests).
73661         (binaries-static): Define using $(binaries-static-notests) and
73662         $(binaries-static-tests).
73663         (binaries-shared-tests): New variable.
73664         (binaries-shared-notests): Likewise.
73665         (binaries-shared): Remove variable.
73666         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73667         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73668         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73669         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73670         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73671         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73672         * elf/Makefile (sln-modules): New variable.
73673         (extra-objs): Add $(sln-modules:=.o).
73674         (ldconfig-modules): Add static-stubs.
73675         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73676         * elf/static-stubs.c: New file.
73678         [BZ #14283]
73679         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73680         by 7 not 8 to examine high bit of fractional part.  Use volatile
73681         variables when splitting into final array of floats if
73682         __FLT_EVAL_METHOD__ != 0.
73683         * math/libm-test.inc (cos_test): Add another test.
73684         (sin_test): Likewise.
73685         * sysdeps/i386/fpu/libm-test-ulps: Update.
73687         [BZ #14273]
73688         * math/libm-test.inc (cosh_test): Add more tests.
73690         * version.h (RELEASE): Set to "development".
73691         (VERSION): Set to "2.16.90".
73693 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73695         * NEWS: Update copyright. Remove last-updated date.
73696         Mention math library bug fixes and timezone data changes.
73697         * README: Mention GNU/Hurd, x32, and HPPA support status.
73699 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73701         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73703 2012-06-27  Andreas Jaeger  <aj@suse.de>
73705         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73707 2012-06-25  Andreas Jaeger  <aj@suse.de>
73709         * sysdeps/s390/fpu/libm-test-ulps: Update.
73711 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73712             Thomas Schwinge  <thomas@codesourcery.com>
73714         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73715         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73716         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73717         fanotify_mark.
73719 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73721         * sysdeps/mach/start.c: Remove file.
73722         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73723         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73724         * sysdeps/sh/init-first.c: Likewise.
73726         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73727         registers for frame unwinding purposes, add CFI directives.
73728         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73729         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73730         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73731         Likewise.
73733         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73734         __fortify_fail returning.
73735         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73737         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73738         sysdeps/sh/____longjmp_chk.S.
73739         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73740         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73741         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73742         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73744         * sysdeps/sh/abort-instr.h: New file.
73745         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73746         process in case exit returns.
73748         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73749         initialize the GOT register before use.
73751         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73752         calculation of ARGC > 4.
73754         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73755         meaningful names to some local labels.
73757 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73758             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73760         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73761         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73762         (__arch_compare_and_exchange_val_16_acq): Likewise.
73763         (__arch_compare_and_exchange_val_32_acq): Likewise.
73764         (atomic_exchange_and_add): Fix gUSA sequence.
73765         (atomic_add): Likewise.
73766         (atomic_add_negative): Likewise.
73767         (atomic_add_zero): Likewise.
73768         (atomic_bit_test_set): Likewise.
73770 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73772         [BZ #13579]
73773         * include/link.h (struct link_map): Add l_free_initfini.
73774         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73775         l_initfini.
73776         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73777         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73778         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73779         set.
73781 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73783         * configure.in: Use AC_LANG_SOURCE.
73784         * configure: Regenerate.
73786 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73788         * configure.in (libc_cv_localstatedir): New substituted variable.
73789         * configure: Regenerated.
73790         * config.make.in (localstatedir): New variable, substituted from
73791         libc_cv_localstatedir.
73792         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73793         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73794         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73795         * sysdeps/gnu/configure: Regenerated.
73797 2012-06-21  Jeff Law  <law@redhat.com>
73799         [BZ #14277]
73800         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73801         free.  Simplify list management for _LIBC case.
73803 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73805         [BZ #14273]
73806         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73807         Clear sign bit of 64-bit integer value before comparing against
73808         overflow value.
73810         * sysdeps/mach/configure: Regenerated.
73812 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73814         [BZ #14278]
73815         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73817 2012-06-21  Jeff Law  <law@redhat.com>
73819         [BZ #13882]
73820         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73821         uint16_t for elements in the "seen" array to avoid char overflows.
73822         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73823         * elf/dl-open.c (dl_open_worker): Likewise.
73825 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73827         * scripts/list-sources.sh: Scan PORTS for translations.
73828         * po/libc.pot: Regenerated.
73830 2012-06-21  Andreas Jaeger  <aj@suse.de>
73832         [BZ #12194]
73833         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73834         warning.
73835         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73836         * bits/byteswap-16.h (__bswap_16): Likewise.
73837         * bits/byteswap.h (__bswap_constant_16): Likewise.
73839 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73841         [BZ #14117]
73842         * sysdeps/i386/fpu_control.h: Removed.
73843         * sysdeps/x86_64/fpu_control.h: Moved to ...
73844         * sysdeps/x86/fpu_control.h: Here.
73846         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73847         (_FPU_SETCW): Likewise.
73849 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73851         [BZ #14117]
73852         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73853         * sysdeps/x86/fpu/bits/mathinline.h: This.
73854         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73856         [BZ #14050]
73857         [BZ #14117]
73858         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73859         functions if __x86_64__ is defined.
73861 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73863         * string/endian.h: Add !__ASSEMBLER__ condition for including
73864         conversion interfaces.
73866 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73868         [BZ #14241]
73869         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73870         of ABS(x) in calculating zero to negative powers other than odd
73871         integers.
73872         * math/libm-test.inc (pow_test): Add more tests.
73874 2012-06-15  Andreas Jaeger  <aj@suse.de>
73876         * manual/contrib.texi (Contributors): Update entry of Liubov
73877         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73878         Machado Filho.
73880 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73882         * string/string.h: Add __wur to GNU version of strerror_r.
73884 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73886         [BZ #14229]
73887         * string/Makefile (tests): Add tst-strtok_r.
73888         * string/tst-strtok_r.c: New file.
73889         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73890         RAX_LP/RDX_LP on SAVE_PTR.
73892 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73894         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73896 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73898         * libm_test.inc (csqrt_test): Allow more spurious underflow
73899         exceptions.
73900         (j0_test): Likewise.
73901         (j1_test): Likewise.
73902         (y0_test): Likewise.
73903         (y1_test): Likewise.
73905 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73907         * po/Makefile (libc.pot): Use UTF-8 charset.
73909 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73911         [BZ #14210]
73912         Suppress sign-conversion warning from FD_SET.
73913         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73914         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73915         not unsigned long int.
73916         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73918 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73920         [BZ #14050]
73921         [BZ #14117]
73922         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73923         __extern_always_inline instead of __extern_inline.
73924         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73925         (__signbit): Likewise.
73926         (__signbitl): Support C++ namespace.
73927         (lrintf): New inline function.
73928         (lrint): Likewise.
73929         (llrintf): Likewise.
73930         (llrint): Likewise.
73931         (fmaxf): Likewise.
73932         (fmax): Likewise.
73933         (fminf): Likewise.
73934         (fmin): Likewise.
73935         (rint): Likewise.
73936         (rintf): Likewise.
73937         (ceil): Likewise.
73938         (ceilf): Likewise.
73939         (floor): Likewise.
73940         (floorf): Likewise.
73941         (nearbyint): Likewise.
73942         (nearbyintf): Likewise.
73944 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73946         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73947         non-default versions.
73949 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73951         [BZ #14218]
73952         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73954 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73956         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73957         (FE_UPWARD, FE_DOWNWARD): Don't define.
73958         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73959         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73961         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73962         reading it.
73963         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73964         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73966 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73968         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73969         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73970         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73971         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73973 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73975         [BZ #14117]
73976         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73977         * sysdeps/i386/fpu/Implies: New file.
73978         * sysdeps/x86_64/fpu/Implies: Likewise.
73979         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73980         * sysdeps/x86/fpu/bits/fenv.h: This.
73982         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73983         __SSE_MATH__.
73985 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73987         [BZ #14134]
73988         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73989         character 0xffff that matches the last element of the
73990         conversion table.
73992 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73994         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
73995         fmodl commit.
73997 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73999         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74000         values higher than 25.6283.
74002 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74004         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74005         subnormal exponent extraction and add some __builtin_expect.
74006         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74007         Fix for subnormal mantissa calculation.
74009 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74011         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74012         cpu2 is -1 and errno is not ENOSYS.
74014 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74016         [BZ #14117]
74017         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74018         * sysdeps/x86/bits/string.h: This.
74019         * sysdeps/x86_64/bits/string.h: Removed.
74021         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74022         if not compiling for x86-64, but compiling for >= i486.
74024         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74025         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74027         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74028         New macro from Linux kernel 3.4.0.
74029         (FP_XSTATE_MAGIC2): Likewise.
74030         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74031         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74032         (struct _fpx_sw_bytes): New struct.
74033         (struct _xsave_hdr): Likewise.
74034         (struct _ymmh_state): Likewise.
74035         (struct _xstate): Likewise.
74037         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74038         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74039         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74040         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74041         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74042         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74044         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74045         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74046         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74047         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74048         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74049         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74051 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74053         [BZ #13743]
74054         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74055         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74056         (sysdep_headers): Include sys/platform/ppc.h.
74057         * sysdeps/powerpc/test-gettimebase.c: Test for
74058         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74059         * manual/Makefile (appendices): Include platform.texi.
74060         * manual/contrib.texi (Contributors): Update @node pointers.
74061         * manual/maint.texi (Maintenance): Likewise.
74062         (Platform): New node.
74063         * manual/platform.texi: New file.  Document the new features.
74065 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74066             Jakub Jelinek  <jakub@redhat.com>
74068         [BZ #14188]
74069         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74070         where __builtin_expect is unavailable.
74072 2012-06-03  David S. Miller  <davem@davemloft.net>
74074         * stdlib/longlong.h: Updated from GCC.
74076 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74078         [BZ #14042]
74079         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74080         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74081         __mcount_internal.
74082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74083         (GLIBC_2.16): Likewise.
74085 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74087         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74089 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74092         (default-abi): New variable.
74093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74094         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74095         variable.
74096         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74097         Likewise.
74098         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74099         Likewise.
74100         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74101         Likewise.
74103         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74104         definition.  Document in comment.
74106 2012-06-01  David S. Miller  <davem@davemloft.net>
74108         * stdlib/longlong.h: Updated from GCC.
74110 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74112         [BZ #14117]
74113         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74114         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74115         sys/debugreg.h sys/io.h here.
74116         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74117         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74118         sys/io.h.
74119         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74120         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74121         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74122         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74123         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74124         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74126         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74127         Define only if __x86_64__ is defined.
74129 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74131         [BZ #14048]
74132         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74133         Use int64_t for variable i.
74134         * math/libm-test.inc (fmod_test): Add more tests.
74136         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74137         z computation is not scheduled after fetestexcept.
74138         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74139         Use math_force_eval instead of asm to ensure calculation scheduled
74140         before exception test.
74141         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74142         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74144 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74147         computation is not scheduled after fetestexcept.
74149 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74151         [BZ #14117]
74152         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74153         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74155 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74157         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74158         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74160 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74162         [BZ #14117]
74163         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74164         <bits/wordsize.h>.
74165         (__WCHAR_MIN): Support __WORDSIZE == 64.
74166         (__WCHAR_MAX): Likewise.
74168         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74169         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74171         [BZ #14183]
74172         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74173         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74175         [BZ #14117]
74176         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74177         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74179         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74180         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74182         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74183         Defined to 1 if __x86_64__ isn't defined.
74184         (_STAT_VER_LINUX_OLD): New.
74185         (st_atime): Remove duplicate.
74186         (st_mtime): Likewise.
74187         (st_ctime): Likewise.
74189 2012-05-31  David S. Miller  <davem@davemloft.net>
74191         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74192         entries.
74194 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74196         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74197         gen-libm-test.pl.
74199         [BZ #14132]
74200         * elf/dl-reloc.c: Include <_itoa.h>.
74201         (_dl_reloc_bad_type): Remove use of INTUSE.
74202         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74203         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74204         * stdio-common/psiginfo.c (psiginfo): Likewise.
74205         * stdio-common/psignal.c (psignal): Likewise.
74206         * string/strsignal.c (strsignal): Likewise.
74207         * include/signal.h (_sys_siglist): Declare hidden proto.
74208         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74209         INTVARDEF with libc_hidden_data_def.
74210         * stdio-common/itoa-udigits.c: Likewise.
74211         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74212         (_itoa_lower_digits_internal): Remove declaration.
74213         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74214         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74215         (_sys_sigabbrev_internal): Remove aliases.
74216         (_sys_siglist): Define hidden alias.
74218 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74220         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74221         bits/sysctl.h.
74223 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74225         [BZ #14117]
74226         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74227         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74229         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74230         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74231         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74232         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74233         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74234         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74236         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74237         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74238         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74240         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74241         with __addr.
74242         (insw): Likewise.
74243         (insl): Likewise.
74244         (outsb): Likewise.
74245         (outsw): Likewise.
74246         (outsl): Likewise.
74248         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74249         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74250         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74252         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74253         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74254         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74255         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74256         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74257         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74259         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74260         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74262         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74263         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74265         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74266         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74267         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74269         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74270         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74271         to ...
74272         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74274         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74275         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74276         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74278         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74279         for x86-64.
74280         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74282 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74284         * math/math.h (M_El): Use two more decimal places.
74285         (M_LOG2El): Likewise.
74286         (M_LOG10El): Likewise.
74287         (M_LN2l): Likewise.
74288         (M_LN10l): Likewise.
74289         (M_PIl): Likewise.
74290         (M_PI_2l): Likewise.
74291         (M_PI_4l): Likewise.
74292         (M_1_PIl): Likewise.
74293         (M_2_PIl): Likewise.
74294         (M_2_SQRTPIl): Likewise.
74295         (M_SQRT2l): Likewise.
74296         (M_SQRT1_2l): Likewise.
74298 2012-05-31  David S. Miller  <davem@davemloft.net>
74300         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74301         values between float registers.
74302         * sysdeps/sparc/sparc64/memset.S: Likewise.
74303         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74305 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74307         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74308         -D_FORTIFY_SOURCE=1.
74309         (CPPFLAGS-tst-longjmp_chk.c): Define.
74310         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74311         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74312         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74313         CFLAGS-tst-wchar-h.c.
74315 2012-05-31  Marek Polacek  <polacek@redhat.com>
74317         [BZ #14132]
74318         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74319         __endmntent_internal): Remove declaration.
74320         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74321         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74322         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74324 2012-05-30  David S. Miller  <davem@davemloft.net>
74326         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74327         (___Q_simulate_exceptions): Use real FP ops rather than writing
74328         into the %fsr.
74329         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74330         Likewise.
74332 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74334         [BZ #14117]
74335         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74336         * sysdeps/x86/bits/xtitypes.h: This.
74338         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74339         * sysdeps/x86/bits/wordsize.h: This.
74341         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74342         * sysdeps/x86/bits/huge_vall.h: This.
74344         * sysdeps/i386/bits/select.h: Removed.
74345         * sysdeps/x86_64/bits/select.h: Renamed to ...
74346         * sysdeps/x86/bits/select.h: This.
74348         * sysdeps/i386/bits/setjmp.h: Removed.
74349         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74350         * sysdeps/x86/bits/setjmp.h: This.
74352         * sysdeps/i386/bits/mathdef.h: Removed.
74353         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74354         * sysdeps/x86/bits/mathdef.h: This.
74356 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74358         [BZ #14132]
74359         * include/sys/socket.h (__connect_internal)
74360         (__libc_sa_len_internal): Remove declaration.
74361         (__connect, __libc_sa_len): Declare hidden_proto.
74362         (SA_LEN): Remove use of INTUSE.
74363         * socket/connect.c: Add libc_hidden_def.
74364         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74365         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74366         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74367         alias.
74368         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74369         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74370         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74371         of adding _internal alias.
74373 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74375         [BZ #14117]
74376         * sysdeps/i386/bits/link.h: Removed.
74377         * sysdeps/i386/bits/linkmap.h: Likewise.
74378         * sysdeps/x86_64/bits/link.h: Renamed to ...
74379         * sysdeps/x86/bits/link.h: This.
74380         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74381         * sysdeps/x86/bits/linkmap.h: This.
74383         * sysdeps/i386/bits/endian.h: Removed.
74384         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74385         * sysdeps/x86/bits/endian.h: This.
74387         * sysdeps/i386/bits/byteswap.h: Removed.
74388         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74389         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74390         * sysdeps/x86/bits/byteswap.h: This.
74391         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74392         * sysdeps/x86/bits/byteswap-16.h: This.
74393         * sysdeps/i386/Implies: Add x86.
74394         * sysdeps/x86_64/Implies: Likewise.
74396 2012-05-30  David S. Miller  <davem@davemloft.net>
74398         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74399         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74400         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74401         (FP_TRAPPING_EXCEPTIONS): Define.
74402         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74403         (FP_TRAPPING_EXCEPTIONS): Define.
74404         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74405         subnormals only when inexact has been signalled or underflow
74406         exceptions are enabled.
74407         (_FP_PACK_CANONICAL): Likewise.
74409 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74411         [BZ #14183]
74412         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74413         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74415 2012-05-30  Richard Henderson  <rth@twiddle.net>
74417         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74418         with #ifndef NOT_IN_libc.
74420         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74421         marked to avoid plt entry.
74423 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74425         [BZ #14112]
74426         * Makeconfig (default-abi): New macro.
74427         (abi-includes): Likewise.
74428         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74429         $(abi-$(default-abi)-lib-soname) for soname if defined.
74430         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74431         abi-variants.
74432         * Makefile (installed-stubs): Likewise.
74433         * include/stubs-biarch.h: Removed.
74434         * scripts/lib-names.awk: Only handle one library at a time.
74435         * scripts/soversions.awk: Remove WORDSIZE support.
74436         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74437         entries.
74438         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74439         Removed.
74440         (syscall-list-default-condition): Likewise.
74441         (syscall-list-default-condition): Likewise.
74442         (syscall-list-includes): Likewise.
74443         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74444         syscall-list-* with abi-*.  Handle undefined abi-variants.
74445         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74446         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74447         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74448         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74449         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74450         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74451         Removed.
74452         (syscall-list-32-options): Likewise.
74453         (syscall-list-32-condition): Likewise.
74454         (syscall-list-64-options): Likewise.
74455         (syscall-list-64-condition): Likewise.
74456         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74457         macro.
74458         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74459         Renamed to ...
74460         (abi-*): This.
74461         (abi-64-ld-soname): New macro.
74462         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74463         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74464         Renamed to ...
74465         (abi-*): This.
74466         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74467         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74469 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74471         * sysdeps/unix/sysv/linux/kernel-features.h
74472         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74473         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74474         include <kernel-features.h>.
74475         [!__NR_ftruncate64]: Remove conditional code.
74476         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74477         [__NR_ftruncate64]: Make code unconditional.
74478         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74479         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74480         include <kernel-features.h>.
74481         [!__NR_ftruncate64]: Remove conditional code.
74482         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74483         [__NR_ftruncate64]: Make code unconditional.
74484         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74486         include <kernel-features.h>.
74487         [!__NR_ftruncate64]: Remove conditional code.
74488         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74489         [__NR_ftruncate64]: Make code unconditional.
74490         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74492         include <kernel-features.h>.
74493         [!__NR_ftruncate64]: Remove conditional code.
74494         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74495         [__NR_ftruncate64]: Make code unconditional.
74496         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74498         * configure.in (libc_cv_fpie): Weaken to a compile test using
74499         LIBC_TRY_CC_OPTION.
74500         * configure: Regenerated.
74502 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74508         Refreshed.
74509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74515         Refreshed.
74517 2012-05-27  David S. Miller  <davem@davemloft.net>
74519         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74520         (___Q_zero): New.
74521         (__Q_simulate_exceptions): Return void.  Change to simulate
74522         exceptions by writing into the %fsr.
74523         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74524         (__Qp_handle_exceptions): Likewise.
74525         (numbers): Delete.
74526         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74527         __Qp_handle_exceptions.
74528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74529         __Qp_handle_exceptions.
74530         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74531         as unused and give dummy FP_RND_NEAREST initializer.
74532         (FP_INHIBIT_RESULTS): Define.
74533         (___Q_simulate_exceptions): Update declaration.
74534         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74535         formatting.
74536         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74537         as unused and give dummy FP_RND_NEAREST initializer.
74538         (__Qp_handle_exceptions): Update declaration.
74539         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74540         formatting.
74542 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74544         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74545         the temporary FPU control word.
74546         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74547         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74548         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74549         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74550         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74551         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74552         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74553         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74554         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74555         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74556         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74558 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74560         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74561         fields.
74563 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74565         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74566         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74567         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74568         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74569         Likewise.
74570         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74571         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74572         Likewise.
74574 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74576         * po/h.po: Update from translation team.
74578 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74580         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74582         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74583         handling of denormals.
74584         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74585         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74586         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74587         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74588         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74589         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74590         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74591         Likewise.
74593 2012-05-26  Marek Polacek  <polacek@redhat.com>
74595         [BZ #14152]
74596         * math/libm-test.inc (fma_test): Don't always expect underflow
74597         exception.
74599 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74601         [BZ #12416]
74602         * elf/tst-execstack.c: Include stackinfo.h.
74603         (do_test): Adjust test case to ensure that pthread_getattr_np
74604         behaviour remains the same after marking stack executable.
74606 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74608         * sysdeps/unix/sysv/linux/kernel-features.h
74609         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74610         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74611         kernel-features.h.
74612         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74613         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74614         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74615         kernel-features.h.
74616         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74617         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74619 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74621         * configure.in: Define the default includes to being none.
74622         * configure: Regenerated.
74624 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74626         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74627         * sysdeps/x86_64/setjmp.S: Likewise.
74628         * sysdeps/i386/bsd-setjmp.S: Likewise.
74629         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74630         * sysdeps/i386/setjmp.S: Likewise.
74631         * sysdeps/i386/__longjmp.S: Likewise.
74632         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74633         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74635         * include/stap-probe.h: New file.
74636         * configure.in: Handle --enable-systemtap.
74637         * configure: Regenerated.
74638         * config.h.in (USE_STAP_PROBE): New #undef.
74639         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74640         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74641         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74643 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74645         [BZ #13717]
74646         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74647         to 2.4.0 where earlier.
74648         * sysdeps/unix/sysv/linux/configure: Regenerated.
74649         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74650         <kernel-features.h>.
74651         [__ASSUME_32BITUIDS]: Make code unconditional.
74652         [!__ASSUME_32BITUIDS]: Remove conditional code.
74653         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74654         <kernel-features.h>.
74655         [__ASSUME_32BITUIDS]: Make code unconditional.
74656         [!__ASSUME_32BITUIDS]: Remove conditional code.
74657         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74658         [__ASSUME_32BITUIDS]: Make code unconditional.
74659         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74660         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74661         <kernel-features.h>.
74662         [__ASSUME_32BITUIDS]: Make code unconditional.
74663         [!__ASSUME_32BITUIDS]: Remove conditional code.
74664         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
74665         <kernel-features.h>.
74666         [__ASSUME_32BITUIDS]: Make code unconditional.
74667         [!__ASSUME_32BITUIDS]: Remove conditional code.
74668         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
74669         <kernel-features.h>.
74670         [__ASSUME_32BITUIDS]: Make code unconditional.
74671         [!__ASSUME_32BITUIDS]: Remove conditional code.
74672         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
74673         <kernel-features.h>.
74674         [__ASSUME_32BITUIDS]: Make code unconditional.
74675         [!__ASSUME_32BITUIDS]: Remove conditional code.
74676         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
74677         <kernel-features.h>.
74678         [__ASSUME_32BITUIDS]: Make code unconditional.
74679         [!__ASSUME_32BITUIDS]: Remove conditional code.
74680         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
74681         <kernel-features.h>.
74682         [__ASSUME_32BITUIDS]: Make code unconditional.
74683         [!__ASSUME_32BITUIDS]: Remove conditional code.
74684         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74685         <kernel-features.h>.
74686         [__ASSUME_32BITUIDS]: Make code unconditional.
74687         [!__ASSUME_32BITUIDS]: Remove conditional code.
74688         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
74689         <kernel-features.h>.
74690         [__ASSUME_32BITUIDS]: Make code unconditional.
74691         [!__ASSUME_32BITUIDS]: Remove conditional code.
74692         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
74693         <kernel-features.h>.
74694         [__ASSUME_32BITUIDS]: Make code unconditional.
74695         [!__ASSUME_32BITUIDS]: Remove conditional code.
74696         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
74697         <kernel-features.h>.
74698         [__ASSUME_32BITUIDS]: Make code unconditional.
74699         [!__ASSUME_32BITUIDS]: Remove conditional code.
74700         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
74701         <kernel-features.h>.
74702         [__NR_setresgid] (__setresgid): Do not declare.
74703         [__ASSUME_32BITUIDS]: Make code unconditional.
74704         [!__ASSUME_32BITUIDS]: Remove conditional code.
74705         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74706         <kernel-features.h>.
74707         [__NR_setresuid] (__setresuid): Do not declare.
74708         [__ASSUME_32BITUIDS]: Make code unconditional.
74709         [!__ASSUME_32BITUIDS]: Remove conditional code.
74710         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
74711         <kernel-features.h>.
74712         [__ASSUME_32BITUIDS]: Make code unconditional.
74713         [!__ASSUME_32BITUIDS]: Remove conditional code.
74714         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74715         <kernel-features.h>.
74716         [__ASSUME_32BITUIDS]: Make code unconditional.
74717         [!__ASSUME_32BITUIDS]: Remove conditional code.
74718         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74719         <kernel-features.h>.
74720         [__ASSUME_32BITUIDS]: Make code unconditional.
74721         [!__ASSUME_32BITUIDS]: Remove conditional code.
74722         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74723         <kernel-features.h>.
74724         [__ASSUME_32BITUIDS]: Make code unconditional.
74725         [!__ASSUME_32BITUIDS]: Remove conditional code.
74726         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
74727         <kernel-features.h>.
74728         [__ASSUME_32BITUIDS]: Make code unconditional.
74729         [!__ASSUME_32BITUIDS]: Remove conditional code.
74730         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
74731         <kernel-features.h>.
74732         [__ASSUME_32BITUIDS]: Make code unconditional.
74733         [!__ASSUME_32BITUIDS]: Remove conditional code.
74734         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74735         <kernel-features.h>.
74736         [__ASSUME_32BITUIDS]: Make code unconditional.
74737         [!__ASSUME_32BITUIDS]: Remove conditional code.
74738         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74739         <kernel-features.h>.
74740         [__ASSUME_32BITUIDS]: Make code unconditional.
74741         [!__ASSUME_32BITUIDS]: Remove conditional code.
74742         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74743         <kernel-features.h>.
74744         [__ASSUME_32BITUIDS]: Make code unconditional.
74745         [!__ASSUME_32BITUIDS]: Remove conditional code.
74746         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74747         <kernel-features.h>.
74748         [__ASSUME_32BITUIDS]: Make code unconditional.
74749         [!__ASSUME_32BITUIDS]: Remove conditional code.
74750         * sysdeps/unix/sysv/linux/kernel-features.h
74751         (__ASSUME_SETRESUID_SYSCALL): Remove.
74752         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74753         (__ASSUME_32BITUIDS): Likewise.
74754         (__ASSUME_LDT_WORKS): Likewise.
74755         (__ASSUME_O_DIRECTORY): Likewise.
74756         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74757         architecture but not kernel version.
74758         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74759         (__ASSUME_MMAP2_SYSCALL): Likewise.
74760         (__ASSUME_STAT64_SYSCALL): Likewise.
74761         (__ASSUME_IPC64): Likewise.
74762         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74763         <kernel-features.h>.
74764         [__ASSUME_32BITUIDS]: Make code unconditional.
74765         [!__ASSUME_32BITUIDS]: Remove conditional code.
74766         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74767         <kernel-features.h>.
74768         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74769         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74770         132096]: Remove conditional code.
74771         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74772         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74773         <kernel-features.h>.
74774         [__ASSUME_32BITUIDS]: Make code unconditional.
74775         [!__ASSUME_32BITUIDS]: Remove conditional code.
74776         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74777         <kernel-features.h>.
74778         [__ASSUME_32BITUIDS]: Make code unconditional.
74779         [!__ASSUME_32BITUIDS]: Remove conditional code.
74780         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74781         <kernel-features.h>.
74782         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74783         unconditional.
74784         (__setresgid): Do not declare.
74785         [__ASSUME_32BITUIDS]: Make code unconditional.
74786         [!__ASSUME_32BITUIDS]: Remove conditional code.
74787         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74788         <kernel-features.h>.
74789         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74790         unconditional.
74791         (__setresuid): Do not declare.
74792         [__ASSUME_32BITUIDS]: Make code unconditional.
74793         [!__ASSUME_32BITUIDS]: Remove conditional code.
74794         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74795         <kernel-features.h>.
74796         [__ASSUME_32BITUIDS]: Make code unconditional.
74797         [!__ASSUME_32BITUIDS]: Remove conditional code.
74798         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74799         <kernel-features.h>.
74800         [__ASSUME_32BITUIDS]: Make code unconditional.
74801         [!__ASSUME_32BITUIDS]: Remove conditional code.
74803 2012-05-25  Richard Henderson  <rth@twiddle.net>
74805         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74806         dl_hwcap to ifunc resolver.
74807         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74808         elf_ifunc_invoke.
74809         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74810         dl_hwcap to ifunc resolver.
74811         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74813 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74815         [BZ #14153]
74816         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74817         for |x| <= 2**-26, not 2**-57.
74818         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74819         exception.
74821 2012-05-24  Jeff Law  <law@redhat.com>
74823         * stdio-common/Makefile (tests): Add bug25.
74824         * stdio-common/bug25.c: New test.
74826 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74828         [BZ #13576]
74829         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74830         multiple of MALLOC_ALIGNMENT in size.
74831         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74833 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74835         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74836         Require >= 256.
74837         (FILENAME_MAX): Use macro-int-constant.
74838         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74839         (_IOFBF): Use macro-int-constant.
74840         (_IOLBF): Likewise.
74841         (_IONBF): Likewise.
74842         (SEEK_CUR): Likewise.
74843         (SEEK_END): Likewise.
74844         (SEEK_SET): Likewise.
74845         (TMP_MAX): Likewise.
74846         (EOF): Use macro-int-constant.  Require < 0.
74847         (NULL): Use macro-constant.  Require == 0.
74848         (stdin): Require type to be FILE *.
74849         (stdout): Likewise.
74850         (stderr): Likewise.
74851         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74852         macro-int-constant.
74853         (EXIT_SUCCESS): Likewise.
74854         (NULL): Use macro-constant.  Require == 0.
74855         (RAND_MAX): Use macro-int-constant.
74856         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74857         [C99-based standards] (strtof): Require function.
74858         [C99-based standards] (strtold): Likewise.
74859         [C99-based standards] (strtoll): Likewise.
74860         [C99-based standards] (strtoull): Likewise.
74861         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74862         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74863         [ISO || ISO99 || ISO11] (math.h): Likewise.
74864         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74865         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74866         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74868 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74870         [BZ #14132]
74871         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74872         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74873         * intl/dgettext.c (DCGETTEXT): Likewise.
74874         * intl/gettext.c (DCGETTEXT): Likewise.
74875         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74876         * posix/regex_internal.h (gettext): Likewise.
74877         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74878         Remove declaration.
74879         * include/argz.h (__argz_count_internal)
74880         (__argz_stringify_internal): Remove declaration.
74881         (__argz_count, __argz_stringify): Declare hidden proto.
74882         * intl/dcgettext.c: Remove use of INTDEF.
74883         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74884         * string/argz-stringify.c: Likewise.
74885         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74886         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74887         Declare hidden proto.
74888         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74889         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74890         Declare hidden proto.
74891         * include/stdio.h (__asprintf_internal): Don't declare.
74892         (__asprintf): Don't define as macro.  Declare hidden proto.
74893         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74894         (__fsetlocking): Declare hidden proto.
74895         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74896         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74897         hidden proto.
74898         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74899         (_IO_setlinebuf): Remove use of INTUSE.
74900         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74901         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74902         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74903         Remove declaration.
74904         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74905         (_IO_do_flush): Remove use of INTUSE.
74906         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74907         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74908         (_IO_adjust_column, _IO_least_wmarker)
74909         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74910         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74911         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74912         (_IO_default_doallocate, _IO_wdefault_doallocate)
74913         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74914         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74915         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74916         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74917         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74918         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74919         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74920         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74921         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74922         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74923         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74924         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74925         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74926         proto.
74927         (_IO_flush_all_internal, _IO_adjust_column_internal)
74928         (_IO_default_uflow_internal, _IO_default_finish_internal)
74929         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74930         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74931         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74932         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74933         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74934         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74935         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74936         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74937         (_IO_file_close_internal, _IO_file_close_it_internal)
74938         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74939         (_IO_file_init_internal, _IO_file_attach_internal)
74940         (_IO_file_fopen_internal, _IO_file_read_internal)
74941         (_IO_file_sync_internal, _IO_file_seek_internal)
74942         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74943         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74944         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74945         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74946         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74947         (_IO_list_all_internal, _IO_link_in_internal)
74948         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74949         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74950         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74951         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74952         (_IO_do_write_internal, _IO_padn_internal)
74953         (_IO_getline_info_internal, _IO_getline_internal)
74954         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74955         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74956         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74957         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74958         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74959         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74960         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74961         with libc_hidden_ver, remove use of INTUSE.
74962         * libio/genops.c: Likewise.
74963         * libio/freopen.c: Likewise.
74964         * libio/freopen64.c: Likewise.
74965         * libio/iofclose.c: Likewise.
74966         * libio/iofdopen.c: Likewise.
74967         * libio/iofflush.c: Likewise.
74968         * libio/iofflush_u.c: Likewise.
74969         * libio/iofgets.c: Likewise.
74970         * libio/iofgets_u.c: Likewise.
74971         * libio/iofopen.c: Likewise.
74972         * libio/iofopncook.c: Likewise.
74973         * libio/iofread.c: Likewise.
74974         * libio/iofread_u.c: Likewise.
74975         * libio/ioftell.c: Likewise.
74976         * libio/iofwrite.c: Likewise.
74977         * libio/iogetline.c: Likewise.
74978         * libio/iogets.c: Likewise.
74979         * libio/iogetwline.c: Likewise.
74980         * libio/iopadn.c: Likewise.
74981         * libio/iopopen.c: Likewise.
74982         * libio/ioseekoff.c: Likewise.
74983         * libio/ioseekpos.c: Likewise.
74984         * libio/iosetbuffer.c: Likewise.
74985         * libio/iosetvbuf.c: Likewise.
74986         * libio/ioungetc.c: Likewise.
74987         * libio/ioungetwc.c: Likewise.
74988         * libio/iovdprintf.c: Likewise.
74989         * libio/iovsprintf.c: Likewise.
74990         * libio/iovsscanf.c: Likewise.
74991         * libio/memstream.c: Likewise.
74992         * libio/obprintf.c: Likewise.
74993         * libio/oldfileops.c: Likewise.
74994         * libio/oldiofclose.c: Likewise.
74995         * libio/oldiofdopen.c: Likewise.
74996         * libio/oldiofopen.c: Likewise.
74997         * libio/oldiopopen.c: Likewise.
74998         * libio/oldstdfiles.c: Likewise.
74999         * libio/putc.c: Likewise.
75000         * libio/setbuf.c: Likewise.
75001         * libio/setlinebuf.c: Likewise.
75002         * libio/stdfiles.c: Likewise.
75003         * libio/strops.c: Likewise.
75004         * libio/vasprintf.c: Likewise.
75005         * libio/vscanf.c: Likewise.
75006         * libio/vsnprintf.c: Likewise.
75007         * libio/vswprintf.c: Likewise.
75008         * libio/wfiledoalloc.c: Likewise.
75009         * libio/wfileops.c: Likewise.
75010         * libio/wgenops.c: Likewise.
75011         * libio/wmemstream.c: Likewise.
75012         * libio/wstrops.c: Likewise.
75013         * libio/__fpurge.c: Likewise.
75014         * libio/__fsetlocking.c: Likewise.
75015         * assert/assert.c: Likewise.
75016         * debug/fgets_chk.c: Likewise.
75017         * debug/fgets_u_chk.c: Likewise.
75018         * debug/fread_chk.c: Likewise.
75019         * debug/fread_u_chk.c: Likewise.
75020         * debug/gets_chk.c: Likewise.
75021         * debug/obprintf_chk.c: Likewise.
75022         * debug/vasprintf_chk.c: Likewise.
75023         * debug/vdprintf_chk.c: Likewise.
75024         * debug/vsnprintf_chk.c: Likewise.
75025         * debug/vsprintf_chk.c: Likewise.
75026         * malloc/mtrace.c: Likewise.
75027         * misc/error.c: Likewise.
75028         * misc/syslog.c: Likewise.
75029         * stdio-common/asprintf.c: Likewise.
75030         * stdio-common/fxprintf.c: Likewise.
75031         * stdio-common/getw.c: Likewise.
75032         * stdio-common/isoc99_fscanf.c: Likewise.
75033         * stdio-common/isoc99_scanf.c: Likewise.
75034         * stdio-common/isoc99_vfscanf.c: Likewise.
75035         * stdio-common/isoc99_vscanf.c: Likewise.
75036         * stdio-common/isoc99_vsscanf.c: Likewise.
75037         * stdio-common/printf-prs.c: Likewise.
75038         * stdio-common/printf_fp.c: Likewise.
75039         * stdio-common/printf_fphex.c: Likewise.
75040         * stdio-common/printf_size.c: Likewise.
75041         * stdio-common/putw.c: Likewise.
75042         * stdio-common/scanf.c: Likewise.
75043         * stdio-common/sprintf.c: Likewise.
75044         * stdio-common/tmpfile.c: Likewise.
75045         * stdio-common/vfprintf.c: Likewise.
75046         * stdio-common/vfscanf.c: Likewise.
75047         * stdlib/strfmon_l.c: Likewise.
75048         * sunrpc/openchild.c: Likewise.
75049         * sunrpc/xdr_stdio.c: Likewise.
75050         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75051         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75053 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75055         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75057         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75058         in the third column, to generate for the shared library an IFUNC
75059         that uses _dl_vdso_vsym.
75060         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75061         * Makeconfig (object-suffixes-noshared): New variable.
75063         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75064         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75065         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75066         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75068         [BZ #14132]
75069         * include/sys/time.h (__gettimeofday): Remove macro.
75070         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75071         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75072         Remove INTDEF.
75073         (__gettimeofday): Add libc_hidden_def.
75074         (gettimeofday): Add libc_hidden_weak.
75075         * sysdeps/mach/gettimeofday.c: Likewise.
75076         * sysdeps/posix/gettimeofday.c: Likewise.
75077         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75078         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75079         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75080         (__gettimeofday_internal): Remove strong_alias.
75081         (__gettimeofday): Add libc_hidden_def.
75082         (gettimeofday): Add libc_hidden_weak.
75083         * sysdeps/unix/syscalls.list (gettimeofday):
75084         Remove __gettimeofday_internal alias.
75086 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75087             H.J. Lu  <hongjiu.lu@intel.com>
75089         [BZ #12495]
75090         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75091         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75092         (largebin_index_32_big): New.
75093         (largebin_index): Use it for 16-byte alignment.
75094         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75095         correction with front_misalign.
75097 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75099         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75100         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75101         Likewise.
75102         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75103         Likewise.
75104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75105         Likewise.
75106         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75107         Likewise.
75108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75109         Likewise.
75110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75111         Likewise.
75112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75113         Likewise.
75114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75115         Likewise.
75116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75117         Likewise.
75118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75119         Likewise.
75120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75121         Likewise.
75122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75123         Likewise.
75125         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75126         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75128 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75130         [BZ #10846]
75131         [BZ #14036]
75132         * math/libm-test.inc (exp_test): Add test from bug 14036.
75133         (pow_test): Add test from bug 10846.
75135         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75136         and other flags.
75137         (special_function): Do not include flags in test name.
75138         (parse_args): Likewise.
75139         * sysdeps/i386/fpu/libm-test-ulps: Update.
75140         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75141         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75142         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75145         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75146         exceptions.
75147         * math/libm-test.inc ("Philosophy"): Update comment about
75148         exception testing.
75149         (UNDERFLOW_EXCEPTION): New macro.
75150         (UNDERFLOW_EXCEPTION_OK): Likewise.
75151         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75152         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75153         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75154         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75155         (INVALID_EXCEPTION_OK): Update value.
75156         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75157         (OVERFLOW_EXCEPTION_OK): Likewise.
75158         (IGNORE_ZERO_INF_SIGN): Likewise.
75159         (test_exceptions): Handle underflow exceptions.
75160         (acos_test): Update for underflow exception expectations.
75161         (cexp_test): Likewise.
75162         (clog_test): Likewise.
75163         (clog10_test): Likewise.
75164         (csqrt_test): Likewise.
75165         (ctan_test): Likewise.
75166         (ctanh_test): Likewise.
75167         (exp_test): Likewise.
75168         (exp10_test): Likewise.
75169         (exp2_test): Likewise.
75170         (expm1_test): Likewise.
75171         (fma_test): Likewise.
75172         (j0_test): Likewise.
75173         (jn_test): Likewise.
75174         (nexttoward_test): Likewise.
75175         (pow_test): Likewise.
75176         (scalbn_test): Likewise.
75177         (scalbln_test): Likewise.
75178         (tan_test): Likewise.
75179         (y1_test): Likewise.
75180         * sysdeps/i386/fpu/libm-test-ulps: Update.
75181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75183 2012-05-23  David S. Miller  <davem@davemloft.net>
75185         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75186         (__libc_sigaction): Remove unused local variables.
75188 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75190         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75192 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75194         mktime: avoid signed integer overflow
75195         * time/mktime.c (__mktime_internal): Do not mishandle the case
75196         where diff == INT_MIN.
75198         mktime: simplify computation of average
75199         * time/mktime.c (ranged_convert): Use new time_t_avg function
75200         instead of rolling our own (probably-slower) code.
75202         mktime: do not assume signed right shift propagates sign bit
75203         * time/mktime.c (isdst_differ): New static function.
75204         (__mktime_internal): No need to normalize tm_isdst now.
75205         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75206         tm_isdst values.
75208         mktime: merge another wrapv change from gnulib
75209         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75210         from some compilers.
75212         mktime: remove incorrect attempt at unusual arithmetics
75213         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75214         The code didn't really work on such machines anyway.
75215         (TYPE_MINIMUM): Assume two's complement.
75216         (twos_complement_arithmetic): Verify that long_int and time_t
75217         are two's complement (or unsigned, in the latter case).
75219         mktime: check signed shifts on long_int and time_t, too
75220         * time/mktime.c (SHR): Check that shifts work as desired
75221         on the types long_int and time_t too, as SHR is used on
75222         such types.
75224         mktime: do not assume 'long' is wide enough
75225         * time/mktime.c (verify): Move decl up.
75226         (long_int): New type.
75227         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75228         to remove assumption in the code that 'long' is wide enough to
75229         store year values.  This assumption is not true on x32 and on
75230         some non-glibc platforms.
75232         mktime: merge wrapv change from gnulib
75233         * time/mktime.c (WRAPV): New macro.
75234         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75235         (guess_time_tm, __mktime_internal): Do not assume that signed
75236         integer overflow wraps around; modern compilers generate code
75237         where this assumption is no longer valid.
75239 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75241         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75242         Replace "jmp L(pseudo_end)" with "ret".
75243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75244         Likewise.
75246 2012-05-23  Andreas Jaeger  <aj@suse.de>
75248         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75249         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75251 2012-05-23  Andreas Jaeger  <aj@suse.de>
75252             Maximilian Attems  <max@stro.at>
75254         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75255         New macros.
75257 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75259         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75260         code so that pseudo_end is just ret and the stack pointer is
75261         correct also for static library in error case.
75263 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75265         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75266         move to syscalls.list.
75267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75272         * manual/install.texi (Running make install): Do not mention Linux
75273         kernel version for which pt_chown is not needed.
75274         (Linux): Do not mention problems with nscd with 2.0 kernels.
75275         * INSTALL: Regenerated.
75277 2012-05-23  Andreas Jaeger  <aj@suse.de>
75279         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75280         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75281         macro.
75282         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75283         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75284         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75285         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75286         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75287         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75288         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75289         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75290         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75291         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75292         * sysdeps/unix/sysv/linux/bits/in.h
75293         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75295 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75297         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75298         (PREPARE_VERSION): Just use assert instead, it will be elided
75299         under [NDEBUG] anyway.
75301 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75303         * sysdeps/unix/sysv/linux/Makefile: Include
75304         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75305         (sysdep_routines): Remove sysctl.
75306         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75307         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75308         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75309         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75310         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75312 2012-05-22  Andreas Jaeger  <aj@suse.de>
75314         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75315         that pseudo_end is just ret and the stack pointer is correct also
75316         for static library in error case.
75318 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75320         [BZ #14122]
75321         * nss/nsswitch.c (defconfig_entries): New variable.
75322         (__nss_database_lookup): Don't leak defconfig entries.
75323         (nss_parse_service_list): Don't leak on error paths.
75324         (free_database_entries): New function.
75325         (free_defconfig): New function.
75326         (free_mem): Move common code to free_database_entries.
75328 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75330         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75331         Add arch_prctl.
75332         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75334         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75335         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75336         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75337         New macro.
75338         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75339         (INTERNAL_SYSCALL_TYPES): Likewise.
75340         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75341         (LOAD_REGS_TYPES_[1-6]): Likewise.
75342         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75343         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75345 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75347         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75348         copysignl for GLIBC_2_0.
75349         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75350         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75351         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75352         logbl for GLIBC_2_0.
75353         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75354         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75356 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75358         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75359         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75361         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75362         Use "neg %eax".
75364         * time/mktime.c: Update copyright years.
75366 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75368         mktime: merge comment-quoting-style change from gnulib
75369         * time/mktime.c: Quote 'like this' in comments.
75370         The GNU coding standards suggest that we no longer quote `like this',
75371         as "`" and "'" are typically rendered asymmetrically nowadays.
75372         The typical gnulib style is to quote 'like this' when quoting
75373         code, and "like this" when quoting English.
75375         * time/mktime.c (compile-command): Add "-I.".
75377         mktime: merge mktime-internal.h change from gnulib
75378         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75380         mktime: merge time_r change from gnulib
75381         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75383         mktime: merge DEBUG change from gnulib
75384         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75385         case system <time.h> has a #define.
75387         mktime: merge <sys/types.h> change from gnulib
75388         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75389         since <time.t> is now guaranteed to define time_t.
75391         mktime: merge HAVE_CONFIG_H change from gnulib
75392         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75394 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75397         Use "neg %eax".
75399         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75400         __rlim_t cast.
75401         (struct rusage): Use anonymous union to pad each field to
75402         __syscall_slong_t.
75404 2012-05-21  David S. Miller  <davem@davemloft.net>
75406         * Makefules (o-iterator): Remove .s cases.
75407         (compile-command.s): Delete.
75408         (COMPILE.s): Delete.
75409         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75411 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75413         * configure.in (libc_cv_predef_stack_protector): Only consider
75414         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75415         * configure: Regenerated.
75417 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75420         New macro.  Use R*LP on int and pointer.
75421         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75422         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75423         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75424         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75426         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75427         [__WORDSIZE_TIME64_COMPAT32] instead of
75428         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75429         (struct utmp): Likewise.
75430         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75431         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75432         Renamed to ...
75433         (__WORDSIZE_TIME64_COMPAT32): This.
75434         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75435         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75436         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75437         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75438         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75439         (__WORDSIZE_TIME64_COMPAT32): New macro.
75441 2012-05-21  Andreas Jaeger  <aj@suse.de>
75443         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75444         only if [SHARED]. Add prototype for __wcschr_ia32.
75446 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75448         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75449         of %rbp unmolested in the jmp_buf while mangling the low bits.
75450         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75451         unmolested high bits of %rbp while demangling the low bits.
75452         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75454 2012-05-21  Andreas Jaeger  <aj@suse.de>
75456         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75457         * sunrpc/svc_simple.c: Use it for registerrpc.
75458         * sunrpc/xcrypt.c: Use it for passwd2des.
75460         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75462 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75464         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75465         Don't define if [__SYSCALL_WORDSIZE != 32].
75466         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75467         New macro.
75469 2012-05-21  Bruno Haible  <bruno@clisp.org>
75470             Andreas Jaeger  <aj@suse.de>
75472         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75473         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75474         inptr and inend for must_buffer_ch.
75475         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75476         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75477         * stdio-common/Makefile (tests): Remove bug15.
75478         (bug15-ENV): Remove macro.
75479         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75480         anymore.
75482 2012-05-19  Andreas Jaeger  <aj@suse.de>
75483             Roland McGrath  <roland@hack.frob.com>
75485         * manual/contrib.texi: Completely rewritten. It contains now an
75486         alphabetical list of contributors and their contributions.
75488 2012-05-21  Richard Henderson  <rth@twiddle.net>
75490         * misc/getauxval.c (__getauxval): Use unsigned long int.
75491         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75492         (getauxval): Use unsigned long int.
75494 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75496         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75498 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75500         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75501         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75502         __alignof__ (long double).
75504 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75508 2012-05-20  Richard Henderson  <rth@twiddle.net>
75510         * misc/getauxval.c: New file.
75511         * misc/sys/auxv.h: New file.
75512         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75513         (routines): Add getauxval.
75514         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75515         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75516         * elf/dl-sysdep.c (_dl_auxv): Remove.
75517         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75518         * elf/dl-support.c (_dl_auxv): New variable.
75519         (_dl_aux_init): Initialize it.
75520         * manual/startup.texi (Auxiliary Vector): New node.
75521         * sysdeps/generic/bits/hwcap.h: New file.
75522         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75523         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75524         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75525         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75526         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75527         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75529         Update.
75530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75533         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75539 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75543 2012-05-19  David S. Miller  <davem@davemloft.net>
75545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75547 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75549         [BZ #14123]
75550         * math/s_ccosh.c: Include <float.h>
75551         (__ccosh): Avoid internal overflow calculating sinh and cosh
75552         values before multiplying by sin and cos values.
75553         * math/s_ccoshf.c: Likewise.
75554         * math/s_ccoshl.c: Likewise.
75555         * math/s_csin.c: Likewise.
75556         * math/s_csinf.c: Likewise.
75557         * math/s_csinl.c: Likewise.
75558         * math/s_csinh.c: Likewise.
75559         * math/s_csinhf.c: Likewise.
75560         * math/s_csinhl.c: Likewise.
75561         * math/libm-test.inc (ccos_test): Add more tests.
75562         (ccosh_test): Likewise.
75563         (csin_test): Likewise.
75564         (csinh_test): Likewise.
75565         * sysdeps/i386/fpu/libm-test-ulps: Update.
75566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75568 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75570         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75571         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75573         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75575 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75577         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75578         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75579         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75580         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75581         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75582         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75583         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75584         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75585         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75586         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75587         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75588         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75589         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75590         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75591         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75592         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75593         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75594         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75595         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75596         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75597         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75598         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75599         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75600         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75601         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75602         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75603         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75604         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75605         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75606         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75607         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75609 2012-05-18  Andreas Jaeger  <aj@suse.de>
75611         * csu/.gitignore: Delete.
75613 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75615         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75616         (timex): Use __syscall_slong_t.
75618 2012-05-18  Andreas Jaeger  <aj@suse.de>
75619             Carlos O'Donell  <carlos_odonell@mentor.com>
75621         * manual/install.texi (Configuring and compiling): Update
75622         description about files modified in the source directory.
75623         * INSTALL: Regenerated.
75625 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75627         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75628         value.  Use "or" to set return value to -1.
75629         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75630         negate return value.
75632 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75634         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75635         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75636         failure if the compiler has Graphite support disabled.
75637         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75638         Likewise.
75639         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75640         (CFLAGS-memmove.c): Likewise.
75641         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75642         Likewise.
75644 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75646         * sysdeps/x86_64/x32/_itoa.h: New file.
75648         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75649         getdents system call only if kernel and user dirents have the
75650         same d_ino and d_off.
75652         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75653         LLONG_MAX != LONG_MAX.
75654         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75655         (_fitoa_word): Likewise.
75657         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75658         years.
75659         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75660         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75661         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75663         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75664         include <bits/wordsize.h>.  Check __x86_64__ instead of
75665         __WORDSIZE.
75666         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75667         if __x86_64__ is defined.  Use anonymous union on fpstate.
75669         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75670         anonymous union.
75672 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75674         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75675         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75676         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75677         Refer to _rtld_local_ro instead of _rtld_global_ro.
75678         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75679         Likewise.
75680         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75681         Likewise.
75682         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75683         Likewise.
75684         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75685         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75686         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75688         [BZ #10882]
75689         * sysdeps/powerpc/powerpc32/dl-machine.c
75690         (__elf_machine_runtime_setup) [PROF]: Don't reference
75691         _dl_prof_resolve.
75693 2012-05-18  Andreas Jaeger  <aj@suse.de>
75695         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75696         function only available for GCCs before 3.4 since GCC 3.4
75697         introduced a builtin.
75698         (lrint): Likewise.
75699         (llrintf): Likewise.
75700         (llrint): Likewise.
75701         (fmaxf): Likewise.
75702         (fmax): Likewise.
75703         (fminf): Likewise.
75704         (fmin): Likewise.
75705         (rint): Likewise.
75706         (rintf): Likewise.
75707         (nearbyint): Likewise.
75708         (nearbyintf): Likewise.
75709         (ceil): Likewise.
75710         (ceilf): Likewise.
75711         (floor): Likewise.
75712         (floorf): Likewise.
75714 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75716         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75717         on both fields and cast pointer to __syscall_ulong_t.
75719         * bits/types.h (__fsword_t): New type.
75720         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75721         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75722         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75723         (__FSWORD_T_TYPE): Likewise.
75724         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75725         (__FSWORD_T_TYPE): Likewise.
75726         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75727         (__FSWORD_T_TYPE): Likewise.
75728         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75729         (__FSWORD_T_TYPE): Likewise.
75730         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75731         __SWORD_TYPE with __fsword_t.
75732         (statfs64): Likewise.
75734 2012-05-17  David S. Miller  <davem@davemloft.net>
75736         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75738 2012-05-17  Andreas Jaeger  <aj@suse.de>
75740         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75741         warning.
75743 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75745         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75747 2012-05-17  Andreas Jaeger  <aj@suse.de>
75749         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75750         when it is used.
75752 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75754         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75756 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75758         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75759         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75761 2012-05-17  Andreas Jaeger  <aj@suse.de>
75762             Carlos O'Donell  <carlos_odonell@mentor.com>
75764         [BZ #14059]
75765         * sysdeps/x86_64/multiarch/init-arch.h
75766         (bit_YMM_Usable): Rename to...
75767         (bit_AVX_Usable): ... this.
75768         (bit_FMA4_Usable): New macro.
75769         (bit_XMM_state): New macro.
75770         (bit_YMM_state): New macro.
75771         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75772         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75773         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75774         (CPUID_OSXSAVE): New macro.
75775         (CPUID_AVX): New macro.
75776         (CPUID_FMA4): New macro.
75777         (index_YMM_Usable): Rename to...
75778         (index_AVX_Usable): ... this.
75779         (HAS_AVX): Use HAS_ARCH_FEATURE.
75780         (HAS_FMA4): Likewise.
75781         (HAS_YMM_USABLE): Remove.
75782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75783         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75784         are present.
75785         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75786         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75787         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75788         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75789         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75791 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75793         * math/libm-test.c: Support platforms without multiple rounding modes.
75794         * math/bug-nextafter.c: Support platforms without FP exceptions.
75795         * math/bug-nexttoward.c: Likewise.
75796         * math/test-fenv.c: Likewise.
75797         * math/test-misc.c: Likewise.
75798         * stdlib/bug-getcontext.c: Likewise.
75800 2012-05-17  Andreas Jaeger  <aj@suse.de>
75802         * manual/examples/search.c (critter_cmp): Change signature to
75803         avoid warnings.
75804         * manual/string.texi (Collation Functions): Likewise.
75806 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75808         * bits/types.h: Fold copyright years.
75809         * bits/typesizes.h: Likewise.
75810         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75811         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75812         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75813         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75814         * time/time.h: Likewise.
75816 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75818         [BZ #208]
75819         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75820         in instead of returning them.  Return void.
75821         (__libc_mallinfo): Accumulate over all arenas.
75822         (__malloc_stats): Adjust for change in int_mallinfo interface.
75824 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75826         [BZ #10375]
75827         * configure.in (NM): Add AC_CHECK_TOOL for it.
75828         (libc_extra_cflags): New substituted variable.
75829         Check for -fstack-protector being used implicitly.
75830         * configure: Regenerated.
75831         * config.make.in (config-extra-cflags): New variable,
75832         gets @libc_extra_cflags@.
75833         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75835         [BZ #10375]
75836         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75837         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75838         * configure: Regenerated.
75839         * config.make.in (CPPUNDEFS): New substituted variable.
75840         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75841         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75842         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75844 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75846         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75847         (mq_attr): Use __syscall_slong_t.
75849 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75851         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75852         Check __x86_64__ instead of __WORDSIZE.
75853         (_STAT_VER_LINUX): Likewise.
75854         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75855         __syscall_ulong_t and __syscall_slong_t.
75856         (stat64): Likewise.
75858 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75860         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75862 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75864         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75866 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75868         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75869         __syscall_ulong_t.
75871         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75872         include <bits/wordsize.h>.  Check __x86_64__ instead of
75873         __WORDSIZE.
75874         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75875         defined.
75876         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75878         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75879         include <bits/wordsize.h>.  Check __x86_64__ instead of
75880         __WORDSIZE.
75881         (user_regs_struct): Use "__extension__ unsigned long long"
75882         instead of "unsigned long" if __x86_64__ is defined.
75883         (user): Likewise.  Pad after pointer field if __ILP32__ is
75884         defined.
75886 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75888         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75889         versions 5 to 9.
75890         * configure: Regenerated.
75891         * manual/install.texi (texinfo): Increase version requirement to
75892         4.5 or later.
75893         * INSTALL: Regenerated.
75895         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75897 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75899         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75901         * sysdeps/x86_64/x32/ffs.c: New file.
75903         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75904         __syscall_ulong_t.
75905         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75906         defined.  Use __syscall_ulong_t.
75907         (shminfo): Use __syscall_ulong_t.
75908         (shm_info): Likewise.
75910         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75911         __syscall_ulong_t.
75913         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75914         <bits/wordsize.h>.
75915         (msgqnum_t): Use __syscall_ulong_t.
75916         (msglen_t): Likewise.
75917         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75918         __syscall_ulong_t.
75920         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75921         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75923         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75925         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75926         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75928         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75929         __syscall_slong_t.
75931         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75932         include <bits/wordsize.h>.  Check __x86_64__ instead of
75933         __WORDSIZE.
75935         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75936         "unsigned long long int" if __x86_64__ is defined.
75937         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75939         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75940         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75941         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75943         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75944         <stdint.h>.
75945         (GET_PC): Cast to uintptr_t first.
75946         (GET_FRAME): Likewise.
75947         (GET_STACK): Likewise.
75949         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75950         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75951         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75952         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75953         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75954         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75955         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75956         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75957         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75958         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75959         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75960         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75961         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75962         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75963         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75964         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75965         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75966         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75967         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75968         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75969         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75970         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75971         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75972         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75973         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75974         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75975         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75976         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75977         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75979 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75981         * Makerules (+depfiles): Also collect depfiles from .oS in
75982         $(extra-objs).
75983         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75984         .oS, $(libnldbl-routines)).
75986         * Makerules (native-compile-mkdep-flags): Define.
75987         * sunrpc/Makefile (extra-objs): Add $(addprefix
75988         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75989         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75990         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
75991         calling $(make-target-directory).
75993 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75995         * bits/types.h (__snseconds_t): Removed.
75996         * time/time.h (struct timespec): Replace __snseconds_t with
75997         __syscall_slong_t.
75998         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
75999         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76000         Likewise.
76001         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76002         (__SNSECONDS_T_TYPE): Likewise.
76003         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76004         (__SNSECONDS_T_TYPE): Likewise.
76005         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76006         (__SNSECONDS_T_TYPE): Likewise.
76008 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76010         * sysdeps/mach/hurd/bits/typesizes.h
76011         (__SYSCALL_SLONG_TYPE): New macro.
76012         (__SYSCALL_ULONG_TYPE): Likewise.
76014 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76016         * bits/types.h (__syscall_slong_t): New type.
76017         (__syscall_ulong_t): Likewise.
76019         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76020         (__SYSCALL_ULONG_TYPE): Likewise.
76021         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76022         (__SYSCALL_SLONG_TYPE): Likewise.
76023         (__SYSCALL_ULONG_TYPE): Likewise.
76024         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76025         (__SYSCALL_SLONG_TYPE): Likewise.
76026         (__SYSCALL_ULONG_TYPE): Likewise.
76027         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76028         (__SYSCALL_SLONG_TYPE): Likewise.
76029         (__SYSCALL_ULONG_TYPE): Likewise.
76031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76033         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76034         Add sigaltstack-offsets.sym.
76035         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76036         <sigaltstack-offsets.h>.
76037         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76038         longjmp_msg pointer.
76039         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76040         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76041         signal stack.
76042         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76044 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76046         * elf/stackguard-macros.h: Remove file.
76047         * sysdeps/generic/stackguard-macros.h: New file.
76048         * sysdeps/i386/stackguard-macros.h: Likewise.
76049         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76050         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76051         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76052         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76053         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76054         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76055         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76056         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76057         <elf/stackguard-macros.h>.
76059         [BZ #14109]
76060         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76061         __aligned__ in attribute.
76062         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76063         (gregset_t): Likewise.
76065 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76067         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76068         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76069         * sysdeps/x86_64/x32/Implies-after: New file.
76071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76073         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76074         and access return value for _dl_profile_fixup.  Use R10_LP to
76075         load frame size.
76077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76079         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76083         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76084         * sysdeps/x86_64/x32/sysdep.h: New file.
76086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76088         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76089         * sysdeps/x86_64/setjmp.S: Likewise.
76091 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76093         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76094         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76095         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76096         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76097         remove unused global constant.
76099 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76101         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76102         include of <not-cancel.h>.
76104 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76106         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76108 2012-05-15  Jeff Law  <law@redhat.com>
76109             Andreas Jaeger  <aj@suse.de>
76111         [BZ #13594]
76112         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76113         out from...
76114         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76115         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76116         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76117         code changing __hst_map_handle.map.
76119 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76121         * configure.in (sysnames): Look for Implies-before and Implies-after
76122         files.
76123         * configure: Regenerated.
76125 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76127         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76128         8-byte data alignment with LP_SIZE alignment.
76130 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76132         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76133         into R10_LP.
76135 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76137         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76139 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76141         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76142         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76143         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76144         Likewise.
76145         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76149         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76150         (stackinfo_sub_sp): Likewise.
76152 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76154         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76155         RAX_LP.
76157 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76159         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76160         into R*_LP.
76162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76164         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76165         sizes into R*_LP.
76167 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76169         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76173         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76174         into R11_LP and load __x86_64_shared_cache_size_half into
76175         R8_LP.
76177 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76179         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76180         R8_LP.
76182 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76185         logb for POWER7.
76186         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76187         logbf for POWER7.
76188         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76189         logbl for POWER7.
76190         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76191         powerpc32/power7/fpu/s_logb.c via #include.
76192         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76193         powerpc32/power7/fpu/s_logbf.c via #include.
76194         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76195         powerpc32/power7/fpu/s_logbl.c via #include.
76197 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76199         * README.libm: Remove file.
76201 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76203         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76204         count for x32.  Use R*_LP and omit operand-size suffix.
76206 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76208         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76209         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76210         * sysdeps/x86_64/x32/shlib-versions: New file.
76212 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76214         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76215         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76216         Use _dl_fatal_printf instead.
76218 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76220         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76221         set if not set by the user.  Do not allow for being unset.
76222         * sysdeps/unix/sysv/linux/configure: Regenerated.
76224 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76226         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76227         the `q' suffix from lea and replace .quad with ASM_ADDR.
76229 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76232         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76233         instead of $17.
76234         (PTR_DEMANGLE): Likewise.
76236 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76238         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76239         (LP_OP): Likewise.
76240         (ASM_ADDR): Likewise.
76241         (RAX_LP): Likewise.
76242         (RBP_LP): Likewise.
76243         (RBX_LP): Likewise.
76244         (RCX_LP): Likewise.
76245         (RDI_LP): Likewise.
76246         (RSI_LP): Likewise.
76247         (RSP_LP): Likewise.
76248         (R8_LP): Likewise.
76249         (R9_LP): Likewise.
76250         (R10_LP): Likewise.
76251         (R10_LP): Likewise.
76252         (R11_LP): Likewise.
76253         (R12_LP): Likewise.
76254         (R13_LP): Likewise.
76255         (R14_LP): Likewise.
76256         (R15_LP): Likewise.
76258 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76260         * sysdeps/x86_64/x32/dl-machine.h: New file.
76262 2012-05-14  Andreas Jaeger  <aj@suse.de>
76264         * manual/Makefile (subdir): Remove export of subdir.
76265         (all): Remove target.
76266         (.PHONY): Remove all from list.
76267         (mkinstalldirs): Remove.
76268         (.PHONY): Remove installdirs from list.
76269         ($(inst_infodir)/libc.info): Use make-target-directory.
76270         (installdirs): Remove.
76271         (subdir_%): Remove.
76272         (glibc-targets): Remove.
76273         (lib): Remove.
76274         (stubs): Remove.
76275         ($(objpfx)stubs ../po/manual.pot): Remove.
76276         ($(objpfx)stamp%): Remove.
76277         (make-target-directory): Remove.
76278         (subdir_install): Remove.
76279         (routines): Remove.
76280         (aux): Remove.
76281         (sources): Remove.
76282         (objects): Remove.
76283         (headers): Remove.
76285         [BZ #13750]
76286         * manual/.gitignore: Remove, it's not needed anymore.
76287         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76288         all files in it.
76289         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76290         directory.
76291         (texis): Renamed to $(objpfx)texis.
76292         (texis-path): New, contains path to generated files.
76293         (chapters.%): Use texis-path for complete path, add extra argument
76294         libc-texinfo.sh.
76295         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76296         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76297         (summary,texi, stamp-summary): Use complete path of
76298         files. Generate files in build dir.
76299         (dir-add.texi): Build in build dir.
76300         (libm-err.texi,stamp-libm-err): Likewise.
76301         (version.texi, stamp-version): Likewise.
76302         (.%c.texi): Likewise.
76303         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76304         (mostlyclean): Remove target.
76305         (realclean): Remove target.
76306         (generated): Add new variable with contents from mostlyclean and
76307         realclean, remove entries duplicated in common-mostlyclean, add
76308         stamp-libm-err and stamp-version.
76309         (generated-dirs): Add libc directory.
76310         ($(inst_infodir)/libc.info): Install files from build dir.
76312         * manual/install.texi (Configuring and compiling): Adjust since
76313         the info files are not part of the tar ball anymore.
76315 2012-05-14  Andreas Jaeger  <aj@suse.de>
76317         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76318         variable.
76320 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76322         [BZ #13717]
76323         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76324         to 2.2.0 where earlier.
76325         * sysdeps/unix/sysv/linux/configure: Regenerated.
76326         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76327         Remove conditional code.
76328         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76329         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76330         Remove conditional code.
76331         [!__NR_lchown]: Likewise.
76332         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76333         [__NR_lchown]: Likewise.
76334         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76335         comment referencing __ASSUME_LCHOWN_SYSCALL.
76336         * sysdeps/unix/sysv/linux/i386/sigaction.c
76337         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76338         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76339         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76340         Remove conditional code.
76341         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76342         (__protocol_available): Remove #if 0 code.
76343         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76344         conditional code.
76345         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76346         * sysdeps/unix/sysv/linux/kernel-features.h
76347         (__ASSUME_GETCWD_SYSCALL): Don't define.
76348         (__ASSUME_REALTIME_SIGNALS): Likewise.
76349         (__ASSUME_PREAD_SYSCALL): Likewise.
76350         (__ASSUME_PWRITE_SYSCALL): Likewise.
76351         (__ASSUME_POLL_SYSCALL): Likewise.
76352         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76353         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76354         non-SPARC.
76355         (__ASSUME_SIOCGIFNAME): Don't define.
76356         (__ASSUME_MSG_NOSIGNAL): Likewise.
76357         (__ASSUME_SENDFILE): Define unconditionally.
76358         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76359         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76360         conditional code.
76361         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76362         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76363         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76364         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76365         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76366         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76367         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76369         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76370         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76372         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76373         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76375         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76376         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76378         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76379         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76381         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76382         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76384         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76385         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76387         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76390         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76391         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76392         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76393         Remove conditional code.
76394         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76395         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76396         Remove conditional code.
76397         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76398         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76399         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76400         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76401         Remove conditional code.
76402         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76403         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76404         Remove conditional code.
76405         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76406         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76407         Remove conditional code.
76408         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76409         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76410         Remove conditional code.
76411         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76412         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76413         Remove conditional code.
76414         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76415         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76416         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76417         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76418         * sysdeps/unix/sysv/linux/sigaction.c
76419         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76420         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76421         * sysdeps/unix/sysv/linux/sigpending.c
76422         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76423         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76424         * sysdeps/unix/sysv/linux/sigprocmask.c
76425         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76426         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76427         * sysdeps/unix/sysv/linux/sigsuspend.c
76428         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76429         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76430         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76431         (__libc_missing_rt_sigs): Remove.
76432         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76433         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76434         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76435         Remove conditional code.
76436         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76437         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76438         return 1.
76439         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76440         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76441         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76442         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76444 2012-05-14  Andreas Jaeger  <aj@suse.de>
76446         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76447         it's not used in glibc.
76448         (__coshm1): Likewise.
76449         (__acosh1p): Likewise.
76450         (__sgn): Likewise.
76452         * manual/string.texi (Copying and Concatenation): Add missing
76453         variable in concat example.
76454         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76456 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76458         [BZ #14103]
76459         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76460         __builtin_clzl with __builtin_clzll.
76462 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76464         [BZ #14104]
76465         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76466         libc_freeres_ptr.
76468 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76470         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76471         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76472         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76473         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76475 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76477         * NEWS: Update ia64 info.
76479 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76481         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76482         used as bcopy.
76484 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76486         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76487         * sysdeps/unix/syscalls.list (dup3): Likewise.
76488         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76489         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76491 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76493         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76494         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76496 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76498         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76499         thread pointer.
76500         (TLS_IE): Use mov/add instead of movq/addq to load thread
76501         pointer.
76502         (TLS_GD_PREFIX): New.
76503         (TLS_GD): Use it.
76505 2012-05-11  David S. Miller  <davem@davemloft.net>
76507         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76508         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76509         (_FPU_SETCW): Likewise.
76511 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76513         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76514         is 32-byte aligned.
76516 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76518         [BZ #11837]
76519         * iconvdata/gb18030.c: Update tables.
76520         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76521         characters specially.
76522         (BODY for TO_LOOP): Add encoding of missing ranges.
76524 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76526         [BZ #13673]
76527         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76528         * sysdeps/mach/hurd/dup3.c: Likewise.
76529         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76530         * sysdeps/powerpc/memmove.c:: Likewise.
76532 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76534         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76535         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76537 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76539         * elf/elf.h (R_X86_64_RELATIVE64): New.
76540         (R_X86_64_NUM): Updated.
76541         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76542         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76543         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76544         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76545         tst-quad1pie tst-quad2pie
76546         (modules-names): Add tst-quadmod1 tst-quadmod2.
76547         ($(objpfx)tst-quad1): New dependency.
76548         ($(objpfx)tst-quad2): Likewise.
76549         ($(objpfx)tst-quad1pie): Likewise.
76550         ($(objpfx)tst-quad2pie): Likewise.
76551         * sysdeps/x86_64/tst-quad1.c: New file.
76552         * sysdeps/x86_64/tst-quad1pie.c: New file.
76553         * sysdeps/x86_64/tst-quad2.c: Likewise.
76554         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76555         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76556         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76557         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76558         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76560 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76562         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76563         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76564         * streams/stropts.h (t_scalar_t): Define type.
76566         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76567         (_PATH_PRESERVE): Set to "/var/lib".
76568         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76570         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76571         instead of int.
76573         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76574         if __dir_mkfile succeeded.
76576         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76577         checking for _hurd_dtablesize.  Unlock it right after having
76578         finished _hurd_dtable allocation.
76580 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76582         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76583         * sysdeps/mach/hurd/configure: Regenerated.
76584         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76585         special-casing to...
76586         * sysdeps/gnu/configure.in: ... this new file.
76587         * sysdeps/unix/sysv/linux/configure: Regenerated.
76588         * sysdeps/gnu/configure: New generated file.
76590         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76591         for Linux: use nsec instead of usec, as well as:
76592         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76593         members of type struct timespec.
76594         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76595         New macros.
76596         (struct stat64): Likewise.
76597         (_STATBUF_ST_NSEC): New macro.
76598         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76600         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76601         __strtoul_internal rather than strtoul.
76603 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76605         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76606         and reject them.
76608 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76610         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76611         which preserves existing values.
76612         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76614 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76616         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76617         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76618         greater than FD_SETSIZE.
76620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76622         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76623         allocated, call __vm_protect to finish enabling the existing space, and
76624         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76625         allocate the remainder.
76627 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76629         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76630         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76632 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76634         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76635         sysdeps/mach/hurd/readlink.c.
76637         * posix/tst-sysconf.c (posix_options): Only use
76638         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76639         _POSIX_SYNCHRONIZED_IO when they are defined
76640         * sysdeps/mach/hurd/bits/posix_opt.h:
76641         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76642         (_XOPEN_REALTIME): Undefine macro.
76643         (_XOPEN_REALTIME_THREADS): Undefine macro.
76644         (_XOPEN_SHM): Undefine macro.
76645         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76646         macro to -1.
76647         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76648         macro to -1.
76649         (_POSIX_ASYNC_IO): Undefine macro.
76650         (_POSIX_PRIORITIZED_IO): Undefine macro.
76651         (_POSIX_SPIN_LOCKS): Define macro to -1.
76653         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76654         SA_NODEFER, SA_RESETHAND.
76655         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76656         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76657         F_DUPFD_CLOEXEC.
76659 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76661         * elf/Makefile (pldd-modules): Define unconditionally.
76663 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76665         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76667 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76669         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76670         Return ENOENT when name is empty.
76671         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76673 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76675         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76677         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76679 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76681         Fix mlock in all cases except non-readable pages.
76682         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76683         instead of VM_PROT_ALL as parameter to __vm_wire function.
76685         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76686         (__mkdir): When path is `/', just fail with EEXIST.
76687         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76689 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76691         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76692         <sys/uio.h> (for writev).
76693         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76694         and <sys/param.h> (for MIN).
76696 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76698         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76699         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76700         if interrupted.
76702 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76704         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76705         Depend on against $(link-rpcuserlibs).
76707 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76709         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76710         (__libc_stack_end): Do not use attribute_relro.
76711         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76712         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76713         to libthread-provided value.
76714         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76715         attribute_relro.
76717 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76719         [BZ #3748]
76720         * bits/libc-lock.h (__libc_once_get): New macro.
76721         * sysdeps/mach/bits/libc-lock.h: Likewise.
76722         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76723         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76724         instead of using implementation details.
76726         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76727         * libio/freopen.c: Likewise.
76728         * libio/freopen64.c: Likewise.
76729         * misc/syslog.c: Likewise.
76730         * nscd/connections.c: Likewise.
76731         * nscd/netgroupcache.c: Likewise.
76732         * sysdeps/posix/getcwd.c: Likewise.
76734 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76736         * math/w_ilogbf.c: Add #include <limits.h>.
76738 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76740         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76741         path instead of returning without unlocking.
76743         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76744         immediate-write ioctls.
76745         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76747 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76749         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76750         __builtin_frame_address instead of making assumptions about the
76751         location of the return address relative to DATA.  Force early load of
76752         the return address.
76753         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76754         __builtin_frame_address.
76756         dup3 for GNU Hurd.
76757         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76758         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76759         implement dup3 and do some further code clean-ups.
76760         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76761         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76763 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76765         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76767         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76768         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76769         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76770         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76771         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76772         d->port.lock.
76774         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76775         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76776         when handler == SIG_ERR, not when handler != SIG_ERR.
76778 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76780         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76781         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76782         definitions.
76784         accept4 for GNU Hurd.
76785         * include/sys/socket.h (__libc_accept4): New prototype.
76786         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76787         to implement __libc_accept4.
76788         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76789         __libc_accept4.
76790         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76792         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76793         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76794         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76795         signal-defines.sym.
76797 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76799         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76801 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76803         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76804         assertion on O_CLOEXEC flag.
76805         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76806         * hurd/intern-fd.c: Likewise.
76807         * hurd/port2fd.c: Likewise.
76809 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76811         [BZ #3906]
76812         * bits/in.h (IPV6_PKTINFO): Define new macro.
76813         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76815 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76817         [BZ #13954]
76818         [BZ #13955]
76819         [BZ #13956]
76820         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76821         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76822         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76823         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76824         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76825         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76826         * math/libm-test.inc (logb_test) : Additional logb tests.
76828 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76829             Andreas Jaeger  <aj@suse.de>
76831         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76832         * configure: Regenerated.
76833         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76834         * config.make.in (link-obsolete-rpc): New substituted variable.
76835         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76836         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76837         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76838         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76839         so that libc.a contains the symbols.
76840         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76841         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76842         * sunrpc/auth_none.c: Likewise.
76843         * sunrpc/auth_unix.c: Likewise.
76844         * sunrpc/authdes_prot.c: Likewise.
76845         * sunrpc/authuxprot.c: Likewise.
76846         * sunrpc/clnt_gen.c: Likewise.
76847         * sunrpc/clnt_perr.c: Likewise.
76848         * sunrpc/clnt_raw.c: Likewise.
76849         * sunrpc/clnt_simp.c: Likewise.
76850         * sunrpc/clnt_tcp.c: Likewise.
76851         * sunrpc/clnt_udp.c: Likewise.
76852         * sunrpc/clnt_unix.c: Likewise.
76853         * sunrpc/des_crypt.c: Likewise.
76854         * sunrpc/des_soft.c: Likewise.
76855         * sunrpc/get_myaddr.c: Likewise.
76856         * sunrpc/key_call.c: Likewise.
76857         * sunrpc/key_prot.c: Likewise.
76858         * sunrpc/netname.c: Likewise.
76859         * sunrpc/pm_getmaps.c: Likewise.
76860         * sunrpc/pm_getport.c: Likewise.
76861         * sunrpc/pmap_clnt.c: Likewise.
76862         * sunrpc/pmap_prot.c: Likewise.
76863         * sunrpc/pmap_prot2.c: Likewise.
76864         * sunrpc/pmap_rmt.c: Likewise.
76865         * sunrpc/publickey.c: Likewise.
76866         * sunrpc/rpc_cmsg.c: Likewise.
76867         * sunrpc/rpc_common.c: Likewise.
76868         * sunrpc/rpc_dtable.c: Likewise.
76869         * sunrpc/rpc_prot.c: Likewise.
76870         * sunrpc/rpc_thread.c: Likewise.
76871         * sunrpc/rtime.c: Likewise.
76872         * sunrpc/svc.c: Likewise.
76873         * sunrpc/svc_auth.c: Likewise.
76874         * sunrpc/svc_raw.c: Likewise.
76875         * sunrpc/svc_run.c: Likewise.
76876         * sunrpc/svc_tcp.c: Likewise.
76877         * sunrpc/svc_udp.c: Likewise.
76878         * sunrpc/svc_unix.c: Likewise.
76879         * sunrpc/svcauth_des.c: Likewise.
76880         * sunrpc/xcrypt.c: Likewise.
76881         * sunrpc/xdr.c: Likewise.
76882         * sunrpc/xdr_array.c: Likewise.
76883         * sunrpc/xdr_float.c: Likewise.
76884         * sunrpc/xdr_intXX_t.c: Likewise.
76885         * sunrpc/xdr_mem.c: Likewise.
76886         * sunrpc/xdr_rec.c: Likewise.
76887         * sunrpc/xdr_ref.c: Likewise.
76888         * sunrpc/xdr_sizeof.c: Likewise.
76889         * sunrpc/xdr_stdio.c: Likewise.
76891 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76893         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76894         change.  Update copyright years.
76896 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76898         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76900 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76901             Joseph Myers  <joseph@codesourcery.com>
76902             Paul Pluzhnikov  <ppluzhnikov@google.com>
76904         [BZ #14012]
76905         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76906         requiring rpcgen.
76907         [cross-compiling] (extra-libs): Likewise.
76908         [cross-compiling] (extra-libs-others): Likewise.
76909         [cross-compiling] (librpcsvc-routines): Likewise.
76910         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76911         [cross-compiling] (omit-deps): Likewise.
76912         (sunrpc-CPPFLAGS): New variable.
76913         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76914         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76915         (cross-rpcgen-objs): New variable.
76916         (extra-objs): Append $(cross-rpcgen-objs).
76917         ($(cross-rpcgen-objs)): New rule.
76918         ($(objpfx)cross-rpcgen): Likewise.
76919         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76920         comment.
76921         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76922         ($(objpfx)x%.stmp): Likewise.
76923         * sunrpc/proto.h [IS_IN_build] (_): Define.
76924         [IS_IN_build] (_libc_intl_domainname): Likewise.
76926 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76928         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76929         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76930         and R_X86_64_TPOFF64.
76932 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76934         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76935         sysdeps/unix/sysv/syscalls.list.
76936         (stime): Likewise.
76937         (utime): Likewise.
76938         * sysdeps/unix/sysv/syscalls.list: Remove file.
76940 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76942         [BZ #3440]
76943         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76944         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76945         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76946         (__LC_IDENTIFICATION): Make these macros useful in #if
76947         expressions, as required by C99.
76949 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76951         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76952         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76953         after this.
76955 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76957         * stdlib/longlong.h: Updated from GCC.
76959 2012-05-09  Andreas Jaeger  <aj@suse.de>
76961         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76962         default is first entry.
76963         (run_mode): Set type.
76964         (main): Remove informal message about syslog.
76965         (options): Fix typo.
76967         [BZ #14053]
76968         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76969         to asm.
76970         (lrint): Likewise.
76971         (llrintf): Likewise.
76972         (llrint): Likewise.
76973         (rint): Likewise.
76974         (rintf): Likewise.
76975         (nearbyint): Likewise.
76976         (nearbyintf): Likewise.
76978 2012-05-09  Andreas Jaeger  <aj@suse.de>
76979             Pedro Alves  <palves@redhat.com>
76981         * nscd/nscd.c (run_mode): Use enum.
76982         (main): Cleanup coding style issue.
76984 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76985             Andreas Jaeger  <aj@suse.de>
76987         * nscd/nscd.c (go_background): Replaced with...
76988         (run_mode): ... this.
76989         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76990         (options): Add -F --foreground.
76991         (main): Implement it.
76992         (parse_opt): Parse it.
76994 2012-05-09  Andreas Jaeger  <aj@suse.de>
76996         [BZ #14083]
76997         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
76998         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
76999         -Wconversion warning.
77000         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77001         Likewise.
77003 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77005         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77006         == 0.
77007         (LC_ALL): Use macro-int-constant.
77008         (LC_COLLATE): Likewise.
77009         (LC_CTYPE): Likewise.
77010         (LC_MESSAGES): Likewise.
77011         (LC_MONETARY): Likewise.
77012         (LC_NUMERIC): Likewise.
77013         (LC_TIME): Likewise.
77014         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77015         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77016         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77017         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77018         Specify type.
77019         [C99-based standards] (float_t): Expect type.
77020         [C99-based standards] (double_t): Expect type.
77021         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77022         type.
77023         [C99-based standards] (HUGE_VALL): Likewise.
77024         [C99-based standards] (INFINITY): Likewise.
77025         [C99-based standards] (NAN): Likewise.
77026         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77027         [C99-based standards] (FP_NAN): Likewise.
77028         [C99-based standards] (FP_NORMAL): Likewise.
77029         [C99-based standards] (FP_SUBNORMAL): Likewise.
77030         [C99-based standards] (FP_ZERO): Likewise.
77031         [C99-based standards] (FP_FAST_FMA): Use
77032         optional-macro-int-constant.  Specify type.  Require == 1.
77033         [C99-based standards] (FP_FAST_FMAF): Likewise.
77034         [C99-based standards] (FP_FAST_FMAL): Likewise.
77035         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77036         [C99-based standards] (FP_ILOGBNAN): Likewise.
77037         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77038         Specify type.
77039         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77040         [C99-based standards] (math_errhandling): Specify type.
77041         [ISO99 || ISO11] (signgam): Do not allow.
77042         [non-C99-based standards] (copysignf): Do not allow.
77043         [non-C99-based standards] (exp2f): Likewise.
77044         [non-C99-based standards] (log2f): Likewise.
77045         [non-C99-based standards] (modff): Allow.
77046         [non-C99-based standards] (erff): Do not allow.
77047         [non-C99-based standards] (erfcf): Likewise.
77048         [non-C99-based standards] (gammaf): Likewise.
77049         [non-C99-based standards] (hypotf): Likewise.
77050         [non-C99-based standards] (j0f): Likewise.
77051         [non-C99-based standards] (j1f): Likewise.
77052         [non-C99-based standards] (jnf): Likewise.
77053         [non-C99-based standards] (lgammaf): Likewise.
77054         [non-C99-based standards] (tgammaf): Likewise.
77055         [non-C99-based standards] (y0f): Likewise.
77056         [non-C99-based standards] (y1f): Likewise.
77057         [non-C99-based standards] (ynf): Likewise.
77058         [non-C99-based standards] (isnanf): Likewise.
77059         [non-C99-based standards] (acoshf): Likewise.
77060         [non-C99-based standards] (asinhf): Likewise.
77061         [non-C99-based standards] (atanhf): Likewise.
77062         [non-C99-based standards] (cbrtf): Likewise.
77063         [non-C99-based standards] (expm1f): Likewise.
77064         [non-C99-based standards] (ilogbf): Likewise.
77065         [non-C99-based standards] (log1pf): Likewise.
77066         [non-C99-based standards] (logbf): Likewise.
77067         [non-C99-based standards] (nextafterf): Likewise.
77068         [non-C99-based standards] (remainderf): Likewise.
77069         [non-C99-based standards] (rintf): Likewise.
77070         [non-C99-based standards] (scalbf): Likewise.
77071         [non-C99-based standards] (copysignl): Likewise.
77072         [non-C99-based standards] (exp2l): Likewise.
77073         [non-C99-based standards] (log2l): Likewise.
77074         [non-C99-based standards] (modfl): Allow.
77075         [non-C99-based standards] (erfl): Do not allow.
77076         [non-C99-based standards] (erfcl): Likewise.
77077         [non-C99-based standards] (gammal): Likewise.
77078         [non-C99-based standards] (hypotl): Likewise.
77079         [non-C99-based standards] (j0l): Likewise.
77080         [non-C99-based standards] (j1l): Likewise.
77081         [non-C99-based standards] (jnl): Likewise.
77082         [non-C99-based standards] (lgammal): Likewise.
77083         [non-C99-based standards] (tgammal): Likewise.
77084         [non-C99-based standards] (y0l): Likewise.
77085         [non-C99-based standards] (y1l): Likewise.
77086         [non-C99-based standards] (ynl): Likewise.
77087         [non-C99-based standards] (isnanl): Likewise.
77088         [non-C99-based standards] (acoshl): Likewise.
77089         [non-C99-based standards] (asinhl): Likewise.
77090         [non-C99-based standards] (atanhl): Likewise.
77091         [non-C99-based standards] (cbrtl): Likewise.
77092         [non-C99-based standards] (expm1l): Likewise.
77093         [non-C99-based standards] (ilogbl): Likewise.
77094         [non-C99-based standards] (log1pl): Likewise.
77095         [non-C99-based standards] (logbl): Likewise.
77096         [non-C99-based standards] (nextafterl): Likewise.
77097         [non-C99-based standards] (remainderl): Likewise.
77098         [non-C99-based standards] (rintl): Likewise.
77099         [non-C99-based standards] (scalbl): Likewise.
77100         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77101         [non-C99-based standards] (FP_*): Do not allow.
77102         [C99-based standards] (FP_*): Change to
77103         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77104         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77105         allow.
77106         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77107         (SIG_ERR): Likewise.
77108         [X/Open-based standards] (SIG_HOLD): Likewise.
77109         (SIG_IGN): Likewise.
77110         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77111         positive value.
77112         (SIGFPE): Likewise.
77113         (SIGILL): Likewise.
77114         (SIGINT): Likewise.
77115         (SIGSEGV): Likewise.
77116         (SIGTER): Likewise.
77117         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77118         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77119         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77120         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77121         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77122         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77123         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77124         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77125         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77126         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77127         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77128         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77129         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77130         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77131         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77132         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77133         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77134         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77135         [X/Open-based standards] (SIGTRAP): Likewise.
77136         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77137         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77138         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77139         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77140         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77141         allow.
77143 2012-05-08  Ian Wienand  <ianw@vmware.com>
77145         [BZ #14080]
77146         * time/tzset.c (__tzset_parse_tz): Update default rules for
77147         daylight time changes in the Energy Policy Act of 2005.
77149 2012-05-09  Andreas Jaeger  <aj@suse.de>
77151         [BZ #13983]
77152         * elf/ldconfig.c (parse_conf): Change string to make clear that
77153         ldconfig only issued a warning if ld.so.conf does not exist.
77155 2012-05-08  David S. Miller  <davem@davemloft.net>
77157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77158         movxtod instead of popping the value on the stack.
77160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77162 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77164         * config.h.in: Add HAVE_ARM_PCS_VFP.
77166 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77168         [BZ #13979]
77169         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77170         checking but the checks are disabled for any reason.
77172 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77174         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77175         and ELF64_R_TYPE with ELFW(R_TYPE).
77177 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77179         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77180         (ulimit): Likewise.
77182         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77183         (settimeofday): Likewise.
77185 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77187         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77188         a struct th_u2 inside the union, and move tu_block/tu_code into
77189         a new th_u3 union of tu_block/tu_code inside of that.  Move
77190         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77191         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77192         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77193         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77194         (th_stuff): Change to th_u1.tu_stuff.
77195         (th_data): Define.
77196         (th_msg): Change to th_u1.th_u2.tu_data.
77198 2012-05-07  David S. Miller  <davem@davemloft.net>
77200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77202         [BZ #14074]
77203         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77204         (SETUP_PIC_REG): Use it.
77205         (SETUP_PIC_REG_LEAF): Use it.
77207 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77209         [BZ #13885]
77210         [BZ #13923]
77211         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77212         USE_AS_EXPM1L.
77213         (EXPL_FINITE): Likewise.
77214         (FLDLOG): Likewise.
77215         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77216         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77217         e_expl.S.
77218         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77219         USE_AS_EXPM1L.
77220         (EXPL_FINITE): Likewise.
77221         (FLDLOG): Likewise.
77222         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77223         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77224         e_expl.S.
77225         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77226         test of -max_value argument for long double.
77227         * sysdeps/i386/fpu/libm-test-ulps: Update.
77228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77230 2012-05-06  David S. Miller  <davem@davemloft.net>
77232         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77233         quad soft-float symbols whose references which are compiler
77234         generated.
77235         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77237 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77239         [BZ #13884]
77240         [BZ #13914]
77241         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77242         USE_AS_EXP10L.
77243         (EXPL_FINITE): Likewise.
77244         (FLDLOG): Likewise.
77245         (c0): Likewise.
77246         (c1): Likewise.
77247         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77248         Adjust comments for base varying.
77249         (__expl_finite): Change alias to EXPL_FINITE.
77250         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77251         e_expl.S.
77252         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77253         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77254         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77255         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77256         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77257         USE_AS_EXP10L.
77258         (EXPL_FINITE): Likewise.
77259         (FLDLOG): Likewise.
77260         (c0): Likewise.
77261         (c1): Likewise.
77262         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77263         Adjust comments for base varying.
77264         (__expl_finite): Change alias to EXPL_FINITE.
77265         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77266         tests for bugs.
77267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77269         [BZ #14064]
77270         * math/libm-test.inc (check_float_internal): Correct ulp
77271         calculation for subnormal expected results.
77273 2012-05-06  Andreas Jaeger  <aj@suse.de>
77275         * Makeconfig (+math-flags): New, set to -frounding-math.
77276         (+cflags): Add +math-flags so that all of glibc gets compiled with
77277         it.
77279         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77281 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77283         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77284         Disable one test.
77286         [BZ #13787]
77287         [BZ #13922]
77288         [BZ #14036]
77289         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77290         (__ieee754_expl): Allow for and saturate large arguments.
77291         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77292         (u_threshold): Likewise.
77293         (__exp): Call __ieee754_exp before checking for overflow and
77294         underflow.
77295         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77296         (u_threshold): Likewise.
77297         (__expf): Call __ieee754_expf before checking for overflow and
77298         underflow.
77299         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77300         (u_threshold): Likewise.
77301         (__expl): Call __ieee754_expl before checking for overflow and
77302         underflow.
77303         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77304         (__ieee754_expl): Allow for and saturate large arguments.
77305         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77306         missing overflow exception on overflow.
77307         (expm1_test): Do not allow missing overflow exception on overflow.
77309         * sysdeps/i386/fpu/e_expl.c: Move to ...
77310         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77311         rather than using inline asm.
77312         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77313         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77314         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77316         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77317         (nice): Likewise.
77318         (poll): Likewise.
77319         (signal): Likewise.
77320         (time): Likewise.
77321         (times): Likewise.
77323 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77325         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77326         sysdeps/unix/common/syscalls.list.
77327         (fchmod): Likewise.
77328         (fchown): Likewise.
77329         (ftruncate): Likewise.
77330         (getrusage): Likewise.
77331         (gettimeofday): Likewise.
77332         (setpgid): Likewise.
77333         (setregid): Likewise.
77334         (setreuid): Likewise.
77335         (sigaction): Likewise.
77336         (truncate): Likewise.
77337         (vhangup): Likewise.
77338         * sysdeps/unix/common/syscalls.list: Remove file.
77339         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77340         * sysdeps/unix/sysv/linux/Implies: Likewise.
77342 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77344         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77346         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77347         Moved to ...
77348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77349         Here.
77350         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77351         to ...
77352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77353         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77354         to ...
77355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77356         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77357         to ...
77358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77359         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77360         to ...
77361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77362         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77363         to ...
77364         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77365         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77366         to ...
77367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77368         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77369         to ...
77370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77371         Here.
77372         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77373         to ...
77374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77375         Here.
77376         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77377         to ...
77378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77379         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77380         Moved to ...
77381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77382         Here.
77383         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77384         to ...
77385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77387 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77389         * sysdeps/unix/common/bits/dirent.h: Remove file.
77390         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77392         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77393         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77394         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77395         * sysdeps/unix/bsd/isatty.c: Likewise.
77396         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77397         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77398         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77400 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77402         [BZ #13563]
77403         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77404         long double comparison inaccuracies.
77405         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77408 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77410         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77411         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77413 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77415         [BZ #14049]
77416         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77417         nonzero digits before rounding a hex value.
77418         * stdlib/tst-strtod.c (tests): Add another test.
77420 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77422         * sysdeps/s390/fpu/libm-test-ulps: Update.
77424 2012-05-03  Andreas Jaeger  <aj@suse.de>
77426         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77427         does not get optimized out.
77428         (malloc_opt_barrier): New.
77430 2012-05-03  Andreas Jaeger  <aj@suse.de>
77431             Roland McGrath  <roland@hack.frob.com>
77433         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77434         intermediate file deletion.
77435         (generated): Add .symlist files.
77437 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77439         [BZ #13775]
77440         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77441         Redirect under this condition.
77442         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77443         [__USE_GNU] (__dprintf_chk): Not under this condition.
77444         [__USE_GNU] (__vdprintf_chk): Likewise.
77445         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77446         under this condition.
77447         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77448         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77449         [__USE_XOPEN2K8] (vdprintf): Likewise.
77450         [__USE_GNU] (__dprintf_chk): Not under this condition.
77451         [__USE_GNU] (__vdprintf_chk): Likewise.
77452         [__USE_GNU] (dprintf): Likewise.
77453         [__USE_GNU] (vdprintf): Likewise.
77455 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77457         * elf/Makefile (common-generated): Set this instead of generated for
77458         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77459         $(all-built-dso)-derived lists.
77461 2012-05-03  Andreas Jaeger  <aj@suse.de>
77463         * sysdeps/i386/fpu/libm-test-ulps: Update.
77465         * FAQ: Removed.
77466         * FAQ.in: Likewise.
77467         * scripts/gen-FAQ.pl: Likewise.
77468         * manual/install.texi (Installation): Point to online location of
77469         FAQ.
77470         * Makefile (files-for-dist): Remove FAQ.
77471         (FAQ): Remove.
77473 2012-05-02  Allan McRae  <allan@archlinux.org>
77475         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77476         (LDFLAGS-reldepmod5.so): Likewise.
77477         (LDFLAGS-reldep6mod1.so): Likewise.
77478         (LDFLAGS-reldep6mod4.so): Likewise.
77479         (LDFLAGS-reldep8mod3.so): Likewise.
77480         (LDFLAGS-unload4mod1.so): Likewise.
77481         (LDFLAGS-unload4mod2.so): Likewise.
77482         (LDFLAGS-tst-initorder): Likewise.
77483         (LDFLAGS-tst-initordera2.so): Likewise.
77484         (LDFLAGS-tst-initordera3.so): Likewise.
77485         (LDFLAGS-tst-initordera4.so): Likewise.
77486         (LDFLAGS-tst-initorderb2.so): Likewise.
77487         (LDFLAGS-noload): Likewise.
77488         (LDFLAGS-next): Likewise.
77489         (LDFLAGS-order2mod1.so): Likewise.
77490         (LDFLAGS-order2mod2.so): Likewise.
77491         (LDFLAGS-tst-initorder2): Likewise.
77492         (LDFLAGS-tst-initorder2a.so): Likewise.
77493         (LDFLAGS-tst-initorder2b.so): Likewise.
77494         (LDFLAGS-tst-initorder2c.so): Likewise.
77495         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77497 2012-05-02  David S. Miller  <davem@davemloft.net>
77499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77501 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77503         [BZ #14055]
77504         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77506 2012-05-02  Andreas Jaeger  <aj@suse.de>
77508         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77509         since we manipulate rounding mode.
77510         (CPPFLAGS-test-idouble.c): Likewise.
77511         (CPPFLAGS-test-ifloat.c): Likewise.
77512         (CFLAGS-test-ldouble.c): Likewise.
77513         (CFLAGS-test-double.c): Likewise.
77514         (CFLAGS-test-float.c): Likewise.
77515         (CFLAGS-test-misc.c): Likewise.
77516         (CFLAGS-test-test-fenv.c): Likewise.
77518 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77520         [BZ #2550]
77521         [BZ #2570]
77522         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77523         comparisons to determine direction to adjust input.
77525 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77527         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77528         output to the target.
77530         * scripts/localplt.awk: New file.
77531         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77532         (check-localplt-CFLAGS): Variable removed.
77533         ($(all-built-dso:=.jmprel)): New static pattern rule.
77534         (generated): Add those targets.
77535         (localplt-built-dso): New variable.
77536         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77538         * elf/check-localplt.c: File removed.
77540         * scripts/check-execstack.awk: New file.
77541         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77542         (check-execstack-CFLAGS): Variable removed.
77543         ($(objpfx)check-execstack.h): Target removed.
77544         ($(objpfx)execstack-default): New target.
77545         (generated): Add that instead of check-execstack.h.
77546         ($(all-built-dso:=.phdr)): New static pattern rule.
77547         (generated): Add those targets.
77548         * elf/check-execstack.c: File removed.
77550         * scripts/check-textrel.awk: New file.
77551         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77552         (check-textrel-CFLAGS): Variable removed.
77553         (all-built-dso): Use := to define.o
77554         ($(all-built-dso:=.dyn)): New static pattern rule.
77555         (generated): Add those targets.
77556         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77557         * config.make.in (READELF): New substituted variable.
77558         * elf/check-textrel.c: File removed.
77560 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77562         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77563         allow.
77564         * conform/data/ctype.h-data [C99-based standards] (isblank):
77565         Expect function.
77566         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77567         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77568         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77569         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77570         Specify type.  Require positive value.
77571         (EILSEQ): Likewise.
77572         (ERANGE): Likewise.
77573         [ISO || POSIX] (EILSEQ): Do not expect.
77574         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77575         Specify type.  Require positive value.
77576         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77577         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77578         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77579         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77580         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77581         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77582         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77583         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77584         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77585         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77586         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77587         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77588         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77589         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77590         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77591         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77592         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77593         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77594         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77595         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77596         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77597         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77598         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77599         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77600         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77601         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77602         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77603         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77604         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77605         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77606         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77607         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77608         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77609         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77610         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77611         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77612         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77613         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77614         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77615         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77616         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77617         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77618         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77619         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77620         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77621         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77622         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77623         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77624         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77625         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77626         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77627         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77628         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77629         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77630         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77631         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77632         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77633         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77634         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77635         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77636         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77637         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77638         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77639         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77640         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77641         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77642         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77643         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77644         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77645         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77646         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77647         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77648         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77649         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77650         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77651         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77652         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77653         Require >= 2.
77654         (FLT_ROUNDS): Expect as macro, not constant.
77655         (FLT_MANT_DIG): Use macro-int-constant.
77656         (DBL_MANT_DIG): Likewise.
77657         (LDBL_MANT_DIG): Likewise.
77658         (FLT_DIG): Likewise.
77659         (DBL_DIG): Likewise.
77660         (LDBL_DIG): Likewise.
77661         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77662         (DBL_MIN_EXP): Likewise.
77663         (LDBL_MIN_EXP): Likewise.
77664         (FLT_MAX_EXP): Use macro-int-constant.
77665         (DBL_MAX_EXP): Likewise.
77666         (LDBL_MAX_EXP): Likewise.
77667         (FLT_MAX_10_EXP): Likewise.
77668         (DBL_MAX_10_EXP): Likewise.
77669         (LDBL_MAX_10_EXP): Likewise.
77670         (FLT_MAX): Use macro-constant.
77671         (DBL_MAX): Likewise.
77672         (LDBL_MAX): Likewise.
77673         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77674         (DBL_EPSILON): Likewise.
77675         (LDBL_EPSILON): Likewise.
77676         (FLT_MIN): Likewise.
77677         (DBL_MIN): Likewise.
77678         (LDBL_MIN): Likewise.
77679         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77680         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77681         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77682         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77683         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77684         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77685         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77686         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77687         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77688         [ISO11] (FLT_TRUE_MIN): Likewise.
77689         [ISO11] (LDBL_TRUE_MIN): Likewise.
77690         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77691         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77692         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77693         (SCHAR_MAX): Likewise.
77694         (UCHAR_MAX): Likewise.
77695         (CHAR_MIN): Likewise.
77696         (CHAR_MAX): Likewise.
77697         (MB_LEN_MAX): Use macro-int-constant.
77698         (SHRT_MIN): Use macro-int-constant.  Specify type.
77699         (SHRT_MAX): Likewise.
77700         (USHRT_MAX): Likewise.
77701         (INT_MAX): Likewise.
77702         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77703         bound negative.
77704         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77705         bound with "U".
77706         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77707         bound with "L".
77708         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77709         bound negative.  Suffix upper bound with "L".
77710         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77711         bound with "UL".
77712         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77713         Specify type.
77714         [C99-based standards] (LLONG_MAX): Likewise.
77715         [C99-based standards] (ULLONG_MAX): Likewise.
77716         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77717         == 0.
77718         [ISO11] (max_align_t): Require type.
77719         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77721         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77722         from $CFLAGS, without defining away __attribute__ calls.
77723         (checknamespace): Use $CFLAGS_namespace.
77725         * conform/conformtest.pl (@keywords): Only include C99 keywords
77726         for standards based on C99 or C11.
77728         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77729         Disable tests.
77730         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77731         UNIX98]: Likewise.
77733         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77734         usability of symbols in #if.
77736         * conform/conformtest.pl: If macro or constant types start
77737         "promoted:", expect the symbol to be of the following type
77738         promoted by the integer promotions.
77740         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77741         in one place.  Also handle "macro-constant".
77743         * conform/conformtest.pl: Only accept expected macro values with
77744         "==".  Parse all "macro" lines in one place.
77745         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77747         * conform/conformtest.pl: Handle braced types on "constant" lines
77748         instead of handling "typed-constant".
77749         * conform/data/signal.h-data: Use "constant" instead of
77750         "typed-constant".
77752         * conform/conformtest.pl: Handle "optional-" at start of lines in
77753         one place rather than duplicating several cases.  Handle each
77754         format of "macro" line with initial "optional-".
77756         * conform/conformtest.pl: Only accept expected constant or
77757         optional-constant values with "==".  Parse all "constant" lines in
77758         one place.  Parse all "optional-constant" lines in one place.
77759         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77760         * conform/data/fmtmsg.h-data: Likewise.
77761         * conform/data/netinet/in.h-data: Likewise.
77762         * conform/data/tar.h-data: Likewise.
77763         * conform/data/limits.h-data: Use "==" form on "constant" and
77764         "optional-constant" lines.
77766         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77767         Use -std=c99 for XOPEN2K.
77768         (@knownproblems): Remove.
77769         (newtoken): Don't check %isknown.
77771         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77772         Do not expect macro.
77773         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77774         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77775         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77776         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77777         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77778         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77779         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77780         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77781         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77782         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77783         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77784         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77785         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77786         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77787         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77788         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77789         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77790         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77791         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77792         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77793         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77794         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77795         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77796         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77797         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77798         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77799         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77800         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77801         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77802         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77803         [XPG3] (acosh): Likewise.
77804         [XPG3] (asinh): Likewise.
77805         [XPG3] (atanh): Likewise.
77806         [XPG3] (cbrt): Likewise.
77807         [XPG3] (expm1): Likewise.
77808         [XPG3] (ilogb): Likewise.
77809         [XPG3] (log1p): Likewise.
77810         [XPG3] (logb): Likewise.
77811         [XPG3] (nextafter): Likewise.
77812         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77813         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77814         [XPG3] (remainder): Likewise.
77815         [XPG3] (rint): Likewise.
77816         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77817         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77818         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77819         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77820         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77821         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77822         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77823         [UNIX98 || XOPEN2K] (scalb): Expect.
77824         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77825         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77826         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77827         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77828         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77829         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77830         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77831         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77832         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77833         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77834         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77835         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77836         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77837         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77838         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77839         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77840         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77841         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77842         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77843         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77844         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77845         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77846         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77847         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77848         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77849         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77850         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77851         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77852         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77853         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77854         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77855         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77856         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77857         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77858         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77859         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77860         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77861         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77862         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77863         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77864         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77865         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77866         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77867         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77868         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77869         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77870         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77871         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77872         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77873         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77874         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77875         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77876         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77877         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77878         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77879         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77880         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77881         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77882         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77883         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77884         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77885         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77886         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77887         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77888         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77889         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77890         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77891         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77892         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77893         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77894         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77895         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77896         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77897         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77898         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77899         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77900         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77901         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77902         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77903         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77904         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77905         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77906         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77907         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77908         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77909         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77910         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77911         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77912         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77913         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77914         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77915         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77916         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77917         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77918         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77919         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77920         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77921         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77922         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77923         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77924         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77925         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77926         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77927         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77928         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77929         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77930         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77931         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77932         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77933         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77934         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77935         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77936         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77937         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77938         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77939         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77940         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77941         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77942         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77943         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77944         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77945         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77946         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77947         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77948         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77949         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77950         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77951         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77952         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77953         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77954         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77955         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77956         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77957         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77958         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77959         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77960         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77962         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77963         _XOPEN_SOURCE_EXTENDED for XPG4.
77965         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77967         * Makeconfig (localtime): Remove variable.
77968         (inst_localtime-file): Likewise.
77970 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77973         Update.
77974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77975         Update.
77976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77977         Update.
77978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77979         Update.
77980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77981         Update.
77982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77983         Update.
77984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77985         Update.
77986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77987         Update.
77988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77989         Update.
77991 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77993         [BZ #2550]
77994         [BZ #2570]
77995         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
77996         comparisons to determine direction to adjust input.
77997         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
77998         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
77999         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78000         Likewise.
78001         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78002         Likewise.
78003         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78004         Likewise.
78005         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78006         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78007         Likewise.
78008         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78009         Likewise.
78010         * math/libm-test.inc (nexttoward_test): Add more tests.
78012 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78014         [BZ #14040]
78015         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78016         in version GLIBC_2.1, not GLIBC_2.0.
78017         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78018         Likewise.
78020 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78022         [BZ #13942]
78023         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78024         (1 - x) * (1 + x).
78025         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78026         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78027         * math/libm-test.inc (acos_test): Add more tests.
78028         (asin_test): Likewise.
78029         * sysdeps/i386/fpu/libm-test-ulps: Update.
78030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78032         [BZ #14034]
78033         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78034         of square root.
78035         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78036         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78037         * math/libm-test.inc (acos_test_tonearest): New function.
78038         (acos_test_towardzero): Likewise.
78039         (acos_test_downward): Likewise.
78040         (acos_test_upward): Likewise.
78041         (asin_test_tonearest): Likewise.
78042         (asin_test_towardzero): Likewise.
78043         (asin_test_downward): Likewise.
78044         (asin_test_upward): Likewise.
78045         (main): Call the new functions.
78046         * sysdeps/i386/fpu/libm-test-ulps: Update.
78047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78049         [BZ #13884]
78050         [BZ #13924]
78051         * math/e_exp10.c: Include <float.h>.
78052         (__ieee754_exp10): Handle underflow here rather than multiplying
78053         large negative argument by M_LN10.
78054         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78055         of __ieee754_expf.
78056         * math/e_exp10l.c: Include <float.h>.
78057         (__ieee754_exp10l): Handle underflow here rather than multiplying
78058         large negative argument by M_LN10l.
78059         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78060         spurious overflow exception on underflow.
78062 2012-04-29  Marek Polacek  <polacek@redhat.com>
78064         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78065         (__fortify_function): New macro.
78066         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78067         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78068         __extern_always_inline.
78069         * libio/bits/stdio2.h: Likewise.
78070         * libio/bits/stdio.h: Likewise.
78071         * string/string.h: Likewise.
78072         * string/bits/string3.h: Likewise.
78073         * include/stdio.h: Likewise.
78074         * stdlib/bits/stdlib.h: Likewise.
78075         * stdlib/stdlib.h: Likewise.
78076         * rt/bits/mqueue2.h: Likewise.
78077         * rt/mqueue.h: Likewise.
78078         * posix/bits/unistd.h: Likewise.
78079         * posix/unistd.h: Likewise.
78080         * io/bits/poll2.h: Likewise.
78081         * io/bits/fcntl2.h: Likewise.
78082         * io/fcntl.h: Likewise.
78083         * io/sys/poll.h: Likewise.
78084         * misc/bits/syslog.h: Likewise.
78085         * misc/bits/syslog-ldbl.h: Likewise.
78086         * misc/sys/syslog.h: Likewise.
78087         * socket/bits/socket2.h: Likewise.
78088         * socket/sys/socket.h: Likewise.
78089         * debug/tst-chk1.c: Likewise.
78090         * wcsmbs/bits/wchar2.h: Likewise.
78091         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78092         * wcsmbs/wchar.h: Likewise.
78094 2012-04-29  Andreas Jaeger  <aj@suse.de>
78096         * Makerules (tests): Remove enable-check-abi protection.
78097         (check-abi-warn): Remove.
78098         (check-abi-%): Remove check-abi-warn usage.
78100         * configure.in: Remove check-abi configure option.
78101         * configure: Regenerated.
78102         * config.make.in (enable-check-abi): Remove.
78104 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78106         [BZ #14033]
78107         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78108         double functions to double *_finite functions.
78110         [BZ #13941]
78111         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78112         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78113         LDBL_MIN_EXP.
78114         * stdio-common/Makefile (tests): Add tst-sprintf3.
78115         * stdio-common/tst-sprintf3.c: New file.
78117         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78118         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78120 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78122         * conform/conformtest.pl: Remove duplicate typed-constant
78123         handling.
78125 2012-04-28  David S. Miller  <davem@davemloft.net>
78127         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78128         (check-abi-%): Remove AWK script prerequisite and explicit
78129         abilist directory.
78130         (check-abi): Rewrite to just diff the symlist with the abilist.
78131         (config-tls, config-abi-config): Delete, no longer used.
78132         (update-abi-%): Remove AWK script and explicit abilist directory.
78133         (update-abi): Rewrite to simply compare and conditionally copy the
78134         symlist and the sysdep abilist file.  Remove update-abi-config
78135         checks.
78136         * abilist/ld.abilist: Remove.
78137         * abilist/libBrokenLocale.abilist: Remove.
78138         * abilist/libanl.abilist: Remove.
78139         * abilist/libcrypt.abilist: Remove.
78140         * abilist/libdl.abilist: Remove.
78141         * abilist/librt.abilist: Remove.
78142         * abilist/libthread_db.abilist: Remove.
78143         * abilist/libutil.abilist: Remove.
78144         * scripts/extract-abilist.awk: Remove.
78145         * scripts/merge-abilist.awk: Remove.
78146         * sysdeps/generic/libcidn.abilist: New file.
78147         * sysdeps/generic/libnss_compat.abilist: New file.
78148         * sysdeps/generic/libnss_db.abilist: New file.
78149         * sysdeps/generic/libnss_dns.abilist: New file.
78150         * sysdeps/generic/libnss_files.abilist: New file.
78151         * sysdeps/generic/libnss_hesiod.abilist: New file.
78152         * sysdeps/generic/libnss_nis.abilist: New file.
78153         * sysdeps/generic/libnss_nisplus.abilist: New file.
78154         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78155         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78156         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78157         file.
78158         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78159         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78160         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78161         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78162         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78163         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78164         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78165         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78166         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78167         file.
78168         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78169         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78170         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78171         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78172         file.
78173         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78174         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78175         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78176         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78177         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78178         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78179         file.
78180         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78181         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78182         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78183         file.
78184         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78185         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78186         New file.
78187         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78188         New file.
78189         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78190         New file.
78191         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78192         New file.
78193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78194         New file.
78195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78196         New file.
78197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78198         New file.
78199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78200         New file.
78201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78202         New file.
78203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78204         New file.
78205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78206         New file.
78207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78208         New file.
78209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78210         New file.
78211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78212         file.
78213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78214         New file.
78215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78216         New file.
78217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78218         file.
78219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78220         New file.
78221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78222         New file.
78223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78224         file.
78225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78226         New file.
78227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78228         New file.
78229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78230         New file.
78231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78232         New file.
78233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78234         New file.
78235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78236         New file.
78237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78238         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78239         file.
78240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78241         New file.
78242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78243         file.
78244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78245         file.
78246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78247         file.
78248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78249         file.
78250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78251         file.
78252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78253         New file.
78254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78255         file.
78256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78257         file.
78258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78259         New file.
78260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78261         file.
78262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78264         file.
78265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78266         New file.
78267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78268         file.
78269         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78270         file.
78271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78272         file.
78273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78274         file.
78275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78276         file.
78277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78278         New file.
78279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78280         file.
78281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78282         file.
78283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78284         New file.
78285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78286         file.
78287         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78288         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78289         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78290         file.
78291         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78292         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78293         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78294         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78295         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78296         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78297         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78298         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78299         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78300         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78303         file.
78304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78305         New file.
78306         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78307         file.
78308         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78309         file.
78310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78311         file.
78312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78313         file.
78314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78315         file.
78316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78317         New file.
78318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78319         New file.
78320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78321         file.
78322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78323         New file.
78324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78325         file.
78326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78327         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78328         file.
78329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78330         New file.
78331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78332         file.
78333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78334         file.
78335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78336         file.
78337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78338         file.
78339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78340         file.
78341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78342         New file.
78343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78344         New file.
78345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78346         file.
78347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78348         New file.
78349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78350         file.
78352 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78354         * conform/conformtest.pl: Fix typo in handling typed-constant from
78355         allow-header.
78357 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78359         * README: Cut down references to pre-2.6 Linux kernels and
78360         Linuxthreads.  Update lists of configurations in libc and ports
78361         and sort alphabetically.  Say "or newer" with Linux kernel version
78362         requirements.
78364         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78366 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78368         [BZ #887]
78369         * math/libm-test.inc (logb_test_downward): New test to expose
78370         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78371         rounding mode.
78373 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78375         [BZ #14027]
78376         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78377         to be done.
78378         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78379         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78381 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78383         * sysdeps/unix/i386/brk.S: Remove file.
78384         * sysdeps/unix/i386/dl-brk.S: Likewise.
78385         * sysdeps/unix/i386/pipe.S: Likewise.
78386         * sysdeps/unix/i386/sigreturn.S: Likewise.
78387         * sysdeps/unix/i386/syscall.S: Likewise.
78388         * sysdeps/unix/i386/vfork.S: Likewise.
78389         * sysdeps/unix/i386/wait.S: Likewise.
78391         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78392         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78394         * configure.in (arm*-none*): Do not allow without
78395         --enable-hacker-mode.
78396         (netbsd*): Remove case setting base_os.
78397         (386bsd*): Likewise.
78398         (freebsd*): Likewise.
78399         (bsdi*): Likewise.
78400         (osf*): Likewise.
78401         (sunos*): Likewise.
78402         (ultrix*): Likewise.
78403         (newsos*): Likewise.
78404         (dynix*): Likewise.
78405         (*bsd*): Likewise.
78406         (sysv*): Likewise.
78407         (isc*): Likewise.
78408         (esix*): Likewise.
78409         (sco*): Likewise.
78410         (minix*): Likewise.
78411         (irix4*): Likewise.
78412         (irix6*): Likewise.
78413         (solaris[2-9]*): Likewise.
78414         (none): Likewise.
78415         * configure: Regenerated.
78417 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78419         [BZ #11521]
78420         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78421         overflow or cancellation in calculating denominator.
78422         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78423         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78424         down expression to avoid unexpected rounding in newer GCCs.
78425         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78427 2012-04-26  David S. Miller  <davem@davemloft.net>
78429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78430         long-double compat symbols.
78431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78445 2012-04-25  David S. Miller  <davem@davemloft.net>
78447         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78448         HWCAP_* values only after the memory barriers have been defined.
78449         (atomic_full_barrier): Define.
78450         (atomic_read_barrier): Define.
78451         (atomic_write_barrier): Define.
78453 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78455         * shlib-versions: Add libgcc_s version information.
78456         * sysdeps/generic/libgcc_s.h: Remove.
78457         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78458         libgcc_s.h.
78459         * sysdeps/gnu/unwind-resume.c: Likewise.
78460         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78462 2012-04-25  David S. Miller  <davem@davemloft.net>
78464         * sysdeps/unix/sparc/brk.S: Delete.
78465         * sysdeps/unix/sparc/dl-brk.S: Delete.
78466         * sysdeps/unix/sparc/pipe.S: Delete.
78467         * sysdeps/unix/sparc/sysdep.S: Delete.
78468         * sysdeps/unix/sparc/sysdep.h: Delete.
78469         * sysdeps/unix/sparc/vfork.S: Delete.
78470         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78471         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78472         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78473         (ret_ERRVAL, r0, r1, MOVE): Define.
78474         (JUMPTARGET): Remove.
78475         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78476         sysdeps/unix/sparc/sysdep.h
78477         (ENTRY, END): Remove.
78478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78480 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78482         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78483         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78484         -DIS_IN_build.
78486         * timezone/README: Update upstream location and email address for
78487         tzcode and tzdata.
78488         * timezone/zdump.c: Update from tzcode 2012b.
78489         * timezone/zic.c: Likewise.
78491         * configure.in (libc_cv_as_needed): Remove test.
78492         * configure: Regenerated.
78493         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78494         conditional definition.
78495         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78496         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78497         * config.make.in (have-as-needed): Remove variable.
78499 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78500             Paul Pluzhnikov  <ppluzhnikov@google.com>
78502         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78503         strings correctly.
78505 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78507         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78508         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78509         * sysdeps/sh/strlen.S: Likewise.
78511 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78513         * sysdeps/unix/fork.S: Remove file.
78514         * sysdeps/unix/i386/fork.S: Likewise.
78515         * sysdeps/unix/sparc/fork.S: Likewise.
78517         * sysdeps/unix/system.c: Remove file.
78518         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78520         * sysdeps/unix/getegid.S: Remove file.
78521         * sysdeps/unix/geteuid.S: Likewise.
78523 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78525         * scripts/check-localplt.awk: New file.
78526         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78527         of diff.
78528         * scripts/data/localplt-generic.data: Add a comment.
78530         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78531         NODE when __dir_mkfile failed.
78532         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78533         Reported by Ludovic Courtès <ludo@gnu.org>.
78535 2012-04-24  Andreas Jaeger  <aj@suse.de>
78537         * Makerules (common-clean): Also remove gen-as-const-headers
78538         files.
78540 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78542         * Makerules (native-compile): Do not change working directory for
78543         build.  Use $(OUTPUT_OPTION) in command.
78544         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78546 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78548         [BZ #13886]
78549         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78550         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78551         * math/libm-test.inc (floor_test): Add more tests.
78552         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78554 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78556         * sysdeps/unix/getdents.c: Remove file.
78557         * sysdeps/unix/sysv/getdents.c: Likewise.
78558         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78560         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78561         sysdeps/unix/mman/syscalls.list.
78562         (mmap): Likewise.
78563         (mprotect): Likewise.
78564         (msync): Likewise.
78565         (munmap): Likewise.
78566         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78567         * sysdeps/unix/mman/syscalls.list: Remove.
78568         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78570         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78571         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78572         * configure: Regenerated.
78573         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78574         $(libgcc_s_suffix).
78575         * config.make.in (libgcc_s_suffix): Remove variable.
78577 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78579         * sysdeps/unix/sysv/gethostname.c: Move to ...
78580         * sysdeps/posix/gethostname.c: ... here.
78582         * sysdeps/unix/execve.S: Remove file.
78584         * sysdeps/unix/_exit.S: Remove file.
78586 2012-04-23  Andreas Jaeger  <aj@suse.de>
78588         [BZ #13739]
78589         * manual/Makefile: Remove make dist support, there's no
78590         need for a stand-alone documentation tar ball.
78591         (TEXI2DVI): Define always, it's not in Makeconfig.
78592         (dist): Removed.
78593         (tar-it): Removed.
78594         (edition): Removed.
78595         (glibc-doc-$(edition).tar): Removed
78596         (%.Z): Removed.
78597         (%.gz): Removed.
78598         (%.uu): Removed.
78599         (ETAGS): Remove, it's in Makeconfig.
78600         (move-if-change): Remove, it's in Makeconfig.
78602 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78604         [BZ #13970]
78605         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78606         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78607         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78608         (strtod_l, strtof_l, strtold_l): Remove __wur.
78609         It is not necessarily an error to ignore strtol's return value.
78610         One can reliably look at the stored endptr to decide whether
78611         the number had valid syntax.
78613 2012-04-21  Andreas Jaeger  <aj@suse.de>
78615         [BZ #13739]
78616         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78618 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78620         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78621         * sysdeps/unix/sysv/Versions: Remove file.
78623 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78625         [BZ #13927]
78626         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78628 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78630         [BZ #7064]
78631         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78632         version from __vm86.
78634 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78636         * sysdeps/unix/common/lxstat.c: Remove file.
78637         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78639         * sysdeps/unix/sysv/Makefile: Remove file.
78641         * sysdeps/unix/sysv/direct.h: Remove file.
78643         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78644         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78645         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78646         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78647         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78648         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78649         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78651         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78653         * sysdeps/unix/xmknod.c: Remove file.
78654         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78656         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78658         * sysdeps/unix/sysv/i386/time.S: Remove file.
78660         * sysdeps/unix/fxstat.c: Remove file.
78661         * sysdeps/unix/xstat.c: Likewise.
78662         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78664         * sysdeps/unix/sysv/sigaction.c: Remove file.
78666         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78667         (sysdep_headers): Remove variable.
78668         [termio.h not in sysdep_headers] (generated): Likewise.
78669         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78670         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78671         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78672         * sysdeps/unix/sysv/tcflow.c: Likewise.
78673         * sysdeps/unix/sysv/tcflush.c: Likewise.
78674         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78675         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78676         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78677         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78678         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78680         * sysdeps/unix/siglist.c: Remove file.
78682         * sysdeps/unix/getppid.S: Remove file.
78684         * sysdeps/unix/mkdir.c: Remove file.
78685         * sysdeps/unix/rmdir.c: Likewise.
78687 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78689         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78690         ERR_MAX value.
78691         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78692         errlist-compat value.
78694 2012-04-18  David S. Miller  <davem@davemloft.net>
78696         * sysdeps/generic/memcopy.h (reg_char): Delete.
78697         * debug/strcat_chk.c: Use char, not reg_char.
78698         * debug/strcpy_chk.c: Likewise.
78699         * debug/strncat_chk.c: Likewise.
78700         * debug/strncpy_chk.c: Likewise.
78701         * string/memchr.c: Likewise.
78702         * string/memrchr.c: Likewise.
78703         * string/rawmemchr.c: Likewise.
78704         * string/strcat.c: Likewise.
78705         * string/strchr.c: Likewise.
78706         * string/strchrnul.c: Likewise.
78707         * string/strcmp.c: Likewise.
78708         * string/strcpy.c: Likewise.
78709         * string/strncat.c: Likewise.
78710         * string/strncmp.c: Likewise.
78711         * string/strncpy.c: Likewise.
78713 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78715         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78716         __builtin_memcopy is called when src and dest ranges are known to not
78717         overlap.
78719 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78721         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78722         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78723         fwd_align_merge macro call.
78724         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78725         bwd_align_merge macro call.
78726         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78728 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78730         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78731         bwd_align_merge macros.
78732         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78733         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78734         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78736 2012-04-18  David S. Miller  <davem@davemloft.net>
78738         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78740 2012-04-18  Andreas Jaeger  <aj@suse.de>
78742         [BZ #6794]
78743         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78744         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78745         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78747         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78748         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78749         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78751         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78752         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78753         Adjust for changed ldbl-128 files.
78755         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78756         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78757         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78759 2012-04-17  David S. Miller  <davem@davemloft.net>
78761         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78763 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78765         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78766         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78767         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78768         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78769         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78770         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78772 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78774         [BZ #6794]
78775         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78776         * math/libm-test.inc: Add ilogb errno and exception tests.
78777         * math/w_ilogb.c: New file: ilogb wrapper.
78778         * math/w_ilogbf.c: New file: ilogbf wrapper.
78779         * math/w_ilogbl.c: New file: ilogbl wrapper.
78780         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78781         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78782         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78783         exception being thrown with 0.0 as argument.
78784         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78785         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78786         exception being thrown with 0.0 as argument.
78787         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78788         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78789         exception being thrown with 0.0 as argument.
78790         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78791         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78792         exception being thrown with 0.0 as argument.
78793         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78794         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78795         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78796         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78797         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78798         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78799         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78800         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78801         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78803 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78805         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78806         with altivec.
78808 2012-04-16  Marek Polacek  <polacek@redhat.com>
78810         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78812 2012-04-16  Marek Polacek  <polacek@redhat.com>
78814         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78815         operands of fdivp instruction.
78817 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78819         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78820         * elf/tst-auditmod3b.c: Likewise.
78821         * elf/tst-auditmod4b.c: Likewise.
78822         * elf/tst-auditmod5b.c: Likewise.
78823         * elf/tst-auditmod6b.c: Likewise.
78824         * elf/tst-auditmod6c.c: Likewise.
78825         * elf/tst-auditmod7b.c: Likewise.
78826         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78827         * sysdeps/x86_64/preconfigure.in: Likewise.
78828         * sysdeps/x86_64/preconfigure: Regenerated.
78830 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78832         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78833         __ILP32__.
78835 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78837         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78838         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78840 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78842         [BZ #13973]
78843         * locale/iso-639.def: Fix gl language name. Spotted by
78844         Yaron Shahrabani.
78846 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78848         [BZ #2074]
78849         * libio/libio.h (__io_write_fn): Update comment.
78851 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78853         [BZ #2074]
78854         * stdio.texi (Hook Functions): The user provided writer function
78855         is not allowed to return -1.
78857 2012-04-11  David S. Miller  <davem@davemloft.net>
78859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78861 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78863         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78864         Add a leading slash to rtkaio.
78866 2012-04-11  Jim Meyering  <meyering@redhat.com>
78868         [BZ #11959]
78869         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78870         It is not necessarily an error to ignore fwrite's return
78871         value.  One can reliably use ferror to test for errors after
78872         the fact.
78874 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78876         * bits/types.h (__snseconds_t): New type.
78877         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78879         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78880         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78881         (__SNSECONDS_T_TYPE): Likewise.
78882         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78883         (__SNSECONDS_T_TYPE): Likewise.
78884         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78885         (__SNSECONDS_T_TYPE): Likewise.
78887 2012-04-10  Andreas Jaeger  <aj@suse.de>
78889         [BZ #2636]
78890         * manual/time.texi (Processor Time): Return type of times is
78891         elapsed real time since an arbitrary point in the past.
78892         (CPU Time): Move CLK_TCK from here...
78893         (Processor Time): ...to here.  Correct description.
78894         * manual/conf.texi (Constants for Sysconf): Correct description of
78895         _SC_CLK_TCK.
78897 2012-04-10  David S. Miller  <davem@davemloft.net>
78899         [BZ #13967]
78900         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78901         where the is a gap between DT_REL(A) and DT_JMPREL.
78903 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78905         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78906         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78907         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78909 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78911         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78912         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78913         (dl_main): Handle --inhibit-cache.
78914         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78915         _dl_inhibit_cache.
78916         * elf/dl-load.c (_dl_map_object): Use it.
78917         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78919 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78921         [BZ #13872]
78922         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78923         (__ieee754_powl): Saturate large exponents rather than testing for
78924         overflow of y*log2(x).
78925         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78926         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78927         exceptions.
78929         [BZ #11521]
78930         * math/s_ctan.c: Include <float.h>.
78931         (__ctan): Avoid internal overflow or cancellation in calculating
78932         denominator.
78933         * math/s_ctanf.c: Likewise.
78934         * math/s_ctanl.c: Likewise.
78935         * math/s_ctanh.c: Likewise.
78936         * math/s_ctanhf.c: Likewise.
78937         * math/s_ctanhl.c: Likewise.
78938         * math/libm-test.inc (ctan_test): Add more tests.
78939         (ctanh_test): Likewise.
78940         * sysdeps/i386/fpu/libm-test-ulps: Update.
78941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78943 2012-04-09  Andreas Jaeger  <aj@suse.de>
78945         [BZ #6894]
78946         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78947         is an optional BSD extension.
78949         [BZ #10254]
78950         * manual/stdio.texi (Opening Streams): Document additional fopen
78951         parameters.
78953 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78955         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78956         %eax without telling the compiler.
78958 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78960         [BZ # 13963]
78961         * manual/install.texi: Use sourceware.org.
78963 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78965         [BZ #13873]
78966         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78967         (__ieee754_pow): Generate overflow and underflow using huge*huge
78968         and tiny*tiny rather than just returning constant infinity or zero
78969         for large exponents.
78970         * math/libm-test.inc (pow_test): Require overflow exceptions for
78971         applicable cases of large exponents.
78973         [BZ #706]
78974         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78975         (__ieee754_pow): Use iterative multiplication algorithm only for
78976         integer exponents with absolute value below 1024.  Check for odd
78977         integer exponents when using algorithm for real exponents.
78978         * math/libm-test.inc (pow_test): Add more tests.
78979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78981 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78983         [BZ #13705]
78984         * math/libm-test.inc (exp_test): Do not allow overflow exception
78985         on underflow test.
78987 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78989         [BZ #13705]
78990         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
78991         instead of __kernel_standard_f.
78993 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
78995         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78996         * sysdeps/x86_64/memset_chk.S: Likewise.
78998 2012-04-08  Andreas Jaeger  <aj@suse.de>
79000         [BZ #10153]
79001         * manual/startup.texi (Environment Access): Describe return value
79002         for putenv and setenv.
79004         [BZ #6895]
79005         * manual/filesys.texi (Directory Entries): Add description for
79006         DT_LNK.
79008         [BZ #6890]
79009         * manual/filesys.texi (Directory Entries): Clarify that it's file
79010         system not operating system in the description of DT_UNKNOWN.
79012         [BZ #6578]
79013         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79015 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79017         [BZ #6649]
79018         * manual/llio.texi (Opening and Closing Files): Add cross
79019         reference to explain mode argument.
79021 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79023         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79024         * sysdeps/x86_64/memset_chk.S: Likewise.
79026 2012-04-07  David S. Miller  <davem@davemloft.net>
79028         * elf/elf.h (R_SPARC_WDISP10): Define.
79029         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79030         R_SPARC_SIZE32.
79031         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79032         R_SPARC_SIZE64 and R_SPARC_H34.
79034 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79036         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79037         conditions and remove no longer applicable assertion.
79039 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79041         * bits/byteswap.h: Include <features.h>.
79042         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79043         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79045 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79047         * bits/byteswap.h (__bswap_16): Removed.
79048         Include <bits/byteswap-16.h> to get __bswap_16.
79049         * sysdeps/i386/bits/byteswap.h: Likewise.
79050         * sysdeps/s390/bits/byteswap.h: Likewise.
79051         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79052         * bits/byteswap-16.h: New file.
79053         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79054         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79055         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79056         * string/Makefile (headers): Add bits/byteswap-16.h.
79058 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79060         [BZ #13895]
79061         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79062         extra indirection.
79063         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79064         * nss/tst-nss-static.c: New.
79066 2012-04-06  Robert Millan  <rmh@gnu.org>
79068         [BZ #6486]
79069         * manual/llio.texi (File Position Primitive): lseek
79070         refers to WHENCE when it really means OFFSET.
79072 2012-04-06  Andreas Jaeger  <aj@suse.de>
79074         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79075         strncmp declarations.
79077         * abilist/libc.abilist: Add __poll and __ppoll.
79079 2012-04-05  David S. Miller  <davem@davemloft.net>
79081         * scripts/check-local-headers.sh: Accept a host triplet in the
79082         path matched by the exclude regexp.
79084         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79085         definition.
79086         * sysdeps/powerpc/powerpc32/dl-machine.h
79087         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79088         * sysdeps/s390/s390-32/dl-machine.h
79089         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79090         * sysdeps/sparc/sparc32/dl-machine.h
79091         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79092         * sysdeps/sparc/sparc64/dl-machine.h
79093         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79095         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79096         lazy binding.
79097         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79098         undefined symbol errors.
79100         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79101         DT_NEEDED entries.
79103 2012-04-05  Michael Matz  <matz@suse.de>
79105         [BZ #13592]
79106         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79108 2012-04-05  Andreas Jaeger  <aj@suse.de>
79110         [BZ #13908]
79111         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79112         comment.
79114 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79116         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79117         which ROUND is no valid rounding mode.
79119 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79121         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79122         read again.
79123         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79125 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79127         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79128         an exception using FPU order intentionally.
79130 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79132         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79133         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79134         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79135         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79137 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79139         [BZ #12340]
79140         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79141         EINVAL when BUFLEN is too smal.
79143 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79145         [BZ #13553]
79146         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79147         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79149 2012-04-03  Andreas Jaeger  <aj@suse.de>
79151         [BZ #13938]
79152         * manual/setjmp.texi (System V contexts): Fix sentence.
79154         [BZ #13926]
79155         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79156         New macro for this case.
79157         [!__GNUC__] (__bswap_64): New inline function for this case.
79158         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79159         * bits/byteswap.h: Likewise.
79160         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79161         ull, guard with __GLIBC_HAVE_LONG_LONG.
79163         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79164         __GLIBC_HAVE_LONG_LONG.
79166         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79167         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79169 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79171         [BZ #13691]
79172         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79173         inptr and inend, rather than using last_ch.
79175 2012-04-02  David S. Miller  <davem@davemloft.net>
79177         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79178         * stdio-common/printf-parse.h (read_int): Change return type to
79179         'int', return -1 on INT_MAX overflow.
79180         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79181         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79182         overflows INT_MAX.  Check for overflow of in-format-string precision
79183         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79184         SIZE_MAX not INT_MAX for integer overflow test.
79185         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79186         skip the construct in the format string but do not record anything.
79187         * stdio-common/bug22.c: Adjust to test both width/prevision
79188         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79189         explicitly for proper errno values.
79191 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79193         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79194         CHAR_MAX.
79195         * string/test-strcmp.c [! WIDE]: Likewise.
79196         * time/tst-mktime2.c: Likewise for INT_MAX.
79197         * string/test-string.h: #include <sys/param.h> for MIN.
79199         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79200         * sysdeps/i386/init-first.c (init): Likewise.
79201         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79202         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79203         * sysdeps/sh/init-first.c (init): Likewise.
79205 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79207         * po/ru.po: Update from translation team.
79208         * po/vi.po: Likewise.
79210 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79212         * resolv/nss_dns/dns-host.c: Merge copyright years.
79214 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79216         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79217         Optimize memcpy with prefetch if
79218         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79219         src, dst pointers have unequal 16 byte alignments.
79221 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79223         [BZ #13928]
79224         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79225         from a CNAME entry and return the minimum ttl for the query.
79226         (gaih_getanswer_slice): Likewise.
79228 2012-03-30  Jeff Law  <law@redhat.com>
79230         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79231         due to long keys.
79232         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79233         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79235         * resolv/nss_dns/dns-host.c: Update copyright year.
79237 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79239         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79240         requests to save a system call.  Fix check that all bytes are sent.
79242         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79243         comments for sendmmsg.
79245 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79247         [BZ #13691]
79248         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79249         with only 1 character between 0x0041 and 0x01b0.
79250         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79251         * wcsmbs/tst-mbsnrtowcs.c: New file.
79253 2012-03-29  David S. Miller  <davem@davemloft.net>
79255         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79256         small copies by hand.
79258 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79260         [BZ #13761]
79261         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79262         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79263         group memberships.
79265 2012-03-28  David S. Miller  <davem@davemloft.net>
79267         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79268         that branches into memcpy.
79269         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79270         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79271         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79272         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79273         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79274         bits.
79275         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79276         implementation too.
79277         * sysdeps/sparc/mempcpy.S: New file.
79279         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79280         the IFUNC routine in the libc case.
79281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79283         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79284         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79285         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79286         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79287         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79288         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79289         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79290         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79292         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79293         loop to 256 bytes instead of 64 bytes and fix test signedness.
79295         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79296         * sysdeps/sparc/sparc32/Makefile: rather than here...
79297         * sysdeps/sparc/sparc64/Makefile: and here.
79299 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79301         * malloc/mallocbug.c: Avoid warnings about unused variables.
79303 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79305         [BZ #13760]
79306         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79307         in the right place. Discard and retry query if response is
79308         larger than input buffer size.
79310 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79312         [BZ #369]
79313         [BZ #2678]
79314         [BZ #3866]
79315         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79316         x for large integer exponent.
79317         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79318         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79319         sign of result as needed afterwards.
79320         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79321         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79322         result for underflowing pow the same as for overflow.
79323         (__kernel_standard_l): Handle powl overflow and underflow here
79324         rather than calling __kernel_standard.
79325         * math/libm-test.inc (pow_test): Add more tests.
79327         [BZ #3868]
79328         [BZ #13879]
79329         [BZ #13910]
79330         [BZ #13911]
79331         [BZ #13912]
79332         [BZ #13913]
79333         [BZ #13915]
79334         [BZ #13916]
79335         [BZ #13917]
79336         [BZ #13918]
79337         [BZ #13919]
79338         [BZ #13920]
79339         [BZ #13921]
79340         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79341         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79342         (__kernel_standard_l): New function.
79343         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79344         __kernel_standard.
79345         * math/w_acosl.c (__acosl): Likewise.
79346         * math/w_asinl.c (__asinl): Likewise.
79347         * math/w_atan2l.c (__atan2l): Likewise.
79348         * math/w_atanhl.c (__atanhl): Likewise.
79349         * math/w_coshl.c (__coshl): Likewise.
79350         * math/w_exp10l.c (__exp10l): Likewise.
79351         * math/w_exp2l.c (__exp2l): Likewise.
79352         * math/w_fmodl.c (__fmodl): Likewise.
79353         * math/w_hypotl.c (__hypotl): Likewise.
79354         * math/w_j0l.c (__j0l, __y0l): Likewise.
79355         * math/w_j1l.c (__j1l, __y1l): Likewise.
79356         * math/w_jnl.c (__jnl, __ynl): Likewise.
79357         * math/w_lgammal.c (__lgammal): Likewise.
79358         * math/w_log10l.c (__log10l): Likewise.
79359         * math/w_log2l.c (__log2l): Likewise.
79360         * math/w_logl.c (__logl): Likewise.
79361         * math/w_powl.c (__powl): Likewise.
79362         * math/w_remainderl.c (__remainderl): Likewise.
79363         * math/w_scalbl.c (sysv_scalbl): Likewise.
79364         * math/w_sinhl.c (__sinhl): Likewise.
79365         * math/w_sqrtl.c (__sqrtl): Likewise.
79366         * math/w_tgammal.c (__tgammal): Likewise.
79367         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79368         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79369         * math/libm-test.inc (acos_test): Add more tests.
79370         (acosh_test): Likewise.
79371         (asin_test): Likewise.
79372         (atanh_test): Likewise.
79373         (exp_test): Likewise.
79374         (exp10_test): Likewise.
79375         (exp2_test): Likewise.
79376         (expm1_test): Likewise.
79377         (lgamma_test): Likewise.
79378         (log_test): Likewise.
79379         (log10_test): Likewise.
79380         (log1p_test): Likewise.
79381         (log2_test): Likewise.
79382         (pow_test): Do not allow some spurious overflow exceptions.
79383         (sqrt_test): Add more tests.
79384         (tgamma_test): Likewise.
79385         (y0_test): Likewise.
79386         (y1_test): Likewise.
79387         (yn_test): Likewise.
79389 2012-03-27  Anton Blanchard  <anton@samba.org>
79391         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79392         MAP_HUGETLB.
79393         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79394         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79395         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79397 2012-03-27  David S. Miller  <davem@davemloft.net>
79399         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79401         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79402         have-as-vis3 check.
79404 2012-03-27  Andreas Jaeger  <aj@suse.de>
79406         * sysdeps/x86_64/elf/configure.in: Moved to ...
79407         * sysdeps/x86_64/configure.in: ... here.
79408         * sysdeps/x86_64/elf/start.S: Moved to ...
79409         * sysdeps/x86_64/start.S: ... here.
79410         * sysdeps/x86_64/elf/configure: Delete.
79412         * sysdeps/x86_64/configure.in: Merge contents from
79413         sysdeps/i386/configure.in (without i686 check).
79415         * sysdeps/i386/elf/Versions: Merge into ...
79416         * sysdeps/i386/Versions: ... this.
79417         * sysdeps/i386/elf/Versions: Delete file.
79418         * sysdeps/i386/elf/start.S: Moved to ...
79419         * sysdeps/i386/start.S: ...here.
79420         * sysdeps/i386/elf/configure.in: Merge into...
79421         * sysdeps/i386/configure.in: ...here.
79422         * sysdeps/i386/elf/configure.in: Delete file.
79423         * sysdeps/i386/elf/configure: Delete file.
79425         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79426         * debug/backtracesyms.c: ... here.
79427         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79428         * debug/backtracesymsfd.c: ... here.
79429         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79430         * sysdeps/generic/ifunc-sel.h: ... here.
79432         * sysdeps/unix/i386/start.c: Delete file.
79433         * sysdeps/unix/sparc/start.c: Delete file.
79434         * sysdeps/unix/start.c: Delete file.
79436         * sysdeps/sh/elf/configure.in: Moved to ...
79437         * sysdeps/sh/configure.in: ... here.
79438         * sysdeps/sh/elf/start.S: Moved to ...
79439         * sysdeps/sh/start.S: ... here.
79440         * sysdeps/sh/elf/configure: Delete file.
79442         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79443         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79444         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79445         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79446         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79447         * sysdeps/powerpc/powerpc64/start.S: here.
79448         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79449         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79450         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79451         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79452         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79454         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79455         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79456         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79457         * sysdeps/powerpc/powerpc32/start.S: ... here.
79458         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79459         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79460         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79462         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79463         * sysdeps/powerpc/ifunc-sel.h: ... here.
79464         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79465         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79467         * sysdeps/sparc/elf/configure.in: Moved to ...
79468         * sysdeps/sparc/configure.in: ... here.
79469         * sysdeps/sparc/elf/configure: Delete file.
79470         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79471         * sysdeps/sparc/sparc32/start.S: ... here.
79472         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79473         * sysdeps/sparc/sparc64/start.S: ... here.
79474         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79475         * sysdeps/sparc/sparc32/Makefile: ... this.
79476         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79477         * sysdeps/sparc/sparc64/Makefile: ... this.
79479         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79480         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79481         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79482         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79483         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79484         * sysdeps/s390/s390-32/setjmp.S: ... here.
79485         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79486         * sysdeps/s390/s390-32/configure.in: ... here.
79487         * sysdeps/s390/s390-32/elf/configure: Delete file.
79488         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79489         * sysdeps/s390/s390-32/start.S: ... here.
79491         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79492         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79493         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79494         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79495         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79496         * sysdeps/s390/s390-64/setjmp.S: ... here.
79497         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79498         * sysdeps/s390/s390-64/configure.in: ... here
79499         * sysdeps/s390/s390-64/elf/configure: Delete file.
79500         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79501         * sysdeps/s390/s390-64/start.S: ... here.
79502         * sysdeps/s390/s390-64/elf/configure: Delete.
79504         * configure.in: Remove support for elf directories in sysdeps.
79506         * configure: Regenerated.
79507         * sysdeps/i386/configure: Regenerated.
79508         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79509         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79510         * sysdeps/s390/s390-32/configure: Regenerated.
79511         * sysdeps/s390/s390-64/configure: Regenerated.
79512         * sysdeps/sh/configure: Regenerated.
79513         * sysdeps/sparc/configure: Regenerated.
79514         * sysdeps/x86_64/configure: Regenerated.
79516 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79520         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79521         denormal result into account.
79523 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79525         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79526         Reported by Allan McRae <allan@archlinux.org>.
79528 2012-03-23  Jeff Law  <law@redhat.com>
79530         * nss/getnssent.c (__nss_getent): Fix typo.
79532 2012-03-23  David S. Miller  <davem@davemloft.net>
79534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79536 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79538         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79539         to pad to uint64_t for each field.
79540         (dl_tls_index): Replace unsigned long with uint64_t.
79542 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79543         Paul Pluzhnikov  <ppluzhnikov@google.com>
79545         [BZ #6528]
79546         * grp/Makefile (otherlibs): Don't set it.
79547         * inet/Makefile (otherlibs): Likewise.
79548         * login/Makefile (otherlibs): Likewise.
79549         * nscd/Makefile (otherlibs): Likewise.
79550         * posix/Makefile (otherlibs): Likewise.
79551         * pwd/Makefile (otherlibs): Likewise.
79552         * rt/Makefile (otherlibs): Likewise.
79553         * sunrpc/Makefile (otherlibs): Likewise.
79554         * nss/Makefile (otherlibs): Likewise.
79555         Add libnss_files to routines and static-only-routines.
79556         ($(objpfx)getent): Remove rule.
79557         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79558         static-only-routines.
79560 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79562         [BZ #13892]
79563         * math/s_cexp.c: Include <float.h>.
79564         (__cexp): Handle exp result overflowing not necessarily
79565         overflowing both real and imaginary parts of result.
79566         * math/s_cexpf.c: Likewise.
79567         * math/s_cexpl.c: Likewise.
79568         * math/libm-test.inc (cexp_test): Add more tests.
79569         * sysdeps/i386/fpu/libm-test-ulps: Update.
79570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79572 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79574         * include/link.h (ELFW): New macro.
79575         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79576         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79578 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79580         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79581         with uint64_t.
79583 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79585         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79586         declaration.
79587         (struct La_x32_retval): Likewise.
79589 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79591         * sysdeps/x86_64/preconfigure.in: New file.
79592         * sysdeps/x86_64/preconfigure: New generated file.
79594 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79596         [BZ #13824]
79597         * math/e_exp2l.c: Include <float.h>.
79598         (__ieee754_exp2l): Handle overflow and underflow cases
79599         separately.  Only pass fractional part of argument to
79600         __ieee754_expl.
79601         * math/libm-test.inc (exp2_test): Add more tests.
79603         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79604         negating x to take absolute value.
79605         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79606         Likewise.
79607         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79608         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79609         Likewise.
79610         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79611         computing low part if x was negated.
79612         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79614 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79616         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79617         la_x32_gnu_pltexit.
79618         (pltexit): Cast int_retval to ptrdiff_t.
79619         * elf/tst-auditmod3b.c: Likewise.
79620         * elf/tst-auditmod4b.c: Likewise.
79621         * elf/tst-auditmod5b.c: Likewise.
79622         * elf/tst-auditmod6b.c: Likewise.
79623         * elf/tst-auditmod6c.c: Likewise.
79624         * elf/tst-auditmod7b.c: Likewise.
79626         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79627         and x32_gnu_pltexit.
79629         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79630         __ELF_NATIVE_CLASS.
79631         (La_x32_regs): New macro.
79632         (La_x32_retval): Likewise.
79633         (la_x32_gnu_pltenter): New function prototype.
79634         (la_x32_gnu_pltexit): Likewise.
79636 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79638         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79639         exponent.
79641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79643         * configure.in (libc_cv_cc_nofma): Check for option to disable
79644         generation of FMA instructions.
79645         * configure: Regenerate.
79646         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79647         * sysdeps/ieee754/dbl-64/Makefile: New file.
79648         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79649         Remove brandred-fma4.
79650         (CFLAGS-brandred-fma4.c): Remove.
79651         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79652         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79653         define.
79654         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79655         define.
79657 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79659         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79660         LLONG_MAX != LONG_MAX.
79661         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79662         (_fitoa_word): Likewise.
79663         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79664         LLONG_MAX != LONG_MAX.
79665         * stdio-common/_itowa.h: Include <_itoa.h>.
79666         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79667         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79668         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79669         only if not defined.
79670         (_ITOA_WORD_TYPE): Likewise.
79671         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79672         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79674 2012-03-21  David S. Miller  <davem@davemloft.net>
79676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79678 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79680         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79681         of x86_64 when setting libc_cv_slibdir, libdir and
79682         libc_cv_localedir.
79683         * sysdeps/unix/sysv/linux/configure: Regenerated.
79685 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79687         * manual/lang.texi (Old Varargs): Remove section.
79688         (How Variadic): Update menu.
79689         (va_start): Do not mention varargs.h.
79691 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79692             Joseph Myers  <joseph@codesourcery.com>
79694         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79695         link test.
79696         * configure: Regenerated.
79698 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79700         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79701         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79702         conformtest.pl
79704 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79706         * NOTES: Remove.
79707         * Makefile (files-for-dist): Remove NOTES.
79708         (NOTES): Remove rule.
79709         * README: Don't refer to NOTES.
79710         * manual/creature.texi: Don't include macros.texi.
79711         * manual/intro.texi (creature.texi): Remove comment referring to
79712         NOTES.
79714         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79715         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79716         * configure: Regenerated.
79717         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79718         LIBC_TRY_CC_OPTION.
79719         (libc_cv_as_i686): Likewise.
79720         (libc_cv_cc_avx): Likewise.
79721         (libc_cv_cc_sse2avx): Likewise.
79722         (libc_cv_cc_fma4): Likewise.
79723         (libc_cv_cc_novzeroupper): Likewise.
79724         * sysdeps/i386/configure: Regenerated.
79726         [BZ #13883]
79727         * sysdeps/i386/fpu/s_cexp.S: Remove.
79728         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79729         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79730         * math/libm-test.inc (cexp_test): Add more tests.
79731         * sysdeps/i386/fpu/libm-test-ulps: Update.
79732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79734 2012-03-21  Allan McRae  <allan@archlinux.org>
79736         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79738 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79740         [BZ #13871]
79741         * math/w_exp2.c: Do not include <float.h>.
79742         (o_threshold, u_threshold): Remove.
79743         (__exp2): Calculate result before checking finiteness and calling
79744         __kernel_standard.
79745         * math/w_exp2f.c: Likewise.
79746         * math/w_exp2l.c: Likewise.
79747         * math/libm-test.inc (exp2_test): Require overflow exception for
79748         1e6 input.
79750         [BZ #3866]
79751         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79752         range of signed 64-bit integers before using fistpll.  Remove
79753         checks for whether integers fit in mantissa bits.
79754         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79755         the range of signed 32-bit integers before using fistpl.  Remove
79756         checks for whether integers fit in mantissa bits.
79757         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79758         (__ieee754_powl): Test for y outside the range of signed 64-bit
79759         integers before using fistpll.  Reduce 64-bit values to 63-bit
79760         ones as needed.
79761         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79762         divide-by-zero is raised for zero to large negative powers.
79763         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79764         (__ieee754_powl): Test for y outside the range of signed 64-bit
79765         integers before using fistpll.  Reduce 64-bit values to 63-bit
79766         ones as needed.
79767         * math/libm-test.inc (pow_test): Add more tests.
79769 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79771         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79772         <stdio-common/_itoa.h>.
79773         * debug/segfault.c: Likewise.
79774         * elf/dl-cache.c: Likewise.
79775         * elf/dl-minimal.c: Likewise.
79776         * elf/dl-misc.c: Likewise.
79777         * elf/dl-sysdep.c: Likewise.
79778         * elf/dl-version.c: Likewise.
79779         * elf/rtld.c: Likewise.
79780         * hurd/hurdsock.c: Likewise.
79781         * hurd/lookup-retry.c: Likewise.
79782         * malloc/malloc.c: Likewise.
79783         * malloc/mtrace.c: Likewise.
79784         * nscd/nscd_getgr_r.c: Likewise.
79785         * nscd/nscd_getpw_r.c: Likewise.
79786         * nscd/nscd_getserv_r.c: Likewise.
79787         * posix/getopt_init.c: Likewise.
79788         * posix/wordexp.c: Likewise.
79789         * stdio-common/_itoa.c: Likewise.
79790         * stdio-common/printf_fphex.c: Likewise.
79791         * stdio-common/vfprintf.c: Likewise.
79792         * string/_strerror.c: Likewise.
79793         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79794         * sysdeps/i386/i686/hp-timing.h: Likewise.
79795         * sysdeps/mach/_strerror.c: Likewise.
79796         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79797         * sysdeps/mach/hurd/sethostid.c: Likewise.
79798         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79799         * sysdeps/mach/xpg-strerror.c: Likewise.
79800         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79801         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79802         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79803         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79804         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79805         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79806         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79807         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79808         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79809         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79810         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79811         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79812         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79813         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79814         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79815         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79816         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79817         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79818         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79819         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79820         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79822         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79824         * stdio-common/_itoa.h: Moved to ...
79825         * sysdeps/generic/_itoa.h: Here.
79827         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79829         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79830         instead of "_itoa.h" and "_itowa.h".
79831         * stdio-common/vfprintf.: Likewise.
79833 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79835         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79836         <bits/wordsize.h>.
79837         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79838         (__signbit): Likewise.
79839         (llrintf): Likewise.
79840         (llrint): Likewise.
79842 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79844         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79845         __WORDSIZE != 64.
79847 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79849         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79850         OVERFLOW_EXCEPTION_OK.
79851         * math/libm-test.inc ("Philosophy"): Update comment about
79852         exception testing.
79853         (OVERFLOW_EXCEPTION): Define.
79854         (OVERFLOW_EXCEPTION_OK): Likewise.
79855         (INVALID_EXCEPTION_OK): Renumber.
79856         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79857         (IGNORE_ZERO_INF_SIGN): Likewise.
79858         (test_exceptions): Handle FE_OVERFLOW.
79859         (exp10_test): Expect overflow exceptions.
79860         (exp2_test): Likewise.
79861         (expm1_test): Likewise.
79862         (nextafter_test): Likewise.
79863         (pow_test): Likewise.
79864         (scalbn_test): Likewise.
79865         (scalbln_test): Likewise.
79867 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79869         * sysdeps/x86_64/bits/atomic.h
79870         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79871         64bit integer.
79872         (atomic_exchange_acq): Likewise.
79873         (__arch_exchange_and_add_body): Likewise.
79874         (__arch_add_body): Likewise.
79875         (atomic_add_negative): Likewise.
79876         (atomic_add_zero): Likewise.
79878 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79880         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79881         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79883 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79885         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79886         Check __x86_64__ instead of __WORDSIZE.
79888 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79890         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79892 2012-03-19  David S. Miller  <davem@davemloft.net>
79894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79896         * sysdeps/sparc/fpu/fenv_private.h: New file.
79897         * sysdeps/sparc/fpu/math_private.h: Use it.
79898         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79899         Remove.
79900         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79901         (libc_feholdexcept_setroundl): Remove.
79902         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79903         Remove.
79904         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79905         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79907 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79909         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79910         int64_t instead of long int.
79911         (INSERT_WORDS64): Likewise.
79913 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79915         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79916         _Unwind_GetCFA return to _Unwind_Ptr first.
79918 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79920         [BZ #13629]
79921         * math/s_clog.c: Include <float.h>.
79922         (__clog): Scale large or subnormal inputs.
79923         * math/s_clogf.c: Likewise.
79924         * math/s_clogl.c: Likewise.
79925         * math/s_clog10.c: Include <float.h>.
79926         (M_LOG10_2): Define.
79927         (__clog10): Scale large or subnormal inputs.
79928         * math/s_clog10f.c: Likewise.
79929         * math/s_clog10l.c: Likewise.
79930         * math/libm-test.inc (clog_test): Add more tests.
79931         (clog10_test): Likewise.
79932         * sysdeps/i386/fpu/libm-test-ulps: Update.
79933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79935         [BZ #11451]
79936         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79937         x and y.
79938         * math/libm-test.inc (atan2_test): Add another test.
79940         * Makerules (common-objdir-compile): Remove.
79941         * sysdeps/unix/Makefile (config-generated): Do not add
79942         $(unix-generated) to variable.
79943         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79944         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79945         Remove rule.
79946         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79947         Likewise.
79948         [generic bits/local_lim.h] (before-compile): Do not append to
79949         variable.
79950         [generic bits/local_lim.h] (common-generated): Likewise.
79951         [generic sys/param.h] (before-compile): Do not append to variable.
79952         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79953         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79954         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79955         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79956         include.
79957         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79958         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79959         [generic sys/param.h] ($(addprefix
79960         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79961         [generic sys/param.h] (common-generated): Do not append to
79962         variable.
79963         [generic sys/param.h] (sysdep_headers): Likewise.
79964         [generic bits/errno.h] (before-compile): Do not append to
79965         variable.
79966         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79967         rule.
79968         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79969         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79970         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79971         [generic bits/errno.h] (common-generated): Do not append to
79972         variable.
79973         [generic bits/ioctls.h] (before-compile): Do not append to
79974         variable.
79975         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79976         rule.
79977         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79978         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79979         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79980         rule.
79981         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79982         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79983         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79984         [generic bits/ioctls.h] (common-generated): Do not append to
79985         variable.
79986         [generic sys/syscall.h] (syscall.h): Remove variable.
79987         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79988         rule.
79989         [generic sys/syscall.h] (before-compile): Do not append to
79990         variable.
79991         [generic sys/syscall.h] (common-generated): Likewise.
79992         * sysdeps/unix/errnos-tmpl.c: Remove file.
79993         * sysdeps/unix/errnos.awk: Likewise.
79994         * sysdeps/unix/ioctls-tmpl.c: Likewise.
79995         * sysdeps/unix/ioctls.awk: Likewise.
79996         * sysdeps/unix/mk-local_lim.c: Likewise.
79997         * sysdeps/unix/snarf-ioctls: Likewise.
79999 2012-03-19  Richard Henderson  <rth@twiddle.net>
80001         * sysdeps/i386/fpu/fenv_private.h: New file.
80002         * sysdeps/i386/fpu/math_private.h: Use it.
80003         (math_opt_barrier, math_force_eval): Remove.
80004         (libc_feholdexcept_setround_53bit): Remove.
80005         (libc_feupdateenv_53bit): Remove.
80006         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80007         (math_opt_barrier, math_force_eval): Remove.
80008         (libc_feholdexcept): Remove.
80009         (libc_feholdexcept_setround): Remove.
80010         (libc_fetestexcept, libc_fesetenv): Remove.
80011         (libc_feupdateenv_test): Remove.
80012         (libc_feupdateenv, libc_feholdsetround): Remove.
80013         (libc_feresetround): Remove.
80015         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80016         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80018         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80019         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80020         (libc_feupdateenv_testl): New.
80021         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80022         (libc_feupdateenv_testf): New.
80023         (libc_feupdateenv): Use libc_feupdateenv_test.
80024         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80025         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80027         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80028         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80029         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80030         (libc_feresetround_noex): New.
80031         (libc_feresetround_noexf): New.
80032         (libc_feresetround_noexl): New.
80033         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80034         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80035         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80036         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80037         SET_RESTORE_ROUND.
80038         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80039         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80040         (__cos): Likewise.
80041         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80042         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80043         SET_RESTORE_ROUND_NOEX.
80044         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80045         SET_RESTORE_ROUND_NOEXF.
80046         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80047         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80048         (libc_feholdsetroundf): New.
80049         (libc_feresetround, libc_feresetroundf): New.
80051         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80052         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80053         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80055         * sysdeps/generic/math_private.h: Include <fenv.h>.
80056         (default_libc_feholdexcept): New.
80057         (default_libc_feholdexcept_setround): New.
80058         (default_libc_fesetenv, default_libc_feupdateenv): New.
80059         (libc_feholdexcept): Only define if undefined.
80060         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80061         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80062         (libc_feholdexcept_setroundl): Likewise.
80063         (libc_feholdexcept_setround_53bit): Likewise.
80064         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80065         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80066         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80067         (libc_feupdateenv_53bit): Likewise.
80068         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80069         (libc_feholdexcept): Convert from macro to inline function.
80070         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80071         (libc_fesetenv, libc_feupdateenv): Likewise.
80073         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80074         not previously defined.
80075         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80076         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80077         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80078         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80079         * sysdeps/ieee754/flt-32/math_private.h: New file.
80080         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80081         math_private.h below SET_FLOAT_WORD.
80082         (__isnan, __isinf_ns, __finite): Remove.
80083         (__isnanf, __isinf_nsf, __finitef): Remove.
80085 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80089 2012-03-17  David S. Miller  <davem@davemloft.net>
80091         [BZ #6471]
80092         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80093         for 2.16.
80095 2012-03-16  David S. Miller  <davem@davemloft.net>
80097         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80098         warnings.
80100         [BZ #6471]
80101         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80102         properly.
80103         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80104         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80105         sysdep_routines when subdir is sysvipc.
80106         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80107         __getshmlba helper.
80109         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80111 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80113         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80114         [__LP64__].
80116 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80118         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80119         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80120         (__lround): Renamed to ...
80121         (__llround): This.  Replace long int with long long int.
80122         Define lround functions as aliases of llround functions.
80123         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80125 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80127         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80128         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80129         adresses to uintptr_t.  Replace "long int" and "unsigned long
80130         int" with "greg_t" on va_arg.
80132 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80134         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80135         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80137         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80138         Move e_machine check before EI_CLASS check.  Handle x32
80139         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80140         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80141         SKIP_EM_IA_64 and include
80142         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80144         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80145         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80146         (add_system_dir): New macro.
80148         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80149         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80151 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80153         [BZ #2551]
80154         [BZ #2552]
80155         [BZ #2553]
80156         [BZ #2554]
80157         [BZ #2562]
80158         [BZ #2563]
80159         [BZ #2565]
80160         [BZ #2566]
80161         [BZ #2576]
80162         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80163         (y0): Likewise.
80164         * math/w_j0f.c (j0f): Likewise.
80165         (y0f): Likewise.
80166         * math/w_j0l.c (__j0l): Likewise.
80167         (__y0l): Likewise.
80168         * math/w_j1.c (j1): Likewise.
80169         (y1): Likewise.
80170         * math/w_j1f.c (j1f): Likewise.
80171         (y1f): Likewise.
80172         * math/w_j1l.c (__j1l): Likewise.
80173         (__y1l): Likewise.
80174         * math/w_jn.c (jn): Likewise.
80175         (yn): Likewise.
80176         * math/w_jnf.c (jnf): Likewise.
80177         (ynf): Likewise.
80178         * math/w_jnl.c (__jnl): Likewise.
80179         (__ynl): Likewise.
80180         * math/libm-test.inc (j0_test): Add more tests.
80181         (j1_test): Likewise.
80182         (jn_test): Likewise.  Add trailing semicolon to existing test.
80183         (y0_test): Likewise.
80184         (y1_test): Likewise.
80185         * sysdeps/i386/fpu/libm-test-ulps: Update.
80186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80188         [BZ #13851]
80189         [BZ #13854]
80190         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80191         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80192         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80193         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80194         (__tanl): Set errno for infinite argument.
80195         * sysdeps/i386/fpu/mptan.c: Remove.
80196         * sysdeps/i386/fpu/s_tan.S: Likewise.
80197         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80198         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80199         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80200         * math/libm-test.inc (tan_test): Add more tests and enable more
80201         tests for double and long double.
80202         * sysdeps/i386/fpu/libm-test-ulps: Update.
80203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80205 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80207         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80208         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80210 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80212         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80213         * configure.in: Use it for both main tree and add-ons.
80214         * configure: Regenerated.
80216 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80218         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80220 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80222         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80223         in comment.
80225         [BZ #13851]
80226         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80227         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80228         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80229         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80230         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80231         infinite argument.
80232         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80233         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80234         != 0 for prec == 2.
80235         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80236         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80237         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80238         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80239         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80240         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80241         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80242         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80243         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80244         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80245         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80246         * math/libm-test.inc (cos_test): Add more tests and enable more
80247         tests for long double.
80248         (sin_test): Likewise.
80249         (sincos_test): Likewise.
80250         * sysdeps/i386/fpu/libm-test-ulps: Update.
80251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80253 2012-03-16  David S. Miller  <davem@davemloft.net>
80255         * sysdeps/sparc/fpu/math_private.h: New file.
80257 2012-03-15  David S. Miller  <davem@davemloft.net>
80259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80260         file.
80261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80263         file.
80264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80265         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80266         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80267         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80268         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80269         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80270         sysdep routines.
80271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80273         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80274         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80276         * sysdeps/sparc/sparc-ifunc.h: New file.
80277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80278         sparc-ifunc.h
80279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80281         Likewise.
80282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80283         Likewise.
80284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80288         Likewise.
80289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80294         Likewise.
80295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80296         Likewise.
80297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80301         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80302         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80303         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80304         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80306         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80308         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80309         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80310         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80311         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80312         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80313         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80314         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80315         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80316         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80317         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80318         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80319         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80320         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80322 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80324         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80325         scaling.
80326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80328 2012-03-15  Andreas Jaeger  <aj@suse.de>
80330         [BZ #13852]
80331         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80332         ieee754/flt-32 implementation for sin, cos and sincos.
80333         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80334         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80335         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80336         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80337         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80338         ieee754/flt-32 implementation for tan.
80340         * math/libm-test.inc (cos_test): Enable some large input tests for
80341         float as well
80342         (sin_test): Likewise.
80343         (sincos_test): Likewise.
80344         (tan_test): Add tests for large input.
80346         * sysdeps/i386/fpu/libm-test-ulps: Update.
80348 2012-03-15  Andreas Jaeger  <aj@suse.de>
80350         [BZ #13658]
80351         * math/libm-test.inc (cos_test): Add more test cases.
80352         (sin_test): Likewise.
80353         (sincos_test): Likewise.
80355 2012-03-15  Andreas Jaeger  <aj@suse.de>
80357         [BZ #13837]
80358         * math/libm-test.inc (cos_test): Add a test case for large input
80359         value.
80360         (sin_test): Likewise.
80361         (sincos_test): Likewise.
80363 2012-03-15  Andreas Jaeger  <aj@suse.de>
80364             Joseph Myers  <joseph@codesourcery.com>
80366         [BZ #13658]
80367         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80368         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80369         * sysdeps/i386/fpu/branred.c: Likewise.
80370         * sysdeps/i386/fpu/dosincos.c: Likewise.
80371         * sysdeps/i386/fpu/mpa.c: Likewise.
80372         * sysdeps/i386/fpu/s_cos.S: Likewise.
80373         * sysdeps/i386/fpu/s_sin.S: Likewise.
80374         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80375         * sysdeps/i386/fpu/sincos32.c: Likewise.
80377         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80378         Define.
80379         (libc_feupdateenv_53bit): Define.
80380         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80381         Define.
80382         (libc_feupdateenv_53bit): Define.
80384         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80385         53 bit (without extend i386 double precision).
80387         * math/libm-test.inc (sincos_test): Add tests for large input.
80388         (sin): Likewise.
80389         (cos): Likewise.
80391         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80393 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80397 2012-03-15  David S. Miller  <davem@davemloft.net>
80399         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80400         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80401         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80402         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80406         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80409         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80410         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80411         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80412         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80413         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80415         file.
80416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80418         file.
80419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80421         file.
80422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80424         file.
80425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80426         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80427         fmin/fmax sysdep routines.
80428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80430 2012-03-14  David S. Miller  <davem@davemloft.net>
80432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80433         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80434         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80436         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80437         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80438         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80439         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80440         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80443         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80447         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80448         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80449         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80450         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80451         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80452         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80453         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80454         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80455         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80456         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80457         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80458         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80459         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80460         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80461         routines.
80462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80463         file.
80464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80466         file.
80467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80469         file.
80470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80472         file.
80473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80475         file.
80476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80478         file.
80479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80480         file.
80481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80482         file.
80483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80484         file.
80485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80486         New file.
80487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80488         file.
80489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80490         file.
80491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80493         file.
80494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80496         file.
80497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80499         file.
80500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80502         VIS3 routines.
80504         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80505         New file.
80507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80509         * sysdeps/sparc/configure.in: New file.
80510         * sysdeps/sparc/configure: Generate.
80511         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80512         * configure: Regenerate.
80513         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80514         * config.make.in (have-as-vis3): New.
80515         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80516         available use -Av9d instead of -Av9a.
80517         * sysdeps/sparc/sparc64/Makefile: Likewise.
80518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80520         New file.
80521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80522         file.
80523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80524         New file.
80525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80526         file.
80527         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80528         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80529         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80530         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80531         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80533         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80534         fzeros/fnegs to load 0x80000000 into a float register instead of
80535         using the stack.
80536         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80538 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80540         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80541         bits/syscall.h.
80542         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80543         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80544         ($(inst_includedir)/bits/syscall.h): Remove rule.
80545         ($(objpfx)bits/syscall.d): Include instead of
80546         $(objpfx)syscall-list.d.
80547         (generated): Change syscall-list.h and syscall-list.d to
80548         bits/syscall.h and bits/syscall.d.
80550 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80552         [BZ #13846]
80553         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80555 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80557         [BZ #13841]
80558         * math/s_csqrt.c: Include <float.h>.
80559         (__csqrt): Scale large or subnormal inputs.
80560         * math/s_csqrtf.c: Likewise.
80561         * math/s_csqrtl.c: Likewise.
80562         * math/libm-test.inc (csqrt_test): Add more tests.
80563         * sysdeps/i386/fpu/libm-test-ulps: Update.
80564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80566         [BZ #13840]
80567         * math/libm-test.inc (hypot_test): Add more tests.
80569 2012-03-13  David S. Miller  <davem@davemloft.net>
80571         [BZ #13840]
80572         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80573         double-precision for the calculation instead of scaling.
80575 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80577         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80578         manipulate bits before adding and subtracting TWO52[sx].
80579         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80580         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80581         Likewise.
80582         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80584 2012-03-13  David S. Miller  <davem@davemloft.net>
80586         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80587         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80588         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80589         rtld-global-offsets.h
80590         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80592         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80593         large parameters.
80595         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80597         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80598         'err' in the ifdef scope in which it is actually used.
80600         * nss/nss_db/db-init.c: Include string.h
80602 2012-03-12  David S. Miller  <davem@davemloft.net>
80604         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80605         masking out of the most significant byte of random value used.
80606         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80607         Fix coding style in previous change.
80609         * sysdeps/unix/sysv/linux/kernel-features.h
80610         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80611         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80612         expression.
80613         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80614         later.
80616 2012-03-11  David S. Miller  <davem@davemloft.net>
80618         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80619         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80620         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80621         for 'resultvar' otherwise things get truncated on 64-bit.
80623         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80624         Fix masking out of the most significant byte of random value used.
80626         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80628 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80632 2012-03-09  David S. Miller  <davem@davemloft.net>
80634         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80635         variables with appropriate CPP guards.
80636         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80637         from the frame pointer, not the stack pointer.  Correct layout
80638         comments.  Fix test on resulting framesize and the management of
80639         the outregs buffer for pltexit.  Preserve floating point return
80640         values across _dl_call_pltexit call.
80641         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80642         framesize and the management of the outregs buffer for pltexit.
80643         Preserve floating point return values across _dl_call_pltexit
80644         call.
80645         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80646         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80647         (la_sparc64_gnu_pltexit): New functions.
80648         (print_exit): Fix format string for return register value.
80650 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80652         * sunrpc/Makefile (others): Add rpcgen.
80653         ($(objpfx)rpcgen): Remove special build rule and dependency on
80654         libc.
80655         * sunrpc/rpcgen.c: New file.
80657 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80659         [BZ #13673]
80660         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80661         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80662         * sysdeps/i386/crti.S: Likewise.
80663         * sysdeps/i386/crtn.S: Likewise.
80664         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80665         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80666         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80667         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80668         * sysdeps/sh/crti.S: Likewise.
80669         * sysdeps/sh/crtn.S: Likewise.
80670         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80672         [BZ #13673]
80673         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80674         with URL.
80675         * locale/programs/locfile-kw.gperf: Likewise.
80676         * locale/programs/charmap-kw.h: Regenerated.
80677         * locale/programs/locfile-kw.h: Likewise.
80679         [BZ #13673]
80680         * intl/plural.y: Replace FSF snail mail address with URL.
80681         * intl/plural.c: Regenerated.
80683 2012-03-09  Richard Henderson  <rth@twiddle.net>
80685         * include/math_private.h: Remove file.
80686         * math/math_private.h: Move file ...
80687         * sysdeps/generic/math_private.h: ... here.
80689         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80690         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80691         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80693         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80694         and <math_private.h>.
80695         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80696         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80697         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80698         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80699         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80700         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80701         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80702         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80703         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80704         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80705         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80706         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80707         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80708         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80709         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80710         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80711         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80712         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80713         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80714         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80715         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80716         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80717         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80718         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80719         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80720         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80721         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80722         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80723         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80724         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80725         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80726         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80727         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80728         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80729         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80730         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80731         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80732         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80733         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80734         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80735         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80736         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80737         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80738         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80739         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80740         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80741         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80742         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80743         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80744         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80745         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80746         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80747         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80748         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80749         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80750         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80751         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80752         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80753         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80754         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80755         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80756         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80757         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80758         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80759         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80760         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80761         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80762         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80763         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80764         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80765         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80766         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80767         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80768         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80769         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80770         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80771         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80772         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80773         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80774         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80775         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80776         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80777         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80778         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80779         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80780         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80781         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80782         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80783         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80784         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80785         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80786         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80787         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80788         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80789         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80790         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80791         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80792         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80793         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80794         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80795         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80796         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80797         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80798         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80799         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80800         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80801         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80802         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80803         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80804         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80805         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80806         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80807         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80808         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80809         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80810         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80811         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80812         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80813         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80814         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80815         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80816         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80817         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80818         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80819         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80820         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80821         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80822         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80823         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80824         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80825         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80826         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80827         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80828         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80829         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80830         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80831         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80832         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80833         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80834         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80835         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80836         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80837         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80838         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80839         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80840         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80841         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80842         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80843         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80844         * sysdeps/ieee754/k_standard.c: Likewise.
80845         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80846         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80847         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80848         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80849         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80850         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80851         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80852         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80853         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80854         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80855         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80856         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80857         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80858         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80859         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80860         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80861         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80862         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80863         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80864         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80865         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80866         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80867         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80868         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80869         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80870         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80871         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80872         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80873         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80874         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80875         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80876         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80877         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80878         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80879         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80880         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80881         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80882         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80883         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80884         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80885         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80886         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80887         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80888         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80889         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80890         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80891         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80892         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80893         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80894         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80895         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80896         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80897         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80898         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80899         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80900         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80901         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80902         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80903         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80904         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80905         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80906         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80907         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80908         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80909         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80910         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80911         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80912         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80913         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80914         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80915         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80916         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80917         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80918         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80919         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80920         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80921         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80922         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80923         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80924         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80925         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80926         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80927         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80928         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80929         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80930         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80931         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80932         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80933         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80934         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80935         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80936         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80937         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80938         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80939         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80940         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80941         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80942         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80943         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80944         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80945         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80946         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80947         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80948         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80949         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80950         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80951         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80952         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80953         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80954         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80955         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80956         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80957         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80958         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80959         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80960         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80961         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80962         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80963         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80964         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80965         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80966         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80967         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80968         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80969         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80970         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80971         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80972         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80973         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80974         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80975         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80976         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80977         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80978         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80979         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80980         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80981         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80982         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80983         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80984         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80985         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80986         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80987         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80988         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80989         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80990         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80991         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80992         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80993         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80994         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
80995         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80996         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80997         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80998         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80999         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81000         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81001         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81002         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81003         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81004         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81005         * sysdeps/ieee754/s_lib_version.c: Likewise.
81006         * sysdeps/ieee754/s_matherr.c: Likewise.
81007         * sysdeps/ieee754/s_signgam.c: Likewise.
81008         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81009         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81010         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81011         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81012         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81013         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81014         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81015         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81016         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81017         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81018         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81019         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81020         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81021         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81022         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81023         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81024         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81025         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81026         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81027         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81028         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81030 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81032         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81033         * sunrpc/rpc_main.c: Likewise.
81034         * sunrpc/rpc_svcout.c: Likewise.
81036 2012-03-09  David S. Miller  <davem@davemloft.net>
81038         * include/math_private.h: New file.
81040 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81042         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81043         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81044         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81045         from <bits/socket_type.h>.
81046         (enum __socket_type): Don't define here.
81047         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81048         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81049         bits/socket_type.h.
81051         [BZ #13566]
81052         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81053         checking __USE_GNU.
81055         * Makerules ($(inst_includedir)/%.h): New rule.
81056         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81057         (install-others): Remove variable setting.
81058         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81060 2012-03-08  Richard Henderson  <rth@twiddle.net>
81062         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81063         from macro to inline function; merge with the
81064         !__LIBC_INTERNAL_MATH_INLINES version.
81065         (__ieee754_sqrtf): Likewise.
81067         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81068         to inline function.
81069         (__rintf, __floor, __floorf): Likewise.
81071         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81072         macro to inline function.
81073         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81075         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81076         not <math/math_private.h>.
81078 2012-03-08  David S. Miller  <davem@davemloft.net>
81080         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81081         copyright year.
81082         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81084 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81086         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81087         normalization.
81088         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81089         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81091 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81093         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81094         be defined individually, they must be defined as a block.  Define
81095         S for printing a string instead of hidint the different by using a
81096         macro for adding the 'l'.
81097         * stdio-common/tst-fphex-wide.c: Adjust.
81099 2012-03-07  Marek Polacek  <polacek@redhat.com>
81101         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81103 2012-03-08  Marek Polacek  <polacek@redhat.com>
81105         [BZ #13806]
81106         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81107         * stdio-common/tst-fphex.c: Define a few macros to make the
81108         test reusable.  Use them.
81109         * stdio-common/tst-fphex-wide.c: New file.
81111 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81113         [BZ #6911]
81114         * manual/macros.texi (gnusystems): New macro.
81115         (nongnusystems): Likewise.
81116         (gnulinuxhurdsystems): Likewise.
81117         (gnuhurdsystems): Likewise..
81118         (gnulinuxsystems): Likewise.
81119         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81120         variants of the GNU system, not "GNU system".
81121         * manual/conf.texi: Likewise.
81122         * manual/errno.texi: Likewise.  Update example of errno macro
81123         expansion.
81124         * manual/filesys.texi: Likewise.
81125         (getumask): Document as specific to GNU/Hurd.
81126         * manual/install.texi: Likewise.  Reword some references to
81127         GNU/Linux.
81128         * manual/intro.texi: Likewise.
81129         * manual/io.texi: Likewise.
81130         (File Name Portability): Detail which constraints are inapplicable
81131         to all GNU systems and which are only inapplicable to GNU/Hurd.
81132         * manual/job.texi: Likewise.
81133         * manual/llio.texi: Likewise.
81134         (O_NOCTTY): Document as present on GNU/Linux.
81135         * manual/maint.texi: Likewise.
81136         * manual/memory.texi: Likewise.
81137         * manual/pattern.texi: Likewise.
81138         * manual/pipe.texi: Likewise.
81139         * manual/process.texi: Likewise.
81140         * manual/resource.texi: Likewise.
81141         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81142         child on GNU/Hurd.
81143         * manual/setjmp.texi: Likewise.
81144         * manual/signal.texi: Likewise.
81145         * manual/startup.texi: Likewise.
81146         * manual/stdio.texi: Likewise.
81147         * manual/terminal.texi: Likewise.
81148         (ONLCR): Document as POSIX.
81149         (OXTABS): Document availability on GNU/Linux as XTABS.
81150         (ONOEOT): Document availability separately from other bits.
81151         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81152         * manual/time.texi: Likewise.
81153         * manual/users.texi: Likewise.
81154         * INSTALL: Regenerated.
81155         * sysdeps/gnu/errlist.c: Regenerated.
81157         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81158         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81159         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81160         puts.
81161         * configure: Regenerated.
81163 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81165         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81166         default includes instead of AC_HEADER_CHECK.
81167         * sysdeps/i386/configure: Regenerated.
81169         [BZ #10716]
81170         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81171         * math/s_cacoshf.c (__cacoshf): Likewise.
81172         * math/s_cacoshl.c (__cacoshl): Likewise.
81173         * math/s_casinh.c (__casinh): Set signs of result from argument.
81174         * math/s_casinhf.c (__casinhf): Likewise.
81175         * math/s_casinhl.c (__casinhl): Likewise.
81176         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81177         (casinh_test): Add more tests.
81178         * sysdeps/i386/fpu/libm-test-ulps: Update.
81179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81181 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81183         * po/zh_TW.po: Update from translation team.
81185         * login/Makefile (distribute): Remove variable.
81186         * catgets/Makefile: Likewise.
81187         * mach/Makefile: Likewise.
81188         * malloc/Makefile: Likewise.
81189         * misc/Makefile: Likewise.
81190         * iconv/Makefile: Likewise.
81191         * nscd/Makefile: Likewise.
81192         * hurd/Makefile: Likewise.
81193         * manual/Makefile: Likewise.
81194         * locale/Makefile: Likewise.
81195         * intl/Makefile: Likewise.
81196         * conform/Makefile: Likewise.
81197         * nss/Makefile: Likewise.
81198         * time/Makefile: Likewise.
81199         * soft-fp/Makefile: Likewise.
81200         * dirent/Makefile: Likewise.
81201         * gmon/Makefile: Likewise.
81202         * po/Makefile: Likewise.
81203         * rt/Makefile: Likewise.
81204         * socket/Makefile: Likewise.
81205         * math/Makefile: Likewise.
81206         * signal/Makefile: Likewise.
81207         * debug/Makefile: Likewise.
81208         * elf/Makefile: Likewise.
81209         * timezone/Makefile: Likewise.
81210         * stdlib/Makefile: Likewise.
81211         * iconvdata/Makefile: Likewise.
81212         * sunrpc/Makefile: Likewise.
81213         * io/Makefile: Likewise.
81214         * argp/Makefile: Likewise.
81215         * inet/Makefile: Likewise.
81216         * hesiod/Makefile: Likewise.
81217         * grp/Makefile: Likewise.
81218         * csu/Makefile: Likewise.
81219         * wctype/Makefile: Likewise.
81220         * crypt/Makefile: Likewise.
81221         * libio/Makefile: Likewise.
81222         * string/Makefile: Likewise.
81223         * nis/Makefile: Likewise.
81224         * resolv/Makefile: Likewise.
81225         * stdio-common/Makefile: Likewise.
81226         * wcsmbs/Makefile: Likewise.
81227         * dlfcn/Makefile: Likewise.
81228         * posix/Makefile: Likewise.
81230         [BZ #6959]
81231         * timezone/Makefile: Don't install timezone files, just the programs
81232         and scripts.
81234 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81236         * nss/databases.def: Add missing gshadow entry.
81238         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81240 2012-03-06  Marek Polacek  <polacek@redhat.com>
81242         [BZ #13726]
81243         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81244         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81245         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81246         * stdio-common/tst-long-dbl-fphex.c: New file.
81248 2012-03-06  David S. Miller  <davem@davemloft.net>
81250         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81251         (set_obp_int): New function.
81252         (get_obp_int): New function.
81253         (__get_clockfreq_via_dev_openprom): Likewise.
81254         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81255         Avoid unused variable warnings on 'val' and use builtin_expect.
81256         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81257         __builtin_expect.
81258         (INLINE_CLONE_SYSCALL): Likewise.
81260 2012-03-05  David S. Miller  <davem@davemloft.net>
81262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81264 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81268         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81269         only for |x| >= 40.
81270         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81272 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81274         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81275         Replace gettimeofday with __vdso_gettimeofday.
81277         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81278         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81279         __vdso_clock_gettime and __vdso_getcpu.
81281         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81282         time with __vdso_time.
81284 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81286         * manual/lang.texi (size_t): Note types to which size_t may be
81287         equivalent with the GNU C Library, but do not describe when
81288         differences between them are significant.
81290 2012-03-05  Andreas Jaeger  <aj@suse.de>
81292         * sysdeps/i386/fpu/libm-test-ulps: Update.
81294 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81296         [BZ #3976]
81297         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81298         (__ieee754_pow): Save and restore rounding mode and use
81299         round-to-nearest for main computations.
81300         * math/libm-test.inc (pow_test_tonearest): New function.
81301         (pow_test_towardzero): Likewise.
81302         (pow_test_downward): Likewise.
81303         (pow_test_upward): Likewise.
81304         (main): Call the new functions.
81305         * sysdeps/i386/fpu/libm-test-ulps: Update.
81306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81308         [BZ #3976]
81309         * math/libm-test.inc (cosh_test_tonearest): New function.
81310         (cosh_test_towardzero): Likewise.
81311         (cosh_test_downward): Likewise.
81312         (cosh_test_upward): Likewise.
81313         (sinh_test_tonearest): Likewise.
81314         (sinh_test_towardzero): Likewise.
81315         (sinh_test_downward): Likewise.
81316         (sinh_test_upward): Likewise.
81317         (main): Call the new functions.
81318         * sysdeps/i386/fpu/libm-test-ulps: Update.
81319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81321 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81323         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81324         default stack guard is set in last bytes.
81325         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81327 2012-03-05  Kees Cook  <keescook@chromium.org>
81329         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81331         [BZ #13656]
81332         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81333         possibly allocate from heap instead of stack.
81334         * stdio-common/bug-vfprintf-nargs.c: New file.
81335         * stdio-common/Makefile (tests): Add nargs overflow test.
81337 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81341 2012-03-03  Marek Polacek  <polacek@redhat.com>
81343         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81344         * math/math_private.h: Likewise.
81345         * stdlib/tst-strtod.c: Likewise.
81346         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81347         * sysdeps/x86_64/bits/atomic.h: Likewise.
81349 2012-03-02  David S. Miller  <davem@davemloft.net>
81351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81355         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81356         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81357         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81358         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81360 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81362         [BZ #13792]
81363         * manual/examples/README: New file, says the example source files
81364         can be used under GPL>=2.
81365         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81366         line containing just "*/".
81367         * manual/examples/add.c: Add copyright header (GPL>=2).
81368         * manual/examples/argp-ex1.c: Likewise.
81369         * manual/examples/argp-ex2.c: Likewise.
81370         * manual/examples/argp-ex3.c: Likewise.
81371         * manual/examples/argp-ex4.c: Likewise.
81372         * manual/examples/atexit.c: Likewise.
81373         * manual/examples/db.c: Likewise.
81374         * manual/examples/dir.c: Likewise.
81375         * manual/examples/dir2.c: Likewise.
81376         * manual/examples/execinfo.c: Likewise.
81377         * manual/examples/filecli.c: Likewise.
81378         * manual/examples/filesrv.c: Likewise.
81379         * manual/examples/fmtmsgexpl.c: Likewise.
81380         * manual/examples/genpass.c: Likewise.
81381         * manual/examples/inetcli.c: Likewise.
81382         * manual/examples/inetsrv.c: Likewise.
81383         * manual/examples/isockad.c: Likewise.
81384         * manual/examples/longopt.c: Likewise.
81385         * manual/examples/memopen.c: Likewise.
81386         * manual/examples/memstrm.c: Likewise.
81387         * manual/examples/mkfsock.c: Likewise.
81388         * manual/examples/mkisock.c: Likewise.
81389         * manual/examples/mygetpass.c: Likewise.
81390         * manual/examples/pipe.c: Likewise.
81391         * manual/examples/popen.c: Likewise.
81392         * manual/examples/rprintf.c: Likewise.
81393         * manual/examples/search.c: Likewise.
81394         * manual/examples/select.c: Likewise.
81395         * manual/examples/setjmp.c: Likewise.
81396         * manual/examples/sigh1.c: Likewise.
81397         * manual/examples/sigusr.c: Likewise.
81398         * manual/examples/stpcpy.c: Likewise.
81399         * manual/examples/strdupa.c: Likewise.
81400         * manual/examples/strftim.c: Likewise.
81401         * manual/examples/strncat.c: Likewise.
81402         * manual/examples/subopt.c: Likewise.
81403         * manual/examples/swapcontext.c: Likewise.
81404         * manual/examples/termios.c: Likewise.
81405         * manual/examples/testopt.c: Likewise.
81406         * manual/examples/testpass.c: Likewise.
81407         * manual/examples/timeval_subtract.c: Likewise.
81409         [BZ #13792]
81410         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81411         function to ...
81412         * manual/timeval_subtract.c.texi: ... here, new file.
81414 2012-03-02  David S. Miller  <davem@davemloft.net>
81416         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81418 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81420         [BZ #3976]
81421         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81422         (__sin): Save and restore rounding mode and use round-to-nearest
81423         for all computations.
81424         (__cos): Save and restore rounding mode and use round-to-nearest
81425         for all computations.
81426         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81427         <fenv.h>.
81428         (tan): Save and restore rounding mode and use round-to-nearest for
81429         all computations.
81430         * math/libm-test.inc (cos_test_tonearest): New function.
81431         (cos_test_towardzero): Likewise.
81432         (cos_test_downward): Likewise.
81433         (cos_test_upward): Likewise.
81434         (sin_test_tonearest): Likewise.
81435         (sin_test_towardzero): Likewise.
81436         (sin_test_downward): Likewise.
81437         (sin_test_upward): Likewise.
81438         (tan_test_tonearest): Likewise.
81439         (tan_test_towardzero): Likewise.
81440         (tan_test_downward): Likewise.
81441         (tan_test_upward): Likewise.
81442         (main): Call the new functions.
81443         * sysdeps/i386/fpu/libm-test-ulps: Update.
81444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81446         [BZ #10135]
81447         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81448         small n, then large n, before computing and testing k+n.
81449         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81450         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81451         Likewise.
81452         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81453         Likewise.
81454         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81455         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81456         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81457         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81458         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81459         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81460         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81461         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81462         * math/libm-test.inc (scalbn_test): Add more tests.
81463         (scalbln_test): Likewise.
81465         * manual/filesys.texi (mode_t): Describe constraints on size and
81466         signedness, not exact equivalence to a particular type.
81467         (ino_t): Likewise.
81468         (ino64_t): Likewise.
81469         (dev_t): Likewise.
81470         (nlink_t): Likewise.
81471         (blkcnt_t): Likewise.
81472         (blkcnt64_t): Likewise.
81473         * manual/llio.texi (off_t): Likewise.
81475         [BZ #3976]
81476         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81477         (__ieee754_exp): Save and restore rounding mode and use
81478         round-to-nearest for all computations.
81479         * math/libm-test.inc (exp_test_tonearest): New function.
81480         (exp_test_towardzero): Likewise.
81481         (exp_test_downward): Likewise.
81482         (exp_test_upward): Likewise.
81483         (main): Call the new functions.
81484         * sysdeps/i386/fpu/libm-test-ulps: Update.
81485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81487 2012-03-01  Chris Demetriou  <cgd@google.com>
81489         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81490         have predictable order.
81492 2012-03-01  David S. Miller  <davem@davemloft.net>
81494         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81496         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81497         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81498         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81499         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81501         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81502         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81503         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81505         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81506         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81507         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81508         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81509         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81513         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81514         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81515         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81517         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81518         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81519         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81520         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81521         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81522         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81523         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81524         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81525         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81526         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81527         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81528         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81529         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81530         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81531         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81532         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81533         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81534         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81535         * sysdeps/sparc/elf/configure: Regenerated.
81537 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81539         * configure.in (AS, LD): Require binutils 2.20 or later.
81540         * configure: Regenerated.
81541         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81542         as required minimum version.
81543         * INSTALL: Regenerated.
81545         [BZ #2541]
81546         [BZ #4108]
81547         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81548         before squaring exponent.
81549         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81550         bottom long double and 27 bits of top long double before squaring
81551         exponent.
81552         * math/libm-test.inc (erfc_test): Add more tests.
81553         * sysdeps/i386/fpu/libm-test-ulps: Update.
81554         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81557 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81559         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81560         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81561         containing bit-fields.
81562         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81563         * soft-fp/single.h (_FP_UNION_S): Likewise.
81564         * soft-fp/double.h (_FP_UNION_D): Likewise.
81566 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81568         [BZ #13786]
81569         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81570         not include ../strcmp.S.
81571         [USE_AS_STRNCASECMP_L]: Likewise.
81572         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81573         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81574         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81575         (__strncasecmp_l_ia32): Define as alias to
81576         __strncasecmp_l_nonascii.
81578         [BZ #5794]
81579         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81580         * sysdeps/i386/fpu/libm-test-ulps: Update.
81581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81583         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81586 2012-02-29  Jeff Law  <law@redhat.com>
81588         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81589         out of bounds read.
81591 2012-02-29  Marek Polacek  <polacek@redhat.com>
81593         [BZ #13706]
81594         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81595         * elf/Makefile: Add rules to run tst-unused-dep.out.
81597 2012-02-28  David S. Miller  <davem@davemloft.net>
81599         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81600         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81601         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81602         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81603         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81604         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81606 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81608         * math/libm-test.inc (llround_test): Move one test from
81609         lround_test.  Use TEST_f_L in moved test.
81610         (lround_test): Move misplaced test to llround_test.  Add testcase
81611         from bug 2561.
81613 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81615         * sysdeps/x86_64/fpu/e_expf.S: New file.
81616         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81618 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81620         [BZ #13637]
81621         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81622         of remain_len that may cause incomplete multi-byte character and
81623         false match.
81624         * posix/bug-regex33.c: New file.
81625         * posix/Makefile (tests): Add bug-regex33.
81627 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81629         * manual/macros.texi: New file.
81630         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81631         * manual/libc.texinfo: Include macros.texi.
81632         * manual/creatute.texi: Likewise.
81633         * manual/install.texi: Likewise.
81634         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81635         @glibcadj{} in references to the GNU C Library.
81636         * manual/charset.texi: Likewise.
81637         * manual/conf.texi: Likewise.
81638         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81639         when not using those macros.
81640         * manual/creature.texi: Likewise.
81641         * manual/crypt.texi: Likewise.
81642         * manual/errno.texi: Likewise.
81643         * manual/filesys.texi: Likewise.
81644         * manual/header.texi: Likewise.
81645         * manual/install.texi: Likewise.
81646         * manual/intro.texi: Likewise.
81647         * manual/io.texi: Likewise.
81648         * manual/job.texi: Likewise.
81649         * manual/lang.texi: Likewise.
81650         * manual/libc.texiinfo: Likewise.
81651         * manual/llio.texi: Likewise.
81652         * manual/locale.texi: Likewise.
81653         * manual/maint.texi: Likewise.
81654         * manual/math.texi: Likewise.
81655         * manual/memory.texi: Likewise.
81656         * manual/message.texi: Likewise.
81657         * manual/nss.texi: Likewise.
81658         * manual/pattern.texi: Likewise.
81659         * manual/process.texi: Likewise.
81660         * manual/resource.texi: Likewise.
81661         * manual/search.texi: Likewise.
81662         * manual/setjmp.texi: Likewise.
81663         * manual/signal.texi: Likewise.
81664         * manual/socket.texi: Likewise.
81665         * manual/startup.texi: Likewise.
81666         * manual/stdio.texi: Likewise.
81667         * manual/string.texi: Likewise.
81668         * manual/sysinfo.texi: Likewise.
81669         * manual/syslog.texi: Likewise.
81670         * manual/terminal.texi: Likewise.
81671         * manual/time.texi: Likewise.
81672         * manual/users.texi: Likewise.
81673         * INSTALL: Regenerated.
81674         * NOTES: Regenerated.
81675         * sysdeps/gnu/errlist.c: Regenerated.
81677 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81679         * include/dirent.h: Include <dirstream.h> before
81680         <dirent/dirent.h>.
81682 2012-02-28  David S. Miller  <davem@davemloft.net>
81684         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81685         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81686         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81687         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81689 2012-02-27  David S. Miller  <davem@davemloft.net>
81691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81693         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81694         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81697         frame pointer instead of stack pointer relative arg slot.
81698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81699         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81700         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81702 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81704         [BZ #3992]
81705         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81707 2012-02-27  David S. Miller  <davem@davemloft.net>
81709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81713         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81714         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81715         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81716         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81718 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81720         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81721         later.  Allow versions 5-9.
81722         * configure: Regenerated.
81723         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81724         required minimum version and 4.6 as recommended version.  Do not
81725         mention bugs in GCC 2.7 and 2.8.
81726         * INSTALL: Regenerated.
81728 2012-02-27  David S. Miller  <davem@davemloft.net>
81730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81734         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81735         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81736         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81737         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81739         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81740         manipulate bits before adding and subtracting TWO112[sx].
81741         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81743 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81745         [BZ #13775]
81746         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81747         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81748         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81749         being in POSIX, because they are in 1003.1-2008.
81751         * rt/tst-aio.c: Include <fcntl.h>.
81752         * rt/tst-aio7.c: Likewise.
81753         * rt/tst-aio64.c: Likewise.
81755         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81757 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81759         * manual/install.texi (--with-headers): Describe headers as
81760         interface headers, not private headers.
81761         (Specific advice for GNU/Linux systems): Describe use of headers
81762         from "make headers_install", not private headers from older
81763         kernels.
81764         * INSTALL: Regenerated.
81765         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81766         Change to 2.6.19.
81767         * sysdeps/unix/sysv/linux/configure: Regenerated.
81769         * manual/llio.texi (fclean): Remove documentation.
81771         * manual/Makefile (libc-texi-generated): New variable.  Include
81772         version.texi.
81773         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81774         $(libc-texi-generated), not duplicated list of files.
81775         (version.texi, stamp-version): New rules.
81776         (realclean): Remove $(libc-texi-generated), not individual files
81777         from that list.  Do not remove dir-add.texinfo.
81778         * manual/libc.texinfo: Comment out uses of edition numbers and
81779         references to printed manual.  Remove last-updated dates.
81780         (EDITION): Comment out.
81781         (ISBN): Likewise.
81782         (VERSION, UPDATED): Remove.
81783         (version.texi): Include.
81785 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81787         * sysdeps/posix/spawni.c: Include <signal.h>.
81788         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81789         * sysdeps/pthread/aio_fsync.c: Likewise.
81791 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81793         * conform/Makefile (tests): Run only when not cross-compiling and
81794         when fast-check is not defined.
81796         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81797         * conform/data/limits.h-data: Fixes for POSIX2008.
81798         * conform/run-conformtest.sh: Run all tests.
81799         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81800         headers.
81801         * include/bits/dlfcn.h: Likewise.
81802         * include/langinfo.h: Likewise.
81803         * include/monetary.h: Likewise.
81804         * include/sys/poll.h: Likewise.
81806         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81807         for __USE_GNU.
81808         * posix/spawn.h: Define __need_sigset_t.
81809         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81810         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81811         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81812         to get sigevent_t only.
81813         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81814         only for __USE_GNU.
81815         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81816         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81817         process_vm_writev only for __USE_GNU.
81818         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81820         * conform/Makefile: For now ignore errors from run-conformtest.
81821         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81822         POSIX to avoid namespace pollution.  Don't prepend headers.
81823         * conform/data/aio.h-data: Fixes for POSIX testing.
81824         * conform/data/fcntl.h-data: Likewise.
81825         * conform/data/glob.h-data: Likewise.
81826         * conform/data/grp.h-data: Likewise.
81827         * conform/data/pthread.h-data: Likewise.
81828         * conform/data/pwd.h-data: Likewise.
81829         * conform/data/signal.h-data: Likewise.
81830         * conform/data/spawn.h-data: Likewise.
81831         * conform/data/stdio.h-data: Likewise.
81832         * conform/data/stdlib.h-data: Likewise.
81833         * conform/data/stropts.h-data: Likewise.
81834         * conform/data/sys/mman.h-data: Likewise.
81835         * conform/data/sys/stat.h-data: Likewise.
81836         * conform/data/sys/types.h-data: Likewise.
81837         * conform/data/sys/wait.h-data: Likewise.
81838         * conform/data/time.h-data: Likewise.
81839         * conform/data/unistd.h-data: Likewise.
81840         * conform/data/utime.h-data: Likewise.
81842         * io/sys/stat.h: fchmod was always in POSIX.
81843         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81844         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81845         * rt/aio.h: Define __need_timespec before including <time.h>.
81846         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81847         struct.  Add forward declaration of pthread_attr_t and use it in
81848         sigevent.
81849         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81850         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81851         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81852         always remove CLK_TCK definition.
81854 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81856         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81858 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81860         * conform/run-conformtest.sh: New file.
81861         * conform/Makefile: Run run-conformtest for tests.
81862         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81863         support.
81865         * conform/data/uchar.h-data: New file.
81866         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81867         * conform/data/arpa/inet.h-data: Likewise.
81868         * conform/data/assert.h-data: Likewise.
81869         * conform/data/complex.h-data: Likewise.
81870         * conform/data/cpio.h-data: Likewise.
81871         * conform/data/ctype.h-data: Likewise.
81872         * conform/data/dirent.h-data: Likewise.
81873         * conform/data/dlfcn.h-data: Likewise.
81874         * conform/data/errno.h-data: Likewise.
81875         * conform/data/fcntl.h-data: Likewise.
81876         * conform/data/float.h-data: Likewise.
81877         * conform/data/fmtmsg.h-data: Likewise.
81878         * conform/data/fnmatch.h-data: Likewise.
81879         * conform/data/ftw.h-data: Likewise.
81880         * conform/data/glob.h-data: Likewise.
81881         * conform/data/grp.h-data: Likewise.
81882         * conform/data/iconv.h-data: Likewise.
81883         * conform/data/inttypes.h-data: Likewise.
81884         * conform/data/langinfo.h-data: Likewise.
81885         * conform/data/libgen.h-data: Likewise.
81886         * conform/data/limits.h-data: Likewise.
81887         * conform/data/locale.h-data: Likewise.
81888         * conform/data/math.h-data: Likewise.
81889         * conform/data/monetary.h-data: Likewise.
81890         * conform/data/mqueue.h-data: Likewise.
81891         * conform/data/ndbm.h-data: Likewise.
81892         * conform/data/net/if.h-data: Likewise.
81893         * conform/data/netdb.h-data: Likewise.
81894         * conform/data/netinet/in.h-data: Likewise.
81895         * conform/data/nl_types.h-data: Likewise.
81896         * conform/data/poll.h-data: Likewise.
81897         * conform/data/pthread.h-data: Likewise.
81898         * conform/data/pwd.h-data: Likewise.
81899         * conform/data/regex.h-data: Likewise.
81900         * conform/data/sched.h-data: Likewise.
81901         * conform/data/search.h-data: Likewise.
81902         * conform/data/semaphore.h-data: Likewise.
81903         * conform/data/setjmp.h-data: Likewise.
81904         * conform/data/signal.h-data: Likewise.
81905         * conform/data/spawn.h-data: Likewise.
81906         * conform/data/stdarg.h-data: Likewise.
81907         * conform/data/stdio.h-data: Likewise.
81908         * conform/data/stdlib.h-data: Likewise.
81909         * conform/data/string.h-data: Likewise.
81910         * conform/data/strings.h-data: Likewise.
81911         * conform/data/stropts.h-data: Likewise.
81912         * conform/data/sys/ipc.h-data: Likewise.
81913         * conform/data/sys/mman.h-data: Likewise.
81914         * conform/data/sys/msg.h-data: Likewise.
81915         * conform/data/sys/resource.h-data: Likewise.
81916         * conform/data/sys/select.h-data: Likewise.
81917         * conform/data/sys/sem.h-data: Likewise.
81918         * conform/data/sys/shm.h-data: Likewise.
81919         * conform/data/sys/socket.h-data: Likewise.
81920         * conform/data/sys/stat.h-data: Likewise.
81921         * conform/data/sys/statvfs.h-data: Likewise.
81922         * conform/data/sys/time.h-data: Likewise.
81923         * conform/data/sys/timeb.h-data: Likewise.
81924         * conform/data/sys/times.h-data: Likewise.
81925         * conform/data/sys/types.h-data: Likewise.
81926         * conform/data/sys/uio.h-data: Likewise.
81927         * conform/data/sys/un.h-data: Likewise.
81928         * conform/data/sys/utsname.h-data: Likewise.
81929         * conform/data/sys/wait.h-data: Likewise.
81930         * conform/data/syslog.h-data: Likewise.
81931         * conform/data/tar.h-data: Likewise.
81932         * conform/data/termios.h-data: Likewise.
81933         * conform/data/utime.h-data: Likewise.
81934         * conform/data/utmpx.h-data: Likewise.
81935         * conform/data/varargs.h-data: Likewise.
81936         * conform/data/wchar.h-data: Likewise.
81937         * conform/data/wctype.h-data: Likewise.
81938         * conform/data/wordexp.h-data: Likewise.
81940         * include/stropts.h: New file.
81941         * include/uchar.h: New file.
81942         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81943         * include/assert.h: Likewise.
81944         * include/ctype.h: Likewise.
81945         * include/dirent.h: Likewise.
81946         * include/dlfcn.h: Likewise.
81947         * include/fcntl.h: Likewise.
81948         * include/fnmatch.h: Likewise.
81949         * include/glob.h: Likewise.
81950         * include/grp.h: Likewise.
81951         * include/libio.h: Likewise.
81952         * include/locale.h: Likewise.
81953         * include/math.h: Likewise.
81954         * include/net/if.h: Likewise.
81955         * include/netdb.h: Likewise.
81956         * include/netinet/in.h: Likewise.
81957         * include/pthread.h: Likewise.
81958         * include/pwd.h: Likewise.
81959         * include/regex.h: Likewise.
81960         * include/sched.h: Likewise.
81961         * include/search.h: Likewise.
81962         * include/setjmp.h: Likewise.
81963         * include/signal.h: Likewise.
81964         * include/stdio.h: Likewise.
81965         * include/stdlib.h: Likewise.
81966         * include/string.h: Likewise.
81967         * include/sys/cdefs.h: Likewise.
81968         * include/sys/mman.h: Likewise.
81969         * include/sys/msg.h: Likewise.
81970         * include/sys/resource.h: Likewise.
81971         * include/sys/select.h: Likewise.
81972         * include/sys/socket.h: Likewise.
81973         * include/sys/stat.h: Likewise.
81974         * include/sys/statvfs.h: Likewise.
81975         * include/sys/time.h: Likewise.
81976         * include/sys/times.h: Likewise.
81977         * include/sys/uio.h: Likewise.
81978         * include/sys/utsname.h: Likewise.
81979         * include/sys/wait.h: Likewise.
81980         * include/termios.h: Likewise.
81981         * include/time.h: Likewise.
81982         * include/ulimit.h: Likewise.
81983         * include/unistd.h: Likewise.
81984         * include/utime.h: Likewise.
81985         * include/wchar.h: Likewise.
81986         * include/wctype.h: Likewise.
81987         * include/wordexp.h: Likewise.
81989         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
81991         * time/time.h: TIME_UTC must be a macro.
81992         Make timespec_get available for ISO C11 only as well.
81994 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
81996         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
81997         Reported by Peng Haitao <penght@cn.fujitsu.com>.
81999 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82001         * configure.in: Use -o not -a in test for unsupported multi-arch.
82003 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82005         * manual/texinfo.tex: Update to version 2012-01-19.16.
82007 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82009         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82011 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82013         [BZ #13738]
82014         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82015         * manual/fdl-1.3.texi: New file.
82016         * manual/fdl-1.1.texi: File removed.
82018         [BZ #13738]
82019         * manual/libc.texinfo (FDL_VERSION): New @set.
82020         Use it for mention of FDL in cover text.
82021         (Documentation License): Use it in @include file name.
82023 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82024             Roland McGrath  <roland@hack.frob.com>
82026         [BZ #5461]
82027         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82028         (not LONG_LONG_MAX and LONG_LONG_MIN.
82029         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82030         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82031         name.
82032         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82034 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82036         [BZ #2547]
82037         [BZ #11365]
82038         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82039         manipulate bits before adding and subtracting TWO23[sx].
82040         * math/libm-test.inc (nearbyint_test): Add more tests.
82042 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82044         [BZ #2548]
82045         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82046         bits before adding and subtracting TWO23[sx].
82047         * math/libm-test.inc (rint_test): Add more tests.
82048         (rint_test_tonearest): Likewise.
82049         (rint_test_towardzero): Likewise.
82050         (rint_test_downward): Likewise.
82051         (rint_test_upward: Likewise.
82053 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82055         [BZ #10110]
82056         * include/stdc-predef.h: New file.  Extracted from features.h.
82057         * include/features.h: Include stdc-predef.h.
82058         * Makefile (headers): Add stdc-predef.h.
82059         * CONFORMANCE (Compiler limitations): Update.
82061 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82063         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82065 2012-02-21  David S. Miller  <davem@davemloft.net>
82067         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82068         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82070 2012-02-20  David S. Miller  <davem@davemloft.net>
82072         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82073         using a normal save/restore sequence, rather than allocating a
82074         dummy stack frame just to store a frame pointer and restore.
82075         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82077 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82079         * manual/install.texi: Fix stray word in line-wrapped comment.
82081 2012-02-20  David S. Miller  <davem@davemloft.net>
82083         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82084         both binutils and gcc support GOTDATA.
82086         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82087         "rd %pc" in the PIC register setup sequences.
82089         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82090         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82091         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82092         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82093         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82094         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82095         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82096         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82097         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82098         (SYSCALL_ERROR_HANDLER): Likewise.
82099         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82100         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82101         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82102         (SYSCALL_ERROR_HANDLER): Likewise.
82104         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82105         (HAVE_GCC_GOTDATA): New.
82106         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82107         relocation support in both binutils and gcc.
82108         * sysdeps/sparc/elf/configure: Regenerate.
82110         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82111         * sysdeps/sparc/sparc32/elf/configure: Delete.
82112         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82113         * sysdeps/sparc/sparc64/elf/configure: Delete.
82114         * sysdeps/sparc/elf/configure.in: New file.
82115         * sysdeps/sparc/elf/configure: Generate.
82117         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82118         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82119         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82120         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82121         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82123 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82125         * manual/install.texi: Do not mention specific glibc version
82126         numbers.
82127         * manual/libc.texinfo (VERSION, UPDATED): Update.
82128         (@copying): Use @copyright{} and range of years.
82130 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82132         [BZ #13695]
82133         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82134         [crti.S not in sysdirs] (generated): Do not append.
82135         [crti.S not in sysdirs] (omit-deps): Likewise.
82136         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82137         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82138         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82139         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82140         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82141         Likewise.
82142         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82143         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82144         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82145         * csu/defs.awk: Remove file.
82146         * sysdeps/generic/initfini.c: Likewise.
82147         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82148         variable.
82149         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82150         Likewise.
82152 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82154         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82155         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82156         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82157         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82158         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82159         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82160         <bits/epoll.h>.
82161         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82162         (__EPOLL_PACKED): Define to empty if not defined by
82163         <bits/epoll.h>.
82164         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82165         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82166         bits/epoll.h.
82168 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82170         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82171         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82172         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82173         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82174         <bits/timerfd.h>.
82175         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82176         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82177         bits/timerfd.h.
82179 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82181         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82182         in C locale.
82183         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82184         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82185         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82188 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82190         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82191         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82193 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82195         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82196         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82197         defined.
82198         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82199         Likewise.
82200         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82201         entry for 2.16.
82203 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82205         * math/w_acos.c: Use non-signaling floating-point comparisons.
82206         * math/w_acosf.c: Likewise.
82207         * math/w_acosh.c: Likewise.
82208         * math/w_acoshf.c: Likewise.
82209         * math/w_acoshl.c: Likewise.
82210         * math/w_acosl.c: Likewise.
82211         * math/w_asin.c: Likewise.
82212         * math/w_asinf.c: Likewise.
82213         * math/w_asinl.c: Likewise.
82214         * math/w_atanh.c: Likewise.
82215         * math/w_atanhf.c: Likewise.
82216         * math/w_atanhl.c: Likewise.
82217         * math/w_exp2.c: Likewise.
82218         * math/w_exp2f.c: Likewise.
82219         * math/w_exp2l.c: Likewise.
82220         * math/w_j0.c: Likewise.
82221         * math/w_j0f.c: Likewise.
82222         * math/w_j0l.c: Likewise.
82223         * math/w_j1.c: Likewise.
82224         * math/w_j1f.c: Likewise.
82225         * math/w_j1l.c: Likewise.
82226         * math/w_jn.c: Likewise.
82227         * math/w_jnf.c: Likewise.
82228         * math/w_log.c: Likewise.
82229         * math/w_log10.c: Likewise.
82230         * math/w_log10f.c: Likewise.
82231         * math/w_log10l.c: Likewise.
82232         * math/w_log2.c: Likewise.
82233         * math/w_log2f.c: Likewise.
82234         * math/w_log2l.c: Likewise.
82235         * math/w_logf.c: Likewise.
82236         * math/w_logl.c: Likewise.
82237         * math/w_sqrt.c: Likewise.
82238         * math/w_sqrtf.c: Likewise.
82239         * math/w_sqrtl.c: Likewise.
82240         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82241         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82242         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82243         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82244         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82246 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82248         [BZ #9739]
82249         * manual/string.texi (strnlen): Use correct parameter name in
82250         equivalent expression.
82252 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82254         [BZ #11174]
82255         * manual/users.texi (seteuid): Consistently use neweuid for
82256         argument name.
82258 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82260         [BZ #13704]
82261         * manual/nss.texi (Services in the NSS configuration): Correct
82262         list of services in example configuration file.
82264 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82266         [BZ #11322]
82267         * manual/arith.texi: Remove statements about negative zero
82268         behaving identically to zero.
82270 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82272         [BZ #5993]
82273         * manual/install.texi: Do not document upgrading from libc5.
82275 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82277         [BZ #4596]
82278         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82280 2012-02-18  David S. Miller  <davem@davemloft.net>
82282         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82283         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82284         %o7 across the call.
82285         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82286         instead.
82287         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82288         SETUP_PIC_REG_LEAF.
82289         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82290         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82291         * sysdeps/sparc/crtn.S: Likewise.
82293 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82295         * aout/Makefile: Remove.
82297 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82299         [BZ #13058]
82300         * manual/examples/argp-ex1.c (main): Format definition in GNU
82301         style.
82302         * manual/examples/argp-ex2.c (main): Likewise.
82303         * manual/examples/argp-ex3.c (main): Likewise.
82304         * manual/examples/argp-ex4.c (main): Likewise.
82305         * manual/examples/longopt.c (main): Use new-style prototype
82306         definition.
82307         * manual/examples/strncat.c (main): Specify return type and use
82308         (void) for arguments.
82309         * manual/examples/subopt.c (main): Use char **argv argument.
82311 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82313         [BZ #5077]
82314         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82315         rounding modes.
82317 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82319         [BZ #6907]
82320         * manual/string.texi (strchr): Change when strchrnul is
82321         recommended.
82323 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82325         [BZ #174]
82326         * manual/locale.texi (setlocale): Document LOCPATH.
82328 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82330         [BZ #10210]
82331         * manual/process.texi (execle): Move @dots{} before last argument.
82333 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82335         [BZ #12047]
82336         * manual/charset.texi (Generic Charset Conversion): Fix typo
82337         (LC_TYPE -> LC_CTYPE).
82339 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82341         [BZ #5805]
82342         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82343         (scalbnf): Likewise.
82344         (scalbnl): Likewise.
82345         (scalbln): Likewise.
82346         (scalblnf): Likewise.
82347         (scalblnl): Likewise.
82348         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82349         (vwarnx): Likewise.
82350         (verr): Likewise.
82351         (verrx): Likewise.
82352         * manual/filesys.texi (telldir): Use braces around return type.
82353         * manual/llio.texi (mmap): Add space after comma.
82354         (mmap64): Likewise.
82355         * manual/math.texi (jn): Use @var{} on parameter names.
82356         (jnf): Likewise.
82357         (jnl): Likewise.
82358         (yn): Likewise.
82359         (ynf): Likewise.
82360         (ynl): Likewise.
82361         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82362         line.
82363         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82364         "...".
82365         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82366         (sched_get_priority_max): Likewise.
82367         * manual/signal.texi (sigvec): Add space after comma.
82368         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82369         names.
82370         (if_indextoname): Likewise.
82371         (if_freenameindex): Likewise.
82372         (sendto): Use ',' instead of '.' in prototype.
82373         * manual/startup.texi (syscall): Use @dots{} instead of literal
82374         "...".
82375         * manual/stdio.texi (__fpending): Separate initial words of
82376         paragraph from @deftypefun line.
82377         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82378         "...".
82379         (vsyslog): Use @var{} on parameter names.
82380         * manual/terminal.texi (stty): Use @var{} on parameter names.
82381         * manual/users.texi (getutmp): Use @var{} on parameter names.
82382         (getutmpx): Likewise.
82384 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82386         [BZ #6884]
82387         * manual/stdio.texi (fopen): Fix typos in description of
82388         ",ccs=STRING".
82390 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82392         [BZ #4026]
82393         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82394         get clock_id definition.
82396 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82398         [BZ #4822]
82399         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82400         (madvise): Cast every argument to void on its own.
82402 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82404         [BZ #9902]
82405         * manual/startup.texi (Exit Status): Fix typo.
82407 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82409         [BZ #10140]
82410         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82411         * manual/examples/argp-ex2.c: Likewise.
82412         * manual/examples/argp-ex3.c: Likewise.
82414 2012-02-16  Richard Henderson  <rth@redhat.com>
82416         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82417         * sysdeps/s390/s390-32/initfini.c: Remove.
82418         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82419         * sysdeps/s390/s390-64/initfini.c: Remove.
82421 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82423         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82424         compiler output for sysdeps/generic/initfini.c.
82425         * sysdeps/sh/elf/initfini.c: Remove file.
82427 2012-02-16  David S. Miller  <davem@davemloft.net>
82429         [BZ #11494]
82430         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82432         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82433         * sysdeps/sparc/crti.S: New file.
82434         * sysdeps/sparc/crtn.S: New file.
82435         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82436         * sysdeps/sparc/sparc64/Makefile: Likewise.
82438 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82440         [BZ #3335]
82441         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82443 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82445         [BZ #4822]
82446         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82448         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82449         (write, read, close): Likewise.
82450         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82452 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82454         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82455         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82456         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82457         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82458         <bits/signalfd.h>.
82459         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82461         bits/signalfd.h.
82463 2012-02-14  Marek Polacek  <polacek@redhat.com>
82465         * sysdeps/x86_64/crti.S: New file.
82466         * sysdeps/x86_64/crtn.S: New file.
82467         * sysdeps/x86_64/elf/initfini.c: Remove file.
82469 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82471         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82472         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82473         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82474         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82475         <bits/inotify.h>.
82476         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82478         bits/inotify.h.
82480 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82482         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82483         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82484         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82485         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82486         <bits/eventfd.h>.
82487         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82488         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82489         bits/eventfd.h.
82491 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82493         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82494         __feraiseexcept instead of feraiseexcept.
82496         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82497         nanosleep invocations.
82498         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82499         strings, and add error checking for a nanosleep invocations.
82501 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82503         Replace FSF snail mail address with URLs, as per GNU coding standards.
82504         Most of the snail mail addresses were wrong anyway, and omitting
82505         them makes the source code easier to maintain.  Almost all of the
82506         changes are to license notices and to locale LC_IDENTIFICATION
82507         addresses, except for this one:
82508         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82509         not its snail mail address.
82511 2012-02-09  Richard Henderson  <rth@twiddle.net>
82513         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82514         of kernel-features.h.
82516         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82518 2012-02-08  Marek Polacek  <polacek@redhat.com>
82520         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82521         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82522         * sysdeps/gnu/_G_config.h: Likewise.
82523         * sysdeps/generic/_G_config.h: Likewise.
82525 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82527         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82528         tests.
82529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82531         * sysdeps/powerpc/powerpc32/crti.S: New file.
82532         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82533         * sysdeps/powerpc/powerpc64/crti.S: New file.
82534         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82536         * Makeconfig (have-initfini): Don't set.
82537         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82538         * configure.in (nopic_initfini): Don't substitute.
82539         * config.h.in (HAVE_INITFINI): Don't #undef.
82540         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82541         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82543 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82545         Support crti.S and crtn.S provided directly by architectures.
82546         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82547         [crti.S in sysdirs] (omit-deps): Likewise.
82548         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82549         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82550         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82551         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82552         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82553         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82554         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82555         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82556         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82557         compiler output for sysdeps/generic/initfini.c.
82558         * sysdeps/i386/elf/Makefile: Remove file.
82559         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82561 2012-02-07  Marek Polacek  <polacek@redhat.com>
82563         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82564         * sysdeps/gnu/_G_config.h: Likewise.
82565         * sysdeps/mach/hurd/_G_config.h: Likewise.
82567 2012-02-07  Marek Polacek  <polacek@redhat.com>
82569         * math/Makefile (tests): Add tst-CMPLX2.
82570         * math/tst-CMPLX2.c: New file.
82572 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82574         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82576         * math/libm-test.inc (jn_test): Add missing L suffix.
82578 2012-02-06  Marek Polacek  <polacek@redhat.com>
82580         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82581         * sysdeps/i386/fpu/e_powf.S: Likewise.
82582         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82583         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82584         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82585         * sysdeps/i386/fpu/e_pow.S: Likewise.
82586         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82587         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82588         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82589         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82590         * sysdeps/i386/fpu/e_log2.S: Likewise.
82591         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82592         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82593         * sysdeps/i386/fpu/e_powl.S: Likewise.
82594         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82595         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82596         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82597         * sysdeps/i386/fpu/e_logl.S: Likewise.
82598         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82599         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82600         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82601         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82602         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82603         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82604         * sysdeps/i386/fpu/e_log.S: Likewise.
82605         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82606         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82607         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82608         * sysdeps/i386/fpu/e_logf.S: Likewise.
82609         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82610         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82611         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82612         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82613         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82614         * sysdeps/i386/fpu/e_log10.S: Likewise.
82615         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82616         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82617         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82618         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82619         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82620         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82621         * sysdeps/i386/asm-syntax.h: Likewise.
82622         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82623         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82624         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82625         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82626         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82627         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82628         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82629         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82630         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82631         * sysdeps/powerpc/sysdep.h: Likewise.
82632         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82633         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82635 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82637         [BZ #411]
82638         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82640 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82642         * sysdeps/i386/sysdep.h: Include <features.h>.
82643         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82644         version.
82646 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82648         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82649         Define.
82650         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82651         LOAD_PIC_REG_STR.
82653 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82655         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82656         (SETUP_PIC_REG): Use GET_PC_THUNK.
82657         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82658         macro.
82660 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82662         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82663         for non-PIC compilation.
82664         (SETUP_PIC_REG): Add .p2align directive.
82665         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82666         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82667         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82668         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82669         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82670         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82671         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82672         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82673         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82674         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82675         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82676         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82677         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82678         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82679         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82680         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82681         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82682         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82683         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82684         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82685         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82686         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82687         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82688         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82689         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82690         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82691         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82692         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82693         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82694         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82695         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82696         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82697         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82698         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82699         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82700         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82701         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82702         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82703         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82704         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82705         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82707 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82709         * math/tst-CMPLX.c: Include <stdio.h>.
82711 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82713         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82714         float.
82715         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82716         * sysdeps/sparc/bits/mathdef.h: Likewise.
82718 2012-01-31  Marek Polacek  <polacek@redhat.com>
82720         * libio/libio.h: Don't define _PARAMS.
82721         * locale/programs/config.h: Don't define PARAMS.
82722         * stdlib/strtol_l.c: Likewise.
82723         (__strtol_l): Remove PARAMS from the prototype.
82725 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82727         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82728         names.  Just use the correct names.  Remove unnecessary wrapper
82729         functions.
82730         * malloc/arena.c: Likewise.
82731         * malloc/hooks.c: Likewise.
82733         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82734         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82735         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82737 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82739         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82740         into tail calls.
82741         (update_get_addr): New function.
82742         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82743         GET_ADDR_MODULE parameter.
82745 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82747         * crypt/cert.c: Remove __STDC__ conditionals.
82748         * crypt/crypt-entry.c: Likewise.
82749         * crypt/crypt_util.c: Likewise.
82750         * libio/filedoalloc.c: Likewise.
82751         * libio/fileops.c: Likewise.
82752         * libio/genops.c: Likewise.
82753         * libio/iofclose.c: Likewise.
82754         * libio/iofdopen.c: Likewise.
82755         * libio/iofopen.c: Likewise.
82756         * libio/iofopen64.c: Likewise.
82757         * libio/iogetdelim.c: Likewise.
82758         * libio/iopopen.c: Likewise.
82759         * libio/obprintf.c: Likewise.
82760         * libio/oldfileops.c: Likewise.
82761         * libio/oldiofclose.c: Likewise.
82762         * libio/oldiofdopen.c: Likewise.
82763         * libio/oldiofopen.c: Likewise.
82764         * libio/oldiopopen.c: Likewise.
82765         * libio/wfiledoalloc.c: Likewise.
82766         * libio/wgenops.c: Likewise.
82767         * locale/programs/xmalloc.c: Likewise.
82768         * misc/syslog.c: Likewise.
82769         * stdio-common/xbug.c: Likewise.
82770         * string/memchr.c: Likewise.
82771         * string/memcmp.c: Likewise.
82772         * string/memrchr.c: Likewise.
82773         * string/rawmemchr.c: Likewise.
82774         * sysdeps/posix/getcwd.c: Likewise.
82775         * time/strftime_l.c: Likewise.
82777 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82779         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82780         * config.make.in (config-cflags-sse2avx): Define.
82781         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82782         Fix typo.
82784 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82786         * scripts/config.guess: Update from upstream config git repository.
82787         * scripts/config.sub: Likewise.
82789 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82791         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82792         (EM_NUM): Update.
82793         (R_TILEPRO_*, R_TILEGX_*): New macros.
82795         * scripts/firstversions.awk: Fix bug in version range handling.
82797         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82799         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82801         * include/sys/epoll.h: New file.
82802         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82803         libc_hidden_def.
82805 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82807         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82808         Avoid unnecessary __WORDSIZE == 64 test.
82809         (fmaxf): Use VEX format if possible.
82810         (fmax): Likewise.
82811         (fminf): Likewise.
82812         (fmin): Likewise.
82814         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82815         * math/math_private.h: Remove libc_fegetround* and
82816         libc_fesetround*.
82817         * sysdeps/i386/configure.in: Check for -msse2avx.
82818         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82819         also if SSE2AVX is defined.
82820         Remove libc_fegetround* and libc_fesetround*.
82821         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82822         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82823         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82824         of HAS_YMM_USABLE.
82825         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82826         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82827         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82828         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82829         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82831         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82833 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82835         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82836         size is not set.
82837         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82839 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82841         [BZ #13618]
82842         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82843         relocation.
82844         * Makeconfig (libm): Define.
82845         * elf/Makefile: Add rules to build and run tst-relsort1.
82846         * elf/tst-relsort1.c: New file.
82847         * elf/tst-relsort1mod1.c: New file.
82848         * elf/tst-relsort1mod2.c: New file.
82850 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82852         * math/s_ldexp.c: Remove __STDC__ conditionals.
82853         * math/s_ldexpf.c: Likewise.
82854         * math/s_ldexpl.c: Likewise.
82855         * math/s_nextafter.c: Likewise.
82856         * math/s_nexttowardf.c: Likewise.
82857         * math/s_significand.c: Likewise.
82858         * math/s_significandf.c: Likewise.
82859         * math/s_significandl.c: Likewise.
82860         * math/w_jnl.c: Likewise.
82861         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82862         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82863         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82864         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82865         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82866         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82867         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82868         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82869         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82870         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82871         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82872         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82873         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82874         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82875         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82876         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82877         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82878         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82879         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82880         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82881         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82882         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82883         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82884         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82885         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82886         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82887         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82888         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82889         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82890         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82891         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82892         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82893         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82894         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82895         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82896         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82897         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82898         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82899         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82900         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82901         * sysdeps/ieee754/k_standard.c: Likewise.
82902         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82903         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82904         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82905         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82906         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82907         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82908         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82909         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82910         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82911         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82912         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82913         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82914         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82915         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82916         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82917         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82918         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82919         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82920         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82921         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82922         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82923         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82924         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82925         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82926         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82927         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82928         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82929         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82930         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82931         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82932         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82933         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82934         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82935         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82936         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82937         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82938         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82939         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82940         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82941         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82942         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82943         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82944         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82945         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82946         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82947         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82948         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82949         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82950         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82951         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82952         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82953         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82954         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82955         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82956         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82957         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82958         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82959         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82960         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82961         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82962         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82963         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82964         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82965         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82966         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82967         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82968         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82969         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82970         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82971         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82972         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82973         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82974         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82975         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82976         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82977         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82978         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82979         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82980         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82981         * sysdeps/ieee754/s_matherr.c: Likewise.
82982         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82983         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82984         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82985         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82987 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82989         * crypt/md5.h: Remove __STDC__ conditionals.
82990         * libio/libioP.h: Likewise.
82991         * locale/programs/config.h: Likewise.
82992         * sysdeps/generic/sysdep.h: Likewise.
82993         * sysdeps/i386/asm-syntax.h: Likewise.
82994         * sysdeps/s390/asm-syntax.h: Likewise.
82995         * sysdeps/unix/sysdep.h: Likewise.
82996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
82997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82999 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83001         * libio/libio.h: Remove __STDC__ conditionals.
83002         * malloc/obstack.h: Likewise.
83003         * math/complex.h: Likewise.
83004         * math/math.h: Likewise.
83005         * sysdeps/generic/_G_config.h: Likewise.
83006         * sysdeps/gnu/_G_config.h: Likewise.
83007         * sysdeps/mach/hurd/_G_config.h: Likewise.
83008         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83009         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83010         * sysdeps/sparc/bits/mathdef.h: Likewise.
83012 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83014         [BZ #13583]
83015         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83016         Clean up HAS_* macros.
83017         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83018         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83019         possible.
83020         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83021         HAS_AVX.
83022         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83023         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83024         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83025         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83026         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83028 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83030         * elf/tst-unique3.cc (gets): Remove declaration.
83031         * elf/tst-unique3lib.cc (gets): Likewise.
83032         * elf/tst-unique3lib2.cc (gets): Likewise.
83033         * elf/tst-unique4.cc (gets): Likewise.
83035 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83037         * include/stdio.h: Add C++ protection.  Add gets declarations and
83038         definitions.
83039         * debug/tst-chk1.c: Don't declare gets here.
83040         * stdio-common/tst-gets.c: Likewise.
83042 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83044         * posix/glob: Remove directory.
83046 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83048         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83050 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83052         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83053         of the non-standard EPFNOSUPPORT.
83055 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83057         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83058         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83059         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83061 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83063         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83065 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83067         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83068         transient errors.
83069         * nscd/grpcache.c (cache_addgr): Likewise.
83070         * nscd/hstcache.c (cache_addhst): Likewise.
83071         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83072         * nscd/pwdcache.c (cache_addpw): Likewise.
83073         * nscd/servicescache.c (cache_addserv): Likewise.
83075 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83077         * malloc/malloc.c: Various cleanups.
83078         * malloc/hooks.c: Likewise.
83080         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83081         * stdlib/bug-fmtmsg1.c: New file.
83083         * stdlib/fmtmsg.c (init): Add missing unlock.
83084         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83086 2012-01-12  Marek Polacek  <polacek@redhat.com>
83088         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83089         and _GNU_SOURCE.
83091 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83093         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83094         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83095         macro to ensure uniqueness of label name.
83096         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83097         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83099 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83101         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83103         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83104         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83105         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83106         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83108 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83110         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83112         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83113         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83114         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83116         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83118         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83119         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83120         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83121         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83123         * math/bits/math-finite.h: Add ldexp support.
83125 2012-01-10  Marek Polacek  <polacek@redhat.com>
83127         * locale/programs/localedef.h (show_archive_content): Add noreturn
83128         attribute.
83130 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83132         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83134 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83136         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83138         * io/Makefile (headers): Add bits/poll2.h.
83140 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83143         typo #include statement.
83145 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83147         * include/sys/cdefs.h: Define __attribute_alloc_size.
83148         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83149         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83150         * elf/pldd.c: Likewise.
83151         * iconv/iconv_charmap.c: Likewise.
83152         * iconv/iconvconfig.c: Likewise.
83153         * iconv/strtab.c: Likewise.
83154         * locale/programs/locale.c: Likewise.
83155         * locale/programs/localedef.h: Likewise.
83156         * locale/programs/simple-hash.c: Likewise.
83157         * nscd/nscd.h: Likewise.
83158         * nss/makedb.c: Likewise.
83159         * sysdeps/generic/ldconfig.h: Likewise.
83160         * locale/programs/localedef.c: Remove xmalloc prototype.
83161         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83163 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83165         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83166         appropriate.
83168 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83170         * math/Makefile (tests): Add tst-CMPLX.
83171         * math/tst-CMPLX.c: New file.
83173         * math/complex.h (CMPLXL): Fix typo.
83175         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83176         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83177         GLIBC_2.16.
83178         * debug/tst-chk1.c: Add poll and ppoll tests.
83179         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83180         * include/sys/poll.h: Add hidden proto for ppoll.
83181         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83182         * sysdeps/mach/hurd/ppoll.c: Likewise.
83183         * io/ppoll.c: Likewise.
83184         * debug/poll_chk.c: New file.
83185         * debug/ppoll_chk.c: New file.
83186         * include/bits/poll2.h: New file.
83187         * io/bits/poll2.h: New file.
83189         [BZ #1350]
83190         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83192         * configure.in: static is always set to yes.  Remove.
83193         * config.make.in: Don't set build-static.
83194         * Makeconfig: Remove use of build-static.
83195         * dlfcn/Makefile: Likewise.
83196         * elf/Makefile: Likewise.
83197         * math/Makefile: Likewise.
83198         * misc/Makefile: Likewise.
83199         * nptl/Makefile: Likewise.
83200         * sysdeps/mach/hurd/Makefile: Likewise.
83202         * configure.in: PWD_P is not used anymore.
83203         * config.make.in: Remove PWD_P entry.
83205         * configure.in: Remove last remnants of RANLIB.
83206         No need to check for signed size_t anymore.
83207         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83208         and IA-64.
83209         Remove __builtin_expect test because we require at least gcc 3.4.
83210         * aclocal.m4: Likewise.
83212         * wcsmbs/mbrtoc16.c: Implement using towc function.
83213         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83214         * wcsmbs/wcsmbsload.c: Likewise.
83215         * iconv/gconv_simple.c: Likewise.
83216         * iconv/gconv_int.h: Likewise.
83217         * iconv/gconv_builtin.h: Likewise.
83218         * iconv/iconv_prog.c: Remove CHAR16 handling.
83220         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83222         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83224         * configure.in: Remove --with-elf and --enable-bounded options.
83225         Dont set base_machine for ia64.  More non-ELF conditions removed.
83226         Remove testing and setting of leading underscore information.
83227         * config.make.in (build-bounded): Set to no.
83228         * config.h.in: Remove NO_UNDERSCORES entry.
83229         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83230         them.
83231         * csu/start.c: Remove !NO_UNDERSCORE code.
83232         * locale/localeinfo.h: Likewise.
83233         * sysdeps/generic/machine-gmon.h: Likewise.
83234         * sysdeps/generic/sysdep.h: Likewise.
83235         * sysdeps/i386/sysdep.h: Likewise.
83236         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83237         * sysdeps/mach/sysdep.h: Likewise.
83238         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83239         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83240         * sysdeps/sh/sysdep.h: Likewise.
83241         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83242         * sysdeps/unix/i386/sysdep.S: Likewise.
83243         * sysdeps/unix/sparc/start.c: Likewise.
83244         * sysdeps/unix/sparc/sysdep.S: Likewise.
83245         * sysdeps/unix/sparc/sysdep.h: Likewise.
83246         * sysdeps/unix/start.c: Likewise.
83247         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83248         * sysdeps/x86_64/sysdep.h: Likewise.
83250 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83252         [BZ #13553]
83253         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83254         for non-gcc.
83255         * argp/argp-fmtstream.h: Use const instead __const.
83256         * argp/argp.h: Likewise.
83257         * assert/assert.h: Likewise.
83258         * bits/fenv.h: Likewise.
83259         * bits/sched.h: Likewise.
83260         * bits/sigset.h: Likewise.
83261         * bits/sigthread.h: Likewise.
83262         * catgets/nl_types.h: Likewise.
83263         * conform/data/pthread.h-data: Likewise.
83264         * crypt/crypt-private.h: Likewise.
83265         * crypt/crypt.h: Likewise.
83266         * crypt/crypt_util.c: Likewise.
83267         * ctype/ctype.h: Likewise.
83268         * debug/execinfo.h: Likewise.
83269         * debug/mbsnrtowcs_chk.c: Likewise.
83270         * debug/mbsrtowcs_chk.c: Likewise.
83271         * debug/wcsnrtombs_chk.c: Likewise.
83272         * debug/wcsrtombs_chk.c: Likewise.
83273         * debug/wcstombs_chk.c: Likewise.
83274         * dirent/dirent.h: Likewise.
83275         * dlfcn/dlfcn.h: Likewise.
83276         * elf/neededtest4.c: Likewise.
83277         * grp/grp.h: Likewise.
83278         * gshadow/gshadow.h: Likewise.
83279         * iconv/gconv.h: Likewise.
83280         * iconv/gconv_int.h: Likewise.
83281         * iconv/gconv_simple.c: Likewise.
83282         * iconv/iconv.h: Likewise.
83283         * iconv/loop.c: Likewise.
83284         * iconv/skeleton.c: Likewise.
83285         * include/aio.h: Likewise.
83286         * include/aliases.h: Likewise.
83287         * include/argz.h: Likewise.
83288         * include/arpa/inet.h: Likewise.
83289         * include/assert.h: Likewise.
83290         * include/dirent.h: Likewise.
83291         * include/dlfcn.h: Likewise.
83292         * include/execinfo.h: Likewise.
83293         * include/fcntl.h: Likewise.
83294         * include/fenv.h: Likewise.
83295         * include/glob.h: Likewise.
83296         * include/grp.h: Likewise.
83297         * include/libintl.h: Likewise.
83298         * include/mntent.h: Likewise.
83299         * include/netdb.h: Likewise.
83300         * include/pwd.h: Likewise.
83301         * include/rpc/netdb.h: Likewise.
83302         * include/sched.h: Likewise.
83303         * include/search.h: Likewise.
83304         * include/shadow.h: Likewise.
83305         * include/signal.h: Likewise.
83306         * include/stdio.h: Likewise.
83307         * include/stdlib.h: Likewise.
83308         * include/string.h: Likewise.
83309         * include/sys/socket.h: Likewise.
83310         * include/sys/stat.h: Likewise.
83311         * include/sys/statfs.h: Likewise.
83312         * include/sys/statvfs.h: Likewise.
83313         * include/sys/syslog.h: Likewise.
83314         * include/sys/time.h: Likewise.
83315         * include/sys/uio.h: Likewise.
83316         * include/time.h: Likewise.
83317         * include/unistd.h: Likewise.
83318         * include/utmp.h: Likewise.
83319         * include/wchar.h: Likewise.
83320         * include/wctype.h: Likewise.
83321         * inet/aliases.h: Likewise.
83322         * inet/arpa/inet.h: Likewise.
83323         * inet/netinet/ether.h: Likewise.
83324         * inet/netinet/in.h: Likewise.
83325         * intl/libintl.h: Likewise.
83326         * io/bits/fcntl2.h: Likewise.
83327         * io/fcntl.h: Likewise.
83328         * io/ftw.h: Likewise.
83329         * io/sys/poll.h: Likewise.
83330         * io/sys/stat.h: Likewise.
83331         * io/sys/statfs.h: Likewise.
83332         * io/sys/statvfs.h: Likewise.
83333         * io/utime.h: Likewise.
83334         * libio/bits/stdio.h: Likewise.
83335         * libio/bits/stdio2.h: Likewise.
83336         * libio/libio.h: Likewise.
83337         * libio/libioP.h: Likewise.
83338         * libio/stdio.h: Likewise.
83339         * locale/lc-ctype.c: Likewise.
83340         * locale/locale.h: Likewise.
83341         * login/utmp.h: Likewise.
83342         * malloc/arena.c: Likewise.
83343         * malloc/malloc.c: Likewise.
83344         * malloc/malloc.h: Likewise.
83345         * malloc/mcheck.c: Likewise.
83346         * malloc/mtrace.c: Likewise.
83347         * math/bits/mathcalls.h: Likewise.
83348         * math/fenv.h: Likewise.
83349         * math/math_private.h: Likewise.
83350         * misc/bits/error.h: Likewise.
83351         * misc/bits/syslog.h: Likewise.
83352         * misc/err.h: Likewise.
83353         * misc/error.h: Likewise.
83354         * misc/fstab.h: Likewise.
83355         * misc/mntent.h: Likewise.
83356         * misc/regexp.h: Likewise.
83357         * misc/search.h: Likewise.
83358         * misc/sgtty.h: Likewise.
83359         * misc/sys/mman.h: Likewise.
83360         * misc/sys/syslog.h: Likewise.
83361         * misc/sys/uio.h: Likewise.
83362         * misc/sys/xattr.h: Likewise.
83363         * misc/ttyent.h: Likewise.
83364         * nis/rpcsvc/ypclnt.h: Likewise.
83365         * nss/nss.h: Likewise.
83366         * posix/bits/unistd.h: Likewise.
83367         * posix/fnmatch.h: Likewise.
83368         * posix/glob.h: Likewise.
83369         * posix/sched.h: Likewise.
83370         * posix/spawn.h: Likewise.
83371         * posix/sys/wait.h: Likewise.
83372         * posix/unistd.h: Likewise.
83373         * posix/wordexp.h: Likewise.
83374         * pwd/pwd.h: Likewise.
83375         * resolv/netdb.h: Likewise.
83376         * resource/sys/resource.h: Likewise.
83377         * rt/aio.h: Likewise.
83378         * rt/bits/mqueue2.h: Likewise.
83379         * rt/mqueue.h: Likewise.
83380         * shadow/shadow.h: Likewise.
83381         * signal/signal.h: Likewise.
83382         * socket/send.c: Likewise.
83383         * socket/sendto.c: Likewise.
83384         * socket/sys/socket.h: Likewise.
83385         * stdio-common/printf.h: Likewise.
83386         * stdlib/bits/stdlib.h: Likewise.
83387         * stdlib/fmtmsg.h: Likewise.
83388         * stdlib/monetary.h: Likewise.
83389         * stdlib/stdlib.h: Likewise.
83390         * stdlib/ucontext.h: Likewise.
83391         * streams/stropts.h: Likewise.
83392         * string/argz.h: Likewise.
83393         * string/bits/string2.h: Likewise.
83394         * string/string.h: Likewise.
83395         * string/strings.h: Likewise.
83396         * sunrpc/rpc/auth.h: Likewise.
83397         * sunrpc/rpc/auth_des.h: Likewise.
83398         * sunrpc/rpc/clnt.h: Likewise.
83399         * sunrpc/rpc/netdb.h: Likewise.
83400         * sunrpc/rpc/pmap_clnt.h: Likewise.
83401         * sunrpc/rpc/xdr.h: Likewise.
83402         * sysdeps/generic/inttypes.h: Likewise.
83403         * sysdeps/generic/net/if.h: Likewise.
83404         * sysdeps/generic/sys/swap.h: Likewise.
83405         * sysdeps/gnu/net/if.h: Likewise.
83406         * sysdeps/gnu/utmpx.h: Likewise.
83407         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83408         * sysdeps/i386/i486/bits/string.h: Likewise.
83409         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83410         * sysdeps/s390/bits/string.h: Likewise.
83411         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83412         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83413         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83414         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83415         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83416         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83417         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83418         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83419         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83420         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83421         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83422         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83423         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83424         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83425         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83426         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83427         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83429         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83430         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83431         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83432         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83433         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83434         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83435         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83436         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83437         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83438         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83439         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83440         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83441         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83442         * sysvipc/sys/ipc.h: Likewise.
83443         * sysvipc/sys/msg.h: Likewise.
83444         * sysvipc/sys/sem.h: Likewise.
83445         * sysvipc/sys/shm.h: Likewise.
83446         * termios/termios.h: Likewise.
83447         * time/sys/time.h: Likewise.
83448         * time/time.h: Likewise.
83449         * wcsmbs/bits/wchar2.h: Likewise.
83450         * wcsmbs/uchar.h: Likewise.
83451         * wcsmbs/wchar.h: Likewise.
83452         * wctype/wctype.h: Likewise.
83454         [BZ #13551]
83455         * Makeconfig: Remove all but ELF support including AIX support.
83456         * Makerules: Likewise.
83457         * config.h.in: Likewise.
83458         * config.make.in: Likewise.
83459         * configure: Likewise.
83460         * configure.in: Likewise.
83461         * csu/Makefile: Likewise.
83462         * csu/version.c: Likewise.
83463         * debug/Makefile: Likewise.
83464         * dlfcn/Makefile: Likewise.
83465         * elf/Makefile: Likewise.
83466         * extra-lib.mk: Likewise.
83467         * iconv/Makefile: Likewise.
83468         * include/libc-symbols.h: Likewise.
83469         * include/shlib-compat.h: Likewise.
83470         * resolv/Makefile: Likewise.
83471         * resolv/res_libc.c: Likewise.
83472         * rt/Makefile: Likewise.
83473         * sysdeps/i386/asm-syntax.h: Likewise.
83474         * sysdeps/i386/sysdep.h: Likewise.
83475         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83476         * sysdeps/mach/sysdep.h: Likewise.
83477         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83478         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83479         * sysdeps/s390/asm-syntax.h: Likewise.
83480         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83481         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83482         * sysdeps/sh/sysdep.h: Likewise.
83483         * sysdeps/unix/sparc/sysdep.h: Likewise.
83484         * sysdeps/wordsize-32/divdi3.c: Likewise.
83485         * sysdeps/x86_64/sysdep.h: Likewise.
83487         * argp/Versions: Remove _argp_unlock_xxx.
83489         [BZ #13559]
83490         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83491         * abilist/libBrokenLocale.abilist: Likewise.
83492         * abilist/libanl.abilist: Likewise.
83493         * abilist/libc.abilist: Likewise.
83494         * abilist/libcrypt.abilist: Likewise.
83495         * abilist/libdl.abilist: Likewise.
83496         * abilist/libm.abilist: Likewise.
83497         * abilist/libnsl.abilist: Likewise.
83498         * abilist/libpthread.abilist: Likewise.
83499         * abilist/libresolv.abilist: Likewise.
83500         * abilist/librt.abilist: Likewise.
83501         * abilist/libthread_db.abilist: Likewise.
83502         * abilist/libutil.abilist: Likewise.
83503         * abilist/libnss_db.abilist: New file.
83505         * scripts/abilist.awk: Add support for indirect functions.
83507         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83509         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83511         * shlib-versions: Remove entries for ports architectures.
83513         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83514         files in ports.
83515         * elf/stackguard-macros.h: Remove support for IA-64.
83516         * elf/tst-auditmod1.c: Likewise.
83517         * sysdeps/generic/ldsodefs.h: Likewise.
83519         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83520         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83521         configure files.
83523         [BZ #13552]
83524         * configure.in: Remove --enable-omitfp support.
83525         * FAQ.in: Adjust.
83526         * config.make.in: Likewise.
83527         * Makeconfig: Likewise.
83528         * manual/install.texi: Likewise.
83530         In case anyone cares, the IA-64 architecture could move to ports.
83531         * sysdeps/ia64/*: Removed.
83532         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83533         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83535         [BZ #13555]
83536         * configure.in: Remove entries for unsupported architectures.
83538         [BZ #13533]
83539         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83540         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83541         routines.
83542         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83543         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83544         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83545         fall back to using wcrtomb.
83546         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83547         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83548         renaming.
83549         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83550         * wcsmbs/tst-c16c32-1.c: New file.
83552         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83553         local variable.
83555         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83557         * elf/tst-unique3.cc: Add explicit declaration of gets.
83558         * elf/tst-unique3lib.cc: Likewise.
83559         * elf/tst-unique3lib2.cc: Likewise.
83560         * elf/tst-unique4.cc: Likewise.
83562         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83564 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83566         [BZ #13566]
83567         * assert/assert.h (static_assert): Don't define for C++.
83568         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83569         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83571 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83573         * iconv/loop.c (single loop): Fix assertion in storing of
83574         remaining bytes.
83576         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83578 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83580         * posix/getconf.c: Update copyright year.
83581         * nss/getent.c: Likewise.
83582         * nss/makedb.c: Likewise.
83583         * iconv/iconvconfig.c: Likewise.
83584         * iconv/iconv_prog.c: Likewise.
83585         * elf/ldconfig.c: Likewise.
83586         * elf/pldd.c: Likewise.
83587         * elf/sotruss.ksh: Likewise.
83588         * catgets/gencat.c: Likewise.
83589         * csu/version.c: Likewise.
83590         * elf/ldd.bash.in: Likewise.
83591         * elf/sprof.c (print_version): Likewise.
83592         * locale/programs/locale.c: Likewise.
83593         * locale/programs/localedef.c: Likewise.
83594         * login/programs/pt_chown.c: Likewise.
83595         * nscd/nscd.c (print_version): Likewise.
83596         * debug/xtrace.sh: Likewise.
83597         * malloc/memusage.sh: Likewise.
83598         * malloc/mtrace.pl: Likewise.
83599         * debug/catchsegv.sh: Likewise.
83601 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83603         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83604         pure attribute.
83606 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83608         [BZ #13533]
83609         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83610         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83611         transformations.
83612         * iconv/gconv_int.h: Likewise.
83613         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83614         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83615         from libc for GLIBC_2.16.
83616         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83617         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83618         * wcsmbs/uchar.h: Really define mbstate_t.
83619         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83620         * wcsmbs/c16rtomb.c: New file.
83621         * wcsmbs/mbrtoc16.c: New file.
83622         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83623         for C/POSIX locale.
83624         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83625         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83627         * wcsmbs/wchar.h: Add missing __restrict.
83629 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83631         [BZ #13532]
83632         * time/Makefile (routines): Add timespec_get.
83633         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83634         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83635         timespec for ISO C11.
83636         * time/timespec_get.c: New file.
83637         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83638         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83640         [BZ #13531]
83641         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83642         * stdlib/stdlib.h: Declare aligned_alloc.
83643         * Versions.def: Add GLIBC_2.16 for libc.
83644         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83646         [BZ 13527]
83647         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83648         ISO C11.
83650         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83651         code.
83653         [BZ #13528]
83654         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83656         [BZ #13529]
83657         * assert/assert.h (static_assert): Define.
83659         * version.h: Update for 2.16 development version.
83661         [BZ #13526]
83662         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83663         _ISOC11_SOURCE.
83665         * version.h (RELEASE): Bump for 2.15 release.
83666         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83668         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83669         Patch by Marek Polacek <mpolacek@redhat.com>.
83671         * bits/byteswap.h: Protect long long constants with __extension__.
83672         * sysdeps/i386/bits/byteswap.h: Likewise.
83673         * sysdeps/ia64/bits/byteswap.h: Likewise.
83674         * sysdeps/s390/bits/byteswap.h: Likewise.
83675         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83677 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83679         [BZ #13540]
83680         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83681         destination buffer.
83682         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83684 2011-12-23  Marek Polacek  <polacek@redhat.com>
83686         * elf/dl-addr.c (determine_info): Add inline keyword.
83687         * elf/tst-auditmod4b.c (check_avx): Likewise.
83688         * elf/tst-auditmod6b.c (check_avx): Likewise.
83689         * elf/tst-auditmod6c.c (check_avx): Likewise.
83690         * elf/tst-auditmod7b.c (check_avx): Likewise.
83692 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83694         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83695         !__SSE_MATH__.
83697 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83699         [BZ #13540]
83700         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83701         processing for last bytes.
83703 2011-08-06  Bruno Haible  <bruno@clisp.org>
83705         [BZ #13061]
83706         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83707         U+0385, not to U+1FEE.
83709         [BZ #13062]
83710         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83711         entry for U+00A5 U+0301.
83713 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83715         [BZ #13166]
83716         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83717         buffer for the output is too small.
83719         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83720         optimization.
83722         [BZ #13185]
83723         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83724         SSE flags if possible.
83726 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83728         [BZ #13540]
83729         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83730         processing for last bytes.
83732 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83734         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83735         (syscall-list-default-options, syscall-list-default-condition)
83736         (syscall-list-includes): Define.
83737         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83738         list of ABIs and options and #if conditions for each ABI.  Do not
83739         handle common syscalls between ABIs specially.
83740         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83741         Remove.
83742         (syscall-list-variants, syscall-list-32bit-options)
83743         (syscall-list-32bit-condition, syscall-list-64bit-options)
83744         (syscall-list-64bit-condition): Define.
83745         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83746         (syscall-list-variants, syscall-list-32bit-options)
83747         (syscall-list-32bit-condition, syscall-list-64bit-options)
83748         (syscall-list-64bit-condition): Define.
83749         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83750         Remove.
83751         (syscall-list-variants, syscall-list-32bit-options)
83752         (syscall-list-32bit-condition, syscall-list-64bit-options)
83753         (syscall-list-64bit-condition): Define.
83754         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83755         Remove.
83756         (syscall-list-variants, syscall-list-32bit-options)
83757         (syscall-list-32bit-condition, syscall-list-64bit-options)
83758         (syscall-list-64bit-condition): Define.
83760 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83762         * locale/iso-639.def: Add brx entry.
83764         [BZ #13328]
83765         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83766         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83768         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83769         __feraiseexcept_renamed.
83771 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83773         [BZ #13538]
83774         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83775         EPOLLET with unsigned values.
83776         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83777         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83779         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83780         to large cancellation.
83781         * math/s_cacoshf.c: Likewise.
83782         * math/s_cacoshl.c: Likewise.
83784 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83786         [BZ #13305]
83787         [BZ #12786]
83788         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83789         * math/s_cacoshf.c: Likewise.
83790         * math/s_cacoshl.c: Likewise.
83792 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83794         [BZ #13439]
83795         * iconv/gconv.h: Define __GCONV_SWAP.
83796         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83797         * iconvdata/utf-16.c: Likewise.
83798         * iconvdata/utf-32.c: Likewise.
83800 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83802         [BZ #13524]
83803         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83804         numerator after shifting it by one limb.
83806 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83808         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83809         under [__USE_EXTERN_INLINES].
83811 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83813         [BZ #13446]
83814         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83816 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83818         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83819         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83820         optimized code.
83821         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83822         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83823         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83824         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83825         for strncasecmp/strncasecmp_l compilation.
83826         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83827         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83829 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83831         [BZ #13484]
83832         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83833         of __asm__.
83835 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83837         [BZ #13506]
83838         * time/tzfile.c (__tzfile_read): Check values from file header.
83840 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83842         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83843         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83844         * powerpc/powerpc32/dl-start.S: Likewise.
83845         * powerpc/powerpc32/elf/start.S: Likewise.
83846         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83847         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83848         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83849         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83850         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83851         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83852         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83853         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83854         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83855         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83856         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83857         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83858         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83859         * powerpc/powerpc32/memset.S: Likewise.
83860         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83861         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83862         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83863         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83864         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83865         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83866         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83867         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83868         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83869         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83870         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83871         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83872         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83874 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83876         * math/libm-test.inc: Added more nearbyint tests.
83877         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83878         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83879         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83880         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83882 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83884         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83885         FD_CLOEXEC.
83887 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83889         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83890         Add wcscpy-ssse3 wcscpy-c.
83891         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83892         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83893         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83894         * sysdeps/x86_64/wcschr.S: New file.
83895         * sysdeps/x86_64/wcsrchr.S: New file.
83896         * string/test-strcmp.c: Remove checking of wcscmp function for
83897         wrong alignments.
83898         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83899         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83900         wcsrchr-sse2 wcsrchr-c.
83901         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83902         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83903         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83904         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83905         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83906         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83907         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83908         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83909         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83910         * wcsmbc/wcschr.c (WCSCHR): New macro.
83912 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83914         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83915         * wcsmbs/test-wcsrchr.c: New file.
83916         * string/test-strrchr.c: Add wcsrchr support.
83917         (WIDE): New macro.
83918         * wcsmbs/test-wcscpy.c: New file.
83919         * string/test-strcpy.c: Add wcscpy support.
83920         (WIDE): New macro.
83922 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83924         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83925         the inner loop.
83927 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83929         [BZ #13472]
83930         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83932 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83934         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83935         Minor optimizations.
83937         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83938         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83939         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83941 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83943         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83944         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83945         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83946         for gcc to avoid warnings.
83947         * inet/Makefile (tests): Add tst-checks.
83948         * inet/tst-checks.c: New file.
83950         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83951         warning.
83953         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83954         __wmemcmp_sse2.
83956         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83957         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83959         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83961 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83963         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83964         problem.
83966         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83968 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83970         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83971         conditional on GCC version.
83972         (__arch_compare_and_exchange_val_8_acq)
83973         (__arch_compare_and_exchange_val_16_acq)
83974         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83975         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83976         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83978 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83980         * sysdeps/sh/backtrace.c: New file.
83982 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83984         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83985         parenthesis.
83987 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83989         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83990         falling back to utime.
83992 2011-11-30  Andreas Schwab  <schwab@redhat.com>
83994         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
83995         expectations for float.
83997 2011-11-29  Andreas Schwab  <schwab@redhat.com>
83999         * locale/weight.h (findidx): Add parameter len.
84000         * locale/weightwc.h (findidx): Likewise.
84001         * posix/fnmatch_loop.c (FCT): Adjust caller.
84002         * posix/regcomp.c (build_equiv_class): Likewise.
84003         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84004         * posix/regexec.c (check_node_accept_bytes): Likewise.
84005         * string/strcoll_l.c (STRCOLL): Likewise.
84006         * string/strxfrm_l.c (STRXFRM): Likewise.
84008 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84010         * Makefile.in: Remove CVSOPT handling.
84011         * configure.in: Remove use of AC_REVISION.
84012         * iconvdata/Makefile (distribute): No need to filter out CVS.
84013         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84014         handling.
84016 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84018         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84019         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84020         [USE_AS_STRNCASECMP_L]: Likewise.
84021         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84022         NO_TLS_DIRECT_SEG_REFS.
84023         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84024         Fix argument offsets for non-PIC.
84025         [USE_AS_STRNCASECMP_L]: Likewise.
84026         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84027         NO_TLS_DIRECT_SEG_REFS.
84029 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84031         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84032         O_CLOEXEC.
84033         * locale/loadlocale.c (_nl_load_locale): Likewise.
84035 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84037         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84038         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84039         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84040         (SYSCALL_GETTIME): Set errno on error.
84042         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84043         count references to noai6ai_cached.
84045 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84047         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84049         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84050         FD_CLOEXEC for /proc/self/maps.
84052         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84053         FD_CLOEXEC for /proc/meminfo.
84055         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84056         gai.conf.
84058         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84059         FD_CLOEXEC for given file.
84061         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84063         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84064         FD_CLOEXEC for /etc/hosts.
84065         (_gethtent): Likewise.
84067         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84069         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84070         cancellation and set FD_CLOEXEC for /etc/netgroup.
84072         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84073         reading /etc/publickey.
84075         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84076         allow cancellation when reading /etc/group.
84078         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84079         cancellation.
84080         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84082         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84083         when using data file.
84085         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84087         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84088         (write_nis_obj): Use "c" and "e" in fopen.
84090         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84092         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84094         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84096         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84098         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84099         locale.alias.
84101         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84103         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84105         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84107         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84108         file parsing and set FD_CLOEXEC.
84110 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84112         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84114 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84116         * malloc/arena.c (arena_get2): Don't call reused_arena when
84117         _int_new_arena failed.
84119 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84121         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84122         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84123         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84124         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84125         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84126         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84127         to compile strcasecmp and strncasecmp.
84128         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84129         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84131         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84133 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84135         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84136         locale-defines.sym to gen-as-const-headers.
84137         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84138         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84139         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84140         to compile strcasecmp and strncasecmp.
84141         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84142         strcasecmp_l and strncasecmp_l.
84143         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84144         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84145         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84146         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84147         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84148         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84149         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84150         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84151         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84152         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84153         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84155 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84157         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84158         result of SYSDEP_GETTIME_CPU to retval.
84159         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84160         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84162         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84163         variable.
84165         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84166         mantissa words.
84167         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84169         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84170         from unused variable.
84172         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84173         DWARF definitions.
84174         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84175         for assembling.
84177         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84178         over namespaces.
84180         * sunrpc/rpc_prot.c (rejected): Fix case value.
84182         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84183         unsigned long long int to avoid warnings in shift.
84185         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84186         of use of trans.
84187         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84188         variable tmp.
84190         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84191         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84192         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84194         * nis/nis_table.c (nis_list): Use variable of correct type for
84195         result of __follow_path call.
84197 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84199         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84200         of math functions ceil, trunc, floor, round, and sqrt, when
84201         avaliable on the platform.
84202         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84203         name clash.
84204         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84205         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84206         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84208 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84210         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84211         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84213 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84215         * include/unistd.h: Fix __readlink return type.
84216         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84218 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84220         * stdlib/ucontext.h: Undo last change for makecontext.
84222 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84224         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84226         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84227         * setjmp/setjmp.h: Mark functions as non-leaf.
84228         * setjmp/bits/setjmp2.h: Likewise.
84229         * stdlib/ucontext.h: Likewise.
84231 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84233         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84234         (reused_arena): Don't check arena limit.
84235         (arena_get2): Atomically check arena limit.
84237 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84239         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84240         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84242         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84243         instructions.
84245 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84247         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84248         handler when locking.
84250         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84251         Fix size of allocated buffer.
84253 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84255         [BZ #10103]
84256         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84257         declarations for long double functions.
84258         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84260         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84262 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84264         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84265         installed.
84267         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84268         is disabled.
84270 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84272         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84274 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84276         * include/alloca.h (stackinfo_alloca_round): Define.
84277         (extend_alloca): Use it.
84278         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84279         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84280         here.
84282         * scripts/check-local-headers.sh: Ignore libaudit.h.
84284         * nscd/Makefile (extra-objs): Make recursively expanded.
84286 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84288         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84289         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84291         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84292         * posix/tst-rfc3484-2.c: Likewise.
84293         * posix/tst-rfc3484-3.c: Likewise.
84295         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84296         process_vm_writev.
84297         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84298         process_vm_writev.
84299         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84300         process_vm_writev from libc using GLIBC_2.15 version.
84302         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84304 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84306         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84307         stack usage.
84309 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84311         [BZ #13367]
84312         * nss/getent.c (initgroups_keys): Show error message in case no group
84313         names are given.
84315         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84316         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84317         __bump_nl_timestamp.
84318         * nscd/connections (nscd_init): When host database is served open
84319         netlink socket and request notification about configuration changes.
84320         (main_loop_poll): Track netlink file descriptor and bump timestamp
84321         in case data becomes available.
84322         (main_loop_epoll): Likewise.
84323         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84324         (database_pers_head): Add extra_data fileds.
84325         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84326         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84327         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84328         Adjust caller.
84329         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84330         in6ai data, call __free_in6ai.
84331         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84332         Add -DHAVE_NETLINK.
84333         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84334         interface information.  Reuse previous data if netlink timestamp
84335         is not changed.
84336         (__bump_nl_timestamp): New function.
84337         (__free_in6ai): New function.
84339 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84341         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84342         close_not_cancel_no_status here.
84343         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84345 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84347         [BZ #13276]
84348         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84349         return value.
84351         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84352         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84353         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84355 2011-07-03  Andreas Jaeger  <aj@suse.de>
84357         [BZ #10709]
84358         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84359         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84360         * math/libm-test.inc (sin_test): Add test case.
84362 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84364         [BZ #13337]
84365         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84366         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84368         * elf/chroot_canon.c (chroot_canon): Cleanups.
84370         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84372         [BZ #13335]
84373         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84374         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84376         * string/test-strchr.c: Make usable for strchrnul testing.
84377         * string/test-strchrnul.c: New file.
84378         * string/Makefile (strop-tests): Add strchrnul.
84380         * po/it.po: Update from translation team.
84381         * po/es.po: Likewise.
84383 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84385         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84386         the three constants needed as parameters.  Drop the others.
84387         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84388         __m128i_strloadu_tolower.
84389         Create and initialize variable zero and use it in all the places
84390         where _mm_setzero_si128 was used.
84392         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84393         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84394         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84395         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84396         anymore.
84397         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84398         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84399         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84400         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84401         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84402         __mpranred, __mptan.
84403         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84404         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84405         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84406         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84407         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84408         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84409         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84410         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84411         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84413 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84415         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84416         redefine if SHARED.
84417         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84419         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84420         wide char related routines to wcsmbs subdir.
84422 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84424         [BZ #13344]
84425         * misc/sys/cdefs.h (__THROWNL): Define.
84426         * posix/unistd.h: Use __THREADNL instead of __THREAD
84427         for memory synchronization functions.
84429 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84431         [BZ #13349]
84432         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84433         doesn't exist.
84434         * manual/stdio.texi (Obstack Streams): Node removed.
84436 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84438         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84439         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84440         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84442         * math/math_private.h (math_force_eval): Allow non-addressable
84443         arguments.
84444         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84446 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84448         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84449         file is not needed.
84451         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84452         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84453         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84454         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84455         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84456         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84457         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84458         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84459         Add AVX variants.
84460         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84461         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84462         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84463         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84464         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84465         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84466         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84467         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84468         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84469         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84470         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84471         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84472         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84473         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84474         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84475         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84476         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84477         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84478         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84480         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84481         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84483         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84484         place.  Use VEX encoding when compiling for AVX.
84486 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84488         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84489         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84491         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84493 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84495         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84496         useless if() expression.
84497         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84498         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84499         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84500         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84501         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84502         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84503         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84504         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84505         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84506         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84507         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84508         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84509         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84510         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84511         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84512         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84513         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84514         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84515         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84517         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84519 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84521         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84522         condition.
84523         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84525 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84527         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84528         .text section.  Avoid duplicate constants.
84529         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84530         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84531         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84532         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84533         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84534         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84535         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84536         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84537         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84538         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84539         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84540         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84541         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84542         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84543         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84544         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84545         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84546         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84547         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84548         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84549         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84550         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84551         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84552         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84553         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84554         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84555         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84556         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84557         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84558         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84559         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84560         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84561         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84562         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84563         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84564         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84565         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84566         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84567         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84568         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84569         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84570         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84571         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84572         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84573         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84575 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84577         * sysdeps/x86_64/dla.h: Move to ...
84578         * sysdeps/x86_64/fpu/dla.h: ...here.
84579         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84580         situations.  Use __builtin_fma only for gcc 4.6 and up.
84582         * config.make.in: Add have-mfma4 entry.
84583         * configure.in: Substitute libc_cv_cc_fma4.
84584         * math/Makefile (dbl-only-routines): Add sincostab.
84585         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84586         Use __sincostab not sincos.
84587         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84588         name is a macro.
84589         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84590         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84591         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
84593         using __copysign.
84594         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84595         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84596         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84597         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84598         and __inv.
84599         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84600         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84601         __copysign.
84602         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84603         define aliases when function name is a macro.
84604         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84605         sysdeps/ieee754/dbl-64/sincos.tbl.
84606         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84607         fma4-enabled routines.
84608         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84609         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84610         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84611         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84612         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84613         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84614         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84615         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84616         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84617         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84618         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84619         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84620         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84621         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84622         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84623         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84624         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84625         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84626         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84627         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84628         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84629         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84630         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84631         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84632         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84633         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84634         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84635         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84636         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84637         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84639         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84640         rename.
84641         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84642         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84643         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84644         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84645         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84646         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84647         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84648         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84650 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84652         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84654 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84656         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84658         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84659         prediction.
84660         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84662         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84663         Remove unused variable magic_bits.
84664         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84666         * string/strnlen.c: Define and use STRNLEN macro.
84667         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84668         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84669         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84670         * wcsmbs/wcslen.c: Define and use WCSLEN.
84671         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84672         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84673         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84674         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84675         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84676         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84677         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84679 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84681         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84682         strnlen-sse2-no-bsf.
84683         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84684         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84685         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84686         Add strnlen support.
84687         (USE_AS_STRNLEN): New macro.
84688         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84689         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84690         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84691         * sysdeps/x86_64/wcslen.S: New file.
84693 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84695         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84696         XMM-moves are used for copying on small sizes.
84698 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84700         * wcsmbs/Makefile (strop-tests): Add wcschr.
84701         * wcsmbs/test-wcschr.c: New file.
84702         * string/test-strchr.c: Update.
84703         Add wcschr support.
84704         (WIDE): New macro.
84706 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84708         * wcsmbs/Makefile (strop-tests): Add wcslen.
84709         * wcsmbs/test-wcslen.c: New file.
84710         * string/test-strlen.c: Update.
84711         Add wcslen support.
84712         (WIDE): New macro.
84714 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84716         * po/it.po: Update from translation team.
84718 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84720         * sysdeps/x86_64/wcscmp.S: Update.
84721         Fix wrong comparison semantics.
84722         wcscmp shall use signed comparison not unsigned.
84723         Don't use substraction to avoid overflow bug.
84724         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84725         * wcsmbc/wcscmp.c: Likewise.
84726         * string/test-strcmp.c: Likewise.
84727         Add new tests to check cases with negative values.
84729 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84731         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84732         * sysdeps/x86_64/dla.h: ...here.  New file.
84733         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84734         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84735         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84736         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84737         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84738         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84739         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84740         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84741         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84743 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84745         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84746         __ynl_finite aliases.
84748 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84752         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84753         define DLA_FMA.
84754         [DLA_FMA] (EMULV): Use DLA_FMA.
84755         [DLA_FMA] (MUL12): Use EMULV.
84756         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84757         that are not needed.
84758         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84759         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84760         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84761         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84762         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84763         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84764         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84766 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84768         * math/s_nan.c: Undef __nan.
84769         * math/s_nanf.c: Undef __nanf.
84770         * math/s_nanl.c: Undef __nanl.
84771         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84772         "math_private.h".
84774 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84776         * math/s_catan.c: Add branch predictions.
84777         * math/s_catanf.c: Likewise.
84778         * math/s_catanh.c: Likewise.
84779         * math/s_catanhf.c: Likewise.
84780         * math/s_catanhl.c: Likewise.
84781         * math/s_catanl.c: Likewise.
84782         * math/s_cexp.c: Likewise.
84783         * math/s_cexpf.c: Likewise.
84784         * math/s_cexpl.c: Likewise.
84785         * math/s_clog.c: Likewise.
84786         * math/s_clog10.c: Likewise.
84787         * math/s_clog10f.c: Likewise.
84788         * math/s_clog10l.c: Likewise.
84789         * math/s_clogf.c: Likewise.
84790         * math/s_clogl.c: Likewise.
84791         * math/s_csqrt.c: Likewise.
84792         * math/s_csqrtf.c: Likewise.
84793         * math/s_csqrtl.c: Likewise.
84794         * math/s_ctanf.c: Likewise.
84795         * math/s_ctanh.c: Likewise.
84796         * math/s_ctanhf.c: Likewise.
84797         * math/s_ctanhl.c: Likewise.
84798         * math/s_ctanl.c: Likewise.
84800         * math/math_private.h: Define __nan, __nanf, __nanl.
84801         * math/s_cacosh.c: Include <math_private.h>.
84802         * math/s_cacoshl.c: Likewise.
84803         * math/s_casinh.c: Likewise.
84804         * math/s_casinhf.c: Likewise.
84805         * math/s_casinhl.c: Likewise.
84806         * math/s_ccos.c: Rely entire on ccosh.
84807         * math/s_ccosf.c: Rely entire on ccoshf.
84808         * math/s_ccosl.c: Rely entirely on ccoshl.
84809         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84810         Remove tests for FE_INVALID.
84811         * math/s_ccoshf.c: Likewise.
84812         * math/s_ccoshl.c: Likewise.
84813         * math/s_csin.c: Likewise.
84814         * math/s_csinf.c: Likewise.
84815         * math/s_csinh.c Likewise.
84816         * math/s_csinhf.c: Likewise.
84817         * math/s_csinhl.c: Likewise.
84818         * math/s_csinl.c: Likewise.
84819         * math/s_ctan.c: Likewise.
84820         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84821         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84822         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84824 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84826         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84827         compilation problems.
84829         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84830         __builtin_expect.
84832 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84834         * sysdeps/i386/configure.in: Test for -mfma4 option.
84835         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84836         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84837         COMMON_CPUID_INDEX_80000001.
84838         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84839         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84840         use it if FMA3 is not supported.
84841         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84843         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84844         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84846 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84848         [BZ #12892]
84849         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84850         it would create a cycle with a link time dependency.
84852 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84854         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84855         instruction.
84856         * string/Makefile (strop-tests): Add rawmemchr.
84857         * string/test-rawmemchr.c: New file.
84859         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84860         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84861         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84862         when compiling str{,n}casecmp and when AVX is available.  Hook up
84863         new optimized code in initializers.
84865 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84867         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84868         __feraiseexcept instead of feraiseexcept.
84870 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84872         * math/math_private.h: Define defaults for libc_fetestexcept and
84873         libc_feupdateenv.
84874         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84875         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84876         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84877         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84878         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84879         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84880         libc_fetestexcept and libc_feupdateenv.
84882         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84883         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84884         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84885         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84886         libc_feholdexcept_setround.
84888         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84889         Add s_nearbyint-c and s_nearbyintf-c.
84890         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84891         nearbyintf inlines.
84892         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84893         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84894         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84895         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84897         * math/math_private.h: Define defaults for libc_fegetround,
84898         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84899         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84900         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84901         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84902         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84903         standard functions.
84904         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84905         Remove comments and hacks for old compiler versions.
84906         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84907         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84908         libc_feholdexceptl.
84910 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84912         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84913         (__feraiseexcept_renamed): Add __NTH.
84914         (feraiseexcept): Add __NTH.  Rename local variables to fix
84915         namespace violations.
84917 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84919         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84921         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84923         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84924         recently added interfaces.
84925         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84927         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84928         about macro parameter expansion.
84930         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84931         __NO_MATH_INLINES is defined.  Cleanups.
84933         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84934         and __floorf is target has SSE4.1.
84935         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84936         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84937         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84938         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84940         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84941         name.
84942         (floorf): Likewise.
84944         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84946 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84948         * misc/sys/cdefs.h: Fix last change.
84950         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84951         database lookup.
84953 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84955         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84957         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84958         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84959         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84960         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84961         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84962         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84963         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84964         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84965         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84966         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84967         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84968         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84969         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84970         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84971         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84972         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84973         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84974         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84975         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84976         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84977         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84978         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84980         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84981         ceil, ceilf, floor, floorf.
84983         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84984         Perform IRELATIVE relocations last.
84986         * elf/do-rel.h: Add another parameter nrelative, replacing the
84987         local variable with the same name.  Change name of the function
84988         to end in Rel or Rela (uppercase).
84989         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84990         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
84991         elf_dynamic_do_##reloc function.
84993 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84995         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
84996         is sufficient, at least on modern CPUs.
84998         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85000         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85001         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85003         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85004         __expl_finite.
85005         * math/bits/math-finite.h: Add entries for exp.
85006         * math/e_expl.c: Add __*_finite alias.
85007         * sysdeps/i386/fpu/e_exp.S: Likewise.
85008         * sysdeps/i386/fpu/e_expf.S: Likewise.
85009         * sysdeps/i386/fpu/e_expl.c: Likewise.
85010         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85011         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85012         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85013         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85014         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85015         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85016         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85018         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85019         is sufficient, at least on modern CPUs.
85021         * ctype/ctype-info.c (__ctype_init): Define.
85022         * include/ctype.h (__ctype_init): Declare.
85023         (__ctype_b_loc): The variable is always initialized.
85024         (__ctype_toupper_loc): Likewise.
85025         (__ctype_tolower_loc): Likewise.
85026         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85027         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85029 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85031         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85033         * configure.in: Also look in $cxxmachine/include for C++ system
85034         headers.
85036 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85038         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85039         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85040         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85041         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85042         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85043         (USE_AS_WMEMCMP): New macro.
85044         Fixing indents.
85045         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85046         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85047         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85048         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85049         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85050         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85051         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85052         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85053         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85054         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85055         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85056         (USE_AS_WMEMCMP): New macro.
85057         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85058         * sysdeps/string/test-memcmp.c: Update.
85059         Fix simple_wmemcmp.
85060         Add new tests.
85061         * wcsmbs/wmemcmp.c: Update.
85062         (WMEMCMP): New macro.
85063         Fix overflow bug.
85065 2011-10-12  Andreas Jaeger  <aj@suse.de>
85067         [BZ #13268]
85068         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85070 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85072         * libio/iofwide.c (do_length): Avoid warning.
85074         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85076 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85078         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85080         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85081         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85082         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85083         * sysdeps/i386/i686/fpu/e_log.S: New file.
85084         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85085         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85087         * ctype/ctype.h: Add support for inlined isXXX functions when
85088         compiling C++ code.
85090 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85092         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85094         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85096 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85098         [BZ #13291]
85099         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85101 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85103         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85104         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85105         feraiseexcept.
85107         * sysdeps/x86_64/memrchr.S: Check for zero size.
85109         * string/stratcliff.c: Add memrchr tests.
85111 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85113         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85114         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85115         rawmemchr-sse2 rawmemchr-sse2-bsf.
85116         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85117         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85118         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85119         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85120         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85121         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85122         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85123         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85124         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85125         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85126         * string/memrchr.c (MEMRCHR): New macro.
85128 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85130         Add integration with gcc's -ffinite-math-only and optimize wrapper
85131         functions in libm.
85132         * Versions.def: Define GLIBC_2.15 version for libm.
85133         * math/Makefile (headers): Add bits/math-finite.h.
85134         * math/bits/math-finite.h: New file.
85135         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85136         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85137         * math/e_acoshl.c: Add __*_finite alias.
85138         * math/e_acosl.c: Likewise.
85139         * math/e_asinl.c: Likewise.
85140         * math/e_atan2l.c: Likewise.
85141         * math/e_atanhl.c: Likewise.
85142         * math/e_coshl.c: Likewise.
85143         * math/e_exp10.c: Likewise.
85144         * math/e_exp10f.c: Likewise.
85145         * math/e_exp10l.c: Likewise.
85146         * math/e_exp2l.c: Likewise.
85147         * math/e_fmodl.c: Likewise.
85148         * math/e_gammal_r.c: Likewise.
85149         * math/e_hypotl.c: Likewise.
85150         * math/e_j0l.c: Likewise.
85151         * math/e_j1l.c: Likewise.
85152         * math/e_jnl.c: Likewise.
85153         * math/e_lgammal_r.c: Likewise.
85154         * math/e_log10l.c: Likewise.
85155         * math/e_log2l.c: Likewise.
85156         * math/e_logl.c: Likewise.
85157         * math/e_powl.c: Likewise.
85158         * math/e_sinhl.c: Likewise.
85159         * math/e_sqrtl.c: Likewise.
85160         * math/e_scalb.c: Completely rewritten and optimized.
85161         * math/e_scalbf.c: Likewise.
85162         * math/e_scalbl.c: Likewise.
85163         * math/w_acos.c: Likewise.
85164         * math/w_acosf.c: Likewise.
85165         * math/w_acosl.c: Likewise.
85166         * math/w_acosh.c: Likewise.
85167         * math/w_acoshf.c: Likewise.
85168         * math/w_acoshl.c: Likewise.
85169         * math/w_asin.c: Likewise.
85170         * math/w_asinf.c: Likewise.
85171         * math/w_asinl.c: Likewise.
85172         * math/w_atan2.c: Likewise.
85173         * math/w_atan2f.c: Likewise.
85174         * math/w_atan2l.c: Likewise.
85175         * math/w_atanh.c: Likewise.
85176         * math/w_atanhf.c: Likewise.
85177         * math/w_atanhl.c: Likewise.
85178         * math/w_exp10.c: Likewise.
85179         * math/w_exp10f.c: Likewise.
85180         * math/w_exp10l.c: Likewise.
85181         * math/w_fmod.c: Likewise.
85182         * math/w_fmodf.c: Likewise.
85183         * math/w_fmodl.c: Likewise.
85184         * math/w_j0.c: Likewise.
85185         * math/w_j0f.c: Likewise.
85186         * math/w_j0l.c: Likewise.
85187         * math/w_j1.c: Likewise.
85188         * math/w_j1f.c: Likewise.
85189         * math/w_j1l.c: Likewise.
85190         * math/w_jn.c: Likewise.
85191         * math/w_jnf.c: Likewise.
85192         * math/w_log.c: Likewise.
85193         * math/w_logf.c: Likewise.
85194         * math/w_logl.c: Likewise.
85195         * math/w_log10.c: Likewise.
85196         * math/w_log10f.c: Likewise.
85197         * math/w_log10l.c: Likewise.
85198         * math/w_log2.c: Likewise.
85199         * math/w_log2f.c: Likewise.
85200         * math/w_log2l.c: Likewise.
85201         * math/w_pow.c: Likewise.
85202         * math/w_powf.c: Likewise.
85203         * math/w_powl.c: Likewise.
85204         * math/w_remainder.c: Likewise.
85205         * math/w_remainderf.c: Likewise.
85206         * math/w_remainderl.c: Likewise.
85207         * math/w_scalb.c: Likewise.
85208         * math/w_scalbf.c: Likewise.
85209         * math/w_scalbl.c: Likewise.
85210         * math/w_sqrt.c: Likewise.
85211         * math/w_sqrtf.c: Likewise.
85212         * math/w_sqrtl.c: Likewise.
85213         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85214         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85215         used.
85216         * math/math_private.h: Declare __kernel_standard_f.
85217         * math/w_cosh.c: Remove cruft and optimize a bit.
85218         * math/w_coshf.c: Likewise.
85219         * math/w_coshl.c: Likewise.
85220         * math/w_exp2.c: Likewise.
85221         * math/w_exp2f.c: Likewise.
85222         * math/w_exp2l.c: Likewise.
85223         * math/w_hypot.c: Likewise.
85224         * math/w_hypotf.c: Likewise.
85225         * math/w_hypotl.c: Likewise.
85226         * math/w_lgamma.c: Likewise.
85227         * math/w_lgamma_r.c: Likewise.
85228         * math/w_lgammaf.c: Likewise.
85229         * math/w_lgammaf_r.c: Likewise.
85230         * math/w_lgammal.c: Likewise.
85231         * math/w_lgammal_r.c: Likewise.
85232         * math/w_sinh.c: Likewise.
85233         * math/w_sinhf.c: Likewise.
85234         * math/w_sinhl.c: Likewise.
85235         * math/w_tgamma.c: Likewise.
85236         * math/w_tgammaf.c: Likewise.
85237         * math/w_tgammal.c: Likewise.
85238         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85239         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85240         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85241         Minor optimizations.  Pretty printing.  Remove cruft.
85242         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85243         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85244         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85245         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85246         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85247         * sysdeps/i386/fpu/e_asin.S: Likewise.
85248         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85249         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85250         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85251         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85252         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85253         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85254         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85255         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85256         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85257         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85258         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85259         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85260         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85261         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85262         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85263         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85264         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85265         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85266         * sysdeps/i386/fpu/e_log.S: Likewise.
85267         * sysdeps/i386/fpu/e_log10.S: Likewise.
85268         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85269         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85270         * sysdeps/i386/fpu/e_log2.S: Likewise.
85271         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85272         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85273         * sysdeps/i386/fpu/e_logf.S: Likewise.
85274         * sysdeps/i386/fpu/e_logl.S: Likewise.
85275         * sysdeps/i386/fpu/e_pow.S: Likewise.
85276         * sysdeps/i386/fpu/e_powf.S: Likewise.
85277         * sysdeps/i386/fpu/e_powl.S: Likewise.
85278         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85279         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85280         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85281         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85282         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85283         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85284         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85285         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85286         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85287         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85288         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85289         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85290         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85291         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85292         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85293         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85294         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85295         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85296         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85297         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85298         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85299         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85300         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85301         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85302         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85303         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85304         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85305         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85306         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85307         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85308         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85309         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85310         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85311         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85312         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85313         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85314         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85315         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85316         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85317         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85318         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85319         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85320         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85321         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85322         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85323         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85324         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85325         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85326         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85327         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85328         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85329         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85330         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85331         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85332         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85333         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85334         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85335         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85336         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85337         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85338         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85339         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85340         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85341         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85342         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85343         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85344         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85345         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85346         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85347         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85348         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85349         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85350         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85351         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85352         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85353         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85354         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85355         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85356         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85357         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85358         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85359         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85360         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85361         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85362         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85363         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85364         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85365         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85366         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85367         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85368         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85369         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85370         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85371         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85372         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85373         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85374         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85375         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85376         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85377         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85378         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85379         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85380         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85381         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85382         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85383         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85384         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85385         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85386         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85387         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85388         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85389         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85390         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85391         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85392         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85393         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85394         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85395         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85396         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85397         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85398         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85399         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85400         (__isnanf): Likewise.
85401         (__isinf_ns): Likewise.
85402         (__isinf_nsf): Likewise.
85403         (__finite): Likewise.
85404         (__finitef): Likewise.
85405         (__ieee754_sqrt): Define as macro.
85406         (__ieee754_sqrtf): Define as macro.
85407         (__ieee754_sqrtl): Define as macro.
85408         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85409         inlined copy.
85410         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85411         __FINITE_MATH_ONLY__ consistent.
85412         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85414 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85416         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85417         of rawmemchr.
85419         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85421 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85423         * po/ja.po: Update from translation team.
85425 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85427         * locale/programs/locarchive.c (prepare_address_space): New function.
85428         (create_archive, enlarge_archive, open_archive): Use it.
85430         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85431         inside [SHARED], where it is used.
85433         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85435         * nss/getent.c (netgroup_keys): Remove unused variable.
85436         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85438 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85440         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85441         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85442         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85443         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85444         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85445         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85446         * math/Makefile (libm-calls): Add s_isinf_ns.
85447         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85448         * math/multc3.c: Likewise.
85449         * math/s_casin.c: Likewise.
85450         * math/s_casinf.c: Likewise.
85451         * math/s_casinl.c: Likewise.
85452         * math/s_ccos.c: Likewise.
85453         * math/s_ccosf.c: Likewise.
85454         * math/s_ccosl.c: Likewise.
85455         * math/s_ctan.c: Likewise.
85456         * math/s_ctanf.c: Likewise.
85457         * math/s_ctanh.c: Likewise.
85458         * math/s_ctanhf.c: Likewise.
85459         * math/s_ctanhl.c: Likewise.
85460         * math/s_ctanl.c: Likewise.
85461         * math/w_fmod.c: Likewise.
85462         * math/w_fmodf.c: Likewise.
85463         * math/w_fmodl.c: Likewise.
85464         * math/w_remainder.c: Likewise.
85465         * math/w_remainderf.c: Likewise.
85466         * math/w_remainderl.c: Likewise.
85467         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85468         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85469         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85470         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85471         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85472         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85473         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85474         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85476         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85477         of the number.
85478         * stdio-common/printf_fphex.c: Likewise.
85479         * stdio-common/printf_size.c: Likewise.
85481         * math/e_exp10.c: Include math_private.h using <...> not "...".
85482         * math/e_exp10f.c: Likewise.
85483         * math/e_exp10l.c: Likewise.
85484         * math/e_exp2l.c: Likewise.
85485         * math/e_j0l.c: Likewise.
85486         * math/e_j1l.c: Likewise.
85487         * math/e_jnl.c: Likewise.
85488         * math/e_lgammal_r.c: Likewise.
85489         * math/e_rem_pio2l.c: Likewise.
85490         * math/e_scalb.c: Likewise.
85491         * math/e_scalbf.c: Likewise.
85492         * math/e_scalbl.c: Likewise.
85493         * math/k_cosl.c: Likewise.
85494         * math/k_sinl.c: Likewise.
85495         * math/k_tanl.c: Likewise.
85496         * math/s_cacoshf.c: Likewise.
85497         * math/s_catan.c: Likewise.
85498         * math/s_catanf.c: Likewise.
85499         * math/s_catanh.c: Likewise.
85500         * math/s_catanhf.c: Likewise.
85501         * math/s_catanhl.c: Likewise.
85502         * math/s_catanl.c: Likewise.
85503         * math/s_ccosh.c: Likewise.
85504         * math/s_ccoshf.c: Likewise.
85505         * math/s_ccoshl.c: Likewise.
85506         * math/s_cexp.c: Likewise.
85507         * math/s_cexpf.c: Likewise.
85508         * math/s_cexpl.c: Likewise.
85509         * math/s_clog.c: Likewise.
85510         * math/s_clog10.c: Likewise.
85511         * math/s_clog10f.c: Likewise.
85512         * math/s_clog10l.c: Likewise.
85513         * math/s_clogf.c: Likewise.
85514         * math/s_clogl.c: Likewise.
85515         * math/s_csin.c: Likewise.
85516         * math/s_csinf.c: Likewise.
85517         * math/s_csinh.c: Likewise.
85518         * math/s_csinhf.c: Likewise.
85519         * math/s_csinhl.c: Likewise.
85520         * math/s_csinl.c: Likewise.
85521         * math/s_csqrt.c: Likewise.
85522         * math/s_csqrtf.c: Likewise.
85523         * math/s_csqrtl.c: Likewise.
85524         * math/s_ctan.c: Likewise.
85525         * math/s_ctanf.c: Likewise.
85526         * math/s_ctanh.c: Likewise.
85527         * math/s_ctanhf.c: Likewise.
85528         * math/s_ctanhl.c: Likewise.
85529         * math/s_ctanl.c: Likewise.
85530         * math/s_ldexp.c: Likewise.
85531         * math/s_ldexpf.c: Likewise.
85532         * math/s_ldexpl.c: Likewise.
85533         * math/s_significand.c: Likewise.
85534         * math/s_significandf.c: Likewise.
85535         * math/s_significandl.c: Likewise.
85536         * math/w_acos.c: Likewise.
85537         * math/w_acosf.c: Likewise.
85538         * math/w_acosh.c: Likewise.
85539         * math/w_acoshf.c: Likewise.
85540         * math/w_acoshl.c: Likewise.
85541         * math/w_acosl.c: Likewise.
85542         * math/w_asin.c: Likewise.
85543         * math/w_asinf.c: Likewise.
85544         * math/w_asinl.c: Likewise.
85545         * math/w_atan2.c: Likewise.
85546         * math/w_atan2f.c: Likewise.
85547         * math/w_atan2l.c: Likewise.
85548         * math/w_atanh.c: Likewise.
85549         * math/w_atanhf.c: Likewise.
85550         * math/w_atanhl.c: Likewise.
85551         * math/w_cosh.c: Likewise.
85552         * math/w_coshf.c: Likewise.
85553         * math/w_coshl.c: Likewise.
85554         * math/w_dremf.c: Likewise.
85555         * math/w_exp10.c: Likewise.
85556         * math/w_exp10f.c: Likewise.
85557         * math/w_exp10l.c: Likewise.
85558         * math/w_exp2.c: Likewise.
85559         * math/w_exp2f.c: Likewise.
85560         * math/w_fmod.c: Likewise.
85561         * math/w_fmodf.c: Likewise.
85562         * math/w_fmodl.c: Likewise.
85563         * math/w_hypot.c: Likewise.
85564         * math/w_hypotf.c: Likewise.
85565         * math/w_hypotl.c: Likewise.
85566         * math/w_j0.c: Likewise.
85567         * math/w_j0f.c: Likewise.
85568         * math/w_j0l.c: Likewise.
85569         * math/w_j1.c: Likewise.
85570         * math/w_j1f.c: Likewise.
85571         * math/w_j1l.c: Likewise.
85572         * math/w_jn.c: Likewise.
85573         * math/w_jnf.c: Likewise.
85574         * math/w_jnl.c: Likewise.
85575         * math/w_lgamma.c: Likewise.
85576         * math/w_lgamma_r.c: Likewise.
85577         * math/w_lgammaf.c: Likewise.
85578         * math/w_lgammaf_r.c: Likewise.
85579         * math/w_lgammal.c: Likewise.
85580         * math/w_lgammal_r.c: Likewise.
85581         * math/w_log.c: Likewise.
85582         * math/w_log10.c: Likewise.
85583         * math/w_log10f.c: Likewise.
85584         * math/w_log10l.c: Likewise.
85585         * math/w_log2.c: Likewise.
85586         * math/w_log2f.c: Likewise.
85587         * math/w_log2l.c: Likewise.
85588         * math/w_logf.c: Likewise.
85589         * math/w_logl.c: Likewise.
85590         * math/w_pow.c: Likewise.
85591         * math/w_powf.c: Likewise.
85592         * math/w_powl.c: Likewise.
85593         * math/w_remainder.c: Likewise.
85594         * math/w_remainderf.c: Likewise.
85595         * math/w_remainderl.c: Likewise.
85596         * math/w_scalb.c: Likewise.
85597         * math/w_scalbf.c: Likewise.
85598         * math/w_scalbl.c: Likewise.
85599         * math/w_sinh.c: Likewise.
85600         * math/w_sinhf.c: Likewise.
85601         * math/w_sinhl.c: Likewise.
85602         * math/w_sqrt.c: Likewise.
85603         * math/w_sqrtf.c: Likewise.
85604         * math/w_sqrtl.c: Likewise.
85605         * math/w_tgamma.c: Likewise.
85606         * math/w_tgammaf.c: Likewise.
85607         * math/w_tgammal.c: Likewise.
85609         * po/ja.po: Update from translation team.
85611 2011-09-29  Andreas Jaeger  <aj@suse.de>
85613         [BZ #13179]
85614         * sunrpc/netname.c (netname2host): Fix logic.
85616         [BZ #6779]
85617         [BZ #6783]
85618         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85619         correctly.
85620         * math/w_remainder.c (__remainder): Likewise.
85621         * math/w_remainderf.c (__remainderf): Likewise.
85622         * math/libm-test.inc (remainder_test): Add test cases.
85624 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85626         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85627         sdiv_qrnnd.
85629 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85631         * string/test-memcmp.c: Avoid unncessary #defines.
85632         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85634 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85636         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85637         Use new sse2 version for core i3 - i7 as it's faster
85638         than sse42 version.
85639         (bit_Prefer_PMINUB_for_stringop): New.
85640         * sysdeps/x86_64/rawmemchr.S: Update.
85641         Replace with faster SSE2 version.
85642         * sysdeps/x86_64/memrchr.S: New file.
85643         * sysdeps/x86_64/memchr.S: Update.
85644         Replace with faster SSE2 version.
85646 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85648         * elf/dl-load.c (lose): Add cast to avoid warning.
85650 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85652         * po/ca.po: Update from translation team.
85654         * inet/getnetgrent_r.c: Hook up nscd.
85655         * nscd/Makefile (routines): Add nscd_netgroup.
85656         (nscd-modules): Add netgroupcache.
85657         (CFLAGS-netgroupcache.c): Define.
85658         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85659         (cache_search): Add const to second parameter.
85660         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85661         INNETGR.
85662         (dbs): Add netgrdb entry.
85663         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85664         (verify_persistent_db): Handle netgrdb.
85665         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85666         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85667         GETFDNETGR.
85668         (netgroup_response_header): Define.
85669         (innetgroup_response_header): Define.
85670         (datahead): Add netgroup_response_header and innetgroup_response_header
85671         elements.
85672         * nscd/nscd.conf: Add entries for netgroup cache.
85673         * nscd/nscd.h (dbtype): Add netgrdb.
85674         (_PATH_NSCD_NETGROUP_DB): Define.
85675         (netgroup_iov_disabled): Declare.
85676         (xmalloc, xcalloc, xrealloc): Move declarations here.
85677         (cache_search): Adjust prototype.
85678         Add netgroup-related prototypes.
85679         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85680         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85681         (__nscd_innetgr): Declare.
85682         * nscd/selinux.c (perms): Use access_vector_t as element type and
85683         add netgroup-related initializers.
85684         * nscd/netgroupcache.c: New file.
85685         * nscd/nscd_netgroup.c: New file.
85686         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85687         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85688         For four parameters use innetgr.
85689         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85690         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85691         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85692         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85694         * nscd/connections.c (register_traced_file): Don't register file
85695         for disabled databases.
85697 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85699         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85701         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85702         from tree and freeing node.
85704 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85706         * nss/nsswitch.c (__nss_database_lookup): Handle
85707         nss_parse_service_list out of memory case.
85709 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85711         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85712         out of memory case.
85714 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85716         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85717         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85718         pass it down.
85719         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85720         elf_machine_rela, elf_machine_lazy_rel.
85721         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85722         (ELF_DYNAMIC_DO_REL): Likewise.
85723         (ELF_DYNAMIC_DO_RELA): Likewise.
85724         (ELF_DYNAMIC_RELOCATE): Likewise.
85725         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85726         to ELF_DYNAMIC_DO_REL.
85727         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85728         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85729         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85730         elf_machine_rela.
85731         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85732         skip_ifunc, don't call ifunc function if non-zero.
85733         (elf_machine_rela): Likewise.
85734         (elf_machine_lazy_rel): Likewise.
85735         (elf_machine_lazy_rela): Likewise.
85736         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85737         (elf_machine_lazy_rel): Likewise.
85738         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85739         Likewise.
85740         (elf_machine_lazy_rel): Likewise.
85741         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85742         Likewise.
85743         (elf_machine_lazy_rel): Likewise.
85744         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85745         (elf_machine_lazy_rel): Likewise.
85746         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85747         (elf_machine_lazy_rel): Likewise.
85748         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85749         (elf_machine_lazy_rel): Likewise.
85750         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85751         (elf_machine_lazy_rel): Likewise.
85752         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85753         (elf_machine_lazy_rel): Likewise.
85754         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85755         (elf_machine_lazy_rel): Likewise.
85757 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85759         * nss/nss_files/files-init.c (_nss_files_init): Use static
85760         initialization for all the *_traced_file variables.
85762 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85764         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85766 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85768         [BZ #13226]
85769         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85771 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85773         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85774         Reread the line before reparsing it.
85776 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85778         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85780 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85781             Maxim Kuvyrkov  <maxim@codesourcery.com>
85782             Joseph Myers  <joseph@codesourcery.com>
85784         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85785         if needed for __stack_chk_guard.
85787 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85789         * sysdeps/posix/spawni.c (script_execute): Always define it.
85790         It will be optimized away if unused.
85791         (maybe_script_execute): New function.
85792         (__spawni): Call it.
85794         * Makerules: Don't include tls.make.
85795         (config-tls): Always set to thread.
85796         * tls.make.c: File removed.
85798 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85800         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85801         * config.make.in (CPPFLAGS-config): New substituted variable.
85803 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85805         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85807         [BZ #13192]
85808         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85809         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85811 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85813         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85814         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85815         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85816         (CALL_FAIL): Likewise.
85817         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85818         (CALL_FAIL): Macro removed.
85819         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85821 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85823         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85824         for __FINITE_MATH_ONLY__ == 1.
85826 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85828         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85829         __ieee754_sqrt instead of sqrt.
85830         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85831         __ieee754_sqrtf instead of sqrtf.
85832         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85833         __floorf instead of floorf.
85834         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85835         __floorf, __truncf instead of floorf, truncf.
85837 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85839         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85841         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85842         __extern_always_inline.
85843         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85844         32-bit.
85846 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85848         * elf/rtld.c (dl_main): Also relocate in dependency order when
85849         doing symbol dependency testing.
85851 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85853         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85854         Always define `refsym'.
85856 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85858         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85859         (__FD_ELT): Renamed from __FDELT.
85860         * misc/bits/select2.h (__FD_ELT): Likewise.
85861         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85862         __FD_MASK instead of __FDELT, __FDMASK.
85863         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85864         Likewise.
85865         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85866         Likewise.
85868         * elf/Makefile (gen-ldd): Fix pattern.
85870         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85871         (init_tls): Likewise.
85873 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85875         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85877 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85879         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85880         `struct cmsghdr *' instead of `void *'.
85881         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85882         Likewise.
85884 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85886         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85887         if non-absolute.
85888         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85889         ldd_rewrite_script.
85891 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85893         * configure.in: Remove --with-tls option.
85894         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85895         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85896         out in case it is missing.
85897         * sysdeps/ia64/elf/configure.in: Likewise.
85898         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85899         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85900         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85901         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85902         * sysdeps/sh/elf/configure.in: Likewise.
85903         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85904         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85905         * sysdeps/x86_64/elf/configure.in: Likewise.
85906         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85907         * sysdeps/mach/hurd/tls.h: Likewise.
85909         [BZ #13067]
85910         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85912         [BZ #13090]
85913         * configure.in: Fix use of AC_INIT.
85915         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85917 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85919         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85920         __set_errno.
85921         * malloc/hooks.c: Likewise.
85923         [BZ #11929]
85924         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85925         variables statically.
85926         (narenas): Initialize.
85927         (list_lock): Initialize.
85928         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85929         initializtion of main_arena and list_lock.  Small cleanups.
85930         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85931         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85932         Add initializers to main_arena and mp_.
85933         (malloc_state): Remove pagesize member.  Change all users to use
85934         GLRO(dl_pagesize).
85936         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85937         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85938         is always initialized.
85940         * malloc/malloc.c: Removed unused configurations and dead code.
85941         * malloc/arena.c: Likewise.
85942         * malloc/hooks.c: Likewise.
85943         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85945         * include/tls.h: Removed.  USE___THREAD must always be defined.
85946         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85947         * elf/dl-libc.c: Likewise.
85948         * elf/dl-tsd.c: Likewise.
85949         * include/errno.h: Likewise.
85950         * include/netdb.h: Likewise.
85951         * include/resolv.h: Likewise.
85952         * inet/herrno-loc.c: Likewise.
85953         * inet/herrno.c: Likewise.
85954         * malloc/arena.c: Likewise.
85955         * malloc/hooks.c: Likewise.
85956         * malloc/malloc.c: Likewise.
85957         * resolv/res-state.c: Likewise.
85958         * resolv/res_libc.c: Likewise.
85959         * sysdeps/i386/dl-machine.h: Likewise.
85960         * sysdeps/ia64/dl-machine.h: Likewise.
85961         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85962         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85963         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85964         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85965         * sysdeps/sh/dl-machine.h: Likewise.
85966         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85967         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85968         * sysdeps/unix/i386/sysdep.S: Likewise.
85969         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85970         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85972         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85973         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85974         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85975         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85976         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85977         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85979         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85980         * sysdeps/x86_64/dl-machine.h: Likewise.
85981         * tls.make.c: Likewise.
85983         * configure.in: Remove --with-__thread option.  Make tests for
85984         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85985         tls_model attribute fail if no support is available.  Remove
85986         USE_IN_LIBIO.
85987         * Makeconfig: Adjust for dropped configure option.  All features are
85988         now mandatory.
85989         * Makerules: Likewise.
85990         * Versions.def: Likewise.
85991         * argp/argp-fmtstream.c: Likewise.
85992         * argp/argp-fmtstream.h: Likewise.
85993         * argp/argp-help.c: Likewise.
85994         * assert/assert.c: Likewise.
85995         * config.h.in: Likewise.
85996         * config.make.in: Likewise.
85997         * configure: Likewise.
85998         * configure.in: Likewise.
85999         * csu/Versions: Likewise.
86000         * csu/init.c: Likewise.
86001         * elf/tst-audit2.c: Likewise.
86002         * elf/tst-tls10.c: Likewise.
86003         * elf/tst-tls10.h: Likewise.
86004         * elf/tst-tls11.c: Likewise.
86005         * elf/tst-tls12.c: Likewise.
86006         * elf/tst-tls14.c: Likewise.
86007         * elf/tst-tlsmod11.c: Likewise.
86008         * elf/tst-tlsmod12.c: Likewise.
86009         * elf/tst-tlsmod13.c: Likewise.
86010         * elf/tst-tlsmod13a.c: Likewise.
86011         * elf/tst-tlsmod14a.c: Likewise.
86012         * elf/tst-tlsmod15b.c: Likewise.
86013         * elf/tst-tlsmod16a.c: Likewise.
86014         * elf/tst-tlsmod16b.c: Likewise.
86015         * elf/tst-tlsmod7.c: Likewise.
86016         * elf/tst-tlsmod8.c: Likewise.
86017         * elf/tst-tlsmod9.c: Likewise.
86018         * gmon/gmon.c: Likewise.
86019         * grp/fgetgrent_r.c: Likewise.
86020         * grp/putgrent.c: Likewise.
86021         * hurd/fopenport.c: Likewise.
86022         * include/libc-symbols.h: Likewise.
86023         * include/tls.h: Likewise.
86024         * intl/gettextP.h: Likewise.
86025         * intl/loadinfo.h: Likewise.
86026         * locale/global-locale.c: Likewise.
86027         * locale/localeinfo.h: Likewise.
86028         * mach/devstream.c: Likewise.
86029         * malloc/arena.c: Likewise.
86030         * malloc/set-freeres.c: Likewise.
86031         * misc/err.c: Likewise.
86032         * misc/getttyent.c: Likewise.
86033         * misc/mntent_r.c: Likewise.
86034         * posix/getopt.c: Likewise.
86035         * posix/wordexp.c: Likewise.
86036         * pwd/fgetpwent_r.c: Likewise.
86037         * resolv/Versions: Likewise.
86038         * resolv/res_hconf.c: Likewise.
86039         * shadow/fgetspent_r.c: Likewise.
86040         * shadow/putspent.c: Likewise.
86041         * stdio-common/printf_fphex.c: Likewise.
86042         * stdio-common/tmpfile.c: Likewise.
86043         * stdlib/abort.c: Likewise.
86044         * stdlib/fmtmsg.c: Likewise.
86045         * sunrpc/auth_unix.c: Likewise.
86046         * sunrpc/clnt_perr.c: Likewise.
86047         * sunrpc/clnt_tcp.c: Likewise.
86048         * sunrpc/clnt_udp.c: Likewise.
86049         * sunrpc/clnt_unix.c: Likewise.
86050         * sunrpc/openchild.c: Likewise.
86051         * sunrpc/svc_simple.c: Likewise.
86052         * sunrpc/svc_tcp.c: Likewise.
86053         * sunrpc/svc_udp.c: Likewise.
86054         * sunrpc/svc_unix.c: Likewise.
86055         * sunrpc/xdr.c: Likewise.
86056         * sunrpc/xdr_array.c: Likewise.
86057         * sunrpc/xdr_rec.c: Likewise.
86058         * sunrpc/xdr_ref.c: Likewise.
86059         * sunrpc/xdr_stdio.c: Likewise.
86061 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86063         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86065 2011-07-03  Andreas Jaeger  <aj@suse.de>
86067         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86068         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86069         regenerate with gen-libm-tests.pl.
86071 2010-05-12  Petr Baudis  <pasky@suse.cz>
86073         [BZ #11589]
86074         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86075         around j0() zero points by switching to j1().
86076         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86077         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86078         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86079         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86081 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86083         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86084         instead of 0.
86085         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86086         instead of 0.
86087         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86088         Patch in part by Pavel Roskin <proski@gnu.org>.
86090         [BZ #13138]
86091         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86092         realloc.
86093         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86094         Free memory block if necessary.
86096         [BZ #12847]
86097         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86098         be NULL.  Don't lock in this case.
86100 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86102         * elf/elf.h (ELFOSABI_GNU): New macro.
86103         (ELFOSABI_LINUX): Define to that.
86105 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86107         * string/strncat.c (strncat): Undef the symbol in case it has been
86108         defined in bits/string.h.
86110 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86112         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86114         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86115         link map.
86117 2011-08-17  Andreas Jaeger  <aj@suse.de>
86119         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86121 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86122             Ian Lance Taylor  <iant@google.com>
86124         * math/libm-test.inc (lround_test): New testcase.
86125         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86127 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86129         * Makefile: Remove support for automatic cvs check-ins.
86130         * Makerules: Likewise.
86131         * config.make.in: Likewise.
86132         * configure.in: Likewise.
86133         * intl/Makefile: Likewise.
86134         * locale/Makefile: Likewise.
86135         * po/Makefile: Likewise.
86136         * posix/Makefile: Likewise.
86137         * sysdeps/gnu/Makefile: Likewise.
86138         * sysdeps/mach/hurd/Makefile: Likewise.
86139         * sysdeps/sparc/sparc32/Makefile: Likewise.
86141         [BZ #13118]
86142         * posix/Makefile (bug-regex32-ENV): Define.
86143         Patch by John Stanley <jpsinthemix@verizon.net>.
86145         * misc/Makefile (headers): Add bits/select2.h.
86146         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86147         * misc/bits/select2.h: New file.
86148         * include/bits/select2.h: New file.
86149         * debug/Makefile (routines): Add fdelt_chk.
86150         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86151         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86152         FD_ISSET.
86153         * debug/fdelt_chk.c: New file.
86155         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86156         * wcsmbs/test-wmemcmp.c: Likewise.
86157         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86158         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86160 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86162         * string/Makefile (strop-tests): Add memcmp.
86163         * string/test-wmemcmp.c: New file.
86164         * string/test-memcmp.c: Add wmemcmp support.
86166 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86168         [BZ #13153]
86169         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86170         2011-07-19 change.
86172         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86173         garbage value in a __mach_port_mod_refs call in the cases of the
86174         task-self and thread-self ports.
86176 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86178         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86180 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86182         * elf/dl-load.c (lose): Check for non-null L.
86184 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86186         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86188         * elf/dl-libc.c (dlerror_run): Pass back error code from
86189         dl_catch_error.
86191         [BZ #13123]
86192         * elf/dl-load.c (lose): Free l_origin if it is valid.
86194         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86195         names.
86196         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86197         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86198         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86199         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86200         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86201         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86203 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86205         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86206         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86207         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86208         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86209         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86210         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86211         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86212         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86213         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86214         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86216 2011-08-15  Alan Modra  <amodra@gmail.com>
86218         [BZ #13092]
86219         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86220         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86221         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86222         ppc_mcount to static-only-routines.
86223         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86224         __mcount_internal.
86225         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86226         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86228 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86230         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86231         for finite and infinity parameters.
86233 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86235         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86236         and add nop instructions for throughput optimization.
86237         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86239 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86241         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86242         aligned copy for power7 with vector-scalar instructions.
86243         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86245 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86247         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86248         AVX check.
86250 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86252         [BZ #13144]
86253         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86254         last change.
86256 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86258         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86259         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86260         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86261         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86262         clock_gettime.
86264 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86266         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86267         Forgot to demangle the pointer.
86269         * sysdeps/i386/sysdep.h: Define atom_text_section.
86270         * sysdeps/x86_64/sysdep.h: Likewise.
86271         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86272         section with atom_text_section.
86273         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86274         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86275         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86276         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86277         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86279         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86280         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86281         already be defined.  Change to take two parameters and don't assign
86282         result to variable.  Adjust all users.
86283         Define INTERNAL_GETTIME if not already defined.
86284         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86285         call.
86286         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86287         HAVE_CLOCK_GETTIME_VSYSCALL.
86288         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86291         gettimeofday vsyscall, just use time.
86293 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86295         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86296         <errno.h>.
86298 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86300         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86301         syscall on x86-64.
86302         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86303         syscall.
86304         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86305         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86306         syscall if possible.
86308 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86310         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86311         e_ident.  Don't pass to find_mapsXX.
86312         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86314 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86316         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86317         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86318         * sysdeps/x86_64/multiarch/strchr.S: Update.
86319         Check bit_slow_BSF bit.
86320         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86321         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86322         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86324 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86326         [BZ #13134]
86327         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86328         before glibc 2.15.
86329         (tryshell): Define.
86330         (__spawni): Change last parameter to be flag.  Test
86331         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86332         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86333         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86334         * posix/spawni.c: Likewise.
86335         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86336         * posix/spawnp.c: Likewise.  Change normal version to use
86337         SPAWN_XFLAGS_USE_PATH.
86338         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86339         SPAWN_XFLAGS_TRY_SHELL.
86341         [BZ #13150]
86342         * posix/glob.h: Remove gcc 1.x support.
86344         [BZ #13068]
86345         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86347 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86349         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86350         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86351         strrchr-sse2-bsf
86352         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86353         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86354         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86355         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86356         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86357         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86359 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86361         * sysdeps/x86_64/wcscmp.S: New file.
86363         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86364         wcscmp-c wcscmp-sse2
86365         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86366         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86367         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86368         * wcsmbs/wcscmp.c: Allow renaming.
86370 2011-09-05  David S. Miller  <davem@davemloft.net>
86372         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86373         stack slot, rather than the struct return pointer slot.
86374         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86375         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86377         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86379 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86381         * po/ja.po: Update from translation team.
86383         [BZ #13144]
86384         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86385         kernel in 64-bit binaries.
86387 2011-09-01  David S. Miller  <davem@davemloft.net>
86389         * elf/elf.h (HWCAP_SPARC_*): Move to..
86390         * sysdeps/sparc/sysdep.h: this new file and add new values.
86391         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86392         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86393         _DL_HWCAP_COUNT to 24.
86394         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86395         entries.
86396         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86397         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86398         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86399         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86400         instead of magic constants.
86401         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86403 2011-08-31  David S. Miller  <davem@davemloft.net>
86405         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86406         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86407         Reimplement to do errno handling inline.
86408         (SYSCALL_ERROR_HANDLER): New macro.
86409         (__SYSCALL_STRING): Do not do errno handling in asm.
86410         (__CLONE_SYSCALL_STRING): Delete.
86411         (__INTERNAL_SYSCALL_STRING): Delete.
86412         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86413         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86414         (PSEUDO): Reimplement to do errno handling inline.
86415         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86416         (SYSCALL_ERROR_HANDLER): New macro.
86417         (__SYSCALL_STRING): Do not do errno handling in asm.
86418         (__CLONE_SYSCALL_STRING): Delete.
86419         (__INTERNAL_SYSCALL_STRING): Delete.
86420         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86421         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86422         i386.
86423         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86424         (inline_syscall*): Add 'err' argument.
86425         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86426         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86427         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86428         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86430         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86431         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86433 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86435         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86437 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86439         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86440         directive.
86442 2011-08-24  David S. Miller  <davem@davemloft.net>
86444         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86446 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86448         * elf/Makefile: Add rules to build and run unload8 test.
86449         * elf/unload8.c: New file.
86450         * elf/unload8mod1.c: New file.
86451         * elf/unload8mod1x.c: New file.
86452         * elf/unload8mod2.c: New file.
86453         * elf/unload8mod3.c: New file.
86455         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86456         it wasn't used.
86458 2011-08-23  David S. Miller  <davem@davemloft.net>
86460         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86461         subtract stack bias.
86462         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86463         %sp not %fp in calculations.
86464         (_JMPBUF_UNWINDS_ADJ): Likewise.
86466         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86467         (aio_suspend): Call it to force an exception region around the
86468         AIO_MISC_WAIT() invocation.
86470 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86472         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86473         backslash.
86475 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86477         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86478         protection macro.
86479         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86480         and <dl-machine.h>.
86481         (Elf64_FuncDesc): Remove.
86483 2011-08-22  David S. Miller  <davem@davemloft.net>
86485         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86486         sigaltstack check, add missing cfi directives.
86487         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86488         missing cfi directives, and sigaltstack handling.
86490 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86492         [BZ #11724]
86493         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86494         object is seen twice.
86495         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86497         * elf/Makefile (distribute): Add tst-initorder2.c.
86498         (tests): Add tst-initorder2.
86499         (modules-names): Add tst-initorder2a tst-initorder2b
86500         tst-initorder2c tst-initorder2d.  Add rules to build them.
86501         ($(objpfx)tst-initorder2.out): New rule.
86502         * elf/tst-initorder2.c: New file.
86503         * elf/tst-initorder2.exp: New file.
86505 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86507         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86509         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86510         dependencies back to end of function.
86512         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86513         $(elfobjdir)/ld.so.
86515 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86517         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86518         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86519         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86520         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86521         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86522         of __vdso_gettimeofday.
86523         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86524         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86525         attribute_hidden.
86526         (_libc_vdso_platform_setup): Remove initialization of
86527         __vdso_gettimeofday and __vdso_time.
86529 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86531         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86532         and fgetc_unlocked.
86533         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86534         getc_unlocked.
86536         * elf/dl-open.c (add_to_global): Report additions to the global scope
86537         for LD_DEBUG=scopes.
86538         (dl_open_worker): Also print scope of newly loaded dependencies.
86539         (_dl_show_scope): Indicate if there is no scope.
86541         [BZ #13114]
86542         * stdio-common/Makefile (tests): Add bug24.
86543         * stdio-common/bug24.c: New file.
86545 2011-08-19  Andreas Jaeger  <aj@suse.de>
86547         [BZ #13114]
86548         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86549         non-existant file when using close-on-exec mode.
86551 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86553         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86554         the very first instruction.
86556         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86557         the CFI state in the end.
86558         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86559         inclusion of dl-trampoline.h.
86560         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86562 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86564         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86565         expectations for long double.
86567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86568         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86570 2011-08-14  David S. Miller  <davem@davemloft.net>
86572         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86573         artificual limit depends upon the system page size.
86575 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86577         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86578         * resolv/Makefile: Define CFLAGS-libresolv.
86580 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86582         * nss/makedb.c (compute_tables): Make variables used in nested
86583         function static.
86585 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86587         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86588         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86589         if buffer was too small.
86591         * elf/pldd.c (main): Attach to all threads in the process.
86592         Rewrite /proc handling to use *at functions.
86594 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86596         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86597         specifies first scope to show.
86598         (dl_open_worker): Update callers.  Move printing scope of new
86599         object to before the relocation.
86600         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86601         * sysdeps/generic/ldsodefs.h: Update declaration.
86603         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86604         string for the scope number.
86606 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86608         * nscd/servicescache.c (cache_addserv): Make sure written is always
86609         initialized.
86611 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86613         * sysdeps/i386/i486/bits/atomic.h
86614         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86615         statement expression, so as to suppress "set but not used" warning.
86616         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86618         * string/strncat.c (STRNCAT): Use prototype definition.
86620         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86621         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86622         -Iprograms here.
86623         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86624         (localedef-modules): Add localedef.
86625         (locale-modules): Add locale.
86627         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86628         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86629         to avoid a warning.
86631 2011-08-14  David S. Miller  <davem@davemloft.net>
86633         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86634         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86636 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86638         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86639         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86640         * elf/rtld.c (dl_main): Set l_name of vDSO.
86641         Call _dl_show_scope when DL_DEBUG_SCOPES.
86642         (process_dl_debug): Recognize scopes flag and also set it for all.
86643         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86644         Declare _dl_show_scope.
86646         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86647         (do_dlopen): Pass caller_dlopen to dl_open.
86648         (__libc_dlopen_mode): Initialize caller_dlopen.
86650         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86651         of libc.  Make tolower call locale-independent.  Optimize a bit by
86652         using isdigit instead of isalnum.
86653         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86655 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86657         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86658         was a dependency or dynamically loaded.
86660 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86662         * intl/l10nflist.c: Allow architecture-specific pop function.
86663         * sysdeps/x86_64/l10nflist.c: New file.
86665         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86666         classification.
86668 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86670         * include/dirent.h: Add libc_hidden_proto for scandirat and
86671         scandirat64.  Don't declare __scandirat64.
86672         * dirent/scandirat.c: Add libc_hidden_def.
86673         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86674         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86676 2011-08-10  David S. Miller  <davem@davemloft.net>
86678         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86679         enum.
86680         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86681         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86682         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86684 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86686         * Versions.def [libc]: Add GLIBC_2.15.
86687         * dirent/Makefile (routines): Add scandirat and scandirat64.
86688         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86689         GLIBC_2.15.
86690         * dirent/dirent.h: Declare scandirat and scandirat64.
86691         * dirent/scandirat.c: New file.
86692         * dirent/scandirat64.c: New file.
86693         * sysdeps/wordsize-64/scandirat.c: New file.
86694         * sysdeps/wordsize-64/scandirat64.c: New file.
86695         * dirent/opendir.c: Define opendirat.
86696         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86697         using scandirat.
86698         * dirent/scandir64.c: Adjust for scandir.c change.
86699         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86700         __scandirat64, and __scandir_cancel_handler.
86701         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86702         additional parameter and use openat instead of open (outside of ld.so).
86703         Add new __opendir as wrapper around __opendirat.
86704         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86705         here without requiring old scandirat implementation.
86707 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86709         * dirent/scandir.c (cancel_handler): Renamed to
86710         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86711         defined.  Adjust users.
86712         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86713         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86715 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86717         * string/test-string.h (IMPL): Use __STRING to expand name and then
86718         stringify it.
86720         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86721         of cleanups.
86723 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86725         * string/Makefile: Update.
86726         (strop-tests): Append strncat.
86727         * string/test-wcscmp.c: New file.
86728         New comprehensive test for wcscmp.
86729         * string/test-strcmp.c: Update.
86730         (WIDE): New define.
86732 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86734         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86735         line.
86737 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86739         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86740         encoding to ACE if AI_IDN.
86742 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86744         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86745         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86747 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86749         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86750         Fix overflow bug in strncat.
86751         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86753         * string/test-strncat.c: Update.
86754         Add new tests for checking overflow bugs.
86756 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86758         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86759         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86760         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86761         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86762         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86763         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86764         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86765         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86766         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86768         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86769         (USE_AS_STRCAT): Define.
86770         Add strcat and strncat support.
86771         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86773 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86775         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86776         __n bigger than INT_MAX+1.
86777         (__strncmp_g): Likewise.
86779 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86781         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86782         * libio/stido.h: Likewise.
86784         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86785         (AF_NFC): Define.
86786         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86787         (AF_NFC): Define.
86789         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86790         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86791         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86792         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86793         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86795         [BZ #13021]
86796         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86797         installed.
86799         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86800         typo.
86801         (_dl_x86_64_save_sse): Likewise.
86803 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86805         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86806         OSXSAVE.
86807         (_dl_x86_64_save_sse): Likewise.
86809         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86811         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86813 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86815         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86816         change.
86817         (_dl_x86_64_save_sse): Use correct AVX check.
86819 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86821         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86822         bug in strncpy/strncat.
86823         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86825 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86827         * string/tester.c (test_strcat): Add tests for different alignments
86828         of source and destination.
86829         (test_strncat): Likewise.
86831 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86833         [BZ #12852]
86834         * posix/glob.c (glob): Check passed in values before using them in
86835         expressions to avoid some overflows.
86836         (glob_in_dir): Likewise.
86838         [BZ #13007]
86839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86840         check for AVX enablement so that we don't crash with old kernels and
86841         new hardware.
86842         * elf/tst-audit4.c: Add same checks here.
86843         * elf/tst-audit6.c: Likewise.
86845         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86847 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86849         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86851 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86853         * po/cs.po: Update from translation team.
86854         * po/bg.po: Likewise.
86856 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86858         * misc/sys/cdefs.h: Add support for const attribute.
86859         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86860         to gnu_dev_{major,minor,makedev} functions.
86862 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86864         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86866 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86868         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86869         strlen results.
86871 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86873         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86874         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86875         register in order to avoid conflicts with the soft frame pointer
86876         being held in r11 when necessary.
86877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86878         (INTERNAL_VSYSCALL_NCS): Likewise.
86880 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86882         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86883         * elf/dl-fini.c (_dl_fini): Adjust caller.
86884         * elf/dl-close.c (_dl_close_worker): Likewise.
86885         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86887 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86889         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86890         "aux_cache->nlibs < 0".
86892         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86893         in the reload-count case.
86895 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86898         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86899         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86900         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86901         * sysdeps/x86_64/multiarch/strcat.S: New file.
86902         * sysdeps/x86_64/multiarch/strncat.S: New file.
86903         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86904         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86905         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86906         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86907         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86908         (USE_AS_STRCAT): Define.
86909         Add strcat and strncat support.
86910         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86911         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86912         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86913         * string/strncat.c: Update.
86914         (USE_AS_STRNCAT): Define.
86915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86916         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86917         and i7.
86918         * sysdeps/x86_64/multiarch/init-arch.h
86919         (bit_Prefer_PMINUB_for_stringop): New.
86920         (index_Prefer_PMINUB_for_stringop): Likewise.
86921         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86922         bit_Prefer_PMINUB_for_stringop.
86924 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86926         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86927         buffer64.
86928         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86929         of casting of buffer.
86930         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86931         buffer32 and buffer64.
86932         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86933         writes instead of casting of buffer.
86934         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86935         buffer32.
86936         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86937         casting of buffer.
86939 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86941         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86943 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86945         * nscd/nscd.c (termination_handler): Don't do anything for a database
86946         if it has not yet been initialized.
86948 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86950         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86952 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86954         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86956 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86958         * po/nl.po: Update from translation team.
86959         * po/sv.po: Likewise.
86961 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86963         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86964         now disallowed by GCC.
86966         * configure.in (use-default-link): Default to yes if a test -shared
86967         link meets our qualifications.
86968         * configure: Regenerated.
86970         * config.make.in (output-format): New variable.
86971         * configure.in: Check for ld --print-output-format support.
86972         * configure: Regenerated.
86973         * Makerules ($(common-objpfx)format.lds)
86974         [$(output-format) != unknown]: Just use $(output-format),
86975         instead of the linker-script munging.
86977 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86979         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86980         of $(common-objpfx)shlib.lds.
86981         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86983         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86984         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86986         * configure.in (-z relro check): Adjust test code to add a large
86987         writable data section after it.
86988         * configure: Regenerated.
86990 2011-07-11  Roland McGrath  <roland@hack.frob.com>
86992         * configure.in (-z relro check): Fix test code to make the variable
86993         truly const.
86994         * configure: Regenerated.
86996 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
86998         * nscd/nscd.h (struct traced_file): Define.
86999         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87000         elements.  Add traced_files.
87001         (inotify_fd): Declare.
87002         (register_traced_file): Declare.
87003         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87004         (inotify_fd): Export.
87005         (resolv_conf_descr): Remove.
87006         (nscd_init): Move inotify descriptor creation to main.
87007         Don't register files for notification here.
87008         (register_traced_file): New function.
87009         (invalidate_cache): Don't use reset_res to determine whether to call
87010         res_init, go through the list of registered files.
87011         (main_loop_poll): The inotify descriptors are now stored in the
87012         structures for the traced files.
87013         (main_loop_epoll): Likewise.
87014         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87015         to __nss_disable_nscd.
87016         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87017         for a database anymore.  Check the records for all the registered
87018         files instead.
87019         * nss/Makefile (libnss_files-routines): Add files-init.
87020         (libnss_db-routines): Add db-init.
87021         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87022         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87023         * nss/nss_db/db-init.c: New file.
87024         * nss/nss_files/files-init.c: New file.
87025         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87026         __nss_lookup_function.
87027         (__nss_lookup_function): Call nss_load_library.
87028         (nss_load_all_libraries): New function.
87029         (__nss_disable_nscd): Take parameter with callback function for files
87030         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87031         used for the cached services.
87032         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87033         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87034         options for features to all the files in nscd.
87036         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87038 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87040         * csu/elf-init.c (__libc_csu_init): Comment typo.
87042 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87044         * po/pl.po: Update from translation team.
87045         * po/ja.po: Likewise.
87046         * po/ru.po: Likewise.
87047         * po/ko.po: Likewise.
87048         * po/fr.po: Likewise.
87050 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87052         * configure.in (.ctors/.dtors header and trailer check):
87053         Use an empirical test on a built program.
87054         * configure: Regenerated.
87056         * configure.in (-z relro check): Use an empirical test on a built DSO.
87057         Detect, but do not require, on ia64.
87058         * configure: Regenerated.
87060         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87061         Update tests that use readelf to use $READELF instead.
87062         * configure: Regenerated.
87064 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87066         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87067         if the result is not used.
87069 2011-07-05  Andreas Jaeger  <aj@suse.de>
87071         [BZ #9696]
87072         * stdlib/tst-strtod.c: Add testcase.
87074 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87076         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87077         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87078         The latter has a higher limit.  Take additional parameter to pass to
87079         the new function.
87080         (__pathconf): Pass file to __statfs_link_max.
87081         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87082         __statfs_link_max.
87083         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87084         __statfs_link_max.
87086         [BZ #12868]
87087         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87088         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87089         Handle Lustre.
87090         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87091         (__statfs_filesize_max): Likewise.
87092         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87094 2011-07-05  Andreas Jaeger  <aj@suse.de>
87096         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87098 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87100         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87101         `status' variable.
87102         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87103         Likewise.
87105 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87107         * Makefile (strop-tests): Add strncat.
87108         * string/test-strncat.c: New file.
87110 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87112         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87114 2011-06-21  Andreas Jaeger  <aj@suse.de>
87116         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87117         Copy rule from iconvdata/Makefile.
87119 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87121         [BZ #12922]
87122         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87123         but no long options are defined, just return 'W'.
87125 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87127         [BZ #9696]
87128         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87130 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87132         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87133         netgroups to read.
87134         (innetgr): Likewise.
87136 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87138         * config.make.in (install_root): Default to $(DESTDIR).
87140 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87142         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87144 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87146         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87148         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87149         containing directory rather than embedding absolute directory names.
87151         * scripts/check-local-headers.sh: Rewritten using awk.
87152         Match by word, not by line.  Print error messages for matches.
87153         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87155         * Makerules [shlib-lds-flags empty]:
87156         ($(common-objpfx)libc_pic.opts): New target.
87157         ($(common-objpfx)libc_pic.os.clean): New target.
87158         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87160         * config.make.in (OBJCOPY): New variable.
87161         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87162         * configure: Regenerated.
87164         * config.make.in (use-default-link): New variable.
87165         * configure.in (use_default_link): Grok --with-default-link to set it.
87166         * configure: Regenerated.
87167         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87168         (shlib-lds, shlib-lds-flags): Define to empty.
87170         * Makerules (shlib-lds): New variable.
87171         (shlib-lds-flags): New variable.
87172         (build-shlib, build-moduile, build-module-asneeded): Use it.
87173         ($(common-objpfx)libc.so): Use $(shlib-lds).
87174         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87175         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87177         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87178         DT_FLAGS/DT_FLAGS_1 with zero flags.
87180         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87181         linker script munging.
87183 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87185         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87186         as 128-bit value.
87187         * crypt/sha512.c (sha512_process_block): Perform total addition using
87188         128-bit if possible.
87189         (__sha512_finish_ctx): Likewise.
87190         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87191         as 64-bit value.
87192         * crypt/sha256.c (SWAP64): Define.
87193         (sha256_process_block): Perform total addition using 64-bit if
87194         possible.
87195         (__sha256_finish_ctx): Likewise.
87197 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87199         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87200         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87201         * nscd/hstcache.c (cache_addhst): Likewise.
87202         * nscd/grpcache.c (cache_addgr): Likewise.
87203         * nscd/aicache.c (addhstaiX): Likewise.
87204         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87206 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87208         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87209         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87210         * nscd/hstcache.c (cache_addhst): Likewise.
87211         * nscd/grpcache.c (cache_addgr): Likewise.
87212         * nscd/aicache.c (addhstaiX): Likewise.
87214 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87216         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87217         domain only when needed.
87219 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87221         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87222         is always restored.
87224 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87226         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87227         are re-adding the entry.
87228         * nscd/servicescache.c (cache_addserv): Likewise.
87230 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87232         * sysdeps/generic/dl-irel.h: fix protection against multiple
87233         inclusions.
87234         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87236 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87238         [BZ #12935]
87239         * malloc/memusage.sh: Fix quoting in message.
87240         * debug/xtrace.sh: Likewise.
87242         * configure.in: Remove support for --experimental-malloc option, make
87243         it the default.
87244         * config.make.in: Likewise.
87245         * malloc/Makefile: Likewise.
87247 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87249         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87250         two-byte characters.
87252 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87254         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87255         AC_CACHE_CHECK invocation.
87256         * configure: Regenerated.
87258         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87260 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87262         [BZ #12350]
87263         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87264         bit from old_res_options.
87266         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87268         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87269         value type for setfct.
87271 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87273         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87274         __gettimeofday instead of gettimeofday.
87276 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87278         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87280 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87282         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87284         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87285         info.
87287 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87290         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87291         strcpy-sse2-unaligned strncpy-sse2-unaligned
87292         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87293         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87294         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87295         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87296         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87297         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87298         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87299         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87300         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87301         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87302         (STRCPY): Support SSE2 and SSSE3 versions.
87304 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87306         [BZ #12874]
87307         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87308         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87309         kernels which artificially limit size of requests.
87311 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87313         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87314         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87315         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87316         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87317         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87318         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87319         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87320         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87321         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87322         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87323         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87324         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87325         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87326         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87327         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87329         Enable unaligned load optimization for Intel Core i3, i5 and i7
87330         processors.
87331         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87332         Define.
87333         (index_Fast_Unaligned_Load): Define.
87334         (HAS_FAST_UNALIGNED_LOAD): Define.
87336 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87338         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87340 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87342         [BZ #12907]
87343         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87344         until it is clear that the information is realy needed.
87345         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87347 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87349         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87351 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87353         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87354         /sys/devices/system/cpu/online if it is usable.
87356         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87357         reading the information from the /proc filesystem to once a second.
87359 2011-06-21  Andreas Jaeger  <aj@suse.de>
87361         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87362         NULL after inclusion of kernel headers.
87364 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87366         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87367         calls to internal_setent.
87369         [BZ #12885]
87370         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87371         addresses using gethostbyname4_r ignore IPv4 addresses.
87373         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87374         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87376         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87378 2011-06-20  David S. Miller  <davem@davemloft.net>
87380         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87381         inclusions.
87382         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87384         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87385         (elf_irel): Use it.
87386         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87387         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87388         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87389         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87390         * sysdeps/x86_64/dl-irel.h: Likewise.
87392         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87393         * elf/dl-sym.c: Likewise.
87395 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87397         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87398         need to dereference resplen2.
87400 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87402         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87404 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87406         * Makeconfig: Define vardbdir and inst_vardbdir.
87407         * nss/Makefile: Add rules to install db-Makefile.
87409         * nss/nss_db/db-XXX.c: Cleanup.
87411         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87412         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87413         GLIBC_PRIVATE.
87414         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87415         * nss/makedb.c: Implement -g option to specify that value strings
87416         are generated and should not be added to table iterated over for
87417         get*ent calls.
87418         * nss/nss_db/db-initgroups.c: New file.
87420         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87421         interface.
87423         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87424         (internal_getgrouplist): Adjust to name change.
87425         Update use_initgroups_entry if this is not the first call.
87426         * nss/databases.def: Add initgroups entry.
87428         * nss/makedb.c (compute_tables): Check result of multiple hash table
87429         sizes to minimize maximum chain length.
87431 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87433         * Versions.def: Add entry for libnss_db.
87434         * shlib-versions: Likewise.
87435         * nss/Makefile: Add rules to build libnss_db.
87436         * nss/Versions: Add libnss_db information.  Organize libnss_files
87437         entries better.
87438         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87439         makedb progra.  Some minor improvements to generate smaller files.
87440         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87441         here from...
87442         * nss/makedb.c: ...here.
87443         Improve database format to be smaller and require less memory at
87444         runtime.
87445         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87446         db anymore.
87447         * nss/nss_db/db-netgrp.c: Likewise.
87448         * nss/nss_db/db-open.c: Likewise.
87449         * nss/nss_files/flies-XXX.x: Adjust comments.
87450         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87451         * nss/nss_files/files-grp.c: Likewise.
87452         * nss/nss_files/files-hosts.c: Likewise.
87453         * nss/nss_files/files-network.c: Likewise.
87454         * nss/nss_files/files-proto.c: Likewise.
87455         * nss/nss_files/files-pwd.c: Likewise.
87456         * nss/nss_files/files-rpc.c: Likewise.
87457         * nss/nss_files/files-service.c: Likewise.
87458         * nss/nss_files/files-sgrp.c: Likewise.
87459         * nss/nss_files/files-spwd.c: Likewise.
87460         * nss/nss_db/db-alias.c: Removed.
87461         * nss/nss_db/dummy-db.h: Removed.
87463 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87465         * nss/makedb.c: Rewritten to not use database library.
87466         * nss/Makefile: Update to build new makedb program.
87468 2011-06-14  Andreas Jaeger  <aj@suse.de>
87470         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87471         memset declaration.
87473 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87476         tmpbuf.
87478 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87480         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87481         * elf/Makefile ($(objpfx)ld.so): Likewise.
87483         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87484         Don't list ld.so twice in dependencies.
87486         * posix/bug-regex31.c: Include <stdlib.h>.
87488         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87490         * nis/nss_compat/compat-spwd.c
87491         (getspent_next_nss_netgr): Remove unused variable.
87492         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87494         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87495         nonmembers" output to use the right array.
87497         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87499         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87501         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87502         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87503         * catgets/gencat.c (read_input_file): Likewise.
87504         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87506         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87507         variable definition inside #if's controlling its use.
87509         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87511         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87513         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87515         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87516         unreachable code.
87518         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87520         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87521         * configure: Regenerated.
87523         * Makerules: Revert last change.
87524         * elf/Makefile: Likewise.
87526 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87528         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87529         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87530         (reloc-link): Likewise.
87532 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87534         * elf/Makefile: Add rules to build pldd.
87535         * elf/pldd.c: New file.
87536         * elf/pldd-xx.c: New file.
87538 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87540         * version.h: Update for 2.15 development version.
87542 2011-06-07  David S. Miller  <davem@davemloft.net>
87544         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87545         ifuncs.
87546         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87547         elf_machine_lazy_rel): Likewise.
87548         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87549         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87550         elf_machine_lazy_rel): Likewise.
87551         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87552         dl_hwcap via passed in argument.
87553         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87554         Likewise.
87556 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87558         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87560 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87562         [BZ #12849]
87563         * manual/fdl-1.1.texi: New file, verbatim from:
87564         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87565         * manual/lgpl-2.1.texi: New file, verbatim from:
87566         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87567         * manual/Makefile (licenses): New variable, list those new file names.
87568         (texis): Use it.
87569         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87571         * manual/fdl.texi: File removed.
87572         * manual/lesser.texi: File removed.
87573         * manual/libc.texinfo (Copying, Documentation License):
87574         Use new @include file names, put @appendix directive before @include.
87576 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87578         [BZ #12841]
87579         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87580         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87581         (mq_open): Add __NTH.
87583 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87585         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87586         Assume Intel Core i3/i5/i7 processor if AVX is available.
87588 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87590         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87591         typo.
87593 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87595         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87596         memory.  Use alloca_account.  Fix memory leak when retrying.
87598 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87600         * version.h (RELEASE): Bump for 2.14 release.
87601         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87603         * config.make.in (RANLIB): Remove entry.
87605 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87607         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87608         (libc.pot): Work around missing support for .ksh extension in xgettext.
87610         [BZ #12684]
87611         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87612         if both request failed.
87613         (send_dg): In case of server errors clear resplen or *resplen2.
87615         [BZ #12454]
87616         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87617         when there are multiple maps.
87618         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87619         (_dl_fini): Remove test here.
87621         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87623 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87625         [BZ #12350]
87626         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87627         bit from old_res_options.
87628         (gaih_inet): Likewise.
87630         [BZ #11099]
87631         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87632         as signed.
87634         * resolv/res_init.c (res_setoptions): Make the code more compact.
87636         [BZ #11558]
87637         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87638         set RES_USEVC.
87640         [BZ #11634]
87641         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87643         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87645         [BZ #11781]
87646         * malloc/malloc.h: Declare malloc hook variables as volatile.
87648         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87649         in last patch.
87651         [BZ #11799]
87652         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87653         raise in the comment.
87654         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87655         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87656         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87658 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87660         [BZ #12811]
87661         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87662         grow the buffers more if it already has to be sufficient.
87663         (build_wcs_upper_buffer): Likewise.
87664         * posix/regexec.c (check_matching): Likewise.
87665         (clean_state_log_if_needed): Likewise.
87666         (extend_buffers): Don't enlarge buffers beyond size of the input
87667         buffer.
87668         Patches mostly by Emil Wojak <emil@wojak.eu>.
87669         * posix/bug-regex32.c: New file.
87670         * posix/Makefile (tests): Add bug-regex32.
87672         * locale/findlocale.c (_nl_find_locale): Return right away if
87673         _nl_explode_name failed.
87674         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87676         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87678         * debug/xtrace.sh: Unify messages.
87679         * malloc/memusage.sh: Likewise.
87681         [BZ #12813]
87682         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87683         time symbol from vDSO.  Substitute with vsyscall if not available.
87684         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87685         __vdso_time.
87687         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87688         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87689         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87690         Add sendmmsg and internal_sendmmsg.
87691         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87692         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87693         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87695         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87696         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87697         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87699 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87701         [BZ #12813]
87702         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87703         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87704         available.
87705         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87706         __vdso_getcpu.
87708         [BZ #12814]
87709         * iconvdata/Makefile (tests): Add bug-iconv9.
87710         * iconvdata/bug-iconv9.c: New file.
87712 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87714         [BZ #12814]
87715         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87717 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87719         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87720         (struct user_regs_struct): Change intcs field back to cs.
87722 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87724         * po/ja.po: Update from translation team.
87726 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87728         [BZ #12795]
87729         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87730         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87732 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87734         * stdlib/longlong.h: Update from GCC.
87736 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87738         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87739         parameter name.
87740         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87741         Add parameter name.
87742         (__sysconf): Pass it down.
87744 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87746         [BZ #12671]
87747         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87748         some situations.
87749         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87750         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87751         add in in __libc_use_alloca calls.  Adjust callers.
87752         (glob): Use malloc in some situations.
87754         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87755         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87756         pltexit.
87758 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87760         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87761         and CLOCK_BOOTTIME_ALARM.
87763         [BZ #12782]
87764         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87765         is returned.
87767         * string/_strerror.c (__strerror_r): Print negative errors as signed
87768         numbers.
87770         [BZ #12777]
87771         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87772         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87773         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87775         * configure.in: Fix typo in redirection and correct removal of test
87776         files in two cases.
87778         [BZ #12788]
87779         * locale/setlocale.c (new_composite_name): Fix test to check for
87780         identical name of all categories.
87782         [BZ #12792]
87783         * libio/filedoalloc.c (local_isatty): New function.
87784         (_IO_file_doallocate): Use local_isatty.
87785         * stdio-common/perror.c (perror): In case a new stream is used
87786         forward the stream error.
87787         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87788         error flag.
87790 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87792         [BZ #11884]
87793         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87794         alloca.
87795         * include/alloca.h (extend_alloca_account): Define.
87797         [BZ #11857]
87798         * posix/regex.h: Fix comments with documentation of user-accessible
87799         fields after compilation and describe correct free'ing of pattern
87800         after re_compile_pattern.
87801         Patch by Reuben Thomas <rrt@sc3d.org>.
87803 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87805         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87806         and -mno-altivec to prevent the compiler from using Altivec and/or
87807         VSX instructions when the corresponding registers are not available.
87809 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87811         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87813 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87815         * libio/freopen.c (freopen): Use __dup2, not dup2.
87816         * libio/freopen64.c (freopen64): Likewise.
87818 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87820         [BZ #12775]
87821         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87822         * math/Makefile (tests): Add test-powl.
87823         (CFLAGS-test-powl.c): Define.
87824         * math/test-powl.c: New file.
87826 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87828         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87830 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87832         [BZ #11837]
87833         * iconvdata/gb18030.c: Update to GB18020-2005.
87835 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87837         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87838         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87839         Patch by Aharon Robbins <arnold@skeeve.com>.
87841         [BZ #11892]
87842         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87843         on the stack.
87845         [BZ #11895]
87846         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87847         through underflows.
87849         [BZ #12766]
87850         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87851         point to strings before performing equality test for error_one_per_line
87852         mode.
87854         [BZ #11697]
87855         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87857         [BZ #11820]
87858         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87859         (struct user_fpregs_struct): Avoid __uint*_t types.
87861         [BZ #6420]
87862         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87863         symbol info.  Use it instead of calling _dl_addr locally.
87864         (lock_and_info): New function.
87865         (tr_freehook): Call lock_and_info and pass symbol info as additional
87866         parameter to tr_where.
87867         (tr_mallochook): Likewise.
87868         (tr_reallochook): Likewise.
87869         (tr_memalignhook): Likewise.
87871         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87872         used and couldn't be at all thread-safe.
87874 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87876         * libio/freopen.c (freopen): Don't close old file descriptor
87877         before the new one is opened.  Instead dup the new file descriptor
87878         to the old one after the new stream is created.
87879         * libio/freopen64.c (freopen64): Likewise.
87880         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87881         * libio/fileops.c (_IO_new_file_close_it): Handle new
87882         _IO_FLAGS2_NOCLOSE flag.
87883         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87884         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87885         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87886         _IO_FLAGS2_NOCLOSE flag.
87887         * include/unistd.h: Add hidden_proto for dup3.
87888         Define __have_dup3.
87889         * io/dup3.c: Define hidden symbol.
87890         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87892         [BZ #7101]
87893         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87894         when an incomplete long option is used.
87895         * posix/tst-getopt_long1.c: New file.
87896         * posix/Makefile (tests): Add tst-getopt_long1.
87898         [BZ #10138]
87899         * scripts/config.guess: Update from autoconf-2.68.
87900         * scripts/config.sub: Likewise.
87902         [BZ #10157]
87903         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87904         tests into ...
87905         (has_cpuclock): ...this.  New function.
87906         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87907         macro here based on has_cpuclock code.
87909         [BZ #10149]
87910         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87911         First byte (not low byte) is now always NUL.
87912         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87914         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87915         Use non-cancelable interfaces.
87917         [BZ #9809]
87918         * locale/iso-639.def: Add entry for Sorani.
87920         [BZ #11901]
87921         * include/stdlib.h: Move include protection to the right place.
87922         Define abort_msg_s.  Declare __abort_msg with it.
87923         * stdlib/abort.c (__abort_msg): Adjust type.
87924         * assert/assert.c (__assert_fail_base): New function.  Majority
87925         of code from __assert_fail.  Allocate memory for __abort_msg with
87926         mmap.
87927         (__assert_fail): Now call __assert_fail_base.
87928         * assert/assert-perr.c: Remove bulk of implementation.  Use
87929         __assert_fail_base.
87930         * include/assert.hL Declare __assert_fail_base.
87931         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87932         mmap.
87933         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87935 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87937         [BZ #11952]
87938         [BZ #12453]
87939         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87940         until all modules are registered in the DTV.
87941         * elf/Makefile: Add rules to build and run tst-tls19.
87942         * elf/tst-tls19.c: New file.
87943         * elf/tst-tls19mod1.c: New file.
87944         * elf/tst-tls19mod2.c: New file.
87945         * elf/tst-tls19mod3.c: New file.
87946         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87948         [BZ #12083]
87949         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87950         correctly.
87952         [BZ #12601]
87953         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87954         two-byte sequence errors.
87955         * iconvdata/Makefile (tests): Add bug-iconv8.
87956         * iconvdata/bug-iconv8.c: New file.
87958         [BZ #12626]
87959         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87960         buf2 definition.
87962         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87964         [BZ #12432]
87965         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87966         (dummy_getcfa): New function.
87967         (init): Get _Unwind_GetCFA address, use dummy if not found.
87968         (backtrace_helper): In recursion check, also check whether CFA changes.
87969         (__backtrace): Completely initialize arg.
87971         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87972         storing incomplete byte sequence in state object.  Avoid testing for
87973         guaranteed too small input if we know there is enough data available.
87975 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87977         * Makeconfig (+link-pie): Indent.
87978         * Rules (binaries-pie): Define if $(have-fpie) and
87979         $(build-shared).
87980         (binaries-shared): Also filter out $(binaries-pie).
87981         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87982         * nscd/Makefile (others-pie): Add nscd.
87983         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87984         ($(objpfx)nscd): Remove command override.
87985         * login/Makefile (others-pie): Add pt_chown.
87986         ($(objpfx)pt_chown): Remove command override.
87987         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87988         remove command overrides.
87990 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
87992         * libio/tst_putwc.c: Fix error messages.
87994         [BZ #12724]
87995         * libio/fileops.c (_IO_new_file_close_it): Always flush when
87996         currently writing and seek to current position when not.
87997         * libio/Makefile (tests): Add bug-fclose1.
87998         * libio/bug-fclose1.c: New file.
88000 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88002         [BZ #12511]
88003         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88004         don't set DF_1_NODELETE here.
88005         (do_lookup_x): When entering new entry test for copy relocation
88006         and if necessary set DF_1_NODELETE flag.
88007         * elf/tst-unique4.cc: New file.
88008         * elf/tst-unique4.h: New file.
88009         * elf/tst-unique4lib.cc: New file.
88010         * elf/Makefile: Add rules to build and run tst-unique4.
88011         Patch by Piotr Bury <pbury@goahead.com>.
88013 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88015         [BZ #12052]
88016         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88018         [BZ #12625]
88019         * misc/mntent_r.c (addmntent): Flush the stream after the output
88021         [BZ #12393]
88022         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88023         (is_trusted_path_normalize): Skip initial colon.  Append slash
88024         to empty buffer.  Duplicate is_trusted_path code but allow
88025         constructed patch to be prefix.
88026         (is_dst): Allow $ORIGIN followed by /.
88027         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88028         Correct testing of result of is_trusted_path_normalize
88029         (decompose_rpath): Fix warning.
88031 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88033         [BZ #11257]
88034         * grp/initgroups.c (internal_getgrouplist): When we found the service
88035         list through the initgroups entry in nsswitch.conf do not always
88036         continue on a successful lookup.  Don't always use the
88037         __nss_group_database value if it is set.
88038         * nss/nsswitch.conf (initgroups): Change action for successful db
88039         lookup to continue for compatibility.
88041 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88043         [BZ #11532]
88044         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88045         and CP774 modules.
88046         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88047         and CP774 modules.
88048         * iconvdata/tst-tables.sh: Likewise.
88049         * iconvdata/cp770.c: New file.
88050         * iconvdata/cp771.c: New file.
88051         * iconvdata/cp772.c: New file.
88052         * iconvdata/cp773.c: New file.
88053         * iconvdata/cp774.c: New file.
88054         * iconvdata/testdata/CP770: New file.
88055         * iconvdata/testdata/CP770..UTF8: New file.
88056         * iconvdata/testdata/CP771: New file.
88057         * iconvdata/testdata/CP771..UTF8: New file.
88058         * iconvdata/testdata/CP772: New file.
88059         * iconvdata/testdata/CP772..UTF8: New file.
88060         * iconvdata/testdata/CP773: New file.
88061         * iconvdata/testdata/CP773..UTF8: New file.
88062         * iconvdata/testdata/CP774: New file.
88063         * iconvdata/testdata/CP774..UTF8: New file.
88065         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88066         END CHARMAP line.
88067         * iconvdata/gen-8bit-gap.sh: Likewise.
88068         * iconvdata/gen-8bit.sh: Likewise.
88070         * locale/iso-639.def: Add ary entry.
88072         [BZ #11258]
88073         * locale/C-translit.h.in: Add U20A1 transliteration.
88075         [BZ #12178]
88076         * locale/iso-639.def: Add wae entry.
88077         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88079         [BZ #12545]
88080         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88081         for n.
88083         [BZ #12711]
88084         * locale/C-translit.h.in: Add entry for U20B9.
88085         Patch by pravin.d.s@gmail.com.
88087 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88089         [BZ #12713]
88090         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88091         ENAMETOOLONG use generic getcwd.
88092         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88093         in rtld.  Use *stat64.
88094         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88095         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88096         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88097         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88098         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88099         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88100         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88101         __fstatat64 macros.
88102         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88103         * dirent/rewinddir.c: Add libc_hidden_def.
88104         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88105         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88107         * include/dirent.h (__alloc_dir): Add flags parameter.
88108         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88109         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88110         __alloc_dir.
88111         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88112         from fdopendir if O_CLOEXEC is already set.
88114 2011-03-15  Alan Modra  <amodra@gmail.com>
88116         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88117         l_tls_firstbyte_offset non-zero.  Save padding offset in
88118         l_tls_firstbyte_offset for later use.
88119         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88120         freeing static tls block.
88122 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88124         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88125         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88126         being defined by the kernel headers.
88128 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88130         [BZ #12734]
88131         * resolv/resolv.h: Define RES_NOTLDQUERY.
88132         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88133         no-tld-query and set RES_NOTLDQUERY.
88134         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88135         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88136         modern BIND to search name as TLD unless forbidden.
88138 2011-05-07  Petr Baudis  <pasky@suse.cz>
88139             Ulrich Drepper  <drepper@gmail.com>
88141         [BZ #12393]
88142         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88143         (is_trusted_path): ...to here.
88144         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88145         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88146         using is_trusted_path_normalize() in setuid scripts.
88148 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88150         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88151         __BEGIN/__END_DECLS.
88153 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88155         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88156         NSS_STATUS_NOTFOUND if no record was found.
88158 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88160         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88161         (headers-not-in-tirpc): Remove rpc/netdb.h
88162         * resolv/netdb.h: Revert last change.
88164 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88166         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88167         circular dependency between libgcc.a and libc.a.
88169 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88171         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88172         * nis/Makefile: Don't install rpcsvc/*.
88173         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88174         instead of <rpc/types.h>.
88175         (MAXHOSTNAMELEN): Define.
88177 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88179         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88181 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88183         [BZ #12714]
88184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88185         gethostbyname4_r when IPv6 results are possible.
88187 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88189         [BZ #12723]
88190         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88191         _PC_PIPE_BUF handling.
88193 2011-04-30  Bruno Haible  <bruno@clisp.org>
88195         [BZ #12717]
88196         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88197         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88198         to 'int'.
88199         * inet/getnameinfo.c (getnameinfo): Likewise.
88201 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88203         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88204         to groups setting in database lookup.
88205         * nss/nsswitch.conf: Add initgroups entry.
88207 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88209         [BZ #12685]
88210         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88211         mode string.
88212         Patch by Eric Blake <eblake@redhat.com>.
88214 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88216         * sunrpc/Makefile (need-export-routines): Add svc_run.
88217         (routines): Remove svc_run.
88218         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88219         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88220         * sunrpc/svc_run.c (svc_run): Likewise.
88221         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88223 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88225         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88226         problem in reallocation in last patch.
88228 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88230         * sunrpc/Makefile: Move inclusion of Rules.
88232 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88234         * nss/nss_files/files-initgroups.c: New file.
88235         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88236         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88237         _nss_files_initgroups_dyn.
88239 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88241         * elf/elf.h (R_ARM_IRELATIVE): Define.
88243 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88245         * po/ru.po: Update from translation team.
88247 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88249         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88250         dependencies.
88252 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88254         [BZ #12653]
88255         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88256         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88257         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88258         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88259         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88261 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88263         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88264         differing bytes.
88265         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88266         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88267         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88269 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88271         [BZ #12420]
88272         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88273         storing it.
88274         * stdlib/bug-getcontext.c: New file.
88275         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88277 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88279         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88280         instructions into .machine "z9-109".
88281         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88282         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88284 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88286         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88287         between environment variables and auxiliary vector.
88289 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88291         * Makefile: Add rules to build linkobj/libc.so.
88292         * include/libc-symbols.h: Define libc_hidden_nolink.
88293         * include/rpc/auth.h: Mark functions which are to be hidden.
88294         * include/rpc/auth_des.h: Likewise.
88295         * include/rpc/auth_unix.h: Likewise.
88296         * include/rpc/clnt.h: Likewise.
88297         * include/rpc/des_crypt.h: Likewise.
88298         * include/rpc/key_prot.h: Likewise.
88299         * include/rpc/pmap_clnt.h: Likewise.
88300         * include/rpc/pmap_prot.h: Likewise.
88301         * include/rpc/pmap_rmt.h: Likewise.
88302         * include/rpc/rpc_msg.h: Likewise.
88303         * include/rpc/svc.h: Likewise.
88304         * include/rpc/svc_auth.h: Likewise.
88305         * include/rpc/xdr.h: Likewise.
88306         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88307         * nss/Makefile: Likewise.
88308         * sunrpc/Makefile: Don't install headers.  Build library with normal
88309         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88310         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88311         for the compat linking library.  Remove use of INTDEF/INTUSE.
88312         * sunrpc/auth_none.c: Likewise.
88313         * sunrpc/auth_unix.c: Likewise.
88314         * sunrpc/authdes_prot.c: Likewise.
88315         * sunrpc/authuxprot.c: Likewise.
88316         * sunrpc/clnt_gen.c: Likewise.
88317         * sunrpc/clnt_perr.c: Likewise.
88318         * sunrpc/clnt_raw.c: Likewise.
88319         * sunrpc/clnt_simp.c: Likewise.
88320         * sunrpc/clnt_tcp.c: Likewise.
88321         * sunrpc/clnt_udp.c: Likewise.
88322         * sunrpc/clnt_unix.c: Likewise.
88323         * sunrpc/des_crypt.c: Likewise.
88324         * sunrpc/des_soft.c: Likewise.
88325         * sunrpc/get_myaddr.c: Likewise.
88326         * sunrpc/key_call.c: Likewise.
88327         * sunrpc/key_prot.c: Likewise.
88328         * sunrpc/netname.c: Likewise.
88329         * sunrpc/pm_getmaps.c: Likewise.
88330         * sunrpc/pm_getport.c: Likewise.
88331         * sunrpc/pmap_clnt.c: Likewise.
88332         * sunrpc/pmap_prot.c: Likewise.
88333         * sunrpc/pmap_prot2.c: Likewise.
88334         * sunrpc/pmap_rmt.c: Likewise.
88335         * sunrpc/publickey.c: Likewise.
88336         * sunrpc/rpc_cmsg.c: Likewise.
88337         * sunrpc/rpc_common.c: Likewise.
88338         * sunrpc/rpc_dtable.c: Likewise.
88339         * sunrpc/rpc_prot.c: Likewise.
88340         * sunrpc/rpc_thread.c: Likewise.
88341         * sunrpc/rtime.c: Likewise.
88342         * sunrpc/svc.c: Likewise.
88343         * sunrpc/svc_auth.c: Likewise.
88344         * sunrpc/svc_authux.c: Likewise.
88345         * sunrpc/svc_raw.c: Likewise.
88346         * sunrpc/svc_run.c: Likewise.
88347         * sunrpc/svc_simple.c: Likewise.
88348         * sunrpc/svc_tcp.c: Likewise.
88349         * sunrpc/svc_udp.c: Likewise.
88350         * sunrpc/svc_unix.c: Likewise.
88351         * sunrpc/svcauth_des.c: Likewise.
88352         * sunrpc/xcrypt.c: Likewise.
88353         * sunrpc/xdr.c: Likewise.
88354         * sunrpc/xdr_array.c: Likewise.
88355         * sunrpc/xdr_float.c: Likewise.
88356         * sunrpc/xdr_intXX_t.c: Likewise.
88357         * sunrpc/xdr_mem.c: Likewise.
88358         * sunrpc/xdr_rec.c: Likewise.
88359         * sunrpc/xdr_ref.c: Likewise.
88360         * sunrpc/xdr_sizeof.c: Likewise.
88361         * sunrpc/xdr_stdio.c: Likewise.
88363 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88365         [BZ #12650]
88366         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88367         * sysdeps/ia64/dl-tls.h: Likewise.
88368         * sysdeps/powerpc/dl-tls.h: Likewise.
88369         * sysdeps/s390/dl-tls.h: Likewise.
88370         * sysdeps/sh/dl-tls.h: Likewise.
88371         * sysdeps/sparc/dl-tls.h: Likewise.
88372         * sysdeps/x86_64/dl-tls.h: Likewise.
88373         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88375 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88377         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88378         rpath element also skip the following colon.
88379         (expand_dynamic_string_token): Add is_path parameter and pass
88380         down to DL_DST_REQUIRED and _dl_dst_substitute.
88381         (decompose_rpath): Call expand_dynamic_string_token with
88382         non-zero is_path.  Ignore empty rpaths.
88383         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88384         with zero is_path.
88386 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88389         Make cancelable.
88391 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88393         [BZ #12655]
88394         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88395         Patch by Filipe David Manana <fdmanana@apache.org>.
88397 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88399         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88400         Maintain aligned stack.
88401         (CHECK_RSP): Remove unused macro.
88403 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88405         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88406         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88408 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88410         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88412         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88414 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88416         [BZ #12518]
88417         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88418         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88419         * sysdeps/x86_64/memmove.c: New file.
88420         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88421         (memcpy): Renamed to ...
88422         (__new_memcpy): This.
88423         (memcpy): Provide GLIBC_2_14 memcpy.
88424         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88425         (memcpy): Provide GLIBC_2_2_5 memcpy.
88427 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88429         [BZ #12631]
88430         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88432 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88434         * misc/syncfs.c: New file.
88435         * misc/Makefile (routines): Add syncfs.
88436         * posix/unistd.h: Declare syncfs.
88437         * sysdeps/unix/syscalls.list: Add syncfs.
88439 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88441         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88442         open_by_handle_at.
88443         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88444         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88445         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88446         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88447         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88448         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88449         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88451 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88453         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88454         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88455         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88456         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88457         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88458         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88459         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88461         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88462         sync_file_range.c with -fexceptions.
88463         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88464         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88465         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88466         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88467         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88468         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88469         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88470         sync_file_range as cancellation point
88471         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88472         now a wrapper around __call_sync_file_range with cancellation handling.
88473         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88474         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88475         function name to __call_sync_file_range.
88476         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88477         Add call_sync_file_range.
88479 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88481         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88482         bits/timex.h.
88484 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88486         * iconv/iconv.h: Fix typo in comment.
88487         * io/fcntl.h: Likewise.
88488         * libio/stdio.h: Likewise.
88489         * posix/spawn.h: Likewise.
88490         * posix/unistd.h: Likewise.
88491         * stdlib/stdlib.h: Likewise.
88492         * time/time.h: Likewise.
88493         * wcsmbs/wchar.h: Likewise.
88495         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88496         open_by_handle): Add.
88497         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88498         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88499         Augment a few comments.
88500         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88501         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88502         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88503         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88504         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88505         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88506         open_by_handle.
88508         * io/fcntl.h (AT_EMPTY_PATH): Define.
88510 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88512         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88513         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88514         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88515         to...
88516         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88517         * Versions.def: Add GLIBC_2.14.
88518         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88519         Export.
88521 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88523         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88524         round counter.
88525         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88527 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88529         [BZ #12597]
88530         * string/test-strncmp.c (do_page_test): New function.
88531         (check2): Likewise.
88532         (test_main): Call check2.
88533         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88535 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88537         [BZ #12587]
88538         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88539         Handle cache information in CPU leaf 4.
88540         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88542 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88544         [BZ #12583]
88545         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88546         character representation.
88547         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88549 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88551         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88552         END(__isnan) to END(__isnanf) to match function entry point/label
88553         EALIGN(__isnanf,...).
88555 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88557         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88559 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88561         [BZ #12510]
88562         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88563         copy from the symbol referenced in the relocation to initialize the
88564         used variable.
88565         Patch by Piotr Bury <pbury@goahead.com>.
88566         * elf/Makefile: Add rules to build and tst-unique3.
88567         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88568         * elf/tst-unique3.cc: New file.
88569         * elf/tst-unique3.h: New file.
88570         * elf/tst-unique3lib.cc: New file.
88571         * elf/tst-unique3lib2.cc: New file.
88573         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88575 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88577         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88578         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88579         to _start.
88581 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88583         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88584         to-be-loaded object along a path to loader is ld.so.
88586 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88587             Ulrich Drepper  <drepper@gmail.com>
88589         * sysdeps/x86_64/memset.S: After aligning destination, code
88590         branches to different locations depending on the value of
88591         misalignment, when multiarch is enabled. Fix this.
88593 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88595         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88596         Set _x86_64_preferred_memory_instruction for AMD processsors.
88597         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88598         Set bit_Prefer_SSE_for_memop for AMD processors.
88600 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88602         * libio/fmemopen.c (fmemopen): Optimize a bit.
88604 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88606         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88608 2011-03-03  Roland McGrath  <roland@redhat.com>
88610         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88612 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88614         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88615         __bzero_ultra1 instead of __memset_ultra1.
88617 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88618             Ulrich Drepper  <drepper@gmail.com>
88620         [BZ #12509]
88621         * include/link.h (struct link_map): Add l_orig_initfini.
88622         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88623         returning unsuccessfully.
88624         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88625         close of a file loaded at startup, restore the original l_initfini
88626         list.
88627         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88628         list, store the pointer.
88629         * elf/Makefile ($(objpfx)noload-mem): New rule.
88630         (noload-ENV): Define.
88631         (tests): Add $(objpfx)noload-mem.
88632         * elf/noload.c: Include <memcheck.h>.
88633         (main): Call mtrace.  Close all opened handles.
88635 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88637         [BZ #12454]
88638         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88639         dependencies are missing.
88641 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88643         Fix __if_freereq crash: Unlike the generic version which uses free,
88644         Hurd needs munmap.
88645         * sysdeps/mach/hurd/ifreq.h: New file.
88647 2011-01-27  Petr Baudis  <pasky@suse.cz>
88648             Ulrich Drepper  <drepper@gmail.com>
88650         [BZ 12445]#
88651         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88652         to extend_alloca().
88653         * stdio-common/bug23.c: New file.
88654         * stdio-common/Makefile (tests): Add bug23.
88656 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88657             Ulrich Drepper  <drepper@gmail.com>
88659         [BZ #12489]
88660         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88661         before performing relro protection.  At old place add assertion
88662         to make sure nothing changed.
88664 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88665             Glauber de Oliveira Costa  <glommer@gmail.com>
88667         * elf/elf.h: Add new ARM TLS relocs.
88669 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88672         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88673         cast from r3.
88674         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88675         'tests' variable.
88676         * sysdeps/wordsize-64/tst-writev.c: New file.
88678 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88680         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88681         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88682         insns in _dl_start to prevent a TOC reference before relocs are
88683         resolved.
88685 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88687         [BZ #12469]
88688         * Makeconfig: Remove RANLIB definition.
88689         * Makerules: Don't use RANLIB.
88690         * aclocal.m4: Remove ranlib test.
88691         * configure.in: No need to check for ranlib.
88692         * elf/rtld-Rules: Don't use RANLIB.
88694 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88696         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88697         protection macro.
88698         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88699         inclusion protection macro.
88701         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88702         SIGRTMIN and SIGRTMAX and print information in that case only when
88703         SIGRTMIN is defined.
88705 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88707         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88708         arginfo fn returning -1.
88710         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88711         and thousands string is zero terminated.
88713 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88715         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88716         sysdeps/unix/sysv/linux/bits/socket.h.
88718 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88720         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88721         (__CPU_COUNT): Remove old macros.
88722         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88723         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88724         (__CPU_ALLOC, __CPU_FREE): Add macros.
88725         (__sched_cpualloc, __sched_cpufree): Add declarations.
88727 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88729         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88730         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88731         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88732         (readdhstai): Return value of addhstaiX call.
88733         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88734         (addgrbyX): Return value returned by cache_addgr.
88735         (readdgrbyname): Return value returned by addgrbyX.
88736         (readdgrbygid): Likewise.
88737         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88738         (addpwbyX): Return value returned by cache_addpw.
88739         (readdpwbyname): Return value returned by addhstbyX.
88740         (readdpwbyuid): Likewise.
88741         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88742         (addservbyX): Return value returned by cache_addserv.
88743         (readdservbyname): Return value returned by addservbyX:
88744         (readdservbyport): Likewise.
88745         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88746         (addhstbyX): Return value returned by cache_addhst.
88747         (readdhstbyname): Return value returned by addhstbyX.
88748         (readdhstbyaddr): Likewise.
88749         (readdhstbynamev6): Likewise.
88750         (readdhstbyaddrv6): Likewise.
88751         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88752         (readdinitgroups): Return value returned by addinitgroupsX.
88753         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88754         (prune_cache): Keep track of timeout value of re-added entries.
88755         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88756         * nscd/nscd.h: Adjust prototypes of readd* functions.
88758 2011-02-04  Roland McGrath  <roland@redhat.com>
88760         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88761         (nis_stats): Likewise.
88762         * nis/nis_modify.c (nis_modify): Likewise.
88763         * nis/nis_remove.c (nis_remove): Likewise.
88764         * nis/nis_add.c (nis_add): Likewise.
88766         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88768         * posix/fnmatch_loop.c: Add some consts.
88770         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88772 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88774         [BZ #12460]
88775         * config.make.in (config-cflags-novzeroupper): Define.
88776         * configure.in: Substitute libc_cv_cc_novzeroupper.
88777         * elf/Makefile (AVX-CFLAGS): Define.
88778         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88779         (CFLAGS-tst-auditmod4a.c): Likewise.
88780         (CFLAGS-tst-auditmod4b.c): Likewise.
88781         (CFLAGS-tst-auditmod6b.c): Likewise.
88782         (CFLAGS-tst-auditmod6c.c): Likewise.
88783         (CFLAGS-tst-auditmod7b.c): Likewise.
88784         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88786 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88788         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88789         function to the callback.
88790         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88792 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88794         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88795         of errno.
88797 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88799         [BZ #11724]
88800         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88801         of constructors.
88802         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88803         of destructors.
88804         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88806         [BZ #11724]
88807         * elf/Makefile: Add rules to build and run new test.
88808         * elf/tst-initorder.c: New file.
88809         * elf/tst-initorder.exp: New file.
88810         * elf/tst-initordera1.c: New file.
88811         * elf/tst-initordera2.c: New file.
88812         * elf/tst-initordera3.c: New file.
88813         * elf/tst-initordera4.c: New file.
88814         * elf/tst-initorderb1.c: New file.
88815         * elf/tst-initorderb2.c: New file.
88816         * elf/tst-order-a1.c: New file.
88817         * elf/tst-order-a2.c: New file.
88818         * elf/tst-order-a3.c: New file.
88819         * elf/tst-order-a4.c: New file.
88820         * elf/tst-order-b1.c: New file.
88821         * elf/tst-order-b2.c: New file.
88822         * elf/tst-order-main.c: New file.
88823         New test case by George Gensure <werkt0@gmail.com>.
88825 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88828         decoding ACE if AI_CANONIDN.
88830 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88832         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88834 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88836         * version.h (RELEASE): Bump for 2.13 release.
88837         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88839         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88841         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88842         MADV_NOHUGEPAGE.
88843         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88844         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88845         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88846         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88847         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88848         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88850         * posix/getconf.c: Update copyright year.
88851         * catgets/gencat.c: Likewise.
88852         * csu/version.c: Likewise.
88853         * debug/catchsegv.sh: Likewise.
88854         * debug/xtrace.sh: Likewise.
88855         * elf/ldconfig.c: Likewise.
88856         * elf/ldd.bash.in: Likewise.
88857         * elf/sprof.c (print_version): Likewise.
88858         * iconv/iconv_prog.c: Likewise.
88859         * iconv/iconvconfig.c: Likewise.
88860         * locale/programs/locale.c: Likewise.
88861         * locale/programs/localedef.c: Likewise.
88862         * malloc/memusage.sh: Likewise.
88863         * malloc/mtrace.pl: Likewise.
88864         * nscd/nscd.c (print_version): Likewise.
88865         * nss/getent.c: Likewise.
88867         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88868         PF_CAIF, and PF_ALG.
88869         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88871 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88873         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88874         (modules-names): Use them.
88875         (ifunc-test-modules, ifunc-pie-tests): Define.
88876         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88877         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88878         (test-extras): Likewise.
88879         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88880         $(compile-command.c).
88881         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88882         (all-built-dso): Define.
88883         (check-textrel.out, check-execstack.out): Depend on it.
88885         * configure.in: Don't override --enable-multi-arch.
88887 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88889         [BZ #6812]
88890         * nscd/hstcache.c (tryagain): Define.
88891         (cache_addhst): Return tryagain not notfound for temporary errors.
88892         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88893         failed.
88895 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88897         [BZ #10563]
88898         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88899         to make the syscall.
88900         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88902         [BZ #12378]
88903         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88904         and fall back to matching as normal character if the string ends before
88905         the matching ']' is found.  This is what POSIX requires.
88906         * posix/testfnm.c: Adjust test result.
88907         * posix/globtest.sh: Adjust test result.  Add new test.
88908         * posix/tst-fnmatch.input: Likewise.
88909         * posix/tst-fnmatch2.c: Add new test.
88911 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88913         * elf/Makefile (check-execstack): Revert last change.  Depend on
88914         check-execstack.h.
88915         (check-execstack.h): New target.
88916         (generated): Add check-execstack.h.
88917         * elf/check-execstack.c: Include "check-execstack.h".
88918         (main): Revert last change.
88919         (handle_file): Return zero if GNU_STACK is absent and
88920         DEFAULT_STACK_PERMS doesn't include PF_X.
88922 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88924         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88925         in child fails because the descriptor is already closed.
88926         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88927         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88928         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88930         [BZ #12397]
88931         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88932         syscall.
88934         [BZ #10484]
88935         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88936         temporary buffer used to handle multi lookups locally.
88937         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88939 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88941         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88942         loader is ld.so.
88944 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88946         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88947         alignment for SSE2.
88949 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88951         [BZ #12394]
88952         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88953         characters.  When rounding increased number of integer digits recompute
88954         number of groups.
88955         * stdio-common/tst-grouping.c: New file.
88956         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88958 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88960         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88961         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88963         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88964         void.
88965         * bits/select.h: Likewise.
88967 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88969         * po/ja.po: Update from translation team.
88971 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88973         [BZ #11155]
88974         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88975         implementation just like for lxstat, fxstatat, et al.
88977 2010-12-27  Jim Meyering  <meyering@redhat.com>
88979         [BZ #12348]
88980         * posix/regexec.c (build_trtable): Return failure indication upon
88981         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88983 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88985         [BZ #12201]
88986         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88987         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88988         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88989         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
88991         [BZ #12207]
88992         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
88994         [BZ #12204]
88995         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
88996         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
88998 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89000         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89001         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89002         script has SORT_BY_INIT_PRIORITY.
89003         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89004         NO_CTORS_DTORS_SECTIONS is defined.
89005         * elf/soinit.c: Likewise.
89006         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89007         NO_CTORS_DTORS_SECTIONS is defined.
89008         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89009         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89010         * sysdeps/sh/init-first.c: Likewise.
89011         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89013 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89015         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89016         always use the slow path.
89018 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89020         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89021         similar rule which adds the sysdep directories to the header search in
89022         order to pick up the correct platform stackinfo.h.
89023         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89024         perform test if it is, otherwise return successfully without testing.
89025         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89026         DEFAULT_STACK_PERMS define in stackinfo.h.
89027         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89028         defined in stackinfo.h.
89029         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89030         DEFAULT_STACK_PERMS defined in stackinfo.h.
89031         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89032         * sysdeps/ia64/stackinfo.h: Likewise.
89033         * sysdeps/s390/stackinfo.h: Likewise.
89034         * sysdeps/sh/stackinfo.h: Likewise.
89035         * sysdeps/sparc/stackinfo.h: Likewise.
89036         * sysdeps/x86_64/stackinfo.h: Likewise.
89037         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89038         PF_X for powerpc64.  Retain PF_X for powerpc32.
89040 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89042         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89043         accurately.
89044         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89045         GETDENTS_64BIT_ALIGNED.
89047 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89049         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89051 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89053         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89054         _GNU_SOURCE.
89056         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89057         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89058         Remove __restrict.
89059         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89060         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89062 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89064         [BZ #11655]
89065         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89066         are initialized.
89068 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89070         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89072 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89074         * po/it.po: Update from translation team.
89076 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89078         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89079         unused codes.
89081 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89083         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89085 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89087         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89088         specially.
89089         (gaih_getanswer_slice): Likewise.
89091 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89095 2010-05-31  Petr Baudis  <pasky@suse.cz>
89097         [BZ #11149]
89098         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89099         silently even in the chroot mode.
89101 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89103         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89104         last patch a bit.  Pretty printing
89106 2010-05-31  Petr Baudis <pasky@suse.cz>
89108         [BZ #10085]
89109         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89110         initialization of skip_initgroups_dyn.
89112 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89114         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89115         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89117 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89119         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89121 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89123         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89124         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89125         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89126         ($(objpfx)tst-fnmatch-mem): New rule.
89127         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89128         * posix/tst-fnmatch.c (main): Call mtrace.
89130 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89132         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89133         Support Intel processor model 6 and model 0x2c.
89135 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89137         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89138           signed comparison.
89140 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89142         [BZ #12205]
89143         * string/test-strncasecmp.c (check_result): New function.
89144         (do_one_test): Use it.
89145         (check1): New function.
89146         (test_main): Use it.
89147         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89148         Support strcasecmp and strncasecmp.
89150 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89152         [BZ #12194]
89153         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89154         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89156 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89158         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89159         IFUNC support.
89160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89161         memset-x86-64.
89162         * sysdeps/x86_64/multiarch/bzero.S: New file.
89163         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89164         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89165         * sysdeps/x86_64/multiarch/memset.S: New file.
89166         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89167         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89168         Set bit_Prefer_SSE_for_memop for Intel processors.
89169         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89170         Define.
89171         (index_Prefer_SSE_for_memop): Define.
89172         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89174 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89176         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89177         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89179 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89181         [BZ #12191]
89182         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89183         (__x86_64_raw_data_cache_size_half): Likewise.
89184         (__x86_64_raw_shared_cache_size): Likewise.
89185         (__x86_64_raw_shared_cache_size_half): Likewise.
89187         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89188         (__x86_64_raw_data_cache_size_half): Likewise.
89189         (__x86_64_raw_shared_cache_size): Likewise.
89190         (__x86_64_raw_shared_cache_size_half): Likewise.
89191         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89192         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89193         and __x86_64_raw_shared_cache_size_half.  Round
89194         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89195         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89196         to multiple of 256 bytes.
89198 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89200         [BZ #12167]
89201         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89202         of inacessible symlinks.  Verify result of symlink before returning it.
89203         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89204         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89206 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89208         * math/math.h (isinf): Fix typo in comment.
89210 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89212         * po/da.po: Update from translation team.
89214 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89216         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89217         is added to the list.
89219 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89220             Ulrich Drepper  <drepper@gmail.com>
89222         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89223         the global list here.  Move code to...
89224         (_dl_add_to_namespace_list): ...here.  New function.
89225         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89226         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89227         * elf/dl-load.c (lose): Don't remove the element from the list.
89228         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89229         (_dl_map_object): Likewise.
89231 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89233         [BZ #12159]
89234         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89235         into all bytes of SSE register.
89236         Patch by Richard Li <richardpku@gmail.com>.
89238 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89240         [BZ #12140]
89241         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89242         perturbing.
89244 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89246         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89247         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89248         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89249         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89251         submachine.
89252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89254 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89256         * include/dlfcn.h (__RTLD_SECURE): Define.
89257         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89258         mode & __RTLD_SECURE instead.
89259         (open_path): Rename preloaded parameter to secure.
89260         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89261         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89262         * elf/dl-deps.c (openaux): Likewise.
89263         * elf/rtld.c (struct map_args): Remove is_preloaded.
89264         (map_doit): Don't use it.
89265         (dl_main): Likewise.
89266         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89267         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89269 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89271         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89272         (sysd-rules-targets): Remove duplicates.
89273         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89274         rtld-%.$o dependency.
89276 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89278         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89279         _dl_map_object do it.
89281 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89283         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89284         fast fma builtins, define the macros in the C99 standard.
89285         (FP_FAST_FMAF): Likewise.
89286         (FP_FAST_FMAL): Likewise.
89287         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89289         * bits/mathdef.h: Update copyright year.
89290         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89292 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89294         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89295         builtins, define the macros in the C99 standard.
89296         (FP_FAST_FMAF): Likewise.
89297         (FP_FAST_FMAL): Likewise.
89298         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89299         multiply/add.
89300         (FP_FAST_FMAF): Likewise.
89302 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89304         [BZ #3268]
89305         * math/libm-test.inc (fma_test): Some new testcases.
89306         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89307         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89308         y and infinite z.  Do multiplication by C already in long double.
89309         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89310         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89311         y and infinite z.  Do bitwise or of inexact bit into u.d.
89312         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89313         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89314         * sysdeps/i386/fpu/s_fma.S: Removed.
89315         * sysdeps/i386/fpu/s_fmal.S: Removed.
89317 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89319         [BZ #3268]
89320         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89321         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89322         computation is not scheduled after fetestexcept.  Fix value
89323         of minimum denormal long double.
89325 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89327         [BZ #3268]
89328         * math/libm-test.inc (fma_test): Add some more tests.
89329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89330         correctly.
89332 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89334         * scripts/data/localplt-s390-linux-gnu.data: New file.
89335         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89337 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89339         [BZ #3268]
89340         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89341         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89342         instead of dbl-64.
89343         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89344         inlines.
89345         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89347         if one of x and y is very large and the other is subnormal.
89348         * sysdeps/s390/fpu/s_fmaf.c: New file.
89349         * sysdeps/s390/fpu/s_fma.c: New file.
89350         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89351         * sysdeps/powerpc/fpu/s_fma.S: New file.
89352         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89353         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89354         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89356 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89358         [BZ #3268]
89359         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89360         fma tests.
89361         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89362         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89363         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89364         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89365         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89366         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89367         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89369 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89371         [BZ #12078]
89372         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89373         * posix/bug-regex31.input: Add test case.
89375 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89377         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89378         * posix/bug-regex31.input: New file.
89380         [BZ #12078]
89381         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89382         (parse_sub_exp): Fix last change, use postorder.
89384         * posix/bug-regex31.c: New file.
89385         * posix/Makefile: Add rules to build and run bug-regex31.
89387         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89389         [BZ #12078]
89390         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89392         [BZ #12108]
89393         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89394         to have entries in sys_siglist.
89396         [BZ #12093]
89397         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89398         be NULL.
89400 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89402         [BZ #3268]
89403         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89404         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89405         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89406         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89407         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89408         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89409         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89410         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89411         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89412         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89413         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89414         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89415         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89416         * math/ftestexcept.c (fetestexcept): Likewise.
89417         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89418         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89419         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89420         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89421         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89422         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89423         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89425 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89427         [BZ #12107]
89428         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89429         newline.
89431 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89433         * string/bug-strstr1.c: New file.
89434         * string/Makefile: Add rules to build and run bug-strstr1.
89436 2010-10-05  Eric Blake  <eblake@redhat.com>
89438         [BZ #12092]
89439         * string/str-two-way.h (two_way_long_needle): Always clear memory
89440         when skipping input due to the shift table.
89442 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89444         [BZ #12005]
89445         * malloc/mcheck.c: Handle large requests.
89447         [BZ #12077]
89448         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89449         for strncmp and strncasecmp.
89450         * string/stratcliff.c: Add tests for strcmp and strncmp.
89451         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89453 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89455         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89456         __set_fpscr.
89458 2010-09-30  Andreas Jaeger  <aj@suse.de>
89460         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89461         (CGROUP_SUPER_MAGIC): Define.
89462         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89463         Handle btrfs and cgroup file systems.
89464         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89465         Likewise.
89467 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89469         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89470         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89472 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89474         [BZ #12067]
89475         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89476         trying to locate the ELF header.
89478 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89480         [BZ #11611]
89481         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89482         Mask out sign-bit copies when constructing f_fsid.
89484 2010-09-24  Petr Baudis <pasky@suse.cz>
89486         * debug/stack_chk_fail_local.c: Add missing licence exception.
89487         * debug/warning-nop.c: Likewise.
89489 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89491         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89492         implementing getdents64 using getdents syscall, set d_type if
89493         __ASSUME_GETDENTS32_D_TYPE.
89495 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89497         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89498         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89500 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89502         [BZ #12037]
89503         * posix/unistd.h: Undo change of feature selection for ftruncate from
89504         2010-01-11.
89506 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89508         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89509         detection.
89511 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89513         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89514         fanotify_mark.
89515         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89517 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89519         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89520         variables after CHECK_SP call.
89521         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89523 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89524             Ulrich Drepper  <drepper@redhat.com>
89526         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89527         re-relocationg ld.so.
89528         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89529         _dl_init_paths call.
89530         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89531         here anymore.
89533 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89535         * resolv/res_init.c (__res_vinit): Count the default server we added.
89537 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89538             Ulrich Drepper  <drepper@redhat.com>
89540         [BZ #11968]
89541         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89542         (____longjmp_chk): Use %ebx for saving value across system call.
89543         Add unwind info.
89545 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89547         * manual/Makefile: Don't mix pattern rules with normal rules.
89549 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89551         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89552         operation.
89553         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89554         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89555         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89556         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89557         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89558         Likewise.
89560 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89562         [BZ #11979]
89563         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89564         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89566 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89568         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89569         * sysdeps/x86_64/addmul_1.S: Likewise.
89570         * sysdeps/x86_64/lshift.S: Likewise.
89571         * sysdeps/x86_64/mul_1.S: Likewise.
89572         * sysdeps/x86_64/rshift.S: Likewise.
89573         * sysdeps/x86_64/sub_n.S: Likewise.
89574         * sysdeps/x86_64/submul_1.S: Likewise.
89576 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89578         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89579         Define __sched_param instead of SCHED_* and sched_param when
89580         <bits/sched.h> is included with __need_schedparam defined.
89581         * bits/sched.h [__need_schedparam]
89582         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89583         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89584         (__defined_schedparam): Define to 1.
89585         (__sched_param): New structure, identical to sched_param.
89586         (__need_schedparam): Undefine.
89588 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89590         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89591         (epoll_create1): Declare.
89593         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89595 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89597         [BZ #7066]
89598         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89599         shifting retval into place.
89601 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89603         * nis/rpcsvc/nis.h: Update copyright notice.
89604         * nis/rpcsvc/nis.x: Likewise.
89605         * nis/rpcsvc/nis_callback.h: Likewise.
89606         * nis/rpcsvc/nis_callback.x: Likewise.
89607         * nis/rpcsvc/nis_object.x: Likewise.
89608         * nis/rpcsvc/nis_tags.h: Likewise.
89609         * nis/rpcsvc/yp.h: Likewise.
89610         * nis/rpcsvc/yp.x: Likewise.
89611         * nis/rpcsvc/ypupd.h: Likewise.
89612         * nis/yp_xdr.c: Likewise.
89613         * nis/ypupdate_xdr.c: Likewise.
89615         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89616         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89617         (pmap_getport): Use __libc_rpc_getport.
89618         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89619         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89620         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89622 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89625         fanotify_mark.
89627 2010-08-27  Roland McGrath  <roland@redhat.com>
89629         * sysdeps/i386/i686/multiarch/Makefile
89630         (CFLAGS-varshift.c): New variable.
89632 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89634         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89635         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89637         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89639         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89641 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89643         * sysdeps/x86_64/strlen.S: Unroll the loop.
89644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89645         strlen-sse2 strlen-sse2-bsf.
89646         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89647         __strlen_no_bsf if bit_Slow_BSF is set.
89648         (__strlen_sse42): Removed.
89649         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89650         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89652 2010-08-25  Roland McGrath  <roland@redhat.com>
89654         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89655         * sysdeps/x86_64/multiarch/varshift.c: New file.
89656         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89657         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89658         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89659         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89661 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89663         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89664         strlen-sse2 strlen-sse2-bsf.
89665         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89666         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89667         (__strlen_sse2): Removed.
89668         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89669         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89670         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89671         bit_Slow_BSF for Atom.
89672         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89673         (index_Slow_BSF): Define.
89674         (HAS_SLOW_BSF): Define.
89676 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89678         [BZ #10851]
89679         * resolv/res_init.c (__res_vinit): When no server address at all
89680         is given default to loopback.
89682 2010-08-24  Roland McGrath  <roland@redhat.com>
89684         * configure.in: Remove config-name.h generation.
89685         * configure: Regenerated.
89686         * config-name.in: File removed.
89687         * scripts/config-uname.sh: New file.
89688         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89689         ($(objdir)config-name.h): New target.
89691         * sunrpc/rpc_parse.h: Avoid nested comment.
89693 2010-08-24  Richard Henderson  <rth@redhat.com>
89694             Ulrich Drepper  <drepper@redhat.com>
89695             H.J. Lu  <hongjiu.lu@intel.com>
89697         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89699         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89700         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89701         _mm_alignr_epi8 with _mm_loadu_si128.
89702         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89703         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89704         (__m128i_shift_right): Removed.
89705         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89706         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89707         * sysdeps/x86_64/multiarch/varshift.h: New file.
89708         * sysdeps/x86_64/multiarch/varshift.S: New file.
89710 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89712         * configure.in: Move assembler checks to before sysdep dir checking.
89714 2010-08-20  Petr Baudis  <pasky@suse.cz>
89716         * LICENSES: Sync the sunrpc license.
89718 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89720         * sunrpc/auth_des.c: Update copyright notice once again.
89721         * sunrpc/auth_none.c: Likewise.
89722         * sunrpc/auth_unix.c: Likewise.
89723         * sunrpc/authdes_prot.c: Likewise.
89724         * sunrpc/authuxprot.c: Likewise.
89725         * sunrpc/bindrsvprt.c: Likewise.
89726         * sunrpc/clnt_gen.c: Likewise.
89727         * sunrpc/clnt_perr.c: Likewise.
89728         * sunrpc/clnt_raw.c: Likewise.
89729         * sunrpc/clnt_simp.c: Likewise.
89730         * sunrpc/clnt_tcp.c: Likewise.
89731         * sunrpc/clnt_udp.c: Likewise.
89732         * sunrpc/clnt_unix.c: Likewise.
89733         * sunrpc/des_crypt.c: Likewise.
89734         * sunrpc/des_soft.c: Likewise.
89735         * sunrpc/get_myaddr.c: Likewise.
89736         * sunrpc/getrpcport.c: Likewise.
89737         * sunrpc/key_call.c: Likewise.
89738         * sunrpc/key_prot.c: Likewise.
89739         * sunrpc/openchild.c: Likewise.
89740         * sunrpc/pm_getmaps.c: Likewise.
89741         * sunrpc/pm_getport.c: Likewise.
89742         * sunrpc/pmap_clnt.c: Likewise.
89743         * sunrpc/pmap_prot.c: Likewise.
89744         * sunrpc/pmap_prot2.c: Likewise.
89745         * sunrpc/pmap_rmt.c: Likewise.
89746         * sunrpc/rpc/auth.h: Likewise.
89747         * sunrpc/rpc/auth_unix.h: Likewise.
89748         * sunrpc/rpc/clnt.h: Likewise.
89749         * sunrpc/rpc/des_crypt.h: Likewise.
89750         * sunrpc/rpc/key_prot.h: Likewise.
89751         * sunrpc/rpc/netdb.h: Likewise.
89752         * sunrpc/rpc/pmap_clnt.h: Likewise.
89753         * sunrpc/rpc/pmap_prot.h: Likewise.
89754         * sunrpc/rpc/pmap_rmt.h: Likewise.
89755         * sunrpc/rpc/rpc.h: Likewise.
89756         * sunrpc/rpc/rpc_des.h: Likewise.
89757         * sunrpc/rpc/rpc_msg.h: Likewise.
89758         * sunrpc/rpc/svc.h: Likewise.
89759         * sunrpc/rpc/svc_auth.h: Likewise.
89760         * sunrpc/rpc/types.h: Likewise.
89761         * sunrpc/rpc/xdr.h: Likewise.
89762         * sunrpc/rpc_clntout.c: Likewise.
89763         * sunrpc/rpc_cmsg.c: Likewise.
89764         * sunrpc/rpc_common.c: Likewise.
89765         * sunrpc/rpc_cout.c: Likewise.
89766         * sunrpc/rpc_dtable.c: Likewise.
89767         * sunrpc/rpc_hout.c: Likewise.
89768         * sunrpc/rpc_main.c: Likewise.
89769         * sunrpc/rpc_parse.c: Likewise.
89770         * sunrpc/rpc_parse.h: Likewise.
89771         * sunrpc/rpc_prot.c: Likewise.
89772         * sunrpc/rpc_sample.c: Likewise.
89773         * sunrpc/rpc_scan.c: Likewise.
89774         * sunrpc/rpc_scan.h: Likewise.
89775         * sunrpc/rpc_svcout.c: Likewise.
89776         * sunrpc/rpc_tblout.c: Likewise.
89777         * sunrpc/rpc_util.c: Likewise.
89778         * sunrpc/rpc_util.h: Likewise.
89779         * sunrpc/rpcinfo.c: Likewise.
89780         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89781         * sunrpc/rpcsvc/key_prot.x: Likewise.
89782         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89783         * sunrpc/rpcsvc/mount.x: Likewise.
89784         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89785         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89786         * sunrpc/rpcsvc/rex.x: Likewise.
89787         * sunrpc/rpcsvc/rstat.x: Likewise.
89788         * sunrpc/rpcsvc/rusers.x: Likewise.
89789         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89790         * sunrpc/rpcsvc/spray.x: Likewise.
89791         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89792         * sunrpc/rtime.c: Likewise.
89793         * sunrpc/svc.c: Likewise.
89794         * sunrpc/svc_auth.c: Likewise.
89795         * sunrpc/svc_authux.c: Likewise.
89796         * sunrpc/svc_raw.c: Likewise.
89797         * sunrpc/svc_run.c: Likewise.
89798         * sunrpc/svc_simple.c: Likewise.
89799         * sunrpc/svc_tcp.c: Likewise.
89800         * sunrpc/svc_udp.c: Likewise.
89801         * sunrpc/svc_unix.c: Likewise.
89802         * sunrpc/svcauth_des.c: Likewise.
89803         * sunrpc/xcrypt.c: Likewise.
89804         * sunrpc/xdr.c: Likewise.
89805         * sunrpc/xdr_array.c: Likewise.
89806         * sunrpc/xdr_float.c: Likewise.
89807         * sunrpc/xdr_mem.c: Likewise.
89808         * sunrpc/xdr_rec.c: Likewise.
89809         * sunrpc/xdr_ref.c: Likewise.
89810         * sunrpc/xdr_sizeof.c: Likewise.
89811         * sunrpc/xdr_stdio.c: Likewise.
89813         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89814         handling.
89816 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89818         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89820 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89822         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89823         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89824         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89825         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89826         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89827         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89828         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89829         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89830         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89831         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89832         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89833         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89834         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89835         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89837 2010-07-26  Anton Blanchard  <anton@samba.org>
89839         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89840         * malloc/arena.c (heap_trim): Likewise.
89842 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89844         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89845         here.  Not...
89846         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89847         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89849 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89851         * sysdeps/i386/elf/Makefile: New file.
89853 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89855         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89856         from fanotify_init.
89857         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89858         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89860 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89862         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89863         of strncasecmp_l.
89864         * sysdeps/multiarch/strcmp.S: Likewise.
89866 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89868         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89869         strncase_l-nonascii.
89870         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89871         Add strncase_l-ssse3.
89872         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89873         * sysdeps/x86_64/strcmp.S: Likewise.
89874         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89875         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89876         * sysdeps/x86_64/strncase.S: New file.
89877         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89878         * sysdeps/x86_64/strncase_l.S: New file.
89879         * string/Makefile (strop-tests): Add strncasecmp.
89880         * string/test-strncasecmp.c: New file.
89882         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89883         warning.
89885         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89886         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89888 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89890         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89892 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89894         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89895         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89896         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89898 2010-05-01  Alan Modra  <amodra@gmail.com>
89900         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89901         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89902         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89903         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89904         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89905         tidying.  Don't tail-call __sigjmp_save for static lib.
89906         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89907         save location.
89908         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89909         (CALL_MCOUNT): Add eh info, and nop after bl.
89910         (TAIL_CALL_SYSCALL_ERROR): New macro.
89911         (PSEUDO_RET): Use it.
89912         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89913         Correct save location of integer regs and cr.
89914         (_dl_profile_resolve): Correct cr save location.  Delete nops
89915         after bl when SHARED.  Reduce cfi size a little by better
89916         placement of cfi directives.
89917         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89918         make a stack frame.  Instead use parm save area as a temp.
89919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89920         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89922         Don't make a stack frame for parent, use parm save area.
89923         Increase child stack frame to 112 bytes.  Don't save unused reg,
89924         and adjust reg usage.  Set up cfi on error recovery and
89925         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89927         (__makecontext): Add dummy nop after jump to exit.
89928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89929         Use correct parm save area and cr save, reduce stack frame.
89930         Correct cfi for possible PSEUDO_RET frame setup.
89931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89932         Branch to local label emitted by PSEUDO_RET rather than
89933         __syscall_error.
89935 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89937         [BZ #11904]
89938         * locale/programs/locale.c (print_assignment): New function.
89939         (show_locale_vars): Use it.
89941 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89943         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89944         field.
89945         (struct statfs64): Likewise.
89946         (_STATFS_F_FLAGS): Define.
89947         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89948         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89949         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89950         (ST_VALID): Define locally.
89951         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89952         __statvfs_getflags, use the provided value.
89953         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89954         __ASSUME_STATFS_F_FLAGS.
89956         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89958         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89959         Add sys/fanotify.h.
89960         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89961         fanotify_mask for GLIBC_2.13.
89962         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89963         fanotify_init and fanotify_mark.
89964         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89965         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89967         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89968         Add prlimit.
89969         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89970         prlimit64 for GLIBC_2.13.
89971         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89972         prlimit64.
89973         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89974         syscall.
89975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89976         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89977         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89978         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89979         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89980         add prlimit alias.
89981         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89983         [BZ #11903]
89984         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89985         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89987         * nss/Makefile: Add rules to build and run tst-nss-test1.
89988         * shlib-versions: Add entry for libnss_test1.
89989         * nss/nss_test1.c: New file.
89990         * nss/tst-nss-test1.c: New file.
89992         * nss/nsswitch.c (__nss_database_custom): Define new variable.
89993         (__nss_configure_lookup): Set appropriate entry in
89994         __nss_configure_lookup to true.
89995         * nss/nsswitch.h: Define enum with indeces of databases in
89996         databases and __nss_database_custom arrays.  Declare
89997         __nss_database_custom.
89998         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
89999         to avoid using nscd when custom rules are installed.
90000         * nss/getXXbyYY_r.c: Likewise.
90001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90003         * nss/nss_files/files-parse.c: Whitespace fixes.
90005 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90007         [BZ #11883]
90008         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90009         * posix/fnmatch_loop.c: Likewise.
90011 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90013         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90014         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90015         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90016         * Versions.def [GLIBC_2.13]: Add.
90018 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90020         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90021         Also fail if tpwd after pwuid call is NULL.
90023 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90025         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90026         when converting to ms.
90028 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90030         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90031         EOPNOTSUPP errors with ENOTTY.
90032         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90033         EOPNOTSUPP errors with ENOTTY.
90035 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90037         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90038         Add strcasecmp_l-ssse3.
90039         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90040         strcasecmp.
90041         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90042         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90043         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90045 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90047         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90049         * string/Makefile (strop-tests): Add strcasecmp.
90050         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90051         strcasecmp_l-nonascii.
90052         (gen-as-const-headers): Add locale-defines.sym.
90053         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90054         * sysdeps/x86_64/strcasecmp.S: New file.
90055         * sysdeps/x86_64/strcasecmp_l.S: New file.
90056         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90057         * sysdeps/x86_64/locale-defines.sym: New file.
90058         * string/test-strcasecmp.c: New file.
90060         * string/test-strcasestr.c: Test both ends of the range of characters.
90061         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90063 2010-07-29  Roland McGrath  <roland@redhat.com>
90065         [BZ #11856]
90066         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90068 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90070         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90071         for ld.so.
90073 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90075         * manual/memory.texi (Malloc Tunable Parameters): Document
90076         M_PERTURB.
90078 2010-07-26  Roland McGrath  <roland@redhat.com>
90080         [BZ #11840]
90081         * configure.in (-fgnu89-inline check): Set and substitute
90082         gnu89_inline, not libc_cv_gnu89_inline.
90083         * configure: Regenerated.
90084         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90086 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90088         * string/test-strnlen.c: New file.
90089         * string/Makefile (strop-tests): Add strnlen.
90090         * string/tester.c (test_strnlen): Add a few more test cases.
90091         * string/tst-strlen.c: Better error reporting.
90093         * sysdeps/x86_64/strnlen.S: New file.
90095 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90097         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90098         lower-latency instructions.
90100 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90102         * string/test-strcasestr.c: New file.
90103         * string/test-strstr.c: New file.
90104         * string/Makefile (strop-tests): Add strstr and strcasestr.
90105         * string/str-two-way.h: Don't undefine MAX.
90106         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90108 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90110         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90111         strcasestr-nonascii.
90112         (CFLAGS-strcasestr-nonascii.c): Define.
90113         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90114         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90115         Remove unused attribute.
90117 2010-07-20  Roland McGrath  <roland@redhat.com>
90119         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90120         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90121         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90122         like LD_HWCAP_MASK can disable hwcaps.
90124 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90126         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90128 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90130         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90131         call in strcasestr.
90132         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90133         __strcasestr_sse42_nonascii.
90134         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90135         strcasestr-nonascii.c.
90136         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90138 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90140         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90141         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90142         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90143         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90145 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90147         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90148         fcntl.
90150 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90152         [BZ #11577]
90153         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90154         dl_signal_cerror.
90156 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90158         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90159         _PC_PIPE_BUF using F_GETPIPE_SZ.
90161 2010-07-05  Roland McGrath  <roland@redhat.com>
90163         * manual/arith.texi (Rounding Functions): Fix rint description
90164         implicit in round description.
90166 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90168         * elf/Makefile: Fix linking for a few tests to make recent linker
90169         happy.
90171 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90173         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90174         $(common-objpfx)libc_nonshared.a.
90176 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90178         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90179         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90180         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90181         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90182         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90183         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90184         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90185         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90200         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90201         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90202         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90203         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90204         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90205         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90206         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90207         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90208         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90209         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90210         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90211         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90227 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90229         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90230         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90231         * string/memmove.c (memmove): Renamed to ...
90232         (MEMMOVE): ...this.  Default to memmove.
90233         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90234         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90235         (END_CHK): Define.
90236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90237         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90238         mempcpy-ssse3-back memmove-ssse3-back.
90239         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90240         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90241         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90242         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90243         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90244         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90245         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90246         * sysdeps/x86_64/multiarch/memmove.c: New file.
90247         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90248         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90249         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90250         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90251         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90252         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90253         Define.
90254         (index_Fast_Copy_Backward): Define.
90255         (HAS_ARCH_FEATURE): Define.
90256         (HAS_FAST_REP_STRING): Define.
90257         (HAS_FAST_COPY_BACKWARD): Define.
90259 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90261         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90262         Restore proper fallback handling.
90264 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90266         [BZ #11701]
90267         * posix/group_member.c (__group_member): Correct checking loop.
90269         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90270         OOM in getpwuid_r correctly.  Return error number when the caller
90271         should return, otherwise -1.
90272         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90273         call returning > 0 value.
90274         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90276 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90278         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90279         libc_nonshared.a from targets in modules-names.
90281 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90283         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90284         requires it.
90286 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90288         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90289         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90290         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90291         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90293 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90295         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90297 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90299         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90300         and F_GETPIPE_SZ.
90301         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90302         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90303         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90305         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90306         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90308 2010-06-14  Roland McGrath  <roland@redhat.com>
90310         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90312 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90314         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90315         __REDIRECT followed by __THROW.
90316         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90317         * posix/getopt.h (getopt): Likewise.
90319 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90321         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90322         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90323         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90324         in AT_FLAGS.
90325         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90326         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90328 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90330         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90332 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90334         [BZ #11640]
90335         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90336         Properly check family and model.
90338 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90340         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90342 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90344         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90346 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90348         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90349         symbol reference.
90351 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90353         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90354         symbol reference.
90356 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90358         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90359         and internal_recvmmsg.
90360         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90361         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90362         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90363         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90365         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90366         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90367         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90369 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90371         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90373 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90375         POWER7 optimizations.
90376         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90377         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90379 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90381         * version.h: Update for 2.13 development version.
90383 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90385         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90386         exceptions.  Return 0.
90388 2010-05-07  Roland McGrath  <roland@redhat.com>
90390         * elf/ldconfig.c (main): Add a const.
90392 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90394         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90395         (args_options): Add no-idn option.
90396         (ahosts_keys_int): Add idn_flags to ai_flags.
90397         (parse_option): Handle 'i' option to clear idn_flags.
90399         * malloc/malloc.c (_int_free): Possible race in the most recently
90400         added check.  Only act on the data if no current modification
90401         happened.
90403 See ChangeLog.17 for earlier changes.