Tweak realloc/MREMAP comment to be more accurate.
[glibc.git] / ChangeLog
blobad8e78ef7b8a64b7a2f7060fc6e0e8e99ed8d07c
1 2017-05-03  DJ Delorie  <dj@redhat.com>
3         [BZ #21411]
4         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
6 2017-05-03  Phil Blundell  <pb@pbcl.net>
8         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
9         comments.
11 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
13         [BZ #20116]
14         * nptl/pthread_create.c: Expand comments to describe
15         semaphore-like and mutex-like uses of PD->lock.
17 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
20         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
21         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
22         auto-generation list.
23         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
24         epoll_wait.
25         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
26         Remove epoll_wait.
28         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
29         osf_select.
30         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
31         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
32         osf_select from auto-generation list.
33         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
35         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
36         * sysdeps/unix/sysv/linux/select.c: New file.
38         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
39         * sysdeps/unix/sysv/linux/poll.c: New file.
40         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
41         auto-generation list.
43 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
45         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
46         New macro.
48 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
50         [BZ #21179]
51         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
52         R_SPARC_REGISTER relocations.
54 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
56         * include/unistd.h (__pread): Add libc_hidden_proto.
57         (__pread64): Likewise.
58         (__pwrite): Likewise.
59         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
60         (__pread64): Remove.
61         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
62         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
63         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
65 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
71         * nptl/tst-cancel4-common.c: Use libsupport.
72         * nptl/tst-cancel4-common.h: Likewise.
73         * nptl/tst-cancel4.c (tf_read): Likewise.
74         (tf_readv): Likewise.
75         (tf_write): Likewise.
76         (tf_writev): Likewise.
77         (tf_sleep): Likewise.
78         (tf_usleep): Likewise.
79         (tf_nanosleep): Likewise.
80         (tf_select): Likewise.
81         (tf_pselect): Likewise.
82         (tf_poll): Likewise.
83         (tf_ppoll): Likewise.
84         (tf_wait): Likewise.
85         (tf_waitpid): Likewise.
86         (tf_waitid): Likewise.
87         (tf_sigpause): Likewise.
88         (tf_sigsuspend): Likewise.
89         (tf_sigwait): Likewise.
90         (tf_sigwaitinfo): Likewise.
91         (tf_sigtimedwait): Likewise.
92         (tf_pause): Likewise.
93         (tf_accept): Likewise.
94         (tf_send): Likewise.
95         (tf_recv): Likewise.
96         (tf_recvfrom): Likewise.
97         (tf_recvmsg): Likewise.
98         (tf_open): Likewise.
99         (tf_close): Likewise.
100         (tf_pread): Likewise.
101         (tf_pwrite): Likewise.
102         (tf_preadv): Likewise.
103         (tf_pwritev): Likewise.
104         (tf_fsync): Likewise.
105         (tf_fdatasync): Likewise.
106         (tf_msync): Likewise.
107         (tf_sendto): Likewise.
108         (tf_sendmsg): Likewise.
109         (tf_creat): Likewise.
110         (tf_connect): Likewise.
111         (tf_tcdrain): Likewise.
112         (tf_msgrcv): Likewise.
113         (tf_msgsnd): Likewise.
114         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
115         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
117         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
118         expected arguments.
119         (do_test): Adapt to use libsupport.
121 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
123         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
125         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
126         (PF_MAX): Set to 44.
127         (AF_SMC): New macro.
129         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
130         kernel version to 4.11.
132 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
134         [BZ #21280]
135         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
136         signal of subnormals and adjust the exponent of power of 2 down
137         when low part has opposite sign.
139 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
141         * sysdeps/powerpc/powerpc64le/Implies: New file.
142         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
143         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
144         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
145         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
146         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
147         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
148         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
149         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
150         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
151         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
152         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
153         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
154         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
155         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
156         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
157         * sysdeps/powerpc/preconfigure: New file.
158         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
159         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
161 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
163         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
164         inclusion.
165         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
166         Remove.
168 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
170         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
171         (XPG3): Rename standard to XPG4.
172         * conform/Makefile: Likewise.
173         * conform/list-header-symbols.pl: Likewise.
174         * conform/data/aio.h-data: Likewise.
175         * conform/data/arpa/inet.h-data: Likewise.
176         * conform/data/complex.h-data: Likewise.
177         * conform/data/ctype.h-data: Likewise.
178         * conform/data/dlfcn.h-data: Likewise.
179         * conform/data/fcntl.h-data: Likewise.
180         * conform/data/fenv.h-data: Likewise.
181         * conform/data/float.h-data: Likewise.
182         * conform/data/fmtmsg.h-data: Likewise.
183         * conform/data/ftw.h-data: Likewise.
184         * conform/data/grp.h-data: Likewise.
185         * conform/data/inttypes.h-data: Likewise.
186         * conform/data/iso646.h-data: Likewise.
187         * conform/data/langinfo.h-data: Likewise.
188         * conform/data/libgen.h-data: Likewise.
189         * conform/data/limits.h-data: Likewise.
190         * conform/data/locale.h-data: Likewise.
191         * conform/data/math.h-data: Likewise.
192         * conform/data/mqueue.h-data: Likewise.
193         * conform/data/ndbm.h-data: Likewise.
194         * conform/data/net/if.h-data: Likewise.
195         * conform/data/netdb.h-data: Likewise.
196         * conform/data/netinet/in.h-data: Likewise.
197         * conform/data/poll.h-data: Likewise.
198         * conform/data/pthread.h-data: Likewise.
199         * conform/data/pwd.h-data: Likewise.
200         * conform/data/sched.h-data: Likewise.
201         * conform/data/search.h-data: Likewise.
202         * conform/data/semaphore.h-data: Likewise.
203         * conform/data/signal.h-data: Likewise.
204         * conform/data/spawn.h-data: Likewise.
205         * conform/data/stdbool.h-data: Likewise.
206         * conform/data/stdint.h-data: Likewise.
207         * conform/data/stdio.h-data: Likewise.
208         * conform/data/stdlib.h-data: Likewise.
209         * conform/data/string.h-data: Likewise.
210         * conform/data/strings.h-data: Likewise.
211         * conform/data/stropts.h-data: Likewise.
212         * conform/data/sys/mman.h-data: Likewise.
213         * conform/data/sys/resource.h-data: Likewise.
214         * conform/data/sys/select.h-data: Likewise.
215         * conform/data/sys/socket.h-data: Likewise.
216         * conform/data/sys/stat.h-data: Likewise.
217         * conform/data/sys/statvfs.h-data: Likewise.
218         * conform/data/sys/time.h-data: Likewise.
219         * conform/data/sys/timeb.h-data: Likewise.
220         * conform/data/sys/types.h-data: Likewise.
221         * conform/data/sys/uio.h-data: Likewise.
222         * conform/data/sys/un.h-data: Likewise.
223         * conform/data/sys/wait.h-data: Likewise.
224         * conform/data/syslog.h-data: Likewise.
225         * conform/data/termios.h-data: Likewise.
226         * conform/data/tgmath.h-data: Likewise.
227         * conform/data/time.h-data: Likewise.
228         * conform/data/ucontext.h-data: Likewise.
229         * conform/data/unistd.h-data: Likewise.
230         * conform/data/utmpx.h-data: Likewise.
231         * conform/data/varargs.h-data: Likewise.
232         * conform/data/wchar.h-data: Likewise.
233         * conform/data/wctype.h-data: Likewise.
235 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
237         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
238         version to 7 branch.
240 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
242         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
243         earlyclobber to output operand of sqrt insn.
244         (__ieee754_sqrtf): Ditto.
246 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
248         [BZ #21426]
249         * misc/bits/types/struct_iovec.h: New file.
250         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
251         * include/bits/types/struct_iovec.h: New file.
252         * bits/uio.h (struct iovec): Replace by inclusion of
253         <bits/types/struct_iovec.h>.
254         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
255         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
256         of <sys/uio.h>.
257         * nptl/tst-cancel4.c: Include <sys/uio.h>
258         * posix/test-errno.c: Likewise.
259         * support/resolv_test.c: Likewise.
260         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
261         Remove.
262         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
263         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
264         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
266         * conform/data/sys/socket.h-data (*_t): Allow.
268 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
270         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
271         assignment.
273 2017-04-24  Daurnimator  <quae@daurnimator.com>
274             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
276         [BZ #21340]
277         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
278         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
279         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
280         valid flags.
281         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
282         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
283         POSIX_SPAWN_SETSID.
284         * sysdeps/posix/spawni.c (__spawni): Likewise.
285         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
286         * NEWS: Add note about POSIX_SPAWN_SETSID support.
288 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
290         * sysdeps/generic/math_private.h: Move the declaration of many
291         functions to sysdeps/generic/math_private_calls.h.
292         * sysdeps/generic/math_private_calls.h: New file with the
293         declarations of the functions removed from math_private.h
294         macroized by floating-point type.
296 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
298         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
299         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
300         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
301         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
302         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
303         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
305 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
307         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
308         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
309         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
310         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
311         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
312         New Define.
314 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
316         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
317         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
318         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
319         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
320         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
321         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
323 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
325         * sysdeps/s390/multiarch/ifunc-resolve.h
326         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
327         * sysdeps/s390/multiarch/8bit-generic.c
328         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
329         define ifunc resolvers.
331 2017-04-21  Florian Weimer  <fweimer@redhat.com>
333         [BZ #20424]
334         * manual/memory.texi (Replacing malloc): New section.
335         (Allocating Storage For Program Data): Reference it.
336         (The GNU Allocator): Likewise.
338 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
340         * stdlib/Versions (__strtod_internal): List explicitly, not as
341         wildcard.
342         (__strtof_internal): Likewise.
343         (__strtold_internal): Likewise.
344         (__strtol_internal): Likewise.
345         (__strtoll_internal): Likewise.
346         (__strtoul_internal): Likewise.
347         (__strtoull_internal): Likewise.
348         (__strtoq_internal): Likewise.
349         (__strtouq_internal): Likewise.
350         * wcsmbs/Versions (__wcstod_internal): Likewise.
351         (__wcstof_internal): Likewise.
352         (__wcstold_internal): Likewise.
353         (__wcstol_internal): Likewise.
354         (__wcstoll_internal): Likewise.
355         (__wcstoul_internal): Likewise.
356         (__wcstoull_internal): Likewise.
358 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
360         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
361         struct timespec definition.
363 2017-04-19  Florian Weimer  <fweimer@redhat.com>
365         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
367 2017-04-19  Florian Weimer  <fweimer@redhat.com>
369         * inet/rcmd.c (rresvport_af): Fix typo in comment.
370         * inet/rexec.c (rexec_af): Likewise.
372 2017-04-19  Zack Weinberg  <zackw@panix.com>
374         * posix/tst-mmap-offset.c: Include stdint.h.
375         * resolv/tst-ns_name_compress.c: Include string.h.
376         * resolv/tst-resolv-edns.c: Include resolv.h.
378 2017-04-19  Florian Weimer  <fweimer@redhat.com>
380         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
381         with __glibc_likely.
382         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
383         Replace __builtin_expect with __glibc_unlikely.
384         * resolv/res_init.c (__res_vinit): Likewise.
385         * resolv/res_query.c (__libc_res_nquery): Likewise.
386         * resolv/res_send.c (__libc_res_nsend): Likewise.
388 2017-04-19  Florian Weimer  <fweimer@redhat.com>
390         [BZ #15722]
391         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
392         with SOCK_CLOEXEC.
393         * resolv/res_send.c (send_vc, reopen): Likewise.
394         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
395         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
396         Likewise.
397         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
398         * inet/rexec.c (rexec_af): Add comment.
399         * inet/rcmd.c (rresvport_af): Likewise.
401 2017-04-19  Florian Weimer  <fweimer@redhat.com>
403         * nscd/connections.c (have_accept4): Removed definition.
404         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
405         accept4 works.
406         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
407         ia64 because that was the first version with accept4 support.
408         * support/Makefile (libsupport-routines): Add xaccept4.
409         * support/xsocket.h (xaccept4): Declare.
410         * support/xaccept4.c: New file.
411         * socket/tst-accept4.c: New file.
412         * socket/Makefile (tests): Add tst-accept4.
413         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
414         definition.
415         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
416         comment.
417         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
418         implementation is available.
419         (accept4): Use the system call if available, otherwise use the
420         socket call.
421         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
422         Set to 3.2.18.
423         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
424         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
425         accept4 is unconditionally available in later 3.2 stable kernels.
426         (__ASSUME_ACCEPT4_SYSCALL): Define.
427         * sysdeps/unix/sysv/linux/kernel-features.h
428         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
429         definitions.
430         * sysdeps/unix/sysv/linux/i386/kernel-features.h
431         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
433 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
435         * conform/Makefile (tests-special): Do not make addition of
436         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
437         (generated): Do not make addition of $(conformtest-header-base)
438         conditional on [$(cross-compiling) = no].
440         [BZ #21267]
441         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
442         if defined by <asm/socket.h> and not previously defined.
443         (IOCSIZE_SHIFT): Likewise.
444         (IOC_IN): Likewise.
445         (IOC_INOUT): Likewise.
446         (IOC_OUT): Likewise.
448 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
450         [BZ #21396]
451         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
452         Prefer_No_AVX512 if AVX512ER isn't available.
453         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
454         (index_arch_Prefer_No_AVX512): Likewise.
455         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
456         AVX512 version if Prefer_No_AVX512 is set.
457         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
458         Likewise.
459         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
460         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
461         Likewise.
462         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
463         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
464         Likewise.
465         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
466         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
467         Likewise.
469 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
471         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
472         Prefer_No_VZEROUPPER if AVX512ER is available.
473         * sysdeps/x86/cpu-features.h
474         (bit_cpu_AVX512PF): New.
475         (bit_cpu_AVX512ER): Likewise.
476         (bit_cpu_AVX512CD): Likewise.
477         (bit_cpu_AVX512BW): Likewise.
478         (bit_cpu_AVX512VL): Likewise.
479         (index_cpu_AVX512PF): Likewise.
480         (index_cpu_AVX512ER): Likewise.
481         (index_cpu_AVX512CD): Likewise.
482         (index_cpu_AVX512BW): Likewise.
483         (index_cpu_AVX512VL): Likewise.
484         (reg_AVX512PF): Likewise.
485         (reg_AVX512ER): Likewise.
486         (reg_AVX512CD): Likewise.
487         (reg_AVX512BW): Likewise.
488         (reg_AVX512VL): Likewise.
490 2017-04-18  Florian Weimer  <fweimer@redhat.com>
492         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
493         O_CLOEXEC is defined.
494         * include/fcntl.h (__have_o_cloexec): Remove declaration.
495         * io/Makefile (aux): Remove.
496         * io/have_o_cloexec.c: Remove file.
497         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
498         defined and works.
499         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
500         defined.
501         * login/utmp_file.c (O_flags): Remove definition.
502         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
503         O_CLOEXEC works.
504         (pututline_file): Likewise.
505         * malloc/mtrace.c: Assume that O_CLOEXEC works.
506         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
507         definition.
508         (internal_setgrent): Assume that O_CLOEXEC works.
509         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
510         Remove definition.
511         (internal_setgrent): Assume that O_CLOEXEC works.
512         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
513         definition.
514         (internal_setpwent): Assume that O_CLOEXEC works.
515         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
516         definition.
517         (internal_setspent): Assume that O_CLOEXEC works.
518         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
519         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
520         O_CLOEXEC is defined and works.
521         * nss/Makefile (libnss_files-routines): Remove
522         files-have_o_cloexec.
523         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
524         defined.
525         * nss/nss_files/files-XXX.c (internal_setent): Assume that
526         O_CLOEXEC is defined and works.
527         * nss/nss_files/files-alias.c (internal_setent): Likewise.
528         * nss/nss_files/files-have_o_cloexec.c: Remove.
529         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
530         defined.
531         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
532         and works.
533         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
534         definition.
535         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
536         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
537         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
538         (__opendirat, __opendir): Adjust opendir_oflags call.
539         (check_have_o_cloexec): Remove.
540         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
541         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
542         defined.
543         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
544         Remove definition.
546 2017-04-18  Florian Weimer  <fweimer@redhat.com>
548         * include/unistd.h (__have_dup3): Remove declaration.
549         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
550         dup3 is available.
551         * libio/freopen64.c (freopen64): Likewise.
552         * socket/Makefile (aux): Remove have_sock_cloexec.
553         * socket/have_sock_cloexec.c: Remove file.
554         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
555         definition.
556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
557         Likewise.
558         * sysdeps/nacl/kernel-features.h: Update comment.
560 2017-04-18  Florian Weimer  <fweimer@redhat.com>
562         * include/unistd.h (__have_pipe2): Remove declaration.
563         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
564         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
565         available.
566         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
567         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
568         Remove definition.
570 2017-04-18  Florian Weimer  <fweimer@redhat.com>
572         * malloc/malloc.c (cfree): Turn into compat symbol.
573         (__cfree): Remove alias.
574         * stdlib/stdlib.h (cfree): Remove declaration.
575         * malloc/malloc.h (cfree): Likewise.
576         * manual/memory.texi (Freeing after Malloc): Remove cfree.
577         * malloc/Versions (GLIBC_2.26): Add.
579 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
581         * sysdeps/powerpc/powerpc64/multiarch/Makefile
582         (sysdep_routines): Add strrchr-power8.
583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
584         (strrchr): Add __strrchr_power8 to list of strrchr functions.
585         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
586         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
587         (strrchr): Add __strrchr_power8 to ifunc list.
588         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
590 2017-04-17  Rabin Vincent  <rabinv@axis.com>
592         [BZ #21357]
593         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
594         Call free() outside of mutex.
596 2017-04-13  Florian Weimer  <fweimer@redhat.com>
598         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
599         is defined.
600         * elf/rtld.c (process_envvars): Likewise.
601         * sysdeps/posix/shm_open.c (shm_open): Likewise.
602         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
603         O_NOFOLLOW directly.
604         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
606 2017-04-13  Florian Weimer  <fweimer@redhat.com>
608         [BZ #21369]
609         Remove EDNS fallback.
610         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
611         handling.
612         * resolv/res_send.c (send_dg): Likewise.
613         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
614         "tcp." prefixes.
615         (do_test): Send a "formerr."-prefixed query in an attempt to
616         trigger EDNS fallback.
618 2017-04-13  Florian Weimer  <fweimer@redhat.com>
620         [BZ #21361]
621         Limit EDNS buffer size to 1200 bytes.
622         * include/resolv.h (__res_nopt): Remove declaration.
623         * resolv/Makefile (tests): tst-resolv-edns.
624         (tst-resolv-edns): Link with -lresolv, -lpthread.
625         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
626         interval [512, 1200].
627         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
628         we can resize the buffer.
629         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
630         (__res_nopt): Declare.
631         * resolv/tst-resolv-edns.c: New file.
632         * resolv/resolv_test.h (struct resolv_edns_info): Define.
633         (struct resolv_response_context): Add edns member.
634         * resolv/resolv_test.c (struct query_info): Add edns member.
635         (parse_query): Extract EDNS information from the query.
636         (server_thread_udp_process_one): Propagate EDNS data.
637         (server_thread_tcp_client): Likewise.
639 2017-04-13  Florian Weimer  <fweimer@redhat.com>
641         [BZ #21359]
642         * resolv/ns_name.c (ns_name_pack): Do not require an additional
643         byte in the destination buffer.  Avoid out-of-bounds pointer
644         arithmetic.
645         * resolv/Makefile (tests): Add tst-ns_name_compress.
646         (tst-ns_name_compress): Link with -lresolv.
647         * resolv/tst-ns_name_compress.c: New file.
648         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
649         (response): Recognize LONG_NAME.
650         (do_test): Add LONG_NAME tests.
651         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
652         for ns_name_unpack.  Add tests for ns_name_pton and
653         ns_name_compress.
655 2017-04-13  Florian Weimer  <fweimer@redhat.com>
657         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
658         (res_nisourserver): Remove definition.
659         (p_section, res_npquery, res_nisourserver): Remove declaration.
660         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
661         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
662         ... here.
663         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
664         <resolv.h>.
665         * resolv/res_query.c: Likewise.
666         * resolv/res_debug.c (p_section): Define as static.
668 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
670         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
671         strncat-power8.
672         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
673         __strncat_power8 to ifunc list.
674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
675         (strncat): Add __strncat_power8 to list of strncat functions.
676         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
678 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
680         [BZ #21270]
681         * posix/tst-mmap-offset.c (do_prepare): New function.
682         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
683         (do_test_bz21270): New function.
684         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
685         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
686         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
687         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
688         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
689         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
690         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
691         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
692         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
693         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
694         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
695         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
696         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
697         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
698         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
699         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
700         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
701         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
702         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
703         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
704         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
705         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
706         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
707         from auto-generation list.
708         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
709         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
710         * sysdeps/unix/sysv/linux/mmap.c: New file.
711         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
712         offsets and support for mmap2 syscall.
714         * posix/globtest.sh: Add cleanup routine on trap 0.
716 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
718         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
719         implementation-specific function name and remove unneeded
720         macros definition.
721         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
722         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
723         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
724         name if not defined and pass as parameter to macros accordingly.
725         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
726         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
728         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
729         implementation-specific function name and remove unneeded
730         macros definition.
731         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
732         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
733         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
734         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
735         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
736         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
737         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
738         name if not defined and pass as parameter to macros accordingly.
739         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
740         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
741         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
742         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
743         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
744         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
746         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
747         implementation-specific function name and remove unneeded macros
748         definition.
749         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
750         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
751         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
752         function name if not defined and pass as parameter to macros
753         accordingly.
754         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
755         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
757         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
758         implementation-specific function name and remove unneeded macros
759         definition.
760         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
761         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
762         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
763         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
764         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
765         not defined and pass as parameter to macros accordingly.
766         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
767         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
768         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
769         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
771         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
772         strcasestr implementation name and remove unneeded macros definition.
773         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
774         strstr implementation name and remove unneeded macros definition.
775         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
776         name if not defined and pass as parameter to macros accordingly.
777         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
779         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
780         implementation-specific function name and remove unneeded macros
781         definition.
782         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
783         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
784         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
785         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
786         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
787         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
788         function name if not defined and pass as parameter to macros
789         accordingly.
790         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
791         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
792         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
793         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
795         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
796         the strlen implementation name and remove unneeded macros definition.
797         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
798         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
799         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
800         the strnlen implementation name and remove unneeded macros definition.
801         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
802         name if not defined and pass as parameter to macros accordingly.
803         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
804         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
805         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
807         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
808         the implementation-specific function name and remove unneeded
809         macros definition.
810         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
811         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
812         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
813         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
814         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
815         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
816         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
817         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
818         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
819         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
820         name if not defined and pass as parameter to macros accordingly.
821         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
822         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
823         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
824         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
825         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
826         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
827         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
828         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
830         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
831         implementation-specific function name and remove unneeded macros
832         definition.
833         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
834         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
835         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
836         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
837         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
838         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
839         function name if not defined.
840         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
841         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
843 2017-04-11  Paul Clarke  <pc@us.ibm.com>
845         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
846         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
847         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
848         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
850 2017-04-11  Florian Weimer  <fweimer@redhat.com>
851             Zack Weinberg  <zackw@panix.com>
853         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
854         readdir64 as thread-safe.  Update warning about readdir_r.
856 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
858         * sysdeps/unix/sysv/linux/x86/Implies: New file.
859         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
860         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
861         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
862         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
863         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
864         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
866 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
868         * sysdeps/i386/dl-procinfo.c: Include
869         <sysdeps/x86/dl-procinfo.c>.
870         * sysdeps/x86_64/dl-procinfo.c: Likewise.
871         * sysdeps/x86/dl-procinfo.c: New file.
873 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
875         * sysdeps/generic/math_private.h: Remove declarations of
876         many functions that are already declared in math.h.
877         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
878         declaration for __frexpl.
879         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
880         the declarations for __scalbnl and fabsl.
882 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
884         [BZ #20831]
885         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
886         of __mprotect to change protection on the excess portion
887         to disallow all access.
889 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
891         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
892         HAS_CPU_FEATURE to check for SSE.
893         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
894         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
895         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
896         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
897         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
898         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
899         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
900         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
901         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
902         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
903         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
904         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
905         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
906         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
907         (index_cpu_SSE): Likewise.
908         (reg_SSE): Likewise.
910 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
912         * posix/getopt1.c: Include <config.h>, not "config.h".
914 2017-04-07  Zack Weinberg  <zackw@panix.com>
916         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
917         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
918         Mention in top-of-file boilerplate that these files are shared
919         with gnulib.
920         * posix/getopt.h, posix/bits/getopt_posix.h:
921         Mention in top-of-file boilerplate that these files are NOT shared
922         with gnulib, unlike the rest of the getopt implementation.
924         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
925         New files, intended to be shared with gnulib.
926         * posix/bits/getopt_posix.h:
927         New file, not intended to be shared with gnulib.
928         * posix/getopt.h: Now just includes features.h,
929         bits/getopt_core.h, and bits/getopt_ext.h.  Will
930         no longer be shared with gnulib.
931         * include/bits/getopt_core.h, include/bits/getopt_ext.h
932         * include/bits/getopt_posix.h: New wrappers.
933         * posix/Makefile: Install new headers.
934         * posix/unistd.h, libio/stdio.h:
935         Include bits/getopt_posix.h instead of getopt.h.
937         * include/libc-symbols.h: For gnulib compatibility, define
938         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
939         _GL_ATTRIBUTE_CONST.
940         * posix/getopt.c (_getopt_initialize): Mark argc and argv
941         parameters with _GL_UNUSED.
943         * posix/getopt.c: When used standalone, define __libc_use_alloca
944         as always false and alloca to abort if called.
945         (process_long_option): Rewrite handling of ambiguous long options
946         to use a single boolean vector, not a linked list; use
947         __libc_use_alloca to decide whether to allocate this using alloca.
948         * posix/tst-getopt_long1.c: Adjust text of expected error message.
950         * posix/getopt.c (process_long_option): New function split out
951         from _getopt_internal_r.
952         (_getopt_internal_r): Replace both copies of the long-option
953         processing code with calls to process_long_option.
954         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
955         (do_test): Differentiate argv[0] in the two subtests.
957         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
958         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
959         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
961         * posix/getopt.h: Add backup definition of __nonnull for
962         consistency with gnulib.  Define __getopt_argv_const to const
963         if not already defined.
964         (getopt): Update doc comment from gnulib.  Prototype
965         unconditionally.  Add __nonnull annotation.
966         (__posix_getopt): Add __nonnull annotation.
967         (getopt_long, getopt_long_only): Use __getopt_argv_const in
968         prototypes for consistency with gnulib.  Add __nonnull
969         annotations.
970         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
971         (getopt_internal): Change 'argv' argument to type 'char **'.
972         Remove now-unnecessary casts.
973         (getopt, __posix_getopt): Eliminate repetition with a macro.
974         Cast 'argv' to 'char **' when calling _getopt_internal.
975         * posix/getopt1.c (getopt_long, getopt_long_only):
976         Use __getopt_argv_const for consistency with gnulib.
977         Cast 'argv' to 'char **' when calling _getopt_internal.
978         (_getopt_long_r, _getopt_long_only_r):
979         Change 'argv' argument to type 'char **'.
980         (main): Constify 'long_options'.
981         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
982         (_getopt_long_r, _getopt_long_only_r):
983         Change 'argv' argument to type 'char **'.
985         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
986         (locked_vfxprintf): New helper function. Handle arbitrary
987         multibyte strings, not just ASCII.
988         * include/stdio.h: Declare __fxprintf_nocancel.
989         * posix/getopt.c: When _LIBC is defined, define fprintf to
990         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
991         to _IO_funlockfile.  When neither _LIBC nor
992         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
993         funlockfile as no-ops.
994         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
995         the standalone error-printing code can now be used for libc as
996         well.  Add an flockfile/funlockfile pair around one case where
997         the error message is printed in several chunks.  Don't use fputc.
998         * posix/tst-getopt-cancel.c: New test.
999         * posix/Makefile: Run it.
1001         * posix/getopt.c (_getopt_internal_r): Don't increment
1002         d->optind a second time when reporting ambiguous -W options.
1004         * posix/getopt_int.h: Include getopt.h.
1005         Use impl-namespace names for all arguments to _getopt_internal and
1006         _getopt_internal_r.
1007         Declare __ordering enum outside the struct.
1008         Harmonize comments with gnulib.
1009         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
1010         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
1011         #ifdef TEST block and make unconditional.  Do not define NULL.
1012         * posix/getopt.c: Partial merge from gnulib, covering the
1013         initial includes and global declarations, commentary, and
1014         a couple of semantically-neutral code changes.
1016         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
1017         Use '...' instead of `...' for quotation marks inside
1018         comments and strings.
1020         * config.h.in (USE_NONOPTION_FLAGS): Remove.
1021         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
1022         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1023         * posix/getopt_int.h: Likewise.
1024         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
1025         __libc_argc and __libc_argv externs, which were only used by
1026         #ifdef USE_NONOPTION_FLAGS blocks.
1027         * posix/getopt_init.c: Remove file.
1028         * posix/Makefile (routines): Remove getopt_init.
1029         * include/getopt.h: Don't declare __getopt_initialize_environment.
1030         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
1031         a comment.
1033 2017-04-07  Florian Weimer  <fweimer@redhat.com>
1035         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
1037 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1039         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
1040         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
1041         to __wrap_.udiv.
1042         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
1043         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
1045         * sysdeps/i386/symbol-hacks.h: New file.
1046         * sysdeps/m68k/symbol-hacks.h: New file.
1047         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
1048         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
1049         * sysdeps/unix/sysv/linux/i386/Makefile
1050         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1051         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1052         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1053         * sysdeps/unix/sysv/linux/m68k/Makefile
1054         [$(subdir) = csu] (sysdep_routines): Likewise.
1055         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1056         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1058         [$(subdir) = csu] (sysdep_routines): Likewise.
1059         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1060         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1061         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1062         [$(subdir) = csu] (sysdep_routines): Likewise.
1063         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1064         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1065         * sysdeps/wordsize-32/Makefile: Remove file.
1066         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
1067         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
1069 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1071         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
1072         (TEST_FUNCTION_ARGV): New.
1074 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1076         * elf/next.c: Import support/test-driver.c instead of
1077         test-skeleton.c and delete TEST_FUNCTION macro definition.
1078         * elf/nodelete.c: Likewise.
1079         * elf/order2.c: Likewise.
1080         * elf/tst-_dl_addr_inside_object.c: Likewise.
1081         * elf/tst-addr1.c: Likewise.
1082         * elf/tst-align.c: Likewise.
1083         * elf/tst-align2.c: Likewise.
1084         * elf/tst-audit11.c: Likewise.
1085         * elf/tst-audit12.c: Likewise.
1086         * elf/tst-audit2.c: Likewise.
1087         * elf/tst-audit9.c: Likewise.
1088         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
1089         * elf/tst-deep1.c: Likewise.
1090         * elf/tst-dl-iter-static.c: Likewise.
1091         * elf/tst-dlmodcount.c: Likewise.
1092         * elf/tst-dlmopen1.c: Likewise.
1093         * elf/tst-dlmopen2.c: Likewise.
1094         * elf/tst-dlmopen3.c: Likewise.
1095         * elf/tst-dlopen-aout.c: Likewise.
1096         * elf/tst-dlopenrpath.c: Likewise.
1097         * elf/tst-dlsym-error.c: Likewise.
1098         * elf/tst-execstack-needed.c: Likewise.
1099         * elf/tst-execstack-prog.c: Likewise.
1100         * elf/tst-execstack.c: Likewise.
1101         * elf/tst-global1.c: Likewise.
1102         * elf/tst-gnu2-tls1.c: Likewise.
1103         * elf/tst-latepthread.c: Likewise.
1104         * elf/tst-leaks1.c: Likewise.
1105         * elf/tst-linkall-static.c: Likewise.
1106         (do_test): New function.
1107         * elf/tst-nodelete-opened.c: Likewise.
1108         * elf/tst-nodelete.cc: Likewise.
1109         * elf/tst-nodelete2.c: Likewise.
1110         * elf/tst-noload.c: Likewise.
1111         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
1112         * elf/tst-order-main.c: Likewise.
1113         * elf/tst-pathopt.c: Likewise.
1114         * elf/tst-pie2.c: Likewise.
1115         * elf/tst-piemod1.c: Likewise.
1116         * elf/tst-prelink.c: Likewise.
1117         * elf/tst-protected1a.c: Likewise.
1118         * elf/tst-protected1b.c: Likewise.
1119         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
1120         and define _GNU_SOURCE macro.
1121         (cmdline_process_function): New function.
1122         * elf/tst-relsort1.c: Likewise.
1123         * elf/tst-stackguard1.c: Likewise, import getopt.h,
1124         and define _GNU_SOURCE macro.
1125         (cmdline_process_function): New function.
1126         * elf/tst-thrlock.c: Likewise.
1127         * elf/tst-tls-dlinfo.c: Likewise.
1128         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
1129         * elf/tst-tls1.c: Likewise.
1130         * elf/tst-tls10.c: Likewise.
1131         * elf/tst-tls11.c: Likewise.
1132         * elf/tst-tls12.c: Likewise.
1133         * elf/tst-tls13.c: Likewise.
1134         * elf/tst-tls14.c: Likewise.
1135         * elf/tst-tls15.c: Likewise.
1136         * elf/tst-tls16.c: Likewise.
1137         * elf/tst-tls17.c: Likewise.
1138         * elf/tst-tls18.c: Likewise.
1139         * elf/tst-tls19.c: Likewise.
1140         * elf/tst-tls2.c: Likewise.
1141         * elf/tst-tls3.c: Likewise.
1142         * elf/tst-tls4.c: Likewise.
1143         * elf/tst-tls5.c: Likewise.
1144         * elf/tst-tls6.c: Likewise.
1145         * elf/tst-tls7.c: Likewise.
1146         * elf/tst-tls8.c: Likewise.
1147         * elf/tst-tls9.c: Likewise.
1148         * elf/tst-tlsalign-extern.c: Likewise.
1149         * elf/tst-tlsalign.c: Likewise.
1150         * elf/tst-unique1.c: Likewise.
1151         * elf/tst-unique2.c: Likewise.
1152         * elf/vismain.c: Likewise.
1154 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1156         * string/test-strnlen.c (do_page_tests): New function
1157         to check length of strings ending at the page boundary.
1158         (test_main): Added call to the do_page_tests function.
1160 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1161             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1163         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1164         (sysdep_routines): Add strnlen-power8.
1165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1166         (strnlen): Add __strnlen_power8 to list of strnlen functions.
1167         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
1168         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
1169         (__strnlen): Add __strnlen_power8 to ifunc list.
1170         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
1172 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1174         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
1175         the TEST_FUNCTION macro definition.
1176         * wcsmbs/tst-mbrtowc2.c: Likewise.
1177         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1178         * wcsmbs/tst-wchar-h.c: Likewise.
1179         * wcsmbs/tst-wcpncpy.c: Likewise.
1180         * wcsmbs/tst-wcrtomb.c: Likewise.
1181         * wcsmbs/tst-wcsnlen.c: Likewise.
1182         * wcsmbs/tst-wcstof.c: Likewise.
1184 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1186         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
1187         CALL_THREAD_FCT macro usage.
1188         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
1189         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
1190         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
1192         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
1193         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1194         (__ASSUME_REQUEUE_PI): Likewise.
1195         * sysdeps/unix/sysv/linux/kernel-features.h
1196         (__ASSUME_REQUEUE_PI): Likewise.
1197         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1198         (__ASSUME_REQUEUE_PI): Likewise.
1199         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1200         (__ASSUME_REQUEUE_PI): Likewise.
1201         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1202         (__ASSUME_REQUEUE_PI): Likewise.
1204 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1206         * resolv/tst-resolv-canonname.c: New file.
1207         * resolv/Makefile (tests): Add tst-resolv-canonname.
1208         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
1210 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1212         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
1213         Declare.
1214         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
1215         (NS_MAXCDNAME): Remove definition.
1216         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1217         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
1218         (NS_MAXCDNAME): Remove definition.
1219         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1221 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1223         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
1224         call whose result is not used.
1226 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1228         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
1229         * resolv/Makefile (tests): Add tst-ns_name.
1230         (tst-ns_name): Link with -lresolv.
1231         (tst-ns_name.out): Depend on the input data file.
1233 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1235         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
1236         Clobber also r14.
1238 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
1240         [BZ #21253]
1241         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
1242         slack space by 32KiB.
1244 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
1246         [BZ #21338]
1247         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
1248         instead of incorrect do_set_arena_test
1250 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1252         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
1253         * math/bits/math-finite.h: Likewise.
1255 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
1257         [BZ #21289]
1258         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
1260 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1262         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
1263         non expected inotify_add_watch and quotactl return.
1265 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1267         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
1268         to int32_t.
1269         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
1270         as returning int32_t.
1272 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1274         * math/math.h: Include bits/math-finite.h once per
1275         floating-point type.
1276         * math/bits/math-finite.h: Macroize all declarations by
1277         floating-point type.
1279 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1281         [BZ #21182]
1282         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
1283         near end of a page.
1284         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
1285         overflow calculation.
1287 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1289         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
1290         (IMPL) Call with 1 instead of 0 as argument.
1292 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1294         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1295         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1296         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1297         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1298         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1299         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1300         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1301         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1302         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1303         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1304         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1305         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1306         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1307         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1308         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1309         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1310         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1311         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1312         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1313         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1314         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1315         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1316         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1317         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1318         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1319         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1320         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1321         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1322         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1323         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1324         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1325         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1326         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1327         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1328         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1329         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1330         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1331         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1332         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1333         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1334         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1335         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1336         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1337         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1338         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1339         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1340         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1341         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1342         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1343         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1344         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1345         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1346         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1347         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1348         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1349         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1350         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1351         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1352         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1353         defined.
1354         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1355         __NR_setgroups32 if defined.
1356         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1357         if defined.
1358         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1359         __NR_setresgid32 is defined.
1360         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1361         __NR_setresuid32 if defined.
1362         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1363         __NR_setreuid32 if defined.
1364         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1365         defined.
1366         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1367         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1368         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1369         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1370         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1371         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1372         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1373         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1374         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1375         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1376         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1377         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1378         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1379         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1380         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1381         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1382         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1383         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1384         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1385         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1386         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1387         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1388         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1389         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1390         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1391         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1392         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1393         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1394         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1395         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1396         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1397         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1398         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1399         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1400         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1401         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1402         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1403         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1404         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1405         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1406         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1407         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1408         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1409         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1410         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1411         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1412         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1413         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1414         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1415         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1416         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1417         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1418         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1419         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1420         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1421         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1422         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1423         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1424         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1425         defined.
1426         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1427         __NR_setgroups32 if defined.
1428         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1429         if defined.
1430         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1431         __NR_setresgid32 is defined.
1432         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1433         __NR_setresuid32 if defined.
1434         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1435         __NR_setreuid32 if defined.
1436         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1437         defined.
1439 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1441         [BZ #21277]
1442         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1443         unconditionally.
1444         (IMAXBEL): Likewise.
1445         (IUTF8): Likewise.
1447 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1449         * sysdeps/aarch64/libm-test-ulps: Update.
1451 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1453         * README.tunables: Updated descriptions.
1454         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1455         * scripts/gen-tunables.awk: Updated the code related to the
1456         commit.
1458 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1460         * benchtests/Makefile (string-benchset): Add memcpy-random.
1461         * benchtests/bench-memcpy-random.c: New file.
1463 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1465         * stdio-common/printf.h (register_printf_modifier): Change the
1466         order of __wur and __THROW.
1467         (register_printf_type): Likewise.
1469 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1471         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1472         test_main ().
1473         (CMDLINE_PROCESS): Use function instead of defined macro.
1474         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1475         <suppport/support.h> to use set_fortify_handler().
1476         * string/bug-envz1.c: Import support/test-driver.c instead of
1477         test-skeleton.c.
1478         * string/bug-strcoll2.c: Likewise.
1479         * string/bug-strtok1.c: Likewise.
1480         * string/stratcliff.c: Likewise.
1481         * string/test-ffs.c: Likewise.
1482         * string/test-memccpy.c: Likewise.
1483         * string/test-memchr.c: Likewise.
1484         * string/test-memcmp.c: Likewise.
1485         * string/test-memcpy.c: Likewise.
1486         * string/test-memmem.c: Likewise.
1487         * string/test-memmove.c: Likewise.
1488         * string/test-memrchr.c: Likewise.
1489         * string/test-memset.c: Likewise.
1490         * string/test-rawmemchr.c: Likewise.
1491         * string/test-strcasecmp.c: Likewise.
1492         * string/test-strcasestr.c: Likewise.
1493         * string/test-strcat.c: Likewise.
1494         * string/test-strchr.c: Likewise.
1495         * string/test-strcmp.c: Likewise.
1496         * string/test-strcpy.c: Likewise.
1497         * string/test-string.h: Likewise.
1498         * string/test-strlen.c: Likewise.
1499         * string/test-strncasecmp.c: Likewise.
1500         * string/test-strncat.c: Likewise.
1501         * string/test-strncmp.c: Likewise.
1502         * string/test-strncpy.c: Likewise.
1503         * string/test-strnlen.c: Likewise.
1504         * string/test-strpbrk.c: Likewise.
1505         * string/test-strrchr.c: Likewise.
1506         * string/test-strspn.c: Likewise.
1507         * string/test-strstr.c: Likewise.
1508         * string/tst-bswap.c: Likewise.
1509         * string/tst-cmp.c: Likewise.
1510         * string/tst-endian.c: Likewise.
1511         * string/tst-inlcall.c: Likewise.
1512         * string/tst-strcoll-overflow.c: Likewise.
1513         * string/tst-strfry.c: Likewise.
1514         * string/tst-strlen.c: Likewise.
1515         * string/tst-strtok.c: Likewise.
1516         * string/tst-strtok_r.c: Likewise.
1517         * string/tst-strxfrm.c: Likewise.
1518         * string/tst-strxfrm2.c: Likewise.
1519         * string/tst-svc.c: Likewise.
1520         * string/tst-svc2.c: Likewise.
1522 2017-03-22  Zack Weinberg  <zackw@panix.com>
1524         * stdio-common/bug25.c: Include stdlib.h.
1525         * support/tst-support_format_dns_packet.c: Include stdio.h,
1526         stdlib.h, and string.h.
1527         * support/tst-support_record_failure.c: Include string.h.
1528         * support/tst-support_record_failure-2.sh: Adjust line number
1529         expectations and correct a typo in an error message.
1531 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1533         [BZ #21258]
1534         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1535         Define only if _dl_runtime_resolve is defined to
1536         _dl_runtime_resolve_sse_vex.
1537         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1538         Fallthrough to _dl_runtime_resolve_sse_vex.
1540 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1542         * INSTALL: Regenerated.
1544 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1546         * config.h.in: Add LINK_OBSOLETE_NSL.
1547         * config.make.in: Add build-obsolete-nsl.
1548         * configure.ac: Add obsolete-nsl option.
1549         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1550         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1551         * include/rpcsvc/nislib.h: Likewise.
1552         * include/rpcsvc/ypclnt.h: Likewise.
1553         * manual/install.texi: Document --enable-obsolete-nsl.
1554         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1555         * nis/nis_add.c: Replace libnsl_hidden_def with
1556         libnsl_hidden_nolink_def.
1557         * nis/nis_addmember.c: Likewise.
1558         * nis/nis_call.c: Likewise.
1559         * nis/nis_clone_obj.c: Likewise.
1560         * nis/nis_defaults.c: Likeise.
1561         * nis/nis_domain_of_r.c: Likewise.
1562         * nis/nis_error.c: Likewise.
1563         * nis/nis_file.c: Likewise.
1564         * nis/nis_free.c: Likewise.
1565         * nis_local_names.c: Likewise.
1566         * nis/nis_lookup.c: Likewise.
1567         * nis/nis_modify.c: Likewise.
1568         * nis/nis_print.c: Likewise.
1569         * nis/nis_remove.c: Likewise.
1570         * nis/nis_table.c: Likewise.
1571         * nis/nis_util.c: Likewise.
1572         * nis/nis_xdr.c: Likewise.
1573         * nis/yp_xdr.c: Likewise.
1574         * nis/ypclnt.c: Likewise.
1575         * nis/ypupdate_xdr.c: Likewise.
1576         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1577         * nis/nis_clone_dir.c: Likewise.
1578         * nis/nis_clone_res.c: Likewise.
1579         * nis/nis_creategroup.c: Likewise.
1580         * nis/nis_destroygroup.c: Likewise.
1581         * nis/nis_domain_of.c: Likewise.
1582         * nis/nis_getservlist.c: Likewise.
1583         * nis/nis_ismember.c: Likewise.
1584         * nis/nis_mkdir.c: Likewise.
1585         * nis/nis_ping.c: Likewise.
1586         * nis/nis_print_group_entry.c: Likewise.
1587         * nis/nis_removemember.c: Likewise.
1588         * nis/nis_rmdir.c: Likewise.
1589         * nis/nis_server.c: Likewise.
1590         * nis/nis_subr.c: Likewise.
1591         * nis/nis_verifygroup.c: Likewise.
1593 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1595         * malloc/tst-interpose-aux.c (check_for_allocations):
1596         Move compiler barrier before free.
1598 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1600         [BZ #21279]
1601         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1602         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1603         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1604         x86_64-x32-linux.
1605         (mq_attr.mq_maxmsg): Likewise.
1606         (mq_attr.mq_msgsize): Likewise.
1607         (mq_attr.mq_curmsgs): Likewise.
1609         [BZ #21278]
1610         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1611         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1612         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1613         mips-o32-linux.
1615         [BZ #21268]
1616         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1617         if [__USE_MISC]
1618         (NL3): Likewise.
1620 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1622         [BZ #21275]
1623         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1624         __stack to __stackbase.
1625         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1626         checks so we can include defined(__ia64__) first.
1628 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1630         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1631         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1632         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1633         Call is_pty when the link does not exist or does not match, fail
1634         with ENODEV when it returns true.
1635         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1636         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1637         Call is_pty when the link does not exist or does not match, fail
1638         with ENODEV when it returns true.
1640 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1642         [BZ #16437]
1643         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1644         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1645         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1646         x86_64-x32-linux.
1647         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1648         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1649         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1651         [BZ #21261]
1652         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1653         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1654         names for all fields.
1655         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1656         for jmp_buf field renaming.
1657         (_JMPBUF_UNWINDS_ADJ): Likewise.
1659         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1660         with allow-header.
1662 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1664         * malloc/malloc.c (unlink): Add consistency check between size and
1665         next->prev->size, to further harden against 1-byte overflows.
1667 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1669         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1670         CPU_FEATURES_CPU_P.
1672 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1674         [BZ #21259]
1675         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1676         unconditionally, not just for [__USE_MISC].
1678         [BZ #17786]
1679         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1680         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1681         mips-o32-linux.
1683         [BZ #21260]
1684         * sysdeps/unix/sysv/linux/alpha/Makefile
1685         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1686         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1688         * conform/conformtest.pl ($cross): New variable.
1689         (--cross): New command-line option.
1690         (runtest): Skip test execution when cross-compiling.
1691         * conform/Makefile (conformtest-cross): New variable.
1692         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1693         conformtest.pl.
1695         * conform/conformtest.pl ($xfail_str): New variable.
1696         (--xfail=): New command-line option.
1697         (top level): Handle expectations starting xfail[cond]-.
1698         * conform/Makefile (conformtest-xfail): New variable.
1699         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1700         conformtest.pl.
1702 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1704         * conform/conformtest.pl: Use compilation instead of execution
1705         tests for testing values of constants and usability in #if.
1707 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1709         * math/auto-libm-test-in: Mark some catan and catanh as
1710         xfail-rounding:ibm128-libgcc.
1711         * math/auto-libm-test-out-catan: Regenerate.
1712         * math/auto-libm-test-out-catanh: Likewise.
1714 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1716         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1717         (__END_NAMESPACE_STD): Likewise.
1718         (__USING_NAMESPACE_STD): Likewise.
1719         (__BEGIN_NAMESPACE_C99): Likewise.
1720         (__END_NAMESPACE_C99): Likewise.
1721         (__USING_NAMESPACE_C99): Likewise.
1722         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1723         undefine macro.
1724         (_Mdouble_END_NAMESPACE): Likewise.
1725         * ctype/ctype.h: Do not handle C++ namespaces.
1726         * libio/bits/stdio-ldbl.h: Likewise.
1727         * libio/stdio.h: Likewise.
1728         * locale/locale.h: Likewise.
1729         * math/bits/mathcalls.h: Likewise.
1730         * setjmp/setjmp.h: Likewise.
1731         * signal/signal.h: Likewise.
1732         * stdlib/bits/stdlib-float.h: Likewise.
1733         * stdlib/bits/stdlib-ldbl.h: Likewise.
1734         * stdlib/stdlib.h: Likewise.
1735         * string/string.h: Likewise.
1736         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1737         * time/bits/types/clock_t.h: Likewise.
1738         * time/bits/types/struct_tm.h: Likewise.
1739         * time/bits/types/time_t.h: Likewise.
1740         * time/time.h: Likewise.
1741         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1742         * wcsmbs/uchar.h: Likewise.
1743         * wcsmbs/wchar.h: Likewise.
1744         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1745         * wctype/wctype.h: Do not handle C++ namespaces.
1746         * scripts/begin-end-check.pl: Remove.
1747         * Makefile (installed-headers): Likewise.
1748         (tests-special): Do not add $(objpfx)begin-end-check.out.
1749         ($(objpfx)begin-end-check.out): Remove.
1751 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1752             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1754         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1755         (DL_PLATFORM_INIT): New define.
1756         (dl_platform_init): New function.
1757         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1758         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1759         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1760         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1761         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1763 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1765         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1766         instead of PIC.
1768 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1770         [BZ #21094]
1771         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1772         24+24+24-bit pi for wider range of values around pi/2.
1773         * math/auto-libm-test-in: Add more tests of cos and tan.
1774         * math/auto-libm-test-out-cos: Regenerated.
1775         * math/auto-libm-test-out-tan: Likewise.
1777 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1779         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1780         (RTLD_START): Don't record stack end address in _dl_start_user.
1782 2017-03-15  Alexey Neyman  <stilor@att.net>
1784         [BZ #21088]
1785         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1786         around definitions match those around use.
1788 2017-03-15  Alexey Neyman  <stilor@att.net>
1790         * configure.ac: Avoid empty subexpression in grep.
1791         * configure: Regenerate.
1793 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1795         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1796         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1797         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1798         (test_wrp_rv): Fix format.
1799         (test_wrp_rv2): New macro.
1800         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1801         binaries.
1803 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1805         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1806         Use a union when storing pointers.
1807         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1808         cast result when passing to INIT_VEC_PTRS_LOOP.
1809         (VECTOR_WRAPPER_fFF_3): Likewise.
1810         (VECTOR_WRAPPER_fFF_4): Likewise.
1812 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1814         * include/bits/mathcalls-helper-functions.h: New file.
1815         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1816         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1817         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1818         math/bits/mathcalls-helper-functions.h.
1819         * math/bits/mathcalls-helper-functions.h: New file.
1820         * math/math.h: Include bits/mathcalls-helper-functions.h for
1821         float, double, and long double.
1823 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1825         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1826         instead of feraiseexcept.
1828 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1830         [BZ #21243]
1831         * support/temp_file.c (support_delete_temp_files): Add comment
1832         about ignored errors.
1834 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1836         [BZ #21244]
1837         * support/xclose.c: New file.
1838         * support/Makefile (libsupport-routines): Add xclose.
1839         * support/xunistd.h (xclose): Declare.
1840         * support/resolv_test.c (server_thread_tcp_client)
1841         (server_thread_tcp, make_server_sockets, resolv_test_start)
1842         (resolv_test_end): Call xclose instead of close.
1843         * support/support_enter_network_namespace.c
1844         (support_enter_network_namespace): Likewise.
1845         * support/support_run_diff.c (write_to_temp_file): Likewise.
1847 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1849         * support/support_format_dns_packet.c (support_format_dns_packet):
1850         Handle CNAME records in the response.  Extract RDATA names from
1851         rdata, not the whole packet.  Check AAAA record length.
1852         * support/tst-support_format_dns_packet.c: New file.
1853         * support/Makefile (tests): Add tst-support_format_dns_packet.
1854         (tst-support_format_dns_packet): Link against libresolv.
1856 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1858         [BZ #21232]
1859         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1860         posix_fadvise64 weak_alias for static build.
1862 2017-03-14  Andreas Schwab  <schwab@suse.de>
1864         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1865         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1866         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1867         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1868         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1869         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1870         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1871         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1873 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1875         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1876         posix error code.
1877         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1879 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1881         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1882         no_isolate usage for SH.
1884 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1886         [BZ #15105]
1887         [BZ #19463]
1888         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1889         * inet/rcmd.c (rcmd_af): Likewise.
1890         * inet/rexec.c   (rexec_af): Likewise.
1891         * intl/dcigettext.c (_LIBC): Likewise.
1892         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1893         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1894         * locale/setlocale.c (setlocale): Likewise.
1895         * posix/spawn_faction_addopen.c
1896         (posix_spawn_file_actions_addopen): Likewise.
1897         * stdlib/putenv.c (putenv): Use __strndup.
1898         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1900         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1901         (__Need_M_And_C) Remove define/undef.
1902         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1903         (__malloc_and_calloc_defined): Remove define.
1904         * string/bits/string2.h (__strdup): Remove define.
1905         (strdup): Likewise.
1906         (__strndup): Likewise.
1907         (strndup): Likewise.
1909 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1911         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1912         macro.
1913         (IPV6_ADDR_PREFERENCES): Likewise.
1914         (IPV6_MINHOPCOUNT): Likewise.
1915         (IPV6_ORIGDSTADDR): Likewise.
1916         (IPV6_RECVORIGDSTADDR): Likewise.
1917         (IPV6_TRANSPARENT): Likewise.
1918         (IPV6_UNICAST_IF): Likewise.
1919         (IPV6_RECVFRAGSIZE): Likewise.
1921 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1923         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1925 2017-03-12  Alexey Neyman <stilor@att.net>
1927         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1928         in R_SH_DIR32 case is always false when inlined from
1929         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1931 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1933         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1934         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1935         __ASSUME_SEND_SYSCALL.
1937 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1939         * sunrpc/Makefile: don't build and install rpcsvc header
1940         files, rpcgen and librpcsvc.a by default.
1942 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1944         * math/auto-libm-test-out-catan: Regenerated.
1945         * math/auto-libm-test-out-catanh: Likewise.
1946         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1948 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1950         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1951         for long double with corrected test expectations.
1953 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1955         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1956         Define.
1957         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1958         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1959         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1960         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1961         * sysdeps/unix/sysv/linux/tile/sysdep.h
1962         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1963         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1964         (__ASSUME_RECV_SYSCALL): Define.
1965         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1966         (__ASSUME_RECV_SYSCALL): Likewise.
1967         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1968         (__ASSUME_RECV_SYSCALL): Likewise.
1969         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1970         (__ASSUME_RECV_SYSCALL): Likewise.
1971         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1972         (__ASSUME_RECV_SYSCALL): Likewise.
1973         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1974         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1975         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1976         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1977         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1978         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1979         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1980         auto-generation list.
1981         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1982         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1983         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1984         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1985         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1986         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1987         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1988         __ASSUME_SENDTO_SYSCALL.
1989         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1990         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1991         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1993         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1994         auto-generation list.
1995         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1996         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1997         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1998         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1999         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2000         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2001         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2002         * sysdeps/unix/sysv/linux/kernel-features.h
2003         (__ASSUME_SENDTO_SYSCALL): Define by default.
2004         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2005         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
2006         __NR_sendto.
2007         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2008         (__ASSUME_SENDTO_SYSCALL): Likewise.
2009         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2010         (__ASSUME_SENDTO_SYSCALL): Likewise.
2011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2012         (__ASSUME_SENDTO_SYSCALL): Remove definition.
2013         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2014         (__ASSUME_SENDTO_SYSCALL): Likewise.
2015         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
2016         (__ASSUME_SENDTO_SYSCALL): Likewise.
2017         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
2019         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
2020         auto-generation list.
2021         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2022         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2023         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2024         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2025         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2026         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2027         (__ASSUME_RECV_SYSCALL): New define.
2028         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2029         (__ASSUME_RECV_SYSCALL): Likewise.
2030         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2031         (__ASSUME_RECV_SYSCALL): Likewise.
2032         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2033         (__ASSUME_RECV_SYSCALL): Likewise.
2034         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2035         (__ASSUME_RECV_SYSCALL): Likewise.
2036         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2037         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2038         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2039         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2040         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2041         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2042         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
2043         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
2044         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
2045         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
2046         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
2047         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
2049         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
2050         auto-generation list.
2051         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2052         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2053         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2054         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2055         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2056         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2057         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2058         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2059         (__ASSUME_RECVFROM_SYSCALL): Define by default.
2060         * sysdeps/unix/sysv/linux/kernel-features.h
2061         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
2062         __NR_recvfrom.
2063         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2064         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2065         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2066         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2067         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2068         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
2069         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2070         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2071         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2072         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2073         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2074         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2075         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
2077         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
2078         auto-generation list.
2079         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2080         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2081         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2082         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2083         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2084         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2085         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2086         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
2087         * sysdeps/unix/sysv/linux/kernel-features.h
2088         (__ASSUME_CONNECT_SYSCALL): Define.
2089         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2090         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
2091         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2092         (__ASSUME_CONNECT_SYSCALL): Likewise.
2093         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2094         (__ASSUME_CONNECT_SYSCALL): Likewise.
2095         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2096         (__ASSUME_CONNECT_SYSCALL): Likewise.
2098         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
2099         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
2100         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
2101         auto-generation list.
2102         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2103         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2104         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2105         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2106         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2107         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2108         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2109         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2110         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2111         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2112         * sysdeps/unix/sysv/linux/kernel-features.h
2113         (__ASSUME_ACCEPT_SYSCALL): New define.
2114         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2115         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2116         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
2117         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2118         (__ASSUME_ACCEPT_SYSCALL): Define.
2119         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2120         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2121         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2122         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2123         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2124         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2125         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2126         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2127         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
2129 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
2130             Zack Weinberg  <zackw@panix.com>
2132         * posix/test-errno.c: New file.
2133         * posix/Makefile (tests): Add test-errno.
2134         * sysdeps/unix/sysv/linux/test-errno.c: New file.
2135         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
2137 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
2139         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2141 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2143         * time/tzset.c (compute_offset): Open-code min macro.
2144         (min, max, sign): Remove.
2146 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2148         [BZ #15576]
2149         Remove TZNAME_MAX limit from sysconf.
2150         * include/time.h (__tzname_cur_max, __tzname_max): Remove
2151         declaration.
2152         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
2153         compute_tzname_max.
2154         (compute_tzname_max): Remove.
2155         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
2156         (update_vars): Do not update __tzname_cur_max.
2157         (tzset_internal): Remove argument.
2158         (__tzset): Adjust call to tzset_internal.
2159         (__tz_convert): Likewise.
2161         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
2162         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2163         * manual/conf.texi (Sysconf Definition): Update comment.
2165 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2167         [BZ #21209]
2168         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
2169         AT_SECURE processes.
2170         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
2171         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
2172         (test_child): Likewise.
2173         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
2175 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2177         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
2179 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2181         * sysdeps/s390/atomic-machine.h
2182         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
2183         (__arch_compare_and_exchange_val_8_acq,
2184         __arch_compare_and_exchange_val_16_acq,
2185         __arch_compare_and_exchange_val_32_acq,
2186         __arch_compare_and_exchange_val_64_acq):
2187         Delete macro.
2188         (atomic_compare_and_exchange_val_acq,
2189         atomic_compare_and_exchange_val_rel,
2190         atomic_compare_and_exchange_bool_acq,
2191         catomic_compare_and_exchange_bool_acq,
2192         atomic_exchange_acq, atomic_exchange_rel,
2193         atomic_exchange_and_add_acq,
2194         atomic_exchange_and_add_rel,
2195         catomic_exchange_and_add, atomic_or_val,
2196         atomic_or, catomic_or, atomic_bit_test_set,
2197         atomic_and_val, atomic_and, catomic_and):
2198         Define macros with help of C11 atomic builtins.
2200 2017-03-03  Justus Winter <justus@gnupg.org>
2202         * sysdeps/mach/hurd/ftruncate64.c: New file.
2203         * sysdeps/mach/hurd/truncate64.c: Likewise.
2205 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2207         * time/tzfile.c (NOID): Do not define.
2208         * time/tzset.c (NOID): Likewise.
2210 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2212         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
2214 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2216         * elf/get-dynamic-info.h: Remove header file inclusion guard.
2218 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2220         [BZ #21015]
2221         * manual/install.texi (Configuring and compiling): Document
2222         --enable-bind-now.
2223         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
2224         (build-shlib-helper): Use $(LDFLAGS-lib.so).
2225         (format.lds): Likewise.
2226         [bind-now] (LDFLAGS-c.so): Remove.
2227         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
2228         be R_X86_64_GLOB_DAT.
2229         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
2230         relocation can be R_386_GLOB_DAT.
2231         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
2232         relocaiton can be R_ALPHA_GLOB_DAT.
2233         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
2235 2017-03-01  Zack Weinberg  <zackw@panix.com>
2237         * include/libc-pointer-arith.h: New file.  Define
2238         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
2239         PTR_ALIGN_DOWN here.
2240         * include/libc-internal.h: Definitions of above macros
2241         moved from here.  Don't include libc-diag.h anymore either.
2242         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
2243         Don't include libc-internal.h.
2245         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
2246         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
2247         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
2248         * string/strcoll_l.c, sysdeps/nacl/brk.c
2249         * sysdeps/unix/clock_settime.c
2250         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
2251         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
2252         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
2253         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
2254         Don't include libc-internal.h.
2256         * elf/get-dynamic-info.h, iconv/loop.c
2257         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
2258         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
2259         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
2260         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
2261         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2262         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
2263         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2264         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
2265         * sysdeps/ieee754/ldbl-128/k_tanl.c
2266         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2267         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2268         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
2269         Include libc-diag.h instead of libc-internal.h.
2271         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
2272         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
2273         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
2274         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
2275         * sysdeps/unix/sysv/linux/spawni.c
2276         * sysdeps/x86_64/nptl/tls.h:
2277         Include libc-pointer-arith.h instead of libc-internal.h.
2279         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
2280         * sysdeps/x86_64/atomic-machine.h:
2281         Add multiple include guard.
2283         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
2284         * string/strcasestr.c: No need to include config.h.
2285         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2286         sys/auxv.h. Don't include sysdep.h.
2287         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
2289         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
2290         DL_LOOKUP_ADDRESS.
2291         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
2292         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
2293         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
2294         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2295         of ARTIFICIAL_LIMIT.
2296         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2297         declaration of __clone2.
2299 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2301         * scripts/backport-support.sh (latest_commit): New file.
2303 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2305         [BZ #20257]
2306         * inet/Makefile (routines): Add deadline.
2307         (tests-static): Add tst-deadline.
2308         * inet/net-internal.h (struct deadline_current_time)
2309         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2310         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2311         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2312         * inet/deadline.c: New file.
2313         * inet/tst-deadline.c: Likewise.
2314         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2315         tst-udp-timeout, tst-udp-garbage.
2316         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2317         explicitly.
2318         (tst-udp-garbage): Likewise.  Also link against thread library.
2319         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2320         struct layout is part of the ABI.
2321         (clntudp_call): Rework timeout handling.
2322         * sunrpc/tst-udp-garbage.c: New file.
2323         * sunrpc/tst-udp-nonblocking.c: Likewise.
2324         * sunrpc/tst-udp-timeout.c: Likewise.
2326 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2328         [BZ #5010]
2329         * sunrpc/svc.c (svc_is_mapped): Remove.
2330         (svc_unregister): Obtain mapped status while the service is still
2331         registered.
2332         * sunrpc/Makefile [have-thread-library] (tests): Add
2333         tst-svc_register.
2334         (tst-svc_register): Link against libc.so explicitly and the thread
2335         library.
2336         * sunrpc/tst-svc_register.c: New file.
2338 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2340         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2341         * sysdeps/pthread/bits/sigthread.h: Likewise.
2343 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2345         [BZ #21115]
2346         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2347         * sunrpc/Makefile (tests): Add tst-udp-error.
2348         (tst-udp-error): Link against libc.so explicitly.
2349         * sunrpc/tst-udp-error: New file.
2351 2017-02-25  Zack Weinberg  <zackw@panix.com>
2353         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2354         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2356         * sysdeps/generic/math_ldbl.h
2357         * sysdeps/ia64/fpu/math_ldbl.h
2358         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2359         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2360         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2361         * sysdeps/powerpc/fpu/math_ldbl.h
2362         * sysdeps/x86_64/fpu/math_ldbl.h:
2363         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2364         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2365         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2366         Add copyright notices.
2368         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2369         Don't use EXTRACT_WORDS64.
2371         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2372         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2373         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2374         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2375         Include math_ldbl.h, not math_private.h.
2377 2017-02-25  Zack Weinberg  <zackw@panix.com>
2379         * include/libc-diag.h: New file.  Define ignore_value,
2380         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2381         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2383         * include/libc-internal.h: Definitions of above macros moved from
2384         here.  Include libc-diag.h.  Add copyright notice.
2386         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2387         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2388         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2389         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2390         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2391         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2392         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2393         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2394         Include libc-diag.h instead of libc-internal.h.
2396         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2397         call to unsetenv (NULL).
2398         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2399         call to pthread_mutexattr_destroy (NULL).
2401 2017-02-25  Zack Weinberg  <zackw@panix.com>
2403         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2404         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2405         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2406         gets was removed from C++ in C++14.
2407         * include/stdio.h: Remove redundant declaration of gets.
2408         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2409         be declared, since we are testing it.
2410         * stdio-common/Makefile (tst-gets.c): Compile with
2411         -Wno-deprecated-declarations.
2412         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2413         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2414         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2415         Compile with -Wno-deprecated-declarations.
2417 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2419         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2420         numbers.
2422 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2424         * resolv/tst-resolv-qtypes.c (domain):
2425         Change type to const pointer to const char.
2427 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2429         * math/Makefile (libm-tests-generated): Remove variable.
2430         (libm-tests-base-normal): New variable.
2431         (libm-tests-base-finite): Likewise.
2432         (libm-tests-base-inline): Likewise.
2433         (libm-tests-base): Likewise.
2434         (libm-tests-normal): Likewise.
2435         (libm-tests-finite): Likewise.
2436         (libm-tests-inline): Likewise.
2437         (libm-tests-vector): Likewise.
2438         (libm-tests): Define in terms of these new variables.
2439         (libm-tests-for-type): New variable.
2440         (libm-tests.o): Move definition.
2441         (tests): Move addition of $(libm-tests).
2442         (generated): Update for new and removed libm test files.
2443         ($(objpfx)libm-test.c): Remove target.
2444         ($(objpfx)libm-have-vector-test.h): Likewise.
2445         (CFLAGS-test-double-vlen2.c): Remove variable.
2446         (CFLAGS-test-double-vlen4.c): Likewise.
2447         (CFLAGS-test-double-vlen8.c): Likewise.
2448         (CFLAGS-test-float-vlen4.c): Likewise.
2449         (CFLAGS-test-float-vlen8.c): Likewise.
2450         (CFLAGS-test-float-vlen16.c): Likewise.
2451         (CFLAGS-test-float.c): Likewise.
2452         (CFLAGS-test-float-finite.c): Likewise.
2453         (CFLAGS-libm-test-support-float.c): Likewise.
2454         (CFLAGS-test-double.c): Likewise.
2455         (CFLAGS-test-double-finite.c): Likewise.
2456         (CFLAGS-libm-test-support-double.c): Likewise.
2457         (CFLAGS-test-ldouble.c): Likewise.
2458         (CFLAGS-test-ldouble-finite.c): Likewise.
2459         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2460         (libm-test-inline-cflags): New variable.
2461         (CFLAGS-test-ifloat.c): Remove variable.
2462         (CFLAGS-test-idouble.c): Likewise.
2463         (CFLAGS-test-ildouble.c): Likewise.
2464         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2465         dependencies.
2466         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2467         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2468         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2469         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2470         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2471         Likewise.
2472         (dependencies on libm-test-support-*.o): Remove.
2473         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2474         rules using iterators.
2475         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2476         Likewise.
2477         ($(objpfx)libm-test-support-$(o).o): Likewise.
2478         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2479         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2480         instead.
2481         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2482         define rule instead.
2483         * math/README.libm-test: Update.
2484         * math/libm-test-acos.inc: Include libm-test-driver.c.
2485         (do_test): New function.
2486         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2487         (do_test): New function.
2488         * math/libm-test-asin.inc: Include libm-test-driver.c.
2489         (do_test): New function.
2490         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2491         (do_test): New function.
2492         * math/libm-test-atan.inc: Include libm-test-driver.c.
2493         (do_test): New function.
2494         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2495         (do_test): New function.
2496         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2497         (do_test): New function.
2498         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2499         (do_test): New function.
2500         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2501         (do_test): New function.
2502         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2503         (do_test): New function.
2504         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2505         (do_test): New function.
2506         * math/libm-test-carg.inc: Include libm-test-driver.c.
2507         (do_test): New function.
2508         * math/libm-test-casin.inc: Include libm-test-driver.c.
2509         (do_test): New function.
2510         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2511         (do_test): New function.
2512         * math/libm-test-catan.inc: Include libm-test-driver.c.
2513         (do_test): New function.
2514         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2515         (do_test): New function.
2516         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2517         (do_test): New function.
2518         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2519         (do_test): New function.
2520         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2521         (do_test): New function.
2522         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2523         (do_test): New function.
2524         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2525         (do_test): New function.
2526         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2527         (do_test): New function.
2528         * math/libm-test-clog.inc: Include libm-test-driver.c.
2529         (do_test): New function.
2530         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2531         (do_test): New function.
2532         * math/libm-test-conj.inc: Include libm-test-driver.c.
2533         (do_test): New function.
2534         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2535         (do_test): New function.
2536         * math/libm-test-cos.inc: Include libm-test-driver.c.
2537         (do_test): New function.
2538         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2539         (do_test): New function.
2540         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2541         (do_test): New function.
2542         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2543         (do_test): New function.
2544         * math/libm-test-creal.inc: Include libm-test-driver.c.
2545         (do_test): New function.
2546         * math/libm-test-csin.inc: Include libm-test-driver.c.
2547         (do_test): New function.
2548         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2549         (do_test): New function.
2550         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2551         (do_test): New function.
2552         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2553         (do_test): New function.
2554         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2555         (do_test): New function.
2556         * math/libm-test-erf.inc: Include libm-test-driver.c.
2557         (do_test): New function.
2558         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2559         (do_test): New function.
2560         * math/libm-test-exp.inc: Include libm-test-driver.c.
2561         (do_test): New function.
2562         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2563         (do_test): New function.
2564         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2565         (do_test): New function.
2566         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2567         (do_test): New function.
2568         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2569         (do_test): New function.
2570         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2571         (do_test): New function.
2572         * math/libm-test-floor.inc: Include libm-test-driver.c.
2573         (do_test): New function.
2574         * math/libm-test-fma.inc: Include libm-test-driver.c.
2575         (do_test): New function.
2576         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2577         (do_test): New function.
2578         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2579         (do_test): New function.
2580         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2581         (do_test): New function.
2582         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2583         (do_test): New function.
2584         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2585         (do_test): New function.
2586         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2587         (do_test): New function.
2588         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2589         (do_test): New function.
2590         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2591         (do_test): New function.
2592         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2593         (do_test): New function.
2594         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2595         (do_test): New function.
2596         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2597         (do_test): New function.
2598         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2599         (do_test): New function.
2600         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2601         (do_test): New function.
2602         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2603         (do_test): New function.
2604         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2605         (do_test): New function.
2606         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2607         (do_test): New function.
2608         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2609         (do_test): New function.
2610         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2611         (do_test): New function.
2612         * math/libm-test-isless.inc: Include libm-test-driver.c.
2613         (do_test): New function.
2614         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2615         (do_test): New function.
2616         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2617         (do_test): New function.
2618         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2619         (do_test): New function.
2620         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2621         (do_test): New function.
2622         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2623         (do_test): New function.
2624         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2625         (do_test): New function.
2626         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2627         (do_test): New function.
2628         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2629         (do_test): New function.
2630         * math/libm-test-j0.inc: Include libm-test-driver.c.
2631         (do_test): New function.
2632         * math/libm-test-j1.inc: Include libm-test-driver.c.
2633         (do_test): New function.
2634         * math/libm-test-jn.inc: Include libm-test-driver.c.
2635         (do_test): New function.
2636         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2637         (do_test): New function.
2638         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2639         (do_test): New function.
2640         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2641         (do_test): New function.
2642         * math/libm-test-llround.inc: Include libm-test-driver.c.
2643         (do_test): New function.
2644         * math/libm-test-log.inc: Include libm-test-driver.c.
2645         (do_test): New function.
2646         * math/libm-test-log10.inc: Include libm-test-driver.c.
2647         (do_test): New function.
2648         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2649         (do_test): New function.
2650         * math/libm-test-log2.inc: Include libm-test-driver.c.
2651         (do_test): New function.
2652         * math/libm-test-logb.inc: Include libm-test-driver.c.
2653         (do_test): New function.
2654         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2655         (do_test): New function.
2656         * math/libm-test-lround.inc: Include libm-test-driver.c.
2657         (do_test): New function.
2658         * math/libm-test-modf.inc: Include libm-test-driver.c.
2659         (do_test): New function.
2660         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2661         (do_test): New function.
2662         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2663         (do_test): New function.
2664         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2665         (do_test): New function.
2666         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2667         (do_test): New function.
2668         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2669         (do_test): New function.
2670         * math/libm-test-pow.inc: Include libm-test-driver.c.
2671         (do_test): New function.
2672         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2673         (do_test): New function.
2674         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2675         (do_test): New function.
2676         * math/libm-test-rint.inc: Include libm-test-driver.c.
2677         (do_test): New function.
2678         * math/libm-test-round.inc: Include libm-test-driver.c.
2679         (do_test): New function.
2680         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2681         (do_test): New function.
2682         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2683         (do_test): New function.
2684         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2685         (do_test): New function.
2686         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2687         (do_test): New function.
2688         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2689         (do_test): New function.
2690         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2691         (do_test): New function.
2692         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2693         (do_test): New function.
2694         * math/libm-test-significand.inc: Include libm-test-driver.c.
2695         (do_test): New function.
2696         * math/libm-test-sin.inc: Include libm-test-driver.c.
2697         (do_test): New function.
2698         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2699         (do_test): New function.
2700         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2701         (do_test): New function.
2702         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2703         (do_test): New function.
2704         * math/libm-test-tan.inc: Include libm-test-driver.c.
2705         (do_test): New function.
2706         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2707         (do_test): New function.
2708         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2709         (do_test): New function.
2710         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2711         (do_test): New function.
2712         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2713         (do_test): New function.
2714         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2715         (do_test): New function.
2716         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2717         (do_test): New function.
2718         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2719         (do_test): New function.
2720         * math/libm-test-y0.inc: Include libm-test-driver.c.
2721         (do_test): New function.
2722         * math/libm-test-y1.inc: Include libm-test-driver.c.
2723         (do_test): New function.
2724         * math/libm-test-yn.inc: Include libm-test-driver.c.
2725         (do_test): New function.
2726         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2727         (HAVE_VECTOR): Remove macro.
2728         (START): Do not call HAVE_VECTOR.
2729         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2730         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2731         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2732         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2733         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2734         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2735         * math/test-math-vector.h (FUNC_TEST): New macro.
2736         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2737         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2738         (double-vlen4-funcs): Likewise.
2739         (double-vlen4-avx2-funcs): Likewise.
2740         (double-vlen8-funcs): Likewise.
2741         (float-vlen4-funcs): Likewise.
2742         (float-vlen8-funcs): Likewise.
2743         (float-vlen8-avx2-funcs): Likewise.
2744         (float-vlen16-funcs): Likewise.
2745         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2746         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2747         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2748         macro.
2749         (TEST_VECTOR_sin): Likewise.
2750         (TEST_VECTOR_sincos): Likewise.
2751         (TEST_VECTOR_log): Likewise.
2752         (TEST_VECTOR_exp): Likewise.
2753         (TEST_VECTOR_pow): Likewise.
2754         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2755         Likewise.
2756         (TEST_VECTOR_sin): Likewise.
2757         (TEST_VECTOR_sincos): Likewise.
2758         (TEST_VECTOR_log): Likewise.
2759         (TEST_VECTOR_exp): Likewise.
2760         (TEST_VECTOR_pow): Likewise.
2761         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2762         Likewise.
2763         (TEST_VECTOR_sinf): Likewise.
2764         (TEST_VECTOR_sincosf): Likewise.
2765         (TEST_VECTOR_logf): Likewise.
2766         (TEST_VECTOR_expf): Likewise.
2767         (TEST_VECTOR_powf): Likewise.
2768         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2769         Likewise.
2770         (TEST_VECTOR_sinf): Likewise.
2771         (TEST_VECTOR_sincosf): Likewise.
2772         (TEST_VECTOR_logf): Likewise.
2773         (TEST_VECTOR_expf): Likewise.
2774         (TEST_VECTOR_powf): Likewise.
2775         * math/gen-libm-have-vector-test.sh: Remove file.
2776         * math/libm-test.inc: Likewise.
2777         * math/libm-test-support-double.c: Likewise.
2778         * math/libm-test-support-float.c: Likewise.
2779         * math/libm-test-support-ldouble.c: Likewise.
2780         * math/test-double-finite.c: Likewise.: Likewise.
2781         * math/test-double.c: Likewise.
2782         * math/test-float-finite.c: Likewise.
2783         * math/test-float.c: Likewise.
2784         * math/test-idouble.c: Likewise.
2785         * math/test-ifloat.c: Likewise.
2786         * math/test-ildouble.c: Likewise.
2787         * math/test-ldouble-finite.c: Likewise.
2788         * math/test-ldouble.c: Likewise.
2789         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2790         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2791         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2792         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2793         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2794         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2795         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2796         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2797         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2798         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2800 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2801            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2803         * math/Makefile: Add wrappers to gen-libm-calls.
2804         * math/w_acos_template.c: New file.
2805         * math/w_acosh_template.c: Likewise.
2806         * math/w_asin_template.c: Likewise.
2807         * math/w_atan2_template.c: Likewise.
2808         * math/w_atanh_template.c: Likewise.
2809         * math/w_cosh_template.c: Likewise.
2810         * math/w_exp10_template.c: Likewise.
2811         * math/w_exp2_template.c: Likewise.
2812         * math/w_exp_template.c: Likewise.
2813         * math/w_fmod_template.c: Likewise.
2814         * math/w_hypot_template.c: Likewise.
2815         * math/w_j0_template.c: Likewise.
2816         * math/w_j1_template.c: Likewise.
2817         * math/w_jn_template.c: Likewise.
2818         * math/w_lgamma_r_template.c: Likewise.
2819         * math/w_lgamma_template.c: Likewise.
2820         * math/w_log10_template.c: Likewise.
2821         * math/w_log2_template.c: Likewise.
2822         * math/w_log_template.c: Likewise.
2823         * math/w_pow_template.c: Likewise.
2824         * math/w_remainder_template.c: Likewise.
2825         * math/w_sinh_template.c: Likewise.
2826         * math/w_sqrt_template.c: Likewise.
2827         * math/w_tgamma_template.c: Likewise.: Likewise.
2828         * sysdeps/generic/math-type-macros-double.h
2829         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2830         the new wrappers.
2831         * sysdeps/generic/math-type-macros-float.h: Likewise.
2832         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2834 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2836         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2837         New enum constant and macro.
2839         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2840         kernel version to 4.10.
2842 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2844         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2846 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2850 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2852         * sysdeps/powerpc/tst-set_ppr.c: New file.
2853         Implement test cases for __ppc_set_ppr_* functions.
2854         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2855         in the list of tests.
2857 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2859         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2860         instead of test-skeleton.c.
2861         (do_test): Replaced pthread_create and pthread_join with
2862         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2863         Removed unneeded status variable.
2864         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2865         instead of test-skeleton.c.
2866         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2868 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2870         [BZ #20313]
2871         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2872         201605L, for Unicode 9.
2874 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2876         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2877         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2878         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2879         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2880         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2881         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2883 2017-02-19  Zack Weinberg  <zackw@panix.com>
2885         * rt/tst-mqueue4.c: Include stdint.h.
2887 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2889         * sysdeps/arm/libm-test-ulps: Update.
2890         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2891         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2892         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2894 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2896         [BZ #21029]
2897         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2898         * sysdeps/unix/sysv/linux/i386/Makefile
2899         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2900         (uses-6-syscall-arguments): Remove.
2901         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2902         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2903         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2904         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2905         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2906         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2907         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2908         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2909         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2910         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2911         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2912         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2913         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2914         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2915         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2916         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2917         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2918         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2919         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2920         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2921         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2922         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2923         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2924         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2925         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2926         Likewise.
2927         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2928         Likewise.
2929         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2930         Likewise.
2931         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2932         Likewise.
2933         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2934         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2935         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2936         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2937         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2938         ebp on inline assembly.
2939         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2940         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2941         Set if CAN_USE_REGISTER_ASM_EBP is set.
2943 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2945         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2946         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2948 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2950         * math/auto-libm-test-in: Add tests of catan and catanh.
2951         * math/auto-libm-test-out-catan: New generated file.
2952         * math/auto-libm-test-out-catanh: Likewise.
2953         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2954         Move tests with finite inputs, except divide-by-zero cases, to
2955         auto-libm-test-in.
2956         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2957         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2958         (libm-test-funcs-noauto): Remove catan and catanh.
2959         * sysdeps/i386/fpu/libm-test-ulps: Update.
2960         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2963         * math/auto-libm-test-in: Add tests of casin and casinh.
2964         * math/auto-libm-test-out-casin: New generated file.
2965         * math/auto-libm-test-out-casinh: Likewise.
2966         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2967         Move tests with finite inputs to auto-libm-test-in.
2968         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2969         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2970         (libm-test-funcs-noauto): Remove casin and casinh.
2971         * sysdeps/i386/fpu/libm-test-ulps: Update.
2972         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2975         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2976         * math/auto-libm-test-out-cacos: New generated file.
2977         * math/auto-libm-test-out-cacosh: Likewise.
2978         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2979         Move tests with finite inputs to auto-libm-test-in.
2980         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2981         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2982         (libm-test-funcs-noauto): Remove cacos and cacosh.
2983         * sysdeps/i386/fpu/libm-test-ulps: Update.
2984         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2987         Revert:
2988         2017-02-16  Zack Weinberg  <zackw@panix.com>
2990         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2991         Don't include init-arch.h.
2992         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2993         Don't include init-arch.h.
2995 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2997         [BZ #21171]
2998         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2999         +Inf and raise divide-by-zero when x is negative.
3000         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
3001         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
3002         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
3003         -Inf and raise divide-by-zero when x = +-0.
3004         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3005         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3006         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
3007         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
3008         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3009         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3010         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3012 2017-02-16  Zack Weinberg  <zackw@panix.com>
3014         * scripts/build-many-glibcs.py (bot_build_mail): If the
3015         bot_config does not contain all of the necessary email-
3016         related settings, just print a warning and continue.
3018 2017-02-16  Zack Weinberg  <zackw@panix.com>
3020         * crypt/md5.h: Test _LIBC with #if defined, not #if.
3021         * dirent/opendir-tst1.c: Include sys/stat.h.
3022         * dirent/tst-fdopendir.c: Include sys/stat.h.
3023         * dirent/tst-fdopendir2.c: Include stdlib.h.
3024         * dirent/tst-scandir.c: Include stdbool.h.
3025         * elf/tst-auditmod1.c: Include link.h and stddef.h.
3026         * elf/tst-tls15.c: Include stdlib.h.
3027         * elf/tst-tls16.c: Include stdlib.h.
3028         * elf/tst-tls17.c: Include stdlib.h.
3029         * elf/tst-tls18.c: Include stdlib.h.
3030         * iconv/tst-iconv6.c: Include endian.h.
3031         * iconvdata/bug-iconv11.c: Include limits.h.
3032         * io/test-utime.c: Include stdint.h.
3033         * io/tst-faccessat.c: Include sys/stat.h.
3034         * io/tst-fchmodat.c: Include sys/stat.h.
3035         * io/tst-fchownat.c: Include sys/stat.h.
3036         * io/tst-fstatat.c: Include sys/stat.h.
3037         * io/tst-futimesat.c: Include sys/stat.h.
3038         * io/tst-linkat.c: Include sys/stat.h.
3039         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
3040         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
3041         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
3042         * io/tst-openat.c: Include stdbool.h.
3043         * io/tst-readlinkat.c: Include sys/stat.h.
3044         * io/tst-renameat.c: Include sys/stat.h.
3045         * io/tst-symlinkat.c: Include sys/stat.h.
3046         * io/tst-unlinkat.c: Include stdbool.h.
3047         * libio/bug-memstream1.c: Include stdlib.h.
3048         * libio/bug-wmemstream1.c: Include stdlib.h.
3049         * libio/tst-fwrite-error.c: Include stdlib.h.
3050         * libio/tst-memstream1.c: Include stdlib.h.
3051         * libio/tst-memstream2.c: Include stdlib.h.
3052         * libio/tst-memstream3.c: Include stdlib.h.
3053         * malloc/tst-interpose-aux.c: Include stdint.h.
3054         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
3055         * nptl/tst-basic7.c: Include limits.h.
3056         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
3057         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
3058         * nptl/tst-cancel4_1.c: Include stddef.h.
3059         * nptl/tst-cancel4_2.c: Include stddef.h.
3060         * nptl/tst-cond16.c: Include limits.h.
3061         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3062         * nptl/tst-cond18.c: Include limits.h.
3063         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3064         * nptl/tst-cond4.c: Include stdint.h.
3065         * nptl/tst-cond6.c: Include stdint.h.
3066         * nptl/tst-stack2.c: Include limits.h.
3067         * nptl/tst-stackguard1.c: Include stddef.h.
3068         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
3069         * nptl/tst-tls4moda.c: Include stddef.h.
3070         Don't include stdio.h, unistd.h, or tls.h.
3071         * nptl/tst-tls4modb.c: Include stddef.h.
3072         Don't include stdio.h, unistd.h, or tls.h.
3073         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
3074         * posix/tst-getaddrinfo2.c: Include stdio.h.
3075         * posix/tst-getaddrinfo5.c: Include stdio.h.
3076         * posix/tst-pathconf.c: Include sys/stat.h.
3077         * posix/tst-posix_fadvise-common.c: Include stdint.h.
3078         * posix/tst-preadwrite-common.c: Include sys/stat.h.
3079         * posix/tst-regex.c: Include stdint.h.
3080         Don't include spawn.h or spawn_int.h.
3081         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
3082         * posix/tst-vfork3.c: Include sys/stat.h.
3083         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
3084         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
3085         * resolv/tst-resolv-search.c: Include stdlib.h.
3086         * stdio-common/tst-fmemopen2.c: Include stdint.h.
3087         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
3088         * stdlib/test-canon.c: Include sys/stat.h.
3089         * stdlib/tst-tls-atexit.c: Include stdbool.h.
3090         * string/test-memchr.c: Include stdint.h.
3091         * string/tst-cmp.c: Include stdint.h.
3092         * sysdeps/pthread/tst-timer.c: Include stdint.h.
3093         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
3094         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
3095         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3096         Don't include init-arch.h.
3097         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3098         Don't include init-arch.h.
3099         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
3100         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
3101         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
3102         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
3103         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
3104         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
3105         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
3106         * time/clocktest.c: Include stdint.h.
3107         * time/tst-posixtz.c: Include stdint.h.
3108         * timezone/tst-timezone.c: Include stdint.h.
3110 2017-02-16  Zack Weinberg  <zackw@panix.com>
3112         * string/string.h [__USE_MISC]: Include strings.h.
3113         (__bzero, bcmp, bcopy, bzero, index, rindex)
3114         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
3115         (ffs, ffsl, ffsll): Don't declare.
3116         * string/strings.h: Do not suppress the file if string.h has
3117         already been included.
3118         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
3119         annotations.
3120         (index, rindex): Define inline forwarders even if
3121         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
3122         (ffs): Use __attribute_const__.
3123         (ffsl, ffsll): Declare here.
3124         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
3125         have now been standardized.
3126         * include/string.h (__bzero): Declare here.
3128         * bits/types.h: Move to posix/bits.
3129         * include/bits/types.h: New wrapper.
3131 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3133         * string/bits/string2.h (strcmp): Remove define.
3134         (__strcmp_cg): Likewise.
3135         (strncmp): Likewise.
3137 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3139         * include/string.h: Add __cplusplus check.
3141 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3143         [BZ #21134]
3144         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
3145         "divide by zero" exception when the input is zero.
3146         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
3147         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
3148         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
3149         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
3150         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3152 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
3154         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
3155         and include ...
3156         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
3157         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
3158         to, and include ...
3159         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
3160         file.
3161         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
3162         and include ...
3163         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
3164         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
3165         and include ...
3166         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
3167         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
3168         and include ...
3169         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
3170         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
3171         and include ...
3172         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
3173         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
3174         to, and include ...
3175         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
3176         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
3177         and include ...
3178         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
3180 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
3182         * math/libm-test-support.h: Do not include <math-tests-arch.h>
3183         here.
3184         * math/libm-test-support.c (libm_test_init): Do not call
3185         INIT_ARCH_EXT here.
3186         * math/libm-test-driver.c: Include <math-tests-arch.h>.
3187         (main): Call INIT_ARCH_EXT.
3189 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3191         [BZ #21130]
3192         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
3193         with the "invalid" exception raised when x is -Inf.
3194         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3196 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
3198         * string/bits/string2.h (strchr): Remove define.
3200 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
3202         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
3203         tst-avx512.
3204         (test-extras): Add tst-avx-aux and tst-avx512-aux.
3205         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
3206         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
3207         ($(objpfx)tst-sse): New rule.
3208         ($(objpfx)tst-avx): Likewise.
3209         ($(objpfx)tst-avx512): Likewise.
3210         (CFLAGS-tst-avx-aux.c): New.
3211         (CFLAGS-tst-avxmod.c): Likewise.
3212         (CFLAGS-tst-avx512-aux.c): Likewise.
3213         (CFLAGS-tst-avx512mod.c): Likewise.
3214         * sysdeps/x86_64/tst-avx-aux.c: New file.
3215         * sysdeps/x86_64/tst-avx.c: Likewise.
3216         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
3217         * sysdeps/x86_64/tst-avx512.c: Likewise.
3218         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
3219         * sysdeps/x86_64/tst-avxmod.c: Likewise.
3220         * sysdeps/x86_64/tst-sse.c: Likewise.
3221         * sysdeps/x86_64/tst-ssemod.c: Likewise.
3223 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3225         * math/auto-libm-test-in: Add more tests of csin and csinh.
3226         * math/auto-libm-test-out-csin: Regenerated.
3227         * math/auto-libm-test-out-csinh: Likewise.
3228         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
3229         auto-libm-test-in.
3230         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
3232 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3234         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
3235         libm-compat-calls-auto.
3236         (libm-compat-calls): Likewise.
3237         (libm-compat-calls-auto): Rename to libm-compat-calls and add
3238         w_lgamma_compatF and k_standardF (merged from the items above).
3239         (libm-routines): Use libm-compat-calls, instead of
3240         libm-compat-calls-auto, with type-foreach.
3242 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3244         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
3245         macro.
3246         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
3247         (CFLAGS-test-ifloat.c): ... this.  Remove
3248         -U__LIBC_INTERNAL_MATH_INLINES.
3249         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
3250         (CFLAGS-test-idouble.c): ... this.  Remove
3251         -U__LIBC_INTERNAL_MATH_INLINES.
3252         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
3253         (CFLAGS-test-ildouble.c): ... this.  Remove
3254         -U__LIBC_INTERNAL_MATH_INLINES.
3256 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
3258         * math/libm-test-support.c: New file.  Content from
3259         math/libm-test-driver.c.
3260         * math/libm-test-support.h: Likewise.
3261         * math/libm-test-support-double.c: New file.
3262         * math/libm-test-support-float.c: Likewise.
3263         * math/libm-test-support-ldouble.c: Likewise.
3264         * math/libm-test-driver.c: Remove main comment and header
3265         includes.  Include libm-test-support.h.
3266         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
3267         (flag_test_errno): Remove static.
3268         (flag_test_exceptions): Likewise.
3269         (flag_test_finite): Likewise.
3270         (flag_test_inline): Likewise.
3271         (flag_test_mathvec): Likewise.
3272         (test_msg): Likewise.
3273         (NO_EXCEPTION): Remove.
3274         (INVALID_EXCEPTION): Likewise.
3275         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3276         (OVERFLOW_EXCEPTION): Likewise.
3277         (UNDERFLOW_EXCEPTION): Likewise.
3278         (INEXACT_EXCEPTION): Likewise.
3279         (INVALID_EXCEPTION_OK): Likewise.
3280         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3281         (OVERFLOW_EXCEPTION_OK): Likewise.
3282         (UNDERFLOW_EXCEPTION_OK): Likewise.
3283         (NO_INEXACT_EXCEPTION): Likewise.
3284         (EXCEPTIONS_OK): Likewise.
3285         (IGNORE_ZERO_INF_SIGN): Likewise.
3286         (TEST_NAN_SIGN): Likewise.
3287         (TEST_NAN_PAYLOAD): Likewise.
3288         (NO_TEST_INLINE): Likewise.
3289         (XFAIL_TEST): Likewise.
3290         (ERRNO_UNCHANGED): Likewise.
3291         (ERRNO_EDOM): Likewise.
3292         (ERRNO_ERANGE): Likewise.
3293         (IGNORE_RESULT): Likewise.
3294         (NON_FINITE): Likewise.
3295         (TEST_SNAN): Likewise.
3296         (NO_TEST_MATHVEC): Likewise.
3297         (__CONCATX): Likewise.
3298         (TYPE_MIN): Likewise.
3299         (TYPE_TRUE_MIN): Likewise.
3300         (TYPE_MAX): Likewise.
3301         (MIN_EXP): Likewise.
3302         (MAX_EXP): Likewise.
3303         (MANT_DIG): Likewise.
3304         (FSTR_MAX): Likewise.
3305         (ulp_idx): Likewise.
3306         (qtype_str): Remove static.
3307         (TEST_COND_binary32): Remove.
3308         (TEST_COND_binary64): Likewise.
3309         (TEST_COND_binary128): Likewise.
3310         (TEST_COND_ibm128): Likewise.
3311         (TEST_COND_intel96): Likewise.
3312         (TEST_COND_m68k96): Likewise.
3313         (TEST_COND_ibm128_libgcc): Likewise.
3314         (XFAIL_IBM128_LIBGCC): Likewise.
3315         (PAYLOAD_DIG): Likewise.
3316         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3317         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3318         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3319         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3320         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3321         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3322         (TEST_COND_long32): Likewise.
3323         (TEST_COND_long64): Likewise.
3324         (TEST_COND_before_rounding): Likewise.
3325         (TEST_COND_after_rounding): Likewise.
3326         (ulps_file_name): Likewise.
3327         (ulps_file): Likewise.
3328         (output_ulps): Likewise.
3329         (output_dir): Likewise.
3330         (noErrors): Likewise.
3331         (noTests): Likewise.
3332         (noExcTests): Likewise.
3333         (noErrnoTests): Likewise.
3334         (verbose): Likewise.
3335         (output_max_error): Likewise.
3336         (output_points): Likewise.
3337         (ignore_max_ulp): Likewise.
3338         (max_error): Likewise.
3339         (real_max_error): Likewise.
3340         (imag_max_error): Likewise.
3341         (prev_max_error): Likewise.
3342         (prev_real_max_error): Likewise.
3343         (prev_imag_max_error): Likewise.
3344         (max_valid_error): Likewise.
3345         (TYPE_DECIMAL_DIG): Likewise.
3346         (TYPE_HEX_DIG): Likewise.
3347         (fmt_ftostr): Likewise.
3348         (compare_ulp_data): Likewise.
3349         (find_ulps): Likewise.
3350         (init_max_error): Likewise.
3351         (set_max_error): Likewise.
3352         (print_float): Likewise.
3353         (print_screen): Likewise.
3354         (print_screen_max_error): Likewise.
3355         (update_stats): Likewise.
3356         (print_function_ulps): Likewise.
3357         (print_complex_function_ulps): Likewise.
3358         (fpstack_test): Likewise.
3359         (print_max_error): Likewise.
3360         (print_complex_max_error): Likewise.
3361         (test_single_exception): Likewise.
3362         (test_exceptions): Likewise.
3363         (test_single_errno): Likewise.
3364         (test_errno): Likewise.
3365         (ULPDIFF): Likewise.
3366         (ulp): Likewise.
3367         (check_float_internal): Likewise.
3368         (check_float): Likewise.
3369         (check_complex): Likewise.
3370         (check_int): Likewise.
3371         (check_long): Likewise.
3372         (check_bool): Likewise.
3373         (check_longlong): Likewise.
3374         (check_intmax_t): Likewise.
3375         (check_uintmax_t): Likewise.
3376         (enable_test): Likewise.
3377         (matherr): Likewise.
3378         (initialize): Likewise.
3379         (options): Likewise.
3380         (doc): Remove static.
3381         (argp): Likewise.
3382         (parse_opt): Remove.
3383         (check_ulp): Likewise.
3384         (libm_test_init): Likewise.
3385         (libm_test_finish): Likewise.
3386         * math/Makefile (libm-test-support): New variable.
3387         (test-extras): Add libm-test-support files.
3388         (extra-test-objs): Likewise.
3389         (CFLAGS-libm-test-support-float.c): New variable.
3390         (CFLAGS-libm-test-support-double.c): Likewise.
3391         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3392         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3393         libm-test-support objects.
3395 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3397         * math/Makefile (libm-calls): Move w_exp...
3398         (libm-compat-calls-auto): Here.
3400         * math/w_expl.c: Add suffix "_compat" to filename.
3401         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3402         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3403         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3404         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3405         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3406         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3407         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3408         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3410         * math/w_expl_compat.c: New file, copied from above.
3411         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3412         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3413         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3414         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3415         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3416         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3417         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3418         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3420         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3421         to filename.
3422         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3424         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3425         copied from above and adjusted for the new filenames.
3426         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3428 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3430         * math/Makefile (libm-calls): Move w_lgammaF...
3431         (libm-compat-calls-auto): Here.
3433         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3434         * math/w_lgammaf.c: Likewise.
3435         * math/w_lgammal.c: Likewise.
3437         * math/w_lgamma_compat2.c: New file, copied from above.
3438         * math/w_lgammaf_compat2.c: Likewise.
3439         * math/w_lgammal_compat2.c: Likewise.
3441 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3443         * math/Makefile (libm-calls): Move w_lgammaF_r...
3444         (libm-compat-calls-auto): Here.
3446         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3447         * math/w_lgammaf_r.c: Likewise.
3448         * math/w_lgammal_r.c: Likewise.
3449         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3450         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3451         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3453         * math/w_lgamma_r_compat.c: New file, copied from above.
3454         * math/w_lgammaf_r_compat.c: Likewise.
3455         * math/w_lgammal_r_compat.c: Likewise.
3456         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3457         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3458         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3460         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3461         to filename.
3462         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3464         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3465         copied from above and adjusted for the new filenames.
3466         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3468 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3470         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3471         calculation in SYSCALL_ERROR_HANDLER().
3473 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3475         * manual/contrib.texi: Fix typo.
3477 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3479         [BZ #21109]
3480         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3481         tunable_val_t as argument.
3482         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3483         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3484         argument.
3485         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3487 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3489         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3490         Add PTRACE_EVENT_STOP.
3491         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3494         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3495         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3496         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3498 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3500         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3501         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3502         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3503         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3504         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3505         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3506         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3507         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3508         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3509         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3511         [BZ #21112]
3512         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3513         12 bits zero.
3514         (cp_l): Update for new value of cp_h.
3515         * math/auto-libm-test-in: Add another test of pow.
3516         * math/auto-libm-test-out-pow: Regenerated.
3518 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3520         * manual/contrib.texi: Fix typo.
3522 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3524         [BZ #15998]
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3526         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3529 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3531         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3532         STRCHR as __strchr_power8.
3533         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3534         strlen as __strlen_power8.
3536 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3538         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3539         unaligned load for shorter strings.
3540         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3542 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3544         * math/libm-test-driver.c (flag_test_errno): New variable.
3545         (flag_test_exceptions): Likewise.
3546         (flag_test_finite): Likewise.
3547         (flag_test_inline): Likewise.
3548         (flag_test_mathvec): Likewise.
3549         (test_msg): Likewise.
3550         (ulp_idx): Likewise.
3551         (qtype_str): Likewise.
3552         (ULP_IDX): Remove macro.
3553         (QTYPE_STR): Likewise.
3554         (find_ulps): Use ulp_idx not ULP_IDX.
3555         (print_function_ulps): Use qtype_str, printed with %s, not
3556         QTYPE_STR, printed with concatentation to format string.
3557         (print_complex_function_ulps): Likewise.
3558         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3559         (test_errno): Use flag_test_errno not TEST_ERRNO.
3560         (enable_test): Use flag_test_inline, flag_test_finite and
3561         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3562         TEST_MATHVEC.
3563         (libm_test_init): New function.  Factored out of main.
3564         (libm_test_finish): Likewise.
3565         (main): Call libm_test_init and libm_test_finish and move most
3566         code to those functions.
3568         * math/libm-test-driver.c (STRX): New macro.
3569         (STR): Likewise.
3570         (STR_FLOAT): Likewise.
3571         (STR_VEC_LEN): Likewise.
3572         (TEST_MSG): Likewise.  Define here instead of expecting to be
3573         defined by including file.
3574         * math/test-double-finite.c (TEST_MSG): Remove macro.
3575         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3576         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3577         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3578         * math/test-double.c (TEST_MSG): Likewise.
3579         * math/test-float-finite.c (TEST_MSG): Likewise.
3580         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3581         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3582         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3583         * math/test-float.c (TEST_MSG): Likewise.
3584         * math/test-idouble.c (TEST_MSG): Likewise.
3585         * math/test-ifloat.c (TEST_MSG): Likewise.
3586         * math/test-ildouble.c (TEST_MSG): Likewise.
3587         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3588         * math/test-ldouble.c (TEST_MSG): Likewise.
3590         * math/libm-test.inc: Move all tests of individual functions to
3591         libm-test-*.inc and #include libm-test-*.c files.
3592         (acos_test_data): Remove.
3593         (acos_test): Likewise.
3594         (acosh_test_data): Likewise.
3595         (acosh_test): Likewise.
3596         (asin_test_data): Likewise.
3597         (asin_test): Likewise.
3598         (asinh_test_data): Likewise.
3599         (asinh_test): Likewise.
3600         (atan_test_data): Likewise.
3601         (atan_test): Likewise.
3602         (atanh_test_data): Likewise.
3603         (atanh_test): Likewise.
3604         (atan2_test_data): Likewise.
3605         (atan2_test): Likewise.
3606         (cabs_test_data): Likewise.
3607         (cabs_test): Likewise.
3608         (cacos_test_data): Likewise.
3609         (cacos_test): Likewise.
3610         (cacosh_test_data): Likewise.
3611         (cacosh_test): Likewise.
3612         (canonicalize_test_data): Likewise.
3613         (canonicalize_test): Likewise.
3614         (carg_test_data): Likewise.
3615         (carg_test): Likewise.
3616         (casin_test_data): Likewise.
3617         (casin_test): Likewise.
3618         (casinh_test_data): Likewise.
3619         (casinh_test): Likewise.
3620         (catan_test_data): Likewise.
3621         (catan_test): Likewise.
3622         (catanh_test_data): Likewise.
3623         (catanh_test): Likewise.
3624         (cbrt_test_data): Likewise.
3625         (cbrt_test): Likewise.
3626         (ccos_test_data): Likewise.
3627         (ccos_test): Likewise.
3628         (ccosh_test_data): Likewise.
3629         (ccosh_test): Likewise.
3630         (ceil_test_data): Likewise.
3631         (ceil_test): Likewise.
3632         (cexp_test_data): Likewise.
3633         (cexp_test): Likewise.
3634         (cimag_test_data): Likewise.
3635         (cimag_test): Likewise.
3636         (clog_test_data): Likewise.
3637         (clog_test): Likewise.
3638         (clog10_test_data): Likewise.
3639         (clog10_test): Likewise.
3640         (conj_test_data): Likewise.
3641         (conj_test): Likewise.
3642         (copysign_test_data): Likewise.
3643         (copysign_test): Likewise.
3644         (cos_test_data): Likewise.
3645         (cos_test): Likewise.
3646         (cosh_test_data): Likewise.
3647         (cosh_test): Likewise.
3648         (cpow_test_data): Likewise.
3649         (cpow_test): Likewise.
3650         (cproj_test_data): Likewise.
3651         (cproj_test): Likewise.
3652         (creal_test_data): Likewise.
3653         (creal_test): Likewise.
3654         (csin_test_data): Likewise.
3655         (csin_test): Likewise.
3656         (csinh_test_data): Likewise.
3657         (csinh_test): Likewise.
3658         (csqrt_test_data): Likewise.
3659         (csqrt_test): Likewise.
3660         (ctan_test_data): Likewise.
3661         (ctan_test): Likewise.
3662         (ctanh_test_data): Likewise.
3663         (ctanh_test): Likewise.
3664         (erf_test_data): Likewise.
3665         (erf_test): Likewise.
3666         (erfc_test_data): Likewise.
3667         (erfc_test): Likewise.
3668         (exp_test_data): Likewise.
3669         (exp_test): Likewise.
3670         (exp10_test_data): Likewise.
3671         (exp10_test): Likewise.
3672         (pow10_test): Likewise.
3673         (exp2_test_data): Likewise.
3674         (exp2_test): Likewise.
3675         (expm1_test_data): Likewise.
3676         (expm1_test): Likewise.
3677         (fabs_test_data): Likewise.
3678         (fabs_test): Likewise.
3679         (fdim_test_data): Likewise.
3680         (fdim_test): Likewise.
3681         (floor_test_data): Likewise.
3682         (floor_test): Likewise.
3683         (fma_test_data): Likewise.
3684         (fma_test): Likewise.
3685         (fmax_test_data): Likewise.
3686         (fmax_test): Likewise.
3687         (fmaxmag_test_data): Likewise.
3688         (fmaxmag_test): Likewise.
3689         (fmin_test_data): Likewise.
3690         (fmin_test): Likewise.
3691         (fminmag_test_data): Likewise.
3692         (fminmag_test): Likewise.
3693         (fmod_test_data): Likewise.
3694         (fmod_test): Likewise.
3695         (fpclassify_test_data): Likewise.
3696         (fpclassify_test): Likewise.
3697         (frexp_test_data): Likewise.
3698         (frexp_test): Likewise.
3699         (fromfp_test_data): Likewise.
3700         (fromfp_test): Likewise.
3701         (fromfpx_test_data): Likewise.
3702         (fromfpx_test): Likewise.
3703         (getpayload_test_data): Likewise.
3704         (getpayload_test): Likewise.
3705         (hypot_test_data): Likewise.
3706         (hypot_test): Likewise.
3707         (ilogb_test_data): Likewise.
3708         (ilogb_test): Likewise.
3709         (iscanonical_test_data): Likewise.
3710         (iscanonical_test): Likewise.
3711         (iseqsig_test_data): Likewise.
3712         (iseqsig_test): Likewise.
3713         (isfinite_test_data): Likewise.
3714         (isfinite_test): Likewise.
3715         (finite_test): Likewise.
3716         (isgreater_test_data): Likewise.
3717         (isgreater_test): Likewise.
3718         (isgreaterequal_test_data): Likewise.
3719         (isgreaterequal_test): Likewise.
3720         (isinf_test_data): Likewise.
3721         (isinf_test): Likewise.
3722         (isless_test_data): Likewise.
3723         (isless_test): Likewise.
3724         (islessequal_test_data): Likewise.
3725         (islessequal_test): Likewise.
3726         (islessgreater_test_data): Likewise.
3727         (islessgreater_test): Likewise.
3728         (isnan_test_data): Likewise.
3729         (isnan_test): Likewise.
3730         (isnormal_test_data): Likewise.
3731         (isnormal_test): Likewise.
3732         (issignaling_test_data): Likewise.
3733         (issignaling_test): Likewise.
3734         (issubnormal_test_data): Likewise.
3735         (issubnormal_test): Likewise.
3736         (isunordered_test_data): Likewise.
3737         (isunordered_test): Likewise.
3738         (iszero_test_data): Likewise.
3739         (iszero_test): Likewise.
3740         (j0_test_data): Likewise.
3741         (j0_test): Likewise.
3742         (j1_test_data): Likewise.
3743         (j1_test): Likewise.
3744         (jn_test_data): Likewise.
3745         (jn_test): Likewise.
3746         (lgamma_test_data): Likewise.
3747         (lgamma_test): Likewise.
3748         (gamma_test): Likewise.
3749         (llogb_test_data): Likewise.
3750         (llogb_test): Likewise.
3751         (lrint_test_data): Likewise.
3752         (lrint_test): Likewise.
3753         (llrint_test_data): Likewise.
3754         (llrint_test): Likewise.
3755         (log_test_data): Likewise.
3756         (log_test): Likewise.
3757         (log10_test_data): Likewise.
3758         (log10_test): Likewise.
3759         (log1p_test_data): Likewise.
3760         (log1p_test): Likewise.
3761         (log2_test_data): Likewise.
3762         (log2_test): Likewise.
3763         (logb_test_data): Likewise.
3764         (logb_test): Likewise.
3765         (lround_test_data): Likewise.
3766         (lround_test): Likewise.
3767         (llround_test_data): Likewise.
3768         (llround_test): Likewise.
3769         (modf_test_data): Likewise.
3770         (modf_test): Likewise.
3771         (nearbyint_test_data): Likewise.
3772         (nearbyint_test): Likewise.
3773         (nextafter_test_data): Likewise.
3774         (nextafter_test): Likewise.
3775         (nextup_test_data): Likewise.
3776         (nextup_test): Likewise.
3777         (nextdown_test_data): Likewise.
3778         (nextdown_test): Likewise.
3779         (nexttoward_test_data): Likewise.
3780         (nexttoward_test): Likewise.
3781         (pow_test_data): Likewise.
3782         (pow_test): Likewise.
3783         (remainder_test_data): Likewise.
3784         (remainder_test): Likewise.
3785         (drem_test): Likewise.
3786         (remquo_test_data): Likewise.
3787         (remquo_test): Likewise.
3788         (rint_test_data): Likewise.
3789         (rint_test): Likewise.
3790         (round_test_data): Likewise.
3791         (round_test): Likewise.
3792         (roundeven_test_data): Likewise.
3793         (roundeven_test): Likewise.
3794         (scalb_test_data): Likewise.
3795         (scalb_test): Likewise.
3796         (scalbn_test_data): Likewise.
3797         (scalbn_test): Likewise.
3798         (ldexp_test): Likewise.
3799         (scalbln_test_data): Likewise.
3800         (scalbln_test): Likewise.
3801         (setpayload_test_data): Likewise.
3802         (setpayload_test): Likewise.
3803         (setpayloadsig_test_data): Likewise.
3804         (setpayloadsig_test): Likewise.
3805         (signbit_test_data): Likewise.
3806         (signbit_test): Likewise.
3807         (sin_test_data): Likewise.
3808         (sin_test): Likewise.
3809         (sincos_test_data): Likewise.
3810         (sincos_test): Likewise.
3811         (sinh_test_data): Likewise.
3812         (sinh_test): Likewise.
3813         (sqrt_test_data): Likewise.
3814         (sqrt_test): Likewise.
3815         (tan_test_data): Likewise.
3816         (tan_test): Likewise.
3817         (tanh_test_data): Likewise.
3818         (tanh_test): Likewise.
3819         (tgamma_test_data): Likewise.
3820         (tgamma_test): Likewise.
3821         (totalorder_test_data): Likewise.
3822         (totalorder_test): Likewise.
3823         (totalordermag_test_data): Likewise.
3824         (totalordermag_test): Likewise.
3825         (trunc_test_data): Likewise.
3826         (trunc_test): Likewise.
3827         (ufromfp_test_data): Likewise.
3828         (ufromfp_test): Likewise.
3829         (ufromfpx_test_data): Likewise.
3830         (ufromfpx_test): Likewise.
3831         (y0_test_data): Likewise.
3832         (y0_test): Likewise.
3833         (y1_test_data): Likewise.
3834         (y1_test): Likewise.
3835         (yn_test_data): Likewise.
3836         (yn_test): Likewise.
3837         (significand_test_data): Likewise.
3838         (significand_test): Likewise.
3839         * math/Makefile (auto-libm-test-out-files): Remove variable.
3840         (libm-test-funcs-noauto): New variable.
3841         (libm-test-funcs-all): Likewise.
3842         (libm-test-c-auto): Likewise.
3843         (libm-test-c-noauto): Likewise.
3844         (libm-tests-generated): Add $(libm-test-c-auto) and
3845         $(libm-test-c-noauto).
3846         (generated): Do not add auto-libm-test-out.
3847         (libm-test-c-auto-obj): New variable.
3848         (libm-test-c-noauto-obj): Likewise.
3849         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3850         ($(libm-test-c-noauto-obj)): New static pattern rule.
3851         ($(libm-test-c-auto-obj)): Likewise.
3852         (libm-test-incs): New variable.
3853         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3854         and pass it to gen-libm-have-vector-test.sh.
3855         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3856         be passed on command line.
3857         * math/libm-test-acos.inc: New file.  Content from
3858         math/libm-test.inc.
3859         * math/libm-test-acosh.inc: Likewise.
3860         * math/libm-test-asin.inc: Likewise.
3861         * math/libm-test-asinh.inc: Likewise.
3862         * math/libm-test-atan.inc: Likewise.
3863         * math/libm-test-atan2.inc: Likewise.
3864         * math/libm-test-atanh.inc: Likewise.
3865         * math/libm-test-cabs.inc: Likewise.
3866         * math/libm-test-cacos.inc: Likewise.
3867         * math/libm-test-cacosh.inc: Likewise.
3868         * math/libm-test-canonicalize.inc: Likewise.
3869         * math/libm-test-carg.inc: Likewise.
3870         * math/libm-test-casin.inc: Likewise.
3871         * math/libm-test-casinh.inc: Likewise.
3872         * math/libm-test-catan.inc: Likewise.
3873         * math/libm-test-catanh.inc: Likewise.
3874         * math/libm-test-cbrt.inc: Likewise.
3875         * math/libm-test-ccos.inc: Likewise.
3876         * math/libm-test-ccosh.inc: Likewise.
3877         * math/libm-test-ceil.inc: Likewise.
3878         * math/libm-test-cexp.inc: Likewise.
3879         * math/libm-test-cimag.inc: Likewise.
3880         * math/libm-test-clog.inc: Likewise.
3881         * math/libm-test-clog10.inc: Likewise.
3882         * math/libm-test-conj.inc: Likewise.
3883         * math/libm-test-copysign.inc: Likewise.
3884         * math/libm-test-cos.inc: Likewise.
3885         * math/libm-test-cosh.inc: Likewise.
3886         * math/libm-test-cpow.inc: Likewise.
3887         * math/libm-test-cproj.inc: Likewise.
3888         * math/libm-test-creal.inc: Likewise.
3889         * math/libm-test-csin.inc: Likewise.
3890         * math/libm-test-csinh.inc: Likewise.
3891         * math/libm-test-csqrt.inc: Likewise.
3892         * math/libm-test-ctan.inc: Likewise.
3893         * math/libm-test-ctanh.inc: Likewise.
3894         * math/libm-test-erf.inc: Likewise.
3895         * math/libm-test-erfc.inc: Likewise.
3896         * math/libm-test-exp.inc: Likewise.
3897         * math/libm-test-exp10.inc: Likewise.
3898         * math/libm-test-exp2.inc: Likewise.
3899         * math/libm-test-expm1.inc: Likewise.
3900         * math/libm-test-fabs.inc: Likewise.
3901         * math/libm-test-fdim.inc: Likewise.
3902         * math/libm-test-floor.inc: Likewise.
3903         * math/libm-test-fma.inc: Likewise.
3904         * math/libm-test-fmax.inc: Likewise.
3905         * math/libm-test-fmaxmag.inc: Likewise.
3906         * math/libm-test-fmin.inc: Likewise.
3907         * math/libm-test-fminmag.inc: Likewise.
3908         * math/libm-test-fmod.inc: Likewise.
3909         * math/libm-test-fpclassify.inc: Likewise.
3910         * math/libm-test-frexp.inc: Likewise.
3911         * math/libm-test-fromfp.inc: Likewise.
3912         * math/libm-test-fromfpx.inc: Likewise.
3913         * math/libm-test-getpayload.inc: Likewise.
3914         * math/libm-test-hypot.inc: Likewise.
3915         * math/libm-test-ilogb.inc: Likewise.
3916         * math/libm-test-iscanonical.inc: Likewise.
3917         * math/libm-test-iseqsig.inc: Likewise.
3918         * math/libm-test-isfinite.inc: Likewise.
3919         * math/libm-test-isgreater.inc: Likewise.
3920         * math/libm-test-isgreaterequal.inc: Likewise.
3921         * math/libm-test-isinf.inc: Likewise.
3922         * math/libm-test-isless.inc: Likewise.
3923         * math/libm-test-islessequal.inc: Likewise.
3924         * math/libm-test-islessgreater.inc: Likewise.
3925         * math/libm-test-isnan.inc: Likewise.
3926         * math/libm-test-isnormal.inc: Likewise.
3927         * math/libm-test-issignaling.inc: Likewise.
3928         * math/libm-test-issubnormal.inc: Likewise.
3929         * math/libm-test-isunordered.inc: Likewise.
3930         * math/libm-test-iszero.inc: Likewise.
3931         * math/libm-test-j0.inc: Likewise.
3932         * math/libm-test-j1.inc: Likewise.
3933         * math/libm-test-jn.inc: Likewise.
3934         * math/libm-test-lgamma.inc: Likewise.
3935         * math/libm-test-llogb.inc: Likewise.
3936         * math/libm-test-llrint.inc: Likewise.
3937         * math/libm-test-llround.inc: Likewise.
3938         * math/libm-test-log.inc: Likewise.
3939         * math/libm-test-log10.inc: Likewise.
3940         * math/libm-test-log1p.inc: Likewise.
3941         * math/libm-test-log2.inc: Likewise.
3942         * math/libm-test-logb.inc: Likewise.
3943         * math/libm-test-lrint.inc: Likewise.
3944         * math/libm-test-lround.inc: Likewise.
3945         * math/libm-test-modf.inc: Likewise.
3946         * math/libm-test-nearbyint.inc: Likewise.
3947         * math/libm-test-nextafter.inc: Likewise.
3948         * math/libm-test-nextdown.inc: Likewise.
3949         * math/libm-test-nexttoward.inc: Likewise.
3950         * math/libm-test-nextup.inc: Likewise.
3951         * math/libm-test-pow.inc: Likewise.
3952         * math/libm-test-remainder.inc: Likewise.
3953         * math/libm-test-remquo.inc: Likewise.
3954         * math/libm-test-rint.inc: Likewise.
3955         * math/libm-test-round.inc: Likewise.
3956         * math/libm-test-roundeven.inc: Likewise.
3957         * math/libm-test-scalb.inc: Likewise.
3958         * math/libm-test-scalbln.inc: Likewise.
3959         * math/libm-test-scalbn.inc: Likewise.
3960         * math/libm-test-setpayload.inc: Likewise.
3961         * math/libm-test-setpayloadsig.inc: Likewise.
3962         * math/libm-test-signbit.inc: Likewise.
3963         * math/libm-test-significand.inc: Likewise.
3964         * math/libm-test-sin.inc: Likewise.
3965         * math/libm-test-sincos.inc: Likewise.
3966         * math/libm-test-sinh.inc: Likewise.
3967         * math/libm-test-sqrt.inc: Likewise.
3968         * math/libm-test-tan.inc: Likewise.
3969         * math/libm-test-tanh.inc: Likewise.
3970         * math/libm-test-tgamma.inc: Likewise.
3971         * math/libm-test-totalorder.inc: Likewise.
3972         * math/libm-test-totalordermag.inc: Likewise.
3973         * math/libm-test-trunc.inc: Likewise.
3974         * math/libm-test-ufromfp.inc: Likewise.
3975         * math/libm-test-ufromfpx.inc: Likewise.
3976         * math/libm-test-y0.inc: Likewise.
3977         * math/libm-test-y1.inc: Likewise.
3978         * math/libm-test-yn.inc: Likewise.
3979         * math/README.libm-test: Update.
3981         * math/gen-auto-libm-tests.c: Update comment about use of program.
3982         (generate_output): Add argument FUNCTION.
3983         (main): Require extra argument.  Pass function name to
3984         generate_output.
3985         * math/Makefile (generated): Add auto-libm-test-out.
3986         (libm-test-funcs-auto): New variable.
3987         (auto-libm-test-out-files): New variable.
3988         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3989         Concatenate those files to form $(objpfx)auto-libm-test-out and
3990         use it as input to gen-libm-test.pl.
3991         * math/README.libm-test: Update.
3992         * math/auto-libm-test-out: Remove.
3993         * math/auto-libm-test-out-acos: New generated file.
3994         * math/auto-libm-test-out-acosh: Likewise.
3995         * math/auto-libm-test-out-asin: Likewise.
3996         * math/auto-libm-test-out-asinh: Likewise.
3997         * math/auto-libm-test-out-atan: Likewise.
3998         * math/auto-libm-test-out-atan2: Likewise.
3999         * math/auto-libm-test-out-atanh: Likewise.
4000         * math/auto-libm-test-out-cabs: Likewise.
4001         * math/auto-libm-test-out-carg: Likewise.
4002         * math/auto-libm-test-out-cbrt: Likewise.
4003         * math/auto-libm-test-out-ccos: Likewise.
4004         * math/auto-libm-test-out-ccosh: Likewise.
4005         * math/auto-libm-test-out-cexp: Likewise.
4006         * math/auto-libm-test-out-clog: Likewise.
4007         * math/auto-libm-test-out-clog10: Likewise.
4008         * math/auto-libm-test-out-cos: Likewise.
4009         * math/auto-libm-test-out-cosh: Likewise.
4010         * math/auto-libm-test-out-cpow: Likewise.
4011         * math/auto-libm-test-out-csin: Likewise.
4012         * math/auto-libm-test-out-csinh: Likewise.
4013         * math/auto-libm-test-out-csqrt: Likewise.
4014         * math/auto-libm-test-out-ctan: Likewise.
4015         * math/auto-libm-test-out-ctanh: Likewise.
4016         * math/auto-libm-test-out-erf: Likewise.
4017         * math/auto-libm-test-out-erfc: Likewise.
4018         * math/auto-libm-test-out-exp: Likewise.
4019         * math/auto-libm-test-out-exp10: Likewise.
4020         * math/auto-libm-test-out-exp2: Likewise.
4021         * math/auto-libm-test-out-expm1: Likewise.
4022         * math/auto-libm-test-out-fma: Likewise.
4023         * math/auto-libm-test-out-hypot: Likewise.
4024         * math/auto-libm-test-out-j0: Likewise.
4025         * math/auto-libm-test-out-j1: Likewise.
4026         * math/auto-libm-test-out-jn: Likewise.
4027         * math/auto-libm-test-out-lgamma: Likewise.
4028         * math/auto-libm-test-out-log: Likewise.
4029         * math/auto-libm-test-out-log10: Likewise.
4030         * math/auto-libm-test-out-log1p: Likewise.
4031         * math/auto-libm-test-out-log2: Likewise.
4032         * math/auto-libm-test-out-pow: Likewise.
4033         * math/auto-libm-test-out-sin: Likewise.
4034         * math/auto-libm-test-out-sincos: Likewise.
4035         * math/auto-libm-test-out-sinh: Likewise.
4036         * math/auto-libm-test-out-sqrt: Likewise.
4037         * math/auto-libm-test-out-tan: Likewise.
4038         * math/auto-libm-test-out-tanh: Likewise.
4039         * math/auto-libm-test-out-tgamma: Likewise.
4040         * math/auto-libm-test-out-y0: Likewise.
4041         * math/auto-libm-test-out-y1: Likewise.
4042         * math/auto-libm-test-out-yn: Likewise.
4044         * math/Makefile (generated): Do not include libm-test.stmp.
4045         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
4046         on $(objpfx)libm-test.stmp.
4047         ($(objpfx)libm-test.stmp): Remove rule.
4048         ($(objpfx)libm-test-ulps.h): New rule.
4049         ($(objpfx)libm-test.c): Likewise.
4050         ($(objpfx)libm-have-vector-test.h): Likewise.
4051         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
4052         individual generated files, not libm-test.stmp.
4054         * math/gen-libm-test.pl ($output_dir): Remove variable.
4055         ($srcdir): Likewise.
4056         ($opt_a): New variable.
4057         ($opt_c): Likewise.
4058         ($opt_C): Likewise.
4059         ($opt_H): Likewise.
4060         (-n): Make option take argument and use it as NewUlps output.
4061         (-a): New option.  Use its argument for auto-libm-test-out input.
4062         (-c): New option.  Use its argument for libm-test.inc input.
4063         (-C): New option.  Use its argument for libm-test.c output.
4064         (-H): New option.  Use its argument for libm-test-ulps.h output.
4065         (top level): Only process inputs needed to generate outputs
4066         specified by command-line options.  Only generate outputs
4067         specified by command-line options.
4068         * math/README.libm-test: Update example gen-libm-test.pl command.
4069         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
4070         commands.
4071         (regen-ulps): Likewise.
4073 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
4075         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
4076         * include/string.h (index): Remove define.
4077         (rindex): Likewise.
4078         * misc/getttyent.c (__getttyent): Rename index to strchr.
4079         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
4080         * sunrpc/rpc_main.c (mkfile_output): Likewise.
4082 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4084         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
4085         * math/libm-test.inc: Move all contents, other than tests of
4086         individual functions, to libm-test-driver.c.
4087         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
4088         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
4089         [!FE_UPWARD] (FE_UPWARD): Likewise.
4090         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
4091         (NO_EXCEPTION): Likewise.
4092         (INVALID_EXCEPTION): Likewise.
4093         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4094         (OVERFLOW_EXCEPTION): Likewise.
4095         (UNDERFLOW_EXCEPTION): Likewise.
4096         (INEXACT_EXCEPTION): Likewise.
4097         (INVALID_EXCEPTION_OK): Likewise.
4098         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4099         (OVERFLOW_EXCEPTION_OK): Likewise.
4100         (UNDERFLOW_EXCEPTION_OK): Likewise.
4101         (NO_INEXACT_EXCEPTION): Likewise.
4102         (EXCEPTIONS_OK): Likewise.
4103         (IGNORE_ZERO_INF_SIGN): Likewise.
4104         (TEST_NAN_SIGN): Likewise.
4105         (TEST_NAN_PAYLOAD): Likewise.
4106         (NO_TEST_INLINE): Likewise.
4107         (XFAIL_TEST): Likewise.
4108         (ERRNO_UNCHANGED): Likewise.
4109         (ERRNO_EDOM): Likewise.
4110         (ERRNO_ERANGE): Likewise.
4111         (IGNORE_RESULT): Likewise.
4112         (NON_FINITE): Likewise.
4113         (TEST_SNAN): Likewise.
4114         (NO_TEST_MATHVEC): Likewise.
4115         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
4116         (__CONCATX): Likewise.
4117         (TYPE_MIN): Likewise.
4118         (TYPE_TRUE_MIN): Likewise.
4119         (TYPE_MAX): Likewise.
4120         (MIN_EXP): Likewise.
4121         (MAX_EXP): Likewise.
4122         (MANT_DIG): Likewise.
4123         (FSTR_MAX): Likewise.
4124         (ULP_IDX): Likewise.
4125         (QTYPE_STR): Likewise.
4126         (TEST_COND_binary32): Likewise.
4127         (TEST_COND_binary64): Likewise.
4128         (TEST_COND_binary128): Likewise.
4129         (TEST_COND_ibm128): Likewise.
4130         (TEST_COND_intel96): Likewise.
4131         (TEST_COND_m68k96): Likewise.
4132         (TEST_COND_ibm128_libgcc): Likewise.
4133         (XFAIL_IBM128_LIBGCC): Likewise.
4134         (PAYLOAD_DIG): Likewise.
4135         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4136         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4137         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4138         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4139         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4140         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4141         (TEST_COND_long32): Likewise.
4142         (TEST_COND_long64): Likewise.
4143         (TEST_COND_before_rounding): Likewise.
4144         (TEST_COND_after_rounding): Likewise.
4145         (lit_pi_3_m_4_d): Likewise.
4146         (lit_pi_3_m_4_ln10_m_d): Likewise.
4147         (lit_pi_2_ln10_m_d): Likewise.
4148         (lit_pi_4_ln10_m_d): Likewise.
4149         (lit_pi_ln10_d): Likewise.
4150         (lit_pi_2_d): Likewise.
4151         (lit_pi_4_d): Likewise.
4152         (lit_pi): Likewise.
4153         (lit_e): Likewise.
4154         (ulps_file_name): Likewise.
4155         (ulps_file): Likewise.
4156         (output_ulps): Likewise.
4157         (output_dir): Likewise.
4158         (noErrors): Likewise.
4159         (noTests): Likewise.
4160         (noExcTests): Likewise.
4161         (noErrnoTests): Likewise.
4162         (verbose): Likewise.
4163         (output_max_error): Likewise.
4164         (output_points): Likewise.
4165         (ignore_max_ulp): Likewise.
4166         (plus_zero): Likewise.
4167         (minus_zero): Likewise.
4168         (plus_infty): Likewise.
4169         (minus_infty): Likewise.
4170         (qnan_value_pl): Likewise.
4171         (qnan_value): Likewise.
4172         (snan_value_pl): Likewise.
4173         (snan_value): Likewise.
4174         (max_value): Likewise.
4175         (min_value): Likewise.
4176         (min_subnorm_value): Likewise.
4177         (snan_value_ld): Likewise.
4178         (max_error): Likewise.
4179         (real_max_error): Likewise.
4180         (imag_max_error): Likewise.
4181         (prev_max_error): Likewise.
4182         (prev_real_max_error): Likewise.
4183         (prev_imag_max_error): Likewise.
4184         (max_valid_error): Likewise.
4185         (TYPE_DECIMAL_DIG): Likewise.
4186         (TYPE_HEX_DIG): Likewise.
4187         (fmt_ftostr): Likewise.
4188         (compare_ulp_data): Likewise.
4189         (find_ulps): Likewise.
4190         (init_max_error): Likewise.
4191         (set_max_error): Likewise.
4192         (print_float): Likewise.
4193         (print_screen): Likewise.
4194         (print_screen_max_error): Likewise.
4195         (update_stats): Likewise.
4196         (print_function_ulps): Likewise.
4197         (print_complex_function_ulps): Likewise.
4198         (fpstack_test): Likewise.
4199         (print_max_error): Likewise.
4200         (print_complex_max_error): Likewise.
4201         (test_single_exception): Likewise.
4202         (test_exceptions): Likewise.
4203         (test_single_errno): Likewise.
4204         (test_errno): Likewise.
4205         (ULPDIFF): Likewise.
4206         (ulp): Likewise.
4207         (check_float_internal): Likewise.
4208         (check_float): Likewise.
4209         (check_complex): Likewise.
4210         (check_int): Likewise.
4211         (check_long): Likewise.
4212         (check_bool): Likewise.
4213         (check_longlong): Likewise.
4214         (check_intmax_t): Likewise.
4215         (check_uintmax_t): Likewise.
4216         (enable_test): Likewise.
4217         (struct test_f_f_data): Likewise.
4218         (struct test_ff_f_data): Likewise.
4219         (struct test_fj_f_data): Likewise.
4220         (struct test_fi_f_data): Likewise.
4221         (struct test_fl_f_data): Likewise.
4222         (struct test_if_f_data): Likewise.
4223         (struct test_fff_f_data): Likewise.
4224         (struct test_fiu_M_data): Likewise.
4225         (struct test_fiu_U_data): Likewise.
4226         (struct test_c_f_data): Likewise.
4227         (struct test_f_f1_data): Likewise.
4228         (struct test_fF_f1_data): Likewise.
4229         (struct test_ffI_f1_data): Likewise.
4230         (struct test_c_c_data): Likewise.
4231         (struct test_cc_c_data): Likewise.
4232         (struct test_f_i_data): Likewise.
4233         (struct test_ff_i_data): Likewise.
4234         (struct test_f_l_data): Likewise.
4235         (struct test_f_L_data): Likewise.
4236         (struct test_fFF_11_data): Likewise.
4237         (struct test_Ff_b1_data): Likewise.
4238         (IF_ROUND_INIT_): Likewise.
4239         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4240         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4241         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4242         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4243         (ROUND_RESTORE_): Likewise.
4244         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4245         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4246         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4247         (ROUND_RESTORE_FE_UPWARD): Likewise.
4248         (RM_): Likewise.
4249         (RM_FE_DOWNWARD): Likewise.
4250         (RM_FE_TONEAREST): Likewise.
4251         (RM_FE_TOWARDZERO): Likewise.
4252         (RM_FE_UPWARD): Likewise.
4253         (COMMON_TEST_SETUP): Likewise.
4254         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4255         (COMMON_TEST_CLEANUP): Likewise.
4256         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4257         (RUN_TEST_f_f): Likewise.
4258         (RUN_TEST_LOOP_f_f): Likewise.
4259         (RUN_TEST_fp_f): Likewise.
4260         (RUN_TEST_LOOP_fp_f): Likewise.
4261         (RUN_TEST_2_f): Likewise.
4262         (RUN_TEST_LOOP_2_f): Likewise.
4263         (RUN_TEST_ff_f): Likewise.
4264         (RUN_TEST_LOOP_ff_f): Likewise.
4265         (RUN_TEST_LOOP_fj_f): Likewise.
4266         (RUN_TEST_fi_f): Likewise.
4267         (RUN_TEST_LOOP_fi_f): Likewise.
4268         (RUN_TEST_fl_f): Likewise.
4269         (RUN_TEST_LOOP_fl_f): Likewise.
4270         (RUN_TEST_if_f): Likewise.
4271         (RUN_TEST_LOOP_if_f): Likewise.
4272         (RUN_TEST_fff_f): Likewise.
4273         (RUN_TEST_LOOP_fff_f): Likewise.
4274         (RUN_TEST_fiu_M): Likewise.
4275         (RUN_TEST_LOOP_fiu_M): Likewise.
4276         (RUN_TEST_fiu_U): Likewise.
4277         (RUN_TEST_LOOP_fiu_U): Likewise.
4278         (RUN_TEST_c_f): Likewise.
4279         (RUN_TEST_LOOP_c_f): Likewise.
4280         (RUN_TEST_f_f1): Likewise.
4281         (RUN_TEST_LOOP_f_f1): Likewise.
4282         (RUN_TEST_fF_f1): Likewise.
4283         (RUN_TEST_LOOP_fF_f1): Likewise.
4284         (RUN_TEST_fI_f1): Likewise.
4285         (RUN_TEST_LOOP_fI_f1): Likewise.
4286         (RUN_TEST_ffI_f1_mod8): Likewise.
4287         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
4288         (RUN_TEST_Ff_b1): Likewise.
4289         (RUN_TEST_LOOP_Ff_b1): Likewise.
4290         (RUN_TEST_Ffp_b1): Likewise.
4291         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4292         (RUN_TEST_c_c): Likewise.
4293         (RUN_TEST_LOOP_c_c): Likewise.
4294         (RUN_TEST_cc_c): Likewise.
4295         (RUN_TEST_LOOP_cc_c): Likewise.
4296         (RUN_TEST_f_i): Likewise.
4297         (RUN_TEST_LOOP_f_i): Likewise.
4298         (RUN_TEST_f_i_tg): Likewise.
4299         (RUN_TEST_LOOP_f_i_tg): Likewise.
4300         (RUN_TEST_ff_b): Likewise.
4301         (RUN_TEST_LOOP_ff_b): Likewise.
4302         (RUN_TEST_ff_i_tg): Likewise.
4303         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4304         (RUN_TEST_f_b): Likewise.
4305         (RUN_TEST_LOOP_f_b): Likewise.
4306         (RUN_TEST_f_b_tg): Likewise.
4307         (RUN_TEST_LOOP_f_b_tg): Likewise.
4308         (RUN_TEST_f_l): Likewise.
4309         (RUN_TEST_LOOP_f_l): Likewise.
4310         (RUN_TEST_f_L): Likewise.
4311         (RUN_TEST_LOOP_f_L): Likewise.
4312         (RUN_TEST_fFF_11): Likewise.
4313         (RUN_TEST_LOOP_fFF_11): Likewise.
4314         (VEC_SUFF): Likewise.
4315         (STR_CONCAT): Likewise.
4316         (STR_CON3): Likewise.
4317         (HAVE_VECTOR): Likewise.
4318         (START): Likewise.
4319         (END): Likewise.
4320         (END_COMPLEX): Likewise.
4321         (ALL_RM_TEST): Likewise.
4322         (matherr): Likewise.
4323         (initialize): Likewise.
4324         (options): Likewise.
4325         (doc): Likewise.
4326         (parse_opt): Likewise.
4327         (argp): Likewise.
4328         (check_ulp): Likewise.
4329         (main): Likewise.
4330         (do_test): New function.  Call tests of individual functions
4331         previously called from main.
4333         * math/libm-test.inc: Remove comment listing functions tested and
4334         not tested.
4336 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4338         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4339         (allocate_stack): Remove COLORING_INCREMENT usage.
4340         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4341         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4343 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4345         * manual/libm-err-tab.pl (@all_functions): Change to
4346         %all_functions.  Initialize as empty.
4347         (parse_ulps): Add to %all_functions based on functions found in
4348         ulps files.  Ignore results for non-default rounding modes and
4349         vector functions.
4350         (print_platforms): Use %all_platforms.
4351         * manual/math.texi (Errors in Math Functions): Document omissions
4352         from the table.
4354         * math/Makefile (before-compile): Remove.
4356 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4358         [BZ #21075]
4359         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4360         unused assignment.
4361         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4363 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4365         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4366         Add __glibc_unlikely hint.
4368 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4370         [BZ #16640]
4371         * sysdeps/i386/i686/strtok.S: Remove file.
4372         * sysdeps/i386/i686/strtok_r.S: Likewise.
4373         * sysdeps/i386/strtok.S: Likewise.
4374         * sysdeps/i386/strtok_r.S: Likewise.
4375         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4376         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4377         * sysdeps/x86_64/strtok.S: Likewise.
4378         * sysdeps/x86_64/strtok_r.S: Likewise.
4380         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4381         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4382         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4383         (__ASSUME_FADVISE64_AS_64_64): Define.
4384         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4385         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4386         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4387         __ALIGNMENT_ARG usage.
4388         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4389         __NR_fadvise64_64 if it is not defined.
4391 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4393         * version.h (RELEASE): Set to "development"
4394         (VERSION): Set to 2.25.90.
4395         * NEWS: Add 2.26 section.
4397         * version.h (RELEASE): Set to "stable"
4398         (VERSION): Set to 2.25.
4399         * include/features.h (__GLIBC_MINOR__): Set to 25.
4401         * manual/contrib.texi: Add more contributors from this release
4402         and past releases.
4404         * NEWS (2.25): Add list of bugs fixed.
4406         * NEWS: Add missing news items.
4408 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4410         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4411         parent if child exited in that manner.  Print WEXITSTATUS
4412         instead of the raw status.
4413         (do_test_prep): Rename to do_test.
4414         (do_test): Return the result of run_executable_sgid.
4415         (TEST_FUNCTION_ARGV): Adjust.
4417 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4418             Florian Weimer  <fweimer@redhat.com>
4419             Carlos O'Donell  <carlos@redhat.com>
4421         [BZ #20915]
4422         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4423         Do not initialize DTV.
4424         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4426 2017-02-03  David S. Miller  <davem@davemloft.net>
4428         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4429         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4436         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4437         (libm-sysdep_routines): Update.
4438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4441         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4442         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4443         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4444         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4445         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4446         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4448         Likewise.
4449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4451         Likewise.
4452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4454         Likewise.
4455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4457         Likewise.
4458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4460         (libm-sysdep_routines): Update.
4462 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4464         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4465         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4466         against unrelocated shared library.
4467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4469 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4471         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4472         * elf/tst-env-setuid-tunables.c
4473         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4474         GLIBC_TUNABLES is removed in a setgid process.
4476         [BZ #21073]
4477         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4478         * elf/dl-tunables.c (tunables_strdup): Remove.
4479         (get_next_env): Also return the previous envp.
4480         (parse_tunables): Erase tunables of category
4481         TUNABLES_SECLEVEL_SXID_ERASE.
4482         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4483         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4484         (__tunables_init)[TUNABLES_FRONTEND ==
4485         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4486         after parsing.
4487         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4488         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4489         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4490         to security_level.
4491         * elf/dl-tunables.list: Add security_level annotations for all
4492         tunables.
4493         * scripts/gen-tunables.awk: Recognize and generate enum values
4494         for security_level.
4495         * elf/tst-env-setuid.c: New test case.
4496         * elf/tst-env-setuid-tunables: new test case.
4497         * elf/Makefile (tests-static): Add them.
4499 2017-02-01  Richard Henderson  <rth@twiddle.net>
4501         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4502         adjusting the byte count.
4504 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4506         * conform/Makefile (linknamespace-libs): Define.
4508         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4509         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4510         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4511         operands.
4513 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4515         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4517 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4519         [BZ #21081]
4520         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4521         (L(stosb)): Add VZEROUPPER before ret.
4523 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4524             Alexey Makhalov <amakhalov@vmware.com>
4525             Florian Weimer <fweimer@redhat.com>
4527         [BZ #20116]
4528         * nptl/pthread_create.c: Document concurrency notes.
4529         Enhance thread creation notes.
4530         (create_thread): Use bool *stopped_start.
4531         (START_THREAD_DEFN): Comment ownership of PD.
4532         (__pthread_create_2_1): Add local bool stopped_start and use
4533         that instead of pd->stopped_start where appropriate.
4534         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4535         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4536         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4537         * nptl/tst-create-detached.c: New file.
4538         * nptl/Makefile (tests): Add tst-create-detached.
4539         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4540         Reference the enhanced thread creation notes.
4541         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4542         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4543         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4544         (__pthread_current_priority): Likewise.
4545         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4546         xpthread_attr_init, xpthread_attr_setdetachstate, and
4547         xpthread_attr_setstacksize.
4548         * support/xpthread_attr_destroy.c: New file.
4549         * support/xpthread_attr_init.c: New file.
4550         * support/xpthread_attr_setdetachstate.c: New file.
4551         * support/xpthread_attr_setstacksize.c: New file.
4552         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4553         xpthread_attr_init, xpthread_attr_setdetachstate, and
4554         xpthread_attr_setstacksize.
4556 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4558         * nptl/Makefile (tests): Add tst-robust-fork.
4559         * nptl/tst-robust-fork.c: New file.
4560         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4561         xpthread_mutex_consistent, xpthread_mutex_destroy,
4562         xpthread_mutex_init, xpthread_mutexattr_destroy,
4563         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4564         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4565         xpthread_mutexattr_settype.
4566         * support/xmmap.c: New file.
4567         * support/xmunmap.c: Likewise.
4568         * support/xpthread_mutex_consistent.c: Likewise.
4569         * support/xpthread_mutex_destroy.c: Likewise.
4570         * support/xpthread_mutex_init.c: Likewise.
4571         * support/xpthread_mutexattr_destroy.c: Likewise.
4572         * support/xpthread_mutexattr_init.c: Likewise.
4573         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4574         * support/xpthread_mutexattr_setpshared.c: Likewise.
4575         * support/xpthread_mutexattr_setrobust.c: Likewise.
4576         * support/xpthread_mutexattr_settype.c: Likewise.
4577         * support/xthread.h (xpthread_mutexattr_destroy)
4578         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4579         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4580         (xpthread_mutexattr_settype, xpthread_mutex_init)
4581         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4582         * support/xunistd.h (xmmap, xmunmap): Likewise.
4584 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4586         * string/Makefile (xtests): Add comment.
4587         (LOCALES): Add en_GB.UTF-8.
4588         (tst-strcoll-overflow.out): Depend on generated locales.
4589         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4590         (SIZE, TIMEOUT): Update comments.
4591         (do_test): Define as static.  Fail test if setlocale fails.
4592         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4593         messages.
4594         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4595         TIMEOUT at 300 seconds should be enough to run this test
4596         successfully.
4598 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4600         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4601         /* FALLTHRU */ comments.
4603 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4605         [BZ #21053]
4606         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4607         constants instead of the old R* ones.
4608         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4609         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4610         (NGREG): ... to this, to fit in with other architectures.
4611         (gpregset_t): Use new NGREG macro.
4612         [__USE_GNU]: Remove condition; all architectures other than tile
4613         are unconditional.
4614         (R*): Rename to REG_R*.
4616 2017-01-20  DJ Delorie  <dj@redhat.com>
4618         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4619         (tunable_set_val_if_valid_range_signed) ... this, and ...
4620         (tunable_set_val_if_valid_range_unsigned) ... this.
4621         (tunable_initialize): Call the correct one of the above based on type.
4623 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4625         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4626         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4627         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4628         * sysdeps/microblaze/libm-test-ulps: Likewise.
4629         * sysdeps/sh/libm-test-ulps: Likewise.
4631         * math/README.libm-test: Update list of characters for input and
4632         output types.
4634 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4636         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4637         (__lll_unlock_elision): Fix adapt_count decrement.
4639 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4641         * README.pretty-printers (Known issues): Warn about printers not
4642         always covering everything.
4643         * nptl/nptl-printers.py (MutexPrinter): Change output.
4644         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4646 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4648         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4649         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4650         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4651         (__lll_lock_elision): Do not test futex before starting a
4652         transaction.  Use __glibc_likely instead of __builtin_expect.
4653         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4654         (__lll_trylock_elision): Do not test futex before starting a
4655         transaction.  Use __glibc_likely instead of __builtin_expect.
4657 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4659         * po/Makefile (update-translations): New target.
4661 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4663         [BZ #21061]
4664         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4666 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4668         * elf/dl-tunables (get_next_env): Always advance envp.
4669         * stdlib/tst-empty-env.c: New test case.
4670         * stdlib/Makefile (tests): Use it.
4672 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4674         [BZ #21047]
4675         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4676         name for instruction.
4677         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4679 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4681         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4682         for make install.
4684 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4686         * po/bg.po: Merge from Translation Project.
4687         * po/fr.po: Likewise.
4688         * po/ko.po: Likewise.
4689         * po/nl.po: Likewise.
4690         * po/sv.po: Likewise.
4692 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4694         * manual/install.texi (Tools for Compilation): Update GCC version
4695         known to work to build glibc.
4696         * INSTALL: Regenerated.
4698 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4700         [BZ #21006]
4701         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4703 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4705         [BZ #21045]
4706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4707         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4708         to __sigprocmask.
4710 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4712         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4713         wrap-around.
4714         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4716         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4718 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4720         * NEWS: Fix typo.
4722 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4724         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4725         barriers and comments.
4726         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4727         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4728         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4730 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4732         [BZ #19402]
4733         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4734         mutexes.
4736 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4738         [BZ #20985]
4739         * nptl/Makefile: Adapt.
4740         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4741         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4742         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4743         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4744         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4745         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4746         lll_robust* functions and adapt.
4747         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4748         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4749         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4750         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4751         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4752         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4753         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4754         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4755         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4756         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4757         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4758         * nptl/lowlevelrobustlock.c: Remove file.
4759         * nptl/lowlevelrobustlock.sym: Likewise.
4760         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4761         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4763 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4765         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4767 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4769         * po/cs.po: Merge translations from the Translation Project.
4770         * po/de.po: Likewise.
4771         * po/pl.po: Likewise.
4772         * po/ru.po: Likewise.
4773         * po/tr.po: Likewise.
4774         * po/uk.po: Likewise.
4775         * po/vi.po: Likewise.
4776         * po/zh_CN.po: Likewise.
4778 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4780         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4782         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4783         object.
4785 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4787         [BZ #16458]
4788         * bits/uintn-identity.h: New file.
4789         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4790         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4791         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4792         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4793         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4794         * string/endian.h: Include <bits/uintn-identity.h>.
4795         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4796         __uint16_identity.
4797         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4798         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4799         __uint32_identity.
4800         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4801         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4802         __uint64_identity.
4803         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4804         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4805         __uint16_identity.
4806         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4807         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4808         __uint32_identity.
4809         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4810         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4811         __uint64_identity.
4812         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4813         * string/Makefile (headers): Add bits/uintn-identity.h.
4814         (tests): Add test-endian-types.
4815         * string/test-endian-types.c: New file.
4816         * inet/Makefile (tests): Add test-hnto-types.
4817         * inet/test-hnto-types.c: New file.
4819 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4821         * po/be.po: Update from Translation Project.
4822         * po/bg.po: Likewise.
4823         * po/ca.po: Likewise.
4824         * po/cs.po: Likewise.
4825         * po/da.po: Likewise.
4826         * po/de.po: Likewise.
4827         * po/el.po: Likewise.
4828         * po/eo.po: Likewise.
4829         * po/es.po: Likewise.
4830         * po/fi.po: Likewise.
4831         * po/fr.po: Likewise.
4832         * po/gl.po: Likewise.
4833         * po/hr.po: Likewise.
4834         * po/hu.po: Likewise.
4835         * po/ia.po: Likewise.
4836         * po/id.po: Likewise.
4837         * po/it.po: Likewise.
4838         * po/ja.po: Likewise.
4839         * po/ko.po: Likewise.
4840         * po/lt.po: Likewise.
4841         * po/nb.po: Likewise.
4842         * po/nl.po: Likewise.
4843         * po/pl.po: Likewise.
4844         * po/pt_BR.po: Likewise.
4845         * po/ru.po: Likewise.
4846         * po/rw.po: Likewise.
4847         * po/sk.po: Likewise.
4848         * po/sl.po: Likewise.
4849         * po/sv.po: Likewise.
4850         * po/tr.po: Likewise.
4851         * po/uk.po: Likewise.
4852         * po/vi.po: Likewise.
4853         * po/zh_CN.po: Likewise.
4854         * po/zh_TW.po: Likewise.
4856 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4858         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4859         -Wformat-truncation instead of -Wformat-length.
4860         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4861         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4862         GCC 7.
4863         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4864         (do_test): Ignore -Wformat-truncation for GCC 7.
4866         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4867         buffer used to print long int value.
4869         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4870         one byte.  Print it with %ld, cast to long int.
4872 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4874         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4875         (re.fullmatch, subprocess.run): Likewise.
4877 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4879         * po/libc.pot: Regenerate.
4881 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4883         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4884         (min_strlen): Likewise.
4885         (disable_tunable): Likewise.
4886         (maybe_disable_malloc_check): Rename to
4887         maybe_enable_malloc_check.
4888         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4889         if /etc/suid-debug file exists.
4890         (__tunables_init): Update caller.
4891         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4892         secure.
4894 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4896         * nptl/DESIGN-rwlock.txt: Remove.
4897         * nptl/lowlevelrwlock.sym: Remove.
4898         * nptl/Makefile: Add new tests.
4899         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4900         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4901         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4902         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4903         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4904         PTHREAD_RWLOCK_FUTEX_USED): New.
4905         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4906         implementation.
4907         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4908         (__pthread_rwlock_rdlock): Adapt.
4909         * nptl/pthread_rwlock_timedrdlock.c
4910         (pthread_rwlock_timedrdlock): Adapt.
4911         * nptl/pthread_rwlock_timedwrlock.c
4912         (pthread_rwlock_timedwrlock): Adapt.
4913         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4914         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4915         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4916         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4917         (__pthread_rwlock_wrlock): Adapt.
4918         * nptl/tst-rwlock10.c: Adapt.
4919         * nptl/tst-rwlock11.c: Adapt.
4920         * nptl/tst-rwlock17.c: New file.
4921         * nptl/tst-rwlock18.c: New file.
4922         * nptl/tst-rwlock19.c: New file.
4923         * nptl/tst-rwlock2b.c: New file.
4924         * nptl/tst-rwlock8.c: Adapt.
4925         * nptl/tst-rwlock9.c: Adapt.
4926         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4927         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4928         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4929         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4930         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4931         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4932         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4933         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4934         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4935         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4936         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4937         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4938         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4939         (pthread_rwlock_t): Adapt.
4940         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4941         (pthread_rwlock_t): Adapt.
4942         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4943         * nptl/nptl-printers.py (): Adapt.
4944         * nptl/nptl_lock_constants.pysym: Adapt.
4945         * nptl/test-rwlock-printers.py: Adapt.
4946         * nptl/test-rwlockattr-printers.c: Adapt.
4947         * nptl/test-rwlockattr-printers.py: Adapt.
4949 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4951         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4952         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4953         (fma_test_data): Likewise.
4954         (hypot_test_data): Likewise.
4955         (log1p_test_data): Likewise.
4956         (modf_test_data): Likewise.
4957         (pow_test_data): Likewise.
4958         (remainder_test_data): Likewise.
4959         (remquo_test_data): Likewise.
4960         (scalb_test_data): Likewise.
4961         (scalbn_test_data): Likewise.
4962         (scalbln_test_data): Likewise.
4963         * math/gen-libm-test.pl (parse_args): Transform
4964         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4965         on the rounding mode.
4967 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4969         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4970         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4971         and those that can underflow to zero.
4972         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4973         add others.
4974         * math/auto-libm-test-out: Regenerated.
4976         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4977         supported.
4978         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4979         modes support if not supported.
4981         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4982         Add libc.so PLT entry.
4983         (__tls_get_addr): Make ld.so PLT entry optional.
4985 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4987         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4988         * string/bits/string3.h: ... here.
4990 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4992         [BZ #21028]
4993         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4994         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4995         if EXCEPTION_TESTS returns false.
4997 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4999         [BZ #20558]
5000         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
5001         strings_fortified.h.
5002         [__USE_MISC] (bzero): Likewise.
5003         [__USE_MISC] (explicit_bzero): Likewise.
5004         * string/strings.h: Include strings_fortified.h.
5005         * string/Makefile (headers): Add strings_fortified.h.
5006         * string/bits/strings_fortified.h: New file.
5007         * include/bits/strings_fortified.h: Likewise.
5009 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5011         * elf/tst-tls13.c (TIMEOUT): Remove.
5012         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
5013         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
5014         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
5015         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
5016         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
5018         [BZ #21026]
5019         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
5020         (readahead): New syscall entry.
5022 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5024         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
5025         around tests of strncat with large sizes.
5027         * malloc/tst-malloc.c: Include <libc-internal.h>.
5028         (do_test): Disable -Walloc-size-larger-than= around tests of
5029         malloc with negative sizes.
5030         * malloc/tst-mcheck.c: Include <libc-internal.h>.
5031         (do_test): Disable -Walloc-size-larger-than= around tests of
5032         malloc and realloc with negative sizes.
5033         * malloc/tst-realloc.c: Include <libc-internal.h>.
5034         (do_test): Disable -Walloc-size-larger-than= around tests of
5035         realloc with negative sizes.
5037         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
5038         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
5039         allowed to 16 ulps.
5040         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
5041         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
5042         * math/auto-libm-test-out: Regenerated.
5044 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5046         * math/Makefile (libm-calls): Move wrappers...
5047         (libm-compat-call-auto): Here.
5048         (libm-routines): Add items in libm-compat-calls-auto.
5049         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
5050         the filenames of the wrappers that have been renamed.
5051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
5052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5054         * math/w_acos.c: Add _compat suffix to filename.
5055         * math/w_acosf.c: Likewise.
5056         * math/w_acosh.c: Likewise.
5057         * math/w_acoshf.c: Likewise.
5058         * math/w_acoshl.c: Likewise.
5059         * math/w_acosl.c: Likewise.
5060         * math/w_asin.c: Likewise.
5061         * math/w_asinf.c: Likewise.
5062         * math/w_asinl.c: Likewise.
5063         * math/w_atan2.c: Likewise.
5064         * math/w_atan2f.c: Likewise.
5065         * math/w_atan2l.c: Likewise.
5066         * math/w_atanh.c: Likewise.
5067         * math/w_atanhf.c: Likewise.
5068         * math/w_atanhl.c: Likewise.
5069         * math/w_cosh.c: Likewise.
5070         * math/w_coshf.c: Likewise.
5071         * math/w_coshl.c: Likewise.
5072         * math/w_exp10.c: Likewise.
5073         * math/w_exp10f.c: Likewise.
5074         * math/w_exp10l.c: Likewise.
5075         * math/w_exp2.c: Likewise.
5076         * math/w_exp2f.c: Likewise.
5077         * math/w_exp2l.c: Likewise.
5078         * math/w_fmod.c: Likewise.
5079         * math/w_fmodf.c: Likewise.
5080         * math/w_fmodl.c: Likewise.
5081         * math/w_hypot.c: Likewise.
5082         * math/w_hypotf.c: Likewise.
5083         * math/w_hypotl.c: Likewise.
5084         * math/w_j0.c: Likewise.
5085         * math/w_j0f.c: Likewise.
5086         * math/w_j0l.c: Likewise.
5087         * math/w_j1.c: Likewise.
5088         * math/w_j1f.c: Likewise.
5089         * math/w_j1l.c: Likewise.
5090         * math/w_jn.c: Likewise.
5091         * math/w_jnf.c: Likewise.
5092         * math/w_jnl.c: Likewise.
5093         * math/w_log10.c: Likewise.
5094         * math/w_log10f.c: Likewise.
5095         * math/w_log10l.c: Likewise.
5096         * math/w_log2.c: Likewise.
5097         * math/w_log2f.c: Likewise.
5098         * math/w_log2l.c: Likewise.
5099         * math/w_log.c: Likewise.
5100         * math/w_logf.c: Likewise.
5101         * math/w_logl.c: Likewise.
5102         * math/w_pow.c: Likewise.
5103         * math/w_powf.c: Likewise.
5104         * math/w_powl.c: Likewise.
5105         * math/w_remainder.c: Likewise.
5106         * math/w_remainderf.c: Likewise.
5107         * math/w_remainderl.c: Likewise.
5108         * math/w_scalb.c: Likewise.
5109         * math/w_scalbf.c: Likewise.
5110         * math/w_scalbl.c: Likewise.
5111         * math/w_sinh.c: Likewise.
5112         * math/w_sinhf.c: Likewise.
5113         * math/w_sinhl.c: Likewise.
5114         * math/w_sqrt.c: Likewise.
5115         * math/w_sqrtf.c: Likewise.
5116         * math/w_sqrtl.c: Likewise.
5117         * math/w_tgamma.c: Likewise.
5118         * math/w_tgammaf.c: Likewise.
5119         * math/w_tgammal.c: Likewise.
5121         * math/w_acos_compat.c: New file copied from above and
5122         adjusted for new #includes path
5123         * math/w_acosf_compat.c: Likewise.
5124         * math/w_acosh_compat.c: Likewise.
5125         * math/w_acoshf_compat.c: Likewise.
5126         * math/w_acoshl_compat.c: Likewise.
5127         * math/w_acosl_compat.c: Likewise.
5128         * math/w_asin_compat.c: Likewise.
5129         * math/w_asinf_compat.c: Likewise.
5130         * math/w_asinl_compat.c: Likewise.
5131         * math/w_atan2_compat.c: Likewise.
5132         * math/w_atan2f_compat.c: Likewise.
5133         * math/w_atan2l_compat.c: Likewise.
5134         * math/w_atanh_compat.c: Likewise.
5135         * math/w_atanhf_compat.c: Likewise.
5136         * math/w_atanhl_compat.c: Likewise.
5137         * math/w_cosh_compat.c: Likewise.
5138         * math/w_coshf_compat.c: Likewise.
5139         * math/w_coshl_compat.c: Likewise.
5140         * math/w_exp10_compat.c: Likewise.
5141         * math/w_exp10f_compat.c: Likewise.
5142         * math/w_exp10l_compat.c: Likewise.
5143         * math/w_exp2_compat.c: Likewise.
5144         * math/w_exp2f_compat.c: Likewise.
5145         * math/w_exp2l_compat.c: Likewise.
5146         * math/w_fmod_compat.c: Likewise.
5147         * math/w_fmodf_compat.c: Likewise.
5148         * math/w_fmodl_compat.c: Likewise.
5149         * math/w_hypot_compat.c: Likewise.
5150         * math/w_hypotf_compat.c: Likewise.
5151         * math/w_hypotl_compat.c: Likewise.
5152         * math/w_j0_compat.c: Likewise.
5153         * math/w_j0f_compat.c: Likewise.
5154         * math/w_j0l_compat.c: Likewise.
5155         * math/w_j1_compat.c: Likewise.
5156         * math/w_j1f_compat.c: Likewise.
5157         * math/w_j1l_compat.c: Likewise.
5158         * math/w_jn_compat.c: Likewise.
5159         * math/w_jnf_compat.c: Likewise.
5160         * math/w_jnl_compat.c: Likewise.
5161         * math/w_log10_compat.c: Likewise.
5162         * math/w_log10f_compat.c: Likewise.
5163         * math/w_log10l_compat.c: Likewise.
5164         * math/w_log2_compat.c: Likewise.
5165         * math/w_log2f_compat.c: Likewise.
5166         * math/w_log2l_compat.c: Likewise.
5167         * math/w_log_compat.c: Likewise.
5168         * math/w_logf_compat.c: Likewise.
5169         * math/w_logl_compat.c: Likewise.
5170         * math/w_pow_compat.c: Likewise.
5171         * math/w_powf_compat.c: Likewise.
5172         * math/w_powl_compat.c: Likewise.
5173         * math/w_remainder_compat.c: Likewise.
5174         * math/w_remainderf_compat.c: Likewise.
5175         * math/w_remainderl_compat.c: Likewise.
5176         * math/w_scalb_compat.c: Likewise.
5177         * math/w_scalbf_compat.c: Likewise.
5178         * math/w_scalbl_compat.c: Likewise.
5179         * math/w_sinh_compat.c: Likewise.
5180         * math/w_sinhf_compat.c: Likewise.
5181         * math/w_sinhl_compat.c: Likewise.
5182         * math/w_sqrt_compat.c: Likewise.
5183         * math/w_sqrtf_compat.c: Likewise.
5184         * math/w_sqrtl_compat.c: Likewise.
5185         * math/w_tgamma_compat.c: Likewise.
5186         * math/w_tgammaf_compat.c: Likewise.
5187         * math/w_tgammal_compat.c: Likewise.
5189         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
5190         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
5191         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
5192         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
5193         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
5194         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
5195         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
5196         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
5197         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
5198         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
5199         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
5200         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
5201         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
5202         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
5203         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
5204         * sysdeps/ia64/fpu/w_powl.c: Likewise.
5205         * sysdeps/ia64/fpu/w_powf.c: Likewise.
5206         * sysdeps/ia64/fpu/w_pow.c: Likewise.
5207         * sysdeps/ia64/fpu/w_logl.c: Likewise.
5208         * sysdeps/ia64/fpu/w_logf.c: Likewise.
5209         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
5210         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
5211         * sysdeps/ia64/fpu/w_log2.c: Likewise.
5212         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
5213         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
5214         * sysdeps/ia64/fpu/w_log10.c: Likewise.
5215         * sysdeps/ia64/fpu/w_log.c: Likewise.
5216         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
5217         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
5218         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
5219         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
5220         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
5221         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
5222         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
5223         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
5224         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
5225         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
5226         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
5227         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
5228         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
5229         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
5230         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
5231         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
5232         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
5233         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
5234         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
5235         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
5236         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
5237         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
5238         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
5239         * sysdeps/ia64/fpu/w_asin.c: Likewise.
5240         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
5241         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
5242         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
5243         * sysdeps/ia64/fpu/w_acos.c: Likewise.
5244         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
5245         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
5246         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
5247         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
5248         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
5249         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
5250         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
5251         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
5252         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
5253         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
5254         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
5255         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
5256         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
5257         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
5258         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
5259         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
5260         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
5261         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
5262         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
5263         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
5264         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
5265         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
5266         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
5267         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
5268         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
5269         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
5270         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
5271         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
5272         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
5273         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
5274         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
5275         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
5276         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
5277         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
5278         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
5279         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
5280         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
5281         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
5282         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
5283         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
5284         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
5285         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
5286         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
5287         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
5288         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
5289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
5290         Likewise.
5291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
5292         Likewise.
5293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
5294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5295         Likewise.
5296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5297         Likewise.
5298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5299         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5300         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5301         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5302         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5303         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5304         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5309         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5310         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5311         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5312         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5314         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5315         and adjusted for new #includes path
5316         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5317         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5318         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5319         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5320         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5321         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5322         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5323         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5324         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5325         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5326         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5327         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5328         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5329         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5330         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5331         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5332         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5333         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5334         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5335         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5336         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5337         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5338         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5339         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5340         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5341         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5342         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5343         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5344         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5345         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5346         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5347         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5348         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5349         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5350         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5351         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5352         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5353         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5354         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5355         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5356         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5357         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5358         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5359         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5360         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5361         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5362         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5363         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5364         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5365         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5366         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5367         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5368         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5369         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5370         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5371         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5372         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5373         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5374         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5375         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5376         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5377         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5378         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5379         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5380         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5381         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5382         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5383         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5384         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5385         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5386         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5387         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5388         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5389         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5390         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5391         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5392         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5393         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5394         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5395         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5396         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5397         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5398         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5399         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5400         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5401         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5402         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5403         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5404         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5405         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5406         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5407         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5408         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5409         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5410         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5411         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5412         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5413         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5414         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5416         Likewise.
5417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5418         Likewise.
5419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5420         Likewise.
5421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5422         Likewise.
5423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5424         Likewise.
5425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5426         Likewise.
5427         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5428         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5429         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5430         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5431         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5432         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5434         Likewise.
5435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5436         Likewise.
5437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5438         Likewise.
5439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5440         Likewise.
5441         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5442         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5443         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5444         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5446 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5448         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5449         __jmp_buf_internal_tag.
5451         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5452         preserve NaN payload if [__mips_nan2008].
5453         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5455         [BZ #21022]
5456         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5458 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5460         * sysdeps/i386/fpu/libm-test-ulps: Update.
5462 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5464         * sysdeps/ia64/strcat.c: Remove file.
5465         * sysdeps/powerpc/strcat.c: Likewise.
5466         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5467         C implementation.
5468         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5469         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5471 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5472             Steven Munroe  <sjmunroe@us.ibm.com>
5473             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5475         [BZ #20822]
5476         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5477         (__lll_lock_elision): Access adapt_count via C11 atomics.
5478         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5479         (__lll_trylock_elision): Likewise.
5480         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5481         (__lll_unlock_elision):  Update adapt_count variable inside the
5482         critical section using C11 atomics.
5484 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5486         * math/test-fenvinline.c (do_test): Disable tests of raised
5487         exceptions if !EXCEPTION_TESTS (FLOAT).
5489 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5491         [BZ #19390]
5492         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5493         maximum string size.
5494         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5495         in pointer addition.
5496         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5497         Likewise.
5499 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5501         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5502         passed to tst-ldconfig-X.sh.
5504 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5506         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5508 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5510         [BZ #21019]
5511         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5512         New syscall entry.
5513         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5514         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5515         lseek.
5517         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5518         power4 glibc for powerpc-linux-gnu.
5520 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5522         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5523         semctl.
5525 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5527         * math/test-nearbyint-except.c: Include <stdbool.h>.
5528         (any_supported): New variable.
5529         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5530         set any_supported.
5531         (do_test): Return 77 if no floating-point type supported
5532         exceptions.
5534         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5535         condition on [__mips_hard_float].
5537 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5539         [BZ #21014]
5540         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5541         in pointer addition.
5542         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5544 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5546         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5547         new condvar.
5549 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5551         * scripts/build-many-glibcs.py (Context.checkout): Default
5552         binutils version to 2.28 branch.
5554 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5556         * support/support_format_netent.c (support_format_netent): Work
5557         around alpha struct netent definition difference.
5559 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5561         * support/xwrite.c (xwrite): Use %td for pointer difference.
5563 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5565         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5566         have-tunables only.
5567         (tests-static): Add tst-malloc-usable-static-tunables for
5568         have-tunables only.
5570 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5572         * scripts/config.guess: Update to version 2017-01-01.
5573         * scripts/config.sub: Update to version 2017-01-01.
5575         * NEWS: Update copyright dates.
5576         * catgets/gencat.c (print_version): Likewise.
5577         * csu/version.c (banner): Likewise.
5578         * debug/catchsegv.sh: Likewise.
5579         * debug/pcprofiledump.c (print_version): Likewise.
5580         * debug/xtrace.sh (do_version): Likewise.
5581         * elf/ldconfig.c (print_version): Likewise.
5582         * elf/ldd.bash.in: Likewise.
5583         * elf/pldd.c (print_version): Likewise.
5584         * elf/sotruss.sh: Likewise.
5585         * elf/sprof.c (print_version): Likewise.
5586         * iconv/iconv_prog.c (print_version): Likewise.
5587         * iconv/iconvconfig.c (print_version): Likewise.
5588         * locale/programs/locale.c (print_version): Likewise.
5589         * locale/programs/localedef.c (print_version): Likewise.
5590         * login/programs/pt_chown.c (print_version): Likewise.
5591         * malloc/memusage.sh (do_version): Likewise.
5592         * malloc/memusagestat.c (print_version): Likewise.
5593         * malloc/mtrace.pl: Likewise.
5594         * manual/libc.texinfo: Likewise.
5595         * nptl/version.c (banner): Likewise.
5596         * nscd/nscd.c (print_version): Likewise.
5597         * nss/getent.c (print_version): Likewise.
5598         * nss/makedb.c (print_version): Likewise.
5599         * posix/getconf.c (main): Likewise.
5600         * scripts/test-installation.pl: Likewise.
5601         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5603         * All files with FSF copyright notices: Update copyright dates
5604         using scripts/update-copyrights.
5605         * intl/plural.c: Regenerated.
5606         * locale/programs/charmap-kw.h: Likewise.
5607         * locale/programs/locfile-kw.h: Likewise.
5609 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5611         [BZ #20593]
5612         Update DNS RR type definitions.
5613         * scripts/gen-rrtypes.py: New file.
5614         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5615         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5616         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5617         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5618         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5619         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5620         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5621         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5622         ns_t_ta, ns_t_dlv.
5623         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5624         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5625         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5626         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5627         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5628         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5629         Define.
5630         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5631         entry for ns_t_zxfr.
5633 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5635         [BZ #18784]
5636         CVE-2015-5180
5637         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5638         T_UNSPEC.  Adjust value.
5639         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5640         * resolv/res_query.c (__libc_res_nquery): Likewise.
5641         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5642         QTYPEs.
5643         * resolv/tst-resolv-qtypes.c: New file.
5644         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5645         (tst-resolv-qtypes): Link against libresolv and libpthread.
5647 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5649         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5651 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5653         * manual/tunables.texi: New chapter.
5654         * manual/Makefile (chapters): Add it.
5655         * manual/probes.texi (@node): Point to the Tunables chapter.
5657         * Makeconfig (have-tunables): Check for non-negative instead
5658         of positive.
5659         * configure.ac: Add 'valstring' as a valid value for
5660         --enable-tunables.
5661         * configure: Regenerate.
5662         * elf/Makefile (have-tunables): Check for non-negative instead
5663         of positive.
5664         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5665         dl-tunables.c.
5666         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5667         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5668         (tunables_strdup): Likewise.
5669         (disable_tunables): Likewise.
5670         (parse_tunables): Likewise.
5671         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5672         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5673         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5674         (TUNABLES_FRONTEND_yes): New macro, define as
5675         TUNABLES_FRONTEND_valstring by default.
5676         * manual/install.texi: Document new acceptable values for
5677         --enable-tunables.
5678         * INSTALL: Regenerate.
5680         * config.make.in (have-loop-to-function): Define.
5681         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5682         -fno-tree-loop-distribute-patterns.
5683         * elf/dl-tunables.c: Include libc-internals.h.
5684         (GLIBC_TUNABLES): New macro.
5685         (tunables_strdup): New function.
5686         (parse_tunables): New function.
5687         (min_strlen): New function.
5688         (__tunables_init): Use the new functions and macro.
5689         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5690         * malloc/tst-malloc-usable-tunables.c: New test case.
5691         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5692         * malloc/Makefile (tests, tests-static): Add tests.
5694         * manual/install.texi: Add --enable-tunables option.
5695         * INSTALL: Regenerate.
5696         * README.tunables: New file.
5697         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5698         (before-compile): Generate dl-tunable-list.h early.
5699         * config.h.in: Add HAVE_TUNABLES.
5700         * config.make.in: Add have-tunables.
5701         * configure.ac: Add --enable-tunables option.
5702         * configure: Regenerate.
5703         * csu/init-first.c (__libc_init_first): Move
5704         __libc_init_secure earlier...
5705         * csu/init-first.c (LIBC_START_MAIN):... to here.
5706         Include dl-tunables.h, libc-internal.h.
5707         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5708         binaries.
5709         * elf/Makefile (dl-routines): Add dl-tunables.
5710         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5711         namespace.
5712         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5713         only when !HAVE_TUNABLES.
5714         * elf/rtld.c (process_envvars): Likewise.
5715         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5716         (_dl_sysdep_start): Call __tunables_init.
5717         * elf/dl-tunable-types.h: New file.
5718         * elf/dl-tunables.c: New file.
5719         * elf/dl-tunables.h: New file.
5720         * elf/dl-tunables.list: New file.
5721         * malloc/tst-malloc-usable-static.c: New test case.
5722         * malloc/Makefile (tests-static): Add it.
5723         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5724         Define TUNABLE_NAMESPACE.
5725         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5726         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5727         callback functions.
5728         (ptmalloc_init): Set tunable values.
5729         * scripts/gen-tunables.awk: New file.
5730         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5731         (_dl_sysdep_start): Call __tunables_init.
5733 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5735         * resolv/resolv.h (RES_BLAST): Deprecate.
5736         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5737         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5738         to RES_BLAST.
5740 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5742         [BZ #19582]
5743         Deprecate RES_USE_INET6.
5744         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5745         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5746         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5747         RES_USE_INET6.
5748         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5749         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5750         (_nss_nisplus_gethostbyaddr_r): Likewise.
5751         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5752         of res_use_inet6.
5753         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5754         instead of RES_USE_INET6.
5755         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5756         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5757         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5758         Likewise.
5759         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5760         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5761         Likewise.
5762         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5763         (_nss_dns_gethostbyname_r): Likewise.
5764         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5765         alternate RES_USE_INET6 handling.
5766         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5767         instead of RES_USE_INET6.
5768         * resolv/res_init.c (res_setoptions): Likewise.
5769         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5770         * resolv/resolv-internal.h: New file.
5771         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5772         make the deprecation warning non-fatal.
5773         * resolv/README (Using the resolver in multi-threaded code): Drop
5774         reference to RES_USE_INET6.
5775         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5776         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5778 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5780         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5781         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5782         tst-resolv-search.
5783         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5784         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5785         with libresolv and libpthread.
5786         * resolv/tst-bug18665.c: New file.
5787         * resolv/tst-bug18665-tcp: Likewise.
5788         * resolv/tst-res_use_inet6: Likewise.
5789         * resolv/tst-resolv-basic: Likewise.
5790         * resolv/tst-resolv-network: Likewise.
5791         * resolv/tst-resolv-search: Likewise.
5792         * support/Makefile (libsupport-routines): Add check_addrinfo,
5793         check_dns_packet, check_hostent, check_netent, resolv_test,
5794         support_format_address_family, support_format_addrinfo,
5795         support_format_dns_packet, support_format_herrno,
5796         support_format_hostent, support_format_netent, support_run_diff,
5797         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5798         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5799         xstrdup, xwrite.
5800         * support/check_addrinfo.c: New file.
5801         * support/check_dns_packet.c: Likewise.
5802         * support/check_hostent.c: Likewise.
5803         * support/check_netent.c: Likewise.
5804         * support/check_nss.h: Likewise.
5805         * support/format_nss.h: Likewise.
5806         * support/resolv_test.c: Likewise.
5807         * support/resolv_test.h: Likewise.
5808         * support/run_diff.h: Likewise.
5809         * support/support_format_address_family.c: Likewise.
5810         * support/support_format_addrinfo.c: Likewise.
5811         * support/support_format_dns_packet.c: Likewise.
5812         * support/support_format_herrno.c: Likewise.
5813         * support/support_format_hostent.c: Likewise.
5814         * support/support_format_netent.c: Likewise.
5815         * support/support_run_diff.c: Likewise.
5816         * support/xaccept.c: Likewise.
5817         * support/xbind.c: Likewise.
5818         * support/xconnect.c: Likewise.
5819         * support/xfclose.c: Likewise.
5820         * support/xfopen.c: Likewise.
5821         * support/xgetsockname.c: Likewise.
5822         * support/xlisten.c: Likewise.
5823         * support/xmemstream.c: Likewise.
5824         * support/xmemstream.h: Likewise.
5825         * support/xpoll.c: Likewise.
5826         * support/xpthread_once.c: Likewise.
5827         * support/xrecvfrom.c: Likewise.
5828         * support/xsendto.c: Likewise.
5829         * support/xsetsockopt.c: Likewise.
5830         * support/xstdio.h: Likewise.
5831         * support/xstrdup.c: Likewise.
5832         * support/support.h (xstrdup): Declare.
5833         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5834         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5835         * support/xthread.h (xpthread_once): Likwise.
5836         * support/xunistd.h (xwrite): Declare.
5838 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5840         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5841         (test_verbose): Declare.
5842         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5843         * support/support_test_main.c (default_options): Likewise.
5844         (usage, support_test_main): Handle 'v'.
5845         (test_verbose): Define.
5846         * support/tst-support_record_failure.c (do_test): Use
5847         test_verbose.
5848         * support/tst-support_record_failure-2.sh (different_status): Add
5849         --verbose test.
5851 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5853         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5854         test failures are recorded.
5855         * support/check.c (support_print_failure_impl): Call
5856         support_record_failure.
5857         (support_exit_failure_impl): Call support_record_failure if status
5858         indicates failure.
5859         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5860         * support/xasprintf.c (xasprintf): Likewise.
5861         * support/xfork.c (xfork): Likewise.
5862         * support/xpthread_check_return.c (xpthread_check_return):
5863         Likewise.
5864         * support/xsocket.c (xsocket): Likeweise.
5865         * support/xwaitpid.c (xwaitpid): Likewise.
5866         * support/support_record_failure.c (struct test_failures): Adjust
5867         to coding style.
5868         * support/support_test_verify_impl.c (support_test_verify_impl):
5869         Adjust error messages.
5870         * support/tst-support_record_failure-2.sh (different_status):
5871         Adjust error messages.
5873 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5875         * support/namespace.h: New file.
5876         * support/support_become_root.c: Likewise.
5877         * support/support_enter_network_namespace.c: Likewise.
5878         * support/tst-support-namespace.c: Likewise.
5879         * support/xsocket.c: Likewise.
5880         * support/xsocket.h: Likewise.
5881         * support/Makefile (libsupport-routines): Add support_become_root,
5882         support_enter_network_namespace, xsocket.
5883         (tests): Add tst-support-namespace.
5885 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5887         [BZ #17252]
5888         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5889         __USE_GNU.
5891 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5893         [BZ #13165]
5894         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5895         use new algorithm.
5896         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5897         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5898         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5899         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5900         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5901         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5902         __condvar_cleanup_waiting, __condvar_dec_grefs,
5903         __pthread_cond_wait_common): New.
5904         (__condvar_cleanup): Remove.
5905         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5906         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5907         Likewise.
5908         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5909         Likewise.
5910         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5911         * nptl/tst-cond1.c: Add comment.
5912         * nptl/tst-cond20.c (do_test): Adapt.
5913         * nptl/tst-cond22.c (do_test): Likewise.
5914         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5915         structure.
5916         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5917         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5918         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5919         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5920         Likewise.
5921         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5922         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5923         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5924         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5925         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5926         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5927         Likewise.
5928         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5929         Likewise.
5930         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5931         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5932         (COND_CLOCK_BITS): Adapt.
5933         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5934         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5935         __PTHREAD_COND_SHARED_MASK): New.
5936         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5937         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5938         * nptl/nptl_lock_constants.pysym: Adapt.
5939         * nptl/test-cond-printers.py: Adapt.
5940         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5941         cond_compat_check_and_clear): Adapt.
5942         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5943         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5944         (__pthread_cond_timedwait): ... and move here.
5945         * nptl/DESIGN-condvar.txt: Remove file.
5946         * nptl/lowlevelcond.sym: Likewise.
5947         * nptl/pthread_cond_timedwait.c: Likewise.
5948         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5949         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5950         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5951         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5952         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5953         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5954         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5955         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5956         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5957         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5958         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5959         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5960         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5961         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5962         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5963         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5965 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5967         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5968         (fromfp): New declaration.
5969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5972         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5974         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5977         * math/math.h: Include <bits/types.h>.
5978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5979         constant and macro.
5980         (FP_INT_DOWNWARD): Likewise.
5981         (FP_INT_TOWARDZERO): Likewise.
5982         (FP_INT_TONEARESTFROMZERO): Likewise.
5983         (FP_INT_TONEAREST): Likewise.
5984         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5985         (fromfpf): Likewise.
5986         (fromfpl): Likewise.
5987         (ufromfp): Likewise.
5988         (ufromfpf): Likewise.
5989         (ufromfpl): Likewise.
5990         (fromfpx): Likewise.
5991         (fromfpxf): Likewise.
5992         (fromfpxl): Likewise.
5993         (ufromfpx): Likewise.
5994         (ufromfpxf): Likewise.
5995         (ufromfpxl): Likewise.
5996         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5997         s_fromfpxF and s_ufromfpxF.
5998         * math/gen-fromfp-tests.py: New file.
5999         * math/gen-fromfp-tests-inputs: Likewise.
6000         * math/libm-test.inc: Include <stdint.h>
6001         (check_intmax_t): New function.
6002         (check_uintmax_t): Likewise.
6003         (struct test_fiu_M_data): New type.
6004         (struct test_fiu_U_data): Likewise.
6005         (RUN_TEST_fiu_M): New macro.
6006         (RUN_TEST_LOOP_fiu_M): Likewise.
6007         (RUN_TEST_fiu_U): Likewise.
6008         (RUN_TEST_LOOP_fiu_U): Likewise.
6009         (fromfp_test_data): New array.
6010         (fromfp_test): New function.
6011         (fromfpx_test_data): New array.
6012         (fromfpx_test): New function.
6013         (ufromfp_test_data): New array.
6014         (ufromfp_test): New function.
6015         (ufromfpx_test_data): New array.
6016         (ufromfpx_test): New function.
6017         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
6018         ufromfpx_test.
6019         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
6020         characters.
6021         * math/test-tgmath-ret.c: Include <stdint.h>.
6022         (rm): New variable.
6023         (width): Likewise.
6024         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
6025         called function.
6026         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
6027         CHECK_RET_CONST_TYPE.
6028         (CHECK_RET_CONST_DOUBLE): Likewise.
6029         (CHECK_RET_CONST_LDOUBLE): Likewise.
6030         (CHECK_RET_CONST): Take extra arguments and pass them to calls
6031         macros.
6032         (fromfp): New CHECK_RET_CONST call.
6033         (ufromfp): Likewise.
6034         (fromfpx): Likewise.
6035         (ufromfpx): Likewise.
6036         (do_test): Call check_return_fromfp, check_return_ufromfp,
6037         check_return_fromfpx and check_return_ufromfpx.
6038         * math/test-tgmath.c: Include <stdint.h>
6039         (NCALLS): Increase to 138.
6040         (F(compile_test)): Initialize i.  Call fromfp functions.
6041         (F(fromfp)): New function.
6042         (F(fromfpx)): Likewise.
6043         (F(ufromfp)): Likewise.
6044         (F(ufromfpx)): Likewise.
6045         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
6046         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
6047         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
6048         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
6049         ufromfpxl.
6050         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
6051         ufromfp and ufromfpx.
6052         * math/fromfp.h: New file.
6053         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
6054         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
6055         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
6056         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
6057         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
6058         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
6059         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
6060         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
6061         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
6062         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
6063         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
6064         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
6065         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
6066         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
6067         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
6068         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
6069         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
6070         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
6071         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
6072         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
6073         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
6074         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
6075         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
6076         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
6077         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
6078         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
6079         ufromfp, fromfpx and ufromfpx.
6080         (CFLAGS-nldbl-fromfp.c): New variable.
6081         (CFLAGS-nldbl-fromfpx.c): Likewise.
6082         (CFLAGS-nldbl-ufromfp.c): Likewise.
6083         (CFLAGS-nldbl-ufromfpx.c): Likewise.
6084         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
6085         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
6086         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
6087         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
6088         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
6089         * sysdeps/nacl/libm.abilist: Update.
6090         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6091         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6092         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6093         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6094         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6095         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6096         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6097         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6098         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6099         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6100         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6101         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6103         Likewise.
6104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6105         Likewise.
6106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6107         Likewise.
6108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6109         Likewise.
6110         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6111         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6112         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6113         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6114         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6116         Likewise.
6117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6118         Likewise.
6119         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6120         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6121         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6123 2016-12-30  Florian Weimer  <fweimer@redhat.com>
6125         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
6126         compat-gethnamaddr.
6127         (CPPFLAGS): Remove.
6128         * resolv/gethnamaddr.c: Rename ...
6129         * resolv/compat-gethnamaddr.c: ... to this file.
6130         (_endhtent): Make static.
6131         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
6132         symbol.
6133         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
6134         compat symbol.
6135         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
6136         symbol.
6137         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
6138         Turn into compat symbol.
6139         * include/resolv.h (_endhtent): Remove declaration.
6141 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
6143         * bits/types.h (__intmax_t): New typedef.
6144         (__uintmax_t): Likewise.
6145         * sysdeps/generic/stdint.h: Include <bits/types.h>.
6146         (intmax_t): Define using __intmax_t.
6147         (uintmax_t): Define using __uintmax_t.
6149         * support/Makefile (tests-special): Make definition conditional on
6150         [$(run-built-tests) = yes].
6151         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
6152         on [$(run-built-tests) = yes].
6154 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6156         * Rules (tests): Add tests-printers-programs to tests to be
6157         built.
6159 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6161         * sysvipc/Makefile (tests): Add test-sysvshm.
6162         * sysvipc/test-sysvshm.c: New file.
6164         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
6165         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
6166         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
6167         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
6168         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
6169         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
6170         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
6171         Likewise.
6172         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
6173         Likewise.
6174         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
6175         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
6176         is defined.
6178         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
6179         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
6180         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
6181         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
6182         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
6183         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
6184         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
6185         Likewise.
6186         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
6187         Likewise.
6188         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
6189         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
6190         defined.
6192         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6193         oldshmctl.
6194         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
6195         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
6196         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
6197         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
6198         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
6199         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
6200         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
6201         Likewise.
6202         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
6203         Likewise.
6204         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
6205         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
6206         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
6207         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
6208         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
6209         implementation.
6210         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
6211         if it is defined.
6213         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
6214         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
6215         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
6216         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
6217         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
6218         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
6219         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
6220         Likewise.
6221         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
6222         Likewise.
6223         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
6224         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
6225         Define to __NR_osf_shmat.
6226         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
6227         defined.
6229         * sysvipc/Makefile (tests): Add test-sysvsem.
6230         * sysvipc/test-sysvsem.c: New file.
6232         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
6233         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
6234         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
6235         Likewise.
6236         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
6237         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
6238         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
6239         Likewise.
6240         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
6241         Likewise.
6242         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
6243         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
6244         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
6245         add a comment about s390 syscall difference from default one.
6246         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
6247         syscall if it is defined.
6249         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
6250         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
6251         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
6252         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
6253         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
6254         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
6255         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
6256         Likewise.
6257         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
6258         Likewise.
6259         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
6260         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
6261         defined.
6263         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
6264         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
6265         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
6266         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
6267         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
6268         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
6269         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
6270         Likewise.
6271         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
6272         Likewise.
6273         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
6274         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
6275         if it is defined.
6277         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6278         oldsemctl.
6279         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
6280         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
6281         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
6282         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
6283         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
6284         implementation.
6285         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
6286         syscall if it is defined.
6287         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
6288         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
6289         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
6290         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
6291         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
6292         Likewise.
6293         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6295         * sysvipc/Makefile (tests): Add test-sysvmsg.
6296         * sysvipc/test-sysvmsg.c: New file.
6297         * support/check.h (FAIL_UNSUPPORTED): New define.
6299         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6300         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6301         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6302         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6303         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6304         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6305         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6306         Likewise.
6307         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6308         Likewise.
6309         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6310         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6311         define.
6313         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6314         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6315         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6316         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6317         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6318         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6319         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6320         Likewise.
6321         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6322         Likewise.
6323         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6324         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6325         if defined.
6327         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6328         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6329         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6330         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6331         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6332         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6333         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6334         Likewise.
6335         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6336         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6337         Likewise.
6338         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6339         if defined.
6340         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6342         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6343         oldmsgctl.
6344         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6345         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6346         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6347         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6348         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6349         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6350         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6351         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6352         Likewise.
6353         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6354         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6355         implementation.
6356         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6357         if defined.
6359         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6360         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6361         definition and define its own.
6362         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6363         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6364         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6365         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6366         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6367         definitions to common header.
6368         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6369         operation from ipc_ops.h.
6371         * sysdeps/unix/sysv/linux/kernel-features.h
6372         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6373         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6374         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6375         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6376         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6377         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6378         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6379         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6380         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6381         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6382         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6383         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6384         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6385         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6386         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6388 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6390         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6391         overflow in pointer addition.
6393 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6395         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6396         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6397         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6398         (strchr): Add __strchr_power8 to list of strchr functions.
6399         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6400         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6401         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6402         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6403         (strchr): Add __strchr_power8 to ifunc list.
6404         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6405         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6406         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6407         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6409 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6411         * support/Makefile (libsupport-routines): Add
6412         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6413         (tests): Add tst-support_record_failure.
6414         (tests-special): tst-support_record_failure-2.
6415         (tst-support_record_failure-2.out): Depend on
6416         tst-support_record_failure-2.sh and tst-support_record_failure.
6417         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6418         (support_test_verify_impl, support_record_failure)
6419         (support_report_failure, support_report_failure_reset): Declare.
6420         * support/support_test_main.c (adjust_exit_status): New function.
6421         (support_test_main): Call it to incorporate record test failures.
6422         * support/support_test_verify_impl.c: New file.
6423         * support/support_record_failure.c: Likewise.
6424         * support/tst-support_record_failure.c: Likewise.
6425         * support/tst-support_record_failure-2.sh: Likewise.
6426         * support/xunistd.h: Likewise.
6427         * support/xfork.c: Likewise.
6428         * support/xwaitpid.c: Likewise.
6430 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6432         * scripts/check-c++-types.sh: Add comments.
6434 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6436         [BZ #19514]
6437         * resolv/res_send.c: Fix typo in comment.
6438         * sysdeps/i386/i386-mcount.S: Likewise.
6439         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6440         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6441         * sysdeps/sparc/sparc-mcount.S: Likewise.
6443 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6445         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6446         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6447         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6448         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6449         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6450         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6451         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6452         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6454 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6456         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6458 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6460         [BZ #17252]
6461         * posix/unistd.h (getentropy): Declare.
6463 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6465         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6466         Remove.
6467         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6468         (cmd): Remove spoof, nospoof, spoofalert.
6469         (parse_line): Ignore spoof-related lines.
6470         (do_init): Do not process RESOLV_SPOOF_CHECK.
6472 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6474         [BZ #20964]
6475         sunrpc: Always obtain AF_INET addresses from NSS.
6476         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6477         * sunrpc/rpc_gethostbyname.c: New file.
6478         * sunrpc/Makefile (routines): Add it.
6479         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6480         * sunrpc/clnt_simp.c (callrpc): Likewise.
6481         * sunrpc/getrpcport.c (getrpcport): Likewise.
6483 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6485         * sunrpc/rpcinfo.c: Remove.
6486         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6488 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6490         [BZ #19387]
6491         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6492         addition.
6493         * string/test-memchr.c (do_test): Remove alignment limitation.
6494         (test_main): Add test that trigger BZ #19387.
6496 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6498         [BZ #7065]
6499         Enable stack protectore if requested by ./configure.
6500         * Makeconfig (+stack-protector): New variable.
6501         (+cflags): Use it.
6503 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6505         [BZ #7065]
6506         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6507         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6508         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6509         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6510         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6512 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6514         [BZ #7065]
6515         * login/Makefile (pt_chown-cflags): Remove.
6516         * nscd/Makefile (CFLAGS-nscd): Likewise.
6517         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6519 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6521         [BZ #7065]
6522         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6523         non-libc-linking testcase.
6525 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6526             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6527             Florian Weimer  <fweimer@redhat.com>
6529         [BZ #7065]
6530         PLT avoidance for __stack_chk_fail*.
6531         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6532         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6533         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6534         __stack_chk_fail_local alias.
6535         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6536         (__stack_chk_fail): Turn into hidden reference to
6537         __stack_chk_fail_local.
6539 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6541         [BZ #7065]
6542         * configure.ac: Add check for unsupported stack-protection level.
6543         (libc_cv_predef_stack_protector): Remove.
6544         (no_ssp): New variable.
6545         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6546         (stack_protector): Set to -fno-stack-protector similarly.
6547         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6548         (libc_cv_asm_set_directive): Likewise.
6549         (libc_cv_protected_data): Likewise.
6550         (libc_cv_z_combreloc): Likewise.
6551         (libc_cv_hashstyle): Likewise.
6552         (libc_cv_has_glob_dat): Likewise.
6553         (libc_cv_output_format): Likewise.
6554         (libc_cv_output_format): Likewise.
6555         (libc_cv_ehdr_start): Likewise.
6556         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6557         (LIBC_LINKER_FEATURE): Likewise.
6558         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6560 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6562         [BZ #7065]
6563         * elf/Makefile (dummy-stack-chk-fail): New.
6564         (librtld.map): Use it.
6566 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6568         [BZ #7065]
6569         Compile the dynamic linker without stack protection.
6570         * elf/Makefile (elide-stack-protector): New.
6571         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6572         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6573         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6574         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6576 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6578         [BZ #7065]
6579         * config.make.in (have-ssp, no-stack-protector): New.
6580         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6581         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6582         (CFLAGS-sbrk.op): Likewise.
6583         (CFLAGS-brk.o): Likewise.
6584         (CFLAGS-brk.op): Likewise.
6585         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6586         (CFLAGS-wordcopy.c): Likewise.
6588 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6590         [BZ #7065]
6591         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6592         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6593         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6594         (__ifunc_resolver): Use it.
6595         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6596         inhibit_stack_protector.
6597         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6598         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6599         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6600         (foo_protected_ifunc): Likewise.
6601         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6602         (foo_protected_ifunc): Likewise.
6603         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6604         * sysdeps/nacl/nacl_interface_query.c
6605         (nacl_interface_query_ifunc): Likewise.
6606         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6607         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6608         Likewise.
6609         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6610         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6611         the generated vDSO syscall resolver.
6613 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6614             Florian Weimer  <fweimer@redhat.com>
6616         [BZ #7065]
6617         Initialize the stack guard earlier when linking statically.
6618         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6619         (__pthread_initialize_minimal): Declare.
6620         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6621         declaration.
6622         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6623         stack canary and apply_irel initialization up.  Call
6624         __pthread_initialize_minimal only if linked in.
6625         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6626         constant values.
6627         (__pthread_initialize_minimal): Remove.
6628         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6629         (__pthread_initialize_minimal_internal): Do not call
6630         __libc_setup_tls.
6632 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6634         [BZ #7065]
6635         * configure.ac (libc_cv_ssp): Move up.
6636         (libc_cv_ssp_strong): Likewise.
6637         (libc_cv_ssp_all): New.
6638         (stack_protector): Augment, adding -fstack-protector-all.
6639         (no_stack_protector): New.
6640         (STACK_PROTECTOR_LEVEL): New.
6641         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6642         * manual/install.texi (--enable-stack-protector): Document it.
6643         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6645 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6647         * README.pretty-printers: Must specify CPPFLAGS-* also.
6648         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6649         (CPPFLAGS-test-mutex-printers.c): Define.
6650         (CPPFLAGS-test-condattr-printers.c): Define.
6651         (CPPFLAGS-test-cond-printers.c): Define.
6652         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6653         (CPPFLAGS-test-rwlock-printers.c): Define.
6655         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6656         (tests): Add tst-cancel-getpwuid_r.
6657         * nss/tst-cancel-getpwuid_r.c: New file.
6659         [BZ #11941]
6660         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6661         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6662         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6663         tst-nodelete-dlclose.
6664         (modules-names): Add tst-nodelete-dlclose-dso and
6665         tst-nodelete-dlclose-plugin.
6666         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6667         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6668         ($(objpfx)tst-nodelete-dlclose): Define.
6669         ($(objpfx)tst-nodelete-dlclose.out): Define.
6671 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6673         * scripts/test_printers_common.py: Log GDB output in case of
6674         Python detection failure.
6676 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6678         * configure.ac: Check for python3 or python.
6679         * configure: Regenerated.
6680         * config.make.in (PYTHON): New variable.
6681         * benchtests/Makefile: Don't define PYTHON.
6682         (bench): Define target only if PYTHON was defined.
6683         * Rules: Don't define PYTHON.
6684         Define pretty printer targets only if PYTHON was defined.
6685         (tests-printers): Add to tests-unsupported if PYTHON is not
6686         found.
6687         (python-flags, python-invoke): Remove.
6688         (tests-printers-out): Use PYTHON instead of python-invoke.
6690 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6692         [BZ #20978]
6693         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6694         Compare name == NULL, not name != NULL.
6696         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6697         trailing whitespace removed.
6698         * scripts/config.guess: Update to version 2016-10-02.
6699         * scripts/config.sub: Update to version 2016-11-19.
6700         * scripts/install-sh: Update to version 2016-01-11.22.
6701         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6702         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6704 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6706         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6707         (do_one_test) Restore original string so iteration works.
6708         * string/string-inlines.c (do_test): Create better input strings.
6709         (test_main) Reduce number of testruns.
6710         * string/string-inlines.c (__old_strsep_1c): New function.
6711         (__old_strsep_2c): Likewise.
6712         (__old_strsep_3c): Likewise.
6713         * string/strsep.c (__strsep): Remove case of small delim string.
6714         Call strcspn directly rather than strpbrk.
6715         * string/bits/string2.h (__strsep): Remove define.
6716         (__strsep_1c): Remove.
6717         (__strsep_2c): Remove.
6718         (__strsep_3c): Remove.
6719         (strsep): Remove.
6720         * sysdeps/unix/sysv/linux/internal_statvfs.c
6721         (__statvfs_getflags): Rename to __strsep.
6723 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6725         * csu/libc-tls.c (_dl_tls_setup): Remove.
6726         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6727         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6728         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6730 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6732         [BZ #7065]
6733         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6734         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6736 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6737             Florian Weimer  <fweimer@redhat.com>
6739         [BZ #7065]
6740         * csu/Makefile (tests): Empty assignment and document it.
6741         (tests-static): Remove.
6742         * csu/tst-empty.c: Move to...
6743         * misc/tst-empty.c: ... here.  Switch to new test driver.
6744         * csu/tst-atomic.c: Move to...
6745         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6746         * csu/tst-atomic-long.c: Move to...
6747         * misc/tst-atomic-long.c: ... here.
6748         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6749         tst-atomic-long.
6750         (tests-static): Add tst-empty.
6752 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6754         * manual/nss.texi: Change incorrect @vtable to @table.
6755         * manual/arith.texi: Convert @tables of variables to @vtables
6756         and remove unnecessary indexing.
6757         * manual/filesys.texi: Likewise.
6758         * manual/llio.texi: Likewise.
6759         * manual/memory.texi: Likewise.
6760         * manual/process.texi: Likewise.
6761         * manual/resource.texi: Likewise.
6762         * manual/search.texi: Likewise.
6763         * manual/signal.texi: Likewise.
6764         * manual/socket.texi: Likewise.
6765         * manual/stdio.texi: Likewise.
6766         * manual/sysinfo.texi: Likewise.
6767         * manual/syslog.texi: Likewise.
6768         * manual/terminal.texi: Likewise.
6769         * manual/time.texi: Likewise.
6770         * manual/users.texi: Likewise.
6772 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6774         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6775         (roundeven): New declaration.
6776         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6777         macro.
6778         * math/Versions (roundeven): New libm symbol at version
6779         GLIBC_2.25.
6780         (roundevenf): Likewise.
6781         (roundevenl): Likewise.
6782         * math/Makefile (libm-calls): Add s_roundevenF.
6783         * math/libm-test.inc (roundeven_test_data): New array.
6784         (roundeven_test): New function.
6785         (main): Call roundeven_test.
6786         * math/test-tgmath.c (NCALLS): Increase to 134.
6787         (F(compile_test)): Call roundeven.
6788         (F(roundeven)): New function.
6789         * manual/arith.texi (Rounding Functions): Document roundeven,
6790         roundevenf and roundevenl.
6791         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6792         * include/math.h (roundeven): Use libm_hidden_proto.
6793         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6794         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6795         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6796         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6797         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6798         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6799         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6800         roundeven.
6801         (CFLAGS-nldbl-roundeven.c): New variable.
6802         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6803         * sysdeps/nacl/libm.abilist: Update.
6804         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6805         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6806         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6807         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6808         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6809         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6810         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6811         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6812         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6813         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6814         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6815         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6817         Likewise.
6818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6819         Likewise.
6820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6821         Likewise.
6822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6823         Likewise.
6824         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6825         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6826         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6827         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6828         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6830         Likewise.
6831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6832         Likewise.
6833         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6834         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6835         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6837 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6839         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6840         preprocessor indentation inside #if.
6842 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6844         * math/libm-test.inc (fmt_ftostr): New function.
6845         (print_float, check_float_internal): Replace some uses of
6846         FTOSTR with uses of fmt_ftostr.
6847         (print_max_error, print_complex_max_error, print_function_ulps)
6848         (print_complex_function_ulps): Remove uses of the macros
6849         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6850         * math/test-double.h (FTOSTR): Define to strfromd.
6851         (PRINTF_EXPR): Delete.
6852         (PRINTF_XEXPR): Likewise.
6853         (PRINTF_NEXPR): Likewise.
6854         * math/test-float.h (FTOSTR): Define to strfromf.
6855         (PRINTF_EXPR): Delete.
6856         (PRINTF_XEXPR): Likewise.
6857         (PRINTF_NEXPR): Likewise.
6858         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6859         (PRINTF_EXPR): Delete.
6860         (PRINTF_XEXPR): Likewise.
6861         (PRINTF_NEXPR): Likewise.
6863 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6865         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6866         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6867         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6868         (__lll_lock_elision): Decrement adapt_count while unlocking
6869         instead of before locking.
6870         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6871         (__lll_trylock_elision): Likewise.
6872         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6873         (__lll_unlock_elision): Likewise.
6875 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6877         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6878         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6879         Use __libc_tbegin_retry macro.
6881 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6883         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6884         Add -msoft-float.
6885         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6886         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6887         Use __libc_t* transaction macros instead of __builtin_t*.
6888         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6889         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6891 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6893         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6894         (__lll_lock_elision): Use atomics to load / store adapt_count.
6895         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6896         (__lll_trylock_elision): Likewise.
6898 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6900         Do not require memset elimination in explicit_bzero test.
6901         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6902         (enum test_expectation): Add NO_EXPECTATIONS.
6903         (subtests): NO_EXPECTATIONS for ordinary clear.
6904         (check_test_buffer): Handle NO_EXPECTATIONS.
6905         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6907 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6909         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6910         (fmaxmag): New declaration.
6911         (fminmag): Likewise.
6912         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6913         macro.
6914         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6915         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6916         (fmaxmagf): Likewise.
6917         (fmaxmagl): Likewise.
6918         (fminmag): Likewise.
6919         (fminmagf): Likewise.
6920         (fminmagl): Likewise.
6921         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6922         * math/s_fmaxmag_template.c: New file.
6923         * math/s_fminmag_template.c: Likewise.
6924         * math/libm-test.inc (fmaxmag_test_data): New array.
6925         (fmaxmag_test): New function.
6926         (fminmag_test_data): New array.
6927         (fminmag_test): New function.
6928         (main): Call fmaxmag_test and fminmag_test.
6929         * math/test-tgmath.c (NCALLS): Increase to 132.
6930         (F(compile_test)): Call fmaxmag and fminmag.
6931         (F(fminmag)): New function.
6932         (F(fmaxmag)): Likewise.
6933         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6934         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6935         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6936         fminmag.
6937         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6938         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6939         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6940         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6941         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6942         and fminmag.
6943         (CFLAGS-nldbl-fmaxmag.c): New variable.
6944         (CFLAGS-nldbl-fminmag.c): Likewise.
6945         * sysdeps/nacl/libm.abilist: Update.
6946         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6947         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6948         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6949         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6950         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6951         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6952         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6953         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6954         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6955         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6956         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6957         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6959         Likewise.
6960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6961         Likewise.
6962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6963         Likewise.
6964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6965         Likewise.
6966         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6967         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6968         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6969         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6970         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6972         Likewise.
6973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6974         Likewise.
6975         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6976         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6977         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6979 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6981         [BZ #20973]
6982         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6983         wake-up in robust mutexes.
6984         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6986 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6988         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6989         (CFLAGS-bench-fmaxf.c): New rule.
6990         (CFLAGS-bench-fminf.c): Likewise.
6991         * benchtests/fmaxf-inputs: New file.
6992         * benchtests/fminf-inputs: Likewise.
6994         * benchtests/Makefile (bench-math): Add fmin and fmax.
6995         (CFLAGS-bench-fmax.c): New rule.
6996         (CFLAGS-bench-fmin.c): Likewise.
6997         * benchtests/fmax-inputs: New file.
6998         * benchtests/fmin-inputs: Likewise.
7000         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
7001         parenthesis.
7002         (CMDLINE_PROCESS): Define using function instead of macro.
7003         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
7004         of test-skeleton.
7005         * benchtests/bench-memchr.c: Likewise.
7006         * benchtests/bench-memcmp.c: Likewise.
7007         * benchtests/bench-memcpy-large.c: Likewise.
7008         * benchtests/bench-memcpy.c: Likewise.
7009         * benchtests/bench-memmem.c: Likewise.
7010         * benchtests/bench-memmove-large.c: Likewise.
7011         * benchtests/bench-memmove.c: Likewise.
7012         * benchtests/bench-memset-large.c: Likewise.
7013         * benchtests/bench-memset.c: Likewise.
7014         * benchtests/bench-rawmemchr.c: Likewise.
7015         * benchtests/bench-strcasecmp.c: Likewise.
7016         * benchtests/bench-strcasestr.c: Likewise.
7017         * benchtests/bench-strcat.c: Likewise.
7018         * benchtests/bench-strchr.c: Likewise.
7019         * benchtests/bench-strcmp.c: Likewise.
7020         * benchtests/bench-strcpy.c: Likewise.
7021         * benchtests/bench-strcpy_chk.c: Likewise.
7022         * benchtests/bench-strlen.c: Likewise.
7023         * benchtests/bench-strncasecmp.c: Likewise.
7024         * benchtests/bench-strncmp.c: Likewise.
7025         * benchtests/bench-strncpy.c: Likewise.
7026         * benchtests/bench-strnlen.c: Likewise.
7027         * benchtests/bench-strpbrk.c: Likewise.
7028         * benchtests/bench-strrchr.c: Likewise.
7029         * benchtests/bench-strsep.c: Likewise.
7030         * benchtests/bench-strspn.c: Likewise.
7031         * benchtests/bench-strstr.c: Likewise.
7032         * benchtests/bench-strtok.c: Likewise.
7034 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7036         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
7037         stepping identification.
7038         (init_cpu_features): Add handle of Haswell.
7040 2016-11-25  Jim Meyering  <meyering@fb.com>
7042         [BZ #20386]
7043         Let gcc detect assert(a = 1) errors.
7044         * assert/assert.h (assert): Rewrite, retaining the old definintion
7045         when required, but otherwise putting the expression as-is in an "if"
7046         expression (hence, with no added parentheses) within a statement
7047         expression.
7049 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7051         * benchtests/Makefile (binaries-benchset): Depend on libsupport
7052         DSO.
7054 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
7056         * Rules (python-flags, python-invoke): New.
7057         ($(test-printers-out)): Use $(python-flags).
7059 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7061         * manual/arith.texi (Math Error Reporting): Document that sNaN
7062         arguments are not considered domain errors.
7064 2016-12-16  Zack Weinberg <zackw@panix.com>
7065             Florian Weimer <fweimer@redhat.com>
7066             Nick Mathewson <nickm@torproject.org>
7068         * string/explicit_bzero.c: New routine.
7069         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
7070         * string/Makefile (routines, strop-tests, tests): Add them.
7071         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
7072         * string/string.h [__USE_MISC]: Declare explicit_bzero.
7074         * debug/explicit_bzero_chk.c: New routine.
7075         * debug/Makefile (routines): Add it.
7076         * debug/tst-chk1.c: Test fortification of explicit_bzero.
7077         * string/bits/string3.h: Fortify explicit_bzero.
7079         * manual/string.texi: Document explicit_bzero.
7080         * NEWS: Mention addition of explicit_bzero.
7082         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
7083         data before returning, using explicit_bzero.
7084         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
7085         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7086         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7088         * include/string.h: Redirect internal uses of explicit_bzero
7089         to __explicit_bzero_chk[_internal].
7090         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
7091         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
7092         * sysdeps/arm/nacl/libc.abilist
7093         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7094         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7095         * sysdeps/unix/sysv/linux/arm/libc.abilist
7096         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7097         * sysdeps/unix/sysv/linux/i386/libc.abilist
7098         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7099         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7100         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7101         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7102         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7103         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7104         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7105         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7106         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7111         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7112         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7113         * sysdeps/unix/sysv/linux/sh/libc.abilist
7114         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7115         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7118         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7119         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7120         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7121         Add entries for explicit_bzero and __explicit_bzero_chk.
7123 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7125         * math/fenv.h
7126         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
7127         (FE_SNANS_ALWAYS_SIGNAL): New macro.
7128         * math/test-fe-snans-always-signal.c: New file.
7129         * math/Makefile (tests): Add test-fe-snans-always-signal.
7130         (CFLAGS-test-fe-snans-always-signal.c): New variable.
7131         * manual/arith.texi (Infinity and NaN): Document
7132         FE_SNANS_ALWAYS_SIGNAL.
7134 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7136         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
7137         bracket.
7139 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7141         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
7142         before calling execv.
7144 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7146         [BZ #20971]
7147         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
7148         overflow in pointer addition.
7149         * string/test-memchr.c (do_test): Add an argument to pass as
7150         the size on memchr.
7151         (test_main): Add check for SIZE_MAX.
7153 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7155         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
7156         (libm-calls): Add w_scalblnF.
7157         * math/w_scalbln.c: Remove.
7158         * math/w_scalblnf.c: Likewise.
7159         * math/w_scalblnl.c: Likewise.
7160         * math/w_scalbln_template.c: New file with type-generic
7161         implementation based on math/w_scalbln.c.
7162         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
7163         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
7165 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7167         [BZ #20947]
7168         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
7169         either is a signaling NaN.
7170         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
7171         follow fmaxl more closely.
7172         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
7173         when either is a signaling NaN.
7174         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
7175         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
7176         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
7177         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
7178         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
7179         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
7180         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
7181         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
7182         (fmin_test_data): Likewise.
7184 2016-12-15  Andreas Schwab  <schwab@suse.de>
7186         * support/support_test_main.c (support_test_main): Don't shadow
7187         file-local variable test_pid.
7189 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7191         [BZ #20947]
7192         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
7193         either is a signaling NaN.
7194         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
7196 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7198         [BZ #20947]
7199         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
7200         when either is a signaling NaN.
7201         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
7203         * bits/long-double.h: New file.
7204         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
7205         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
7206         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
7207         * sysdeps/mips/bits/long-double.h: Likewise.
7208         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
7209         * math/Makefile (headers): Add bits/long-double.h.
7210         * misc/sys/cdefs.h: Include <bits/long-double.h>.
7211         * stdlib/strtold.c: Include <bits/long-double.h> instead of
7212         <bits/wordsize.h>.
7213         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
7214         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
7215         * math/math.h: Do not include <bits/mathdef.h>.
7216         * sysdeps/aarch64/bits/mathdef.h: Remove file.
7217         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
7218         inclusion.
7219         * sysdeps/ia64/bits/mathdef.h: Remove file.
7220         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
7221         * sysdeps/mips/bits/mathdef.h: Likewise.
7222         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7223         * sysdeps/s390/bits/mathdef.h: Likewise.
7224         * sysdeps/sparc/bits/mathdef.h: Likewise.
7225         * sysdeps/x86/bits/mathdef.h: Likewise.
7226         * sysdeps/s390/s390-32/bits/wordsize.h
7227         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
7228         conditional code.
7229         * sysdeps/s390/s390-64/bits/wordsize.h
7230         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7231         Likewise.
7232         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
7233         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7234         Likewise.
7235         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
7236         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7237         Likewise.
7238         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7239         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7240         Likewise.
7242         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
7243         <linux/falloc.h>.
7244         (FALLOC_FL_KEEP_SIZE): Remove.
7245         (FALLOC_FL_PUNCH_HOLE): Likewise.
7246         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
7247         (FALLOC_FL_ZERO_RANGE): Likewise.
7249 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7251         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
7253 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7255         * sysdeps/unix/sysv/linux/renameat.c: New file.
7256         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
7258         * sysdeps/unix/sysv/linux/rename.c: New file.
7259         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
7261 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7263         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
7264         * string/strtok.c (strtok): Change to tailcall __strtok_r.
7265         * string/strtok_r.c (__strtok_r): Optimize for performance.
7266         * string/string-inlines.c (__old_strtok_r_1c): New function.
7267         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
7269 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7271         * math/Makefile (gen-libm-calls): Add w_log1pF.
7272         (libm-calls): Remove w_log1pF.
7273         * math/w_log1p.c: Remove.
7274         * math/w_log1pf.c: Likewise.
7275         * math/w_log1pl.c: Likewise.
7276         * math/w_log1p_template.c: New file with type-generic
7277         implementation based on math/w_log1p.c.
7278         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
7279         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
7281 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7283         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
7285 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7287         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7288         kernel version to 4.9.
7290 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
7292         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
7293         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7295 2016-12-13  Andreas Schwab  <schwab@suse.de>
7297         * sysdeps/powerpc/dl-procinfo.c: Don't define
7298         _dl_powerpc_platforms.
7299         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7300         constants instead of referencing _dl_powerpc_platforms.
7301         (_dl_platform_string): Remove.
7303 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7305         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7307 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7309         * Rules (binaries-shared-tests, binaries-pie-tests)
7310         (binaries-static-tests): Link with $(link-extra-libs-tests).
7311         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7312         Remove $(link-extra-libs-tests).
7314 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7316         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7317         (sysdep_routines): Add strncmp_power9.
7318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7319         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7320         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7321         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7322         (strncmp): Add __strncmp_power9 to ifunc list.
7323         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7325 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7327         [BZ #17252]
7328         Add getentropy, getrandom.
7329         * stdlib/sys/random.h: New file.
7330         (headers): Add it.
7331         * stdlib/Makefile (routines): Add getentropy, getrandom.
7332         (tests): Add tst-getrandom.
7333         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7334         * stdlib/getentropy.c: New file.
7335         * stdlib/getrandom.c: Likewise.
7336         * stdlib/tst-getrandom.c: Likewise.
7337         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7338         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7339         * manual/crypt.texi (Unpredictable Bytes): New section.
7340         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7341         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7342         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7343         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7344         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7345         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7346         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7347         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7348         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7349         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7350         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7351         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7352         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7353         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7354         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7355         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7357         Likewise.
7358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7359         Likewise.
7360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7362         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7363         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7364         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7365         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7366         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7369         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7370         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7371         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7373 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7375         [BZ #20956]
7376         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7377         as additional compiler barriers.
7378         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7379         (fn2, do_test): Declare with external linkage.
7380         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7381         (do_test): Declare with external linkage.
7382         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7383         (do_test): Declare with external linkage.
7384         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7385         (do_test): Declare with external linkage.
7387 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7389         * support/support_test_main.c (support_test_main): Use correct
7390         timeout.
7392 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7393             Florian Weimer  <fweimer@redhat.com>
7395         [BZ #16421]
7396         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7397         and __u6_addr32 members.
7398         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7399         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7400         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7401         Use __u6_addr32.
7402         * inet/tst-checks.c: Use <support/test-driver.c>
7403         * inet/tst-checks-posix.c: New file.
7404         * inet/Makefile (tests): Add it.
7405         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7407 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7409         New subdirectory support for build and test infrastructure.
7410         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7411         setting install-lib.
7412         * Makeconfig (link-extra-libs-tests): Define.
7413         (+link-pie-tests, +link-static-tests, +link-tests): Use
7414         link-extra-libs-tests.
7415         (rpath-dirs, all-subdirs): Add support.
7416         (built-modules): Add libsupport.
7417         (libsupport): Define.
7418         * support: New directory.
7419         * support/Makefile: New file.
7420         * support/check.c: Likewise.
7421         * support/check.h: Likewise.
7422         * support/delayed_exit.c: Likewise.
7423         * support/ignore_stderr.c: Likewise.
7424         * support/oom_error.c: Likewise.
7425         * support/set_fortify_handler.c: Likewise.
7426         * support/support.h: Likewise.
7427         * support/temp_file-internal.h: Likewise.
7428         * support/temp_file.c: Likewise.
7429         * support/test-driver.c: Likewise.
7430         * support/test-driver.h: Likewise.
7431         * support/test_main.c: Likewise.
7432         * support/write_message.c: Likewise.
7433         * support/xasprintf.c: Likewise.
7434         * support/xcalloc.c: Likewise.
7435         * support/xmalloc.c: Likewise.
7436         * support/xpthread_barrier_destroy.c: Likewise.
7437         * support/xpthread_barrier_init.c: Likewise.
7438         * support/xpthread_barrier_wait.c: Likewise.
7439         * support/xpthread_cancel.c: Likewise.
7440         * support/xpthread_check_return.c: Likewise.
7441         * support/xpthread_cond_wait.c: Likewise.
7442         * support/xpthread_create.c: Likewise.
7443         * support/xpthread_detach.c: Likewise.
7444         * support/xpthread_join.c: Likewise.
7445         * support/xpthread_mutex_lock.c: Likewise.
7446         * support/xpthread_mutex_unlock.c: Likewise.
7447         * support/xpthread_sigmask.c: Likewise.
7448         * support/xpthread_spin_lock.c: Likewise.
7449         * support/xpthread_spin_unlock.c: Likewise.
7450         * support/xrealloc.c: Likewise.
7451         * support/xsignal.h: Likewise.
7452         * support/xthread.h: Likewise.
7453         * support_tempfile.h: Likewise.
7454         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7455         (TEST_DATA_LIMIT): Remove unused macro.
7456         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7457         <support/check.h>.
7458         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7459         (ignore_stderr, set_fortify_handler): Remove.  Now in
7460         <support/support.h>.
7461         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7462         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7463         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7464         (xpthread_join): Remove.  Now in <support/xthread.h>.
7465         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7466         Introduce legacy wrappers.
7467         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7468         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7469         (write_message): Remove.
7470         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7471         test-skeleton.c.
7472         * io/test-open-tmpfile: Likewise.
7473         * io/tst-posix_fallocate-common.c: Likewise.
7474         * libio/tst-fseek.c: Likewise.
7475         * malloc/tst-malloc-backtrace.c: Likewise.
7476         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7477         * malloc/tst-malloc-thread-exit.c: Likewise.
7478         * nptl/tst-cancel7.c: Likewise.
7479         * nptl/tst-cleanup0.c: Likewise.
7480         * posix/tst-posix_fadvise-common.c: Likewise.
7481         * rt/tst-shm.c: Likewise.
7482         * time/bug-getdate1.c: Likewise.
7483         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7484         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7485         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7487 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7489         * Rules [$(run-built-tests) != no] (tests-expected): Add
7490         $(tests-printers).
7491         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7493 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7495         [BZ #20539]
7496         * math/Makefile (install-lib-ldscripts): Add libm.a.
7497         (install_subdir): Remove.
7498         (install-others): Add.
7499         ($(inst_libdir)/libm.a): Add rule for installation as
7500         linker script.
7501         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7503 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7505         * INSTALL: Regenerated.
7506         * Makeconfig: Add comments and whitespace to make the control flow
7507         clearer.
7508         (+link-printers-tests, +link-pie-printers-tests,
7509         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7510         built-rtld-LDFLAGS, link-libc-rpath,
7511         link-libc-tests-after-rpath-link,
7512         link-libc-printers-tests): New.
7513         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7514         link-libc-tests): Use the new variables as required.
7515         * Makerules ($(py-const)): New rule.
7516         generated: Add $(py-const).
7517         * README.pretty-printers: New file.
7518         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7519         (others): Depend on $(py-const).
7520         (tests): Depend on $(tests-printers-programs) or
7521         $(tests-printers-out),
7522         as required.  Pass $(tests-printers) to merge-test-results.sh.
7523         * manual/install.texi: Add requirements for testing the pretty
7524         printers.
7525         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7526         tests-printers, CFLAGS-test-mutexattr-printers.c
7527         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7528         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7529         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7530         * nptl/nptl-printers.py: New file.
7531         * nptl/nptl_lock_constants.pysym: Likewise.
7532         * nptl/test-cond-printers.c: Likewise.
7533         * nptl/test-cond-printers.py: Likewise.
7534         * nptl/test-condattr-printers.c: Likewise.
7535         * nptl/test-condattr-printers.py: Likewise.
7536         * nptl/test-mutex-printers.c: Likewise.
7537         * nptl/test-mutex-printers.py: Likewise.
7538         * nptl/test-mutexattr-printers.c: Likewise.
7539         * nptl/test-mutexattr-printers.py: Likewise.
7540         * nptl/test-rwlock-printers.c: Likewise.
7541         * nptl/test-rwlock-printers.py: Likewise.
7542         * nptl/test-rwlockattr-printers.c: Likewise.
7543         * nptl/test-rwlockattr-printers.py: Likewise.
7544         * scripts/gen-py-const.awk: Likewise.
7545         * scripts/test_printers_common.py: Likewise.
7546         * scripts/test_printers_exceptions.py: Likewise.
7548 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7550         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7551         argument.
7552         (Glibc.build_glibc): Strip installed shared libraries if
7553         requested.
7554         (get_parser): Add --strip option.
7555         (main): Update Context call.
7557 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7558             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7560         [BZ #20847]
7561         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7562         array bounds for else branch.
7563         (__execvpe): Style fixes.
7564         * posix/tst-vfork3.c (run_script): New function.
7565         (create_script): Likewise.
7566         (do_test): Use run_script internal function.
7567         (do_prepare): Use create_script internal function.
7569 2016-12-07  Andreas Schwab  <schwab@suse.de>
7571         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7572         (__elision_available): Don't declare.
7573         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7574         (__elision_available): Don't define.
7575         (elision_init): Don't set __elision_available.
7577 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7579         [BZ #20940]
7580         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7581         return Inf for arguments Inf and sNaN.
7582         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7583         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7584         Likewise.
7585         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7586         Likewise.
7587         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7588         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7589         for arguments Inf and sNaN.  When returning a NaN, compute it by
7590         arithmetic on the arguments.
7591         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7592         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7593         arguments.
7595 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7597         [BZ #20916]
7598         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7599         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7600         to compute result.
7601         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7602         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7604 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7606         * include/atomic.h (__atomic_check_size_ls): New.
7607         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7608         atomic_store_release): Use it.
7609         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7610         (elision_adapt, ELIDE_LOCK): Use atomics.
7611         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7612         atomics and improve code comments.
7613         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7614         (__lll_trylock_elision): Likewise.
7616 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7618         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7619         programs.
7621 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7623         [BZ #20916]
7624         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7625         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7626         arguments to compute result.
7627         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7628         1 for arguments (sNaN, 0) or (1, sNaN).
7629         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7630         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7632         [BZ #20919]
7633         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7634         NaN first argument when raised to power 0.
7635         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7636         raising to power zero.
7637         * math/w_powf.c (__powf): Likewise.
7638         * math/w_powl.c (__powl): Likewise.
7639         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7640         pow (0, 0) or pow (NaN, 0).
7642 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7644         [BZ #20918]
7645         * configure.ac: Test for static NSS cryptographic libraries and set
7646         libc_cv_static_nss_crypt.
7647         * configure: Regenerate.
7648         * config.make.in (static-nss-crypt): Define.
7649         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7650         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7651         (CFLAGS-tst-linkall-static.c): Define.
7652         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7653         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7654         ($(objpfx)tst-linkall-static): Define.
7655         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7656         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7658 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7660         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7661         (one-hundred, tst-tls-many-dynamic-modules): Define.
7662         (modules-names): Add $(tst-tls-many-dynamic-modules).
7663         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7664         macros.
7665         (tst-tls-manydynamic): Link against libdl, libpthread.
7666         (tst-tls-manydynamic.out): The test needs the test modules at run
7667         time.
7668         * elf/tst-tls-manydynamic.c: New file.
7669         * elf/tst-tls-manydynamic.h: Likewise.
7670         * elf/tst-tls-manydynamicmod.c: Likewise.
7672 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7674         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7675         (TLS_DTV_UNALLOCATED): Add.
7676         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7677         offsets.
7679 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7681         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7683 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7685         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7686         Add -fno-optimize-sibling-calls.
7688 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7690         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7691         New declaration.
7692         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7693         macro.
7694         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7695         New macro.
7696         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7698         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7699         (llogbf): Likewise.
7700         (llogbl): Likewise.
7701         * math/Makefile (gen-libm-calls): Add w_llogbF.
7702         (tests): Add test-fp-llogb-constants.
7703         * math/w_llogb_template.c: New file.  Based on
7704         math/w_ilogb_template.c.
7705         * math/libm-test.inc (llogb_test_data): New array.
7706         (llogb_test): New function.
7707         (main): Call llogb_test.
7708         * math/test-fp-llogb-constants.c: New file.  Based on
7709         math/test-fp-ilogb-constants.c.
7710         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7711         (do_test): Call check_return_llogb.
7712         * math/test-tgmath.c (NCALLS): Increase to 126.
7713         (F(compile_test)): Call llogb.
7714         (F(llogb)): New function.
7715         * manual/math.texi (Exponents and Logarithms): Document llogb,
7716         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7717         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7718         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7719         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7720         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7721         (CFLAGS-nldbl-llogb.c): New variable.
7722         * sysdeps/nacl/libm.abilist: Update.
7723         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7724         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7725         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7726         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7727         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7728         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7729         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7730         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7731         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7732         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7733         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7734         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7736         Likewise.
7737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7738         Likewise.
7739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7740         Likewise.
7741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7742         Likewise.
7743         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7744         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7745         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7746         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7747         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7749         Likewise.
7750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7751         Likewise.
7752         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7753         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7754         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7756 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7758         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7759         _Float128 instead of long double.
7760         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7762         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7763         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7764         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7765         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7766         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7767         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7768         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7769         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7770         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7771         Likewise.
7773 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7775         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7776         Remove redirection to __strrchr_ppc.
7778 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7780         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7781         (sysdep_routines): Add strcmp_power9.
7782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7783         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7784         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7785         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7786         (strcmp): Add __strcmp_power9 to ifunc list.
7787         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7789 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7791         * bits/fp-logb.h: New file.
7792         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7793         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7794         * sysdeps/x86/bits/fp-logb.h: Likewise.
7795         * math/Makefile (headers): Add bits/fp-logb.h.
7796         * math/math.h: Include <bits/fp-logb.h>.
7797         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7798         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7799         * bits/mathdef.h (FP_ILOGB0): Remove.
7800         (FP_ILOGBNAN): Likewise.
7801         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7802         (FP_ILOGBNAN): Likewise.
7803         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7804         (FP_ILOGBNAN): Likewise.
7805         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7806         (FP_ILOGBNAN): Likewise.
7807         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7808         (FP_ILOGBNAN): Likewise.
7809         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7810         (FP_ILOGBNAN): Likewise.
7811         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7812         (FP_ILOGBNAN): Likewise.
7813         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7814         (FP_ILOGBNAN): Likewise.
7815         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7816         (FP_ILOGBNAN): Likewise.
7817         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7818         (FP_ILOGBNAN): Likewise.
7820         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7821         time module.
7822         (Context.__init__): Initialize self.logsdir_old.
7823         (Context.run_builds): Handle bot action.
7824         (Context.bot_cycle): Copy logs directory before running builds.
7825         (Context.bot_run_self): Take argument for whether to check
7826         subprocess result.  Flush stdout before running subprocess.
7827         (Context.bot): New function.
7828         (get_parser): Allow bot action.
7830 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7832         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7833         Import email.mime.text, email.utils and smtplib modules.
7834         (Context.__init__): Initialize self.bot_config_json.
7835         (Context.run_builds): Handle bot-cycle action.
7836         (Context.load_bot_config_json): New function.
7837         (Context.part_build_old): Likewise.
7838         (Context.bot_cycle): Likewise.
7839         (Context.bot_build_mail): Likewise.
7840         (Context.bot_run_self): Likewise.
7841         (get_parser): Allow bot-cycle action.
7843 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7845         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7846         Remove redirection to __stpcpy_ppc.
7848 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7850         Remove __libc_memalign from ld.so because it is unused.
7851         * elf/dl-minimal.c: Update comment on the malloc implementation.
7852         (malloc): Renamed from __libc_memalign, replacing the original
7853         malloc implementation.  Replace the align parameter with
7854         MALLOC_ALIGNMENT.
7855         * elf/Versions (ld): Update comment and remove __libc_memalign.
7856         * sysdeps/nacl/ld.abilist: Likewise.
7857         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7858         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7859         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7860         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7861         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7862         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7863         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7864         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7865         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7866         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7867         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7868         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7869         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7873         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7874         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7875         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7876         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7877         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7880         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7881         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7882         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7883         * sysdeps/generic/localplt.data (ld.so): Likewise.
7884         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7885         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7886         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7887         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7888         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7889         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7890         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7891         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7892         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7894         (ld.so): Likewise.
7895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7896         (ld.so): Likewise.
7897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7898         Likewise.
7899         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7900         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7901         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7902         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7903         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7905 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7907         [BZ #16628]
7908         Implement _dl_catch_error, _dl_signal_error in libc.so.
7909         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7910         (catch_hook): Define as thread-local or regular variable,
7911         depending on DL_ERROR_BOOTSTRAP.
7912         (CATCH_HOOK): Remove.
7913         (dl_signal_error, _dl_catch_error): Use
7914         catch_hook.  Add hidden definition for libc.
7915         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7916         for DL_ERROR_BOOTSTRAP only.
7917         * elf/dl-error.c: New file.
7918         * elf/dl-error-minimal.c: Likewise.
7919         * elf/tst-latepthread.c: Likewise.
7920         * elf/tst-latepthreadmod.c: Likewise.
7921         * elf/Makefile (routines): Add dl-error.
7922         (dl-routines): Remove dl-error.
7923         (rtld-routines): Add dl-error-minimal.
7924         [build-shared] (tests): Add tst-latepthread.
7925         (module-names): Add tst-latepthreadmod.
7926         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7927         symbol.
7928         (tst-latepthreadmod.so): Link against libpthread.
7929         (tst-latepthread): Link against libdbl.
7930         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7931         _dl_catch_error.
7932         [ld] (GLIBC_PRIVATE): Likewise.
7933         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7934         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7935         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7936         directly.
7937         * elf/dl-tsd.c: Remove file.
7938         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7939         _dl_catch_error, _dl_signal_error.
7940         (_dl_initial_error_catch_tsd): Remove definition.
7941         (do_preload): Remove initialization of dl_error_catch_tsd.
7942         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7943         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7944         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7945         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7946         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7947         set dl_error_catch_tsd.
7948         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7949         _dl_error_catch_tsd member.
7950         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7951         members.
7952         (_dl_initial_error_catch_tsd): Remove declaration.
7953         (_dl_dprintf): Provide definition for use outside of ld.so.
7954         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7955         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7956         prototype for libc.
7957         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7958         _dl_catch_error.
7959         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7960         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7961         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7962         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7963         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7964         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7965         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7966         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7967         Likewise.
7968         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7970         (ld.so): Likewise.
7971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7972         (ld.so): Likewise.
7973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7974         Likewise.
7975         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7976         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7977         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7978         Likewise.
7979         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7980         Likewise.
7981         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7983 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7985         [BZ #4099]
7986         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7987         _IO_BUFSIZ (8192).
7989 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7991         * PROJECTS: Remove file.
7993 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7995         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7997 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7998             Steve Ellcey  <sellcey@caviumnetworks.com>
8000         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
8001         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
8002         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
8003         fxstatat.
8004         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
8005         lxstat.
8006         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
8007         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
8008         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
8009         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
8010         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
8011         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
8012         __xstat.
8014 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8016         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
8017         Define.
8018         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
8019         definition.
8021 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8023         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
8024         version and turn into strong alias.  Remove compat symbol.
8026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8027         (__longjmp): Remove.
8029 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
8031         * bits/fp-fast.h: New file.
8032         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
8033         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
8034         * math/Makefile (headers): Add bits/fp-fast.h.
8035         * math/math.h: Include <bits/fp-fast.h>.
8036         * bits/mathdef.h (FP_FAST_FMA): Remove.
8037         (FP_FAST_FMAF): Likewise.
8038         (FP_FAST_FMAL): Likewise.
8039         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
8040         (FP_FAST_FMAF): Likewise.
8041         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
8042         (FP_FAST_FMAF): Likewise.
8043         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
8044         (FP_FAST_FMAF): Likewise.
8045         (FP_FAST_FMAL): Likewise.
8046         * sysdeps/arm/bits/mathdef.h: Remove file.
8047         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
8048         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8049         * sysdeps/tile/bits/mathdef.h: Likewise.
8051 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8053         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
8054         * math/w_ilogb.c: Remove.
8055         * math/w_ilogbf.c: Likewise.
8056         * math/w_ilogbl.c: Likewise.
8057         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
8058         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
8059         * math/Makefile (gen-libm-calls): Add w_ilogbF.
8060         (libm-calls): Remove w_ilogbF.
8061         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
8062         (LDOUBLE_ilogbl_libm_version): New macro.
8064         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
8066         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
8067         [!__STRICT_ANSI__ && !__cplusplus].
8069 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8071         [BZ #20750]
8072         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
8073         of PIC.
8075 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8076             Yury Norov  <ynorov@caviumnetworks.com>
8077             Steve Ellcey  <sellcey@caviumnetworks.com>
8079         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
8080         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
8081         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
8082         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
8083         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
8084         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
8085         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
8086         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
8087         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
8088         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
8089         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
8090         to get correct reg name for ILP32.
8091         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
8092         (RELA_SIZE): New Macro.
8093         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
8094         to support ILP32.
8095         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
8096         cast for ILP32 mode.
8097         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
8098         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
8099         * sysdeps/aarch64/memset.S (__memset): Ditto.
8100         * sysdeps/aarch64/strchr.S (strchr): Ditto.
8101         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
8102         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
8103         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
8104         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
8105         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
8106         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
8107         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
8108         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
8109         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
8110         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
8111         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
8112         change PTR_MANGLE call to use register numbers instead of names.
8113         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
8114         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
8115         ILP32 mode, change PTR_MANGLE calls to use register numbers.
8116         * sysdeps/aarch64/start.S (_start): Ditto.
8117         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
8118         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
8119         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
8120         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
8121         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
8122         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
8123         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
8124         Make defined values dependent on __ILP32__.
8125         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
8126         (sem_t): Change __align type.
8127         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
8128         PTR_SIZE): New Macros.
8129         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
8130         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
8131         Set when in ILP32 mode.
8132         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
8133         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
8134         Set elf flags for ILP32.
8135         (add_system_dir): Set ILP32 library directories.
8136         * sysdeps/unix/sysv/linux/aarch64/init-first.c
8137         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
8138         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
8139         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
8140         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
8141         New Macros.
8142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
8144 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
8146         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
8147         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
8148         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
8150 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8152         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
8153         <asm/cachectl.h>.
8155 2016-11-27  Zack Weinberg  <zackw@panix.com>
8157         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
8158         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
8160 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8162         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
8163         error_t to fix usage in C++ programs.
8165 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
8167         * scripts/build-many-glibcs.py: Import datetime module.
8168         (Context.__init__): Load JSON build state.  Initialize list of
8169         status logs.
8170         (Context.run_builds): Update saved build state.
8171         (Context.add_makefile_cmdlist): Update list of status logs.
8172         (Context.load_build_state_json): New function.
8173         (Context.store_build_state_json): Likewise.
8174         (Context.clear_last_build_state): Likewise.
8175         (Context.update_build_state): Likewise.
8176         (CommandList.status_logs): Likewise.
8178 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
8180         * scripts/build-many-glibcs.py (Context.__init__): Save text of
8181         script being executed.
8182         (Context.get_script_text): New function.
8183         (Context.exec_self): Likewise.
8184         (Context.checkout): Re-exec script if changed by checkout process.
8186 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8188         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8189         (setpayloadsig): New declaration.
8190         * math/Versions (setpayloadsig): New libm symbol at version
8191         GLIBC_2.25.
8192         (setpayloadsigf): Likewise.
8193         (setpayloadsigl): Likewise.
8194         * math/Makefile (libm-calls): Add s_setpayloadsigF.
8195         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
8196         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
8197         (setpayloadsig_test_data): New array.
8198         (setpayloadsig_test): New function.
8199         (main): Call setpayloadsig_test.
8200         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
8201         setpayloadsigf and setpayloadsigl.
8202         * manual/libm-err-tab.pl: Update comment on interfaces without
8203         ulps tabulated.
8204         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
8205         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
8206         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
8207         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
8208         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
8209         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
8210         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8211         setpayloadsig.
8212         (CFLAGS-nldbl-setpayloadsig.c): New variable.
8213         * sysdeps/nacl/libm.abilist: Update.
8214         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8215         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8216         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8217         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8218         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8219         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8220         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8221         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8222         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8223         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8224         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8225         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8227         Likewise.
8228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8229         Likewise.
8230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8231         Likewise.
8232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8233         Likewise.
8234         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8235         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8236         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8237         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8238         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8240         Likewise.
8241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8242         Likewise.
8243         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8244         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8245         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8247         * scripts/build-many-glibcs.py: Import json module.
8248         (Context.__init__): Take replace_sources argument.  Load
8249         versions.json.
8250         (Context.load_versions_json): New function.
8251         (Context.store_json): Likewise.
8252         (Context.store_versions_json): Likewise.
8253         (Context.set_component_version): Likewise.
8254         (Context.checkout): Update versions.json.  Check for and handle
8255         changes of version.  Prefer previously explicitly specified
8256         version to default version.
8257         (Context.checkout_vcs): Return a revision identifier.
8258         (Context.git_checkout): Likewise.
8259         (Context.gcc_checkout): Likewise.
8260         (get_parser): Add --replace-sources option.
8261         (main): Pass replace_sources argument to Context call.
8263 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8265         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
8266         * nptl/allocatestack.c (allocate_stack): Likewise.
8267         (__reclaim_stacks): Likewise.
8268         (setxid_signal_thread): Obtain pid through syscall.
8269         * nptl/nptl-init.c (sigcancel_handler): Likewise.
8270         (sighandle_setxid): Likewise.
8271         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
8272         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8273         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8274         Likewise.
8275         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8276         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
8277         comment.
8278         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
8279         * nptl/descr.h (struct pthread): Change comment about pid value.
8280         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
8281         pid assert.
8282         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
8283         Do not set pid value.
8284         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
8285         pid cache check.
8286         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
8287         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
8288         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
8289         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
8290         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
8291         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8292         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
8293         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
8294         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8295         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8296         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8297         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8298         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8299         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8300         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8301         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8302         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8303         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8304         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8305         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8306         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8307         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8308         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8309         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8310         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8313         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8314         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8315         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8316         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8317         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8318         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8319         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8320         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8321         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8322         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8323         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8324         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8325         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8326         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8327         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8328         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8331         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8332         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8333         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8334         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8335         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8336         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8337         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8338         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8339         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8340         struct access.
8341         (clone_test): Remove function.
8342         (do_test): Rewrite to take in consideration pid is not cached anymore.
8344 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8346         * bits/flt-eval-method.h: New file.
8347         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8348         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8349         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8350         * math/Makefile (headers): Add bits/flt-eval-method.h.
8351         * math/math.h: Include <bits/flt-eval-method.h>.
8352         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8353         [__USE_ISOC99] (double_t): Likewise.
8354         * bits/mathdef.h (float_t): Remove.
8355         (double_t): Likewise.
8356         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8357         (double_t): Likewise.
8358         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8359         (double_t): Likewise.
8360         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8361         (double_t): Likewise.
8362         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8363         (double_t): Likewise.
8364         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8365         (double_t): Likewise.
8366         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8367         (double_t): Likewise.
8368         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8369         (double_t): Likewise.
8370         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8371         (double_t): Likewise.
8372         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8373         (double_t): Likewise.
8374         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8375         (double_t): Likewise.
8376         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8377         (double_t): Likewise.
8378         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8379         (double_t): Likewise.
8380         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8381         (double_t): Likewise.
8383 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8385         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8386         instead of PIC.
8388 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8390         [BZ #20859]
8391         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8392         (-0x7fffffff) instead of 0x80000001.
8393         * math/test-fp-ilogb-constants.c: New file.
8394         * math/Makefile (tests): Add test-fp-ilogb-constants.
8396 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8398         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8399         (_init): Use it in place of hardcoded R_MIPS_JALR.
8400         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8401         (_init): Use it in place of hardcoded R_MIPS_JALR.
8402         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8403         (_init): Use it in place of hardcoded R_MIPS_JALR.
8405 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8407         [BZ #20787]
8408         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8409         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8410         (double_t): Do not define to double if [__x86_64__] when
8411         __FLT_EVAL_METHOD__ is nonzero.
8412         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8413         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8414         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8415         test-flt-eval-method-387 and test-flt-eval-method-sse.
8416         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8417         variable.
8418         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8420 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8422         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8423         use of -fno-isolate-erroneous-paths options for tilepro.
8425 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8427         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8428         structure initialization is no longer needed.
8430 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8432         [BZ #20855]
8433         * bits/mathdef.h (float_t): Define to float.
8434         * math/test-flt-eval-method.c: New file.
8435         * math/Makefile (tests): Add test-flt-eval-method.
8436         (CFLAGS-test-flt-eval-method.c): New variable.
8438 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8440         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8441         and __fstatfs.  Make them aliases of __fstatfs64 if
8442         STATFS_IS_STATFS64 is set to non-zero.
8443         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8444         and __statfs64.
8445         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8446         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8447         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8448         for __statfs and statfs.
8449         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8450         to 0.
8451         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8452         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8453         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8454         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8455         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8456         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8459         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8460         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8461         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8462         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8464 2016-11-22  Andreas Schwab  <schwab@suse.de>
8466         * misc/mkstemp.c: Include <fcntl.h>.
8467         * misc/mkstemps.c: Likewise.
8468         * misc/mkostemp.c: Likewise.
8469         * misc/mkostemps.c: Likewise.
8471 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8473         [BZ #20847]
8474         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8475         array bounds.
8476         (__execvpe): Likewise.
8478 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8480         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8481         -fno-isolate-erroneous-paths options for tilepro.
8483 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8485         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8486         to 0 when in 32 bit mode.
8487         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8488         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8489         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8490         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8492         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8493         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8494         XSTAT_IS_XSTAT64 test.
8495         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8496         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8497         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8498         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8499         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8500         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8501         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8502         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8503         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8504         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8505         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8507 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8509         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8510         (setpayload): New declaration.
8511         * math/Versions (setpayload): New libm symbol at version
8512         GLIBC_2.25.
8513         (setpayloadf): Likewise.
8514         (setpayloadl): Likewise.
8515         * math/Makefile (libm-calls): Add s_setpayloadF.
8516         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8517         test_Ff_b1_data.
8518         (RUN_TEST_Ff_b1): New macro.
8519         (RUN_TEST_LOOP_Ff_b1): Likewise.
8520         (canonicalize_test_data): Update type.
8521         (setpayload_test_data): New array.
8522         (setpayload_test): New function.
8523         (main): Call setpayload_test.
8524         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8525         setpayloadf and setpayloadl.
8526         * manual/libm-err-tab.pl: Update comment on interfaces without
8527         ulps tabulated.
8528         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8529         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8530         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8531         Likewise.
8532         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8533         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8534         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8535         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8536         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8537         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8538         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8539         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8540         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8541         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8542         setpayload.
8543         (CFLAGS-nldbl-setpayload.c): New variable.
8544         * sysdeps/nacl/libm.abilist: Update.
8545         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8546         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8547         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8548         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8549         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8550         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8551         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8552         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8553         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8554         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8555         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8556         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8558         Likewise.
8559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8560         Likewise.
8561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8562         Likewise.
8563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8564         Likewise.
8565         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8566         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8567         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8568         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8569         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8571         Likewise.
8572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8575         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8576         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8578 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8580         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8581         * include/unistd.h: Extend comment about __access_noerrno return
8582         semantics.
8583         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8584         (access_common): Correct typo for EACCES.
8586 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8588         * sysdeps/tile/math-tests.h: New file.
8590         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8591         (__old_set_dataplane): Rename from set_dataplane and make a
8592         compatibility symbol.
8593         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8594         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8595         sys/dataplane.h.
8597 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8599         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8600         script quote words in command output to log suitably for input to
8601         the shell.
8603 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8604             Maciej W. Rozycki  <macro@imgtec.com>
8606         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8607         `.Lno_weak_fn' label.
8608         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8609         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8611 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8612             Yury Norov  <ynorov@caviumnetworks.com>
8614         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8615         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8616         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8617         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8618         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8619         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8620         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8621         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8622         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8623         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8624         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8625         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8626         (sysdep_routines): Remove oldgetrlimit64.
8627         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8628         (sysdep_routines): Likewise.
8629         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8630         (sysdep_routines): Likewise.
8631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8632         [$(subdir) = resource] (sysdep_routines): Likewise.
8633         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8634         [$(subdir) = resource] (sysdep_routines): Likewise.
8635         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8636         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8637         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8638         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8639         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8640         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8641         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8642         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8643         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8644         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8645         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8646         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8647         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8648         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8649         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8650         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8651         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8652         setrlimit and getrlimit.
8653         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8654         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8655         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8658         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8659         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8660         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8661         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8662         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8663         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8664         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8665         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8666         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8667         (__old_getrlimit64): Add compatibility symbol.
8668         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8670 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8672         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8673         newly built gmp, mpfr and mpc.
8675         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8677 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8679         * conform/Makefile (linknamespace-libs): Rename to
8680         linknamespace-libs-thr.
8681         (linknamespace-libs-posix): New variable.
8682         (linknamespace-libs-xsi): Likewise.
8683         (linknamespace-libs-XPG3): Include libcrypt.a.
8684         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8685         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8686         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8687         (linknamespace-libs-XOPEN2K): Likewise.
8688         (linknamespace-libs-XOPEN2K8): Likewise.
8689         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8691         [BZ #20829]
8692         * stdio-common/Versions (__snprintf): Add to version
8693         GLIBC_PRIVATE.
8694         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8695         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8696         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8697         of snprintf.
8698         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8700 2016-11-16  Zack Weinberg  <zackw@panix.com>
8702         * string/string.h: Remove obsolete comment stating that
8703         strcoll_l and strxfrm_l have not yet been standardized.
8705 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8707         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8708         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8709         __access_noerrno.
8710         * io/access.c (__access_noerrno): New function.
8711         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8712         (hurd_fail_seterrno): Likewise.
8713         (access_common): Likewise.
8714         (__access_noerrno): Likewise.
8715         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8716         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8717         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8718         macro.
8720 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8722         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8723         Only declare fpregs if [__SH_FPU_ANY__].
8725 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8727         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8728         Make code unconditional.
8729         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8731 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8733         * manual/sysinfo.texi (S_APPEND): Delete.
8734         (S_IMMUTABLE): Likewise.
8736 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8737             Magnus Granberg  <zorry@gentoo.org>
8738             Mike Frysinger  <vapier@gentoo.org>
8740         [BZ #20662]
8741         * configure.ac (libc_cv_predef_stack_protector): Also check for
8742         __stack_chk_fail_local symbols.
8743         * configure: Regenerated.
8745 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8747         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8748         (libc_hidden_def): Remove redefinition.
8749         (__sigsetjmp): Add hidden definition.
8750         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8751         (libc_hidden_def): Remove redefinition.
8752         (__sigsetjmp): Add hidden definition.
8754 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8756         * scripts/build-many-glibcs.py (os.path): Do not import.
8757         (Context): Inherit explicitly from object.  Remove blank line
8758         between class and docstring.
8759         (Config): Likewise.
8760         (Glibc): Likewise.
8761         (Command): Likewise.
8762         (CommandList): Likewise.
8763         (Context.write_files): Store chmod mode in a variable.
8765         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8766         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8767         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8769 2016-11-14  Zack Weinberg  <zackw@panix.com>
8771         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8772         creating or re-creating it.
8774         * string/bits/string2.h: Fix typo in comment.
8776 2016-11-14  Zack Weinberg  <zackw@panix.com>
8778         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8779         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8780         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8781         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8782         of redirected function names.
8784         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8785         as well.  Document that MESSAGE must be a single string literal.
8787 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8789         * scripts/build-many-glibcs.py: New file.
8791         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8792         (do_test): Disable -Wmaybe-uninitialized around uses of
8793         except_mask.
8795         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8797 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8799         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8800         (atomic_store_release): Provide tilepro-specific implementations.
8802 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8804         * math/math.h (__MATH_TG): New macro.
8805         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8806         [__USE_ISOC99] (signbit): Likewise.
8807         [__USE_ISOC99] (isfinite): Likewise.
8808         [__USE_ISOC99] (isnan): Likewise.
8809         [__USE_ISOC99] (isinf): Likewise.
8810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8812         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8813         __MATH_TG and __MATH_EVAL_FMT2.
8814         * sysdeps/generic/math_private.h (fabs_tg): Define using
8815         __MATH_TG.
8816         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8817         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8818         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8819         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8820         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8821         macro.
8822         (__iscanonical): Likewise.
8823         (iscanonical): Define using __MATH_TG.
8825 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8827         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8828         guards.
8830         * sysdeps/unix/sysv/linux/access.c: New file.
8831         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8833 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8835         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8836         and __WORDSIZE32_PTRDIFF_LONG.
8838 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8840         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8842 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8844         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8845         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8846         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8847         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8848         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8850         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8851         * sysdeps/unix/sysv/linux/truncate.c: New file.
8852         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8853         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8854         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8855         Remove.
8856         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8857         Likewise.
8859         * posix/tst-truncate-common.c: New file.
8860         * posix/tst-truncate.c: Use tst-truncate-common.c.
8861         * posix/tst-truncate64.c: Likewise and add LFS tests.
8862         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8863         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8864         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8865         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8866         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8868         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8869         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8870         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8871         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8872         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8873         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8874         Remove.
8875         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8876         Likewise.
8878 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8880         [BZ #20790]
8881         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8882         to MAXLINESIZE.
8883         * sunrpc/bug20790.x: New file.
8884         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8885         variable.
8886         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8887         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8889         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8891         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8893         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8894         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8895         calloc, realloc, free, memalign and __libc_memalign rather than
8896         making them optional.
8898         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8899         for libc.so.
8901 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8903         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8904         ptw-lseek64.
8905         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8906         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8907         Likewise.
8908         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8909         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8910         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8911         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8912         * sysdeps/unix/sysv/linux/lseek.c: New file.
8913         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8914         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8915         __libc_lseek64 from auto-generation.
8916         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8917         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8919 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8921         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8922         * nptl/tst-cleanup1.c (do_test): Likewise.
8923         * nptl/tst-cleanup3.c (do_test): Likewise.
8924         * nptl/tst-key1.c (do_test): Likewise.
8925         * nptl/tst-key2.c (tf, do_test): Likewise.
8926         * nptl/tst-key3.c (tf, do_test): Likewise.
8927         * nptl/tst-stdio1.c (do_test): Likewise.
8928         * nptl/tst-stdio2.c (do_test): Likewise.
8930         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8931         * nptl/tst-kill6.c (handler): Likewise.
8932         * nptl/tst-tls2.c (CB): Likewise.
8933         * nptl/tst-tls3.c (CB): Likewise.
8935 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8937         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8939 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8940             Steve Ellcey  <sellcey@caviumnetworks.com>
8942         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8943           __ASSUME_ST_INO_64_BIT as 0
8944         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8945         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8946           over the code where __ASSUME_ST_INO_64_BIT is used.
8947         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8948         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8949         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8951 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8953         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8954         Document ABI exposure of the __kind offset.
8955         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8956         Mention reason for the __kind offset exposure in the ABI.
8957         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8958         Likewise.
8959         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8960         Likewise.
8961         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8962         Likewise.
8963         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8964         (struct __pthread_mutex_s): Likewise.
8965         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8966         Likewise.
8967         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8968         Likewise.
8969         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8970         Likewise.
8971         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8972         Likewise.
8973         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8974         Likewise.
8975         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8976         Likewise.
8977         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8978         (struct __pthread_mutex_s): Likewise.
8979         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8980         (struct __pthread_mutex_s): Likewise.
8981         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8982         Likewise.
8984 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8986         * test-skeleton.c: Document do_test usage.
8988 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8990         * iconv/gconv.h (__gconv_info): Define __data element using a
8991         zero-length array.
8993 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8995         * math/test-tgmath2.c: Split up test function.
8997 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8999         * Rules (tests-expected): New variable, depending on
9000         $(run-built-tests).
9001         (tests): Pass $(tests-expected) to merge-test-results.sh, not
9002         $(tests).
9004         * Rules [$(run-built-tests) = no] (tests): Do not depend on
9005         $(tests-unsupported).
9007 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9009         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9010         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
9012 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9014         [BZ #20768]
9015         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
9016         __fegetenv instead of fegetenv.
9018         [BZ #14139]
9019         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
9020         (find_files): Obtain platform name from libm-test-ulps-name and
9021         store in %pplatforms.
9022         (canonicalize_platform): Remove.
9023         (print_platforms): Use $pplatforms directly.
9024         (by_platforms): Do not allow for platforms missing from
9025         %pplatforms.
9026         * sysdeps/aarch64/libm-test-ulps-name: New file.
9027         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
9028         * sysdeps/arm/libm-test-ulps-name: Likewise.
9029         * sysdeps/generic/libm-test-ulps-name: Likewise.
9030         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
9031         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
9032         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
9033         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
9034         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
9035         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
9036         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
9037         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
9038         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
9039         * sysdeps/nios2/libm-test-ulps-name: Likewise.
9040         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
9041         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
9042         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
9043         * sysdeps/sh/libm-test-ulps-name: Likewise.
9044         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
9045         * sysdeps/tile/libm-test-ulps-name: Likewise.
9046         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
9048         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
9050         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
9051         (test-xfail-check-execstack): New variable.
9053         * sysdeps/mips/localplt.data: New file.
9055 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
9056             Steve Ellcey  <sellcey@caviumnetworks.com>
9058         * bits/wordsize.h: Add documentation.
9059         * sysdeps/aarch64/bits/wordsize.h : New file
9060         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
9061         definitions.
9062         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
9063         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
9064         with #if instead of #ifdef.
9065         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
9066         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
9067         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
9068         Add or change defines.
9069         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
9070         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9071         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
9072         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
9073         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9074         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9075         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
9076         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
9077         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
9078         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9079         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
9080         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
9081         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
9082         * sysdeps/x86/bits/wordsize.h: Likewise.
9084 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
9085             Kevin Petit  <kevin.petit@arm.com>
9087         * sysdeps/aarch64/memchr.S (__memchr): New file.
9089 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9091         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
9093 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
9095         [BZ #19398]
9096         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
9097         $(linknamespace-symlists-tests).
9099 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
9101         * time/tst-strptime2.c: Ignore -Wformat-length warning.
9103 2016-11-02  Florian Weimer  <fweimer@redhat.com>
9104             Carlos O'Donell  <carlos@redhat.com>
9106         [Bug #20729]
9107         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
9108         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
9109         for -Os related change.
9111 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
9113         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
9115 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
9117         [BZ #19673]
9118         * manual/math.texi (Exponents and Logarithms): Correct description
9119         of clog10.
9121 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
9123         [Bz #20729]
9124         * locale/weight.h: Include libc-internal.h.
9125         * locale/weightwc.h: Likewise.
9126         * nptl/nptl_dbP.h: Likewise.
9128 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
9130         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
9131         when it is MACH_PORT_NULL.
9133 2016-10-31  Andreas Schwab  <schwab@suse.de>
9135         [BZ #20707]
9136         * posix/glob.c (glob): Initialize pglob before checking for
9137         GLOB_BRACE.  Don't call glob recursively if pattern contains no
9138         valid brace expression despite GLOB_BRACE.
9139         * posix/globtest.sh: Test it.
9141 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9143         [BZ #20729]
9144         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
9145         Define.
9146         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
9147         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
9148         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
9149         for seq2.back_us and seq1.back_us only for -Os compiles.
9150         * locale/weightwc.h (findix): Likewise.
9151         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
9152         DB_GET_FIELD_ADDRESS only for -Os compiles.
9153         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
9154         for slen only for -Os compiles.
9155         * string/strcoll_l.c (get_next_seq): Ignore
9156         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
9157         for -Os compiles.
9159         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
9160         * include/crypt.h: New file.
9162 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9164         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
9165         from test-skeleton.c.
9166         (statclass): Replace calls to write with calls to write_message.
9168 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9170         * math/math.h
9171         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
9172         New macro.
9173         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
9174         Likewise.
9175         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
9176         Likewise.
9177         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
9178         SNANL.
9179         * math/test-double.h (snan_value_MACRO): New macro.
9180         * math/test-float.h (snan_value_MACRO): Likewise.
9181         * math/test-ldouble.h (snan_value_MACRO): Likewise.
9182         * math/libm-test.inc (issignaling_test_data): Add tests of
9183         snan_value_MACRO.
9185 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9187         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
9188         behavior when eliding a lock not held by the current thread.
9189         * sysdeps/powerpc/nptl/elide.h: Likewise.
9191 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9193         [BZ #20728]
9194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
9195         branch to _exit() by a function call.
9197 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9199         * malloc/malloc.c: Update chunk layout comments.
9200         (chunk_main_arena): Update comment.
9202 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9204         * crypt/sha256.c, crypt/sha256-block.c,
9205         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
9206         sha256_process_block to __sha256_process_block.
9207         * crypt/sha512.c, crypt/sha512-block.c,
9208         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
9209         sha512_process_block to __sha512_process_block.
9211 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9213         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
9215         * math/test-nan-overflow.c: Include stdlib.h for malloc.
9217 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
9219         [BZ #20019]
9220         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
9221         definition in unrelocated shared library.
9222         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9224 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9226         [BZ #20729]
9227         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
9228         * sysdeps/unix/sysv/linux/i386/Makefile
9229         (uses-6-syscall-arguments): Define.
9230         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
9231         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
9232         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
9233         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
9234         Likewise.
9235         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
9236         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
9237         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
9238         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
9239         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
9240         (CFLAGS-fallocate64.os): Likewise.
9241         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
9242         (CFLAGS-pthread_rwlock_timedrdlock.os)
9243         (CFLAGS-pthread_rwlock_timedwrlock.o)
9244         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
9245         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
9246         (CFLAGS-sem_timedwait.os): Likewise.
9248 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9250         * elf/tst-linkall-static.c: New file.
9251         * elf/Makefile (tests-static): Add tst-linkall-static.
9252         (tst-linkall-static): Link against static libraries.
9254 2016-10-27  Florian Weimer  <fweimer@redhat.com>
9256         * malloc/malloc.c (sysmalloc): Initialize previous size field of
9257         mmaped chunks.
9259 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9261         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
9262         members to mchunk_prev_size, mchunk_size.
9263         (chunk_main_arena): Reverse sense and rename from
9264         chunk_non_main_arena.
9265         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
9266         mchunk_size instead of size.
9267         (set_non_main_arena): Define.
9268         (chunksize): Use chunksize_nomask instead of direct member access.
9269         (chunksize_nomask): Define.
9270         (next_chunk): Use chunksize instead of direct member access.
9271         (prev_size, set_prev_size): Define.
9272         (prev_chunk): Use prev_size instead of direct member access.
9273         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
9274         (inuse_bit_at_offset, set_inuse_bit_at_offset)
9275         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
9276         (mchunk_prev_size, mchunk_size): Poison tokens.
9277         (unlink): Use chunksize_nomask, prev_size accessors.
9278         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
9279         (do_check_free_chunk): Use prev_size accessor.
9280         (sysmalloc): Use set_prev_size, set_head accessors.
9281         (munmap_chunk, mremap_chunk): Use prev_size accessor.
9282         (__libc_free): Use chunksize_nomask accessor.
9283         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
9284         chunk_main_arena accessors.
9285         (_int_free): Use chunksize_nomask, prev_size accessors.
9286         (malloc_consolidate): Use chunksize, prev_size accessors.
9287         (_int_realloc): Use chunksize_nomask accessor.
9288         (_int_memalign): Use set_prev_size accessor.
9289         (__malloc_info): Use chunksize_nomask accessor.
9290         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
9291         accessors.
9292         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
9293         (heap_trim): Use chunksize_nomask, prev_size accessors.
9295 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9297         [BZ #19380]
9298         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9299         for inexact results.
9300         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9301         of inexact result where mpfr_subnormalize is the only inexact
9302         step.
9303         * stdlib/tst-strtod-round-data.h: Regenerated.
9304         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9305         Define to 0.
9306         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9308 2016-10-27  David S. Miller  <davem@davemloft.net>
9310         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9312 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9314         * malloc/malloc.c (do_set_mallopt_check): New function.
9315         (do_set_mmap_threshold): Likewise.
9316         (do_set_mmaps_max): Likewise.
9317         (do_set_top_pad): Likewise.
9318         (do_set_perturb_byte): Likewise.
9319         (do_set_trim_threshold): Likewise.
9320         (do_set_arena_max): Likewise.
9321         (do_set_arena_test): Likewise.
9322         (__libc_mallopt): Use them.
9324 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9326         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9327         (canonicalize): New declaration.
9328         * math/Versions (canonicalize): New libm symbol at version
9329         GLIBC_2.25.
9330         (canonicalizef): Likewise.
9331         (canonicalizel): Likewise.
9332         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9333         * math/s_canonicalize_template.c: New file.
9334         * math/libm-test.inc: Update comment on functions tested and
9335         testing of NaN payloads.
9336         (TEST_NAN_PAYLOAD): New macro.
9337         (NO_TEST_INLINE): Update value.
9338         (XFAIL_TEST): Likewise.
9339         (ERRNO_UNCHANGED): Likewise.
9340         (ERRNO_EDOM): Likewise.
9341         (ERRNO_ERANGE): Likewise.
9342         (IGNORE_RESULT): Likewise.
9343         (NON_FINITE): Likewise.
9344         (TEST_SNAN): Likewise.
9345         (NO_TEST_MATHVEC): Likewise.
9346         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9347         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9348         (struct test_Ffp_b1_data): New type.
9349         (RUN_TEST_Ffp_b1): New macro.
9350         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9351         (canonicalize_test_data): New array.
9352         (canonicalize_test): New function.
9353         (main): Call canonicalize_test.
9354         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9355         canonicalizef and canonicalizel.
9356         * manual/libm-err-tab.pl: Update comment on interfaces without
9357         ulps tabulated.
9358         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9359         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9360         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9361         canonicalize.
9362         (CFLAGS-nldbl-canonicalize.c): New variable.
9363         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9364         to ...
9365         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9366         ... here.
9367         (do_test): Also test canonicalizel.
9368         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9369         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9370         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9371         file.
9372         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9373         Use libm_hidden_def.
9374         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9375         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9376         (do_test): Also test canonicalizel.
9377         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9378         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9379         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9380         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9381         libm_hidden_def.
9382         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9383         macro.
9384         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9385         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9386         * sysdeps/nacl/libm.abilist: Update.
9387         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9388         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9389         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9390         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9391         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9392         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9393         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9394         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9395         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9396         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9397         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9398         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9400         Likewise.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9402         Likewise.
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9404         Likewise.
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9406         Likewise.
9407         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9408         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9409         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9410         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9411         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9413         Likewise.
9414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9415         Likewise.
9416         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9417         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9418         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9420         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9421         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9422         getpayload.
9423         (CFLAGS-nldbl-getpayload.c): New variable.
9425 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9427         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9428         integer from the format string.
9430 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9432         [BZ #19473]
9433         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9434         declarations.
9435         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9436         weak aliases.
9437         * malloc/hooks.c (__malloc_get_state): Remove definition.
9438         (malloc_get_state): New stub implementation as
9439         compatibility symbol.
9440         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9441         compat symbol.
9442         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9443         malloc_set_state.
9444         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9446 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9448         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9449         (names): Turn into concatenation of strings.
9450         (gconv_init): Adapt iteration over names.
9452 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9454         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9455         make const.
9456         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9457         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9458         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9459         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9460         character in sbconv.
9461         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9462         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9463         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9465 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9467         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9469         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9470         (M_TRIM_THRESHOLD): Likewise.
9472         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9473         (M_ARENA_MAX): Likewise.
9474         * malloc/malloc.c: Remove obsolete comment.
9476         * manual/memory.texi: Add environment variable alternatives to
9477         setting mallopt parameters.
9479 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9481         * include/atomic.h
9482         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9483         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9485 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9487         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9488         * stdlib/tst-strfrom.h: New file.
9489         * stdlib/tst-strfrom.c: New file.
9490         * stdlib/tst-strfrom-locale.c: New file.
9492         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9493         * stdlib/bug-strtod2.c: Likewise.
9494         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9495         * stdlib/tst-strtod6.c: Likewise.
9496         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9498 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9500         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9501         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9502         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9503         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9504         * stdlib/stdlib.h (strfromd): New declaration.
9505         (strfromf): Likewise.
9506         (strfroml): Likewise.
9507         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9508         strfrom.
9509         * stdlib/strfromd.c: New file.
9510         * stdlib/strfromf.c: Likewise.
9511         * stdlib/strfroml.c: Likewise.
9512         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9513         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9514         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9515         * sysdeps/arm/nacl/libc.abilist: Update.
9516         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9517         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9518         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9519         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9520         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9521         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9522         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9523         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9524         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9525         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9526         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9528         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9529         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9534         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9535         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9536         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9537         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9538         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9541         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9542         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9543         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9545 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9547         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9548         instead of cmpli.
9549         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9550         instead of cmpli.
9552 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9554         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9555         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9556         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9557         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9558         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9559         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9561 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9563         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9564         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9565         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9566         SYSCALL_LL64_PRW.
9567         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9568         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9569         __ASSUME_PRW_DUMMY_ARG.
9570         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9571         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9572         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9573         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9574         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9575         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9577 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9579         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9581 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9583         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9584         "C++", to override a potential extern "C" directive around the
9585         header file inclusion.
9587 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9589         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9591 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9593         * sysdeps/powerpc/fpu/fenv_private.h:
9594         (_FPU_MASK_ALL): Rename to...
9595         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9596         XE FPSCR bits.
9598         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9600         (_FPU_MASK_ROUNDING): Rename to...
9601         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9602         NI bits.
9604         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9605         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9606         bits and rounding bits.
9608         (__libc_feholdbits_ppc): New inline function to mask, set,
9609         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9610         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9611         (libc_feholdexcept_setround_ppc): Likewise.
9613         (__libc_femergeenv_ppc): New function to dynamically mask both
9614         old and new FP environments and merge.
9615         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9616         (libc_feresetround_ppc): Likewise.
9617         (libc_feupdateenv_test_ppc): Likewise.
9618         (libc_feupdateenv_ppc): Likewise.
9620         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9621         of ISA RN bits, and update macro names.
9622         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9623         effectively the same as the previously mentioned function.
9625         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9626         usage with fe_resetround_ppc.
9628         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9629         to be used.
9630         (libc_feholdexcept_setround_ctxf): Likewise.
9631         (libc_feholdexcept_setround_ctxl): Likewise.
9633 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9635         [BZ #20715]
9636         * math/math.h [__cplusplus] (iszero): Define as function template.
9637         * math/Makefile [CXX] (tests): Add test-math-iszero.
9638         (CFLAGS-test-math-iszero.cc): Set.
9639         * math/test-math-iszero.cc: New file.
9641 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9643         [BZ #20660]
9644         * sysdeps/arm/e_sqrt.c: New file.
9645         * sysdeps/arm/e_sqrtf.c: Likewise.
9647 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9649         [BZ #20718]
9650         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9651         not use floating-point comparisons to test sign.
9652         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9653         Likewise.
9655         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9656         (getpayload): New declaration.
9657         * math/Versions (getpayload): New libm symbol at version
9658         GLIBC_2.25.
9659         (getpayloadf): Likewise.
9660         (getpayloadl): Likewise.
9661         * math/Makefile (libm-calls): Add s_getpayloadF.
9662         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9663         (struct test_f_f_data): Add comment.
9664         (RUN_TEST_fp_f): New macro.
9665         (RUN_TEST_LOOP_fp_f): Likewise.
9666         (getpayload_test_data): New array.
9667         (getpayload_test): New function.
9668         (main): Call getpayload_test.
9669         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9670         descriptor.
9671         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9672         getpayloadf and getpayloadl.
9673         * manual/libm-err-tab.pl: Update comment on interfaces without
9674         ulps tabulated.
9675         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9676         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9677         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9678         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9679         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9680         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9681         * sysdeps/nacl/libm.abilist: Update.
9682         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9683         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9684         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9685         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9686         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9687         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9688         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9689         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9690         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9691         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9692         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9693         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9695         Likewise.
9696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9697         Likewise.
9698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9699         Likewise.
9700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9701         Likewise.
9702         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9703         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9704         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9705         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9706         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9708         Likewise.
9709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9710         Likewise.
9711         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9712         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9713         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9715 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9717         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9718         tst-fallocate{64}.
9719         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9720         on syscall return.
9722 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9724         [BZ #20689]
9725         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9726         usable.
9728 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9730         * sysdeps/generic/nan-high-order-bit.h: New file.
9731         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9732         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9733         * sysdeps/hppa/math_private.h: Remove file.
9734         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9735         not define here.
9736         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9737         <nan-high-order-bit.h>.
9738         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9739         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9740         <nan-high-order-bit.h>.
9741         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9742         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9743         <nan-high-order-bit.h>.
9744         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9745         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9746         <nan-high-order-bit.h>.
9747         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9748         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9749         <nan-high-order-bit.h>.
9750         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9751         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9752         <nan-high-order-bit.h>.
9753         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9754         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9755         <nan-high-order-bit.h>.
9756         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9757         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9758         <nan-high-order-bit.h>.
9759         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9760         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9761         <nan-high-order-bit.h>.
9762         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9763         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9764         <nan-high-order-bit.h>.
9765         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9766         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9767         <nan-high-order-bit.h>.
9768         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9769         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9770         <nan-high-order-bit.h>.
9771         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9772         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9773         <nan-high-order-bit.h>.
9774         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9775         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
9776         <nan-high-order-bit.h>.
9777         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9778         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
9779         <nan-high-order-bit.h>.
9780         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9781         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
9782         <nan-high-order-bit.h>.
9783         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9784         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9785         <nan-high-order-bit.h>.
9786         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9787         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9788         <nan-high-order-bit.h>.
9789         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9791 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9793         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9795 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9797         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9798         abort-instr.h.
9799         (EFAULT): Remove conditional define.
9800         (ENOSYS): Likewise.
9801         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9802         instead of conditional branch instructions.
9804 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9806         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9807         (totalordermag): New declaration.
9808         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9809         New macro.
9810         * math/Versions (totalordermag): New libm symbol at version
9811         GLIBC_2.25.
9812         (totalordermagf): Likewise.
9813         (totalordermagl): Likewise.
9814         * math/Makefile (libm-calls): Add s_totalordermagF.
9815         * math/libm-test.inc (totalordermag_test_data): New array.
9816         (totalordermag_test): New function.
9817         (main): Call totalordermag_test.
9818         * math/test-tgmath.c (NCALLS): Increase to 125.
9819         (F(compile_test)): Call totalordermag.
9820         (F(totalordermag)): New function.
9821         * manual/arith.texi (FP Comparison Functions): Document
9822         totalordermag, totalordermagf and totalordermagl.
9823         * manual/libm-err-tab.pl: Update comment on interfaces without
9824         ulps tabulated.
9825         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9826         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9827         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9828         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9829         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9830         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9831         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9832         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9833         totalordermag.
9834         (CFLAGS-nldbl-totalordermag.c): New variable.
9835         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9836         (do_test): Also test totalordermagl.
9837         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9838         Likewise.
9839         * sysdeps/nacl/libm.abilist: Update.
9840         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9841         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9842         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9843         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9844         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9845         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9846         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9847         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9848         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9849         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9850         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9851         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9853         Likewise.
9854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9855         Likewise.
9856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9857         Likewise.
9858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9859         Likewise.
9860         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9861         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9862         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9863         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9864         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9866         Likewise.
9867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9868         Likewise.
9869         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9870         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9871         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9873 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9875         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9876         boolean.
9878 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9880         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9881         raising FE_INVALID with feraisexcept in case where part of
9882         argument is infinite, subtract that part of argument from itself.
9883         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9884         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9885         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9887 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9889         * math/libm-test.inc (totalorder_test_data): Add more tests.
9891 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9893         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9894         Undefine weak_alias and add a comment why mips64 require
9895         versioning.
9897 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9899         [BZ #20647]
9900         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9901         maximum CPUID level is less than 2.
9903 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9905         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9906         (totalorder): New declaration.
9907         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9908         New macro.
9909         * math/Versions (totalorder): New libm symbol at version
9910         GLIBC_2.25.
9911         (totalorderf): Likewise.
9912         (totalorderl): Likewise.
9913         * math/Makefile (libm-calls): Add s_totalorderF.
9914         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9915         string.
9916         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9917         (qnan_value_pl): Likewise.
9918         (snan_value_pl): Likewise.
9919         (qnan_value): Define using qnan_value_pl.
9920         (snan_value): Define using snan_value_pl.
9921         (struct test_ff_i_data): Add comment about which tests use this
9922         structure.
9923         (RUN_TEST_ff_b): New macro.
9924         (RUN_TEST_LOOP_ff_b): Likewise.
9925         (totalorder_test_data): New array.
9926         (totalorder_test): New function.
9927         (main): Call totalorder_test.
9928         * math/test-tgmath.c (NCALLS): Increase to 122.
9929         (F(compile_test)): Call totalorder.
9930         (F(totalorder)): New function.
9931         * manual/arith.texi (FP Comparison Functions): Document
9932         totalorder, totalorderf and totalorderl.
9933         * manual/libm-err-tab.pl: Update comment on interfaces without
9934         ulps tabulated.
9935         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9936         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9937         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9938         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9939         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9940         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9941         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9942         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9943         totalorder.
9944         (CFLAGS-nldbl-totalorder.c): New variable.
9945         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9946         file.
9947         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9948         Add test-totalorderl-ldbl-128ibm.
9949         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9950         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9951         test-totalorderl-ldbl-96.
9952         * sysdeps/nacl/libm.abilist: Update.
9953         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9954         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9955         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9956         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9957         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9958         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9959         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9960         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9961         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9962         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9963         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9964         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9966         Likewise.
9967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9968         Likewise.
9969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9970         Likewise.
9971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9972         Likewise.
9973         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9974         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9975         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9976         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9977         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9979         Likewise.
9980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9981         Likewise.
9982         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9983         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9984         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9986 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9988         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9989         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9990         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9991         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9992         remove ENOSYS implementation.
9993         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9994         Consolidate all Linux implementations.
9996 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9998         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9999         * resolv/herror.c (herror): Cast away const-ness.
10000         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
10001         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
10003 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
10005         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
10006         instead of M_NAN + M_NAN.
10007         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10009 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10011         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
10012         unused variable 'p'.
10014 2016-10-09  Alan Modra  <amodra@gmail.com>
10015             Andreas Schwab  <schwab@linux-m68k.org>
10017         [BZ #20554]
10018         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
10019         [PIC && !SHARED]: Set up PIC register for PLT call.
10021 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
10023         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
10024         conditional on value of [__FLT_EVAL_METHOD__].
10025         * math/test-iseqsig-excess-precision.c: New file.
10026         * math/Makefile (tests): Add test-iseqsig-excess-precision.
10028 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10030         * math/s_iseqsig_template.c: Include math-private.h.
10032         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
10033         * posix/tst-posix_fadvise.c: New file.
10034         * posix/tst-posix_fadvise64.c: Likewise.
10035         * posix/tst-posix_fadvise-common.c: Likewise.
10036         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10037         (__ASSUME_FADVISE64_64_6ARG): Define.
10038         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10039         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
10040         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10041         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
10042         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
10043         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
10044         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
10045         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10046         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
10047         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
10048         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
10049         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
10050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
10051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
10052         Likewise.
10053         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
10054         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
10055         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
10056         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10057         Alias to __posix_fadvise64_l32.
10058         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
10059         Add compat definition to posix_fadvise64.
10060         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10061         Add versioned definition to posix_fadvise64.
10062         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
10063         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
10064         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
10065         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
10066         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
10068         * io/Makefile (tests): Add tst-posix_fallocate and
10069         tst-posix_fallocate64.
10070         * io/tst-posix_fallocate-common.c: New file.
10071         * io/tst-posix_fallocate.c: Likewise.
10072         * io/tst-posix_fallocate64.c: Likewise.
10073         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
10074         file.
10075         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
10076         Likewise.
10077         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
10078         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
10079         Likewise.
10080         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
10081         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
10082         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
10083         SYSCALL_LL to pass both offset and len arguments.
10084         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
10085         Likewise.
10086         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
10087         __libc_pwrite64 alias used by posix_fallocate64.
10089         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10090         tst-fallocate64.
10091         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10092         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10093         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10094         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10095         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10096         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10097         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10098         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10099         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10100         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10101         macro on offset argument.
10102         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10103         SYSCALL_LL64 on offset argument.
10105         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10106         tst-fallocate64.
10107         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10108         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10109         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10110         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10111         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10112         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10113         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10114         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10115         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10116         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10117         macro on offset argument.
10118         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10119         SYSCALL_LL64 on offset argument.
10120         * test-skeleton.c (FAIL_RET): Add macro.
10121         (FAIL_EXIT): Likewise.
10122         (FAIL_EXIT1): Likewise.
10123         (_FAIL): Likewise.
10125 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10127         [BZ #20629]
10128         resolv: Remove RES_USEBSTRING and its implementation.
10129         * resolv/resolv.h (RES_USEBSTRING): Remove.
10130         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
10131         (digitvalue, encode_bitstring, decode_bitstring): Remove.
10132         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
10133         (labellen): Remove extended label types support.
10134         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
10135         * resolv/res_init.c (res_setoptions): Likewise.
10136         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10138 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10140         resolv: Remove RES_NOIP6DOTINT and its implementation.
10141         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
10142         (RES_NOIP6DOTINT): Remove.
10143         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
10144         handling.
10145         * resolv/res_debug.c (p_option): Likewise.
10146         * resolv/res_init.c (res_setoptions): Likewise.
10147         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10149 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10151         resolv: Deprecate unimplemented flags.
10152         * misc/sys/cdefs.h (__glibc_macro_warning1)
10153         (__glibc_macro_warning): Define.
10154         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
10155         (RES_KEEPTSIG): Mark as deprecated.
10156         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
10157         RES_NOCHECKNAME, RES_KEEPTSIG.
10158         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
10160 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10162         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
10163         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
10164         Use strong_alias to create symbols for glibc verison 2.19.
10166 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10168         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
10170 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10172         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
10174 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10176         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
10178 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10180         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10181         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
10182         in header for using it as type for ifunc function because __GI_* symbols
10183         for ppc32 do not target the ifunc symbols.
10184         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10186 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10188         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
10189         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
10190         libc_ifunc_hidden_def.
10191         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
10192         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
10193         Redirect ifunced function in header for using it as type of ifunc'ed
10194         function. Redefine libc_hidden_def to use fallback non ifunc'ed
10195         function for __GI_* symbol.
10196         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
10197         * include/libc-symbols.h
10198         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
10200 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10202         [BZ #20478]
10203         * sysdeps/s390/multiarch/ifunc-resolve.h
10204         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
10205         to create ifunc symbols.
10206         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
10207         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
10208         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
10209         for using it as type for ifunc function.
10210         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10211         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10212         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10213         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10214         * sysdeps/s390/multiarch/strcat.c: Likewise.
10215         * sysdeps/s390/multiarch/strchr.c: Likewise.
10216         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10217         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10218         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10219         * sysdeps/s390/multiarch/strlen.c: Likewise.
10220         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10221         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10222         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10223         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10224         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10225         * sysdeps/s390/multiarch/strspn.c: Likewise.
10226         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10227         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10228         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10229         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10230         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10231         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10232         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10233         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
10234         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
10235         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10236         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
10237         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
10239 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10241         * include/libc-symbols.h (__ifunc_resolver):
10242         New macro is used by __ifunc* macros.
10243         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
10244         depending on HAVE_GCC_IFUNC.
10245         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
10246         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
10247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10248         Redirect ifunced function in header for using as type for ifunc function.
10249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
10250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
10251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
10252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
10253         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10255         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10256         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10257         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10258         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10259         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10260         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10261         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10262         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
10265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
10267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10268         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10269         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10270         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10271         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10272         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10273         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10274         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10275         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10276         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10277         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10278         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10279         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10280         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
10281         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
10283         Add libc_hidden_def() and use libc_ifunc_hidden() macro
10284         instead of libc_ifunc() macro.
10285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
10286         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10288 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10290         * config.h.in (HAVE_GCC_IFUNC): New undef.
10291         * configure.ac: Add check if gcc supports attribute ifunc feature.
10292         * configure: Regenerated.
10293         * manual/install.texi: Add recommendation for gcc with
10294         indirect-function support.
10295         * INSTALL: Regenerated.
10297 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10299         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10300         macro.
10301         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10302         (__iseqsig): New declaration.
10303         * math/s_iseqsig_template.c: New file.
10304         * math/Versions (__iseqsigf): New libm symbol at version
10305         GLIBC_2.25.
10306         (__iseqsig): Likewise.
10307         (__iseqsigl): Likewise.
10308         * math/libm-test.inc (iseqsig_test_data): New array.
10309         (iseqsig_test): New function.
10310         (main): Call iseqsig_test.
10311         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10312         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10313         * manual/libm-err-tab.pl: Update comment on interfaces without
10314         ulps tabulated.
10315         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10316         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10317         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10318         * sysdeps/nacl/libm.abilist: Update.
10319         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10320         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10321         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10322         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10323         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10324         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10325         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10326         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10327         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10328         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10329         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10330         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10332         Likewise.
10333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10334         Likewise.
10335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10336         Likewise.
10337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10338         Likewise.
10339         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10340         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10341         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10342         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10343         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10345         Likewise.
10346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10347         Likewise.
10348         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10349         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10350         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10352 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10354         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10355         do_sincos_2, sloww, sloww1): Update comments.
10357         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10358         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10360         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10361         K boolean and rename it.
10362         (__sin): Adjust.
10363         (__cos): Adjust.
10365 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10366             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10368         * manual/nss.texi: Fix typos in the manual.
10370 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10372         * manual/contrib.texi: Fix typos in the manual.
10374         * manual/maint.texi: Fix typos in the manual.
10376         * manual/install.texi: Fix typos in the manual.
10377         * INSTALL: Regenerated.
10379         * manual/lang.texi: Fix typos in the manual.
10381         * manual/probes.texi: Fix typos in the manual.
10383         * manual/threads.texi: Fix typos in the manual.
10385         * manual/debug.texi: Fix typos in the manual.
10387         * manual/crypt.texi: Fix typos in the manual.
10389         * manual/conf.texi: Fix typos in the manual.
10391         * manual/sysinfo.texi: Fix typos in the manual.
10393         * manual/users.texi: Fix typos in the manual.
10395         * manual/job.texi: Fix typos in the manual.
10397         * manual/process.texi: Fix typos in the manual.
10399         * manual/argp.texi: Fix typos in the manual.
10400         * manual/getopt.texi: Likewise.
10401         * manual/startup.texi: Likewise.
10403         * manual/signal.texi: Fix typos in the manual.
10405         * manual/setjmp.texi: Fix typos in the manual.
10407         * manual/resource.texi: Fix typos in the manual.
10409         * manual/time.texi: Fix typos in the manual.
10411         * manual/arith.texi: Fix typos in the manual.
10413         * manual/math.texi: Fix typos in the manual.
10415         * manual/syslog.texi: Fix typos in the manual.
10417         * manual/terminal.texi: Fix typos in the manual.
10419         * manual/socket.texi: Fix typos in the manual.
10421         * manual/filesys.texi: Fix typos in the manual.
10423         * manual/llio.texi: Fix typos in the manual.
10425         * manual/stdio.text: Fix typos in the manual.
10427 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10429         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10430         instead of K1.
10432         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10433         SHIFT_QUADRANT and make it bool.
10434         (do_sincos_2): Likewise.
10435         (sloww): Likewise.
10436         (sloww1): Likewise.
10437         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10438         (__cos): Likewise.
10440 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10442         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10444 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10446         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10447         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10448         0x7fffffffL].
10449         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10451 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10453         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10454         inline by __inline__.
10455         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10456         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10457         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10458         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10459         sigset_t from signal.h.
10460         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10461         which is already required.
10463 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10465         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10467 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10469         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10470         (struct tcp_repair_window): New type.
10472 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10474         * libio/tst-memstream3.c: Include string.h.
10476 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10478         [BZ #18241]
10479         [BZ #20181]
10480         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10481         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10482         write position is at the end the buffer.
10483         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10484         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10485         (_IO_str_seekoff): Set correct offset from negative displacement and
10486         set EINVAL for invalid ones.
10487         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10488         buffer length.
10489         (_IO_wstr_switch_to_get_mode): New function.
10490         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10491         set EINVAL for invalid ones.
10492         * libio/tst-memstream3.c: New file.
10493         * libio/tst-wmemstream3.c: Likewise.
10494         * manual/examples/memstrm.c: Remove warning when priting size_t.
10496 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10498         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10499         macro to use __builtin_fma.
10500         * sysdeps/x86_64/fpu/dla.h: Remove file.
10502         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10503         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10504         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10506 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10508         [BZ #20292]
10509         * elf/Makefile (routines): Add dl-addr-obj.
10510         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10511         tst-_dl_addr_inside_object.
10512         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10513         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10514         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10515         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10516         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10517         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10518         * elf/dl-open.c: Likewise.
10519         * elf/dl-addr-obj.c: New file.
10520         * elf/tst-_dl_addr_inside_object.c: New file.
10522 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10524         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10525         <bits/iscanonical.h>.
10526         * bits/iscanonical.h: New file.
10527         * math/s_iscanonicall.c: Likewise.
10528         * math/Versions (__iscanonicall): New libm symbol at version
10529         GLIBC_2.25.
10530         * math/libm-test.inc (iscanonical_test_data): New array.
10531         (iscanonical_test): New function.
10532         (main): Call iscanonical_test.
10533         * math/Makefile (headers): Add bits/iscanonical.h.
10534         (type-ldouble-routines): Add s_iscanonicall.
10535         * manual/arith.texi (Floating Point Classes): Document
10536         iscanonical.
10537         * manual/libm-err-tab.pl: Update comment on interfaces without
10538         ulps tabulated.
10539         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10540         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10541         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10542         Likewise.
10543         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10544         test-iscanonical-ldbl-128ibm.
10545         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10546         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10547         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10548         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10549         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10550         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10551         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10553         Likewise.
10554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10555         Likewise.
10556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10557         Likewise.
10558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10559         Likewise.
10560         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10561         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10563 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10565         * string/bits/string3.h: Remove C++ style comments.
10567 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10569         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10570         instead of ternary condition.
10571         (do_sincos_2): Likewise.
10572         (__sin): Likewise.
10573         (__cos): Likewise.
10574         (slow): Likewise.
10575         (sloww): Likewise.
10576         (sloww1): Likewise.
10577         (bsloww): Likewise.
10578         (bsloww1): Likewise.
10580         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10581         instead of ternary condition.
10582         (do_sin_slow): Likewise.
10583         (do_sincos_1): Likewise.
10584         (do_sincos_2): Likewise.
10585         (__cos): Likewise.
10586         (sloww): Likewise.
10587         (sloww1): Likewise.
10588         (sloww2): Likewise.
10589         (bsloww): Likewise.
10590         (bsloww1): Likewise.
10591         (bsloww2): Likewise.
10593         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10594         check from here...
10595         (slow2): ... and here...
10596         (__sin): ... to here.
10598 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10600         * math/math.h
10601         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10602         Cast argument to its own type.
10603         * math/test-iszero-excess-precision.c: New file.
10604         * math/Makefile (tests): Add test-iszero-excess-precision.
10605         (CFLAGS-test-iszero-excess-precision.c): New variable.
10607 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10609         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10610         field, add err field.
10611         (__spawni_child): Report error through err member instead of pipe.
10612         (__spawnix): Likewise.
10614 2016-09-28  Zack Weinberg  <zackw@panix.com>
10616         * scripts/check-installed-headers.sh: Generalize treatment of
10617         sys/elf.h to all target architectures.
10619         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10620         deleted typedef ucontext_t.
10622 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10624         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10625         (__INTERNAL_SYSCALL1): Likewise.
10626         (__INTERNAL_SYSCALL2): Likewise.
10627         (__INTERNAL_SYSCALL3): Likewise.
10628         (__INTERNAL_SYSCALL4): Likewise.
10629         (__INTERNAL_SYSCALL5): Likewise.
10630         (__INTERNAL_SYSCALL6): Likewise.
10631         (__INTERNAL_SYSCALL7): Likewise.
10632         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10633         (__INTERNAL_SYSCALL_NARGS): Likewise.
10634         (__INTERNAL_SYSCALL_DISP): Likewise.
10635         (INTERNAL_SYSCALL_CALL): Likewise.
10636         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10637         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10638         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10639         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10640         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10641         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10642         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10643         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10644         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10645         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10646         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10647         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10648         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10650 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10652         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10653         macro.
10654         * math/libm-test.inc (iszero_test_data): New array.
10655         (iszero_test): New function.
10656         (main): Call iszero_test.
10657         * manual/arith.texi (Floating Point Classes): Document iszero.
10658         * manual/libm-err-tab.pl: Update comment on interfaces without
10659         ulps tabulated.
10661 2016-09-23  Zack Weinberg  <zackw@panix.com>
10663         * scripts/check-installed-headers.sh: New script.
10664         * Rules: In each directory that defines header files to be installed,
10665         run check-installed-headers.sh on them as a special test.
10666         * Makefile: Likewise for the headers installed at top level.
10668         * include/aliases.h, include/alloca.h, include/argz.h
10669         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10670         * include/elf.h, include/envz.h, include/err.h
10671         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10672         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10673         * include/link.h, include/malloc.h, include/mcheck.h
10674         * include/mntent.h, include/netinet/ether.h
10675         * include/nss.h, include/obstack.h, include/printf.h
10676         * include/pty.h, include/resolv.h, include/rpc/auth.h
10677         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10678         * include/rpc/clnt.h, include/rpc/des_crypt.h
10679         * include/rpc/key_prot.h, include/rpc/netdb.h
10680         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10681         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10682         * include/rpc/rpc_msg.h, include/rpc/svc.h
10683         * include/rpc/svc_auth.h, include/rpc/xdr.h
10684         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10685         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10686         * include/rpcsvc/ypupd.h, include/shadow.h
10687         * include/stdio_ext.h, include/sys/epoll.h
10688         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10689         * include/sys/prctl.h, include/sys/profil.h
10690         * include/sys/statfs.h, include/sys/sysctl.h
10691         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10692         * sysdeps/arm/nacl/include/bits/setjmp.h
10693         * sysdeps/mips/include/sys/asm.h
10694         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10695         * sysdeps/unix/sysv/linux/include/sys/timex.h
10696         * sysdeps/x86/fpu/include/bits/fenv.h:
10697         Add #ifndef _ISOMAC guard around internal declarations.
10698         Add multiple-inclusion guard if not already present.
10700 2016-09-23  Zack Weinberg  <zackw@panix.com>
10702         * sysdeps/generic/sys/ucontext.h
10703         * sysdeps/arm/sys/ucontext.h
10704         * sysdeps/i386/sys/ucontext.h
10705         * sysdeps/m68k/sys/ucontext.h
10706         * sysdeps/mips/sys/ucontext.h
10707         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10708         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10709         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10710         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10711         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10712         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10713         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10714         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10715         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10716         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10717         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10718         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10719         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10720         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10721         Include both bits/sigcontext.h and bits/sigstack.h.
10722         Fix grammar error in comment, if present.
10724         * bits/sigstack.h
10725         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10726         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10727         * sysdeps/unix/sysv/linux/bits/sigstack.h
10728         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10729         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10730         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10731         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10732         * bits/sigcontext.h
10733         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10734         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10735         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10736         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10737         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10738         as well as signal.h, if this was not already allowed.  Request
10739         definition of size_t if necessary.  Minimize semantically-null
10740         differences across files.
10742 2016-09-23  Zack Weinberg  <zackw@panix.com>
10744         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10745         Remove all logic conditional on __need macros.  Move all the
10746         conditionally defined types to their own headers...
10747         * time/bits/types/clock_t.h: Define clock_t here.
10748         * time/bits/types/clockid_t.h: Define clockid_t here.
10749         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10750         * time/bits/types/struct_timespec.h: Define struct timespec here.
10751         * time/bits/types/struct_timeval.h: Define struct timeval here.
10752         * time/bits/types/struct_tm.h: Define struct tm here.
10753         * time/bits/types/time_t.h: Define time_t here.
10754         * time/bits/types/timer_t.h: Define timer_t here.
10755         * time/Makefile: Install the new headers.
10757         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10758         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10759         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10760         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10761         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10762         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10763         * sysdeps/unix/sysv/linux/bits/resource.h
10764         * sysdeps/unix/sysv/linux/bits/timex.h
10765         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10766         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10767         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10768         * sysdeps/unix/sysv/linux/sys/acct.h
10769         * sysdeps/unix/sysv/linux/sys/timerfd.h
10770         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10771         * time/sys/time.h, time/sys/timeb.h
10772         Use the new bits/types headers.
10774         * include/time.h: Remove __need logic.
10775         * include/bits/time.h
10776         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10777         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10778         * include/bits/types/struct_itimerspec.h
10779         * include/bits/types/struct_timespec.h
10780         * include/bits/types/struct_timeval.h
10781         * include/bits/types/struct_tm.h:
10782         New wrapper headers.
10784 2016-09-23  Zack Weinberg  <zackw@panix.com>
10786         * sysdeps/mach/hurd/net/if_ppp.h
10787         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10788         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10789         if __USE_MISC is defined, to ensure struct ifreq is declared.
10791         * inet/netinet/ether.h: Condition all function prototypes
10792         on __USE_MISC, to ensure struct ether_addr is declared.
10794         * socket/bits/types/struct_osockaddr.h: New header.
10795         * include/bits/types/struct_osockaddr.h: New wrapper.
10796         * socket/Makefile: Install the new header.
10797         * socket/sys/socket.h, inet/protocols/talkd.h:
10798         Refer to bits/types/struct_osockaddr.h for the definition of
10799         struct osockaddr.
10801 2016-09-23  Zack Weinberg  <zackw@panix.com>
10803         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10804         * inet/protocols/routed.h, inet/protocols/talkd.h
10805         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10806         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10807         * sysdeps/generic/netinet/if_ether.h
10808         * sysdeps/generic/netinet/in_systm.h
10809         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10810         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10811         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10812         * sysdeps/mach/hurd/net/if_arp.h
10813         * sysdeps/mach/hurd/net/if_ppp.h
10814         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10815         * sysdeps/unix/sysv/linux/bits/in.h
10816         * sysdeps/unix/sysv/linux/net/ethernet.h
10817         * sysdeps/unix/sysv/linux/net/if_arp.h
10818         * sysdeps/unix/sysv/linux/net/if_ppp.h
10819         * sysdeps/unix/sysv/linux/net/if_shaper.h
10820         * sysdeps/unix/sysv/linux/net/route.h
10821         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10822         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10823         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10824         * sysdeps/unix/sysv/linux/netipx/ipx.h
10825         * sysdeps/unix/sysv/linux/sys/acct.h
10826         * include/arpa/nameser.h, include/resolv.h:
10827         Change all uses of u_char to unsigned char,
10828         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10829         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10830         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10831         and u_int64_t and u_quad_t to uint64_t.
10833         * mach/sys/reboot.h: Remove two casts of integer literals
10834         to the types they already have.
10836         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10837         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10838         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10839         from referring to 'unsigned char' to 'uint8_t' for consistency with
10840         the macro definition below.
10842         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10843         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10844         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10845         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10846         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10847         * sysdeps/unix/sysv/linux/sys/acct.h
10848         * include/arpa/nameser.h, include/resolv.h:
10849         Fix indentation disrupted by mechanical edits.
10851         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10852         * sysdeps/generic/netinet/in_systm.h
10853         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10854         * sysdeps/gnu/netinet/udp.h
10855         * sysdeps/unix/sysv/linux/net/ethernet.h
10856         * sysdeps/unix/sysv/linux/net/if_arp.h
10857         * sysdeps/unix/sysv/linux/net/if_ppp.h
10858         * sysdeps/unix/sysv/linux/net/if_shaper.h
10859         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10860         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10861         * sysdeps/unix/sysv/linux/netipx/ipx.h
10862         * sysdeps/unix/sysv/linux/sys/acct.h
10863         Include stdint.h for uintNN_t definitions.
10864         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10866 2016-09-23  Zack Weinberg  <zackw@panix.com>
10868         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10869         * sysdeps/unix/sysv/linux/netrose/rose.h:
10870         Include sys/socket.h and netax25/ax25.h.
10872         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10873         * resolv/arpa/nameser_compat.h:
10874         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10876         * sysdeps/unix/sysv/linux/sys/quota.h:
10877         Use __caddr_t instead of caddr_t.
10878         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10879         Use __clockid_t instead of clockid_t.
10881         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10883         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10884         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10885         expanding it.
10887         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10888         Define __glibc_c99_flexarr_available to 1 when the compiler
10889         supports C99-compatible flexible array members, 0 otherwise.
10890         * sysdeps/unix/sysv/linux/bits/socket.h
10891         * sysdeps/mach/hurd/bits/socket.h
10892         * bits/socket.h: Use __glibc_c99_flexarr_available in
10893         definitions of struct cmsghdr and CMSG_DATA.
10895 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10897         * manual/nss.texi (NSS Modules Interface): Adjust function return
10898         type to enum nss_status.  Document errnop argument.  Clarify
10899         h_errnop semantics.  Fix cross-reference formatting.
10900         (NSS Module Function Internals): Mention that *errnop needs to be
10901         set on failure, but not to zero.
10903 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10905         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10906         (get_random_name): New functions.
10907         (check_wrapper_flags_mode): Use linkat to give the new file a name
10908         determined by get_random_name.
10909         (do_test): Add calls to test open64 and openat64.
10911 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10913         * test-skeleton.c: Remove #include <stdarg.h>.
10915 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10917         [BZ #19826]
10918         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10919         initialization of static TLS entries.
10920         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10921         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10923 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10925         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10926         _hurd_malloc_fork_prepare.
10927         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10928         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10929         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10930         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10931         (_hurd_fork_child_hook): Drop malloc_fork_child.
10932         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10933         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10934         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10935         after locking locks (notably hurd_dtable_lock). Call
10936         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10937         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10938         __malloc_fork_unlock_child.
10939         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10941 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10943         * soft-fp/extendhftf2.c: New.
10944         * soft-fp/fixhfti.c: Likewise.
10945         * soft-fp/fixunshfti.c: Likewise.
10946         * soft-fp/floattihf.c: Likewise.
10947         * soft-fp/floatuntihf.c: Likewise.
10948         * soft-fp/half.h: Likewise.
10949         * soft-fp/trunctfhf2.c: Likewise.
10951 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10953         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10954         macro.
10955         * math/libm-test.inc (issubnormal_test_data): New array.
10956         (issubnormal_test): New function.
10957         * manual/arith.texi (Floating Point Classes): Document
10958         issubnormal.
10959         * manual/libm-err-tab.pl: Update comment on interfaces without
10960         ulps tabulated.
10962         * sysdeps/generic/stdint.h: Define
10963         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10964         <bits/libc-header-start.h> instead of including <features.h>.
10965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10968         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10972         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10974         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10988         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10998         * manual/arith.texi (Integers): Document these macros for types
10999         specified by width properties.
11000         * manual/lang.texi (Width of Type): Document these macros for
11001         other standard typedefs.
11002         * stdlib/tst-width-stdint.c: New file.
11003         * stdlib/Makefile (tests): Add tst-width-stdint.
11005 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11007         [BZ #20016]
11008         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
11009         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
11010         Move ...
11011         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
11012         ... here, as compatibility symbols in a new file.
11013         * resolv/Makefile (libresolv-routines): Add compat-hooks.
11014         * resolv/res_init.c (__res_vinit): Adjust member names.
11015         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
11016         * resolv/resolv.h (res_sendhookact, res_send_qhook)
11017         (res_send_rhook): Remove.
11018         (struct __res_state): Rename qhook, rhook members.
11020 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11022         malloc: Use __libc_lock wrappers.
11023         * malloc/arena.c (list_lock, free_list_lock): Define using
11024         __libc_lock_define_initialized.
11025         (arena_lock): Adjust formatting.
11026         * malloc/malloc.c (struct malloc_state): Define mutex using
11027         __libc_lock_define.
11028         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
11029         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
11030         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
11031         (mutex_unlock, mutex_trylock): Remove.
11032         (__pthread_initialize): Remove unused macro.
11033         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
11034         (mutex_unlock, mutex_trylock): Remove.
11036 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11038         [BZ #20592]
11039         Remove RR type classification macros.
11040         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
11041         (ns_t_udp_p, ns_t_xfr_p): Remove.
11043 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11045         Remove misleading version information.
11046         * resolv/arpa/nameser.h (__NAMESER): Remove.
11047         * resolv/arpa/nameser_compat.h (__BIND): Remove.
11049 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11051         Remove the always-defined BIND_4_COMPAT macro.
11052         * resolv/arpa/nameser.h: Unconditionally include
11053         <arpa/nameser_compat.h>.
11054         (BIND_4_COMPAT): Remove.
11055         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
11057 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11059         [BZ #20591]
11060         Remove obsolete DNSSEC support.
11061         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
11062         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
11063         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
11064         (ns_verify_tcp, ns_verify_tcp_init): Remove.
11065         (ns_cert_types): Add comment.
11066         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
11067         separately.
11068         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
11069         (dst_s_dns_key_id): Remove.
11070         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
11071         variables.
11073 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11075         [BZ #20524]
11076         * manual/string.texi (String/Array Comparison): Clarify the
11077         strverscmp behavior.
11079 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11081         * test-skeleton.c (xasprintf): Add function.
11082         * io/tst-open-tmpfile.c: New test.
11083         * io/Makefile (tests): Add it.
11085 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11087         Avoid running $(CXX) during build to obtain header file paths.
11088         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
11089         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
11090         * Makerules (cstdlib, cmath): Remove variables.  Use
11091         $(c++-cstdlib-header), $(c++-cmath-header) instead.
11092         * configure: Regenerate.
11094 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11096         * Makeconfig (all-object-suffixes): Include .op only if
11097         $(build-profile).
11099 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11101         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
11102         conditionals.  Do not define PATH_MAX.
11104 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11106         * posix/Makefile (tests): Add tst-spawn3.
11107         * posix/tst-spawn3.c: New file.
11108         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
11109         if it is already opened for open action.
11111         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
11112         all signals when executing the clone vfork child.
11113         (SIGALL_SET): Remove macro.
11115         * nptl/Makefile (tests): Add tst-exec5.
11116         * nptl/tst-exec5.c: New file.
11117         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
11118         asynchronous cancellation.
11120 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11122         * hurd/exc2signal.c: #include <hurd/signal.h>
11123         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
11124         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
11125         accordingly.
11126         * mach/mach_error.c (mach_error): Fix old-style function definition.
11127         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
11129 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11131         * math/Makefile (libm-calls): Remove s_nanF.
11132         (gen-libm-calls): Add s_nanF.
11134         * math/s_nan.c: Refactor into ...
11135         * math/s_nan_template.c: New file.
11137         * math/s_nanf.c: Removed.
11138         * math/s_nanl.c: Removed.
11139         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
11140         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
11142         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11143         (LDOUBLE_nanl_libm_version): New macro.
11145         * sysdeps/generic/math-type-macros-double.h:
11146         (M_STRTO_NAN): New macro.
11147         * sysdeps/generic/math-type-macros-float.h: Likewise.
11148         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11150         * sysdeps/generic/math-type-macros.h: Document
11151         M_STRTO_NAN.
11153 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11155         * math/s_nanf.c: Remove __nanf undef.
11156         * math/s_nan.c: Remove __nan undef.
11157         * math/s_nanl.c: Remove __nanl undef.
11159         * sysdeps/generic/math_private.h (__nan): Remove macro
11160         override.
11161         (__nanf): Likewise.
11162         (__nanl): Likewise.
11164 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11166         * math/Makefile (gen-all-calls): New variable.
11167         (generated): Replace gen-libm-calls with gen-all-calls.
11168         (gen-libm-templates.stmp): Likewise.  Also, ensure
11169         the output directory exists or is created and add
11170         dependency on the Makefile.
11171         (calls): Move s_ldexpF into gen-calls.
11172         (gen-calls): New variable.
11174         * math/s_ldexpf.c: Removed.
11175         * math/s_ldexpl.c: Removed.
11176         * math/s_ldexp.c: Refactored into ...
11177         * math/s_ldexp_template.c: New file.
11179         * sysdeps/generic/math-type-macros-double.h: Remove
11180         redundant fall-through definition of declare_mgen_alias.
11181         (declare_mgen_alias_2): New macro.
11183         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
11184         New macro for function aliased to two exported symbols.
11186         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
11187         new template file.
11188         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11190 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11192         * Makeconfig (all-object-suffixes): Remove .og.
11193         * Makerules (elide-routines.og): Remove.
11194         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
11195         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
11196         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
11198 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11200         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
11201         .os objects.
11203 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11205         [BZ #20615]
11206         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
11207         fpu directory by non-fpu.
11208         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
11209         on non-fpu directory from a fpu directory.
11211 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
11213         * include/limits.h: Define
11214         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11215         <bits/libc-header-start.h> instead of including <features.h>.
11216         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
11217         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
11218         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
11219         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
11220         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
11221         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
11222         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
11223         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
11224         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11225         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
11226         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
11227         * manual/lang.texi (Width of Type): Document these macros.
11228         * stdlib/tst-width.c: New file.
11229         * stdlib/Makefile (tests): Add tst-width.
11231 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11233         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
11234         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
11236 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11238         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
11239         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11240         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11242 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11244         [BZ #18243]
11245         * rt/Makefile (test): Add tst-shm-cancel.
11246         * rt/tst-shm-cancel.c: New file.
11247         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
11249         [BZ #18243]
11250         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
11251         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
11252         definition.
11253         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
11254         uncontended case.
11255         * nptl/sem_wait.c (__new_sem_wait): Likewise.
11256         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
11257         (tf): Fix check for uncontended case.
11258         (do_test): Likewise.
11259         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
11260         (tf): Fix check for uncontended case.
11261         (do_test): Likewise.
11262         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
11263         (tf): Fix check for uncontended case.
11264         (do_test): Likewise.
11265         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
11266         (tf): Fix check for uncontended case.
11267         (do_test): Likewise.
11269         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
11270         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
11272         [BZ #15765]
11273         * nptl/Makefile (tests): Add tst-sem16.
11274         * nptl/tst-sem16.c: New file.
11275         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
11277         * nptl/sem_open.c (sem_open): Init pad value to 0.
11278         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11279         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11281 2016-09-15  Florian Weimer  <fweimer@redhat.com>
11283         [BZ #20611]
11284         * inet/Makefile (routines): Add inet6_scopeid_pton.
11285         (tests): Add tst-inet6_scopeid_pton.
11286         * inet/inet6_scopeid_pton.c: New file.
11287         * inet/net-internal.h: Likewise.
11288         * inet/tst-inet6_scopeid_pton.c: New test.
11289         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
11290         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
11291         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11293 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11295         Remove support for compiling wrappers with PTW.
11296         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11297         * nptl/Makefile (pthread-compat-wrappers): Define.
11298         (libpthread-routines): Use pthread-compat-wrappers.
11299         * sysdeps/unix/sysv/linux/alpha/Makefile
11300         (libpthread-routines, libpthread-shared-only-routines): Remove
11301         ptw- prefix.
11302         * sysdeps/s390/nptl/Makefile
11303         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11304         * sysdeps/ia64/nptl/Makefile
11305         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11306         * sysdeps/nacl/Makefile (libpthread-routines): Use
11307         pthread-compat-wrappers to filter the routines list instead of the
11308         ptw- prefix.
11310 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11312         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11313         with L() and remove explicit suffix, convert real literals
11314         which can be equivalentally substituted with integers, and
11315         transform -L(x) to L(-x).
11317         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11318         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11319         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11320         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11321         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11322         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11323         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11324         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11325         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11326         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11327         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11328         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11329         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11330         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11331         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11332         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11333         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11334         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11335         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11336         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11337         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11338         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11339         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11340         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11341         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11342         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11343         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11344         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11345         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11346         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11347         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11348         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11349         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11350         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11351         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11352         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11353         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11354         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11356         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11357         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11358         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11359         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11360         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11361         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11362         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11363         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11364         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11365         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11366         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11368 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11370         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11372 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11374         * malloc/Makefile (tests): Remove individual static test names
11375         and just add all of tests-static.
11377         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11379 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11381         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11382         file.
11384         * sysdeps/sparc/fpu/fegetmode.c: New file.
11385         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11387         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11388         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11390         * sysdeps/s390/fpu/fegetmode.c: New file.
11391         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11393         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11394         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11395         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11396         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11397         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11398         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11400         * sysdeps/mips/fpu/fegetmode.c: New file.
11401         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11403         * sysdeps/m68k/fpu/fegetmode.c: New file.
11404         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11406         * sysdeps/ia64/fpu/fegetmode.c: New file.
11407         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11409         * sysdeps/hppa/fpu/fegetmode.c: New file.
11410         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11412         * sysdeps/arm/fegetmode.c: New file.
11413         * sysdeps/arm/fesetmode.c: Likewise.
11415         * sysdeps/alpha/fpu/fegetmode.c: New file.
11416         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11418         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11419         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11421         * math/fegetmode.c: New file.
11422         * math/fesetmode.c: Likewise.
11423         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11424         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11425         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11426         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11427         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11429         declaration.
11430         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11431         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11432         typedef.
11433         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11434         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11435         (femode_t): New typedef.
11436         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11437         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11438         (femode_t): New typedef.
11439         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11440         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11441         (femode_t): New typedef.
11442         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11443         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11444         (femode_t): New typedef.
11445         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11446         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11447         (femode_t): New typedef.
11448         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11449         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11450         (femode_t): New typedef.
11451         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11452         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11453         (femode_t): New typedef.
11454         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11455         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11456         (femode_t): New typedef.
11457         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11458         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11459         (femode_t): New typedef.
11460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11461         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11462         (femode_t): New typedef.
11463         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11464         declaration.
11465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11466         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11467         (femode_t): New typedef.
11468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11469         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11470         (femode_t): New typedef.
11471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11472         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11473         (femode_t): New typedef.
11474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11475         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11476         (femode_t): New typedef.
11477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11478         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11479         (femode_t): New typedef.
11480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11481         * manual/arith.texi (FE_DFL_MODE): Document macro.
11482         (fegetmode): Document function.
11483         (fesetmode): Likewise.
11484         * math/Versions (fegetmode): New libm symbol at version
11485         GLIBC_2.25.
11486         (fesetmode): Likewise.
11487         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11488         (tests): Add test-femode and test-femode-traps.
11489         * math/test-femode-traps.c: New file.
11490         * math/test-femode.c: Likewise.
11491         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11492         alias for __fe_dfl_env.
11493         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11494         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11495         (__fe_dfl_mode): Likewise.
11496         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11497         version GLIBC_2.25.
11498         * sysdeps/nacl/libm.abilist: Update.
11499         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11500         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11501         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11502         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11503         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11504         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11505         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11506         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11507         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11508         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11509         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11510         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11512         Likewise.
11513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11514         Likewise.
11515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11516         Likewise.
11517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11518         Likewise.
11519         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11520         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11521         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11522         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11523         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11525         Likewise.
11526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11527         Likewise.
11528         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11529         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11530         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11532 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11534         [BZ #20495]
11535         [BZ #20508]
11536         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11537         processors, set Use_dl_runtime_resolve_slow and set
11538         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11539         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11540         New.
11541         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11542         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11543         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11544         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11545         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11546         if Use_dl_runtime_resolve_opt is set.  Use
11547         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11548         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11549         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11550         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11551         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11552         New.
11553         (_dl_runtime_resolve_opt): Likewise.
11554         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11555         defined.
11557 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11559         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11560         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11562 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11564         Convert malloc to __libc_lock.  Automated part, using this Perl
11565         s/// command:
11566           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11567             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11568         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11569         conversion.
11571 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11573         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11574         (linknamespace-symlists-tests): Likewise.
11575         (linknamespace-header-tests): Likewise.
11577 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11579         [BZ #19810]
11580         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11581         * elf/tst-noload.c: New test case.
11582         * elf/Makefile (tests): Add tst-noload.
11584 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11586         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11588         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11589         not any more.
11591         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11593 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11595         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11596         (do_cos_slow): Likewise.
11597         (do_sin): Likewise.
11598         (do_sin_slow): Likewise.
11599         (slow): Likewise.
11600         (slow1): Likewise.
11601         (slow2): Likewise.
11602         (sloww): Likewise.
11603         (sloww1): Likewise.
11604         (sloww2): Likewise.
11605         (bsloww): Likewise.
11606         (bsloww1): Likewise.
11607         (bsloww2): Likewise.
11608         (cslow2): Likewise.
11610         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11612         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11613         arguments.  Consolidate input partitioning from callers here.
11614         (do_cos_slow): Likewise.
11615         (do_sin): Likewise.
11616         (do_sin_slow): Likewise.
11617         (do_sincos_1): Remove the no longer necessary input partitioning.
11618         (do_sincos_2): Likewise.
11619         (__sin): Likewise.
11620         (__cos): Likewise.
11621         (slow1): Likewise.
11622         (slow2): Likewise.
11623         (sloww1): Likewise.
11624         (sloww2): Likewise.
11625         (bsloww1): Likewise.
11626         (bsloww2): Likewise.
11627         (cslow2): Likewise.
11629 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11631         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11632         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11633         outside of allocated array.
11635 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11637         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11638         instead of MB_CUR_MAX to avoid variable-length array.
11640 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11642         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11643         (type-double-routines): Add k_rem_pio2.
11644         (type-float-routines): Add k_rem_pio2f.
11646         * sysdeps/generic/math_private.h:
11647         (__kernel_rem_pio2l): Removed.
11649         * math/k_rem_pio2l.c: Removed.
11650         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11651         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11652         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11653         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11655 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11657         * math/Makefile (gen-libm-calls): Add s_fmin
11658         (libm-calls): Remove above.
11660         * math/s_fmin.c: Refactor into ...
11661         * math/s_fmin_template.c: New file.
11663         * math/s_fminf.c: Removed.
11664         * math/s_fminl.c: Removed.
11665         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11666         (LDOUBLE_fmin_libm_version): New macro.
11668         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11669         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11671 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11673         * math/Makefile: (gen-libm-calls): Add s_fmax.
11674         (libm-calls): Remove above.
11676         * math/s_fmax.c: Refactor into ...
11677         * math/s_fmax_template.c: New file.
11678         * math/s_fmaxf.c: Removed.
11679         * math/s_fmaxl.c: Removed.
11681         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11682         (LDOUBLE_fmaxl_libm_version): New macro.
11684         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11685         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11687         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11688         s_fmin.c to pick the aarch64 version of the file.
11689         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11690         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11692 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11694         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11695         (libm-calls): Remove above.
11697         * math/s_nextdown.c: Refactor into ...
11698         * math/s_nextdown_template.c: New file.
11699         * math/s_nextdownf.c: Removed.
11700         * math/s_nextdownl.c: Removed.
11702         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11704 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11706         * math/Makefile (gen-libm-calls): Add s_fdim.
11707         (libm-calls): Move to above.
11709         * math/s_fdim.c: Renamed and refactored into to ...
11710         * math/s_fdim_template.c: New file.
11711         * math/s_fdiml.c: Removed.
11712         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11713         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11715         * sysdeps/generic/math-type-macros-double.h:
11716         (declare_mgen_alias): Don't declare if already declared.
11717         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11718         Likewise.
11720         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11721         (declare_mgen_alias): Don't declare if already declared.
11722         (M_LIBM_NEED_COMPAT): Likewise.
11723         (declare_mgen_libm_compat): Likewise.
11724         (LDOUBLE_fdiml_libm_version): New macro.
11726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11727         Include math/s_fdim.c now that ldbl-opt version is not needed.
11728         (declare_mgen_alias): New macro to disable aliasing.
11730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11731         (declare_mgen_alias): Likewise.
11732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11733         (declare_mgen_alias): Likewise.
11734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11735         (declare_mgen_alias): Likewise.
11736         (M_LIBM_NEED_COMPAT): Likewise.
11738 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11740         [BZ #20525]
11741         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11742         Include <linux/quota.h>.
11743         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11744         and btodb.
11745         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11746         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11747         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11748         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11749         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11750         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11751         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11752         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11753         types.
11754         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11755         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11757 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11759         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11760         (gammal_positive): Fix spacing.
11761         (__ieee754_gammal_r): Likewise.
11763 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11765         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11766         (_Float128): Define as long double, always.
11767         (L): Apply long double type suffix, always.
11769         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11770         _Float128, excepting comments.
11772         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11773         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11774         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11775         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11776         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11777         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11778         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11779         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11780         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11781         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11782         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11783         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11784         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11785         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11786         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11787         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11788         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11789         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11790         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11791         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11792         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11793         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11794         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11795         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11796         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11797         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11798         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11799         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11800         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11801         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11802         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11803         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11804         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11805         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11806         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11807         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11808         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11809         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11810         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11811         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11812         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11813         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11814         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11815         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11816         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11817         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11818         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11819         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11820         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11821         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11822         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11823         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11824         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11825         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11826         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11827         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11828         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11829         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11830         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11831         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11832         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11833         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11834         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11835         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11836         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11837         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11838         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11839         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11841         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11842         _Float128, and include math_private.h.
11843         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11845         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11846         long double semantics.
11847         (_Float128): Likewise.
11848         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11849         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11850         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11851         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11853 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11855         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11856         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11857         * sysdeps/s390/configure: Regenerated.
11858         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11859         instruction for raising over-/underflow if z196 zarch is supported
11860         by default.
11861         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11863 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11865         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11866         it point to a dumb buffer for RPC to fill it.
11868 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11870         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11871         instead of if/else.
11872         (do_sin_slow): Likewise.
11873         (do_sincos_1): Use fabs instead of if/else.
11874         (do_sincos_2): Likewise.
11875         (__sin): Likewise.
11876         (__cos): Likewise.
11877         (slow2): Likewise.
11878         (sloww): Likewise.
11879         (sloww1): Likewise.  Drop argument M.
11880         (sloww2): Use fabs instead of if/else.
11881         (bsloww): Likewise.
11882         (bsloww1): Likewise.
11883         (bsloww2): Likewise.
11885         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11886         fall through comment.
11887         (do_sincos_1): Likewise.
11889         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11890         Consolidate switch cases 0 and 2.
11892 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11894         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11895         (libm-calls): Remove the above.
11897         * math/s_cexp_template.c: Update using type-generic macros.
11898         * math/s_clog10_template.c: Likewise.
11899         * math/s_cpow_template.c: Likewise.
11900         * math/s_clog_template.c: Likewise.
11901         * math/s_cproj_template.c: Likewise.
11902         * math/s_csqrt_template.c: Likewise.
11904         * math/s_cexp.c: Removed.
11905         * math/s_cexpf.c: Removed.
11906         * math/s_cexpl.c: Removed.
11907         * math/s_clog10.c: Removed.
11908         * math/s_clog10f.c: Removed.
11909         * math/s_clog10l.c: Removed.
11910         * math/s_cpow.c: Removed.
11911         * math/s_cpowf.c: Removed.
11912         * math/s_cpowl.c: Removed.
11913         * math/s_clog.c: Removed.
11914         * math/s_clogf.c: Removed.
11915         * math/s_clogl.c: Removed.
11916         * math/s_cproj.c: Removed.
11917         * math/s_cprojf.c: Removed.
11918         * math/s_cprojl.c: Removed.
11919         * math/s_csqrt.c: Removed.
11920         * math/s_csqrtf.c: Removed.
11921         * math/s_csqrtl.c: Removed.
11923         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11924         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11925         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11926         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11927         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11928         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11930         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11931         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11932         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11933         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11934         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11935         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11936         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11937         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11938         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11939         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11940         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11942         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11943         version.
11945         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11946         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11947         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11948         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11950 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11952         * s_cexp_template.c: Copy of s_cexp.c.
11953         * s_clog_template.c: Copy of s_clog.c.
11954         * s_clog10_template.c: Copy of s_clog10.c.
11955         * s_cpow_template.c: Copy of s_cpow.c.
11956         * s_cproj_template.c: Copy of s_cproj.c.
11957         * s_csqrt_template.c: Copy of s_csqrt.c.
11959 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11961         [BZ #20517]
11962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11963         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11964         exported.
11966 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11968         * math/fetestexceptflag.c: New file.
11969         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11970         Stefan Liebler.
11971         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11972         (fetestexceptflag): New function declaration.
11973         * manual/arith.texi (fetestexceptflag): Document function.
11974         * math/Versions (fetestexceptflag): New libm symbol at version
11975         GLIBC_2.25.
11976         * math/Makefile (libm-support): Add fetestexceptflag.
11977         (tests): Add test-fetestexceptflag.
11978         * math/test-fetestexceptflag.c: New file.
11979         * sysdeps/nacl/libm.abilist: Update.
11980         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11981         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11982         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11983         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11984         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11985         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11986         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11987         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11989         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11990         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11991         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11993         Likewise.
11994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11995         Likewise.
11996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11997         Likewise.
11998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11999         Likewise.
12000         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12001         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12002         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12003         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12004         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12006         Likewise.
12007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12008         Likewise.
12009         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12010         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12011         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12013 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12015         [BZ #20432]
12016         Avoid strong references to malloc-internal symbols when linking
12017         statically, to support statically interposed mallocs.
12018         * include/libc-symbols.h (call_function_static_weak): New macro.
12019         * malloc/Makefile (tests): Add tst-interpose-nothread,
12020         tst-interpose-thread, tst-interpose-static-nothread,
12021         tst-interpose-static-thread.
12022         (tests-static): Add tst-interpose-static-nothread,
12023         tst-interpose-static-thread.
12024         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
12025         tst-interpose-aux-thread.o.
12026         (test-extras): Add tst-interpose-aux-nothread,
12027         tst-interpose-aux-thread.
12028         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
12029         tst-interpose-aux-nothread.o.
12030         (tst-interpose-thread, tst-interpose-static-thread): Link with
12031         tst-interpose-aux-thread.o and libthread.
12032         * malloc/tst-interpose-aux-nothread.c: New file.
12033         * malloc/tst-interpose-aux-thread.c: Likewise.
12034         * malloc/tst-interpose-aux.c: Likewise.
12035         * malloc/tst-interpose-aux.h: Likewise.
12036         * malloc/tst-interpose-nothread.c: Likewise.
12037         * malloc/tst-interpose-skeleton.c: Likewise.
12038         * malloc/tst-interpose-static-nothread.c: Likewise.
12039         * malloc/tst-interpose-static-thread.c: Likewise.
12040         * malloc/tst-interpose-thread.c: Likewise.
12041         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
12042         * sysdeps/mach/hurd/fork.c (__fork): Only call
12043         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12044         __malloc_fork_unlock_child if defined.
12045         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12047 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12049         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
12050         timespec C99 designated initialization.
12052 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12054         [BZ #19946]
12055         Avoid expected SIGALRM signals.
12056         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
12057         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
12058         (xpthread_create, xpthread_detach, xpthread_join)
12059         (delayed_exit_thread, delayed_exit): New functions.
12060         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
12061         (tf): Use xpthread_cond_wait.
12062         (do_test): Likewise.  Replace alarm with delayed_exit.
12063         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12064         (do_test): Call delayed_exit.  Report failure.
12065         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12066         (do_test): Call delayed_exit.
12067         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12068         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
12069         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12070         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
12071         error.
12072         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12073         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
12074         error.
12075         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
12076         (do_test): Call delayed_exit.
12077         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
12078         (do_test): Call delayed_exit.
12079         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
12080         (do_test): Call delayed_exit instead of alarm.  Use
12081         xpthread_mutex_lock.
12082         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
12083         (do_test): Call delayed_exit instead of alarm.  Use
12084         xpthread_mutex_lock.
12085         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
12086         (do_test): Call delayed_exit instead of alarm.
12087         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
12088         (do_test): Call delayed_exit instead of alarm.  Use
12089         xpthread_spin_lock.
12090         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
12091         (do_test): Call delayed_exit instead of alarm.  Use
12092         xpthread_join.
12094 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12096         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
12097         adjust CFA when allocating register save area on re-aligned
12098         stack.
12100 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12102         * string/tst-cmp.c: New test.
12103         * string/Makefile (tests): Add it.
12105 2016-08-25  Mark Wielaard  <mark@klomp.org>
12107         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
12108         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
12109         (check_tree_recurse): Use newly defined accessors.
12110         (check_tree): Likewise.
12111         (maybe_split_for_insert): Likewise.
12112         (__tfind): Likewise.
12113         (__tdelete): Likewise.
12114         (trecurse): Likewise.
12115         (tdestroy_recurse): Likewise.
12116         (__tsearch): Likewise. And add asserts for malloc alignment.
12117         (__twalk): Cast root to node in case CHECK_TREE is defined.
12119 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12121         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
12123 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12125         * math/Makefile (libm-gen-calls): Add
12126         catan, catanh, ctan, ctanh.
12127         (libm-calls): Remove the above.
12129         * math/s_catan_template.c: Update using type-generic macros.
12130         * math/s_catanh_template.c: Likewise.
12131         * math/s_ctan_template.c: Likewise.
12132         * math/s_ctanh_template.c: Likewise.
12134         * math/s_catanf.c: Removed.
12135         * math/s_catan.c: Removed.
12136         * math/s_catanl.c: Removed.
12137         * math/s_catanhf.c: Removed.
12138         * math/s_catanh.c: Removed.
12139         * math/s_catanhl.c: Removed.
12140         * math/s_ctanf.c: Removed.
12141         * math/s_ctan.c: Removed.
12142         * math/s_ctanl.c: Removed.
12143         * math/s_ctanhf.c: Removed.
12144         * math/s_ctanh.c: Removed.
12145         * math/s_ctanhl.c: Removed.
12147         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
12148         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
12149         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
12150         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
12151         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
12152         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
12154         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
12155         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
12156         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
12157         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
12159 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12161         * s_catan_template.c: Copy of s_catan.c.
12162         * s_catanh_template.c: Copy of s_catanh.c.
12163         * s_ctan_template.c: Copy of s_ctan.c.
12164         * s_ctanh_template.c: Copy of s_ctanh.c.
12166 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12168         * math/Makefile (gen-libm-calls): Move
12169         casin, casinh, csin, csinh here.
12170         (libm-calls): Remove the above.
12172         * math/s_casin_template.c: Update using type-generic macros.
12173         * math/s_casinh_template.c: Likewise.
12174         * math/s_csin_template.c: Likewise.
12175         * math/s_csinh_template.c: Likewise.
12176         * math/k_casinh_template.c: Likewise.
12178         * math/s_casinf.c: Removed.
12179         * math/s_casin.c: Removed.
12180         * math/s_casinl.c: Removed.
12181         * math/s_casinh.c: Removed.
12182         * math/s_casinhf.c: Removed.
12183         * math/s_casinhl.c: Removed.
12184         * math/s_csin.c: Removed.
12185         * math/s_csinf.c: Removed.
12186         * math/s_csinl.c: Removed.
12187         * math/s_csinh.c: Removed.
12188         * math/s_csinhf.c: Removed.
12189         * math/s_csinhl.c: Removed.
12190         * math/k_casinh.c: Removed.
12191         * math/k_casinhf.c: Removed.
12192         * math/k_casinhl.c: Removed.
12194         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
12195         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
12196         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
12197         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
12199         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
12200         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
12201         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
12202         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
12203         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
12204         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
12205         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
12206         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
12208         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
12209         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
12210         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
12211         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
12213         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
12214         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
12215         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
12216         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
12218 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12220         * s_casin_template.c: Copy of s_casin.c.
12221         * s_casinh_template.c: Copy of s_casinh.c.
12222         * s_csin_template.c: Copy of s_csin.c.
12223         * s_csinh_template.c: Copy of s_csinh.c.
12224         * k_casinh_template.c: Copy of k_casinh.c.
12226 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12228         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
12230 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12232         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
12233         (mul_split) Remove, rename as mul_splitl, remove
12234         redundant float.h include, and include via mul_splitl.h
12236         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12237         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12238         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12239         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12240         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12242         * math/mul_splitl.h: New file.
12244         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
12245         Move into mul_split.h, and remove redundant float.h include.
12247         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12248         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12249         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12250         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
12252         * math/mul_split.h: New file.
12254 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12256         * math/Makefile (libm-gen-calls): Move
12257         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
12258         (libm-calls): Remove above.
12260         * math/s_cacos_template.c: Update using type-generic macros.
12261         * math/s_cacosh_template.c: Likewise.
12262         * math/s_ccos_template.c: Likewise.
12263         * math/s_ccosh_template.c: Likewise.
12265         * math/s_cacosf.c: Removed.
12266         * math/s_cacos.c: Removed.
12267         * math/s_cacosl.c: Removed.
12268         * math/s_cacoshf.c: Removed.
12269         * math/s_cacosh.c: Removed.
12270         * math/s_cacoshl.c: Removed.
12271         * math/s_ccosf.c: Removed.
12272         * math/s_ccos.c: Removed.
12273         * math/s_ccosl.c: Removed.
12274         * math/s_ccoshf.c: Removed.
12275         * math/s_ccosh.c: Removed.
12276         * math/s_ccoshl.c: Removed.
12278         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
12279         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
12280         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
12281         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
12282         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
12283         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
12285         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
12286         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
12287         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
12288         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
12290         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
12291         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12292         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12293         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12295 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12297         * s_cacos_template.c: Copy of s_cacos.c.
12298         * s_cacosh_template.c: Copy of s_cacosh.c.
12299         * s_ccos_template.c: Copy of s_ccos.c.
12300         * s_ccosh_template.c: Copy of s_ccosh.c.
12302 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12304         * stdlib/tst-strtod-round-skeleton.c:
12305         Refactored from tst-strtod-round.c.
12307         (L_): New macro to apply literal modifier.
12308         (FNPFX): New macro to select str or wcs prefix.
12309         (CHAR): New macro to choose wchar_t or char.
12310         (STRM): New macro to choose printf for tested character type.
12312         (STRTO): New macro to choose appropriate string -> real function.
12313         (FNPFXS): Stringitized version of FNPFX.
12314         (STR): Support for above macro.
12315         (STRX): Likewise.
12317         (TEST): Update with above macros.
12318         (test): Likewise.
12319         (GEN_ONE_TEST): Likewise.
12320         (test_in_one_mode): Likewise.
12322         * stdlib/tst-strtod-round.c: New file.
12323         * wcsmbs/tst-wcstod-round.c: New file.
12325         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12326         (tst-wcstod-round): Add libm depencency for fesetround.
12328 2016-08-19  Zack Weinberg  <zackw@panix.com>
12330         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12332 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12334         [BZ #20477]
12335         * resolv/res_hconf.c (do_init): Use atomic access.
12336         * resolv/res_hconf.h: Add comments.
12337         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12338         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12341 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12343         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12344         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12345         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12346         Likewise.
12348 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12350         [BZ #16907]
12351         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12352         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12353         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12354         (__attribute__): Remove definition.
12356 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12358         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12359         Remove unused sqrtl declaration.
12361 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12363         * math/Makefile: (gen-libm-templates.stmp): New rule.
12364         (libm-calls): Move carg conj cimag and cabs into ...
12365         (gen-libm-calls): New variable.
12366         (generated): Inform Make objects from gen-libm-calls
12367         may be generated.
12369         * sysdeps/generic/math-type-macros.h: New file.
12370         * sysdeps/generic/math-type-macros-float.h: Likewise.
12371         * sysdeps/generic/math-type-macros-double.h: Likewise.
12372         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12373         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12374         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12376         * math/cabs.c: Refactor into
12377         * math/cabs_template.c: new file.
12378         * math/cabsf.c: Removed.
12379         * math/cabsl.c: Removed.
12380         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12381         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12383         * math/carg.c: Refactor into
12384         * math/carg_template.c: new file.
12385         * math/cargf.c: Removed.
12386         * math/cargl.c: Removed.
12387         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12388         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12390         * math/conj.c: Refactor into
12391         * math/conj_template.c: new file.
12392         * math/conjf.c: Removed.
12393         * math/conjl.c: Removed.
12394         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12395         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12397         * math/cimag.c: Refactor into
12398         * math/cimag_template.c: new file.
12399         * math/cimagf.c: Removed.
12400         * math/cimagl.c: Removed.
12401         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12402         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12404         * math/cimag.c: Refactor into
12405         * math/cimag_template.c: new file.
12406         * math/cimagf.c: Removed.
12407         * math/cimagl.c: Removed.
12408         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12409         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12411 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12413         Reduce time to expected nptl/tst-once5 failure.
12414         * nptl/tst-once5.cc (TIMEOUT): Define.
12416 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12418         [BZ #20452]
12419         Avoid additional copies of objects in libc.a in static libraries.
12420         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12421         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12422         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12423         rt-sysdep.
12424         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12425         Add nptl-sysdep.
12426         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12427         Add ptw-sysdep.
12428         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12429         rt-sysdep.
12430         * sysdeps/unix/sysv/linux/alpha/Makefile
12431         (libpthread-shared-only-routines): Add ptw-sysdep,
12432         ptw-sigprocmask, ptw-rt_sigaction.
12433         * sysdeps/unix/sysv/linux/ia64/Makefile
12434         (librt-shared-only-routines): Add rt-sysdep.
12435         * sysdeps/unix/sysv/linux/i386/Makefile
12436         (libpthread-shared-only-routines): Add libc-do-syscall.
12437         * sysdeps/unix/sysv/linux/microblaze/Makefile
12438         (libpthread-shared-only-routines): Add sysdep.
12439         * sysdeps/unix/sysv/linux/powerpc/Makefile
12440         (librt-shared-only-routines): Add rt-sysdep.
12441         (libpthread-shared-only-routines): Add sysdep.
12442         * sysdeps/unix/sysv/linux/s390/Makefile
12443         (librt-shared-only-routines): Add rt-sysdep.
12444         * sysdeps/unix/sysv/linux/sparc/Makefile
12445         (librt-shared-only-routines): Add rt-sysdep.
12446         (libpthread-shared-only-routines): Add sysdep.
12447         * sysdeps/unix/sysv/linux/tile/Makefile
12448         (libpthread-shared-only-routines): Likewise.
12450 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12452         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12453         Mask implicit bit out of unpacked value.
12454         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12455         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12456         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12458         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12460         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12462         * sysdeps/s390/fpu/fesetexcept.c: New file.
12464         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12465         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12466         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12468         * sysdeps/mips/fpu/fesetexcept.c: New file.
12470         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12472         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12474         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12476         * sysdeps/arm/fesetexcept.c: New file.
12478         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12480         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12482         * math/fesetexcept.c: New file.
12483         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12484         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12485         * math/fenv.h: Define
12486         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12487         <bits/libc-header-start.h> instead of including <features.h>.
12488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12489         declaration.
12490         * manual/arith.texi (fesetexcept): Document function.
12491         * math/Versions (fesetexcept): New libm symbol at version
12492         GLIBC_2.25.
12493         * math/Makefile (libm-support): Add fesetexcept.
12494         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12495         * math/test-fesetexcept.c: New file.
12496         * math/test-fesetexcept-traps.c: Likewise.
12497         * sysdeps/nacl/libm.abilist: Update.
12498         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12499         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12500         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12501         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12502         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12503         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12504         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12505         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12506         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12507         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12508         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12509         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12511         Likewise.
12512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12513         Likewise.
12514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12515         Likewise.
12516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12517         Likewise.
12518         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12519         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12520         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12521         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12522         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12524         Likewise.
12525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12526         Likewise.
12527         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12528         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12529         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12531 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12533         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12534         New.
12535         (do_test): Apply default_stack_size_in_mb if not set.
12536         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12538 2016-08-15  Andreas Schwab  <schwab@suse.de>
12540         [BZ #20435]
12541         CVE-2016-6323
12542         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12543         as .cantunwind.
12545 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12547         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12548         comment from fraiseexcpt.c.
12550         * math/test-fexcept.c (feraiseexcept_exact): New function.
12551         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12552         (test_except): Likewise.
12554 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12556         [BZ #20455]
12557         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12558         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12559         to be restored.
12561         * math/test-fexcept-traps.c: New file.
12562         * math/test-fexcept.c: Likewise.
12563         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12564         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12565         macro.
12566         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12567         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12569 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12571         * include/atomic.h (atomic_fetch_and_relaxed,
12572         atomic_fetch_and_release, atomic_fetch_or_release,
12573         atomic_fetch_xor_release): New.
12575 2016-08-06  Christian Seiler  <christian@iwakd.de>
12577         [BZ #20444]
12578         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12579         MACH_PORT_NULL.
12581 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12583         * math/s_fdim.c: Avoid alias renamed.
12584         * math/s_fdimf.c: Likewise.
12585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12586         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12587         Add s_fdimf-vis3, s_fdim-vis3.
12588         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12589         (CFLAGS-s_fdim-vis3.c): Likewise.
12590         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12591         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12593 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12596         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12597         Remove s_fdimf-vis3, s_fdim-vis3.
12598         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12599         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12606         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12607         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12609 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12611         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12612         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12613         -Wa,-Av9a -mvis.
12615 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12617         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12618         LIT() to individual constants in simple expressions
12619         after splitting on spaces.
12620         (_apply_lit): Rename replaced version, and use it to
12621         apply to what appears to be a token.
12623         * math/libm-test.inc: Fix many, many issues with
12624         spacing.
12626 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12628         * math/math.h: Move comment about <bits/mathdef.h> definitions
12629         above inclusion of <bits/mathdef.h>.  Do not mention
12630         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12632 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12634         * include/atomic.h (atomic_exchange_relaxed): New.
12636 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12638         * math/e_scalb.c: Do not include <fenv.h>.
12639         (invalid_fn): Do calculation resulting in NaN instead of raising
12640         FE_INVALID and returning a NaN explicitly.
12641         * math/e_scalbf.c: Do not include <fenv.h>.
12642         (invalid_fn): Do calculation resulting in NaN instead of raising
12643         FE_INVALID and returning a NaN explicitly.
12644         * math/e_scalbl.c: Do not include <fenv.h>.
12645         (invalid_fn): Do calculation resulting in NaN instead of raising
12646         FE_INVALID and returning a NaN explicitly.
12648 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12650         * po/de.po: Updated from Translation Project.
12651         * po/fi.po: Likewise.
12652         * po/sv.po: Likewise.
12654 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12656         [BZ #20452]
12657         Use sysdep.o from libc.a in static libraries.
12658         * sysdeps/unix/sysv/linux/i386/Makefile
12659         (libpthread-shared-only-routines): Add sysdep.
12660         (librt-shared-only-routines): Likewise.
12662 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12664         * math/tgmath.h (nextdown): Define if
12665         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12666         (nextup): Likewise.
12668         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12669         macro.
12670         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12671         Document.
12672         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12673         Document macro.
12674         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12675         (exp10f): Likewise.
12676         (exp10l): Likewise.
12677         * math/bits/mathcalls.h (exp10): Declare if
12678         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12680         * manual/arith.texi (nextup): Fix typo in last change.
12682 2016-08-03  Zack Weinberg  <zackw@panix.com>
12684         [BZ #19239]
12685         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12686         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12687         define major, minor, and makedev to issue deprecation warnings on use.
12688         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12689         previously-activated deprecation warnings for these macros and prevent
12690         subsequent inclusions of this header from having any effect.
12691         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12692         including <sys/sysmacros.h>, and undefine it again afterward.
12694 2016-08-03  Zack Weinberg  <zackw@panix.com>
12696         * sysdeps/generic/sys/sysmacros.h: Delete file.
12697         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12698         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12699         * bits/sysmacros.h: ... here; this encoding is now the generic
12700         encoding.  Now defines only the following macros:
12701         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12702         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12703         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12705         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12706         bits/sysmacros.h and the above new macros to generate the
12707         public implementations of major, minor, and makedev.
12708         * misc/tst-makedev.c: New test.
12709         * include/sys/sysmacros.h: New wrapper.
12711         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12712         (routines): Add makedev.
12713         (tests): Add tst-makedev.
12714         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12715         gnu_dev_makedev.
12716         * posix/Makefile (headers): Remove sys/sysmacros.h.
12717         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12719         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12720         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12721         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12722         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12723         * sysdeps/unix/sysv/linux/arm/libc.abilist
12724         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12725         * sysdeps/unix/sysv/linux/i386/libc.abilist
12726         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12727         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12728         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12729         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12730         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12731         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12732         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12733         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12734         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12739         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12740         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12741         * sysdeps/unix/sysv/linux/sh/libc.abilist
12742         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12743         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12746         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12747         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12748         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12749         Add GLIBC_2.25.
12751         * include/features.h (__glibc_clang_prereq): New macro.
12752         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12753         (__attribute_deprecated_msg__): New macros.
12755 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12757         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12758         macro.
12759         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12760         * manual/arith.texi (issignaling): Document as ISO from TS
12761         18661-1:2014.
12762         (nextup): Likewise.
12763         (nextupf): Likewise.
12764         (nextupl): Likewise.
12765         (nextdown): Likewise.
12766         (nextdownf): Likewise.
12767         (nextdownl): Likewise.
12768         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12769         macro.
12770         * math/math.h: Define
12771         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12772         <bits/libc-header-start.h> instead of including <features.h>.
12773         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12774         [__USE_GNU].
12775         * math/bits/mathcalls.h (nextdown): Declare if
12776         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12777         (nextup): Likewise.
12778         (__issignaling): Likewise.
12780 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12782         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12783         check, and remove __glibc_likely hint
12784         from FP_INFINITE check.
12785         * s_csinhf.c (__csinhf): Likewise.
12787         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12788         hint from FP_INFINITE check.
12789         * s_csinhl.c (__csinhl): Likewise.
12791 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12793         * math/Makefile (libm-calls): Insert F placeholder into
12794         object names.  Move w_lgamma_compat* routines into
12795         (libm-compat-calls): New variable.
12796         (libm-compat-calls-ldouble-yes): New variable.
12797         (calls): Insert F placeholder.
12798         (generated): Redefine using new type-foreach macro call.
12799         (routines): Likewise.
12801         (types): New variable to hold a list of symbolic names
12802         for each type supported by the target machine.
12803         (libm-routines): Redefine using new types variable.
12804         (type-foreach): macro to replace fooF with the
12805         appropriately suffixed foo for each types.
12807         (type-ldouble-suffix): New variable.
12808         (type-ldouble-routines): Likewise.
12809         (type-ldouble-yes): Likewise.
12810         (type-double-suffix): Likewise.
12811         (type-double-routines): Likewise.
12812         (type-float-suffix): Likewise.
12813         (type-float-routines): Likewise.
12815         (dbl-only-routines): Remove.
12816         (long-c-yes): Likewise.
12817         (long-m-routines): Likewise.
12818         (long-m-support): Likewise.
12819         (long-m-yes): Likewise.
12820         (test-longdouble-yes): Likewise.
12822         (test-float.o): Simplify by increasing the scope of the
12823         recipe which adds libm-test.stmp to the vector types.
12824         (test-ifloat.o): Likewise.
12825         (test-float-finite.o): Likewise.
12826         (test-double.o): Likewise
12827         (test-idouble.o): Likewise.
12828         (test-double-finite.o): Likewise.
12829         (test-ldouble.o): Likewise
12830         (test-ildoubl.o): Likewise.
12831         (test-ldouble-finite.o): Likewise.
12833         (libm-tests): Redefine type tests using foreach and the
12834         list of types in types.
12836         (CPPFLAGS-test-ildoubl.c): Rename to
12837         (CPPFLAGS-test-ildouble.c): New variable
12839         * math/test-ildoubl.c: Rename to
12840         * math/test-ildouble.c: New file.
12842 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12844         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12845         Use fabsl instead of fabs.
12846         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12847         Likewise.
12848         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12849         Add long double suffix to constant to ensure proper
12850         promotion to long double.
12852 2016-08-03  Tom Tromey  <tom@tromey.com>
12854         [BZ #20311]
12855         * nptl_db/Makefile (headers): Add proc_service.h.
12856         * nptl_db/proc_service.h: Add include guard.  Use
12857         __BEGIN/__END_DECLS.
12858         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12859         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12860         arguments.
12863 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12865         [BZ #17730]
12866         Avoid using memalign for TCB allocations.
12867         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12868         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12869         Avoid alignment gap in the TLS_DTV_AT_TP case.
12870         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12871         determine the pointer to free.
12872         * nptl/tst-tls3-malloc.c: New test.
12873         * nptl/Makefile (tests): Add it.
12874         (tst-tls3-malloc): Link with libdl, libpthread.
12875         (LDFLAGS-tst-tls3-malloc): Set.
12876         (tst-tls3-malloc.out): Depend on DSO used in test.
12878 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12880         [BZ #17730]
12881         Avoid using memalign for TLS allocations.
12882         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12883         is_static member with to_free member.
12884         (union dtv): Use struct dtv_pointer.
12885         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12886         dtv_pointer instead of is_static.
12887         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12888         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12889         instead of val.
12890         (allocate_dtv_entry): New function.
12891         (allocate_and_init): Return struct dtv_pointer.  Call
12892         allocate_dtv_entry instead of __libc_memalign.
12893         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12894         instead of val.
12895         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12896         instead of is_static.  Adjust call to allocate_and_init.
12897         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12898         struct dtv_pointer instead of val.
12900 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12902         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12903         (MALLOC_ALIGN_MASK): Move ...
12904         * malloc/malloc-internal.h: ... to here.
12905         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12907 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12909         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12910         (UDP_ENCAP_GTP1U): Likewise.
12912         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12913         (PF_MAX): Update value.
12914         (AF_QIPCRTR): New macro.
12916 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12918         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12919         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12920         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12921         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12922         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12923         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12924         s_truncf-vis3, s_trunc-vis3.
12925         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12926         (CFLAGS-s_ceil-vis3.c): Likewise.
12927         (CFLAGS-s_floorf-vis3.c): Likewise.
12928         (CFLAGS-s_floor-vis3.c): Likewise.
12929         (CFLAGS-s_truncf-vis3.c): Likewise.
12930         (CFLAGS-s_trunc-vis3.c): Likewise.
12931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12933         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12934         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12935         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12937         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12938         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12939         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12940         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12941         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12942         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12944 2016-08-02  David S. Miller  <davem@davemloft.net>
12946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12947         (__nearbyint_vis3): Don't check for sNaN before float register is
12948         loaded with the incoming argument.
12949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12950         (__nearbyintf_vis3): Likewise.
12951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12952         Likewise.
12953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12954         Likewise.
12956         * string/test-strncmp.c (do_test_limit): Make sure the test data
12957         stream is aligned as required for the type "CHAR".
12958         (do_test): Likewise.
12960 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12962         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12963         by beq instructions jumping to the end of the function.
12964         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12965         clobber list. Use "i" constraint instead of "X".
12966         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12967         of "X".
12969 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12971         * bits/libc-header-start.h: New file.
12972         * Makefile (headers): Add bits/libc-header-start.h.
12973         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12974         (__GLIBC_USE): New macro.
12975         * libio/stdio.h: Define
12976         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12977         <bits/libc-header-start.h> instead of including <features.h>.
12978         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12979         (open_memstream): Likewise.
12980         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12981         (__asprintf): Likewise.
12982         (asprintf): Likewise.
12983         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12984         (getdelim): Likewise.
12985         (getline): Likewise.
12986         * string/string.h: Define
12987         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12988         <bits/libc-header-start.h> instead of including <features.h>.
12989         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12990         (strndup): Likewise.
12991         * wcsmbs/wchar.h: Define
12992         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12993         <bits/libc-header-start.h> instead of including <features.h>.
12994         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12995         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12997 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12999         Support linking against compatibility symbols, for use in tests.
13000         * include/libc-symbols.h (symbol_version_reference): New macro.
13001         (symbol_version): Use it.
13002         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
13003         (compat_symbol): Use compat_symbol_reference.
13004         (compat_symbol_1, compat_symbol_2): Remove.
13005         (compat_symbol_reference, compat_symbol_reference_1)
13006         (compat_symbol_reference_2): New macro.  Use
13007         symbol_version_reference.
13009 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13011         [BZ #19469]
13012         * malloc/Makefile (CPPFLAGS): Compile tests with
13013         -DTEST_NO_MALLOPT.
13014         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
13016 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
13018         [BZ #20033]
13019         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
13020         finite version.
13021         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
13022         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
13023         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
13024         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
13025         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
13026         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
13027         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
13028         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
13029         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
13030         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
13031         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
13032         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
13033         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
13034         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
13035         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
13036         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
13037         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
13038         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
13039         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
13040         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
13041         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
13042         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
13043         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
13044         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
13045         in zero power.
13047 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13049         [BZ #20370]
13050         * malloc/arena.c (get_free_list): Update comment.  Assert that
13051         arenas on the free list have no attached threads.
13052         (remove_from_free_list): New function.
13053         (reused_arena): Call it.
13055 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
13057         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
13058         when it is a NaN.
13059         [_IEEE_FP_INEXACT] Remove.
13060         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
13061         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
13062         when it is a NaN.
13063         [_IEEE_FP_INEXACT] Remove.
13064         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
13065         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
13066         when it is a NaN.
13067         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
13068         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
13069         when its absolute value is greater than 0x1.0p52.
13070         [_IEEE_FP_INEXACT] Remove.
13071         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
13072         when its absolute value is greater than 0x1.0p23.
13073         [_IEEE_FP_INEXACT] Remove.
13075 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
13077         * version.h (RELEASE): Set to "development"
13078         (VERSION): Set to 2.24.90.
13079         * NEWS: Add 2.25 section.
13081         * version.h (RELEASE): Set to "stable"
13082         (VERSION): Set to 2.24.
13083         * include/features.h (__GLIBC_MINOR__): Set to 24.
13085         * NEWS: Add 2.24 fixed bugs.
13086         * po/libc.pot: Regenerate.
13088 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
13090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13091         [$(subdir) = math] (libm-sysdep_routines): Remove.
13092         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13093         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13094         s_truncf-vis3, s_trunc-vis3.
13095         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
13097         file.
13098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
13099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
13100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
13104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
13105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
13107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
13108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
13109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
13110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
13111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
13112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
13113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
13117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
13118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
13119         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
13120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13122         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13123         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13124         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13125         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
13126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
13129         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13130         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13131         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
13132         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
13133         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
13134         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
13135         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13136         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13137         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
13138         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
13139         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
13140         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
13142 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
13144         [BZ #20384]
13145         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
13146         test-double-libmvec-sincos-avx-main.o,
13147         test-double-libmvec-sincos-avx2-main.o,
13148         test-double-libmvec-sincos-main.o,
13149         test-float-libmvec-sincosf-avx-main.o,
13150         test-float-libmvec-sincosf-avx2-main.o and
13151         test-float-libmvec-sincosf-main.o.
13152         test-float-libmvec-sincosf-avx512-main.o.
13153         ($(objpfx)test-double-libmvec-sincos): Also link with
13154         $(objpfx)test-double-libmvec-sincos-main.o.
13155         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
13156         $(objpfx)test-double-libmvec-sincos-avx-main.o.
13157         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
13158         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
13159         ($(objpfx)test-float-libmvec-sincosf): Also link with
13160         $(objpfx)test-float-libmvec-sincosf-main.o.
13161         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
13162         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
13163         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
13164         test-double-libmvec-sincos-avx512-main.o and
13165         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
13166         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
13167         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
13168         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
13169         (CFLAGS-test-double-libmvec-sincos.c): Removed.
13170         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
13171         (CFLAGS-test-double-libmvec-sincos-main.c): New.
13172         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
13173         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
13174         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
13175         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
13176         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
13177         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
13178         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
13179         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
13180         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
13181         -DREQUIRE_AVX2.
13182         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
13183         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
13184         -DREQUIRE_AVX512F.
13185         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
13186         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
13187         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13188         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
13189         file.
13190         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
13191         Likewise.
13192         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
13193         Likewise.
13194         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
13195         Likewise.
13196         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
13197         Likewise.
13198         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
13199         Likewise.
13200         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
13201         Likewise.
13202         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
13203         Likewise.
13205 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
13207         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
13209 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
13211         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
13212         and typo in a comment about AT_HWCAP entry.
13214 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13216         * sysdeps/aarch64/libm-test-ulps: Updated.
13218 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13220         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
13221         of r13 as it is not restored in mvcle case.
13223 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
13225         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
13226         Rename "ret" to "__ret".
13227         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
13228         inline_syscall5, inline_syscall6): Likewise.
13230 2016-07-19   Will Newton  <will.newton@gmail.com>
13232         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
13233         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
13234         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
13235         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
13236         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
13238 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
13240         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
13241         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
13242         -mfpmath=387 with $(rtld-CFLAGS).
13243         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
13244         $(rtld-CFLAGS).
13246 2016-07-18   Ross Burton  <ross.burton@intel.com>
13247              Khem Raj  <raj.khem@gmail.com>
13249         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
13250         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
13251         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
13252         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
13253         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
13254         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
13255         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
13256         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
13257         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
13258         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
13259         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
13260         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
13261         R_METAG_TLS_DTPOFF): New.
13263 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13264             Matt Clay  <mclay@lycos.com>
13266         [BZ #20357]
13267         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
13268         to call __mpsin/__mpcos and to negate values.
13269         * math/auto-libm-test-in: Add test.
13270         * math/auto-libm-test-out: Regenerate.
13272 2016-07-18  Zack Weinberg  <zackw@panix.com>
13274         * grp/Makefile: Don't install the internal header grp-merge.h.
13276 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13278         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13280 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13282         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
13284 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13286         [BZ #15368]
13287         * sysdeps/unix/sysv/linux/nptl-signals.h
13288         (__nptl_clear_internal_signals): New function.
13289         (__libc_signal_block_all): Likewise.
13290         (__libc_signal_block_app): Likewise.
13291         (__libc_signal_restore_set): Likewise.
13292         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
13293         implementation.
13294         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13295         the cached pid/tid value in pthread structure.
13297 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13299         [BZ #20347]
13300         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13302 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13304         [BZ #20348]
13305         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13306         preadv64, pwrite64 and pwritev64.
13308 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13310         [BZ #20350]
13311         * posix/tst-preadwrite.c: Renamed to ...
13312         * posix/tst-preadwrite-common.c: This.
13313         (PREAD): Removed.
13314         (PWRITE): Likewise.
13315         (STRINGIFY): Likewise.
13316         (STRINGIFY2): Likewise.
13317         (do_prepare): Make it static and remove function arguments.
13318         (do_test): Likewise.
13319         (PREPARE): Updated.
13320         (TEST_FUNCTION): New.
13321         (name): Make it static.
13322         (fd): Likewise.
13323         (do_prepare): Use create_temp_file.
13324         (do_test): Renamed to ...
13325         (do_test_with_offset): This.  Make it static and accept offset.
13326         Properly check return value of PWRITE and PREAD.  Return bytes
13327         read.  Don't close fd nor unlink name.
13328         * posix/tst-preadwrite.c: Rewrite.
13329         * posix/tst-preadwrite64.c: Likewise.
13331 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13333         [BZ #20309]
13334         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13335         -mtls-dialect=gnu2 works.
13336         * configure: Regenerated.
13337         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13338         (tests): Add tst-gnu2-tls1.
13339         (modules-names): Add tst-gnu2-tls1mod.
13340         ($(objpfx)tst-gnu2-tls1): New.
13341         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13342         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13343         * elf/tst-gnu2-tls1.c: New file.
13344         * elf/tst-gnu2-tls1mod.c: Likewise.
13345         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13346         bytes for push in the PLT entry to align the stack.
13348 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13350         [BZ #20349]
13351         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13353 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13355         [BZ #18707]
13356         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13357         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13359 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13361         * sysdeps/unix/sysv/linux/sysdep.h
13362         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13363         guards.
13364         * misc/tst-preadvwritev-common.c: New file.
13365         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13366         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13367         a check for files larger than 2GB.
13369         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13370         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13371         * sysdeps/unix/sysv/linux/pread.c
13372         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13373         __OFF_T_MATCHES_OFF64_T.
13374         * sysdeps/unix/sysv/linux/pread64.c
13375         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13376         * sysdeps/unix/sysv/linux/preadv.c
13377         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13378         * sysdeps/unix/sysv/linux/preadv64.c
13379         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13380         * sysdeps/unix/sysv/linux/pwrite.c
13381         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13382         * sysdeps/unix/sysv/linux/pwrite64.c
13383         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13384         * sysdeps/unix/sysv/linux/pwritev.c
13385         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13386         * sysdeps/unix/sysv/linux/pwritev64.c
13387         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13389 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13391         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13392         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13394 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13396         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13398 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13400         [BZ #20240]
13401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13402         (CFLAGS-s_modf-ppc32.c): New variable.
13403         (CFLAGS-s_modff-ppc32.c): Likewise.
13404         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13405         (CFLAGS-s_modf-ppc64.c): Likewise.
13406         (CFLAGS-s_modff-ppc64.c): Likewise.
13408 2016-07-07  Andreas Schwab  <schwab@suse.de>
13410         [BZ #20263]
13411         * nptl/tst-robust10.c: New test.
13412         * nptl/Makefile (tests): Add tst-robust10.
13414 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13416         [BZ #20263]
13417         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13419 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13421         * sysdeps/s390/linkmap.h (struct link_map_machine):
13422         Remove member gotplt and add member jmprel.
13423         * sysdeps/s390/s390-32/dl-machine.h
13424         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13425         instead of gotplt with &got[3].
13426         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13427         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13429 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13431         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13433 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13435         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13436         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13437         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13438         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13439         * libio/vtables.c (_IO_vtable_check)
13440         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13441         * libio/libioP.h (IO_set_accept_foreign_vtables)
13442         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13444 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13446         [BZ #20314]
13447         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13448         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13449         $(common-objpfx)cmath.
13450         ($(common-objpfx)cstdlib): New target.
13451         ($(common-objpfx)cmath): Likewise.
13453 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13455         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13457 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13459         [BZ #20327]
13460         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13461         are not part of the string.
13463 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13465         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13466         * nptl/tst-cancel4-common.h (fifoname): New variable.
13467         (fifofd): Likewise.
13468         (cl_fifo): New function.
13469         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13470         SIGINT.
13471         (tf_open): Add early cancel test.
13473 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13475         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13477 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13479         * sysdeps/generic/ldsodefs.h
13480         (dl_symbol_visibility_binds_local_p): New inline function.
13481         * elf/dl-addr.c (determine_info): Treat hidden and internal
13482         symbols as local.
13483         * elf/dl-lookup.c (do_lookup_x): Likewise.
13484         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13486 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13488         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13489         invalid exception for a sNaN input.
13490         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13491         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13492         (__nearbyint_vis3): Likewise
13493         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13494         (__nearbyintf_vis3): Likewise
13495         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13496         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13497         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13498         Likewise.
13499         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13500         Likewise.
13502 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13504         [BZ #20139]
13505         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13506         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13507         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13508         2.24 or above.
13509         (HAVE_AVX512_ASM_SUPPORT): Removed.
13510         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13511         * sysdeps/x86_64/configure: Regenerated.
13512         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13513         check unconditional.
13514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13515         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13516         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13517         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13518         Likewise.
13519         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13520         Likewise.
13521         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13522         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13523         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13524         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13525         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13526         Likewise.
13527         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13528         Likewise.
13529         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13530         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13531         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13532         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13533         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13534         Likewise.
13535         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13536         Likewise.
13537         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13538         Likewise.
13539         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13540         Likewise.
13541         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13542         Likewise.
13543         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13544         Likewise.
13545         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13546         Likewise.
13547         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13548         Likewise.
13549         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13550         Likewise.
13551         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13552         Likewise.
13553         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13554         Likewise.
13556 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13558         [BZ #20024]
13559         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13560         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13561         of this implementation of vector function.
13562         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13563         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13564         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13565         Likewise.
13566         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13567         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13568         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13569         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13570         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13571         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13572         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13573         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13574         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13575         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13576         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13577         for testing vector sincos with fixed ABI.
13578         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13579         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13580         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13581         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13582         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13583         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13584         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13585         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13586         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13587         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13588         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13589         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13590         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13591         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13592         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13593         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13595 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13597         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13599 2016-06-30  Anton Blanchard  <anton@samba.org>
13601         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13602         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13603         s_sinf-ppc64.
13604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13607         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13609 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13612         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13613         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13614         e_expf-ppc64.
13615         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13616         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13617         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13618         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13620 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13622         [BZ #20277]
13623         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13624         when SHARED is defined.
13626 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13628         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13629         (index_arch_Prefer_ERMS): Likewise.
13630         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13631         __memcpy_erms for Prefer_ERMS.
13632         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13633         (__memmove_erms): Enabled for libc.a.
13634         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13635         __memmove_erms or Prefer_ERMS.
13636         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13637         __mempcpy_erms for Prefer_ERMS.
13638         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13639         __memset_erms for Prefer_ERMS.
13641 2016-06-30  Andreas Schwab  <schwab@suse.de>
13643         [BZ #20262]
13644         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13645         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13646         of memory.
13648 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13650         [BZ #18645]
13651         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13652         (test-extras): Add tst-cleanupx4aux.
13653         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13654         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13655         tst-cleanupx4aux.o.
13656         * nptl/tst-cleanupx4aux.c: New file.
13658 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13660         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13662 2016-06-29  Andreas Schwab  <schwab@suse.de>
13664         [BZ #20260]
13665         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13666         address before the beginning of the string as an integer to avoid
13667         array-bounds warning.
13669 2016-06-28  Richard Henderson  <rth@redhat.com>
13671         * elf/elf.h (EM_BPF): New.
13672         (EM_NUM): Update.
13673         (R_BPF_NONE, R_BPF_MAP_FD): New.
13675         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13676         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13677         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13678         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13679         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13680         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13681         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13682         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13683         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13684         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13685         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13686         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13687         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13688         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13689         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13690         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13691         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13692         (EM_NUM): Update.
13694 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13696         [BZ #18960]
13697         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13698         Set _nl_current_LC_CATEGORY_used to two instead of one.
13700 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13702         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13703         (do_test): ... this.
13704         (TEST_FUNCTION): New macro.
13705          Include test-skeleton.c.
13706         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13707         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13709 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13711         [BZ #15479]
13712         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13713         floating-point environment rather than just control word.
13714         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13715         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13716         floating-point environment, with "invalid" exceptions merged in,
13717         rather than just control word.
13718         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13719         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13720         "inexact" exceptions.
13722         [BZ #15479]
13723         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13724         floating-point environment rather than just control word.
13725         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13726         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13727         floating-point environment, with "invalid" exceptions merged in,
13728         rather than just control word.
13729         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13730         * math/libm-test.inc (floor_test_data): Do not allow spurious
13731         "inexact" exceptions.
13733         [BZ #15479]
13734         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13735         floating-point environment rather than just control word.
13736         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13737         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13738         floating-point environment, with "invalid" exceptions merged in,
13739         rather than just control word.
13740         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13741         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13742         "inexact" exceptions.
13744 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13746         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13747         __libc_vfork.
13748         (__vfork) [IS_IN (libc)]: Remove alias.
13749         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13750         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13751         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13753 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13755         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13756         of atomic_compare_and_exchange_bool_rel.
13757         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13758         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13759         catomic_compare_and_exchange_bool_rel): Remove.
13760         * sysdeps/aarch64/atomic-machine.h
13761         (atomic_compare_and_exchange_bool_rel): Likewise.
13762         * sysdeps/alpha/atomic-machine.h
13763         (atomic_compare_and_exchange_bool_rel): Likewise.
13764         * sysdeps/arm/atomic-machine.h
13765         (atomic_compare_and_exchange_bool_rel): Likewise.
13766         * sysdeps/mips/atomic-machine.h
13767         (atomic_compare_and_exchange_bool_rel): Likewise.
13768         * sysdeps/microblaze/atomic-machine.h
13769         ( __arch_compare_and_exchange_bool_8_rel,
13770         __arch_compare_and_exchange_bool_16_rel): Likewise.
13771         * sysdeps/powerpc/atomic-machine.h
13772         ( __arch_compare_and_exchange_bool_8_rel,
13773         __arch_compare_and_exchange_bool_16_rel): Likewise.
13774         * sysdeps/powerpc/powerpc32/atomic-machine.h
13775         ( __arch_compare_and_exchange_bool_32_rel,
13776         __arch_compare_and_exchange_bool_64_rel): Likewise.
13777         * sysdeps/powerpc/powerpc64/atomic-machine.h
13778         ( __arch_compare_and_exchange_bool_32_rel,
13779         __arch_compare_and_exchange_bool_64_rel): Likewise.
13780         * sysdeps/tile/atomic-machine.h
13781         (atomic_compare_and_exchange_bool_rel): Likewise.
13783 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13785         [BZ #20296]
13786         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13787         when either argument is a NaN.
13788         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13789         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13791         * math/libm-test.inc (snan_value_ld): New macro.
13792         (isgreater_test_data): Add sNaN tests.
13793         (isgreaterequal_test_data): Likewise.
13794         (isless_test_data): Likewise.
13795         (islessequal_test_data): Likewise.
13796         (islessgreater_test_data): Likewise.
13797         (isunordered_test_data): Likewise.
13798         (nextafter_test_data): Likewise.
13799         (nexttoward_test_data): Likewise.
13800         (remainder_test_data): Likewise.
13801         (remquo_test_data): Likewise.
13802         (significand_test_data): Likewise.
13803         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13805 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13807         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13808         environment macros are defined.
13809         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13811 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13813         [BZ #20191]
13814         Implement vtable verification in libio.
13815         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13816         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13817         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13818         _IO_new_file_init_internal instead of _IO_file_init.
13819         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13820         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13821         * libio/Makefile (routines): Add vtables.
13822         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13823         (_IO_init): Remove, not for internal use.
13824         (_IO_init_internal): Declare, internal replacement for _IO_init.
13825         (_IO_file_init): Remove, not for internal use.
13826         (_IO_new_file_init): Remove, not for internal use.
13827         (_IO_new_file_init_internal): Declare, internal replacement for
13828         _IO_new_file_init.
13829         (_IO_old_file_init): Remove, not for internal use.
13830         (_IO_old_file_init_internal): Declare, internal replacement for
13831         _IO_old_file_init.
13832         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13833         internal use.
13834         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13835         Declare.
13836         (libio_vtable): New macro.
13837         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13838         functions.
13839         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13840         _IO_new_file_init.
13841         (_IO_new_file_init): New externally visible wrapper which disables
13842         vtable verification.
13843         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13844         Define as vtables.
13845         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13846         (_IO_init): New externally visible wrapper which disables
13847         vtable verification.
13848         * libio/iofdopen.c (_IO_new_fdopen): Call
13849         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13850         comment.
13851         * libio/iofopen.c (__fopen_internal): Call
13852         _IO_new_file_init_internal instead of _IO_file_init.
13853         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13854         Define as vtables.
13855         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13856         _IO_new_file_init_internal instead of _IO_file_init.
13857         * libio/iopopen.c (_IO_new_popen): Likewise.
13858         (_IO_proc_jumps): Define as vtable.
13859         * libio/iovdprintf.c (_IO_vdprintf): Call
13860         _IO_new_file_init_internal instead of _IO_file_init.
13861         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13862         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13863         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13864         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13865         _IO_old_file_init.
13866         (_IO_old_file_init): New externally visible wrapper which disables
13867         vtable verification.
13868         (_IO_old_file_jumps): Define as vtable.
13869         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13870         _IO_old_file_init_internal instead of _IO_old_file_init.
13871         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13872         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13873         (_IO_old_proc_jumps): Define as vtable.
13874         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13875         Define as vtables.
13876         * libio/vtables.c: New file.
13877         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13878         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13879         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13880         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13881         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13882         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13883         instead of _IO_init.
13885 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13887         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13889 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13891         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13892         potentially unused.
13894 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13896         * test-skeleton.c (write_message): New function.
13897         * malloc/tst-mallocfork2.c (write_message): Remove.
13898         * debug/tst-longjmp_chk2.c (write_indented): New function.
13899         (write_message): Remove.
13900         (stackoverflow_handler): Call write_indented.
13902 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13904         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13905         "inexact" exceptions after fnstenv.
13906         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13907         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13908         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13910 2015-06-22  Zack Weinberg  <zackw@panix.com>
13912         * sysdeps/generic/bits/hwcap.h: Moved to ...
13913         * bits/hwcap.h: Here.
13915 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13917         * sysdeps/aarch64/memcpy.S (memcpy):
13918         Further tuning for performance.
13920 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13922         [BZ #20284]
13923         * malloc/arena.c (reused_arena): Do not return NULL if we start
13924         out with a non-corrupted arena.
13926 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13928         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13929         * misc/tst-preadvwritev.c: New file.
13930         * misc/tst-preadvwritev64.c: Likewise.
13931         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13932         usage.
13933         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13934         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13935         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13936         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13938 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13940         [BZ #19654]
13941         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13942         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13943         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13944         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13945         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13946         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13947         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13948         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13949         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13950         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13951         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13952         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13953         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13954         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13955         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13956         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13957         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13958         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13959         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13960         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13961         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13962         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13963         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13964         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13965         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13966         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13968 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13970         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13971         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13973 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13975         * sysdeps/aarch64/memcpy.S (memcpy):
13976         Rewrite of optimized memcpy and memmove.
13977         * sysdeps/aarch64/memmove.S (memmove): Remove
13978         memmove code (merged into memcpy.S).
13980 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13982         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13983         * sysdeps/generic/dl-dtv.h: New file.
13984         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13985         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13986         (dtv_t): Remove.
13987         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13988         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13989         (dtv_t): Remove.
13990         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13991         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13992         (dtv_t): Remove.
13993         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13994         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13995         (dtv_t): Remove.
13996         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13997         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13998         (dtv_t): Remove.
13999         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14000         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
14001         (dtv_t): Remove.
14002         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14003         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
14004         (dtv_t): Remove.
14005         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
14006         (dtv_t): Remove.
14007         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14008         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
14009         (dtv_t): Remove.
14010         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14011         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
14012         (dtv_t): Remove.
14013         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14014         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
14015         (dtv_t): Remove.
14016         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14017         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
14018         (dtv_t): Remove.
14019         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14020         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
14021         (dtv_t): Remove.
14022         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14023         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
14024         (dtv_t): Remove.
14025         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14026         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
14027         (dtv_t): Remove.
14028         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14029         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
14030         (dtv_t): Remove.
14032 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14034         Revert symbol poisoning of  __malloc_initialize_hook.
14035         * include/stdc-predef.h (__malloc_initialize_hook): Remove
14036         poisoning.
14037         * malloc/Makefile: Remove un-poisoning.
14038         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
14039         instead of old__malloc_initialize_hook.
14040         * malloc/malloc-hooks.h: Likewise.
14041         * malloc/malloc.c: Likewise.
14042         * malloc/mcheck-init.c: Likewise.
14044 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
14046         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
14048 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
14050         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
14051         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
14052         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14053         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14055 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14057         * NEWS: Mention addition of nextup and nextdown.
14058         * manual/arith.texi: Document nextup and nextdown.
14059         * manual/libm-err-tab.pl: Add nextup and nextdown.
14060         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
14061         * math/Versions (libm): Add GLIBC_2.24.
14062         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
14063         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14064         Add new test.
14065         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
14066         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
14067         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
14068         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
14069         (nextup_test_data): Likewise.
14070         (nextdown_test_data): Likewise.
14071         * math/s_nextdown.c: New file.
14072         * math/s_nextdownf.c: Likewise.
14073         * math/s_nextdownl.c: Likewise.
14074         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
14075         F(nextup): New function.
14076         F(nextdown): Likewise.
14077         * math/tgmath.h: Add nextup and nextdown.
14078         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
14079         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
14080         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14081         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14082         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14083         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
14084         Add nextup and nextdown.
14085         (CFLAGS-nldbl-nextup.c): New variable.
14086         (CFLAGS-nldbl-nextdown.c): Likewise.
14087         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
14088         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
14089         * sysdeps/nacl/libm.abilist: Update.
14090         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14091         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14092         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14093         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14094         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14095         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14096         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14097         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14098         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14099         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14100         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14101         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14104         Likewise.
14105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14107         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14108         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14109         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14110         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14111         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
14113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
14114         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14115         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14116         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14117         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14119 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14121         * manual/pattern.texi: Fix typos & grammar errors.
14123 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14125         * manual/search.texi: Fix typos & grammar errors.
14127 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14129         * manual/message.texi: Fix typos & grammar errors.
14131 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
14133         * manual/contrib.texi: Fix spelling typos.
14134         * manual/crypt.texi: Likewise.
14135         * manual/filesys.texi: Likewise.
14136         * manual/locale.texi: Likewise.
14137         * manual/message.texi: Likewise.
14138         * manual/nss.texi: Likewise.
14139         * manual/string.texi: Likewise.
14141 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14143         * manual/locale.texi: Fix typos & grammar errors.
14145 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14147         * manual/charset.texi: Fix typos & grammar errors.
14149 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14151         * manual/string.texi: Fix typos.
14153 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14155         * manual/ctype.texi: Fix typos.
14157 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14159         * manual/memory.texi: Fix various typos & grammar errors.
14161 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
14163         [BZ #20255]
14164         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
14165         * math/libm-test.inc (fdim_test_data): Add another test.
14167         [BZ #6796]
14168         [BZ #20255]
14169         [BZ #20256]
14170         * math/s_fdim.c: Include <math_private.h>.
14171         (__fdim): Use math_narrow_eval on result.
14172         * math/s_fdimf.c: Include <math_private.h>.
14173         (__fdimf): Use math_narrow_eval on result.
14174         * sysdeps/i386/fpu/s_fdim.S: Remove file.
14175         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
14176         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
14177         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
14178         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
14179         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
14180         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
14181         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
14182         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
14183         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
14184         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
14185         * math/libm-test.inc (fdim_test_data): Expect errno setting on
14186         overflow.  Add sNaN tests.
14188         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
14189         fpclassify.
14190         * math/s_fdimf.c (__fdimf): Likewise.
14191         * math/s_fdiml.c (__fdiml): Likewise.
14193 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14195         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14196         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
14197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14198         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14199         ifunc'ed strcasecmp/strncasecmp.
14200         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
14201         [EALIGN]: Removed.
14202         [END]: Likewise.
14203         [__strcasecmp]: Define instead of the above to control symbol name.
14204         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
14205         for __strcasecmp_power8.
14206         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
14207         for __strncasecmp_power8.
14208         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
14209         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
14210         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
14211         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
14212         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
14213         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
14215 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
14217         [BZ #20252]
14218         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
14219         arguments when second argument is a NaN.
14220         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
14221         qNaN tests.
14223         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
14224         (conj_test_data): Likewise.
14225         (copysign_test_data): Likewise.
14226         (creal_test_data): Likewise.
14227         (fma_test_data): Likewise.
14228         (fmod_test_data): Likewise.
14230         [BZ #20250]
14231         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
14232         itself.
14233         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
14234         zero input to itself.
14235         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
14236         Likewise.
14237         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
14238         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14239         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14240         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14241         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
14243 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14245         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
14246         * nptl/tst-cancel4-common.c: New file.
14247         * nptl/tst-cancel4-common.h: Likewise.
14248         * nptl/tst-cancel4.c: Move common definitions to
14249         tst-cancel4-common.{c,h} file.
14250         * nptl/tst-cancel4_1.c: New test.
14251         * nptl/tst-cancel4_2.c: New test.
14253 2016-06-13  Florian Weimer  <fweimer@redhat.com>
14255         [BZ #20248]
14256         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
14257         (write_message): New function.
14258         (stackoverflow_handler): Call it instead of printf, to avoid
14259         excessive stack usage by printf.
14260         (do_test): Restore SIGSEGV, SIGBUS default handlers.
14262 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14264         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
14265         (prio_inherit_missing): Remove define.
14266         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14267         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14268         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
14269         Likewise.
14270         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14271         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14272         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14273         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14274         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14275         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14277 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14279         [BZ #19670]
14280         [BZ #19672]
14282         * io/test-lfs.c (do_prepare): Use xmalloc.
14283         * io/tst-fcntl.c (do_prepare): Likewise.
14284         * libio/tst-fopenloc.c (do_bz17916): Likewise.
14285         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
14286         * login/tst-utmp.c (do_prepare): Likewise.
14287         * posix/tst-exec.c (do_prepare): Likewise.
14288         * posix/tst-pathconf.c (prepare): Likewise.
14289         * posix/tst-spawn.c (do_prepare): Likewise.
14290         * posix/tst-truncate.c (do_prepare): Likewise.
14291         * rt/tst-aio.c (do_prepare): Likewise.
14292         * rt/tst-aio64.c (do_prepare): Likewise.
14294 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14296         [BZ #20237]
14297         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14298         (get*ent): Set entidx to NULL during initialization.  If entidx is
14299         NULL, start iteration from the beginning.
14301 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14303         * malloc/malloc.c (musable): Return correct size for dumped fake
14304         mmapped chunk.
14306 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14308         [BZ #20222]
14309         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14310         (_IO_cookie_write): Likewise.
14311         (_IO_cookie_seek): Likewise.
14312         (_IO_cookie_close): Likewise.
14313         (_IO_old_cookie_seek): Likewise.
14314         (set_callbacks): New function.
14315         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14317 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14319         * locale/programs/localedef.c (oldstyle_tables): Remove.
14320         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14322 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14324         [BZ #20240]
14325         * math/Makefile (CFLAGS-s_modf.c): New variable.
14326         (CFLAGS-s_modff.c): Likewise.
14327         (CFLAGS-s_modfl.c): Likewise.
14328         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14330 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14332         [BZ #20215]
14333         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14334         [!__GNUC_PREREQ (3,2)]: Likewise.
14336 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14338         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14339         (msghdr.msg_controllen): Likewise.
14340         (cmsghdr.cmsg_len): Likewise.
14341         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14342         ptw-oldsendmsg.
14343         (CFLAGS-oldrecvmsg.c): Remove rule.
14344         (CFLAGS-oldsendmsg.c): Likewise.
14345         (CFLAGS-recvmsg.c): Add rule.
14346         (CFLAGS-sendmsg.c): Likewise.
14347         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14348         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14349         (CFLAGS-recvmsg.c): Remove rule.
14350         (CFLAGS-sendmsg.c): Likewise.
14351         (CFLAGS-oldrecvmsg.c): Likewise.
14352         (CFLAGS-oldsendmsg.c): Likewise.
14353         (CFLAGS-recvmmsg.c): Likewise.
14354         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14355         to kernel defined interfaces.
14356         (msghdr.msg_controllen): Likewise.
14357         (cmsghdr.cmsg_len): Likewise.
14358         (msghdr.__glibc_reserved1): Remove member.
14359         (msghdr.__glibc_reserved2): Likewise.
14360         (cmsghdr.__glibc_reserved1): Likewise.
14361         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14362         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14363         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14364         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14365         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14366         version.
14367         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14368         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14369         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14370         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14371         Remove recvmsg and sendmsg.
14372         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14373         Likewise.
14374         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14375         Likewise.
14376         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14377         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14378         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14379         Likewise.
14380         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14381         Likewise.
14382         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14383         [libc] (GLIBC_2.24): Likewise.
14384         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14385         Likewise.
14386         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14387         Likewise.
14388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14389         [libc] (GLIBC_2.24): Likewise.
14390         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14391         Likewise.
14392         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14393         Likewise.
14394         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14395         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14396         Likewise.
14397         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14398         Likewise.
14399         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14400         Likewise.
14401         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14402         Likewise.
14403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14404         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14405         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14406         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14407         version for {recv,send,recm,sendm}msg.
14408         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14409         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14410         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14411         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14412         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14413         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14414         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14415         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14416         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14417         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14418         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14419         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14421         Likewise.
14422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14423         Likewise.
14424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14426         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14427         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14428         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14429         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14430         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14431         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14434         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14435         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14436         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14438 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14440         [BZ #19564]
14441         Remove __malloc_initialize_hook from the API.
14442         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14443         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14444         #pragma GCC poison.
14445         * malloc/malloc-hooks.h: New file.
14446         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14447         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14448         (old__malloc_initialize_hook): Rename from
14449         __malloc_initialize_hook to evade poisoning.  Turn into compat
14450         symbol.
14451         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14452         __malloc_initialize_hook.
14453         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14454         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14455         * manual/memory.texi (Hooks for Malloc): Remove
14456         __malloc_initialize_hook.  Adjust hook example.
14458 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14460         [BZ #20235]
14461         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14462         itself.
14463         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14464         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14466         [BZ #20234]
14467         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14468         infinity or NaN input to itself.
14470         [BZ #20233]
14471         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14472         to itself.
14474         [BZ #20232]
14475         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14476         itself.
14478 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14480         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14481         __libc_start_main via GOT.
14483 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14485         * sysdeps/x86_64/memcopy.h: New file.
14486         * sysdeps/x86_64/wordcopy.c: Likewise.
14488 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14490         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14491         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14492         <cstdlib>.
14493         (optimization_barrier): New.
14494         (do_test): Use it.  Call quick_exit in the global namespace.
14495         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14496         instead of <cstdlib>, <thread>.
14497         (optimization_barrier): New.
14498         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14499         Call quick_exit in the global namespace.
14500         (do_test): Call optimization_barrier.  Use pthread_create,
14501         pthread_join instead of std::thread.
14503 2016-06-09  Andreas Schwab  <schwab@suse.de>
14505         [BZ #19755]
14506         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14507         new entries in auto-propagate mode.
14508         * nscd/grpcache.c (cache_addgr): Likewise.
14510 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14512         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14513         New functions.
14514         (add_temp_file): Use them.
14516 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14518         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14520 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14522         [BZ #20229]
14523         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14524         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14525         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14527         [BZ #20228]
14528         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14529         itself.
14530         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14531         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14533         [BZ #20227]
14534         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14535         itself.
14536         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14537         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14538         * math/libm-test.inc (log_test_data): Add sNaN tests.
14540         [BZ #20226]
14541         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14542         itself.
14543         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14544         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14545         (exp10_test_data): Likewise.
14546         (expm1_test_data): Likewise.
14548         [BZ #20225]
14549         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14550         itself.
14551         * math/s_ldexpf.c (__ldexpf): Likewise.
14552         * math/s_ldexpl.c (__ldexpl): Likewise.
14553         * math/w_scalbln.c (__w_scalbln): Likewise.
14554         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14555         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14556         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14557         (scalbln_test_data): Likewise.
14559         [BZ #20224]
14560         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14561         argument to itself.
14562         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14564 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14566         [BZ #19776]
14567         * sysdeps/x86_64/memcpy.S: Make it dummy.
14568         * sysdeps/x86_64/mempcpy.S: Likewise.
14569         * sysdeps/x86_64/memmove.S: New file.
14570         * sysdeps/x86_64/memmove_chk.S: Likewise.
14571         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14572         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14573         * sysdeps/x86_64/memmove.c: Removed.
14574         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14575         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14576         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14577         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14578         Likewise.
14579         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14580         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14582         memcpy-sse2-unaligned, memmove-avx-unaligned,
14583         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14584         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14585         (__libc_ifunc_impl_list): Replace
14586         __memmove_chk_avx512_unaligned_2 with
14587         __memmove_chk_avx512_unaligned.  Remove
14588         __memmove_chk_avx_unaligned_2.  Replace
14589         __memmove_chk_sse2_unaligned_2 with
14590         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14591         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14592         with __memmove_avx512_unaligned.  Replace
14593         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14594         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14595         with __memcpy_chk_avx512_unaligned.  Remove
14596         __memcpy_chk_avx_unaligned_2.  Replace
14597         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14598         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14599         Replace __memcpy_avx512_unaligned_2 with
14600         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14601         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14602         with __mempcpy_chk_avx512_unaligned.  Remove
14603         __mempcpy_chk_avx_unaligned_2.  Replace
14604         __mempcpy_chk_sse2_unaligned_2 with
14605         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14606         Replace __mempcpy_avx512_unaligned_2 with
14607         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14608         Replace __mempcpy_sse2_unaligned_2 with
14609         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14610         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14611         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14612         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14613         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14614         (ENTRY): Removed.
14615         (END): Likewise.
14616         (ENTRY_CHK): Likewise.
14617         (libc_hidden_builtin_def): Likewise.
14618         Don't include ../memcpy.S.
14619         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14620         __memcpy_chk_avx512_unaligned_erms and
14621         __memcpy_chk_avx512_unaligned.  Use
14622         __memcpy_chk_avx_unaligned_erms and
14623         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14624         Default to __memcpy_chk_sse2_unaligned.
14625         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14626         Change function suffix from unaligned_2 to unaligned.
14627         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14628         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14629         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14630         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14631         (ENTRY): Removed.
14632         (END): Likewise.
14633         (ENTRY_CHK): Likewise.
14634         (libc_hidden_builtin_def): Likewise.
14635         Don't include ../mempcpy.S.
14636         (mempcpy): New.  Add a weak alias.
14637         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14638         __mempcpy_chk_avx512_unaligned_erms and
14639         __mempcpy_chk_avx512_unaligned.  Use
14640         __mempcpy_chk_avx_unaligned_erms and
14641         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14642         Default to __mempcpy_chk_sse2_unaligned.
14644 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14646         [BZ #19881]
14647         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14648         into ...
14649         * sysdeps/x86_64/memset.S: This.
14650         (__bzero): Removed.
14651         (__memset_tail): Likewise.
14652         (__memset_chk): Likewise.
14653         (memset): Likewise.
14654         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14655         defined.
14656         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14657         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14658         (__memset_zero_constant_len_parameter): Check SHARED instead of
14659         PIC.
14660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14661         memset-avx2 and memset-sse2-unaligned-erms.
14662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14663         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14664         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14665         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14666         (__bzero): Enabled.
14667         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14668         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14669         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14670         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14671         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14672         (memset): Removed.
14673         (__memset_chk): Likewise.
14674         (MEMSET_SYMBOL): New.
14675         (libc_hidden_builtin_def): Replace __memset_sse2 with
14676         __memset_sse2_unaligned.
14677         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14678         __memset_chk_sse2 and __memset_chk_avx2 with
14679         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14680         Use __memset_chk_sse2_unaligned_erms or
14681         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14682         __memset_chk_avx512_unaligned_erms and
14683         __memset_chk_avx512_unaligned.
14685 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14687         * math/gen-auto-libm-test.c (fp_format_desc): remove
14688         suffix member.
14689         (output_generic_value): Remove usage of suffix member,
14690         and the resulting unuse of the fp_format argument.
14691         (output_for_one_input_case): Remove unused fp_format
14692         parameter.
14694         * math/auto-libm-test-out: Regenerate.
14696         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14697         usage with TEST_COND_ibm128.
14698         (TEST_COND_flt_32): Remove.
14699         (TEST_COND_dbl_64): Remove.
14700         (TEST_COND_ldbl_96_intel): Remove.
14701         (TEST_COND_ldbl_96_m68k): Remove.
14702         (TEST_COND_ldbl_128): Remove.
14704 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14706         * auto-libm-test-in:
14707         Replace flt-32 usage with binary32.
14708         Replace dbl-64 usage with binary64.
14709         Replace ldbl-intel-96 usage with intel96.
14710         Replace ldbl-m68k-96 usage with m68k96.
14711         Replace ldbl-128ibm usage with ibm128.
14712         Replace ldbl-128 usage with binary128.
14714         * auto-libm-test-out: Regenerate.
14716 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14718         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14719         (parse_ulps): Dynamically generate type name matching
14720         string from all_floats.
14721         (get_ulps): Generate the ulps as an array instead.
14722         (output_ulps): Dynamically compose the type based
14723         on the number of supported formats, and print
14724         the indices as type specific helper macros.
14726         * math/libm-test.inc: Remove comment about CHOOSE.
14727         (ulp_data): Generate the type in libm-test-ulps.h.
14728         (ULP_IDX): New macro.
14729         (find_ulps): Update usage of max_ulp.
14731         * math/test-double-vlen2.h (CHOOSE): Remove.
14732         * math/test-double-vlen4.h (CHOOSE): Likewise.
14733         * math/test-double-vlen8.h (CHOOSE): Likewise.
14734         * math/test-float.c (CHOOSE): Likewise.
14735         * math/test-float-finite.c (CHOOSE): Likewise.
14736         * math/test-double.c (CHOOSE): Likewise.
14737         * math/test-double-finite.c (CHOOSE): Likewise.
14738         * math/test-idouble.c (CHOOSE): Likewise.
14739         * math/test-ifloat.c (CHOOSE): Likewise.
14740         * math/test-ildoubl.c (CHOOSE): Likewise.
14741         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14742         * math/test-ldouble.c (CHOOSE): Likewise.
14744         * math/test-float.h (TEST_FLOAT): Remove.
14745         * math/test-double.h (TEST_DOUBLE): Likewise.
14746         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14748 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14750         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14751         (parse_args): Strip C suffix from floating point literals
14752         typed with 'f' and wrap them with LIT().
14754         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14755         (test_ff_f_data_nexttoward): Rename to
14756         (test_fj_f_data): New struct.
14757         (nexttoward_test_data): Relabel tests as
14758         TEST_fj_f instead of TEST_ff_f.
14760 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14762         Emacs bug 23726.
14763         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14764         (__libc_realloc): Correct size computation for dumped fake mmapped
14765         chunks.
14767 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14769         [BZ #20219]
14770         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14771         to itself.
14772         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14774         [BZ #20218]
14775         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14776         to itself.
14777         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14779 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14781         [BZ #20195]
14782         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14783         check to ...
14784         (init_cpu_features): Here.
14786 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14788         [BZ #20214]
14789         * sysdeps/unix/sysv/linux/bits/in.h
14790         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14791          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14792         Define to 1.
14793         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14794          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14795         Define to 0.
14796         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14797         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14799 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14801         [BZ #20198]
14802         * stdlib/Makefile (tests): Add tst-quick_exit, and
14803         tst-thread-quick_exit.
14804         [ifeq ($(have-cxx-thread_local),yes)]
14805         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14806         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14807         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14808         (LDLIBS-tst-thread-quick_exit): Likewise.
14809         [ifneq ($(have-cxx-thread_local),yes)]
14810         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14811         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14812         If run_dtors is true call __call_tls_dtors.
14813         (exit): Call __run_exit_handlers with run_dtors set to true.
14814         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14815         definition.
14816         * stdlib/quick_exit.c (quick_exit): Remove function.
14817         (__new_quick_exit): New function.
14818         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14819         function.
14820         * stdlib/tst-quick_exit.cc: New file.
14821         * stdlib/tst-thread-quick_exit.cc: New file.
14822         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14823         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14824         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14825         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14826         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14827         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14828         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14829         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14830         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14831         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14832         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14833         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14834         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14835         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14836         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14837         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14842         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14843         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14844         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14845         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14846         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14849         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14850         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14851         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14853 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14855         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14856         a typo in comments.
14858 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14860         [BZ #20213]
14861         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14862         argument to itself.
14863         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14865 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14867         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14868         required flags.
14869         (CFLAGS-pwritev64.c): Likewise.
14870         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14871         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14872         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14873         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14874         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14875         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14876         syscall from auto-generation.
14877         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14878         [WORDSIZE == 64] (pwritev64): Remove macro.
14879         [!PWRITEV] (PWRITEV): Likewise.
14880         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14881         [!PWRITEV] (PWRITE): Likewise.
14882         [!PWRITEV] (OFF_T): Likewise.
14883         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14884         (LO_HI_LONG): Remove macro.
14885         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14886         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14887         (PWRITEV): Remove macro.
14888         (PWRITEV_REPLACEMENTE): Likewise.
14889         (PWRITE): Likewise.
14890         (OFF_T): Likewise.
14891         (pwritev64): New function.
14892         * nptl/tst-cancel4.c (tf_writev): Add test.
14894         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14895         required flags.
14896         (CFLAGS-preadv64.c): Likewise.
14897         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14898         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14899         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14900         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14901         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14902         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14903         syscall from auto-generation.
14904         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14905         [WORDSIZE == 64] (preadv64): Remove macro.
14906         [!PREADV] (PREADV): Likewise.
14907         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14908         [!PREADV] (PREAD): Likewise.
14909         [!PREADV] (OFF_T): Likewise.
14910         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14911         (LO_HI_LONG): Remove macro.
14912         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14913         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14914         (PREADV): Remove macro.
14915         (PREADV_REPLACEMENTE): Likewise.
14916         (PREAD): Likewise.
14917         (OFF_T): Likewise.
14918         (preadv64): New function.
14919         * nptl/tst-cancel4.c (tf_preadv): Add test.
14921 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14923         [BZ #20212]
14924         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14925         argument to itself.
14926         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14928 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14930         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14931         New symbol defined as libc_hidden_def.
14932         (strcasestr): Became a weak alias to __strcasestr.
14933         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14934         according to multi-arch support.  Move __stpncpy hidden
14935         definition from here to...
14936         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14937         symbol stpncpy.
14938         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14939         libc_hidden_builtin_def.
14940         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14941         memset symbol to use when multi-arch support is available.
14943 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14945         * dlfcn/tst-rec-dlopen.c: Include string.h.
14947 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14949         * manual/install.texi: Remove mention of --without-tls
14950         * INSTALL: Regenerate.
14952 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14954         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14955         Remove.
14956         (call_function, interposed_malloc_called): New variables.
14957         (malloc): New function.
14958         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14959         and clear call_function as needed.
14961 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14963         * include/wchar.h (__wmemset): Use __typeof.
14965 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14967         * include/wchar.h (__wmemset): Declare function without typeof.
14969 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14971         [BZ #20205]
14972         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14973         exponent when incrementing negative subnormal with low mantissa
14974         word zero.
14975         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14976         Add another test.
14978 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14980         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14981         __wmemset instead of wmemset.
14983 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14985         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14986         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14987         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14988         __USE_KERNEL_IPV6_DEFS to 0.
14989         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14990         Update comment.
14992 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14994         [BZ #19861]
14995         Do not use IFUNC resolver with potentially unrelocated symbol.
14996         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14997         (DEFINE_FORK): Remove macro and inline definition.
14998         (fork_alias): Renamed from fork_ifunc.
14999         (__fork_alias): Renamed from __fork_ifunc.
15001 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
15003         [BZ 19653]
15004         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
15005         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
15007 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15009         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
15010         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
15011         i386-linux-gnu).
15012         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
15013         Set to no.
15014         * sysdeps/mach/hurd/configure: Refresh.
15016 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15018         [BZ #20178]
15019         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
15020         on failure instead of exit.
15022 2016-05-30  Roland McGrath  <roland@hack.frob.com>
15024         [BZ #3629]
15025         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
15026         of POSIX.1-2008.
15028 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15030         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
15031           Use PLT entry for calling _hurd_self_sigstate.
15033 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
15035         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
15036         available logical processors with SMT level type sharing L2
15037         cache for Intel processors.
15039 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15041         [BZ #20160]
15042         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
15043         argument to itself before returning the result.
15044         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15045         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15046         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15047         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15048         Likewise.
15049         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15050         Likewise.
15051         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
15052         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
15053         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15054         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15055         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15056         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15058         [BZ #20160]
15059         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
15060         argument to itself before returning the result.
15061         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15062         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15063         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15064         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
15065         Likewise.
15066         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15067         Likewise.
15068         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
15069         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
15070         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
15071         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15072         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15073         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15075 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15077         * libm-test.inc: Replace usage of M_El with
15078         (lit_e): New macro.
15080 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15082         * libm-test.inc: Replace usage of M_PI_4l with
15083         (lit_pi_4_d): New macro.
15085 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15087         * libm-test.inc: Replace usage of M_PIl with
15088         (lit_pi): New macro.
15090 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15092         * libm-test.inc: Replace usage of M_PI2l with
15093         (lit_pi_2_d): New macro.
15095         * math/test-double.h (LITM): New macro.
15096         * math/test-float.h (LITM): Likewise.
15097         * math/test-ldouble.h (LITM): Likewise.
15099 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15101         * libm-test.inc (M_PI_34l): Rename to
15102         (lit_pi_3_m_4_d): New Macro.
15103         (M_PI_34_LOG10El): Rename to
15104         (lit_pi_3_m_4_ln10_m_d): New Macro.
15105         (M_PI2_LOG10El): Rename to
15106         (lit_pi_2_ln10_m_d):  New Macro.
15107         (M_PI4_LOG10El): Rename to
15108         (lit_pi_4_ln10_m_d):  New Macro.
15109         (M_PI_LOG10El): Rename to
15110         (lit_pi_ln10_d):  New Macro.
15112 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15114         [BZ #20157]
15115         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
15116         determine whether to negate low half if [_ARCH_PPCGR], and integer
15117         comparison otherwise.
15118         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
15119         determine whether to negate low half.
15121         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
15122         (NO_TEST_INLINE_DOUBLE): Likewise.
15123         (TEST_COND_x86_64): Likewise.
15124         (TEST_COND_x86): Likewise.
15125         (M_PI_6l): Likewise.
15127 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15129         * math/libm-test.inc:
15130         (TEST_FLOAT): Change usage to TEST_COND_binary32.
15131         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
15132         (TEST_LDOUBLE): Update usage to evaluate as true if
15133         the guarded tests match the property being tested.
15134         (LDBL_MAX_EXP): Change to MAX_EXP.
15135         (LDBL_MIN_EXP): Change to MIN_EXP.
15136         (LDBL_MANT_DIG): Change to MANT_DIG, except for
15137         nexttoward tests.
15139 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15141         * math/libm-test.inc:
15142         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
15143         (TYPE_MIN): Likewise.
15144         (TYPE_TRUE_MIN): Likewise.
15145         (TYPE_MAX): Likewise.
15146         (MIN_EXP): Likewise.
15147         (MAX_EXP): Likewise.
15148         (MANT_DIG): Likewise.
15150         (FSTR_MAX): New macro.
15151         (__CONCATX): Likewise.
15152         (QTYPE_STR): Likewise.
15153         (TEST_COND_binary32): Likewise.
15154         (TEST_COND_binary64): Likewise.
15155         (TEST_COND_binary128): Likewise.
15156         (TEST_COND_ibm128): Likewise.
15157         (TEST_COND_intel96): Likewise.
15158         (TEST_COND_m68k96): Likewise.
15160         (TEST_COND_flt_32): Redefine as equivalent format test macro.
15161         (TEST_COND_dbl_64): Likewise.
15162         (TEST_COND_ldbl_96_intel): Likewise.
15163         (TEST_COND_ldbl_96_m68k): Likewise.
15164         (TEST_COND_ldbl_128): Likewise.
15165         (TEST_COND_ldbl_128ibm): Likewise.
15167         (plus_zero): Redefine using LIT macro.
15168         (minus_zero): Likewise.
15169         (plus_infty): Redefine as (INF).
15170         (minux_infty): Redefine as (-INF).
15171         (max_value): Redefine as TYPE_MAX.
15172         (min_value): Redefine as TYPE_MIN.
15173         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
15175         (print_float): Refactor to use snprintf to convert FLOAT values
15176         to string. This brings it closer to dropin replacement of strtof
15177         for the TS 18661 defined types.
15178         (update_stats): Likewise.
15179         (print_complex_function_ulps): Likewise.
15180         (print_max_error): Likewise.
15181         (print_complex_max_error): Likewise.
15182         (check_float_internal): Likewise.
15184         * math/test-float.h (PREFIX): New macro.
15185         (LIT): Likewise.
15186         (TYPE_STR): Likewise.
15187         (FTOSTR): Likewise.
15189         * math/test-double.h (PREFIX): New macro.
15190         (LIT): Likewise.
15191         (TYPE_STR): Likewise.
15192         (FTOSTR): Likewise.
15194         * math/test-ldouble.h (PREFIX): New macro.
15195         (LIT): Likewise.
15196         (TYPE_STR): Likewise.
15197         (FTOSTR): Likewise.
15199 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15201         [BZ #20156]
15202         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
15203         to itself when zero or not finite.
15204         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
15205         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15206         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
15207         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
15209 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
15211         [BZ #20153]
15212         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
15213         x * x + x for infinities and NaNs.
15215         [BZ #20151]
15216         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
15217         argument to itself before returning result.
15218         (__ieee754_y0l): Likewise.
15219         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15220         (__ieee754_y1l).
15222         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
15223         (atan_test_data): Likewise.
15224         (ceil_test_data): Likewise.
15225         (cos_test_data): Likewise.
15226         (cosh_test_data): Likewise.
15227         (erf_test_data): Likewise.
15228         (exp2_test_data): Likewise.
15229         (fabs_test_data): Likewise.
15230         (floor_test_data): Likewise.
15231         (ilogb_test_data): Likewise.
15232         (j0_test_data): Likewise.
15233         (j1_test_data): Likewise.
15234         (jn_test_data): Likewise.
15235         (lgamma_test_data): Likewise.
15236         (lrint_test_data): Likewise.
15237         (llrint_test_data): Likewise.
15238         (logb_test_data): Likewise.
15239         (lround_test_data): Likewise.
15240         (llround_test_data): Likewise.
15241         (nearbyint_test_data): Likewise.
15242         (rint_test_data): Likewise.
15243         (round_test_data): Likewise.
15244         (sin_test_data): Likewise.
15245         (sincos_test_data): Likewise.
15246         (sinh_test_data): Likewise.
15247         (sqrt_test_data): Likewise.
15248         (tan_test_data): Likewise.
15249         (tanh_test_data): Likewise.
15250         (tgamma_test_data): Likewise.
15251         (trunc_test_data): Likewise.
15252         (y0_test_data): Likewise.
15253         (y1_test_data): Likewise.
15254         (yn_test_data): Likewise.
15256         * math/libm-test.inc: Update comment about NaN testing.
15257         (TEST_SNAN): New macro.
15258         (snan_value): Likewise.
15259         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
15260         (fpclassify_test_data): Add sNaN tests.
15261         (isfinite_test_data): Likewise.
15262         (isinf_test_data): Likewise.
15263         (isnan_test_data): Likewise.
15264         (isnormal_test_data): Likewise.
15265         (issignaling_test_data): Likewise.
15266         (signbit_test_data): Likewise.
15267         * math/gen-libm-test.pl (%beautify): Add snan_value.
15268         (show_exceptions): Add argument $test_snan.
15269         (parse_args): Handle snan_value as non-finite.  Update call to
15270         show_exceptions.
15271         * math/Makefile (libm-test-no-inline-cflags): Add
15272         -fsignaling-nans.
15274 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15276         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
15277         (CFLAGS-oldsendmsg.c): Add rule.
15278         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15279         Correct recvmsg symbol name.
15280         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
15281         Likewise.
15283 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15285         * sysdeps/unix/sysv/linux/Makefile
15286         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
15287         oldsendmmsg.
15288         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
15289         sendmmsg.
15290         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15291         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15292         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15293         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15295         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15296         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15298         Likewise.
15299         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15300         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15301         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15302         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15303         iovlen and controllen fields to adjust to POSIX specification.
15304         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15306         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15307         and change to correct expected type.
15308         (msghdr.msg_controllen): Likewise.
15309         (cmsghdr.cmsg_len): Likewise.
15310         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15311         expected POSIX assumption about the size.
15312         (msghdr.msg_controllen): Likewise.
15313         (msghdr.__glibc_reserved1): Likewise.
15314         (msghdr.__glibc_reserved2): Likewise.
15315         (cmsghdr.cmsg_len): Likewise.
15316         (cmsghdr.__glibc_reserved1): Likewise.
15317         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15318         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15319         (CFLAGS-sendmsg.c): Remove rule.
15320         (CFLAGS-recvmsg.c): Likewise.
15321         (CFLAGS-oldsendmsg.c): Add rule.
15322         (CFLAGS-oldrecvmsg.c): Likewise.
15323         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15324         recvmsg and sendmsg.
15325         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15326         Likewise.
15327         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15328         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15329         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15330         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15331         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15332         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15333         Likewise.
15334         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15335         Likewise.
15336         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15337         Likewise.
15338         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15339         Likewise.
15340         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15341         Likewise.
15342         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15343         Likewise.
15344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15345         (GLIBC_2.24): Likewise.
15346         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15347         Likewise.
15348         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15349         Likewise.
15350         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15351         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15352         Likewise.
15353         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15354         Likewise.
15355         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15356         Likewise.
15357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15358         (GLIBC_2.24): Likewise.
15359         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15360         Likewise.
15361         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15362         Likewise.
15363         * sysdeps/unix/sysv/linux/Makefile
15364         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15365         (CFLAGS-sendmsg.c): Add rule.
15366         (CFLAGS-recvmsg.c): Likewise.
15367         (CFLAGS-oldsendmsg.c): Likewise.
15368         (CFLAGS-oldrecvmsg.c): Likewise.
15369         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15370         initialization.
15371         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15372         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15373         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15374         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15375         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15376         iovlen and controllen fields to adjust to POSIX specification.
15377         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15378         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15379         added recvmsg and sendmsg.
15380         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15381         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15382         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15383         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15384         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15385         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15386         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15387         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15388         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15389         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15390         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15391         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15393         Likewise.
15394         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15396         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15397         Likewise.
15398         Likewise.
15399         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15400         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15401         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15402         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15403         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15404         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15406         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15408         Likewise.
15409         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15410         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15412         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15413         from auto-generation.
15414         (sendmsg): Likewise.
15415         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15416         (sendmsg): Likewise.
15417         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15418         (sendmsg): Likewise.
15419         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15420         (sendmsg): Likewise.
15421         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15422         (sendmsg): Likewise.
15423         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15424         (sendmsg): Likewise.
15425         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15426         Likewise.
15427         (sendmsg): Likewise.
15428         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15429         (sendmsg): Likewise.
15430         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15431         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15432         Remove.
15433         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15434         Likewise.
15435         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15436         Undefine.
15437         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15438         Likewise.
15439         * sysdeps/unix/sysv/linux/kernel-features.h
15440         (__ASSUME_SENDMSG_SYSCALL): Define.
15441         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15442         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15443         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15444         Remove.
15445         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15446         Likewise.
15447         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15448         Undefine.
15449         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15450         Likewise.
15451         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15452         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15453         Remove.
15454         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15455         Likewise.
15456         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15457         Undefine.
15458         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15459         Likewise.
15460         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15461         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15462         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15463         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15464         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15465         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15466         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15467         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15468         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15470 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15472         * stdlib/gen-tst-strtod-round.c: Add backslash to
15473         compile command in comment.
15474         (printfp): Remove the literal suffix, and define an infinite
15475         value as INF to avoid expansion clash with INFINITY.
15476         (round_str): Remove the literal suffix.
15477         (round_for_all): Likewise, remove the now duplicate ldbl-64
15478         entry, and remove some magic constants.
15480         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15481         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15482         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15483         (_CONCAT): New macro.
15484         (CONCAT): Likewise.
15485         (CHOOSE_ld): Likewise.
15486         (CHOOSE_f): Likewise.
15487         (CHOOSE_d): Likewise.
15488         (FTYPE_MEMBER): Likewise.
15489         (BOOL_MEMBER): Likewise.
15490         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15491         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15492         (_XNTRY): Likewise.
15493         (XNTRY): Likewise.
15494         (_ENTRY): Likewise.
15495         (ENTRY): Likewise.
15496         (test_exactness): Generate members via macro.
15497         (test_results): Likewise.
15498         (test): Update members.
15499         (TEST): Redefine using new macros.
15500         (INF): New macro.
15501         (fetestmodes): New structure.
15502         (do_test): Refactor to be type generic.
15503         (test_in_one_mode): Refactor duplicate code into
15504         (GEN_ONE_TEST): New macro.
15506         * stdlib/tst-strtod-round-data.h: Regenerate.
15508         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15509         Extend to pass additional arbitrary parameters to
15510         generators.
15512 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15514         [BZ #15479]
15515         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15516         floating-point state after first floating-point operation on
15517         input.  Restore full floating-point state instead of just rounding
15518         mode.
15519         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15520         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15521         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15522         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15523         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15525         [BZ #15479]
15526         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15527         floating-point state after first floating-point operation on
15528         input.  Restore full floating-point state instead of just rounding
15529         mode.
15530         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15531         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15532         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15533         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15534         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15536 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15538         [BZ #19727]
15539         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15540         valid high surrogate.
15541         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15542         of an utf16 surrogate.
15543         * iconv/gconv_simple.c (BODY): Likewise.
15544         * iconvdata/bug-iconv12.c: New file.
15545         * iconvdata/Makefile (tests): Add bug-iconv12.
15547 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15549         [BZ #19726]
15550         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15551         outptrp in case of an illegal input.
15552         * iconv/tst-iconv6.c: New file.
15553         * iconv/Makefile (tests): Add tst-iconv6.
15555 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15557         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15558         an error in case of a value in range of an utf16 low surrogate.
15560 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15562         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15563         an error in case of a value in range of an utf16 low surrogate.
15565 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15567         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15568         Move to ...
15569         * sysdeps/s390/Makefile: ... here.
15570         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15571         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15572         (BRANCH_ON_COUNT): New define.
15573         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15574         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15575         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15576         run on s390-32, too.
15577         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15578         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15579         run on s390-32, too.
15580         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15581         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15582         run on s390-32, too.
15584 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15586         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15587         etf3eh or new vector loop-variant.
15589 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15591         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15592         etf3eh or new vector loop-variant.
15594 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15596         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15597         or new vector loop-variant.
15599 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15601         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15602         Rename to TR_LOOP and usage of tr instead of troo instruction.
15604 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15606         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15607         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15609 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15611         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15612         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15613         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15614         New override define.
15615         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15617 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15619         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15620         * sysdeps/s390/configure.ac: Add test for S390 vector register
15621         support in gcc.
15622         * sysdeps/s390/configure: Regenerated.
15624 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15626         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15627         Install file from $(objpfx)gconv-modules.
15628         ($(objpfx)gconv-modules): Concatenate architecture specific file
15629         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15630         * sysdeps/s390/gconv-modules: New file.
15631         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15632         Deleted.
15633         ($(objpfx)gconv-modules-s390): Deleted.
15634         (sysdeps-gconv-modules): New variable.
15636 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15638         [BZ #15479]
15639         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15640         of immediate operand to rounding instruction.
15641         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15642         Likewise.
15643         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15644         Likewise.
15645         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15646         Likewise.
15648 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15650         * math/libm-test.inc (MIN_EXP): Directly define as
15651         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15653 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15655         * math/libm-test.inc (MANT_DIG): Directly define as
15656         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15658 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15660         * stdlib/gen-tst-strtod-round.c (main):
15661           Change usage to more closely match the generated
15662           output.  Add usage and compilation instructions.
15663           (string_to_fp): Add and use FILE* parameter as
15664           output target.
15665           (print_fp): Likewise.
15666           (round_str): Likewise.
15667           (round_for_all): Likewise.
15668         * stdlib/tst-strtod-round.c (tests): Move into
15669         * stdlib/tst-strtod-round-data.h: New file.
15671 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15673         [BZ #15479]
15674         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15675         (__round): Do not force "inexact" exception.
15676         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15677         variable.
15678         (__round): Do not force "inexact" exception.
15679         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15680         (__roundf): Do not force "inexact" exception.
15681         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15682         (__roundl): Do not force "inexact" exception.
15683         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15684         (__roundl): Do not force "inexact" exception.
15685         * math/libm-test.inc (round_test_data): Do not allow spurious
15686         "inexact" exceptions.
15688         [BZ #15479]
15689         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15690         exception in comment.
15691         (huge): Remove variable.
15692         (__floor): Do not force "inexact" exception.
15693         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15694         "inexact" exception in comment.
15695         (huge): Remove variable.
15696         (__floor): Do not force "inexact" exception.
15697         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15698         exception in comment.
15699         (huge): Remove variable.
15700         (__floorf): Do not force "inexact" exception.
15701         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15702         exception in comment.
15703         (huge): Remove variable.
15704         (__floorl): Do not force "inexact" exception.
15706         [BZ #15479]
15707         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15708         exception in comment.
15709         (huge): Remove variable.
15710         (__ceil): Do not force "inexact" exception.
15711         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15712         "inexact" exception in comment.
15713         (huge): Remove variable.
15714         (__ceil): Do not force "inexact" exception.
15715         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15716         (__ceilf): Do not force "inexact" exception.
15717         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15718         exception in comment.
15719         (huge): Remove variable.
15720         (__ceill): Do not force "inexact" exception.
15722 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15724         * config.h.in (BIND_NOW): New.
15725         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15726         * configure: Regenerated.
15727         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15728         indirect branch via the GOT slot.
15730 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15732         [BZ #19765]
15733         * sysdeps/s390/mempcpy.S: New File.
15734         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15735         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15736         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15737         Add mempcpy variants.
15738         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15739         (memcpy): Adjust to be usable from mempcpy entry point.
15740         (__memcpy_mvcle): Likewise.
15741         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15742         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15743         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15744         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15745         (__memcpy_z10): Likewise.
15746         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15748 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15750         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15751         Remove __GI_ symbol.
15752         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15753         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15754         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15755         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15756         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15757         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15759 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15761         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15762         Use cghi instead of chi to compare 64bit value.
15764 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15766         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15767         Jump to 1MB check before executing mvc-loop.
15769 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15771         [BZ #6527]
15772         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15773         unconditionally.
15774         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15776 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15778         * stdlib/tst-strtod6.c (do_test): Use new type generic
15779         invocation of the test function.
15780         (test): Refactor into ...
15781         (TEST_STRTOD): New macro base function.
15783 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15785         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15786         (TEST_STRTOD): New macro.
15787         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15789 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15791         * stdlib/tst-strtod6.c (do_test): Use new type generic
15792         invocation of the test function.
15793         (test): Refactor into ...
15794         (TEST_STRTOD): New macro base function.
15796 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15798         CVE-2016-4429
15799         [BZ #20112]
15800         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15801         payload.
15803 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15805         [BZ #20111]
15806         * bits/sockaddr.h (_SS_SIZE): Define.
15807         * bits/socket.h (_SS_SIZE): Remove.
15808         (_SS_PADSIZE): Adjust to account for all padding.
15809         (struct sockaddr_storage): Update comment.  Avoid implicit
15810         padding.
15811         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15812         (_SS_PADSIZE): Adjust to account for all padding.
15813         (struct sockaddr_storage): Update comment.  Avoid implicit
15814         padding.
15815         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15816         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15817         (_SS_PADSIZE): Adjust to account for all padding.
15818         (struct sockaddr_storage): Update comment.  Avoid implicit
15819         padding.
15820         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15821         __SS_SIZE is 126 in this version.
15822         * inet/tst-sockaddr.c: New file.
15823         * inet/Makefile (tests): Add tst-sockaddr.c
15824         (tst-sockaddr.c): Compile with non-strict aliasing.
15826 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15828         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15829         [XPG3 || XPG4].
15830         (NL_ARGMAX): Also expect for [XPG3].
15831         (NL_LANGMAX): Likewise.
15832         (NL_MSGMAX): Likewise.
15833         (NL_NMAX): Likewise.
15834         (NL_SETMAX): Likewise.
15835         (NL_TEXTMAX): Likewise.
15836         (NZERO): Likewise.
15837         (TMP_MAX): Likewise.
15838         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15839         variable.
15841         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15842         (PF_MAX): Update value.
15843         (AF_KCM): New macro.
15844         (SOL_NETBEUI): Likewise.
15845         (SOL_LLC): Likewise.
15846         (SOL_DCCP): Likewise.
15847         (SOL_NETLINK): Likewise.
15848         (SOL_TIPC): Likewise.
15849         (SOL_RXRPC): Likewise.
15850         (SOL_PPPOL2TP): Likewise.
15851         (SOL_BLUETOOTH): Likewise.
15852         (SOL_PNPIPE): Likewise.
15853         (SOL_RDS): Likewise.
15854         (SOL_IUCV): Likewise.
15855         (SOL_CAIF): Likewise.
15856         (SOL_ALG): Likewise.
15857         (SOL_NFC): Likewise.
15858         (SOL_KCM): Likewise.
15859         (MSG_BATCH): New enum value and macro.
15861 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15863         [BZ #18185]
15864         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15865         sharing L2 cache to 2 for Knights Landing.
15867 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15869         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15870         (FTW_DP): Do not expect for [XPG3 || XPG4].
15871         (FTW_SL): Do not expect for [XPG3].
15872         (FTW_SLN): Likewise.
15873         (FTW_PHYS): Likewise.
15874         (FTW_MOUNT): Likewise.
15875         (FTW_DEPTH): Likewise.
15876         (FTW_CHDIR): Likewise.
15877         (nftw): Likewise.
15878         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15879         variable.
15881 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15883         * manual/errno.texi: Fix various typos & grammar errors.
15885 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15887         * manual/intro.texi: Fix duplicated typo.
15889 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15891         [BZ #13304]
15892         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15893         <float.h>, <math_private.h> and <stdlib.h>.
15894         (add_split): New function.
15895         (mul_split): Likewise.
15896         (ext_val): New typedef.
15897         (store_ext_val): New function.
15898         (mul_ext_val): New function.
15899         (compare): New function.
15900         (add_split_ext): New function.
15901         (__fmal): After checking for Inf, NaN and zero, compute result as
15902         an exact sum of scaled double values in round-to-nearest before
15903         adding those up and adjusting for other rounding modes.
15904         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15905         tests of fma.
15906         * math/auto-libm-test-out: Regenerated.
15908 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15910         [BZ #20119]
15911         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15912         processor level type mask for CPUID with EAX == 11.
15914 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15916         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15917         logical threads if the HTT bit is 0.
15918         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15919         (index_cpu_HTT): Likewise.
15920         (reg_HTT): Likewise.
15922 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15924         [BZ #20115]
15925         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15926         Remove alignments on jump targets.
15928 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15930         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15931         (getpwent): Likewise.
15932         (setpwent): Likewise.
15933         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15934         variable.
15936         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15937         (remque): Likewise.
15938         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15939         variable.
15941 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15943         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15944         not being tested.
15946 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15948         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15949         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15950         call.
15951         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15952         (__condvar_cleanup1): Likewise.
15954 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15956         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15957         New
15958         (__pthread_unwind): Renamed to ...
15959         (PTHREAD_UNWIND): This.
15960         (__pthread_enable_asynccancel): Replace
15961         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15963 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15965         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15966         (CLONE_NEWCGROUP): New macro.
15968         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15969         (Q_GETNEXTQUOTA): New macro.
15971 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15973         [BZ #19907]
15974         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15975         buffer updated by the previous run.
15976         * string/test-memcpy.c (do_one_test): Likewise.
15977         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15978         * string/test-memmove.c (do_one_test): Likewise.
15980 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15982         [BZ #20094]
15983         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15984         not [__USE_XOPEN].
15985         (unlockpt): Likewise.
15986         (ptsname): Likewise.
15987         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15988         variable.
15990         [BZ #20076]
15991         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15992         instead of [__USE_UNIX98].
15993         (S_ISSOCK): Likewise.
15994         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15995         variable.
15997         [BZ #20074]
15998         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15999         [__USE_POSIX].
16000         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
16001         variable.
16003         [BZ #20051]
16004         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
16005         (ttyslot): Do not declare.
16006         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
16007         (ttyslot): New prototype.
16008         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
16009         variable.
16010         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16012 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16014         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
16016 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16018         Fix race condition in tst-mallocfork2, use fewer resources.
16019         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
16020         to current process group.
16021         (signal_sender): Yield in the non-sleeping case.
16023 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
16025         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
16026         (ecvt): Likewise.
16027         (fcvt): Likewise.
16028         (gcvt): Likewise.
16029         (getsubopt): Likewise.
16030         (grantpt): Likewise.
16031         (initstate): Likewise.
16032         (l64a): Likewise.
16033         (mktemp): Likewise.
16034         (mkstemp): Likewise.
16035         (ptsname): Likewise.
16036         (random): Likewise.
16037         (realpath): Likewise.
16038         (setstate): Likewise.
16039         (srandom): Likewise.
16040         (ttyslot): Likewise.
16041         (unlockpt): Likewise.
16042         (valloc): Likewise.
16044         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
16045         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
16046         variable.
16048 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16050         [BZ #20072]
16051         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
16052         init_cpu_features only if SHARED is defined.
16053         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
16055 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16057         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
16058         non-inclusive caches on Intel processors.
16060 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16062         * malloc/malloc.c (dumped_main_arena_start)
16063         (dumped_main_arena_end): New variables.
16064         (DUMPED_MAIN_ARENA_CHUNK): New macro.
16065         (do_check_chunk): Skip dumped fake mmapped chunks.
16066         (munmap_chunk): Likewise.
16067         (__libc_free): Do not adjust statistics for fake mmapped chunks.
16068         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
16069         mmapped chunks.
16070         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
16071         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
16072         and dumped_main_arena_end to cover the dumped heap.
16074 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
16076         * conform/data/time.h-data (getdate_err): Do not expect for
16077         [XPG3].
16078         (getdate): Likewise.
16079         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
16080         variable.
16082         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
16083         (F_ULOCK): Likewise.
16084         (F_TEST): Likewise.
16085         (F_TLOCK): Likewise.
16086         (useconds_t): Likewise.
16087         (intptr_t): Do not expect for [XPG3] or [XPG4].
16088         (brk): Do not expect for [XPG3]
16089         (fchown): Likewise.
16090         (fchdir): Likewise.
16091         (ftruncate): Likewise.
16092         (getdtablesize): Likewise.
16093         (gethostid): Likewise.
16094         (getpagesize): Likewise.
16095         (getpgid): Likewise.
16096         (getsid): Likewise.
16097         (getwd): Likewise.
16098         (lchown): Likewise.
16099         (lockf): Likewise.
16100         (readlink): Likewise.
16101         (sbrk): Likewise.
16102         (setpgrp): Likewise.
16103         (setregid): Likewise.
16104         (setreuid): Likewise.
16105         (symlink): Likewise.
16106         (sync): Likewise.
16107         (truncate): Likewise.
16108         (ualarm): Likewise.
16109         (usleep): Likewise.
16110         (vfork): Likewise.
16111         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
16112         variable.
16114         [BZ #20054]
16115         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
16116         not [__USE_UNIX98].
16117         * conform/data/unistd.h-data (gethostname): Do not expect for
16118         [XPG3].
16120         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
16121         [!POSIX] (S_IFBLK): Likewise.
16122         [!POSIX] (S_IFCHR): Likewise.
16123         [!POSIX] (S_IFIFO): Likewise.
16124         [!POSIX] (S_IFREG): Likewise.
16125         [!POSIX] (S_IFDIR): Likewise.
16126         [!POSIX] (S_IFLNK): Likewise.
16127         [!POSIX] (S_IFSOCK): Likewise.
16128         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
16129         variable.
16130         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16132 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
16134         * sysdeps/aarch64/memset.S (__memset):
16135         Rewrite of optimized memset.
16137 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16139         [BZ #19703]
16140         Partially async-signal-safe fork for single-threaded processes.
16141         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
16142         variable.  Do not acquire and reset/release malloc and libio locks
16143         in single-threaded processes.
16144         * malloc/tst-mallocfork2.c: New file.
16145         * malloc/Makefile (tests): Add it.
16147 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16149         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
16150         argument.  Use scratch buffer instead of extend_alloca.
16151         (gethosts): Use scratch buffer instead of extend_alloca.
16152         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
16153         extend_alloca.
16154         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
16156 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
16158         [BZ #20055]
16159         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
16160         instead of [__USE_UNIX98].
16161         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
16162         [__USE_UNIX98].
16163         * conform/data/termios.h-data (tcgetsid): Do not expect for
16164         [XPG3].
16165         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
16166         variable.
16167         (test-xfail-XPG4/termios.h/conform): Likewise.
16169 2016-05-11  Florian Weimer  <fweimer@redhat.com>
16171         Do not use mcheck in localedef.
16172         * locale/programs/localedef.c (turn_on_mcheck)
16173         (__malloc_initialize_hook): Remove.
16175 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16177         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
16178         * sysdeps/s390/s390-64/Makefile: Likewise.
16180 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16182         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
16183         Remove ifunc-defines.sym.
16184         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
16185         Likewise.
16186         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
16187         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16188         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
16189         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
16190         rtld-global-offsets.sym.
16191         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
16192         * sysdeps/x86/cpu-features-offsets.sym: This.
16193         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
16194         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
16196 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
16198         [BZ #20073]
16199         * io/sys/stat.h (fchmod): Declare for
16200         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
16201         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
16202         variable.
16204         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
16205         [XPG3] (S_IFSOCK): Likewise.
16206         [XPG3] (S_ISVTX): Likewise.
16207         [XPG3] (S_ISLNK): Likewise.
16208         [XPG3] (S_ISSOCK): Likewise.
16209         [XPG3] (fchmod): Likewise.
16210         [XPG3] (lstat): Likewise.
16211         [XPG3] (mknod): Likewise.
16213         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
16214         [XPG3].  Expect type long and XFAIL for [XPG4].
16215         (st_blocks): Likewise.
16217         [BZ #20044]
16218         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
16219         (pthread_atfork): New prototype.
16220         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
16221         variable.
16223         [BZ #20043]
16224         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
16225         prototype.
16227 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16229         [BZ #20017]
16230         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
16231         gmtime.
16233 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16235         [BZ #19994]
16236         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
16237         flag in _res.options.
16239 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
16241         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
16242         [XPG3 || XPG4].
16243         (blksize_t): Likewise.
16244         (clockid_t): Likewise.
16245         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
16246         variable.
16247         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16249 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16251         * sysdeps/unix/sysv/linux/s390/init-first.c:
16252         Add VDSO_SYMBOL(getcpu).
16253         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
16254         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
16255         Add VDSO_SYMBOL(getcpu).
16256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
16257         New define HAVE_GETCPU_VSYSCALL.
16258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16260 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
16262         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
16263         instead of <sysdeps/x86_64/cacheinfo.c>.
16264         * sysdeps/x86_64/cacheinfo.c: Moved to ...
16265         * sysdeps/x86/cacheinfo.c: Here.
16267 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16269         * malloc/malloc-internal.h: Adjust header file guard.
16271 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16273         [BZ #19787]
16274         * inet/getnameinfo.c (check_sprintf_result): New function.
16275         (CHECKED_SNPRINTF): New macro.
16276         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
16277         to the host buffer.
16278         (gni_host_local): Use checked_copy to copy the host name.
16279         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
16280         (gni_serv_local): Use checked_copy to copy the service name.
16281         (getnameinfo): Remove unnecessary truncation of result buffers.
16283 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16285         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
16286         in case of inet_ntop failure.
16288 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16290         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
16291         avoid long lines.
16292         (gni_host_inet_numeric): Likewise.  Reduce scope of local
16293         variables.
16294         (gni_host_inet, gni_host_local): Add comment.
16295         (gni_host): Add comment.  Use temporary to avoid long lines.
16297 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16299         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16300         registers specifiers where general purpose registers specifiers should
16301         have been used.
16303 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16305         [BZ #19779]
16306         CVE-2016-1234
16307         Avoid copying names of directory entries.
16308         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16309         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16310         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16311         (struct readdir_result): New type.
16312         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16313         (GL_READDIR): New macros.
16314         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16315         (convert_dirent, convert_dirent64): New functions.
16316         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16317         convert_dirent64.  Adjust references to the readdir result.
16318         * sysdeps/unix/sysv/linux/i386/glob64.c:
16319         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16320         * posix/bug-glob2.c (LONG_NAME): Define.
16321         (filesystem): Add LONG_NAME.
16322         (my_DIR): Increase the size of room_for_dirent.
16324 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16326         [BZ #20041]
16327         * misc/sys/select.h (__need_timespec): Only define if
16328         [__USE_XOPEN2K].
16329         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16330         variable.
16331         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16332         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16333         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16335 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16336             Segher Boessenkool  <segher@gcc.gnu.org>
16338         [BZ #20004]
16339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16340         (__novec_swapcontext): Add missing load.
16342 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16344         [BZ #20023]
16345         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16346         <time.h>.
16347         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16348         variable.
16349         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16351 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16354         flags CLONE_VM compare.
16356 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16358         [BZ #20031]
16359         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16360         completely empty.
16362 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16364         [BZ #19573]
16365         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16366         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16367         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16368         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16369         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16370         (hesiod_free_list): Mark as hidden.
16371         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16372         res_set, res_get.
16373         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16374         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16375         (hesiod_init): Remove obsolete res_ninit call.
16376         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16377         (hesiod_bind): Do not call init.
16378         (get_txt_records): Use res_mkquery, res_send instead of
16379         res_nmkquery, res_nsend.
16380         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16381         instead of _nss_hesiod_init.
16382         (_nss_hesiod_initgroups_dyn): Likewise.
16383         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16384         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16385         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16387 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16389         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16390         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16392 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16394         * hesiod/hesiod.h: Remove RCS keyword.
16395         * hesiod/hesiod_p.h: Likewise.
16397         * hesiod/hesiod.c: Likewise.
16399 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16401         [BZ #12450]
16402         * locale/iso-639.def: Add Samogitian/sgs.
16404 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16406         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16408         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16410 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16411             Carlos O'Donell  <carlos@redhat.com>
16413         [BZ #19072]
16414         * grp/Makefile (headers): Add grp-merge.h
16415         (routines): Add grp-merge.
16416         * grp/getgrgid_r.c: Include grp-merge.h.
16417         (DEEPCOPY_FN): Define.
16418         (MERGE_FN): Define.
16419         * grp/getgrname_r.c: Include grp-merge.h.
16420         (DEEPCOPY_FN): Define.
16421         (MERGE_FN): Define.
16422         * grp/grp-merge.c: New file.
16423         * grp/grp-merge.h: New file.
16424         * include/grp-merge.h: New file.
16425         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16426         __copy_grp@GLIBC_PRIVATE.
16427         * manual/nss.texi (Actions in the NSS configuration): Describe
16428         return, continue, and merge.
16429         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16430         (DEEPCOPY_FN): Define.
16431         (MERGE_FN): Define.
16432         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16433         (DEEPCOPY_FN): Define.
16434         (MERGE_FN): Define.
16435         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16436         [!MERGE_FN]: Define __merge_einval.
16437         (CHECK_MERGE): Define.
16438         (REENTRANT_NAME): Process merge if do_merge is true.
16439         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16440         (__nss_getent_r): Likewise.
16441         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16442         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16444 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16446         [BZ #20012]
16447         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16448         length to calculate the buffer to read.
16449         (fmemopen_write): Set the buffer position based on bytes written.
16450         (fmemopen_seek): Return EINVAL for invalid whence modes.
16452         [BZ #19957]
16453         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16454         tst-getpid2.
16455         (test): Add tst-clone2.
16456         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16457         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16458         pid/tid fields for CLONE_VM.
16459         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16460         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16461         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16462         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16463         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16464         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16465         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16466         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16468         Likewise.
16469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16470         Likewise.
16471         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16472         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16473         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16474         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16475         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16476         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16477         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16478         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16480 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16482         [BZ #19642]
16483         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16484         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16485         (gni_serv_local, gni_serv): New functions extracted from
16486         getnameinfo.
16487         (getnameinfo): Call gni_host and gni_serv to perform the
16488         processing.  Always free scratch buffer.
16490 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16492         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16493         remaining bytes in the dest string, with zeros.
16495 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16497         [BZ #20010]
16498         CVE-2016-3706
16499         * sysdeps/posix/getaddrinfo.c
16500         (convert_hostent_to_gaih_addrtuple): New function.
16501         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16502         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16503         AF_INET data.
16505 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16507         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16508         callback function gl_readdir.
16509         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16510         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16511         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16512         memcpy to copy the name.
16513         * manual/pattern.texi (Calling Glob): Document requirements for
16514         implementations of the gl_readdir callback function.
16515         * manual/examples/mkdirent.c: New example.
16516         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16517         per the manual guidance.
16518         * posix/tst-gnuglob.c (my_readdir): Likewise.
16520 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16522         [BZ #20014]
16523         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16524         not [__USE_POSIX].
16525         (getchar_unlocked): Likewise.
16526         (putc_unlocked): Likewise.
16527         (putchar_unlocked): Likewise.
16528         (flockfile): Likewise.
16529         (ftrylockfile): Likewise.
16530         (funlockfile): Likewise.
16531         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16532         variable.
16533         (test-xfail-XPG4/stdio.h/conform): Likewise.
16535         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16536         Expect constant.
16537         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16538         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16539         variable.
16540         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16541         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16543         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16544         [__USE_LARGEFILE64] (off64_t): Likewise.
16545         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16546         variable.
16548 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16550         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16552 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16554         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16555         * resolv/res_init.c: Likewise.
16556         * resolv/res_mkquery.c: Likewise.
16558 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16560         * resolv/res_init.c (isascii): Do not define.  Use definition in
16561         <ctype.h>.
16562         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16563         (LOG_AUTH): Remove.
16564         (SPRINTF): Remove, adjust caller.
16565         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16567 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16569         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16570         SUNSECURITY conditional.
16571         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16573 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16575         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16576         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16577         Remove BSD-related preprocessor conditionals.
16578         * conf/portability.h: Remove.
16580 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16582         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16583         * resolv/res_data.c: Likewise.
16585 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16587         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16588         * resolv/res_data.c: Remove code conditional on ultrix.
16590 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16592         * resolv/res_init.c (RFC1535): Do not define.  Remove
16593         RFC1535 preprocessor conditionals.
16594         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16595         because there configuration options which make the resolver
16596         behavior different.
16598 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16600         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16601         RESOLVSORT preprocessor conditionals.
16602         * resolv/nss_dns/dns-host.c: Likewise.
16603         * resolv/res_init.c: Likewise.
16605 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16607         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16608         is never defined.
16610 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16612         * inet/inet_lnaof.c: Remove SCSS keyword.
16613         * inet/inet_mkadr.c: Likewise.
16614         * inet/inet_net.c: Likewise.
16615         * inet/inet_netof.c: Likewise.
16616         * inet/rcmd.c: Likewise.
16617         * inet/rexec.c: Likewise.
16618         * inet/ruserpass.c: Likewise.
16620 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16622         * resolv/inet_addr.c: Remove _LIBC conditionals.
16623         * resolv/res_data.c: Likewise.
16624         * resolv/res_init.c: Likewise.
16625         * resolv/res_mkquery.c: Likewise.
16626         * resolv/res_libc.c: Update comment.
16627         * resolv/README: Update.
16629 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16631         * resolv/gethnamaddr.c: Remove SCSS keyword.
16632         * resolv/herror.c: Likewise.
16633         * resolv/inet_addr.c: Likewise.
16634         * resolv/inet_net_ntop.c: Likewise.
16635         * resolv/inet_net_pton.c: Likewise.
16636         * resolv/inet_neta.c: Likewise.
16637         * resolv/inet_ntop.c: Likewise.
16638         * resolv/inet_pton.c: Likewise.
16639         * resolv/ns_date.c: Remove RCS keyword.
16640         * resolv/ns_name.c: Likewise.
16641         * resolv/ns_netint.c: Likewise.
16642         * resolv/ns_parse.c: Likewise.
16643         * resolv/ns_print.c: Likewise.
16644         * resolv/ns_samedomain.c: Likewise.
16645         * resolv/ns_ttl.c: Likewise.
16646         * resolv/nsap_addr.c: Likewise.
16647         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16648         * resolv/res_data.c: Remove RCS keyword.
16649         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16650         * resolv/res_init.c: Likewise.
16651         * resolv/res_mkquery.c: Likewise.
16652         * resolv/res_query.c: Likewise.
16653         * resolv/res_send.c: Likewise.
16655 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16657         * conform/data/stdio.h-data (fdopen): Expect also for
16658         [XPG3 || XPG4].
16660         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16661         (fseeko): Likewise.
16662         (ftello): Likewise.
16663         (ftrylockfile): Likewise.
16664         (funlockfile): Likewise.
16665         (getc_unlocked): Likewise.
16666         (getchar_unlocked): Likewise.
16667         (putc_unlocked): Likewise.
16668         (putchar_unlocked): Likewise.
16670 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16672         [BZ #19868]
16673         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16674         DNS packet syntax checks (which were not needed before).  Skip
16675         over non-PTR records.
16677 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16679         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16680         definition.  Include <stddef.h> instead.
16682 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16684         [BZ #19831]
16685         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16686         function.
16687         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16688         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16690 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16692         [BZ #19862]
16693         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16694         (getanswer_r): Do not call syslog.
16695         (gaih_getanswer_slice): Likewise.
16696         * resolv/gethnamaddr.c (AskedForGot): Remove.
16697         (getanswer): Do not call syslog.
16698         (gethostbyaddr): Likewise.
16700 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16702         * conform/data/signal.h-data (union sigval): Expect also if
16703         [XOPEN2K].
16704         (struct sigevent): Likewise.
16705         (SIGEV_NONE): Likewise.
16706         (SIGEV_SIGNAL): Likewise.
16707         (SIGEV_THREAD): Likewise.
16708         (SIGRTMIN): Likewise.
16709         (SIGRTMAX): Likewise.
16710         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16711         variable.
16712         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16714 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16716         [BZ #19830]
16717         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16718         (gaih_getanswer_slice): Likewise.
16719         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16720         Also check for availability of RR metadata.
16722 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16724         [BZ #19825]
16725         * resolv/res_send.c (send_vc): Remove early *resplen2
16726         initialization.  Set *resplen2 on socket error.  Call
16727         close_and_return_error for other errors.
16729 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16731         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16732         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16733         (SCM_IUCV_TRGCLS): New define.
16735 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16737         [BZ #20005]
16738         * libio/fmemopen.c (fmemopen_write): Update internal position after
16739         write.
16740         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16741         * stdio-common/tst-fmemopen4.c: New file..
16743 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16745         [BZ #19996]
16746         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16747         not [__USE_XOPEN2K].
16748         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16749         variable.
16751         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16752         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16753         variable.
16755         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16756         [__USE_XOPEN2K8].
16757         [__USE_LARGEFILE64] (off64_t): Likewise.
16758         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16759         variable.
16761 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16763         [BZ #19989]
16764         * libio/stdio.h (cuserid): Do not declare if
16765         [__USE_XOPEN2K && !__USE_GNU].
16766         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16767         variable.
16769 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16771         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16772         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16774         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16775         ifunc'ed strcspn.
16776         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16777         [EALIGN]: Removed.
16778         [END]: Likewise
16779         [STRSPN]: Define instead of the above to control symbol name.
16780         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16781         New file.
16782         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16783         Likewise.
16784         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16785         Likewise.
16786         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16787         Likewise.
16788         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16789         [INITIAL_MASK]: New macro.
16790         [STRCSPN]: Likewise.
16791         [UPDATE_MASK]: Likewise.
16792         [USE_AS_STRCSPN]: Likewise.
16794 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16796         [BZ #19931]
16797         * stdio-common/tst-vfprintf-width-prec.c: New file.
16798         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16799         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16800         (generated): Add mtrace-related files.
16801         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16802         (tst-%-mem.out): New pattern rule, replaces
16803         tst-printf-bz18872-mem.out.
16804         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16805         specifier, deallocate any previously allocated work buffer.
16807 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16809         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16810         Add nop before __startcontext, add explaining comments.
16812 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16814         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16815         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16816         completely different API.
16818         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16819         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16820         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16821         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16822         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16823         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16824         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16825         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16826         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16827         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16829 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16831         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16833 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16835         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16836         when it is the default of 0.
16838 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16840         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16841         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16842         (sysdep_routines): Add new strcasestr targets.
16843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16844         (__libc_ifunc_impl_list): Likewise.
16845         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16846         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16847         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16848         * sysdeps/powerpc/powerpc64/power8/Makefile:
16849         New file to add strcasestr-ppc64 to sysdep_routines.
16850         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16851         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16853 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16855         * benchtests/Makefile (wcsmbs-benchset): Include only for
16856         native builds and runs.
16857         (LOCALES): Likewise.
16858         (bench-build): Build timing-type here instead of the bench
16859         target.  Generate locale only for native builds.
16860         * benchtests/README: Add note for cross-building.
16862         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16864         * benchtests/README: Update README to include instructions on
16865         using bench-build.
16867         * Makefile.in (bench-build): New target.
16868         * Rules (PHONY): Add bench-build target.
16869         * benchtests/Makefile (bench): Depend on bench-build.
16870         (bench-build): New target.
16872 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16874         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16875         profil_reply_port.
16876         (profile_waiter): Do not initialize profil_reply_port.
16877         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16878         frequency instead of tick length in us.
16880 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16882         [BZ #18712]
16883         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16884         (__old_mempcpy_small): Likewise.
16885         (__old_strcpy_small): Likewise.
16886         (__old_stpcpy_small): Likewise.
16887         (__old_strpbrk_c2): Fix compat symbol name.
16888         (__old_strpbrk_c3): Likewise.
16889         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16890         (__mempcpy_small): Remove.
16891         (__strcpy_small): Remove.
16892         (__stpcpy_small): Remove.
16894 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16896         [BZ #19400]
16897         * locale/iso-639.def: Add the Talossan/tzl language.
16899 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16901         [BZ #16983]
16902         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16903         comment.  Add "ln" to strchr check on postal_fmt.
16905 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16907         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16908         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16909         tel_dom_fmt.
16911 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16913         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16914         (sysdep_routines): Added __strlen_power8.
16915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16916         __strlen_power8 entry.
16917         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16918         Implementation for POWER8.
16919         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16920         for __strlen_power8.
16921         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16922         Implementation for POWER8.
16924 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16926         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16928 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16930         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16931         Goldmont and Airmont processors.
16933 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16935         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16936         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16937         (__STRING2_SMALL_GET32): Remove.
16938         (memset): Remove.
16939         (__memset_1): Remove.
16940         (__memset_gc): Remove.
16941         (__mempcpy): Remove.
16942         (mempcpy): Remove.
16943         (__mempcpy_args): Remove.
16944         (strchr): Remove.
16945         (strcpy): Remove.
16946         (strcpy_args): Remove.
16947         (__stpcpy_args): Remove.
16948         (__strcmp_cc): Remove.
16949         (__strcmp_gc): Remove.
16950         (strstr): Remove.
16952 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16954         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16955         * nis/nis_call.c (nis_server_cache_add): Likewise.
16957 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16959         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16961 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16963         * malloc/arena.c (__malloc_fork_lock_parent)
16964         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16965         internal_function attribute.
16967 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16969         * stdio-common/printf_fp.c (__printf_fp_l):
16970         Rename ___printf_fp_l to __printf_fp_l and
16971         remove strong alias. Use libc_hidden_def instead
16972         of ldbl_hidden_def macro.
16974 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16976         Remove malloc hooks from fork handler.  They are no longer needed
16977         because malloc runs right before fork, and no malloc calls from
16978         other fork handlers are not possible anymore.
16979         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16980         declarations.
16981         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16982         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16983         (atfork_recursive_cntr): Remove.
16984         (__malloc_fork_lock_parent): Do not override malloc hooks and
16985         thread_arena.
16986         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16987         thread_arena.
16988         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16989         thread_arena instead of save_arena.
16991 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16993         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16994         (thread_atfork, thread_atfork_static): Remove.
16995         * sysdeps/mach/hurd/malloc-machine.h:
16996         (thread_atfork, thread_atfork_static): Remove.
16998 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17000         [BZ #19431]
17001         Run the malloc fork handler as late as possible to avoid deadlocks.
17002         * malloc/malloc-internal.h: New file.
17003         * malloc/malloc.c: Include it.
17004         * malloc/arena.c (ATFORK_MEM): Remove.
17005         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
17006         Update comment.
17007         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
17008         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
17009         Remove outdated comment.
17010         (ptmalloc_init): Do not call thread_atfork.  Remove
17011         thread_atfork_static.
17012         * malloc/tst-malloc-fork-deadlock.c: New file.
17013         * Makefile (tests): Add tst-malloc-fork-deadlock.
17014         (tst-malloc-fork-deadlock): Link against libpthread.
17015         * manual/memory.texi (Aligned Memory Blocks): Update safety
17016         annotation comments.
17017         * sysdeps/nptl/fork.c (__libc_fork): Call
17018         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17019         __malloc_fork_unlock_child.
17020         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
17022 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17024         [BZ #19613]
17025         Remove union wait.
17026         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
17027         (w_stopsig, w_stopval): Remove.
17028         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
17029         stat_loc argument.
17030         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
17031         (__WAIT_STATUS_DEFN): Remove.
17032         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17033         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
17034         (wait, wait3, wait4): Use int * for the stat_loc argument.
17035         * posix/wait.c (__wait): Likewise.
17036         * posix/wait3.c (__wait3): Likewise.
17037         * posix/wait4.c (__wait4): Likewise.
17038         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
17039         (__WAIT_STATUS_DEFN): Remove.
17040         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17041         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
17042         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
17043         argument.
17044         * sysdeps/posix/wait.c (__libc_wait): Likewise.
17045         * sysdeps/posix/wait3.c (__wait3): Likewise.
17046         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
17047         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17048         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
17049         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
17050         stat_loc argument.
17051         * manual/process.texi (BSD Wait Functions): Remove union wait.
17053 2016-04-13  Andreas Schwab  <schwab@suse.de>
17055         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
17056         (test-extras): Add tst-tlsalign-vars.
17057         * math/Makefile: Wrap long lines.
17058         (libm-vec-test-wrappers): Define.
17059         (test-extras): Add $(libm-vec-test-wrappers).
17060         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
17061         * nss/Makefile (extra-test-objs): Add nss_test1.os.
17062         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
17063         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
17064         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
17065         (extra-test-objs): Add corresponding objects.
17067 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
17069         [BZ #19928]
17070         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
17071         New.
17072         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
17073         times of shared cache size.
17074         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
17075         (VMOVNT): New.
17076         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
17077         (VMOVNT): Likewise.
17078         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
17079         (VMOVNT): Likewise.
17080         (VMOVU): Changed to movups for smaller code sizes.
17081         (VMOVA): Changed to movaps for smaller code sizes.
17082         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
17083         comments.
17084         (PREFETCH): New.
17085         (PREFETCH_SIZE): Likewise.
17086         (PREFETCHED_LOAD_SIZE): Likewise.
17087         (PREFETCH_ONE_SET): Likewise.
17088         Rewrite to use forward and backward loops, which move 4 vector
17089         registers at a time, to support overlapping addresses and use
17090         non temporal store if size is above the threshold and there is
17091         no overlap between destination and source.
17093 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
17095         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
17096         Include dl-vdso.
17097         * sysdeps/unix/sysv/linux/mips/Versions: Add
17098         __vdso_clock_gettime.
17099         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
17100         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
17101         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
17102         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
17103         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
17104         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
17105         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17106         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17107         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17109 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17111         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
17112         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
17113         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17114         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17115         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17116         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17119         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
17120         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
17121         syscalls generation.
17122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17123         [__NR_pwrite64] (__NR_write): Remove define.
17124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17125         [__NR_pwrite64] (__NR_write): Remove define.
17126         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
17127         Remove define.
17128         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
17129         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
17130         Remove define.
17131         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
17132         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
17133         Linux implementation as base.
17134         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17136         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
17137         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
17138         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17139         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
17141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17142         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
17143         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
17144         syscall generation.
17145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17146         [__NR_pread64] (__NR_pread): Remove define.
17147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17148         [__NR_pread64] (__NR_pread): Likewise.
17149         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
17150         define.
17151         (__libc_pread): Use SYSCALL_LL macro on offset argument.
17152         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
17153         Remove define.
17154         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
17155         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
17156         Linux implementation as base.
17157         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17158         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17159         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17161         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
17162         definition.
17163         (__ALIGNMENT_COUNT): Likewise.
17164         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
17165         (__ALIGNMENT_COUNT): Likewise.
17166         (SYSCALL_LL): New define.
17167         (SYSCALL_LL64): Likewise.
17168         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
17169         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
17170         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
17171         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
17173         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17174         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
17175         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17176         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17177         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17178         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17180 2016-04-11  Florian Weimer  <fweimer@redhat.com>
17182         [BZ #19865]
17183         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
17184         original buffer before retry.
17186 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17188         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
17189         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
17190         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
17191         GLRO(dl_auxv) list.
17192         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
17193         including <ldsodefs.h>.
17194         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
17196 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
17198         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
17199         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
17200         $(CPPFLAGS).
17202 2016-04-09  Khem Raj  <raj.khem@gmail.com>
17204         [BZ #17950]
17205         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
17206         Add -mfpmath=387.
17208 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
17210         * sysdeps/i386/configure.ac: Change == to = when calling test.
17211         * sysdeps/x86_64/configure.ac: Likewise.
17212         * sysdeps/i386/configure: Regenerated.
17213         * sysdeps/x86_64/configure: Likewise.
17215 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
17217         [BZ #16137]
17218         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
17219         * benchtests/bench-strcoll.c (input_files): Likewise.
17220         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17221         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
17222         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
17224 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
17226         [BZ #19929]
17227         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
17228         [__USE_XOPEN2K8 && !__USE_GNU].
17229         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
17230         variable.
17232         [BZ #19925]
17233         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
17234         define if [!__USE_MISC && __USE_XOPEN2K].
17235         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
17236         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
17237         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
17238         Likewise.
17239         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
17240         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
17241         variable.
17242         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17244 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17246         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17247         (sysdep_routines): Add new strspn targets.
17248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17249         (__libc_ifunc_impl_list): Add strspn.
17250         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17251         New file.
17252         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
17253         Likewise.
17254         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
17255         Likewise.
17256         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17257         Likewise.
17259 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17261         * misc/hsearch_r.c: Include <limits.h>.
17263 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17265         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
17267 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17269         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17270         (MEMCPY_SYMBOL): New.
17271         (MEMPCPY_SYMBOL): Likewise.
17272         (MEMMOVE_CHK_SYMBOL): Likewise.
17273         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
17274         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
17275         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
17276         Provide alias for memcpy in libc.a and ld.so.
17278 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17280         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17281         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
17282         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
17283         Disabled fro now.
17284         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
17285         symbols.  Properly check USE_MULTIARCH on __memset symbols.
17287 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17289         * benchtests/Makefile (string-benchset): Add memcpy-large,
17290         memmove-large and memset-large.
17291         * benchtests/bench-memcpy-large.c: New file.
17292         * benchtests/bench-memmove-large.c: Likewise.
17293         * benchtests/bench-memmove-large.c: Likewise.
17294         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17296 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17298         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17299         32-bit displacement to avoid long nop between instructions.
17301 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17303         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17304         a comment on VMOVU and VMOVA.
17306 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17308         [BZ #19633]
17309         Use specified locale for number formatting in strfmon_l.
17310         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17311         (__nl_lookup_word): New inline functions.
17312         * include/printf.h (__print_fp_l): Declare.
17313         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17314         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17315         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17316         (___printf_fp): New function.
17317         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17318         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17319         * stdlib/tst-strfmon_l.c (do_test): New test.
17320         * stdlib/Makefile (tests): Add kt.
17321         (LOCALES): Build additional locales.
17322         (tst-strfmon_l.out): Require locales.
17324 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17326         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17327         if not in libc.
17328         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17329         Likewise.
17330         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17331         Likewise.
17332         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17333         Likewise.
17335 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17337         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17338         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17339         with unaligned_erms.
17340         (__memmove_erms): Skip if source == destination.
17341         (__memmove_unaligned_erms): Don't check source == destination
17342         first.
17344 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17346         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17347         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17349 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17351         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17352         * string/strspn.c (strspn): Likewise.
17354 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17356         * benchtests/bench-memset.c (do_test): Support 64-byte
17357         alignment.
17358         (test_main): Test 64-byte alignment.
17360 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17362         * benchtests/bench-memmove.c (test_main): Test 64-byte
17363         alignment.
17365 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17367         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17369 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17371         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17372         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17373         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17375         * string/strpbrk.c (strpbrk): Rewrite function.
17376         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17377         (__strpbrk_c2): Likewise.
17378         (__strpbrk_c3): Likewise.
17379         * string/string-inlines.c
17380         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17381         Likewise.
17382         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17383         Likewise.
17385         * string/strspn.c (strcspn): Rewrite function.
17386         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17387         (__strspn_c1): Remove inline function.
17388         (__strspn_c2): Likewise.
17389         (__strspn_c3): Likewise.
17390         * string/string-inlines.c
17391         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17392         compatibility symbol.
17393         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17394         Likewise.
17395         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17396         Likewise.
17397         * string/string-inlines.c: Include generic version.
17399 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17400             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17402         * string/Version (libc): Add GLIBC_2.24.
17403         * string/strcspn.c (strcspn): Rewrite function.
17404         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17405         (__strcspn_c1): Remove inline function.
17406         (__strcspn_c2): Likewise.
17407         (__strcspn_c3): Likewise.
17408         * string/string-inline.c
17409         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17410         compatibility symbol.
17411         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17412         Likewise.
17413         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17414         Likewise.
17415         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17417 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17419         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17420         Use ahi instead of aghi to adjust stack pointer.
17422 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17424         [BZ #19853]
17425         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17426         TEST to take significant digits as second parameter.
17427         [TEST]: Redefine in terms of TEST_N taking 30
17428         significant digits.
17429         (do_test): Add test case to demonstrate precision
17430         failure in the ldbl-128ibm printf.
17431         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17432         (__mpn_extract_long_double): Carry 7 extra intermediate
17433         bits of precision to aide computing difference when
17434         signs differ.
17436 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17438         [BZ #19881]
17439         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17440         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17441         memset-avx512-unaligned-erms.
17442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17443         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17444         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17445         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17446         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17447         __memset_sse2_unaligned_erms, __memset_erms,
17448         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17449         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17450         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17451         file.
17452         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17453         Likewise.
17454         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17455         Likewise.
17456         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17457         Likewise.
17459 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17461         [BZ #19776]
17462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17463         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17464         memmove-avx512-unaligned-erms.
17465         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17466         (__libc_ifunc_impl_list): Test
17467         __memmove_chk_avx512_unaligned_2,
17468         __memmove_chk_avx512_unaligned_erms,
17469         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17470         __memmove_chk_sse2_unaligned_2,
17471         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17472         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17473         __memmove_avx512_unaligned_erms, __memmove_erms,
17474         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17475         __memcpy_chk_avx512_unaligned_2,
17476         __memcpy_chk_avx512_unaligned_erms,
17477         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17478         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17479         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17480         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17481         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17482         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17483         __mempcpy_chk_avx512_unaligned_erms,
17484         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17485         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17486         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17487         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17488         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17489         __mempcpy_erms.
17490         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17491         file.
17492         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17493         Likewise.
17494         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17495         Likewise.
17496         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17497         Likewise.
17499 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17501         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17502         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17503         (La_s390_64_regs): Likewise.
17504         (La_s390_32_retval): Append vector register lrv_v24.
17505         (La_s390_64_retval): Likeweise.
17506         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17507         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17508         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17509         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17511 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17513         [BZ #19916]
17514         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17515         to create a non-vector/vector version for _dl_runtime_resolve and
17516         _dl_runtime_profile. Move implementation to ...
17517         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17518         (_dl_runtime_resolve) Save and restore fpr/vrs.
17519         (_dl_runtime_profile) Save and restore vrs and fix some issues
17520         if _dl_call_pltexit is called.
17521         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17522         Choose the correct resolver function if running on a machine with vx.
17523         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17524         to create a non-vector/vector version for _dl_runtime_resolve and
17525         _dl_runtime_profile. Move implementation to ...
17526         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17527         (_dl_runtime_resolve) Save and restore fpr/vrs.
17528         (_dl_runtime_profile) Save and restore vrs and fix some issues
17529         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17530         Choose the correct resolver function if running on a machine with vx.
17532 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17534         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17536 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17538         [BZ #19509]
17539         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17540         skip_map != NULL.
17541         * elf/tst-dlsym-error.c: New file.
17542         * elf/Makefile (tests): Add tst-dlsym-error.
17543         (tst-dlsym-error): Link against libdl.
17545 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17547         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17548         (__ASSUME_FUTIMESAT): Remove macro.
17549         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17551 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17553         [BZ #19879]
17554         CVE-2016-3075
17555         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17556         copy name.
17558 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17560         [BZ #19837]
17561         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17562         error if parse_line fails.
17564 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17566         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17567         (index_cpu_ERMS): Likewise.
17568         (reg_ERMS): Likewise.
17570 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17572         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17573         PER_LINUX_FDPIC): Add.
17575 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17577         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17578         memcpy-avx512-no-vzeroupper.
17579         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17580         to ...
17581         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17582         (MEMCPY): Don't define.
17583         (MEMCPY_CHK): Likewise.
17584         (MEMPCPY): Likewise.
17585         (MEMPCPY_CHK): Likewise.
17586         (MEMPCPY_CHK): Renamed to ...
17587         (__mempcpy_chk_avx512_no_vzeroupper): This.
17588         (MEMPCPY_CHK): Renamed to ...
17589         (__mempcpy_chk_avx512_no_vzeroupper): This.
17590         (MEMCPY_CHK): Renamed to ...
17591         (__memmove_chk_avx512_no_vzeroupper): This.
17592         (MEMCPY): Renamed to ...
17593         (__memmove_avx512_no_vzeroupper): This.
17594         (__memcpy_avx512_no_vzeroupper): New alias.
17595         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17597 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17599         [BZ #18858]
17600         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17601         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17602         and mempcpy-avx512-no-vzeroupper.
17603         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17604         New.
17605         (MEMPCPY): Likewise.
17606         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17607         (MEMPCPY_CHK): New.
17608         (MEMPCPY): Likewise.
17609         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17610         (MEMPCPY): Likewise.
17611         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17612         (MEMPCPY): Likewise.
17613         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17614         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17615         Likewise.
17616         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17617         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17619 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17620              Amit Pawar  <Amit.Pawar@amd.com>
17622         [BZ #19583]
17623         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17624         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17625         processors.  Set Fast_Copy_Backward for AMD Excavator
17626         processors.
17627         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17628         New.
17629         (index_arch_Fast_Unaligned_Copy): Likewise.
17630         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17631         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17633 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17635         [BZ #19791]
17636         * resolv/res_send.c (close_and_return_error): New function.
17637         (send_dg): Initialize *resplen2 after reopen failure.  Call
17638         close_and_return_error for error returns.  On error paths without
17639         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17640         successful return.
17642 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17644         [BZ #19860]
17645         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17646         zero if the compiler does not provide the AVX512F bit.
17648 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17650         [BZ #19848]
17651         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17652         from 8 to 4.
17653         (__ieee754_powl): Compare integer exponent against 4 not 8.
17654         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17655         from 8 to 4.
17656         (__ieee754_powl): Compare integer exponent against 4 not 8.
17657         * math/auto-libm-test-in: Add more tests of pow.
17658         * math/auto-libm-test-out: Regenerated.
17659         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17662 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17664         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17665         Make code unconditional.
17666         [!__NR_utimensat]: Remove conditional code.
17667         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17668         Make code unconditional.
17669         [!__NR_utimensat]: Remove conditional code.
17670         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17671         Make code unconditional.
17672         [!__NR_utimensat]: Remove conditional code.
17674 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17676         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17677         Make code unconditional.
17679 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17681         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17682         call-clobbered %eax on retry path.
17683         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17685 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17687         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17688         Don't set %rcx twice before "rep movsb".
17690 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17692         [BZ #19583]
17693         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17694         inline.  Check family before setting family, model and
17695         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17696         bits here.
17697         (init_cpu_features): Replace HAS_CPU_FEATURE and
17698         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17699         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17700         for Intel processors with usable AVX2.  Call get_common_indeces
17701         for other processors with family == NULL.
17702         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17703         (CPU_FEATURES_ARCH_P): Likewise.
17704         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17705         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17707 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17709         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17710         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17711         $(shared-thread-library) instead of hardcoding the path to libpthread.
17713 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17715         * sysdeps/unix/sysv/linux/kernel-features.h
17716         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17717         * sysdeps/unix/sysv/linux/getdents.c
17718         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17719         [!have_no_getdents64_defined]: Likewise.
17720         (__GETDENTS): Remove __have_no_getdents64 conditional.
17722 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17724         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17725         Remove macro.
17726         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17727         <kernel-features.h>.
17728         (signalfd) [__NR_signalfd4]: Make code unconditional.
17729         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17731 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17733         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17734         style.
17736 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17738         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17739         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17740         __pthread_unwind.
17741         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17742         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17743         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17744         (__condvar_cleanup1): Likewise.
17746 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17748         [BZ #19822]
17749         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17750         move it to the final $@ location.
17752 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17754         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17755         access where posix_spawn success and pid argument is null.
17756         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17757         success case.
17759 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17761         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17763         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17765         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17766         and __fcntl.
17767         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17768         __fcntl only.
17769         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17770         adding attribute_hidden to __open and __fcntl.
17772         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17773         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17774         depend on libc-modules.h,
17775         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17777 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17779         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17780         Remove macro.
17781         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17782         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17783         entry.
17785         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17786         Remove macro.
17787         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17788         include <kernel-features.h>.
17789         [!__ASSUME_FALLOCATE]: Remove conditional code.
17790         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17792 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17794         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17795         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17796         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17797         (_ZGVdN4v_cos_avx2): Likewise.
17798         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17799         (_ZGVdN4v_cos): Likewise.
17800         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17801         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17802         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17803         (_ZGVdN4v_exp_avx2): Likewise.
17804         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17805         (_ZGVdN4v_exp): Likewise.
17806         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17807         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17808         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17809         (_ZGVdN4v_log_avx2): Likewise.
17810         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17811         (_ZGVdN4v_log): Likewise.
17812         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17813         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17814         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17815         (_ZGVdN4vv_pow_avx2): Likewise.
17816         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17817         (_ZGVdN4vv_pow): Likewise.
17818         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17819         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17820         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17821         (_ZGVdN4v_sin_avx2): Likewise.
17822         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17823         (_ZGVdN4v_sin): Likewise.
17824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17825         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17826         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17827         (_ZGVdN4vvv_sincos_avx2): Likewise.
17828         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17829         (_ZGVdN4vvv_sincos): Likewise.
17830         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17831         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17832         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17833         (_ZGVbN4v_cosf_sse4): Likewise.
17834         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17835         (_ZGVdN8v_cosf_avx2): Likewise.
17836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17837         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17838         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17839         (_ZGVbN4v_expf_sse4): Likewise.
17840         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17841         (_ZGVdN8v_expf_avx2): Likewise.
17842         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17843         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17844         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17845         (_ZGVbN4v_logf_sse4): Likewise.
17846         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17847         (_ZGVdN8v_logf_avx2): Likewise.
17848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17849         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17850         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17851         (_ZGVbN4vv_powf_sse4): Likewise.
17852         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17853         (_ZGVdN8vv_powf_avx2): Likewise.
17854         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17855         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17856         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17857         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17858         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17859         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17860         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17861         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17862         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17863         (_ZGVbN4v_sinf_sse4): Likewise.
17864         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17865         (_ZGVdN8v_sinf_avx2): Likewise.
17866         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17867         Use JUMPTARGET to call callee.
17868         (WRAPPER_IMPL_SSE2_ff): Likewise.
17869         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17870         (WRAPPER_IMPL_AVX): Likewise.
17871         (WRAPPER_IMPL_AVX_ff): Likewise.
17872         (WRAPPER_IMPL_AVX_fFF): Likewise.
17873         (WRAPPER_IMPL_AVX512): Likewise.
17874         (WRAPPER_IMPL_AVX512_ff): Likewise.
17875         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17876         Likewise.
17877         (WRAPPER_IMPL_SSE2_ff): Likewise.
17878         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17879         (WRAPPER_IMPL_AVX): Likewise.
17880         (WRAPPER_IMPL_AVX_ff): Likewise.
17881         (WRAPPER_IMPL_AVX_fFF): Likewise.
17882         (WRAPPER_IMPL_AVX512): Likewise.
17883         (WRAPPER_IMPL_AVX512_ff): Likewise.
17884         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17886 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17888         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17889         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17890         qualifier.
17891         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17892         internal_function qualifiers.
17894 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17896         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17897         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17898         * math/atest-exp.c (exp_mpn): Mark chk unused.
17899         * math/atest-exp2.c (exp_mpn): Likewise.
17900         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17901         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17903 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17905         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17906         Remove macro.
17907         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17908         <kernel-features.h>.
17909         [__NR_ppoll]: Make code unconditional.
17910         [!__ASSUME_PPOLL]: Remove conditional code.
17912         * sysdeps/unix/sysv/linux/kernel-features.h
17913         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17914         (__ASSUME_ACCEPT4): Likewise.
17915         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17916         Define.
17917         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17918         Likewise.
17919         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17920         Likewise.
17921         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17922         Likewise.
17923         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17924         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17925         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17926         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17927         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17928         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17929         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17930         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17931         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17932         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17933         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17934         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17935         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17936         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17937         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17938         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17939         Likewise.
17940         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17941         Likewise.
17942         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17943         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17944         0x040300].
17945         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17946         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17947         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17948         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17949         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17950         0x030300].
17951         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17952         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17953         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17954         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17955         0x040300].
17956         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17957         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17958         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17959         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17960         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17961         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17962         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17963         0x030300].
17964         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17965         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17966         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17967         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17968         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17969         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17970         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17971         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17972         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17973         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17974         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17975         0x040300].
17976         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17977         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17978         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17979         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17980         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17981         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17982         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17983         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17984         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17985         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17986         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17987         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17988         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17989         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17990         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17991         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17992         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17993         Likewise.
17994         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17995         Likewise.
17997 2016-03-15  Andreas Schwab  <schwab@suse.de>
17999         [BZ #19257]
18000         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
18001         statp->_u._ext.nscount as loop count.
18003 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18005         * math/test-signgam-finite-c99.c: Also #undef
18006         __LIBC_INTERNAL_MATH_INLINES.
18007         * math/test-signgam-main.c: Likewise.
18009 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
18011         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
18012         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18013         (MADV_FREE): Likewise.
18014         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
18015         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
18016         EPOLLEXCLUSIVE.
18018 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
18020         * timezone/README: Remove mention of checktab.awk. Mention wiki
18021         SharedSourceFiles.
18023 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
18025         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
18026         WUNTRACED.
18028 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18030         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
18031         order to match the type of p when calling atomic_exchange_acq().
18033 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18035         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
18036         cfi_offset calls.
18037         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
18038         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
18039         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
18040         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
18041         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
18043 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
18045         * timezone/checktab.awk: Removed.
18047 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
18049         * manual/math.texi (Errors in Math Functions): Document relaxed
18050         accuracy goals for IBM long double.
18051         * math/libm-test.inc (test_exceptions): Always allow spurious
18052         "underflow" and "inexact" exceptions for IBM long double.
18054 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
18056         [BZ #19762]
18057         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18058         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
18059         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
18060         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
18061         (bit_arch_*): This for feature array.
18062         (bit_*): Renamed to ...
18063         (bit_cpu_*): This for cpu array.
18064         (index_*): Renamed to ...
18065         (index_arch_*): This for feature array.
18066         (index_*): Renamed to ...
18067         (index_cpu_*): This for cpu array.
18068         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
18069         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
18070         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
18071         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
18072         bit_##name with index_cpu_##name and bit_cpu_##name.
18073         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
18074         bit_##name with index_arch_##name and bit_arch_##name.
18076 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
18078         [BZ #19792]
18079         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
18080         Terminate FDE before return label.
18082 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
18084         [BZ #19790]
18085         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
18086         (rintl): Define as macro.
18087         [USE_AS_NEARBYINTL] (__rintl): Likewise.
18088         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
18089         of fesetround.  Ensure results are evaluated before end of scope.
18090         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
18091         USE_AS_NEARBYINTL and include s_rintl.c.
18092         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
18093         Disable exception traps in new environment.
18094         (libc_feholdsetround_ppc_ctx): Likewise.
18096 2016-03-08  Roland McGrath  <roland@hack.frob.com>
18098         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
18099         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
18100         (tst_audit10_aux) [__AVX512F__]: ... here.
18102 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
18104         * include/sys/auxv.h: New file.
18106 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18108         [BZ #19759]
18109         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
18111 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18113         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
18114         operand modifier.
18115         (feclearexcept): Likewise.
18117 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18119         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
18120         to reflect the entire 32-bit HWCAP.
18121         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
18122         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
18124 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18126         [BZ #19783]
18127         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
18128         $(test-via-rtld-prefix).
18129         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
18131 2016-03-08  Florian Weimer  <fweimer@redhat.com>
18133         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
18134         union wait.  Report any non-zero exit status as error.
18136 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18138         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
18139         configured with --enable-hardcoded-path-in-tests.
18141 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
18143         [BZ #19677]
18144         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18145         (__ieee754_remainderl): Put zero low parts in canonical form.
18146         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
18147         file.  Based on
18148         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
18149         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
18150         with wrapper round test-fmodrem-ldbl-128ibm.c.
18151         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
18152         file.
18153         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
18154         Likewise.
18155         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
18156         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
18158 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18160         [BZ #19610]
18161         * elf/ldconfig.c (opt_link): Update comment.
18162         (options): Update help string for option -X.
18163         (search_dir): Unlink stale symbolic link only if updating symbolic
18164         links.
18165         * elf/tst-ldconfig-X.sh: New file.
18166         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
18167         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
18169 2016-03-07  Andreas Schwab  <schwab@suse.de>
18171         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
18172         needed arguments.
18174 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
18176         [BZ #15333]
18177         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
18178         to lstat64.
18180 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18182         * libio/filedoalloc.c (isatty): Remove.
18183         (local_isatty): Add comment.  Call __isatty directly.
18184         (_IO_file_doallocate): Update comment.  Assume _LIBC.
18185         * libio/wfiledoalloc.c (isatty): Remove.
18186         (_IO_wfile_doallocate): Update comment.
18188 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18190         [BZ #19269]
18191         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
18192         tst-audit4-aux.o.
18193         (tst-audit10): Depend on tst-audit10-aux.o.
18194         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
18195         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
18196         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
18197         instead of inline AVX code.
18198         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
18199         instead of inline AVX512 code.
18200         * sysdeps/x86_64/tst-audit4-aux.c: New file
18201         * sysdeps/x86_64/tst-audit10-aux.c: New file
18203         [BZ #19648]
18204         * test-skeleton.c (main): Do not set RLIMIT_DATA.
18206 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18208         [BZ #14750]
18209         [BZ #10354]
18210         [BZ #18433]
18211         * include/sched.h (__clone): Add hidden prototype.
18212         (__clone2): Likewise.
18213         * include/unistd.h (__dup): Likewise.
18214         * posix/Makefile (tests): Add tst-spawn2.
18215         * posix/tst-spawn2.c: New file.
18216         * sysdeps/posix/dup.c (__dup): Add hidden definition.
18217         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
18218         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18219         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18220         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18221         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18222         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
18223         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18224         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
18225         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18226         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18228         Likewise.
18229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18230         Likewise.
18231         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18232         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18233         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18234         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18235         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18236         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18237         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18238         * sysdeps/unix/sysv/linux/nptl-signals.h
18239         (____nptl_is_internal_signal): New function.
18240         * sysdeps/unix/sysv/linux/spawni.c: New file.
18242         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
18243         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
18244         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
18245         * posix/tst-execvp2.c (do_test): Likewise.
18246         * posix/tst-execvp3.c (do_test): Likewise.
18247         * posix/tst-execvp4.c (do_test): Likewise.
18248         * posix/tst-execvpe1.c: New file.
18249         * posix/tst-execvpe2.c: Likewise.
18250         * posix/tst-execvpe3.c: Likewise.
18251         * posix/tst-execvpe4.c: Likewise.
18252         * posix/tst-execvpe5.c: Likewise.
18253         * posix/tst-execvpe6.c: Likewise.
18255         [BZ #19534]
18256         * posix/execl.c (execl): Remove dynamic memory allocation.
18257         * posix/execle.c (execle): Likewise.
18258         * posix/execlp.c (execlp): Likewise.
18260 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18262         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
18263         Replace .text with .text.avx512.
18264         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18265         Likewise.
18267 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
18269         * sysdeps/generic/libnsl.abilist: New file.
18270         * sysdeps/generic/libutil.abilist: New file.
18272 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18274         [BZ #19762]
18275         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
18276         HAS_ARCH_FEATURE with Fast_Rep_String.
18277         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
18278         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
18279         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
18280         Likewise.
18281         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
18282         Likewise.
18283         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
18284         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
18285         Likewise.
18286         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
18287         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
18288         Likewise.
18290 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18292         [BZ #19745]
18293         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18294         with *%rax in call.
18296 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18298         [BZ #19745]
18299         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18300         with *__libc_start_main@GOTPCREL(%rip) in call.
18302 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18304         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18305         inside conditional for nonempty $(CXX).
18307         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18308         nonempty.
18310         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18311         to test for empty $(CXX) rather than $(CXX) of "no".
18313 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18315         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18317 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18318             H.J. Lu  <hongjiu.lu@intel.com>
18320         [BZ #18880]
18321         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18322         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18323         enable __memcpy_ssse3_back.
18325 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18327         [BZ #19758]
18328         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18329         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18331 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18333         [BZ #19490]
18334         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18335         (__fentry__): Likewise.
18337 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18339         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18340         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18342 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18344         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18345         __mcount_internal directly.
18346         (C_LABEL(__fentry__)): Likewise.
18347         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18348         directly.
18350 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18352         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18353         (__start_context): Call __setcontext directly.
18355 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18357         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18358         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18359         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18360         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18361         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18362         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18363         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18364         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18365         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18366         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18367         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18368         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18369         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18370         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18371         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18372         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18373         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18374         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18375         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18376         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18377         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18378         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18379         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18380         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18381         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18382         Remove conditional code.
18383         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18384         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18385         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18386         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18387         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18388         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18389         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18390         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18391         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18392         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18393         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18394         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18396 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18398         * NEWS (2.23): Fix typo in bug 19048 text.
18400 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18402         [BZ #14259]
18403         * Makeconfig: Rename msgcatdir to localedir.
18404         Rename inst_msgcatdir to inst_localedir.
18405         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18406         * config.make.in: Add localedir.
18407         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18408         (ldd-rewrite): Likewise.
18409         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18410         (install-others): Use inst_localedir.
18411         (CPPFLAGS): Use localedir.
18412         * locale/Makefile (locale-CPPFLAGS): Likewise.
18413         * po/Makefile (mo-installed): Use inst_localedir.
18415         [BZ #19575]
18416         * localedata/charmaps/GB18030: Update comments regarding PAU to
18417         non-PUA mappings.
18419 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18421         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18422         test for header.
18423         * sysdeps/unix/sysv/linux/configure: Regenerated.
18424         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18425         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18426         Remove conditional code.
18427         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18429         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18430         Define to 3.2.0.
18431         (arch_minimum_kernel): Likewise.
18432         * sysdeps/unix/sysv/linux/configure: Regenerated.
18433         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18434         Define to 2.6.32.
18435         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18436         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18437         (arch_minimum_kernel): Define to 2.6.32.
18438         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18439         * README: Document Linux 3.2 requirement.
18440         * manual/install.texi (Linux): Document Linux 3.2 headers
18441         requirement.
18442         * INSTALL: Regenerated.
18444 2016-02-24  Andreas Schwab  <schwab@suse.de>
18446         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18447         if !NO_LONG_DOUBLE.
18449 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18451         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18452         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18454 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18456         [BZ #19512]
18457         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18459 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18461         * posix/tst-dir.c: Include libc-internal.h.
18463 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18465         [BZ #19056]
18466         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18467         * manual/filesys.texi (Reading/Closing Directory): Mention
18468         deprecaion.
18469         * posix/tst-dir.c (main): Disable deprecation warning in test.
18471 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18473         [BZ #19679]
18474         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18475         Renamed to ...
18476         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18477         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18478         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18479         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18480         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18481         * sysdeps/x86_64/dl-trampoline.h
18482         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18483         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18485 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18487         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18489 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18491         * elf/elf.h (R_386_GOT32X): New.
18492         (R_386_NUM): Update.
18493         (R_X86_64_GOTPCRELX: New.
18494         (R_X86_64_REX_GOTPCRELX): New.
18495         (R_X86_64_NUM): Update.
18497 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18499         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18501 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18503         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18504         assign attr->stackaddr to it, and adjust it down when
18505         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18506         [_STACK_GROWS_UP]: Delete assert.
18507         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18508         Implement stack grows up logic.
18509         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18510         stack grows up logic.
18512 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18514         * NEWS: Update with 2.24 template.
18516 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18518         [BZ #19678]
18519         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18520         Ensure +0.0 is returned when taking the next value below the least
18521         positive value.
18523 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18525         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18526         available.  Do not define NO_THREADS.
18527         * malloc/malloc.c: Do not check NO_THREADS.
18528         * malloc/arena.c: Likewise.
18530 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18532         * malloc/malloc.c (__libc_mallinfo): Update comment.
18533         (struct malloc_par): Remove max_total_mem member, it was always 0.
18534         (int_mallinfo): Store 0 into usmblks (no functional change).
18535         * malloc/hooks.c (struct malloc_state): Document that
18536         max_total_mem is always 0.
18537         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18538         always 0.
18539         * manual/memory.texi (Statistics of Malloc): Likewise.
18541 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18543         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18544         * malloc/arena.c (arena_max): Remove.
18545         (heap_trim, _int_new_arena): Do not update arena_max.
18547 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18549         * resolv/res_init.c (res_ninit): Update comment.
18551 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18553         [BZ #19505]
18554         * posix/spawn_int.h: Add headers and include guard.
18555         (__spawn_valid_fd): New function.
18556         * posix/spawn_faction_addopen.c
18557         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18558         * posix/spawn_faction_addclose.c
18559         (posix_spawn_file_actions_addclose): Likewise.
18560         * posix/spawn_faction_adddup2.c
18561         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18562         second file descriptor.
18563         * posix/spawn_valid_fd.c: New file.
18564         * posix/tst-posix_spawn-fd.c: New file.
18565         * posix/Makefile (routines): Add spawn_valid_fd.
18566         (tests): Add tst-posix_spawn-fd.
18568 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18570         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18571         (do_test): Limit the number of arenas, so that we can use fewer
18572         outer threads.  Limit timeout to 3 seconds, in preparation for a
18573         larger TIMEOUT value.
18575 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18577         [BZ #19674]
18578         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18579         sign in overflowing and underflowing results when overflow or
18580         underflow is detected early.  Include sign in result before rather
18581         than after scaling.
18583         [BZ #19603]
18584         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18585         (__ieee754_remainderl): Adjust sign of integer version of low part
18586         when taking absolute value of high part.
18587         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18588         * math/libm-test.inc (remainder_test_data): Add another test.
18589         (remquo_test_data): Likewise.
18591 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18593         [BZ #19602]
18594         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18595         equal high parts and both low parts zero specially.
18596         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18597         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18598         Add test-fmodl-ldbl-128ibm.
18600         [BZ #19595]
18601         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18602         common logic for all cases of shifting subnormal results.  Do not
18603         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18604         exponent to ldbl_insert_mantissa in subnormal case.
18606         [BZ #19594]
18607         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18608         on high and low parts then adjust result and use
18609         ldbl_canonicalize_int if needed.
18611         [BZ #19593]
18612         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18613         on high part and __floor or __ceil on low part then use
18614         ldbl_canonicalize_int if needed.
18616         [BZ #19592]
18617         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18618         high and low parts then use ldbl_canonicalize_int if needed.
18620         [BZ #17899]
18621         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18622         New function.
18623         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18624         on high and low parts then use ldbl_canonicalize_int if needed.
18626 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18628         * configure: Regenerated.
18630         * po/libc.pot: Regenerated.
18632         * po/be.po: Updated translation.
18633         * po/bg.po: Likewise.
18634         * po/ca.po: Likewise.
18635         * po/cs.po: Likewise.
18636         * po/da.po: Likewise.
18637         * po/el.po: Likewise.
18638         * po/eo.po: Likewise.
18639         * po/es.po: Likewise.
18640         * po/fi.po: Likewise.
18641         * po/fr.po: Likewise.
18642         * po/gl.po: Likewise.
18643         * po/hr.po: Likewise.
18644         * po/hu.po: Likewise.
18645         * po/ia.po: Likewise.
18646         * po/id.po: Likewise.
18647         * po/it.po: Likewise.
18648         * po/ja.po: Likewise.
18649         * po/lt.po: Likewise.
18650         * po/nb.po: Likewise.
18651         * po/nl.po: Likewise.
18652         * po/pt_BR.po: Likewise.
18653         * po/rw.po: Likewise.
18654         * po/sk.po: Likewise.
18655         * po/sl.po: Likewise.
18656         * po/sv.po: Likewise.
18657         * po/tr.po: Likewise.
18658         * po/zh_CN.po: Likewise.
18659         * po/zh_TW.po: Likewise.
18661         * version.h (RELEAES): Set to "development".
18662         (VERSION): Set to 2.23.90.
18664         * version.h (RELEASE): Set to "stable".
18665         (VERSION): Set to 2.23.
18666         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18668         * NEWS: Updated fixed bugs.
18670 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18671             Wilco Dijkstra  <wdijkstr@arm.com>
18673         [BZ #19462]
18674         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18675         (_STRING_INLINE_unaligned): This.
18676         * include/string.h: Include <string_private.h>.
18677         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18678         _STRING_INLINE_unaligned.
18679         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18680         (_STRING_INLINE_unaligned): New.
18681         * sysdeps/aarch64/string_private.h: New file.
18682         * sysdeps/generic/string_private.h: Likewise.
18683         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18684         * sysdeps/s390/string_private.h: Likewise.
18685         * sysdeps/x86/string_private.h: Likewise.
18686         * sysdeps/m68k/m680x0/m68020/bits/string.h
18687         (_STRING_ARCH_unaligned): Renamed to ...
18688         (_STRING_INLINE_unaligned): This.
18689         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18690         to ...
18691         (_STRING_INLINE_unaligned): This.
18692         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18693         to ...
18694         (_STRING_INLINE_unaligned): This.
18695         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18696         to ...
18697         (_STRING_INLINE_unaligned): This.
18699 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18700             H.J. Lu  <hongjiu.lu@intel.com>
18702         [BZ #19590]
18703         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18704         relocation.
18706 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18708         [BZ #18665]
18709         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18710         *herrno_p.
18711         (gaih_getanswer): Document functional behviour. Return tryagain
18712         if any result is tryagain.
18713         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18714         when freed.
18715         * resolv/res_send.c: Add copyright text.
18716         (__libc_res_nsend): Document that MAXPACKET is expected.
18717         (send_vc): Document. Remove buffer reuse.
18718         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18719         size of the buffer. Add Dprint for truncated UDP buffer.
18721 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18723         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18724         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18725         * INSTALL: Regenerate.
18727 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18728             Jonathan Wakely  <jwakely@redhat.com>
18729             Carlos O'Donell  <carlos@redhat.com>
18731         [BZ 19439]
18732         * math/Makefile (tests): Add test-math-isinff.
18733         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18734         * math/bits/mathcalls.h [__USE_MISC]: Use
18735         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18736         functions not in C++11 and which don't conflict e.g. isinff,
18737         isinfl etc.
18738         * math/test-math-isinff.cc: New file.
18740 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18742         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18744 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18746         [BZ #19529]
18747         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18749 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18751         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18753 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18755         [BZ #19550]
18756         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18757         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18758         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18759         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18760         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18761         New syscall entry.
18762         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18763         New syscall entry.
18764         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18765         syscall entry.
18767 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18769         [BZ #18240]
18770         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18771         unsigned int wraparound.
18773 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18775         [BZ #18240]
18776         * misc/bug18240.c: New test.
18777         * misc/Makefile (tests): Add it.
18779 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18780             Joseph Myers  <joseph@codesourcery.com>
18782         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18783         load in branch delay slot when less than a word of input left.
18785 2016-01-27  Andreas Schwab  <schwab@suse.de>
18787         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18788         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18789         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18790         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18792 2016-01-26  David S. Miller  <davem@davemloft.net>
18794         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18796 2016-01-25  David S. Miller  <davem@davemloft.net>
18798         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18799         __sqrtl_finite.
18800         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18801         instead using versioned_symbol.
18802         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18803         of entries.
18805         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18806         __sqrtl_finite to GLIBC_2.23
18808 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18810         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18812 2016-01-25  Andreas Schwab  <schwab@suse.de>
18814         [BZ #17514]
18815         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18816         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18817         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18818         * nptl/tst-mutex-errorcheck.c: New file.
18820 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18822         [BZ #18560]
18823         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18824         (IPCOP_semop): Likewise.
18825         (IPCOP_semget): Likewise.
18826         (IPCOP_semctl): Likewise.
18827         (IPCOP_msgsnd): Likewise.
18828         (IPCOP_msgrcv): Likewise.
18829         (IPCOP_msgget): Likewise.
18830         (IPCOP_msgctl): Likewise.
18831         (IPCOP_shmat): Likewise.
18832         (IPCOP_shmdt): Likewise.
18833         (IPCOP_shmget): Likewise.
18834         (IPCOP_shmctl): Likewise.
18836 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18838         * string/tst-endian.c: Include <libc-internal.h>.
18839         (do_test): Ignore tautological-compare warnings around
18840         "htobeXX (beXXtoh (i)) != i" and
18841         "htoleXX (leXXtoh (i)) != i" if-statements.
18843 2016-01-24  David S. Miller  <davem@davemloft.net>
18845         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18846         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18847         alias.
18848         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18849         __sqrtl_finite.
18851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18853 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18855         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18856         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18857         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18859 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18861         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18862         (thread_func): Use new function to simplify barrier check.
18863         (do_test): Use new function to simplify checking barrier exit
18864         code, and actually join the child thread.
18866 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18868         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18869         semicolon.
18870         (__libc_tend): Likewise.
18871         (__libc_tabort): Likewise.
18873 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18875         * sysdeps/nios2/libm-test-ulps: Update.
18876         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18877         (__gtsf2): Likewise.
18878         (__unorddf2): Likewise.
18879         (__unordsf2): Likewise.
18880         (__ledf2): Likewise.
18882 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18884         * nis/nis_table.c (__follow_path): Disable diagnostic for
18885         uninitialized variable that is a false positive for gcc 4.7.
18886         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18888 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18890         * sysdeps/nacl/lowlevellock-futex.h
18891         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18892         Always evaluate PRIVATE argument.
18894 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18896         [BZ #19490]
18897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18898         (pthread_cond_broadcast): Use ENTRY/END
18899         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18900         (pthread_cond_signal): Likewise.
18901         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18902         Likewise.
18903         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18904         Likewise.
18905         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18906         Likewise.
18908 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18910         * sysdeps/ieee754/dbl-64/s_finite.c
18911         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18912         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18913         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18914         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18915         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18918         (__gtsf2): Add as optional for libc.so.
18919         (__unordsf2): Likewise.
18920         (__signbit): Remove for libc.so.
18921         (__signbitl): Likewise.
18923 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18925         * iconvdata/bug-iconv11.c (test_ibm93x):
18926         Use %zu printf format specifier for size_t argument.
18928 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18930         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18931         already-recorded ulps.
18932         * sysdeps/arm/libm-test-ulps: Regenerated.
18933         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18934         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18935         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18937 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18938             Paul Pluzhnikov  <ppluzhnikov@google.com>
18940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18941         assembler not supporting AVX-512.
18943 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18945         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18947 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18949         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18950         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18952         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18954         * sysdeps/arm/libm-test-ulps: Regenerated.
18956 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18958         [BZ #19451]
18959         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18961 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18963         [BZ #19486]
18964         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18965         * sysdeps/generic/fix-fp-int-convert-overflow.h
18966         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18967         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18968         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18969         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18970         Likewise.
18971         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18972         Avoid conversions to long int where inexact exceptions
18973         could be raised.
18974         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18975         Likewise.
18976         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18977         Avoid conversions to long long int where inexact exceptions
18978         could be raised.
18979         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18980         Likewise.
18982 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18984         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18985         * configure: Regenerated.
18987 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18989         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18991 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18993         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18994         outside of comment.
18996 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18998         * nptl/tst-barrier1.c: Add description on first line.
18999         * nptl/tst-barrier2.c: Likewise.
19000         * nptl/tst-barrier3.c: Likewise.
19001         * nptl/tst-barrier4.c: Likewise.
19002         * nptl/tst-barrier5.c: Likewise.
19004 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19006         [BZ #18868]
19007         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
19009 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19011         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
19012         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19013         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
19014         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
19015         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
19016         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
19017         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19018         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19019         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19020         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19021         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19023 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19025         [BZ #13065]
19026         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
19027         new implementation.
19028         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
19029         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
19030         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
19031         (BARRIER_IN_THRESHOLD): New macro.
19032         * nptl/pthread_barrierattr_setpshared.c
19033         (pthread_barrierattr_setpshared): Clean up.
19034         * nptl/tst-barrier4.c: Correct comment.
19035         * nptl/tst-barrier5.c: New file.
19036         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
19037         (gen-as-const-headers): Remove lowlevelbarrier.sym.
19038         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
19039         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
19040         * nptl/lowlevelbarrier.sym: Remove.
19041         * nptl/DESIGN-barrier.txt: Remove.
19042         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
19043         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
19044         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
19045         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
19046         error.
19047         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
19048         implementation.
19050 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19052         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
19053         (do_child): Mask SIGRTMIN while thr is running.
19055 2016-01-15  Martin Sebor  <msebor@redhat.com>
19057         [BZ #19432]
19058         * iconvdata/Makefile: Add bug-iconv11.
19059         * iconvdata/bug-iconv11.c: New test.
19060         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
19061         * iconvdata/ibm933.c: Same.
19062         * iconvdata/ibm935.c: Same.
19063         * iconvdata/ibm937.c: Same.
19064         * iconvdata/ibm939.c: Same.
19066 2016-01-15  Martin Sebor  <msebor@redhat.com>
19068         [BZ #19443]
19069         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
19070         [DEBUG] (_ufc_set_bits): Declare used.
19071         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
19072         [DEBUG] (print_all): Declare used.
19073         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
19074         operands of the ternary ?: expression to target type.
19075         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
19076         calling the undeclared abort.
19077         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
19079 2016-01-15  Martin Sebor  <msebor@redhat.com>
19081         [BZ #18755]
19082         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
19083         warnings.
19084         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
19085         (__gai_create_helper_thread): Same.
19086         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
19087         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
19088         to suppress -Wmaybe-uninitialized warnings.
19090 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
19092         [BZ #19465]
19093         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
19094         inside if.
19095         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19096         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19097         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19099 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
19101         [BZ #19466]
19102         * time/tst-mktime2.c (time_t_max): Removed.
19103         (time_t_min): Likewise.
19104         (TYPE_SIGNED): New.
19105         (TYPE_MINIMUM): Likewise.
19106         (TYPE_MAXIMUM): Likewise.
19107         (TIME_T_MIN): Likewise.
19108         (TIME_T_MAX): Likewise.
19109         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
19110         and TIME_T_MIN.
19111         (do_test): Likewise.
19113 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
19115         [BZ #19467]
19116         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19117         index_Fast_Unaligned_Load flag for Excavator family CPUs.
19119 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
19121         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
19123 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
19125         * benchtests/Makefile (PYTHON): Define.
19126         (bench-func): Use $(PYTHON) to run python scripts.
19127         ($(objpfx)bench-%.c): Likewise.
19129 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
19131         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
19132         leading slash when `file_name' is "/".
19134 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
19136         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
19137         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
19138         Likewise.
19139         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
19140         Likewise.
19141         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
19142         Likewise.
19143         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
19144         enum constant and macro.
19145         (PTRACE_SETSIGMASK): Likewise.
19146         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19147         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19148         (PTRACE_GETSIGMASK): Likewise.
19149         (PTRACE_SETSIGMASK): Likewise.
19150         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19151         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
19152         Likewise.
19153         (PTRACE_SETSIGMASK): Likewise.
19154         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19155         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19156         (PTRACE_GETSIGMASK): Likewise.
19157         (PTRACE_SETSIGMASK): Likewise.
19158         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19159         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
19160         Likewise.
19161         (PTRACE_SETSIGMASK): Likewise.
19162         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19163         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
19164         Likewise.
19165         (PTRACE_SETSIGMASK): Likewise.
19166         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19167         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
19168         Likewise.
19169         (PTRACE_SETSIGMASK): Likewise.
19170         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19172 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
19173             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19175         [BZ #19439]
19176         * math/bits/mathcalls.h
19177         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
19178         prototype.
19179         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
19181 2016-01-11  Andreas Schwab  <schwab@suse.de>
19183         [BZ #19253]
19184         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
19185         cache when TZDEFRULES was used.
19186         * time/tst-tzname.c: New file.
19187         * time/Makefile (test): Add tst-tzname.
19188         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
19189         * timezone/Makefile (test-zones): Add $(posixrules-file).
19190         ($(testdata)/$(posixrules-file)): New rule.
19192 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
19194         Fix doc quoting problems with Texinfo 5
19195         Without this change, in the info file output, Texinfo 5 quotes code
19196         in text with undirected single quotes 'like this' and generates
19197         code examples that with many PDF readers cannot be cut out of PDFs
19198         and pasted into code.
19199         * manual/libc.texinfo: Configure the libc manual like the GNU
19200         Emacs manual, by using @documentencoding and setting
19201         txicodequoteundirected and txicodequotebacktick.  This way,
19202         Texinfo 5 quotes code in text with directed single quotes ‘like
19203         this’ and produces examples that can be cut out of PDFs.  This
19204         change causes Texinfo 5 to generate info files that contain UTF-8
19205         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
19206         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
19208 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19210         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
19211         __libc_tabort, __libc_tend): New wrappers that enforce compiler
19212         barriers to their respective compiler built-ins.
19213         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
19214         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
19215         * sysdeps/powerpc/sysdep.h: Likewise.
19216         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
19217         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
19218         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
19220 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
19222         * scripts/config.guess: Revert previous shebang change.
19223         * scripts/config.sub: Likewise.
19224         * scripts/mkinstalldirs: Likewise.
19226 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19228         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
19229         PPC_FEATURE2_HAS_IEEE128.
19230         * sysdeps/powerpc/dl-procinfo.c:
19231         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
19233 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
19235         [BZ #19415]
19236         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
19237         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
19238         (_dl_lookup_address): Rewrite using function resolver trampoline.
19239         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
19240         two bits in address.
19242 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19244         * longlong.h: Change !__SHMEDIA__ to
19245         (!defined (__SHMEDIA__) || !__SHMEDIA__).
19246         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
19248 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
19249             Joseph Myers  <joseph@codesourcery.com>
19250             Mark Shinwell  <shinwell@codesourcery.com>
19251             Andrew Stubbs  <ams@codesourcery.com>
19252             Rich Felker <dalias@libc.org>
19254         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
19256 2016-01-07  Richard Henderson  <rth@redhat.com>
19258         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
19260 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19262         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
19263         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
19264         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19265         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19266         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
19268 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
19269             Joseph Myers  <joseph@codesourcery.com>
19271         * timezone/private.h: Update from tzcode 2015g.
19272         * timezone/tzfile.h: Likewise.
19273         * timezone/tzselect.ksh: Likewise.
19274         * timezone/zdump.c: Likewise.
19275         * timezone/zic.c: Likewise.
19276         * timezone/ialloc.c: Remove file.
19277         * timezone/scheck.c: Likewise.
19278         * timezone/Makefile (extra-objs): Remove variable.
19279         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
19280         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
19281         -Wno-maybe-uninitialized.
19282         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
19283         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
19284         (CFLAGS-ialloc.c): Remove variable.
19285         (CFLAGS-scheck.c): Likewise.
19286         * timezone/README: Update list of files from tzcode.
19288 2016-01-07  Khem Raj  <raj.khem@gmail.com>
19290         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
19291         instead of __fxprintf when _LIBC is undefined.
19293 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19295         * catgets/test-gencat.sh: Remove space after shebang.
19296         * conform/GlibcConform.pm: Likewise.
19297         * conform/check-header-lists.sh: Likewise.
19298         * conform/conformtest.pl: Likewise.
19299         * conform/linknamespace.pl: Likewise.
19300         * conform/list-header-symbols.pl: Likewise.
19301         * debug/catchsegv.sh: Likewise.
19302         * elf/genrtldtbl.awk: Likewise.
19303         * elf/tst-pathopt.sh: Likewise.
19304         * elf/tst-rtld-load-self.sh: Likewise.
19305         * grp/tst_fgetgrent.sh: Likewise.
19306         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19307         * iconvdata/gen-8bit-gap.sh: Likewise.
19308         * iconvdata/gen-8bit.sh: Likewise.
19309         * iconvdata/run-iconv-test.sh: Likewise.
19310         * intl/tst-gettext.sh: Likewise.
19311         * intl/tst-gettext2.sh: Likewise.
19312         * intl/tst-gettext4.sh: Likewise.
19313         * intl/tst-gettext6.sh: Likewise.
19314         * intl/tst-translit.sh: Likewise.
19315         * io/ftwtest-sh: Likewise.
19316         * libio/test-freopen.sh: Likewise.
19317         * locale/gen-translit.pl: Likewise.
19318         * malloc/tst-mtrace.sh: Likewise.
19319         * manual/check-safety.sh: Likewise.
19320         * manual/libc-texinfo.sh: Likewise.
19321         * manual/tsort.awk: Likewise.
19322         * manual/xtract-typefun.awk: Likewise.
19323         * nptl/tst-cancel-wrappers.sh: Likewise.
19324         * nptl/tst-tls6.sh: Likewise.
19325         * posix/globtest.sh: Likewise.
19326         * posix/tst-getconf.sh: Likewise.
19327         * posix/wordexp-tst.sh: Likewise.
19328         * scripts/check-c++-types.sh: Likewise.
19329         * scripts/check-local-headers.sh: Likewise.
19330         * scripts/config.guess: Likewise.
19331         * scripts/config.sub: Likewise.
19332         * scripts/cpp: Likewise.
19333         * scripts/cross-test-ssh.sh: Likewise.
19334         * scripts/documented.sh: Likewise.
19335         * scripts/evaluate-test.sh: Likewise.
19336         * scripts/gen-libc-abis: Likewise.
19337         * scripts/gen-sorted.awk: Likewise.
19338         * scripts/list-fixed-bugs.py: Likewise.
19339         * scripts/merge-test-results.sh: Likewise.
19340         * scripts/mkinstalldirs: Likewise.
19341         * scripts/rellns-sh: Likewise.
19342         * scripts/test-installation.pl: Likewise.
19343         * scripts/update-copyrights: Likewise.
19344         * stdio-common/tst-printf.sh: Likewise.
19345         * stdio-common/tst-unbputc.sh: Likewise.
19346         * stdlib/tst-fmtmsg.sh: Likewise.
19347         * stdlib/tst-setcontext3.sh: Likewise.
19348         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19349         * sysdeps/unix/make-syscalls.sh: Likewise.
19351 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19353         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19354         asm stw with atomic_exchange_rel.  Add explanatory comment.
19355         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19356         Likewise.
19358 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19360         [BZ #19122]
19361         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19362         * sysdeps/generic/dl-unistd.h: New file.
19363         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19365 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19367          [BZ #19122]
19368          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19369          * sysdeps/generic/dl-mman.h: New file.
19370          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19372 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19374         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19375         trailing whitespace removed.
19376         * scripts/config.guess: Update to version 2016-01-01.
19377         * scripts/config.sub: Update to version 2016-01-01.
19378         * scripts/move-if-change: Update from gnulib.
19380 2016-01-04  Anton Blanchard  <anton@samba.org>
19382         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19383         for array indices.
19384         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19386 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19388         * NEWS: Update copyright dates.
19389         * catgets/gencat.c (print_version): Likewise.
19390         * csu/version.c (banner): Likewise.
19391         * debug/catchsegv.sh: Likewise.
19392         * debug/pcprofiledump.c (print_version): Likewise.
19393         * debug/xtrace.sh (do_version): Likewise.
19394         * elf/ldconfig.c (print_version): Likewise.
19395         * elf/ldd.bash.in: Likewise.
19396         * elf/pldd.c (print_version): Likewise.
19397         * elf/sotruss.sh: Likewise.
19398         * elf/sprof.c (print_version): Likewise.
19399         * iconv/iconv_prog.c (print_version): Likewise.
19400         * iconv/iconvconfig.c (print_version): Likewise.
19401         * locale/programs/locale.c (print_version): Likewise.
19402         * locale/programs/localedef.c (print_version): Likewise.
19403         * login/programs/pt_chown.c (print_version): Likewise.
19404         * malloc/memusage.sh (do_version): Likewise.
19405         * malloc/memusagestat.c (print_version): Likewise.
19406         * malloc/mtrace.pl: Likewise.
19407         * manual/libc.texinfo: Likewise.
19408         * nptl/version.c (banner): Likewise.
19409         * nscd/nscd.c (print_version): Likewise.
19410         * nss/getent.c (print_version): Likewise.
19411         * nss/makedb.c (print_version): Likewise.
19412         * posix/getconf.c (main): Likewise.
19413         * scripts/test-installation.pl: Likewise.
19414         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19416         * All files with FSF copyright notices: Update copyright dates
19417         using scripts/update-copyrights.
19418         * intl/plural.c: Regenerated.
19419         * locale/programs/charmap-kw.h: Likewise.
19420         * locale/programs/locfile-kw.h: Likewise.
19422 2016-01-02  Helge Deller  <deller@gmx.de>
19424         [BZ #19285]
19425         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19426         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19427         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19428         (MADV_xxK_PAGES): Remove.
19430 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19432         [BZ #15421]
19433         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19434         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19435         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19436         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19438 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19440         [BZ #19408]
19441         * sysdeps/unix/sysv/linux/personality.c: New file.
19442         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19443         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19444         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19445         (sysdep_routines): Add personality.
19446         (tests): Add tst-personality.
19447         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19448         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19449         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19450         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19451         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19452         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19453         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19454         Likewise.
19455         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19456         Likewise.
19457         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19458         Likewise.
19459         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19460         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19461         Likewise.
19463 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19465         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19466         (PATH_ARM_SYSTYPE): Remove.
19467         (PATH_CPUINFO): Likewise.
19468         (IO_BASE_FOOTBRIDGE): Likewise.
19469         (IO_SHIFT_FOOTBRIDGE): Likewise.
19470         (struct platform): Likewise.
19471         (init_iosys): Remove compatibility code for 2.4 kernels.
19472         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19474 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19476         * malloc/tst-malloc-thread-fail.c: New file.
19477         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19478         (tst-malloc-thread-fail): Link against libpthread.
19480 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19482         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19483         (get_parser): New function.
19484         (main): New function.
19486 2015-12-29  Rob Wu  <rob@robwu.nl>
19488         [BZ #19369]
19489         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19491 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19493         [BZ #19270]
19494         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19496 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19498         [BZ #15421]
19499         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19501 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19503         [BZ #13690]
19504         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19505         after releasing it.
19506         (__lll_robust_unlock): Likewise.
19507         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19508         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19509         (lll_robust_unlock): Likewise.
19510         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19511         Prevent warnings in callers.
19513 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19515         * malloc/arena.c (list_lock): Update comment.
19517 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19519         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19520         __parse_hwcap_and_convert_at_platform to libc.a.
19522 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19524         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19525         platform and feature support for POWER9.
19526         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19527         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19528         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19529         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19530         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19531         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19532         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19533         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19535 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19537         Harmonize generic stdio-lock support with nptl
19539         This fixes build when _IO_funlockfile is a macro, fixes build where
19540         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19541         stack unwind.
19543         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19544         _IO_release_lock ): Use cleanup attribute on new
19545         _IO_acquire_lock_file variable instead of assuming that
19546         _IO_release_lock will be called.
19547         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19548         _IO_acquire_lock_needs_exceptions_enabled.
19549         (_IO_acquire_lock_clear_flags2): New macro.
19551 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19553         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19555 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19557         [BZ #19182]
19558         * malloc/arena.c (list_lock): Document lock ordering requirements.
19559         (free_list_lock): New lock.
19560         (ptmalloc_lock_all): Comment on free_list_lock.
19561         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19562         (detach_arena): Update comment.  free_list_lock is now needed.
19563         (_int_new_arena): Use free_list_lock around detach_arena call.
19564         Acquire arena lock after list_lock.  Add comment, including FIXME
19565         about incorrect synchronization.
19566         (get_free_list): Switch to free_list_lock.
19567         (reused_arena): Acquire free_list_lock around detach_arena call
19568         and attached threads counter update.  Add two FIXMEs about
19569         incorrect synchronization.
19570         (arena_thread_freeres): Switch to free_list_lock.
19571         * malloc/malloc.c (struct malloc_state): Update comments to
19572         mention free_list_lock.
19574 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19576         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19577         Remove functions.
19578         (sloww, sloww1): Accept argument to offset quadrant.
19579         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19580         quadrant.
19581         (__sin, __cos): Consolidate common code into new functions.
19582         (reduce_sincos_1, do_sincos_1): New functions.
19583         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19585         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19586         code to new functions.
19587         (reduce_sincos_2, do_sincos_2): New functions.
19588         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19590         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19591         common code for sincos.
19592         (__cos) [!IN_SINCOS]: Likewise.
19593         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19594         New function.
19595         (__sincos): Use it.
19597 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19599         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19600         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19601         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19603 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19605         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19606         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19608         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19609         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19610         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19611         index_Prefer_No_VZEROUPPER): New feature.
19612         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19613         Prefer_No_VZEROUPPER for Knights Landing.
19615 015-12-18  Torvald Riegel  <triegel@redhat.com>
19617         * math/atest-exp2.c (mp_exp_m1): Remove.
19619 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19621         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19622         syscalls.
19623         (__SYSCALL0): New macro.
19624         (__SYSCALL1): Likewise.
19625         (__SYSCALL2): Likewise.
19626         (__SYSCALL3): Likewise.
19627         (__SYSCALL4): Likewise.
19628         (__SYSCALL5): Likewise.
19629         (__SYSCALL6): Likewise.
19630         (__SYSCALL_CONCAT_X): Likewise.
19631         (__SYSCALL_CONCAT): Likewise.
19632         (__SYSCALL_DIST): Likewise.
19633         (__SYSCALL_CALL): Likewise.
19635 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19637         [BZ #19363]
19638         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19640 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19642         [BZ #19375]
19643         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19644         negative subnormals.
19646 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19648         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19649         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19650         (INTERNAL_SYSCALL_NCS): Use it.
19651         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19653 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19655         [BZ #19243]
19656         * malloc/arena.c (get_free_list): Remove assert and adjust
19657         reference count handling.  Add comment about reused_arena
19658         interaction.
19659         (reused_arena): Add comments abount get_free_list interaction.
19660         * malloc/tst-malloc-thread-exit.c: New file.
19661         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19662         (tst-malloc-thread-exit): Link against libpthread.
19664 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19666         [BZ #19367]
19667         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19668         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19669         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19670         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19671         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19673 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19675         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19676         Silvermont optimizations for Knights Landing.
19678 2015-12-15  Andreas Schwab  <schwab@suse.de>
19680         [BZ #17197]
19681         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19682         immediately after emitting SI.
19683         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19684         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19685         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19686         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19687         * iconvdata/bug-iconv10.c: New file.
19688         * iconvdata/Makefile (tests): Add bug-iconv10.
19689         ($(objpfx)bug-iconv10.out): New rule.
19691 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19693         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19694         aliasing violation.
19696 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19698         [BZ #18472]
19699         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19700         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19701         conditionals for them.
19702         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19703         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19705         sys/kdaemon.h.
19706         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19707         compat-only syscall, obsoleted in glibc 2.23.
19708         (create_module): Likewise.
19709         (get_kernel_syms): Likewise.
19710         (query_module): Likewise.
19711         (uselib): Likewise.
19712         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19714 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19716         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19717         <linux/version.h>.
19718         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19719         conditional code.
19720         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19721         and ioshift_name initialization.
19723 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19725         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19726         Fix indentation.
19728 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19730         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19732 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19734         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19736 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19737             Jakub Wilk  <jwilk@debian.org>
19739         [BZ #19347]
19740         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19741         to change the group of the device to the tty group.
19743 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19745         Split large string section; add truncation advice
19746         * manual/examples/strncat.c: Remove.
19747         This example was misleading, as the code would have undefined
19748         behavior if "hello" was longer than SIZE.  Anyway, the manual
19749         shouldn't encourage strncpy+strncat for this sort of thing.
19750         * manual/string.texi (Copying Strings and Arrays): Split into
19751         three sections Copying Strings and Arrays, Concatenating Strings,
19752         and Truncating Strings, as this section was way too long.  All
19753         cross-referenced changed.  Add advice about string-truncation
19754         functions.  Remove misleading strncat example.
19756 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19758         * manual/nss.texi (NSS Modules Interface): Document
19759         NSS_STATUS_NOTFOUND and SUCCESS.
19761 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19763         [BZ 18568]
19764         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19765         201505L, for Unicode 8.
19767 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19769         * locale/C-translit.h: Regenerate.
19771 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19773         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19774         and U+0153.
19776 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19778         [BZ #19351]
19779         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19780         expanding log(1+z), compare z rather than its square with epsilon
19781         to determine when to avoid evaluating the expansion.
19783         [BZ #19350]
19784         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19785         Increase overflow threshold.
19787         [BZ #19349]
19788         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19789         when small.
19791         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19792         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19793         New macro.
19794         [__LINUX_KERNEL_VERSION >= 0x040300]
19795         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19796         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19797         Likewise.
19798         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19799         Likewise.
19800         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19801         Likewise.
19802         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19803         Likewise.
19804         [__LINUX_KERNEL_VERSION >= 0x040300]
19805         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19806         [__LINUX_KERNEL_VERSION >= 0x040300]
19807         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19808         [__LINUX_KERNEL_VERSION >= 0x040300]
19809         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19810         [__LINUX_KERNEL_VERSION >= 0x040300]
19811         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19812         [__LINUX_KERNEL_VERSION >= 0x040300]
19813         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19814         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19815         Likewise.
19816         [__LINUX_KERNEL_VERSION >= 0x040300]
19817         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19818         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19819         Likewise.
19820         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19821         Likewise.
19822         [__LINUX_KERNEL_VERSION >= 0x040300]
19823         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19825         Likewise.
19826         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19827         Likewise.
19828         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19829         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19830         Likewise.
19831         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19832         Likewise.
19833         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19834         Likewise.
19835         [__LINUX_KERNEL_VERSION >= 0x040300]
19836         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19837         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19838         Likewise.
19839         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19840         Likewise.
19841         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19842         Likewise.
19843         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19844         Likewise.
19845         [__LINUX_KERNEL_VERSION >= 0x040300]
19846         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19847         [__LINUX_KERNEL_VERSION >= 0x040300]
19848         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19849         [__LINUX_KERNEL_VERSION >= 0x040300]
19850         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19851         [__LINUX_KERNEL_VERSION >= 0x040300]
19852         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19853         [__LINUX_KERNEL_VERSION >= 0x040300]
19854         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19855         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19856         Likewise.
19857         [__LINUX_KERNEL_VERSION >= 0x040300]
19858         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19859         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19860         Likewise.
19861         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19862         Likewise.
19863         [__LINUX_KERNEL_VERSION >= 0x040300]
19864         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19866         Likewise.
19867         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19868         Likewise.
19869         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19870         (__ASSUME_SOCKET_SYSCALL): Likewise.
19871         (__ASSUME_BIND_SYSCALL): Likewise.
19872         (__ASSUME_CONNECT_SYSCALL): Likewise.
19873         (__ASSUME_LISTEN_SYSCALL): Likewise.
19874         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19875         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19876         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19877         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19878         (__ASSUME_SEND_SYSCALL): Likewise.
19879         (__ASSUME_SENDTO_SYSCALL): Likewise.
19880         (__ASSUME_RECV_SYSCALL): Likewise.
19881         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19882         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19883         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19884         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19885         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19886         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19887         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19888         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19889         Likewise.
19890         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19891         Likewise.
19892         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19893         Likewise.
19894         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19895         Likewise.
19896         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19897         Likewise.
19898         [__LINUX_KERNEL_VERSION >= 0x020625]
19899         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19900         [__LINUX_KERNEL_VERSION >= 0x020625]
19901         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19902         [__LINUX_KERNEL_VERSION >= 0x020625]
19903         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19904         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19905         Likewise.
19906         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19907         Likewise.
19908         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19909         Likewise.
19910         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19911         Likewise.
19912         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19913         Likewise.
19914         [__LINUX_KERNEL_VERSION >= 0x020625]
19915         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19916         [__LINUX_KERNEL_VERSION >= 0x020625]
19917         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19918         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19919         Likewise.
19920         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19921         Likewise.
19923 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19925         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19926         record the current if the current ABI and CPU support the FP64
19927         extension.
19928         (has-modd-spreg): Define to record the current if the current ABI and
19929         CPU support 32-bit floating point values in odd FPU registers.
19930         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19931         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19932         $(has-modd-spreg) equals yes.
19933         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19934         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19935         $(has-modd-spreg) equal yes.
19937 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19939         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19940         basename.
19942 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19944         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19945         (bench-string): ... here.
19946         (bench): Add bench-string.
19947         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19948         to *-benchset to reflect what they are.
19949         (benchset): Adjust.
19951         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19952         cos-inputs.
19954 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19956         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19957         __attribute__ ((__simd__)) for vector math function declarations.
19959 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19961         Fix typo in strncat, wcsncat manual entries
19962         * manual/string.texi (Copying and Concatenation): Fix typos in
19963         sample implementations of strncat and wcsncat, by having them use
19964         the old value of the destination length, not the new one.
19966 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19968         [BZ #16961]
19969         [BZ #16962]
19970         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19971         string on the stack for strtod.
19972         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19973         a string on the stack for strtof.
19974         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19975         constructing a string on the stack for strtold.
19976         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19977         __strtold_nan to GLIBC_PRIVATE.
19978         * math/test-nan-overflow.c: New file.
19979         * math/test-nan-payload.c: Likewise.
19980         * math/Makefile (tests): Add test-nan-overflow and
19981         test-nan-payload.
19983 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19985         Consistency about byte vs character in string.texi
19986         * manual/string.texi (String and Array Utilities):
19987         Distinguish more carefully among bytes, multibyte characters,
19988         and wide characters.  Use "byte" when talking about C 'char',
19989         to distinguish it more clearly from multibyte characters.
19990         Say "wide character" or "multibyte character" instead of
19991         "character", when a wide or multibyte character is intended.
19992         Similarly for "multibyte string" versus "string".
19993         Define these terms more carefully.
19995 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19997         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19998         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19999         Likewise.
20000         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20001         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20002         * sysdeps/sh/math_private.h: New file.
20003         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
20004         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
20005         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
20006         long double function name.
20007         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20008         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20009         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20010         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20011         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20013         Remove __finitel, __isinfl, and __isnanl.
20014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20015         Likewise.
20016         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20018         Remove __finitel.
20019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20020         Likewise.
20021         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20023 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
20025         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
20026         installed libmvec_nonshared.a.
20028 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20030         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
20031         (sysdep_routines): Likewise.
20032         (sysdep-rtld-routines): Likewise.
20033         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
20034         [$(subdir) = nptl](tests-static): test-get_hwcap-static
20035         * sysdeps/powerpc/Versions: Added new
20036         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
20037         * sysdeps/powerpc/hwcapinfo.c: New file.
20038         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
20039         and parse hwcap, hwcap2 and platform number information.
20040         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
20041         to store HWCAP+HWCAP2 and platform number.
20042         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
20043         for HWCAP+HWCAP2 and platform number in the TCB.
20044         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
20045         the HWCAP, HWCAP2 and platform number in the TCB.
20046         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
20047         (TLS_INIT_TP): Included calls to add the hwcap and
20048         at_platform values in the TCB in TP initialization.
20049         (TLS_DEFINE_INIT_TP): Likewise.
20050         (THREAD_GET_HWCAP): New macro.
20051         (THREAD_SET_HWCAP): Likewise.
20052         (THREAD_GET_AT_PLATFORM): Likewise.
20053         (THREAD_SET_AT_PLATFORM): Likewise.
20054         * sysdeps/powerpc/powerpc32/dl-machine.h:
20055         (dl_platform_init): New function that calls
20056         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
20057         powerpc32.
20058         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
20059         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
20060         this functionality, static linking case.
20061         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
20062         linking case.
20063         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
20064         __parse_hwcap_and_convert_at_platform for the static linking case.
20065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
20066         Included the new __parse_hwcap_and_convert_at_platform symbol in the
20067         ABI list for GLIBC 2.23.
20068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
20069         Likewise.
20070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
20071         Likewise.
20073 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
20075         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
20076         * configure: Regenerate.
20077         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
20078         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
20080 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
20082         * iconvdata/ibm930.c: Add comment explaining encoding uses.
20083         * iconvdata/ibm933.c: Likewise.
20084         * iconvdata/ibm935.c: Likewise.
20085         * iconvdata/ibm937.c: Likewise.
20086         * iconvdata/ibm939.c: Likewise.
20088 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20090         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
20091         pthread_join.
20092         * nptl/tst-cancel21.c (tf): Likewise.
20094 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
20096         [BZ #19313]
20097         * bits/typesizes.h (__CPU_MASK_TYPE): New.
20098         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20099         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20100         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
20101         Likewise.
20102         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
20103         Likewise.
20104         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
20105         Likewise.
20106         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
20107         Likewise.
20108         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
20109         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
20110         unsigned long int with __CPU_MASK_TYPE.
20112 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20114         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20116 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
20118         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
20119         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
20120         t512.x.
20121         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
20123 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
20125         [BZ #19214]
20126         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
20127         argument to return extended model.  Update family and model
20128         with extended family and model when family == 0x0f.
20129         (init_cpu_features): Updated.
20131 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20133         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
20134         signed off_t, so 32bit bigger than 2GiB values are fine actually.
20136         * sysdeps/mach/hurd/mmap64.c: New file.
20138 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
20140         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
20141         rights for its main user thread in NEWTASK.
20143 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
20145         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
20146         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
20148 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
20150         [BZ #14259]
20151         * Makeconfig: Rename localedir to complocaledir.
20152         Rename inst_localedir to inst_complocaledir.
20153         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
20154         * config.make.in: Use complocaledir and libc_cv_complocaledir.
20155         * configure.ac: Use libc_cv_complocaledir.
20156         * configure: Regenerate.
20157         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
20158         -DCOMPLOCALEDIR.
20159         * locale/findlocale.c: Use COMPLOCALEDIR.
20160         * locale/loadarchive.c: Likewise.
20161         * locale/programs/locale.c: Likewise.
20162         * locale/programs/localedef.c: Likewise.
20163         * locale/programs/locarchive.c: Likewise.
20164         * localedata/Makefile: Use inst_complocaledir.
20165         * sysdeps/gnu/configure: Regenerate.
20166         * sysdeps/hppa/configure: Regenerate.
20167         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20168         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20170         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20171         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20172         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20173         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20175 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
20177         [BZ #19058]
20178         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
20179         AS_NEEDED.
20180         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
20181         workaround.
20182         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
20183         libmvec-static-only-routines): Added new file.
20184         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
20186 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20188         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
20189         of interrupted RPC instead of restoring it.
20191         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
20192         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
20193         libc_hidden_def.
20194         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
20195         into initialized data instead of common. Define rtld_hidden_data_def.
20196         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
20197         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
20198         libc_hidden_def.
20199         (if_freenameindex): Add libc_hidden_weak.
20200         (if_nameindex): Add libc_hidden_weak.
20201         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
20202         __open64.
20203         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
20204         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
20205         * sysdeps/mach/nanosleep.c: Include <time.h>
20206         (__nanosleep): Rename to __libc_nanosleep.
20207         (__nanosleep): Add weak_alias.
20208         (nanosleep): Update alias.
20210 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
20212         * stdlib/strtod_nan.c: New file.
20213         * stdlib/strtod_nan_double.h: Likewise.
20214         * stdlib/strtod_nan_float.h: Likewise.
20215         * stdlib/strtod_nan_main.c: Likewise.
20216         * stdlib/strtod_nan_narrow.h: Likewise.
20217         * stdlib/strtod_nan_wide.h: Likewise.
20218         * stdlib/strtof_nan.c: Likewise.
20219         * stdlib/strtold_nan.c: Likewise.
20220         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
20221         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
20222         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
20223         * wcsmbs/wcstod_nan.c: Likewise.
20224         * wcsmbs/wcstof_nan.c: Likewise.
20225         * wcsmbs/wcstold_nan.c: Likewise.
20226         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
20227         strtold_nan.
20228         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
20229         wcstof_nan.
20230         * include/stdlib.h (__strtof_nan): Declare and use
20231         libc_hidden_proto.
20232         (__strtod_nan): Likewise.
20233         (__strtold_nan): Likewise.
20234         (__wcstof_nan): Likewise.
20235         (__wcstod_nan): Likewise.
20236         (__wcstold_nan): Likewise.
20237         * include/wchar.h (____wcstoull_l_internal): Declare.
20238         * stdlib/strtod_l.c: Do not include <ieee754.h>.
20239         (____strtoull_l_internal): Remove declaration.
20240         (STRTOF_NAN): Define macro.
20241         (SET_MANTISSA): Remove macro.
20242         (STRTOULL): Likewise.
20243         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
20244         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
20245         (STRTOF_NAN): Define macro.
20246         (SET_MANTISSA): Remove macro.
20247         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
20248         (SET_MANTISSA): Remove macro.
20249         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
20250         macro.
20251         (SET_MANTISSA): Remove macro.
20252         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
20253         macro.
20254         (SET_MANTISSA): Remove macro.
20255         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
20256         (SET_MANTISSA): Remove macro.
20257         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
20258         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
20259         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
20261         [BZ #19266]
20262         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
20263         upper case and lower case letters inside NAN(), not using TOLOWER.
20264         * stdlib/tst-strtod-nan-locale-main.c: New file.
20265         * stdlib/tst-strtod-nan-locale.c: Likewise.
20266         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
20267         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
20268         Depend on $(gen-locales).
20269         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
20270         * wcsmbs/tst-wcstod-nan-locale.c: New file.
20271         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
20272         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
20273         Depend on $(gen-locales).
20274         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
20276 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
20278         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
20280         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
20282         __finitel, __isinfl, and __isnanl.
20283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20284         Likewise.
20285         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
20287         __finitel.
20288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20289         Likewise.
20290         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20292 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20294         * malloc/memusage.c (me): Remove redundant getenv call.
20296 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20298         [BZ #19143]
20299         [BZ #19164]
20300         * nptl/check-cpuset.h: Remove.
20301         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20302         Remove CPU set size check.
20303         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20304         Likewise.
20305         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20306         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20307         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20308         (__pthread_setaffinity_new): Remove CPU set size check.
20309         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20310         (__kernel_cpumask_size): Remove.
20311         (__sched_setaffinity_new): Remove CPU set size check.
20312         * manual/threads.texi (Default Thread Attributes): Remove stale
20313         reference to check_cpuset_attr, determine_cpumask_size in comment.
20314         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20315         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20316         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20317         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20318         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20319         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20320         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20321         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20322         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20323         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20324         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20325         skeleton test file.
20326         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20327         tst-affinity-pid.
20329 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20331         * scripts/update-abilist.sh: New file.
20332         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20333         * Makerules (update-all-abi-%, update-all-abi)
20334         (subdir_update-all-abi): New targets.
20335         * elf/Makefile (update-all-abi): New target.
20337 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20339         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20340         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20341         (__libc_lock_define_initialized): Use it.
20342         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20343         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20344         * malloc/malloc.c (main_arena): Likewise.
20345         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20346         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20348 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20350         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20351         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20352         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20353         (PTRACE_O_MASK): Update value.
20354         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20355         New value in enum __ptrace_setoptions.
20356         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20357         (PTRACE_O_MASK): Update value.
20358         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20359         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20360         (PTRACE_O_MASK): Update value.
20361         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20362         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20363         (PTRACE_O_MASK): Update value.
20364         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20365         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20366         (PTRACE_O_MASK): Update value.
20367         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20368         New value in enum __ptrace_setoptions.
20369         (PTRACE_O_MASK): Update value.
20370         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20371         New value in enum __ptrace_setoptions.
20372         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20373         (PTRACE_O_MASK): Update value.
20375         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20376         New macro.
20377         (PACKET_AUXDATA): Likewise.
20378         (PACKET_ORIGDEV): Likewise.
20379         (PACKET_VERSION): Likewise.
20380         (PACKET_HDRLEN): Likewise.
20381         (PACKET_RESERVE): Likewise.
20382         (PACKET_TX_RING): Likewise.
20383         (PACKET_LOSS): Likewise.
20384         (PACKET_VNET_HDR): Likewise.
20385         (PACKET_TX_TIMESTAMP): Likewise.
20386         (PACKET_TIMESTAMP): Likewise.
20387         (PACKET_FANOUT): Likewise.
20388         (PACKET_TX_HAS_OFF): Likewise.
20389         (PACKET_QDISC_BYPASS): Likewise.
20390         (PACKET_ROLLOVER_STATS): Likewise.
20391         (PACKET_FANOUT_DATA): Likewise.
20392         (PACKET_MR_UNICAST): Likewise.
20394         [BZ #19242]
20395         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20396         (TOUPPER): Likewise.
20397         * stdlib/tst-strtol-locale-main.c: New file.
20398         * stdlib/tst-strtol-locale.c: Likewise.
20399         * stdlib/Makefile (tests): Add tst-strtol-locale.
20400         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20401         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20402         Depend on $(gen-locales).
20403         * wcsmbs/tst-wcstol-locale.c: New file.
20404         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20405         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20406         tr_TR.ISO-8859-9.
20407         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20408         Depend on $(gen-locales).
20410 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20412         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20413         __glibc_likely instead of __builtin_expect.  After falling back to
20414         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20415         system interface to register the code pages as occupied.
20417 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20419         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20420         [!ARM_MATH_PRIVATE_H].
20421         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20422         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20423         [!HPPA_MATH_PRIVATE_H].
20424         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20425         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20426         to [!I386_MATH_PRIVATE_H].
20427         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20428         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20429         Change guard to [!M68K_MATH_PRIVATE_H].
20430         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20431         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20432         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20433         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20434         macro.
20435         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20436         [!MIPS_MATH_PRIVATE_H].
20437         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20438         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20439         [!NIO2_MATH_PRIVATE_H].
20440         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20441         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20442         [!TILE_MATH_PRIVATE_H].
20443         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20445         [BZ #15421]
20446         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20447         initialize with 0 and define as weak alias of __signgam.
20448         * include/math.h [!_ISOMAC] (__signgam): Declare.
20449         * math/Makefile (libm-calls): Add w_lgamma_compat.
20450         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20451         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20452         test-signgam-ullong-init.
20453         (tests-static): Add test-signgam-uchar-static,
20454         test-signgam-uchar-init-static, test-signgam-uint-static,
20455         test-signgam-uint-init-static, test-signgam-ullong-static and
20456         test-signgam-ullong-init-static.
20457         (CFLAGS-test-signgam-uchar.c): New variable.
20458         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20459         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20460         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20461         (CFLAGS-test-signgam-uint.c): Likewise.
20462         (CFLAGS-test-signgam-uint-init.c): Likewise.
20463         (CFLAGS-test-signgam-uint-static.c): Likewise.
20464         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20465         (CFLAGS-test-signgam-ullong.c): Likewise.
20466         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20467         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20468         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20469         * math/Versions (libm): Add GLIBC_2.23.
20470         * math/lgamma-compat.h: New file.
20471         * math/test-signgam-main.c: Likewise.
20472         * math/test-signgam-uchar-init-static.c: Likewise.
20473         * math/test-signgam-uchar-init.c: Likewise.
20474         * math/test-signgam-uchar-static.c: Likewise.
20475         * math/test-signgam-uchar.c: Likewise.
20476         * math/test-signgam-uint-init-static.c: Likewise.
20477         * math/test-signgam-uint-init.c: Likewise.
20478         * math/test-signgam-uint-static.c: Likewise.
20479         * math/test-signgam-uint.c: Likewise.
20480         * math/test-signgam-ullong-init-static.c: Likewise.
20481         * math/test-signgam-ullong-init.c: Likewise.
20482         * math/test-signgam-ullong-static.c: Likewise.
20483         * math/test-signgam-ullong.c: Likewise.
20484         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20485         wrapper of w_lgamma_main.c.
20486         * math/w_lgamma_compat.c: New file.
20487         * math/w_lgamma_compatf.c: Likewise.
20488         * math/w_lgamma_compatl.c: Likewise.
20489         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20490         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20491         defining compatibility symbols.
20492         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20493         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20494         wrapper of w_lgammaf_main.c.
20495         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20496         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20497         defining compatibility symbols.
20498         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20499         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20500         wrapper of w_lgammal_main.c.
20501         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20502         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20503         defining compatibility symbols.
20504         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20505         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20506         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20507         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20508         <lgamma-compat.h>.
20509         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20510         (__ieee754_gamma): Define as alias.
20511         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20512         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20513         <lgamma-compat.h>.
20514         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20515         (__ieee754_gammaf): Define as alias.
20516         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20517         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20518         <lgamma-compat.h>.
20519         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20520         (__ieee754_gammal): Define as alias.
20521         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20522         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20523         <math/w_lgamma_compat.c>.
20524         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20525         Define as alias of __lgamma_compat and use in defining lgammal.
20526         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20527         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20528         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20529         (USE_AS_COMPAT): New macro.
20530         (LGAMMA_OLD_VER): Undefine and redefine.
20531         (lgammal): Do not define here.
20532         (gammal): Only define here if [GAMMA_ALIAS].
20533         * conform/linknamespace.pl (@whitelist): Remove signgam.
20534         * sysdeps/nacl/libm.abilist: Update.
20535         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20536         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20537         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20538         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20539         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20540         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20541         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20542         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20543         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20544         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20545         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20546         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20548         Likewise.
20549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20550         Likewise.
20551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20552         Likewise.
20553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20554         Likewise.
20555         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20556         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20557         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20558         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20559         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20561         Likewise.
20562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20563         Likewise.
20564         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20565         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20566         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20568 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20570         [BZ #16364]
20571         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20572         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20574 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20576         * sysdeps/s390/fpu/bits/mathinline.h:
20577         Use __asm__ [__volatile__] instead of asm [volatile].
20578         * sysdeps/s390/abort-instr.h: Likewise.
20579         * sysdeps/s390/atomic-machine.h: Likewise.
20580         * sysdeps/s390/bits/string.h: Likewise.
20581         * sysdeps/s390/dl-tls.h: Likewise.
20582         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20583         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20584         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20585         * sysdeps/s390/fpu/fesetround.c: Likewise.
20586         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20587         * sysdeps/s390/fpu/s_fma.c: Likewise.
20588         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20589         * sysdeps/s390/memusage.h: Likewise.
20590         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20591         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20592         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20593         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20594         * sysdeps/s390/nptl/tls.h: Likewise.
20595         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20596         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20597         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20598         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20599         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20600         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20601         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20602         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20603         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20604         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20605         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20606         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20607         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20608         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20609         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20610         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20611         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20612         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20613         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20614         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20615         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20616         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20617         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20619 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20620             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20622         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20623         Add lwarx hint, and use macro for acquire instruction.
20624         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20625         Likewise.
20626         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20627         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20628         update to use new atomic macros.
20630 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20632         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20633         (__lll_trylock_elision): Fix setting of adapt_count.
20634         * sysdeps/unix/sysv/linux/powerpc/htm.h
20635         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20636         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20637         (_ABORT_SYSCALL): Renumber, and clarify definition.
20638         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20640 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20642         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20643         after system headers to prevent MIN/MAX redefinition.  Define
20644         HAVE_ALLOCA to preserve builtin alloca usage.
20646 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20648         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20649         static and don't set or restore rounding.
20650         (__cos)[IN_SINCOS]: Likewise.
20651         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20652         (__sincos): Set and restore rounding mode.  Remove check for infinite
20653         or NaN input.
20655         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20657         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20658         as used.
20660 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20662         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20664 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20666         * config.make.in (have-glob-dat-reloc): New.
20667         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20668         target supports GLOB_DAT relocaton. AC_SUBST.
20669         * configure: Regenerated.
20670         * elf/Makefile (tests): Add tst-prelink.
20671         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20672         (tst-prelink-ENV): New.
20673         ($(objpfx)tst-prelink-conflict.out): Likewise.
20674         ($(objpfx)tst-prelink-cmp.out): Likewise.
20675         * sysdeps/x86/tst-prelink.c: Moved to ...
20676         * elf/tst-prelink.c: Here.
20677         * sysdeps/x86/tst-prelink.exp: Moved to ...
20678         * elf/tst-prelink.exp: Here.
20679         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20680         (tst-prelink-ENV): Removed.
20681         ($(objpfx)tst-prelink-conflict.out): Likewise.
20682         ($(objpfx)tst-prelink-cmp.out): Likewise.
20683         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20685 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20687         [BZ #14551]
20688         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20689         (__mpn_construct_long_double): If high part overflows to infinity,
20690         set errno and recompute overflowed result of the correct sign.
20691         * sysdeps/ieee754/ldbl-128ibm/Makefile
20692         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20693         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20694         $(libm).
20695         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20697 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20699         [BZ #15479]
20700         [BZ #19238]
20701         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20702         floating-point state after first operation on input.  Restore full
20703         state rather than just rounding mode.
20704         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20705         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20706         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20708         [BZ #19235]
20709         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20710         add 0.5 to integer arguments.
20711         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20712         Likewise.
20713         (.LC2): New object.
20715 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20717         * scripts/pylintrc (reports): Set to no.
20719 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20721         * elf/dl-load.c (open_verify): Take new argument FD.
20722         Skip __open call if passed FD is not -1.
20723         (_dl_map_object, open_path): Update callers.
20724         * elf/dl-sysdep-open.h: New file.
20725         * elf/dl-load.c: Include it.
20726         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20727         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20728         * sysdeps/nacl/dl-sysdep-open.h: New file.
20729         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20730         from libc to rtld.
20732 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20734         [BZ #19228]
20735         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20736         and restore full floating-point state.
20737         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20738         Likewise.
20739         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20740         Likewise.
20741         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20742         Likewise.
20743         * math/test-nearbyint-except-2.c: New file.
20744         * math/Makefile (tests): Add test-nearbyint-except-2.
20746 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20748         [BZ #19178]
20749         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20750         (tst-prelink-ENV): New.
20751         ($(objpfx)tst-prelink-conflict.out): Likewise.
20752         ($(objpfx)tst-prelink-cmp.out): Likewise.
20753         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20754         * sysdeps/x86/tst-prelink.c: New file.
20755         * sysdeps/x86/tst-prelink.exp: Likewise.
20757 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20759         * math/auto-libm-test-in: Add another test of pow.
20760         * math/auto-libm-test-out: Regenerated.
20761         * math/libm-test.inc (pow_test_data): Add another test.
20763 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20765         [BZ #19219]
20766         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20767         weak_alias to nearbyintl.
20769 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20771         * sysdeps/aarch64/bits/string.h: New file.
20772         (_STRING_ARCH_unaligned): Define.
20774 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20776         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20777         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20778         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20779         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20782 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20784         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20785         for original name of the DSO.  Add it to the name list of the DSO
20786         if it is actually given.
20787         (_dl_map_object): Keep track of whether an audit module rewrote
20788         the file name.  If yes, pass the original name to
20789         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20790         debugging is enabled, log the change of the file name.
20791         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20792         _dl_map_object_from_fd.
20793         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20794         * elf/tst-audit11.c: New file
20795         * elf/tst-auditmod11.c: New file.
20796         * elf/tst-audit11mod1.c: New file.
20797         * elf/tst-audit11mod2.c: New file.
20798         * elf/tst-audit11mod2.map: New file.
20799         * elf/tst-audit12.c: New file
20800         * elf/tst-auditmod12.c: New file.
20801         * elf/tst-audit12mod1.c: New file.
20802         * elf/tst-audit12mod2.c: New file.
20803         * elf/tst-audit12mod2.map: New file.
20804         * elf/tst-audit12mod3.c: New file.
20806 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20808         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20809         Don't create weak aliases,
20810         because versioned symbols are created later.
20811         * sysdeps/s390/s390-32/setjmp.S
20812         (setjmp, _setjmp): Remove weak and rename to an unique name
20813         in SHARED case due to existing versioned symbols.
20814         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20815         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20816         (getcontext): Create weak alias only in non SHARED case.
20817         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20819 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20821         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20822         (__ASSUME_*_SYSCALL) Define new macros.
20823         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20824         Remove socketcall syscalls.
20825         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20826         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20827         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20828         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20829         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20830         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20832 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20834         [BZ #12926]
20835         Terminate process on invalid netlink response.
20836         * sysdeps/unix/sysv/linux/netlinkaccess.h
20837         (__netlink_assert_response): Declare.
20838         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20839         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20840         (sysdep_routines): Add netlink_assert_response.
20841         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20842         __netlink_assert_response.
20843         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20844         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20845         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20846         __netlink_assert_response.
20848 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20850         [BZ #19178]
20851         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20852         (RTYPE_CLASS_PLT): Likewise.
20853         (RTYPE_CLASS_COPY): Likewise.
20854         (RTYPE_CLASS_TLS): Likewise.
20855         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20856         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20857         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20858         DL_DEBUG_PRELINK.
20860 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20862         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20863         calls with argument -0.5.
20864         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20866         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20867         (libc_cv_z_nodlopen): Likewise.
20868         (libc_cv_z_initfirst): Likewise.
20869         * configure: Regenerated.
20871 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20873         Simplify abilist format to be line-based.
20874         * scripts/abilist.awk: Collect descriptors in the descs variable.
20875         (emit): Write descs variable and sort it
20876         externally, with sort.
20877         * sysdeps/**/*.abilist: Convert to new format.
20879 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20881         [BZ #11460]
20882         * io/Makefile (routines): Add fts64.
20883         (tests): Add tst-fts and tst-fts-lfs.
20884         (CFLAGS-fts64.c): New.
20885         * io/Versions (GLIBC_2.23): New.
20886         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20887         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20888         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20889         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20890         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20891         (FTSENT64): Likewise.
20892         (fts64_children): Likewise.
20893         (fts64_close): Likewise.
20894         (fts64_open): Likewise.
20895         (fts64_read): Likewise.
20896         (fts64_set): Likewise.
20897         * io/fts64.c: New file.
20898         * io/tst-fts.c: New test.
20899         * io/tst-fts-lfs.c: Likewise.
20900         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20901         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20902         fts64_set.
20903         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20904         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20905         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20906         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20907         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20908         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20909         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20910         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20911         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20912         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20913         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20914         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20915         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20917         Likewise.
20918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20919         Likewise.
20920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20922         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20923         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20924         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20925         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20926         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20929         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20930         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20931         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20932         * sysdeps/wordsize-64/fts.c: New file.
20933         * sysdeps/wordsize-64/fts64.c: Likewise.
20934         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20935         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20936         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20937         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20939 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20941         * math/libm-test.inc (NON_FINITE): New macro.
20942         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20943         * math/gen-libm-test.pl (show_exceptions): Add argument
20944         $non_finite.
20945         (parse_args): Update call to show_exceptions.
20946         * math/test-math-finite.h: New file.
20947         * math/test-math-no-finite.h: Likewise.
20948         * math/test-double-finite.c: Likewise.
20949         * math/test-float-finite.c: Likewise.
20950         * math/test-ldouble-finite.c: Likewise.
20951         * math/test-double.c: Include "test-math-no-finite.h".
20952         * math/test-float.c: Include "test-math-no-finite.h".
20953         * math/test-ldouble.c: Include "test-math-no-finite.h".
20954         * math/test-math-inline.h (TEST_FINITE): New macro.
20955         * math/test-math-vector.h (TEST_FINITE): Likewise.
20956         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20957         (libm-tests): Add test-float-finite and test-double-finite.
20958         ($(objpfx)test-float-finite.o): New dependency on
20959         $(objpfx)libm-test.stmp.
20960         ($(objpfx)test-double-finite.o): Likewise.
20961         ($(objpfx)test-ldouble-finite.o): Likewise.
20962         (libm-test-no-inline-cflags): New variable.
20963         (libm-test-finite-cflags): Likewise.
20964         (CFLAGS-test-float-finite.c): Likewise.
20965         (CFLAGS-test-double-finite.c): Likewise.
20966         (CFLAGS-test-ldouble-finite.c): Likewise.
20967         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20968         (CFLAGS-test-double.c): Likewise.
20969         (CFLAGS-test-ldouble.c): Likewise.
20971 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20973         * io/fcntl.c (__fcntl): Add ... to prototype.
20974         * misc/ioctl.c (__ioctl): Likewise.
20975         * misc/syscall.c (syscall): Likewise.
20977 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20979         * scripts/list-fixed-bugs.py: New file.
20981         [BZ #19213]
20982         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20983         returned for argument 1.
20984         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20985         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20986         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20987         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20988         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20989         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20991         [BZ #19211]
20992         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20993         __USE_XOPEN], not if [!__USE_ISOC99].
20994         (lgammaf): Likewise.
20995         (lgammal): Likewise.
20996         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20997         (gammaf): Likewise.
20998         (gammal): Likewise.
20999         * math/test-signgam-finite-c11.c: New file.
21000         * math/test-signgam-finite-c99.c: Likewise.
21001         * math/test-signgam-finite.c: Likewise.
21002         * math/Makefile (tests): Add test-signgam-finite,
21003         test-signgam-finite-c99 and test-signgam-finite-c11.
21004         (CFLAGS-test-signgam-finite.c): New variable.
21005         (CFLAGS-test-signgam-finite-c99.c): Likewise.
21006         (CFLAGS-test-signgam-finite-c11.c): Likewise.
21008         [BZ #19212]
21009         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
21010         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
21011         500].
21012         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
21013         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
21014         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
21015         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
21016         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
21017         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
21018         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
21019         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
21020         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
21021         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
21023         [BZ #19209]
21024         * math/bits/math-finite.h (ldexp): Remove declaration.
21025         (ldexpf): Likewise.
21026         (ldexpl): Likewise.
21028         [BZ #19205]
21029         * math/bits/math-finite.h (acosf): Condition declaration on
21030         [__USE_ISOC99].
21031         (acosl): Likewise.
21032         (acoshf): Likewise.
21033         (acoshl): Likewise.
21034         (asinf): Likewise.
21035         (asinl): Likewise.
21036         (atan2f): Likewise.
21037         (atan2l): Likewise.
21038         (atanhf): Likewise.
21039         (atanhl): Likewise.
21040         (coshf): Likewise.
21041         (coshl): Likewise.
21042         (expf): Likewise.
21043         (expl): Likewise.
21044         (fmodf): Likewise.
21045         (fmodl): Likewise.
21046         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
21047         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
21048         (j0l): Likewise.
21049         (y0f): Likewise.
21050         (y0l): Likewise.
21051         (j1f): Likewise.
21052         (j1l): Likewise.
21053         (y1f): Likewise.
21054         (y1l): Likewise.
21055         (jnf): Likewise.
21056         (jnl): Likewise.
21057         (ynf): Likewise.
21058         (ynl): Likewise.
21059         (lgammaf_r): Condition declaration on [__USE_ISOC99].
21060         (lgammal_r): Likewise.
21061         (__lgamma_r_finite): New declaration.
21062         (__lgammaf_r_finite): Likewise.
21063         (__lgammal_r_finite): Likewise.
21064         (lgamma): Use __lgamma_r_finite.
21065         (lgammaf): Condition definition on [__USE_ISOC99].  Use
21066         __lgammaf_r_finite.
21067         (lgammal): Condition definition on [__USE_ISOC99].  Use
21068         __lgammal_r_finite.
21069         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
21070         __lgamma_r_finite.
21071         (gammaf): Condition definition on [__USE_ISOC99].  Use
21072         __lgammaf_r_finite.
21073         (gammal): Condition definition on [__USE_ISOC99].  Use
21074         __lgammal_r_finite.
21075         (logf): Condition declaration on [__USE_ISOC99].
21076         (logl): Likewise.
21077         (log10f): Likewise.
21078         (log10l): Likewise.
21079         (ldexpf): Likewise.
21080         (ldexpl): Likewise.
21081         (powf): Likewise.
21082         (powl): Likewise.
21083         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
21084         __USE_ISOC99].
21085         (remainderf): Condition declaration on [__USE_ISOC99].
21086         (remainderl): Likewise.
21087         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
21088         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
21089         (scalbl): Likewise.
21090         (sinhf): Condition declaration on [__USE_ISOC99].
21091         (sinhl): Likewise.
21092         (sqrtf): Likewise.
21093         (sqrtl): Likewise.
21095 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21097         * sysdeps/arm/atomic-machine.h
21098         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21099         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21100         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
21101         Remove conditional code.
21102         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21103         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21104         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
21105         Change conditional to [__ASSEMBLER__].
21106         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21107         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
21108         [!__ASSEMBLER__].
21109         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
21110         code.
21111         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
21112         conditional macro definitions.
21113         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
21114         (__arch_compare_and_exchange_val_16_acq): Likewise.
21115         (__arch_compare_and_exchange_val_32_acq): Likewise.
21116         (atomic_exchange_and_add): Likewise.
21117         (atomic_add): Likewise.
21118         (atomic_add_negative): Likewise.
21119         (atomic_add_zero): Likewise.
21120         (atomic_bit_set): Likewise.
21121         (atomic_bit_test_set): Likewise.
21122         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
21123         code unconditional.
21124         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21126         * math/test-math-errno.h: New file.
21127         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
21128         empty.
21129         (TEST_ERRNO): New macro.
21130         (TEST_EXCEPTIONS): Likewise.
21131         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
21132         (TEST_EXCEPTIONS): Likewise.
21133         * math/test-math-vector.h (TEST_ERRNO): Likewise.
21134         * math/test-double.c: Include "test-math-errno.h".
21135         * math/test-float.c: Likewise.
21136         * math/test-ldouble.c: Likewise.
21137         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
21138         code unconditional.
21139         (test_exceptions): Only run code if TEST_EXCEPTIONS.
21140         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
21141         unconditional.
21142         (test_errno): Only run code if TEST_ERRNO.
21143         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
21145 2015-11-04  Florian Weimer  <fweimer@redhat.com>
21147         * nptl/tst-once5.cc: Remove attribution.
21149 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21151         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
21152         sqrt, tan, tanh, y0, y1 and yn.
21153         * math/auto-libm-test-out: Regenerated.
21154         * math/libm-test.inc (scalb_test_data): Add more tests.
21155         (scalbn_test_data): Likewise.
21156         (scalbln_test_data): Likewise.
21157         (signbit_test_data): Likewise.
21158         (sin_test_data): Likewise.
21159         (sincos_test_data): Likewise.
21160         (sinh_test_data): Likewise.
21161         (sqrt_test_data): Likewise.
21162         (tan_test_data): Likewise.
21163         (tanh_test_data): Likewise.
21164         (tgamma_test_data): Likewise.
21165         (y0_test_data): Likewise.
21166         (y1_test_data): Likewise.
21167         (yn_test_data): Likewise.
21168         (significand_test_data): Likewise.
21169         * sysdeps/i386/fpu/libm-test-ulps: Update.
21171 2015-11-03  David Kastrup  <dak@gnu.org>
21173         [BZ #18604]
21174         * assert/assert.h (assert): Don't macro-expand failed assertion
21175         expression in error message.
21176         * malloc/malloc.c (assert): Likewise.
21178 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
21180         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
21181         test.
21182         * configure: Regenerated.
21184 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
21186         * math/libm-test.inc (modf_test_data): Add more tests.
21187         (nearbyint_test_data): Likewise.
21188         (nextafter_test_data): Likewise.
21189         (nexttoward_test_data): Likewise.
21190         (pow_test_data): Likewise.
21191         (remainder_test_data): Likewise.
21192         (remquo_test_data): Likewise.
21193         (rint_test_data): Likewise.
21195         [BZ #19201]
21196         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21197         Check for zero remainder in case of large exponents and ensure
21198         correct sign of result in that case.
21199         * math/libm-test.inc (remainder_test_data): Add more tests.
21201         [BZ #6799]
21202         * math/s_nextafter.c: Include <errno.h>.
21203         (__nextafter): Set errno on overflow and underflow.
21204         * math/s_nexttowardf.c: Include <errno.h>.
21205         (__nexttowardf): Set errno on overflow and underflow.
21206         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
21207         (__nextafterl): Set errno on overflow and underflow.
21208         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
21209         (__nexttoward): Set errno on overflow and underflow.
21210         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
21211         (__nexttowardf): Set errno on overflow and underflow.
21212         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
21213         (__nextafterf): Set errno on overflow and underflow.
21214         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
21215         (__nextafterl): Set errno on overflow and underflow.
21216         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
21217         (__nexttoward): Set errno on overflow and underflow.
21218         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
21219         (__nexttowardf): Set errno on overflow and underflow.
21220         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
21221         (__nextafterl): Set errno on overflow and underflow.
21222         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
21223         (__nexttoward): Set errno on overflow and underflow.
21224         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
21225         (__nexttowardf): Set errno on overflow and underflow.
21226         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
21227         (__nexttoward): Set errno on overflow and underflow.
21228         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
21229         (__nexttowardf): Set errno on overflow and underflow.
21230         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
21231         (__nldbl_nexttowardf): Set errno on overflow and underflow.
21232         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
21233         (__nextafterl): Set errno on overflow and underflow.
21234         * math/libm-test.inc (nextafter_test_data): Do not allow errno
21235         setting to be missing on overflow.  Add more tests.
21236         (nexttoward_test_data): Likewise.
21238         * configure.ac (libc_cv_initfini_array): Remove configure test.
21239         * configure: Regenerated.
21241 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
21243         [BZ #19189]
21244         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
21245         non-finite argument handle arguments with negative sign.
21247         * math/libm-test.inc (j0_test_data): Do not test sign of zero
21248         result from infinite argument.
21249         (j1_test_data): Likewise.
21250         (jn_test_data): Likewise.
21251         (y0_test_data): Likewise.
21252         (y1_test_data): Likewise.
21253         (yn_test_data): Likewise.
21255         [BZ #16171]
21256         * math/w_remainder.c (drem): Define as weak alias of __remainder.
21257         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
21258         * math/w_remainderf.c (dremf): Define as weak alias of
21259         __remainderf.
21260         * math/w_remainderl.c (dreml): Define as weak alias of
21261         __remainderl.
21262         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
21263         __remainder.
21264         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
21265         __remainderf.
21266         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
21267         __remainderl.
21268         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
21269         weak alias of remainderl.
21270         * sysdeps/ieee754/ldbl-opt/w_remainder.c
21271         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
21272         alias of __remainder.
21273         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
21274         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
21275         strong alias of __remainderl.
21276         (dreml): Use long_double_symbol.
21277         * math/Makefile (libm-calls): Remove w_drem.
21278         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
21279         (CFLAGS-nldbl-drem.c): Remove variable.
21280         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
21281         * math/w_drem.c: Remove file.
21282         * math/w_dremf.c: Likewise.
21283         * math/w_dreml.c: Likewise.
21284         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
21285         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
21286         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
21288         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
21289         * sysdeps/i386/configure: Regenerated.
21290         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
21291         * sysdeps/x86_64/configure: Regenerated.
21293         * configure.ac (libc_cv_asm_protected_directive): Remove configure
21294         test.
21295         (libc_cv_visibility_attribute): Likewise.
21296         (libc_cv_protected_data): Test unconditionally.
21297         (libc_cv_broken_visibility_attribute): Remove configure test.
21298         (libc_cv_have_sdata_section): Test unconditionally.
21299         * configure: Regenerated.
21301         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21302         * include/scratch_buffer.h: Include <stddef.h> instead of
21303         <libc-internal.h>.
21304         (struct scratch_buffer): Use max_align_t instead of
21305         libc_max_align_t.
21307 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21309         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21310         instead of extend_alloca.  Change control flow to avoid a goto.
21311         Remove assert which is trivially always true.
21313 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21315         [BZ #16068]
21316         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21317         (FE_ALL_EXCEPT_X86): New macro.
21318         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21319         FE_ALL_EXCEPT.  Ensure precision control is included in
21320         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21321         handle "denormal operand exception" and clear FZ and DAZ bits.
21322         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21323         (FE_ALL_EXCEPT_X86): New macro.
21324         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21325         FE_ALL_EXCEPT.  Ensure precision control is included in
21326         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21327         handle "denormal operand exception" and clear FZ and DAZ bits.
21328         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21329         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21330         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21331         test-fenv-x87 and test-fenv-sse-2.
21332         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21334         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21335         * math/test-double.h (BUILD_COMPLEX): New macro.
21336         * math/test-float.h (BUILD_COMPLEX): Likewise.
21337         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21339         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21340         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21341         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21342         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21343         instead of DBL_DENORM_MIN in comment.
21344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21345         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21346         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21347         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21349         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21351 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21353         [BZ #19048]
21354         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21355         attached_threads member.
21356         (main_arena): Initialize attached_threads.
21357         * malloc/arena.c (list_lock): Update comment.
21358         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21359         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21360         (deattach_arena): New function.
21361         (_int_new_arena): Initialize arena reference count and deattach
21362         replaced arena.
21363         (get_free_list, reused_arena): Update reference count and deattach
21364         replaced arena.
21365         (arena_thread_freeres): Update arena reference count and only put
21366         unreferenced arenas on the free list.
21368 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21370         [BZ #19181]
21371         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21372         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21373         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21374         * math/test-fenv-clear-main.c: New file.
21375         * math/test-fenv-clear.c: Likewise.
21376         * math/Makefile (tests): Add test-fenv-clear.
21377         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21378         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21379         test-fenv-clear-sse.
21380         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21382         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21383         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21384         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21386 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21388         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21389         static libc.
21391 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21393         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21394         test.
21395         * sysdeps/i386/configure: Regenerated.
21396         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21397         test.
21398         * sysdeps/x86_64/configure: Regenerated.
21399         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21401         memset-avx2 unconditionally instead of conditionally on
21402         [$(config-cflags-avx2) = yes].
21403         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21404         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21405         unconditional.
21406         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21407         * sysdeps/x86_64/multiarch/memset_chk.S
21408         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21409         to [IS_IN (libc) && SHARED].
21411 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21413         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21414         configure test.
21415         * sysdeps/arm/configure: Regenerated.
21416         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21417         Define variable if not already defined.
21419         [BZ #17404]
21420         * sysdeps/mips/atomic-machine.h
21421         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21422         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21423         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21425         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21426         unconditional.
21427         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21428         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21429         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21430         unconditional.
21431         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21432         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21433         unconditional.
21434         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21435         * stdlib/setenv.c
21436         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21437         code unconditional.
21438         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21439         Remove conditional code.
21440         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21441         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21442         unconditional.
21443         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21444         code.
21445         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21446         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21447         unconditional.
21448         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21449         code.
21450         * sysdeps/ieee754/ldbl-128/k_tanl.c
21451         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21452         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21453         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21454         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21455         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21456         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21457         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21458         unconditional.
21459         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21460         code.
21461         * sysdeps/ieee754/ldbl-96/k_tanl.c
21462         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21463         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21465         * nptl/tst-initializers1-c11.c: New file.
21466         * nptl/tst-initializers1-gnu11.c: Likewise.
21467         * nptl/Makefile (tests): Add these new tests.
21468         (CFLAGS-tst-initializers1-c11.c): New variable.
21469         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21471         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21472         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21473         instead of -std=gnu99.
21474         * configure.ac (systemtap): Test with -std=gnu11 instead of
21475         -std=gnu99.
21476         * configure: Regenerated.
21477         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21478         in compilation command in comment.
21480         * sysdeps/nptl/configure.ac: Remove file.
21481         * sysdeps/nptl/configure: Remove generated file.
21482         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21483         * configure: Regenerated.
21484         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21485         * config.make.in (have-forced-unwind): Remove variable.
21486         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21487         unconditional.
21488         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21489         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21490         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21491         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21492         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21493         unconditional.
21495 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21497         [BZ #19174]
21498         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21499         .skip_lock_out_of_tbegin_retries.
21500         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21501         (__lll_lock_elision): Likewise, and respect a value of
21502         try_tbegin <= 0.
21504 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21506         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21507         statement.
21509 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21511         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21512         variable.
21513         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21514         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21516         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21517         of -std=c1x -D_ISOC11_SOURCE.
21519         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21520         * configure: Regenerated.
21521         * manual/install.texi (Tools for Compilation): Document
21522         requirement for GCC 4.7 or later.
21523         * INSTALL: Regenerated.
21525 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21527         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21528         on CNT to a conditional jump to 'puntdata'.
21530 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21532         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21533         (libc_cv_gcc_tls_model_attr): Likewise.
21534         * configure: Regenerated.
21536         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21537         * configure: Regenerated.
21538         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21540 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21542         * configure.ac (old_glibc_headers): Remove configure test.
21543         * configure: Regenerated.
21544         * config.make.in (old-glibc-headers): Remove variable.
21545         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21546         (install): Remove dependency on remove-old-headers.
21547         (headers2_0): Remove variable.
21548         (remove-old-headers): Remove rule.
21550         * configure.ac (libc_cv_dot_text): Remove configure test.
21551         (libc_cv_asm_set_directive): Use .text instead of
21552         ${libc_cv_dot_text} in configure test.
21553         * configure: Regenerated.
21555 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21557         [BZ #19168]
21558         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21560 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21562         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21563         not support static linking.
21564         * configure: Regenerate.
21566 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21568         * math/libm-test.inc (check_float_internal): Do not special-case
21569         errors up to 0.5 ulp.
21571         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21572         log2.
21573         * math/auto-libm-test-out: Regenerated.
21574         * math/libm-test.inc (MAX_EXP): New macro.
21575         (ilogb_test_data): Add more tests.
21576         (isfinite_test_data): Likewise.
21577         (isgreater_test_data): Likewise.
21578         (isgreaterequal_test_data): Likewise.
21579         (isinf_test_data): Likewise.
21580         (isless_test_data): Likewise.
21581         (islessequal_test_data): Likewise.
21582         (islessgreater_test_data): Likewise.
21583         (isnan_test_data): Likewise.
21584         (isnormal_test_data): Likewise.
21585         (issignaling_test_data): Likewise.
21586         (isunordered_test_data): Likewise.
21587         (j0_test_data): Likewise.
21588         (j1_test_data): Likewise.
21589         (jn_test_data): Likewise.
21590         (lgamma_test_data): Likewise.
21591         (log_test_data): Likewise.
21592         (log10_test_data): Likewise.
21593         (log1p_test_data): Likewise.
21594         (log2_test_data): Likewise.
21595         (logb_test_data): Likewise.
21596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21598         [BZ #18611]
21599         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21600         avoid excess range and precision on underflow.
21601         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21602         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21603         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21604         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21605         underflow.
21606         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21607         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21608         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21609         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21610         * math/auto-libm-test-in: Do not allow missing errno setting for
21611         tests of j1 and jn.
21612         * math/auto-libm-test-out: Regenerated.
21614 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21616         [BZ #15491]
21617         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21618         floating-point environment instead of clearing all exceptions.
21619         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21620         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21621         merging in "invalid" exceptions from frndint.
21622         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21623         * math/test-nearbyint-except.c: New file.
21624         * math/Makefile (tests): Add test-nearbyint-except.
21626 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21628         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21630         * sysdeps/tile/libm-test-ulps: Regenerated.
21632 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21635         (__NR_sync_file_range2): Assume it is always defined.
21636         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21637         (__NR_sync_file_range): Assume it is always defined.
21639 2015-10-22  Andreas Schwab  <schwab@suse.de>
21641         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21642         INTERNAL_SYSCALL_ERRNO.
21643         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21644         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21645         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21646         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21647         Likewise.
21648         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21650 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21652         * io/tst-fcntl.c (fd): New static variable.
21653         (do_prepare): Open temporary file here....
21654         (do_test): ...not here.
21656         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21658 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21660         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21661         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21662         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21663         Moved before "#ifdef __ASSEMBLER__".
21665 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21667         [BZ #19156]
21668         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21669         arguments very close to 0.
21671 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21673         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21674         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21676 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21678         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21679         New.  Defined for GCC 5 and above when not compiling for
21680         profiling.
21681         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21683         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21684         Renamed to ...
21685         (CFLAGS-epoll_pwait.o): This.
21686         (CFLAGS-mmap.c): Renamed to ...
21687         (CFLAGS-mmap.o): This.
21688         (CFLAGS-mmap64.c): Renamed to ...
21689         (CFLAGS-mmap64.o): This.
21690         (CFLAGS-epoll_pwait.os): New.
21691         (CFLAGS-mmap.os): Likewise.
21692         (CFLAGS-mmap64.os): Likewise.
21693         (CFLAGS-semtimedop.os): Likewise.
21694         (CFLAGS-semtimedop.c): Renamed to ...
21695         (CFLAGS-semtimedop.o): This.
21697 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21699         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21700         warning message.
21702 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21704         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21705         * Makefile ($(objpfx)c++-types-check.out): Filter out
21706         $(+gccwarn-c) instead of -Wstrict-prototypes.
21708         * io/fts.c (fts_open): Convert to prototype-style function
21709         definition.
21710         * malloc/mcheck.c (mcheck): Likewise.
21711         (mcheck_pedantic): Likewise.
21712         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21713         internal_function.
21714         (re_search_internal): Likewise.
21715         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21716         prototype-style function definition.
21717         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21718         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21719         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21720         (xdr_utmpptr): Likewise.
21721         (xdr_utmparr): Likewise.
21722         (xdr_utmpidle): Likewise.
21723         (xdr_utmpidleptr): Likewise.
21724         (xdr_utmpidlearr): Likewise.
21726         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21727         log, log10 and log2.
21728         * math/auto-libm-test-out: Regenerated.
21729         * math/libm-test.inc (fmod_test_data): Add more tests.
21730         (fpclassify_test_data): Likewise.
21731         (frexp_test_data): Likewise.
21732         (hypot_test_data): Likewise.
21733         (ilogb_test_data): Likewise.
21735 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21737         * debug/fortify_fail.c (__fortify_fail): Convert to
21738         prototype-style function definition.  Use internal_function.
21739         * libio/genops.c (save_for_backup): Convert to prototype-style
21740         function definition.
21741         * libio/wgenops.c (save_for_wbackup): Likewise.
21742         * login/grantpt.c (grantpt): Likewise.
21743         * login/ptsname.c (ptsname): Likewise.
21744         (__ptsname_r): Likewise.
21745         * login/unlockpt.c (unlockpt): Likewise.
21746         * mach/msgserver.c (__mach_msg_server): Likewise.
21747         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21748         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21749         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21750         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21751         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21752         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21753         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21754         Likewise.
21755         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21756         internal_function.
21757         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21758         prototype-style function definition.
21759         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21760         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21761         (__pthread_create_2_0): Likewise.
21762         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21763         * nptl/register-atfork.c (__register_atfork): Likewise.
21764         * posix/glob.c (glob): Likewise.
21765         * posix/regcomp.c (re_comp): Likewise.
21766         * posix/regexec.c (re_exec): Likewise.
21767         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21768         [!__STDC__]: Remove conditional code.
21769         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21770         [!__STDC__]: Remove conditional code.
21771         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21772         [!__STDC__]: Remove conditional code.
21773         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21774         [!__STDC__]: Remove conditional code.
21775         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21776         [!__STDC__]: Remove conditional code.
21777         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21778         [!__STDC__]: Remove conditional code.
21779         * stdlib/mul.c [__STDC__]: Make code unconditional.
21780         [!__STDC__]: Remove conditional code.
21781         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21782         [!__STDC__]: Remove conditional code.
21783         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21784         [!__STDC__]: Remove conditional code.
21785         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21786         function definition.
21787         (STRTOF): Likewise.
21788         * stdlib/strtod_l.c (__STRTOF): Likewise.
21789         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21790         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21791         (__strtol_l): Likewise.
21792         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21793         [!__STDC__]: Remove conditional code.
21794         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21795         definition.
21796         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21797         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21798         type.
21799         (__strcasecmp): Convert to prototype-style function definition.
21800         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21801         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21802         type.
21803         (__strncasecmp): Convert to prototype-style function definition.
21804         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21805         * sunrpc/xdr.c (xdr_union): Likewise.
21806         * sunrpc/xdr_array.c (xdr_array): Likewise.
21807         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21808         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21809         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21810         Likewise.
21811         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21812         Likewise.
21813         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21814         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21815         Likewise.
21816         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21817         (LOCALE_PARAM_PROTO): Likewise.
21818         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21819         argument type.
21820         (ut_argument_spec): Remove macro.
21821         (ut_argument_spec_iso): Rename to ut_argument_spec.
21822         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21823         prototype-style function definition.
21824         (memcpy_uppcase): Likewise.
21825         (__strftime_internal): Likewise.
21826         (my_strftime): Likewise.
21827         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21828         (LOCALE_PARAM_DECL): Likewise.
21829         [_LIBC] (LOCALE_PARAM): Include argument type.
21830         (__strptime_internal): Convert to prototype-style function
21831         definition.
21832         (strptime): Likewise.
21833         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21834         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21835         type.
21836         (__wcscasecmp): Convert to prototype-style function definition.
21837         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21838         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21839         type.
21840         (__wcsncasecmp): Convert to prototype-style function definition.
21842         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21843         function definition.
21844         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21845         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21846         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21847         * elf/dl-minimal.c (_itoa): Likewise.
21848         * hurd/hurdmalloc.c (malloc): Likewise.
21849         (free): Likewise.
21850         (realloc): Likewise.
21851         * inet/inet6_option.c (inet6_option_space): Likewise.
21852         (inet6_option_init): Likewise.
21853         (inet6_option_append): Likewise.
21854         (inet6_option_alloc): Likewise.
21855         (inet6_option_next): Likewise.
21856         (inet6_option_find): Likewise.
21857         * io/ftw.c (FTW_NAME): Likewise.
21858         (NFTW_NAME): Likewise.
21859         (NFTW_NEW_NAME): Likewise.
21860         (NFTW_OLD_NAME): Likewise.
21861         * libio/iofwide.c (_IO_fwide): Likewise.
21862         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21863         (_IO_str_init_static): Likewise.
21864         (_IO_str_init_readonly): Likewise.
21865         (_IO_str_overflow): Likewise.
21866         (_IO_str_underflow): Likewise.
21867         (_IO_str_count): Likewise.
21868         (_IO_str_seekoff): Likewise.
21869         (_IO_str_pbackfail): Likewise.
21870         (_IO_str_finish): Likewise.
21871         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21872         (_IO_wstr_overflow): Likewise.
21873         (_IO_wstr_underflow): Likewise.
21874         (_IO_wstr_count): Likewise.
21875         (_IO_wstr_seekoff): Likewise.
21876         (_IO_wstr_pbackfail): Likewise.
21877         (_IO_wstr_finish): Likewise.
21878         * locale/programs/localedef.c (normalize_codeset): Likewise.
21879         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21880         (add_locales_to_archive): Likewise.
21881         (delete_locales_from_archive): Likewise.
21882         * malloc/malloc.c (__libc_mallinfo): Likewise.
21883         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21884         * misc/tsearch.c (__tfind): Likewise.
21885         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21886         * nptl/pthread_attr_getdetachstate.c
21887         (__pthread_attr_getdetachstate): Likewise.
21888         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21889         Likewise.
21890         * nptl/pthread_attr_getinheritsched.c
21891         (__pthread_attr_getinheritsched): Likewise.
21892         * nptl/pthread_attr_getschedparam.c
21893         (__pthread_attr_getschedparam): Likewise.
21894         * nptl/pthread_attr_getschedpolicy.c
21895         (__pthread_attr_getschedpolicy): Likewise.
21896         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21897         Likewise.
21898         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21899         Likewise.
21900         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21901         Likewise.
21902         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21903         Likewise.
21904         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21905         (__pthread_attr_init_2_0): Likewise.
21906         * nptl/pthread_attr_setdetachstate.c
21907         (__pthread_attr_setdetachstate): Likewise.
21908         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21909         Likewise.
21910         * nptl/pthread_attr_setinheritsched.c
21911         (__pthread_attr_setinheritsched): Likewise.
21912         * nptl/pthread_attr_setschedparam.c
21913         (__pthread_attr_setschedparam): Likewise.
21914         * nptl/pthread_attr_setschedpolicy.c
21915         (__pthread_attr_setschedpolicy): Likewise.
21916         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21917         Likewise.
21918         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21919         Likewise.
21920         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21921         Likewise.
21922         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21923         Likewise.
21924         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21925         Likewise.
21926         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21927         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21928         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21929         use internal_function.
21930         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21931         prototype-style function definition.
21932         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21933         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21934         internal_function.
21935         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21936         Convert to prototype-style function definition.
21937         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21938         Likewise.
21939         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21940         Likewise.
21941         (__pthread_mutex_unlock): Likewise.
21942         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21943         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21944         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21945         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21946         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21947         * nss/makedb.c (process_input): Likewise.
21948         * posix/fnmatch.c (__strchrnul): Likewise.
21949         (__wcschrnul): Likewise.
21950         (fnmatch): Likewise.
21951         * posix/fnmatch_loop.c (FCT): Likewise.
21952         * posix/glob.c (globfree): Likewise.
21953         (__glob_pattern_type): Likewise.
21954         (__glob_pattern_p): Likewise.
21955         * posix/regcomp.c (re_compile_pattern): Likewise.
21956         (re_set_syntax): Likewise.
21957         (re_compile_fastmap): Likewise.
21958         (regcomp): Likewise.
21959         (regerror): Likewise.
21960         (regfree): Likewise.
21961         * posix/regexec.c (regexec): Likewise.
21962         (re_match): Likewise.
21963         (re_search): Likewise.
21964         (re_match_2): Likewise.
21965         (re_search_2): Likewise.
21966         (re_search_stub): Likewise.  Use internal_function
21967         (re_copy_regs): Likewise.
21968         (re_set_registers): Convert to prototype-style function
21969         definition.
21970         (prune_impossible_nodes): Likewise.  Use internal_function.
21971         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21972         prototype-style function definition.
21973         (inet_net_pton_ipv4): Likewise.
21974         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21975         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21976         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21977         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21978         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21979         Make variadic.
21980         * time/strptime_l.c (localtime_r): Convert to prototype-style
21981         function definition.
21982         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21983         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21984         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21985         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21987         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21988         definition.
21989         (_ufc_doit_r): Likewise.
21990         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21991         (_ufc_output_conversion_r): Likewise.
21992         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21993         * inet/rcmd.c (rcmd_af): Likewise.
21994         (rcmd): Likewise.
21995         (ruserok_af): Likewise.
21996         (ruserok): Likewise.
21997         (ruserok2_sa): Likewise.
21998         (ruserok_sa): Likewise.
21999         (iruserok_af): Likewise.
22000         (iruserok): Likewise.
22001         (__ivaliduser): Likewise.
22002         (__validuser2_sa): Likewise.
22003         * inet/rexec.c (rexec_af): Likewise.
22004         (rexec): Likewise.
22005         * inet/ruserpass.c (ruserpass): Likewise.
22006         * locale/programs/xmalloc.c (xcalloc): Likewise.
22007         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
22008         * math/w_drem.c (__drem): Likewise.
22009         * math/w_dremf.c (__dremf): Likewise.
22010         * math/w_dreml.c (__dreml): Likewise.
22011         * misc/daemon.c (daemon): Likewise.
22012         * resolv/res_debug.c (p_fqnname): Likewise.
22013         * stdlib/div.c (div): Likewise.
22014         * string/memcmp.c (memcmp_bytes): Likewise.
22015         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
22016         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
22018         * crypt/cert.c (main): Convert to prototype-style function
22019         definition.
22020         * io/pipe.c (__pipe): Likewise.
22021         * io/pipe2.c (__pipe2): Likewise.
22022         * misc/futimesat.c (futimesat): Likewise.
22023         * misc/utimes.c (__utimes): Likewise.
22024         * posix/execve.c (__execve): Likewise.
22025         * posix/execvp.c (execvp): Likewise.
22026         * posix/execvpe.c (__execvpe): Likewise.
22027         * posix/fexecve.c (fexecve): Likewise.
22028         * socket/socketpair.c (socketpair): Likewise.
22029         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22030         * stdlib/erand48.c (erand48): Likewise.
22031         * stdlib/erand48_r.c (__erand48_r): Likewise.
22032         * stdlib/jrand48.c (jrand48): Likewise.
22033         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
22034         * stdlib/lcong48.c (lcong48): Likewise.
22035         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
22036         * stdlib/nrand48.c (nrand48): Likewise.
22037         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
22038         * stdlib/seed48.c (seed48): Likewise.
22039         * stdlib/seed48_r.c (__seed48_r): Likewise.
22040         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
22041         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
22042         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
22044 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22046         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
22047         * configure: Regenerated.
22048         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
22049         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
22050         unconditional.
22051         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22052         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22053         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22054         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
22055         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
22056         unconditional.
22057         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22059         * posix/Makefile (CFLAGS-regex.c): Remove variable.
22060         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
22062         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
22063         function definition.
22064         * crypt/crypt_util.c (__encrypt_r): Likewise.
22065         * libio/genops.c (_IO_no_init): Likewise.
22066         * libio/iofopncook.c (_IO_fopencookie): Likewise.
22067         (_IO_old_fopencookie): Likewise.
22068         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22069         * libio/iogetline.c (_IO_getline): Likewise.
22070         (_IO_getline_info): Likewise.
22071         * libio/iogetwline.c (_IO_getwline): Likewise.
22072         (_IO_getwline_info): Likewise.
22073         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
22074         * libio/vswprintf.c (_IO_vswprintf): Likewise.
22075         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
22076         (find_entry): Likewise.
22077         (iterate_table): Likewise.
22078         (lookup): Likewise.
22079         * login/forkpty.c (forkpty): Likewise.
22080         * misc/hsearch_r.c (__hsearch_r): Likewise.
22081         * misc/select.c (__select): Likewise.
22082         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
22083         Likewise.
22084         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
22085         Likewise.
22086         * nptl/old_pthread_cond_timedwait.c
22087         (__pthread_cond_timedwait_2_0): Likewise.
22088         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22089         * nptl/pthread_barrierattr_getpshared.c
22090         (pthread_barrierattr_getpshared): Likewise.
22091         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
22092         Likewise.
22093         * nptl/pthread_mutex_setprioceiling.c
22094         (pthread_mutex_setprioceiling): Likewise.
22095         * nptl/pthread_mutexattr_getprioceiling.c
22096         (pthread_mutexattr_getprioceiling): Likewise.
22097         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22098         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22099         Likewise.
22100         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22101         Likewise.
22102         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
22103         Likewise.
22104         * socket/recvfrom.c (__recvfrom): Likewise.
22105         * socket/sendto.c (__sendto): Likewise.
22106         * socket/setsockopt.c (__setsockopt): Likewise.
22107         * stdio-common/_itoa.c (_itoa): Likewise.
22108         * stdio-common/_itowa.c (_itowa): Likewise.
22109         * stdio-common/reg-printf.c (__register_printf_specifier):
22110         Likewise.
22111         (__register_printf_function): Likewise.
22112         * stdio-common/tempname.c (__path_search): Likewise.
22113         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
22114         * stdlib/mul_1.c (mpn_mul_1): Likewise.
22115         * stdlib/random_r.c (__initstate_r): Likewise.
22116         * stdlib/setenv.c (__add_to_environ): Likewise.
22117         * stdlib/submul_1.c (mpn_submul_1): Likewise.
22118         * streams/getpmsg.c (getpmsg): Likewise.
22119         * streams/putmsg.c (putmsg): Likewise.
22120         * streams/putpmsg.c (putpmsg): Likewise.
22121         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
22122         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
22123         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
22124         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
22125         * sunrpc/pm_getport.c (pmap_getport): Likewise.
22126         * sunrpc/svc_udp.c (cache_get): Likewise.
22127         * sunrpc/xdr_array.c (xdr_vector): Likewise.
22128         * sysdeps/mach/hurd/getcwd.c
22129         (__canonicalize_directory_name_internal): Likewise.
22130         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
22131         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
22132         * sysdeps/mach/hurd/select.c (__select): Likewise.
22133         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
22134         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
22135         * sysdeps/sparc/nptl/pthread_barrier_init.c
22136         (__pthread_barrier_init): Likewise.
22137         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
22138         (__pthread_cond_timedwait): Likewise.
22139         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
22140         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
22141         Likewise.
22142         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
22143         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
22144         Likewise.
22145         * sysvipc/semtimedop.c (semtimedop): Likewise.
22146         * time/setitimer.c (__setitimer): Likewise.
22147         * time/strftime_l.c (emacs_strftime): Likewise.
22149 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22151         * config.make.in (have-ssp): Delete.
22152         (stack-protector): New variable.
22153         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
22154         cache test for -fstack-protector-strong.  Export stack_protector to
22155         the best ssp flag.
22156         * configure: Regenerated.
22157         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
22158         * nscd/Makefile (CFLAGS-nscd): Likewise.
22159         * resolv/Makefile (CFLAGS-libresolv): Likewise.
22161 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
22163         [BZ #19122]
22164         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
22165         attribute_hidden.
22167 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22169         [BZ #18743]
22170         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
22171         code to...
22172         (ELIDE_LOCK): ...here.
22173         (__get_new_count): New function with part of the code from
22174         __elide_lock that updates the value of adapt_count after a
22175         transaction abort.
22176         (__elided_trylock): Moved this code to...
22177         (ELIDE_TRYLOCK): ...here.
22179 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22181         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
22182         * configure: Regenerate.
22183         * INSTALL: Regenerate.
22184         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
22185         and tweak grammar.
22187 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
22189         * login/programs/pt_chown.c: Include signal.h
22190         (main): Clear any signal mask from the parent process.
22192 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22194         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
22195         * configure: Regenerated.
22196         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
22197         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
22198         $(gnu89-inline-CFLAGS).
22200         * configure.ac (libc_cv_asm_weak_directive): Remove configure
22201         test.
22202         (libc_cv_asm_weakext_directive): Likewise.
22203         * configure: Regenerated.
22204         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
22205         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
22206         * include/libc-symbols.h
22207         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
22208         #error.
22209         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
22210         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
22212         * sysdeps/arm/backtrace.c (__backtrace): Convert to
22213         prototype-style function definition.
22214         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22215         * sysdeps/i386/ffs.c (__ffs): Likewise.
22216         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22217         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
22218         Likewise.
22219         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22220         Likewise.
22221         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
22222         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
22223         Likewise.
22224         * sysdeps/m68k/ffs.c (__ffs): Likewise.
22225         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
22226         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
22227         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
22228         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
22229         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
22230         * sysdeps/mach/hurd/access.c (__access): Likewise.
22231         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
22232         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
22233         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
22234         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
22235         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
22236         (cthread_getspecific): Likewise.
22237         (cthread_setspecific): Likewise.
22238         (__libc_getspecific): Likewise.
22239         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
22240         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
22241         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
22242         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
22243         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
22244         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
22245         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
22246         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
22247         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
22248         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
22249         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
22250         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
22251         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
22252         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
22253         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
22254         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
22255         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
22256         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
22257         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
22258         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
22259         * sysdeps/mach/hurd/link.c (__link): Likewise.
22260         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
22261         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
22262         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
22263         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
22264         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22265         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
22266         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
22267         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
22268         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22269         * sysdeps/mach/hurd/rename.c (rename): Likewise.
22270         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
22271         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
22272         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
22273         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
22274         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
22275         * sysdeps/mach/hurd/send.c (__send): Likewise.
22276         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
22277         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
22278         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
22279         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
22280         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
22281         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
22282         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
22283         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
22284         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
22285         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
22286         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
22287         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
22288         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
22289         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
22290         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
22291         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22292         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
22293         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22294         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22295         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22296         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22297         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22298         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22299         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22300         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22301         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22302         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22303         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22304         * sysdeps/posix/alarm.c (alarm): Likewise.
22305         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22306         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22307         * sysdeps/posix/dup.c (__dup): Likewise.
22308         * sysdeps/posix/dup2.c (__dup2): Likewise.
22309         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22310         (main): Likewise.
22311         * sysdeps/posix/flock.c (__flock): Likewise.
22312         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22313         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22314         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22315         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22316         * sysdeps/posix/isatty.c (__isatty): Likewise.
22317         * sysdeps/posix/killpg.c (killpg): Likewise.
22318         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22319         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22320         * sysdeps/posix/raise.c (raise): Likewise.
22321         * sysdeps/posix/remove.c (remove): Likewise.
22322         * sysdeps/posix/rename.c (rename): Likewise.
22323         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22324         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22325         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22326         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22327         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22328         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22329         * sysdeps/posix/sigset.c (sigset): Likewise.
22330         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22331         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22332         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22333         * sysdeps/posix/time.c (time): Likewise.
22334         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22335         (ttyname): Likewise.
22336         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22337         * sysdeps/posix/utime.c (utime): Likewise.
22338         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22339         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22340         Likewise.
22341         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22342         (pthread_spin_trylock): Likewise.
22343         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22344         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22345         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22346         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22347         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22348         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22349         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22350         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22351         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22352         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22353         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22354         * sysdeps/s390/ffs.c (__ffs): Likewise.
22355         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22356         Likewise.
22357         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22358         Likewise.
22359         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22360         Likewise.
22361         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22362         (pthread_barrier_destroy): Likewise.
22363         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22364         (__pthread_barrier_wait): Likewise.
22365         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22366         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22367         (__pthread_barrier_wait): Likewise.
22368         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22369         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22370         (memcmp_not_common_alignment): Likewise.
22371         (MEMCMP): Likewise.
22372         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22373         (_wordcopy_fwd_dest_aligned): Likewise.
22374         (_wordcopy_bwd_aligned): Likewise.
22375         (_wordcopy_bwd_dest_aligned): Likewise.
22376         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22377         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22378         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22379         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22380         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22381         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22382         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22383         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22384         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22385         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22386         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22387         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22388         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22389         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22390         * sysdeps/unix/stime.c (stime): Likewise.
22391         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22392         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22393         Likewise.  Use internal_function.
22394         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22395         Convert to prototype-style function definition.
22396         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22397         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22398         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22399         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22400         Likewise.  Use internal_function.
22401         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22402         prototype-style function definition
22403         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22404         Likewise.
22405         (__getlogin_r): Likewise.
22406         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22407         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22408         (__pthread_cond_broadcast): Likewise.
22409         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22410         (__pthread_cond_destroy): Likewise.
22411         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22412         (__pthread_cond_init): Likewise.
22413         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22414         (__pthread_cond_signal): Likewise.
22415         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22416         (__pthread_cond_wait): Likewise.
22417         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22418         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22419         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22420         Likewise.
22421         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22422         Likewise.
22423         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22424         Likewise.
22425         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22426         Likewise.
22427         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22429         (__ftruncate64): Likewise.
22430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22431         (truncate64): Likewise.
22432         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22433         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22434         (pthread_getcpuclockid): Likewise.
22435         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22436         Likewise.
22437         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22438         Likewise.
22439         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22440         Likewise.
22441         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22442         Likewise.
22443         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22444         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22445         (__libc_sigaction): Likewise.
22446         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22447         Likewise.
22448         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22449         (__sigprocmask): Likewise.
22450         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22451         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22452         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22453         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22454         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22455         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22456         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22457         Likewise.
22458         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22459         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22460         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22461         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22462         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22463         Likewise.
22464         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22465         (__sigprocmask): Likewise.
22466         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22467         (cfgetispeed): Likewise.
22468         (cfsetospeed): Likewise.
22469         (cfsetispeed): Likewise.
22470         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22471         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22472         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22473         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22474         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22475         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22476         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22477         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22478         Likewise.
22479         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22480         Likewise.
22481         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22482         Likewise.
22483         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22484         Likewise.
22485         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22487 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22489         sunrpc: Rewrite with explicit TLS access using __thread.
22490         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22491         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22492         directly.
22493         (__rpc_thread_variables): Access thread_rpc_vars directly.
22494         Eliminate redundant assignment of the tvp variable.
22496 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22498         malloc: Rewrite with explicit TLS access using __thread.
22499         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22500         (tsd_setspecific, tsd_getspecific): Remove.
22501         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22502         (tsd_setspecific, tsd_getspecific): Likewise.
22503         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22504         (tsd_setspecific, tsd_getspecific): Likewise.
22505         * malloc/arena.c (thread_arena): New TLS variable.
22506         (arena_key): Remove variable.
22507         (arena_get): Use thread_arena.
22508         (arena_lookup): Remove macro.
22509         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22510         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22511         (_int_new_arena, get_free_list, reused_arena)
22512         (arena_thread_freeres): Use thread_arena.
22513         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22514         tsd_getspecific, tsd_setspecific from safety annotations.
22515         (Allocating Cleared Space): Remove arena_lookup from safety
22516         annotations.
22518 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22520         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22521         struct scratch_buffer instead of extend_alloca.
22523 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22525         * sysdeps/unix/sysv/linux/kernel-features.h
22526         (__ASSUME_SOCK_CLOEXEC): Remove.
22527         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22528         (__have_paccept): Remove unused macro.
22529         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22530         * misc/syslog.c (openlog_internal): Remove fallback code for
22531         !__ASSUME_SOCK_CLOEXEC.
22532         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22533         missing SOCK_CLOEXEC.
22534         * nscd/connections.c (have_sock_cloexec): Remove definition.
22535         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22536         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22537         !__ASSUME_SOCK_CLOEXEC.
22538         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22539         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22540         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22541         definition.
22542         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22543         code for !__ASSUME_SOCK_CLOEXEC.
22545 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22547         [BZ #18982]
22548         * manual/stdio.texi (Variable Arguments Output): Add portability
22549         note, explaining that vfprintf clobbers the va_list pointer.
22551 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22553         * math/libm-test.inc (fabs_test_data): Add more tests.
22554         (fdim_test_data): Likewise.
22555         (fma_test_data): Likewise.
22556         (fmax_test_data): Likewise.
22557         (fmin_test_data): Likewise.
22558         (fmod_test_data): Likewise.
22560 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22562         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22563         data.
22565 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22567         * math/libm-test.inc (ceil_test_data): Add more tests and more
22568         expectations for "inexact".
22569         (floor_test_data): Add more tests.
22570         (round_test_data): Likewise.
22571         (trunc_test_data): Likewise.
22573         * crypt/cert.c (good_bye): Convert to prototype-style function
22574         definition.
22575         (get8): Likewise.
22576         (put8): Likewise.
22577         * crypt/crypt-entry.c (crypt): Likewise.
22578         (__fcrypt): Likewise.
22579         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22580         (_ufc_set_bits): Likewise.
22581         (_ufc_clearmem): Likewise.
22582         (__init_des_r): Likewise.
22583         (shuffle_sb): Likewise.
22584         (shuffle_sb): Likewise.
22585         (_ufc_setup_salt_r): Likewise.
22586         (_ufc_mk_keytab_r): Likewise.
22587         (_ufc_dofinalperm_r): Likewise.
22588         (encrypt): Likewise.
22589         (__setkey_r): Likewise.
22590         (setkey): Likewise.
22591         * crypt/md5.c (md5_init_ctx): Likewise.
22592         (md5_read_ctx): Likewise.
22593         (md5_finish_ctx): Likewise.
22594         (md5_stream): Likewise.
22595         (md5_buffer): Likewise.
22596         (md5_process_bytes): Likewise.
22597         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22598         (__sha256_finish_ctx): Likewise.
22599         (__sha256_process_bytes): Likewise.
22600         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22601         (__sha512_finish_ctx): Likewise.
22602         (__sha512_process_bytes): Likewise.
22603         * ctype/isctype.c (__isctype): Likewise.
22604         * debug/backtrace.c (__backtrace): Likewise.
22605         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22606         * debug/fgets_chk.c (__fgets_chk): Likewise.
22607         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22608         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22609         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22610         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22611         * debug/memset_chk.c (__memset_chk): Likewise.
22612         * debug/strcat_chk.c (__strcat_chk): Likewise.
22613         * debug/strncat_chk.c (__strncat_chk): Likewise.
22614         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22615         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22616         * dirent/dirfd.c (dirfd): Likewise.
22617         * dirent/getdents.c (__getdirentries): Likewise.
22618         * dirent/getdents64.c (getdirentries64): Likewise.
22619         * dirent/rewinddir.c (__rewinddir): Likewise.
22620         * dirent/seekdir.c (seekdir): Likewise.
22621         * dirent/telldir.c (telldir): Likewise.
22622         * elf/sln.c (makesymlinks): Likewise.
22623         (makesymlink): Likewise.
22624         * gmon/gmon.c (__moncontrol): Likewise.
22625         (__monstartup): Likewise.
22626         (write_hist): Likewise.
22627         (write_call_graph): Likewise.
22628         (write_bb_counts): Likewise.
22629         * grp/setgroups.c (setgroups): Likewise.
22630         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22631         * inet/inet_net.c (inet_network): Likewise.
22632         * inet/inet_netof.c (inet_netof): Likewise.
22633         * inet/rcmd.c (rresvport_af): Likewise.
22634         (rresvport): Likewise.
22635         * io/access.c (__access): Likewise.
22636         * io/chdir.c (__chdir): Likewise.
22637         * io/chmod.c (__chmod): Likewise.
22638         * io/chown.c (__chown): Likewise.
22639         * io/close.c (__close): Likewise.
22640         * io/creat.c (creat): Likewise.
22641         * io/creat64.c (creat64): Likewise.
22642         * io/dup.c (__dup): Likewise.
22643         * io/dup2.c (__dup2): Likewise.
22644         * io/dup3.c (__dup3): Likewise.
22645         * io/euidaccess.c (__euidaccess): Likewise.
22646         * io/faccessat.c (faccessat): Likewise.
22647         * io/fchmod.c (__fchmod): Likewise.
22648         * io/fchmodat.c (fchmodat): Likewise.
22649         * io/fchown.c (__fchown): Likewise.
22650         * io/fchownat.c (fchownat): Likewise.
22651         * io/fcntl.c (__fcntl): Likewise.
22652         * io/flock.c (__flock): Likewise.
22653         * io/fts.c (fts_load): Likewise.
22654         (fts_close): Likewise.
22655         (fts_read): Likewise.
22656         (fts_set): Likewise.
22657         (fts_children): Likewise.
22658         (fts_build): Likewise.
22659         (fts_stat): Likewise.
22660         (fts_sort): Likewise.
22661         (fts_alloc): Likewise.
22662         (fts_lfree): Likewise.
22663         (fts_palloc): Likewise.
22664         (fts_padjust): Likewise.
22665         (fts_maxarglen): Likewise.
22666         (fts_safe_changedir): Likewise.
22667         * io/getwd.c (getwd): Likewise.
22668         * io/isatty.c (__isatty): Likewise.
22669         * io/lchown.c (__lchown): Likewise.
22670         * io/link.c (__link): Likewise.
22671         * io/linkat.c (linkat): Likewise.
22672         * io/lseek.c (__libc_lseek): Likewise.
22673         * io/mkdir.c (__mkdir): Likewise.
22674         * io/mkdirat.c (mkdirat): Likewise.
22675         * io/mkfifo.c (mkfifo): Likewise.
22676         * io/mkfifoat.c (mkfifoat): Likewise.
22677         * io/open.c (__libc_open): Likewise.
22678         * io/open64.c (__libc_open64): Likewise.
22679         * io/readlink.c (__readlink): Likewise.
22680         * io/readlinkat.c (readlinkat): Likewise.
22681         * io/rmdir.c (__rmdir): Likewise.
22682         * io/symlink.c (__symlink): Likewise.
22683         * io/symlinkat.c (symlinkat): Likewise.
22684         * io/ttyname.c (ttyname): Likewise.
22685         * io/ttyname_r.c (__ttyname_r): Likewise.
22686         * io/umask.c (__umask): Likewise.
22687         * io/unlink.c (__unlink): Likewise.
22688         * io/unlinkat.c (unlinkat): Likewise.
22689         * io/utime.c (utime): Likewise.
22690         * libio/clearerr.c (clearerr): Likewise.
22691         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22692         * libio/feof.c (_IO_feof): Likewise.
22693         * libio/feof_u.c (feof_unlocked): Likewise.
22694         * libio/ferror.c (_IO_ferror): Likewise.
22695         * libio/ferror_u.c (ferror_unlocked): Likewise.
22696         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22697         * libio/fileno.c (__fileno): Likewise.
22698         * libio/fputc.c (fputc): Likewise.
22699         * libio/fputc_u.c (fputc_unlocked): Likewise.
22700         * libio/fputwc.c (fputwc): Likewise.
22701         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22702         * libio/freopen.c (freopen): Likewise.
22703         * libio/freopen64.c (freopen64): Likewise.
22704         * libio/fseek.c (fseek): Likewise.
22705         * libio/fseeko.c (fseeko): Likewise.
22706         * libio/fseeko64.c (fseeko64): Likewise.
22707         * libio/ftello.c (__ftello): Likewise.
22708         * libio/ftello64.c (ftello64): Likewise.
22709         * libio/fwide.c (fwide): Likewise.
22710         * libio/genops.c (_IO_un_link): Likewise.
22711         (_IO_link_in): Likewise.
22712         (_IO_least_marker): Likewise.
22713         (_IO_switch_to_main_get_area): Likewise.
22714         (_IO_switch_to_backup_area): Likewise.
22715         (_IO_switch_to_get_mode): Likewise.
22716         (_IO_free_backup_area): Likewise.
22717         (_IO_switch_to_put_mode): Likewise.
22718         (__overflow): Likewise.
22719         (__underflow): Likewise.
22720         (__uflow): Likewise.
22721         (_IO_setb): Likewise.
22722         (_IO_doallocbuf): Likewise.
22723         (_IO_default_underflow): Likewise.
22724         (_IO_default_uflow): Likewise.
22725         (_IO_default_xsputn): Likewise.
22726         (_IO_sgetn): Likewise.
22727         (_IO_default_xsgetn): Likewise.
22728         (_IO_sync): Likewise.
22729         (_IO_default_setbuf): Likewise.
22730         (_IO_default_seekpos): Likewise.
22731         (_IO_default_doallocate): Likewise.
22732         (_IO_init): Likewise.
22733         (_IO_old_init): Likewise.
22734         (_IO_default_sync): Likewise.
22735         (_IO_default_finish): Likewise.
22736         (_IO_default_seekoff): Likewise.
22737         (_IO_sputbackc): Likewise.
22738         (_IO_sungetc): Likewise.
22739         (_IO_set_column): Likewise.
22740         (_IO_set_column): Likewise.
22741         (_IO_adjust_column): Likewise.
22742         (_IO_get_column): Likewise.
22743         (_IO_init_marker): Likewise.
22744         (_IO_remove_marker): Likewise.
22745         (_IO_marker_difference): Likewise.
22746         (_IO_marker_delta): Likewise.
22747         (_IO_seekmark): Likewise.
22748         (_IO_unsave_markers): Likewise.
22749         (_IO_nobackup_pbackfail): Likewise.
22750         (_IO_default_pbackfail): Likewise.
22751         (_IO_default_seek): Likewise.
22752         (_IO_default_stat): Likewise.
22753         (_IO_default_read): Likewise.
22754         (_IO_default_write): Likewise.
22755         (_IO_default_showmanyc): Likewise.
22756         (_IO_default_imbue): Likewise.
22757         (_IO_iter_next): Likewise.
22758         (_IO_iter_file): Likewise.
22759         * libio/getc.c (_IO_getc): Likewise.
22760         * libio/getwc.c (_IO_getwc): Likewise.
22761         * libio/iofclose.c (_IO_new_fclose): Likewise.
22762         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22763         * libio/iofflush.c (_IO_fflush): Likewise.
22764         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22765         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22766         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22767         * libio/iofgets.c (_IO_fgets): Likewise.
22768         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22769         * libio/iofgetws.c (fgetws): Likewise.
22770         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22771         * libio/iofopen64.c (_IO_fopen64): Likewise.
22772         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22773         (_IO_cookie_write): Likewise.
22774         (_IO_cookie_seek): Likewise.
22775         (_IO_cookie_close): Likewise.
22776         (_IO_cookie_seekoff): Likewise.
22777         (_IO_old_cookie_seek): Likewise.
22778         * libio/iofputs.c (_IO_fputs): Likewise.
22779         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22780         * libio/iofputws.c (fputws): Likewise.
22781         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22782         * libio/iofread.c (_IO_fread): Likewise.
22783         * libio/iofread_u.c (__fread_unlocked): Likewise.
22784         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22785         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22786         * libio/ioftell.c (_IO_ftell): Likewise.
22787         * libio/iofwrite.c (_IO_fwrite): Likewise.
22788         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22789         * libio/iogets.c (_IO_gets): Likewise.
22790         * libio/iopadn.c (_IO_padn): Likewise.
22791         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22792         (_IO_new_popen): Likewise.
22793         (_IO_new_proc_close): Likewise.
22794         * libio/ioputs.c (_IO_puts): Likewise.
22795         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22796         (_IO_seekoff): Likewise.
22797         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22798         (_IO_seekpos): Likewise.
22799         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22800         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22801         * libio/ioungetc.c (_IO_ungetc): Likewise.
22802         * libio/ioungetwc.c (ungetwc): Likewise.
22803         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22804         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22805         * libio/iowpadn.c (_IO_wpadn): Likewise.
22806         * libio/libc_fatal.c (__libc_fatal): Likewise.
22807         * libio/memstream.c (__open_memstream): Likewise.
22808         (_IO_mem_sync): Likewise.
22809         (_IO_mem_finish): Likewise.
22810         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22811         (_IO_old_file_close_it): Likewise.
22812         (_IO_old_file_finish): Likewise.
22813         (_IO_old_file_fopen): Likewise.
22814         (_IO_old_file_attach): Likewise.
22815         (_IO_old_file_setbuf): Likewise.
22816         (_IO_old_do_write): Likewise.
22817         (old_do_write): Likewise.
22818         (_IO_old_file_underflow): Likewise.
22819         (_IO_old_file_overflow): Likewise.
22820         (_IO_old_file_sync): Likewise.
22821         (_IO_old_file_seekoff): Likewise.
22822         (_IO_old_file_write): Likewise.
22823         (_IO_old_file_xsputn): Likewise.
22824         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22825         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22826         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22827         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22828         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22829         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22830         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22831         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22832         (_IO_old_popen): Likewise.
22833         (_IO_old_proc_close): Likewise.
22834         * libio/oldpclose.c (__old_pclose): Likewise.
22835         * libio/pclose.c (__new_pclose): Likewise.
22836         * libio/peekc.c (_IO_peekc_locked): Likewise.
22837         * libio/putc.c (_IO_putc): Likewise.
22838         * libio/putc_u.c (putc_unlocked): Likewise.
22839         * libio/putchar.c (putchar): Likewise.
22840         * libio/putchar_u.c (putchar_unlocked): Likewise.
22841         * libio/putwc.c (putwc): Likewise.
22842         * libio/putwc_u.c (putwc_unlocked): Likewise.
22843         * libio/putwchar.c (putwchar): Likewise.
22844         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22845         * libio/rewind.c (rewind): Likewise.
22846         * libio/setbuf.c (setbuf): Likewise.
22847         * libio/setlinebuf.c (setlinebuf): Likewise.
22848         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22849         * libio/vscanf.c (_IO_vscanf): Likewise.
22850         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22851         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22852         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22853         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22854         (_IO_switch_to_main_wget_area): Likewise.
22855         (_IO_switch_to_wbackup_area): Likewise.
22856         (_IO_wsetb): Likewise.
22857         (_IO_wdefault_pbackfail): Likewise.
22858         (_IO_wdefault_finish): Likewise.
22859         (_IO_wdefault_uflow): Likewise.
22860         (__woverflow): Likewise.
22861         (__wuflow): Likewise.
22862         (__wunderflow): Likewise.
22863         (_IO_wdefault_xsputn): Likewise.
22864         (_IO_wdefault_xsgetn): Likewise.
22865         (_IO_wdoallocbuf): Likewise.
22866         (_IO_wdefault_doallocate): Likewise.
22867         (_IO_switch_to_wget_mode): Likewise.
22868         (_IO_free_wbackup_area): Likewise.
22869         (_IO_switch_to_wput_mode): Likewise.
22870         (_IO_sputbackwc): Likewise.
22871         (_IO_sungetwc): Likewise.
22872         (_IO_adjust_wcolumn): Likewise.
22873         (_IO_init_wmarker): Likewise.
22874         (_IO_wmarker_delta): Likewise.
22875         (_IO_seekwmark): Likewise.
22876         (_IO_unsave_wmarkers): Likewise.
22877         * libio/wmemstream.c (open_wmemstream): Likewise.
22878         (_IO_wmem_sync): Likewise.
22879         (_IO_wmem_finish): Likewise.
22880         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22881         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22882         * locale/programs/simple-hash.c (init_hash): Likewise.
22883         (delete_hash): Likewise.
22884         (insert_entry): Likewise.
22885         (set_entry): Likewise.
22886         (next_prime): Likewise.
22887         (is_prime): Likewise.
22888         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22889         (xmalloc): Likewise.
22890         (xrealloc): Likewise.
22891         * locale/programs/xstrdup.c (xstrdup): Likewise.
22892         * localedata/collate-test.c (xstrcoll): Likewise.
22893         * localedata/xfrm-test.c (xstrcmp): Likewise.
22894         * login/getlogin_r.c (__getlogin_r): Likewise.
22895         * login/getpt.c (__posix_openpt): Likewise.
22896         * login/login_tty.c (login_tty): Likewise.
22897         * login/setlogin.c (setlogin): Likewise.
22898         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22899         (mach_msg_destroy_port): Likewise.
22900         (mach_msg_destroy_memory): Likewise.
22901         * malloc/mcheck.c (flood): Likewise.
22902         * misc/acct.c (acct): Likewise.
22903         * misc/brk.c (__brk): Likewise.
22904         * misc/chflags.c (chflags): Likewise.
22905         * misc/chroot.c (chroot): Likewise.
22906         * misc/fchflags.c (fchflags): Likewise.
22907         * misc/fstab.c (getfsspec): Likewise.
22908         (getfsfile): Likewise.
22909         * misc/fsync.c (fsync): Likewise.
22910         * misc/ftruncate.c (__ftruncate): Likewise.
22911         * misc/ftruncate64.c (__ftruncate64): Likewise.
22912         * misc/getdomain.c (getdomainname): Likewise.
22913         (getdomainname): Likewise.
22914         * misc/gethostname.c (__gethostname): Likewise.
22915         * misc/getpass.c (getpass): Likewise.
22916         * misc/getttyent.c (skip): Likewise.
22917         (value): Likewise.
22918         * misc/gtty.c (gtty): Likewise.
22919         * misc/hsearch.c (hsearch): Likewise.
22920         (hcreate): Likewise.
22921         * misc/hsearch_r.c (__hcreate_r): Likewise.
22922         (__hdestroy_r): Likewise.
22923         * misc/ioctl.c (__ioctl): Likewise.
22924         * misc/mkdtemp.c (mkdtemp): Likewise.
22925         * misc/mkostemp.c (mkostemp): Likewise.
22926         * misc/mkostemp64.c (mkostemp64): Likewise.
22927         * misc/mkostemps.c (mkostemps): Likewise.
22928         * misc/mkostemps64.c (mkostemps64): Likewise.
22929         * misc/mkstemp.c (mkstemp): Likewise.
22930         * misc/mkstemp64.c (mkstemp64): Likewise.
22931         * misc/mkstemps.c (mkstemps): Likewise.
22932         * misc/mkstemps64.c (mkstemps64): Likewise.
22933         * misc/mktemp.c (__mktemp): Likewise.
22934         * misc/preadv.c (preadv): Likewise.
22935         * misc/preadv64.c (preadv64): Likewise.
22936         * misc/pwritev.c (pwritev): Likewise.
22937         * misc/pwritev64.c (pwritev64): Likewise.
22938         * misc/readv.c (__readv): Likewise.
22939         * misc/revoke.c (revoke): Likewise.
22940         * misc/setdomain.c (setdomainname): Likewise.
22941         * misc/setegid.c (setegid): Likewise.
22942         * misc/seteuid.c (seteuid): Likewise.
22943         * misc/sethostid.c (sethostid): Likewise.
22944         * misc/sethostname.c (sethostname): Likewise.
22945         * misc/setregid.c (__setregid): Likewise.
22946         * misc/setreuid.c (__setreuid): Likewise.
22947         * misc/sstk.c (sstk): Likewise.
22948         * misc/stty.c (stty): Likewise.
22949         * misc/syscall.c (syscall): Likewise.
22950         * misc/syslog.c (setlogmask): Likewise.
22951         * misc/truncate.c (__truncate): Likewise.
22952         * misc/truncate64.c (truncate64): Likewise.
22953         * misc/ualarm.c (ualarm): Likewise.
22954         * misc/usleep.c (usleep): Likewise.
22955         * misc/ustat.c (ustat): Likewise.
22956         * misc/writev.c (__writev): Likewise.
22957         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22958         * nptl/old_pthread_cond_broadcast.c
22959         (__pthread_cond_broadcast_2_0): Likewise.
22960         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22961         Likewise.
22962         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22963         Likewise.
22964         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22965         Likewise.
22966         * nptl/pt-raise.c (raise): Likewise.
22967         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22968         Likewise.
22969         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22970         * nptl/pthread_barrierattr_destroy.c
22971         (pthread_barrierattr_destroy): Likewise.
22972         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22973         Likewise.
22974         * nptl/pthread_barrierattr_setpshared.c
22975         (pthread_barrierattr_setpshared): Likewise.
22976         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22977         Likewise.
22978         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22979         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22980         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22981         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22982         Likewise.
22983         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22984         Likewise.
22985         * nptl/pthread_condattr_getpshared.c
22986         (pthread_condattr_getpshared): Likewise.
22987         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22988         Likewise.
22989         * nptl/pthread_condattr_setpshared.c
22990         (pthread_condattr_setpshared): Likewise.
22991         * nptl/pthread_detach.c (pthread_detach): Likewise.
22992         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22993         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22994         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22995         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22996         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22997         Likewise.
22998         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22999         Likewise.
23000         * nptl/pthread_mutex_getprioceiling.c
23001         (pthread_mutex_getprioceiling): Likewise.
23002         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
23003         Likewise.
23004         * nptl/pthread_mutexattr_getprotocol.c
23005         (pthread_mutexattr_getprotocol): Likewise.
23006         * nptl/pthread_mutexattr_getpshared.c
23007         (pthread_mutexattr_getpshared): Likewise.
23008         * nptl/pthread_mutexattr_getrobust.c
23009         (pthread_mutexattr_getrobust): Likewise.
23010         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23011         Likewise.
23012         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
23013         Likewise.
23014         * nptl/pthread_mutexattr_setprioceiling.c
23015         (pthread_mutexattr_setprioceiling): Likewise.
23016         * nptl/pthread_mutexattr_setprotocol.c
23017         (pthread_mutexattr_setprotocol): Likewise.
23018         * nptl/pthread_mutexattr_setpshared.c
23019         (pthread_mutexattr_setpshared): Likewise.
23020         * nptl/pthread_mutexattr_setrobust.c
23021         (pthread_mutexattr_setrobust): Likewise.
23022         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
23023         Likewise.
23024         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
23025         Likewise.
23026         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
23027         Likewise.
23028         * nptl/pthread_rwlockattr_getkind_np.c
23029         (pthread_rwlockattr_getkind_np): Likewise.
23030         * nptl/pthread_rwlockattr_getpshared.c
23031         (pthread_rwlockattr_getpshared): Likewise.
23032         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
23033         Likewise.
23034         * nptl/pthread_rwlockattr_setkind_np.c
23035         (pthread_rwlockattr_setkind_np): Likewise.
23036         * nptl/pthread_rwlockattr_setpshared.c
23037         (pthread_rwlockattr_setpshared): Likewise.
23038         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
23039         Likewise.
23040         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
23041         Likewise.
23042         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
23043         Likewise.
23044         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
23045         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
23046         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
23047         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
23048         * nptl/sem_close.c (sem_close): Likewise.
23049         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
23050         * nptl/sem_init.c (__old_sem_init): Likewise.
23051         * nptl/sigaction.c (__sigaction): Likewise.
23052         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23053         * posix/_exit.c (_exit): Likewise.
23054         * posix/alarm.c (alarm): Likewise.
23055         * posix/confstr.c (confstr): Likewise.
23056         * posix/fpathconf.c (__fpathconf): Likewise.
23057         * posix/getgroups.c (__getgroups): Likewise.
23058         * posix/getpgid.c (__getpgid): Likewise.
23059         * posix/group_member.c (__group_member): Likewise.
23060         * posix/pathconf.c (__pathconf): Likewise.
23061         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
23062         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
23063         * posix/setgid.c (__setgid): Likewise.
23064         * posix/setpgid.c (__setpgid): Likewise.
23065         * posix/setuid.c (__setuid): Likewise.
23066         * posix/sleep.c (__sleep): Likewise.
23067         * posix/sysconf.c (__sysconf): Likewise.
23068         * posix/times.c (__times): Likewise.
23069         * posix/uname.c (__uname): Likewise.
23070         * posix/waitid.c (__waitid): Likewise.
23071         * pwd/getpw.c (__getpw): Likewise.
23072         * resolv/base64.c (b64_pton): Likewise.
23073         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
23074         * resolv/gethnamaddr.c (Dprintf): Likewise.
23075         (gethostbyname): Likewise.
23076         (gethostbyname2): Likewise.
23077         (gethostbyaddr): Likewise.
23078         (_sethtent): Likewise.
23079         (_gethtbyname): Likewise.
23080         (_gethtbyname2): Likewise.
23081         (_gethtbyaddr): Likewise.
23082         (map_v4v6_address): Likewise.
23083         (map_v4v6_hostent): Likewise.
23084         (addrsort): Likewise.
23085         (ht_sethostent): Likewise.
23086         (ht_gethostbyname): Likewise.
23087         (ht_gethostbyaddr): Likewise.
23088         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
23089         (inet_net_ntop_ipv4): Likewise.
23090         * resolv/inet_neta.c (inet_neta): Likewise.
23091         * resolv/inet_ntop.c (inet_ntop): Likewise.
23092         (inet_ntop4): Likewise.
23093         (inet_ntop6): Likewise.
23094         * resolv/inet_pton.c (__inet_pton): Likewise.
23095         (inet_pton4): Likewise.
23096         (inet_pton6): Likewise.
23097         * resolv/res_debug.c (loc_aton): Likewise.
23098         (loc_ntoa): Likewise.
23099         * resource/getpriority.c (__getpriority): Likewise.
23100         * resource/getrusage.c (__getrusage): Likewise.
23101         * resource/nice.c (nice): Likewise.
23102         * resource/setpriority.c (__setpriority): Likewise.
23103         * resource/setrlimit64.c (setrlimit64): Likewise.
23104         * resource/vlimit.c (vlimit): Likewise.
23105         * resource/vtimes.c (vtimes): Likewise.
23106         * rt/aio_error.c (aio_error): Likewise.
23107         * rt/aio_return.c (aio_return): Likewise.
23108         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
23109         * signal/kill.c (__kill): Likewise.
23110         * signal/killpg.c (killpg): Likewise.
23111         * signal/raise.c (raise): Likewise.
23112         * signal/sigaction.c (__sigaction): Likewise.
23113         * signal/sigaddset.c (sigaddset): Likewise.
23114         * signal/sigaltstack.c (sigaltstack): Likewise.
23115         * signal/sigandset.c (sigandset): Likewise.
23116         * signal/sigblock.c (__sigblock): Likewise.
23117         * signal/sigdelset.c (sigdelset): Likewise.
23118         * signal/sigempty.c (sigemptyset): Likewise.
23119         * signal/sigfillset.c (sigfillset): Likewise.
23120         * signal/sighold.c (sighold): Likewise.
23121         * signal/sigignore.c (sigignore): Likewise.
23122         * signal/sigintr.c (siginterrupt): Likewise.
23123         * signal/sigisempty.c (sigisemptyset): Likewise.
23124         * signal/sigismem.c (sigismember): Likewise.
23125         * signal/signal.c (signal): Likewise.
23126         * signal/sigorset.c (sigorset): Likewise.
23127         * signal/sigpause.c (__sigpause): Likewise.
23128         * signal/sigpending.c (sigpending): Likewise.
23129         * signal/sigprocmask.c (__sigprocmask): Likewise.
23130         * signal/sigrelse.c (sigrelse): Likewise.
23131         * signal/sigreturn.c (__sigreturn): Likewise.
23132         * signal/sigset.c (sigset): Likewise.
23133         * signal/sigsetmask.c (__sigsetmask): Likewise.
23134         * signal/sigstack.c (sigstack): Likewise.
23135         * signal/sigsuspend.c (__sigsuspend): Likewise.
23136         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
23137         * signal/sysv_signal.c (__sysv_signal): Likewise.
23138         * socket/accept.c (accept): Likewise.
23139         * socket/accept4.c (__libc_accept4): Likewise.
23140         * socket/bind.c (__bind): Likewise.
23141         * socket/connect.c (__connect): Likewise.
23142         * socket/getpeername.c (getpeername): Likewise.
23143         * socket/getsockname.c (__getsockname): Likewise.
23144         * socket/getsockopt.c (getsockopt): Likewise.
23145         * socket/listen.c (__listen): Likewise.
23146         * socket/recv.c (__recv): Likewise.
23147         * socket/recvmsg.c (__recvmsg): Likewise.
23148         * socket/send.c (__send): Likewise.
23149         * socket/sendmsg.c (__sendmsg): Likewise.
23150         * socket/shutdown.c (shutdown): Likewise.
23151         * socket/sockatmark.c (sockatmark): Likewise.
23152         * socket/socket.c (__socket): Likewise.
23153         * stdio-common/ctermid.c (ctermid): Likewise.
23154         * stdio-common/cuserid.c (cuserid): Likewise.
23155         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
23156         * stdio-common/remove.c (remove): Likewise.
23157         * stdio-common/rename.c (rename): Likewise.
23158         * stdio-common/renameat.c (renameat): Likewise.
23159         * stdio-common/tempname.c (__gen_tempname): Likewise.
23160         * stdio-common/xbug.c (InitBuffer): Likewise.
23161         (AppendToBuffer): Likewise.
23162         (ReadFile): Likewise.
23163         * stdlib/a64l.c (a64l): Likewise.
23164         * stdlib/drand48_r.c (drand48_r): Likewise.
23165         * stdlib/getcontext.c (getcontext): Likewise.
23166         * stdlib/getenv.c (getenv): Likewise.
23167         * stdlib/l64a.c (l64a): Likewise.
23168         * stdlib/llabs.c (llabs): Likewise.
23169         * stdlib/lldiv.c (lldiv): Likewise.
23170         * stdlib/lrand48_r.c (lrand48_r): Likewise.
23171         * stdlib/mrand48_r.c (mrand48_r): Likewise.
23172         * stdlib/putenv.c (putenv): Likewise.
23173         * stdlib/random.c (__srandom): Likewise.
23174         (__initstate): Likewise.
23175         (__setstate): Likewise.
23176         * stdlib/random_r.c (__srandom_r): Likewise.
23177         (__setstate_r): Likewise.
23178         (__random_r): Likewise.
23179         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
23180         * stdlib/setcontext.c (setcontext): Likewise.
23181         * stdlib/setenv.c (setenv): Likewise.
23182         (unsetenv): Likewise.
23183         * stdlib/srand48.c (srand48): Likewise.
23184         * stdlib/srand48_r.c (__srand48_r): Likewise.
23185         * stdlib/swapcontext.c (swapcontext): Likewise.
23186         * stdlib/system.c (__libc_system): Likewise.
23187         * stdlib/tst-strtod.c (expand): Likewise.
23188         * stdlib/tst-strtol.c (expand): Likewise.
23189         * stdlib/tst-strtoll.c (expand): Likewise.
23190         * streams/fattach.c (fattach): Likewise.
23191         * streams/fdetach.c (fdetach): Likewise.
23192         * streams/getmsg.c (getmsg): Likewise.
23193         * streams/isastream.c (isastream): Likewise.
23194         * string/ffs.c (__ffs): Likewise.
23195         * string/ffsll.c (ffsll): Likewise.
23196         * string/memcmp.c (memcmp_common_alignment): Likewise.
23197         (memcmp_not_common_alignment): Likewise.
23198         (MEMCMP): Likewise.
23199         * string/memcpy.c (memcpy): Likewise.
23200         * string/memmove.c (MEMMOVE): Likewise.
23201         * string/memset.c (memset): Likewise.
23202         * string/rawmemchr.c (RAWMEMCHR): Likewise.
23203         * string/strchrnul.c (STRCHRNUL): Likewise.
23204         * string/strerror.c (strerror): Likewise.
23205         * string/strndup.c (__strndup): Likewise.
23206         * string/strverscmp.c (__strverscmp): Likewise.
23207         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
23208         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
23209         (clnttcp_freeres): Likewise.
23210         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
23211         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
23212         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
23213         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
23214         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
23215         (xdr_callhdr): Likewise.
23216         * sunrpc/rpcinfo.c (udpping): Likewise.
23217         (tcpping): Likewise.
23218         (pstatus): Likewise.
23219         (pmapdump): Likewise.
23220         (brdcst): Likewise.
23221         (deletereg): Likewise.
23222         (getprognum): Likewise.
23223         (getvers): Likewise.
23224         (get_inet_address): Likewise.
23225         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
23226         * sunrpc/svc_udp.c (svcudp_create): Likewise.
23227         (svcudp_stat): Likewise.
23228         (svcudp_recv): Likewise.
23229         (svcudp_reply): Likewise.
23230         (svcudp_getargs): Likewise.
23231         (svcudp_freeargs): Likewise.
23232         (svcudp_destroy): Likewise.
23233         * sunrpc/xdr.c (xdr_bytes): Likewise.
23234         (xdr_netobj): Likewise.
23235         (xdr_string): Likewise.
23236         (xdr_wrapstring): Likewise.
23237         * sunrpc/xdr_float.c (xdr_float): Likewise.
23238         (xdr_double): Likewise.
23239         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
23240         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
23241         * sysvipc/ftok.c (ftok): Likewise.
23242         * sysvipc/msgctl.c (msgctl): Likewise.
23243         * sysvipc/msgget.c (msgget): Likewise.
23244         * sysvipc/msgrcv.c (msgrcv): Likewise.
23245         * sysvipc/msgsnd.c (msgsnd): Likewise.
23246         * sysvipc/semget.c (semget): Likewise.
23247         * sysvipc/semop.c (semop): Likewise.
23248         * sysvipc/shmat.c (shmat): Likewise.
23249         * sysvipc/shmctl.c (shmctl): Likewise.
23250         * sysvipc/shmdt.c (shmdt): Likewise.
23251         * sysvipc/shmget.c (shmget): Likewise.
23252         * termios/cfmakeraw.c (cfmakeraw): Likewise.
23253         * termios/speed.c (cfgetospeed): Likewise.
23254         (cfgetispeed): Likewise.
23255         (cfsetospeed): Likewise.
23256         (cfsetispeed): Likewise.
23257         * termios/tcflow.c (tcflow): Likewise.
23258         * termios/tcflush.c (tcflush): Likewise.
23259         * termios/tcgetattr.c (__tcgetattr): Likewise.
23260         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
23261         * termios/tcgetsid.c (tcgetsid): Likewise.
23262         * termios/tcsendbrk.c (tcsendbreak): Likewise.
23263         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
23264         * time/adjtime.c (__adjtime): Likewise.
23265         * time/dysize.c (dysize): Likewise.
23266         * time/ftime.c (ftime): Likewise.
23267         * time/getitimer.c (__getitimer): Likewise.
23268         * time/gettimeofday.c (__gettimeofday): Likewise.
23269         * time/gmtime.c (__gmtime_r): Likewise.
23270         (gmtime): Likewise.
23271         * time/localtime.c (__localtime_r): Likewise.
23272         (localtime): Likewise.
23273         * time/offtime.c (__offtime): Likewise.
23274         * time/settimeofday.c (__settimeofday): Likewise.
23275         * time/stime.c (stime): Likewise.
23276         * time/strftime_l.c (tm_diff): Likewise.
23277         (iso_week_days): Likewise.
23278         * time/strptime.c (strptime): Likewise.
23279         * time/time.c (time): Likewise.
23280         * time/timespec_get.c (timespec_get): Likewise.
23281         * time/tzset.c (tzset_internal): Likewise.
23282         (compute_change): Likewise.
23283         (__tz_compute): Likewise.
23284         * wcsmbs/btowc.c (__btowc): Likewise.
23285         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
23286         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
23287         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
23288         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
23289         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
23290         * wcsmbs/wcscat.c (__wcscat): Likewise.
23291         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23292         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
23293         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
23294         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23295         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23296         * wcsmbs/wcslen.c (__wcslen): Likewise.
23297         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23298         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23299         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23300         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23301         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23302         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23303         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23304         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23305         * wcsmbs/wcstok.c (wcstok): Likewise.
23306         * wcsmbs/wctob.c (wctob): Likewise.
23307         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23308         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23309         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23310         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23311         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23312         * wcsmbs/wmemset.c (__wmemset): Likewise.
23313         * wctype/wcfuncs.c (__towlower): Likewise.
23314         (__towupper): Likewise.
23316         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23317         (lll_unlock_elision): Add adapt_count parameter.
23319 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23321         * sysdeps/nptl/configure.ac: Do not give errors based on the
23322         results of top-level configure tests.
23323         * sysdeps/nptl/configure: Regenerated.
23325         * configure.ac (libc_cv_Bgroup): Remove configure test.
23326         * configure: Regenerated.
23327         * config.make.in (have-Bgroup): Remove variable.
23329         * configure.ac (sizeof_long_double): Remove configure test.
23330         * configure: Regenerated.
23331         * config.make.in (sizeof-long-double): Remove variable.
23333         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23334         * configure: Regenerated.
23335         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23336         variable.
23337         (exceptions): Likewise.
23338         * sysdeps/arm/configure: Regenerated.
23339         * config.make.in (exceptions): Remove variable.
23340         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23341         $(exceptions).
23342         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23343         (CFLAGS-vdprintf_chk.c): Likewise.
23344         (CFLAGS-printf_chk.c): Likewise.
23345         (CFLAGS-fprintf_chk.c): Likewise.
23346         (CFLAGS-vprintf_chk.c): Likewise.
23347         (CFLAGS-vfprintf_chk.c): Likewise.
23348         (CFLAGS-gets_chk.c): Likewise.
23349         (CFLAGS-fgets_chk.c): Likewise.
23350         (CFLAGS-fgets_u_chk.c): Likewise.
23351         (CFLAGS-fread_chk.c): Likewise.
23352         (CFLAGS-fread_u_chk.c): Likewise.
23353         (CFLAGS-wprintf_chk.c): Likewise.
23354         (CFLAGS-fwprintf_chk.c): Likewise.
23355         (CFLAGS-vwprintf_chk.c): Likewise.
23356         (CFLAGS-vfwprintf_chk.c): Likewise.
23357         (CFLAGS-fgetws_chk.c): Likewise.
23358         (CFLAGS-fgetws_u_chk.c): Likewise.
23359         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23360         (CFLAGS-fputc.c): Likewise.
23361         (CFLAGS-fputwc.c): Likewise.
23362         (CFLAGS-freopen64.c): Likewise.
23363         (CFLAGS-freopen.c): Likewise.
23364         (CFLAGS-fseek.c): Likewise.
23365         (CFLAGS-fseeko64.c): Likewise.
23366         (CFLAGS-fseeko.c): Likewise.
23367         (CFLAGS-ftello64.c): Likewise.
23368         (CFLAGS-ftello.c): Likewise.
23369         (CFLAGS-fwide.c): Likewise.
23370         (CFLAGS-genops.c): Likewise.
23371         (CFLAGS-getc.c): Likewise.
23372         (CFLAGS-getchar.c): Likewise.
23373         (CFLAGS-getwc.c): Likewise.
23374         (CFLAGS-getwchar.c): Likewise.
23375         (CFLAGS-iofclose.c): Likewise.
23376         (CFLAGS-iofflush.c): Likewise.
23377         (CFLAGS-iofgetpos64.c): Likewise.
23378         (CFLAGS-iofgetpos.c): Likewise.
23379         (CFLAGS-iofgets.c): Likewise.
23380         (CFLAGS-iofgetws.c): Likewise.
23381         (CFLAGS-iofputs.c): Likewise.
23382         (CFLAGS-iofputws.c): Likewise.
23383         (CFLAGS-iofread.c): Likewise.
23384         (CFLAGS-iofsetpos64.c): Likewise.
23385         (CFLAGS-iofsetpos.c): Likewise.
23386         (CFLAGS-ioftell.c): Likewise.
23387         (CFLAGS-iofwrite.c): Likewise.
23388         (CFLAGS-iogetdelim.c): Likewise.
23389         (CFLAGS-iogetline.c): Likewise.
23390         (CFLAGS-iogets.c): Likewise.
23391         (CFLAGS-iogetwline.c): Likewise.
23392         (CFLAGS-ioputs.c): Likewise.
23393         (CFLAGS-ioseekoff.c): Likewise.
23394         (CFLAGS-ioseekpos.c): Likewise.
23395         (CFLAGS-iosetbuffer.c): Likewise.
23396         (CFLAGS-iosetvbuf.c): Likewise.
23397         (CFLAGS-ioungetc.c): Likewise.
23398         (CFLAGS-ioungetwc.c): Likewise.
23399         (CFLAGS-oldfileops.c): Likewise.
23400         (CFLAGS-oldiofclose.c): Likewise.
23401         (CFLAGS-oldiofgetpos64.c): Likewise.
23402         (CFLAGS-oldiofgetpos.c): Likewise.
23403         (CFLAGS-oldiofsetpos64.c): Likewise.
23404         (CFLAGS-oldiofsetpos.c): Likewise.
23405         (CFLAGS-peekc.c): Likewise.
23406         (CFLAGS-putc.c): Likewise.
23407         (CFLAGS-putchar.c): Likewise.
23408         (CFLAGS-putwc.c): Likewise.
23409         (CFLAGS-putwchar.c): Likewise.
23410         (CFLAGS-rewind.c): Likewise.
23411         (CFLAGS-wfileops.c): Likewise.
23412         (CFLAGS-wgenops.c): Likewise.
23413         (CFLAGS-oldiofopen.c): Likewise.
23414         (CFLAGS-iofopen.c): Likewise.
23415         (CFLAGS-iofopen64.c): Likewise.
23416         (CFLAGS-oldtmpfile.c): Likewise.
23417         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23418         (CFLAGS-fprintf.c): Likewise.
23419         (CFLAGS-printf.c): Likewise.
23420         (CFLAGS-vfwprintf.c): Likewise.
23421         (CFLAGS-vfscanf.c): Likewise.
23422         (CFLAGS-vfwscanf.c): Likewise.
23423         (CFLAGS-fscanf.c): Likewise.
23424         (CFLAGS-scanf.c): Likewise.
23425         (CFLAGS-isoc99_vfscanf.c): Likewise.
23426         (CFLAGS-isoc99_vscanf.c): Likewise.
23427         (CFLAGS-isoc99_fscanf.c): Likewise.
23428         (CFLAGS-isoc99_scanf.c): Likewise.
23429         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23430         (CFLAGS-isoc99_fwscanf.c): Likewise.
23431         (CFLAGS-isoc99_vwscanf.c): Likewise.
23432         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23434         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23435         after mkstemp64.
23436         * login/tst-utmp.c (do_prepare): Likewise.
23437         * rt/tst-aio.c (do_prepare): Likewise.
23438         * rt/tst-aio64.c (do_prepare): Likewise.
23440 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23442         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23443         (__lll_lock_elision): Remove adapt_count decrement...
23444         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23445         (__lll_trylock_elision): Likewise.
23446         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23447         (__lll_unlock_elision): ... to here. And utilize
23448         new adapt_count parameter.
23449         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23450         (__lll_unlock_elision): Update to include adapt_count
23451         parameter.
23452         (lll_unlock_elision): Pass pointer to adapt_count
23453         variable.
23455 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23457         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23458         Add elision adapt_count parameter to list of arguments.
23459         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23460         (lll_unlock_elision): Update with new parameter list
23461         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23462         (lll_unlock_elision): Likewise.
23463         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23464         (lll_unlock_elision): Likewise.
23466 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23468         [BZ #19122]
23469         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23470         attribute_hidden.
23472         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23473         attribute_hidden.
23474         [IS_IN (rtld)] (__strdup): Likewise.
23475         [IS_IN (rtld)] (__strerror_r): Likewise.
23476         [IS_IN (rtld)] (__strsep_g): Likewise.
23477         [IS_IN (rtld)] (memchr): Likewise.
23478         [IS_IN (rtld)] (memcmp): Likewise.
23479         [IS_IN (rtld)] (memcpy): Likewise.
23480         [IS_IN (rtld)] (memmove): Likewise.
23481         [IS_IN (rtld)] (memset): Likewise.
23482         [IS_IN (rtld)] (rawmemchr): Likewise.
23483         [IS_IN (rtld)] (stpcpy): Likewise.
23484         [IS_IN (rtld)] (strchr): Likewise.
23485         [IS_IN (rtld)] (strcmp): Likewise.
23486         [IS_IN (rtld)] (strlen): Likewise.
23487         [IS_IN (rtld)] (strnlen): Likewise.
23488         [IS_IN (rtld)] (strsep): Likewise.
23490         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23491         attribute_hidden.
23492         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23494         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23495         attribute_hidden.
23496         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23498         * include/setjmp.h (__longjmp): Add attribute_hidden.
23499         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23501         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23502         Add attribute_hidden.
23504         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23505         [IS_IN (rtld)] (__open): Likewise.
23506         [IS_IN (rtld)] (__fcntl): Likewise.
23508         * include/dirent.h (__opendirat): Add attribute_hidden.
23509         (__getdents): Likewise.
23510         (__getdents64): Likewise.
23511         (__alloc_dir): Likewise.
23512         [IS_IN (rtld)] (__closedir): Likewise.
23513         [IS_IN (rtld)] (__fdopendir): Likewise.
23514         [IS_IN (rtld)] (__readdir): Likewise.
23515         [IS_IN (rtld)] (__readdir64): Likewise.
23516         [IS_IN (rtld)] (__rewinddir): Likewise.
23518         * include/dlfcn.h (_dl_catch_error): Moved to ...
23519         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23520         attribute_hidden.
23522         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23523         (_itoa_word): Likewise.
23525         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23526         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23527         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23528         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23529         (_dl_higher_prime_number): Likewise.
23530         (_dl_debug_printf_c): Likewise.
23531         (_dl_signal_cerror): Likewise.
23532         (_dl_receive_error): Likewise.
23533         (_dl_reloc_bad_type): Likewise.
23534         (_dl_resolve_conflicts): Likewise.
23535         (_dl_check_all_versions): Likewise.
23536         (_dl_check_map_versions): Likewise.
23537         (_dl_sort_fini): Likewise.
23538         (_dl_debug_initialize): Likewise.
23539         (_dl_init_paths): Likewise.
23540         (_dl_show_auxv): Likewise.
23541         (_dl_next_ld_env_entry): Likewise.
23542         (_dl_important_hwcaps): Likewise.
23543         (_dl_load_cache_lookup): Likewise.
23544         (_dl_update_slotinfo): Likewise.
23545         (_dl_show_scope): Likewise.
23547         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23548         attribute_hidden.
23549         (_wordcopy_fwd_dest_aligned): Likewise.
23550         (_wordcopy_bwd_aligned): Likewise.
23551         (_wordcopy_bwd_dest_aligned): Likewise.
23553         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23554         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23555         Likewise.
23556         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23557         Likewise.
23558         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23560 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23562         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23563         GCC 5 requirement.
23565 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23567         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23568         test.
23569         * sysdeps/i386/configure: Regenerated.
23570         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23571         code unconditional.
23573         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23574         test.
23575         (libc_cv_asm_popsection_directive): Likewise.
23576         * configure: Regenerated.
23577         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23578         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23579         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23580         (__make_section_unallocated): Make definition unconditional.
23581         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23582         Remove conditional definition.
23583         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23584         (__make_section_unallocated): Likewise.
23586         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23587         * configure: Regenerated.
23588         * config.make.in (static-libgcc): Remove variable.
23589         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23590         $(static-libgcc).
23591         (build-module-helper): Likewise.
23593         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23594         * configure: Regenerated.
23596 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23598         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23599         (struct char_buffer): New type.
23600         (char_buffer_start, char_buffer_size, char_buffer_error)
23601         (char_buffer_rewind, char_buffer_add): New functions.
23602         (ADDW): Remove macro, replaced by the char_buffer_add function.
23603         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23604         of extend_alloca.  Make control flow more explicit.
23606 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23608         [BZ #19137]
23609         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23610         Add -fomit-frame-pointer.
23611         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23613 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23615         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23616         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23617         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23618         only if !__GNUC_PREREQ (5,0).
23619         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23620         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23621         (INTERNAL_SYSCALL_NCS): Likewise.
23622         (LOADREGS_0): New macro for GCC 5.
23623         (ASMARGS_0): Likewise.
23624         (LOADREGS_1): Likewise.
23625         (ASMARGS_1): Likewise.
23626         (LOADREGS_2): Likewise.
23627         (ASMARGS_2): Likewise.
23628         (LOADREGS_3): Likewise.
23629         (ASMARGS_3): Likewise.
23630         (LOADREGS_4): Likewise.
23631         (ASMARGS_4): Likewise.
23632         (LOADREGS_5): Likewise.
23633         (ASMARGS_5): Likewise.
23634         (LOADREGS_6): Likewise.
23635         (ASMARGS_6): Likewise.
23637 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23639         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23640         -fomit-frame-pointer.
23641         (CFLAGS-mmap64.c): Likewise.
23642         (CFLAGS-semtimedop.c): Likewise.
23643         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23644         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23645         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23646         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23648 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23650         [BZ #18928]
23651         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23652         _dl_pointer_guard member.
23653         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23654         initializer.
23655         (security_init): Always set up pointer guard.
23656         (process_envvars): Do not process LD_POINTER_GUARD.
23658 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23660         [BZ #19134]
23661         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23662         (.LC2): Likewise.
23663         (.LC3): Likewise.
23664         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23666 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23668         [BZ #19129]
23669         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23670         r0 and r1.
23672 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23674         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23676 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23678         * include/stap-probe.h: Fix macro definition formatting.
23680 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23682         [BZ #19074]
23683         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23684         load and store num_ifs.
23686 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23688         [BZ #18822]
23689         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23690         (__sched_getaffinity_new): Add libc_hidden_proto and
23691         libc_hidden_def.
23693 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23695         [BZ #19007]
23696         * scripts/localplt.awk: Also allow GOT references.
23697         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23698         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23699         with "+ REL R_386_GLOB_DAT".
23700         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23701         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23703 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23705         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23706         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23707         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23708         Likewise.
23709         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23710         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23711         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23712         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23713         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23714         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23715         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23716         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23717         Likewise.
23718         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23720 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23722         [BZ #19125]
23723         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23724         <math_private.h> and <stdint.h>.
23725         (__llround): Avoid conversions to and from long long int, and
23726         subtractions, where those might raise spurious exceptions.
23727         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23728         <math_private.h> and <stdint.h>.
23729         (__llroundf): Avoid conversions to and from long long int, and
23730         subtractions, where those might raise spurious exceptions.
23732 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23734         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23735         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23736         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23737         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23738         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23739         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23740         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23741         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23742         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23743         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23744         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23745         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23746         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23747         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23748         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23749         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23750         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23751         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23752         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23753         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23754         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23755         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23756         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23757         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23758         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23759         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23760         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23761         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23762         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23763         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23764         (__xstat64_conv): Likewise.
23765         (__xstat32_conv): Likewise.
23767 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23769         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23770         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23771         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23772         <sysdeps/unix/sysv/linux/sysdep.h>.
23773         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23774         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23775         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23776         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23777         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23778         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23779         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23780         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23781         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23784         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23785         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23786         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23787         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23789         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23790         (sysdep-dl-routines): Add sysdep.
23791         [$(subdir) == nptl] (libpthread-routines): Likewise.
23792         [$(subdir) == rt] (librt-routines): Likewise.
23793         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23794         PIC when branching to SYSCALL_ERROR_LABEL.
23795         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23796         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23797         <sysdeps/unix/sysv/linux/sysdep.h>.
23798         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23799         (SYSCALL_ERROR_ERRNO): Removed.
23800         (SYSCALL_ERROR_HANDLER): Changed to empty.
23801         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23802         (__syscall_error): New prototype.
23803         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23804         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23806 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23808         [BZ #19124]
23809         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23810         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23811         _dl_runtime_resolve_avx.
23812         (_dl_runtime_profile_avx512): Make it a hidden alias of
23813         _dl_runtime_profile_avx.
23815 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23817         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23818         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23819         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23820         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23822         [BZ #16422]
23823         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23824         New configure test.
23825         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23826         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23827         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23828         <math_private.h> and <stdint.h>.
23829         (__llrint): Avoid conversions to long long int where those might
23830         raise spurious exceptions.
23831         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23832         <math_private.h> and <stdint.h>.
23833         (__llrintf): Avoid conversions to long long int where those might
23834         raise spurious exceptions.
23836 2015-10-12  Andreas Schwab  <schwab@suse.de>
23838         [BZ #18969]
23839         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23840         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23841         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23842         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23843         $(gen-locales).
23844         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23845         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23846         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23847         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23848         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23849         $(gen-locales).
23850         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23851         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23852         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23853         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23854         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23855         ($(objpfx)tst-ftell-active-handler.out)
23856         ($(objpfx)tst-ftell-append.out)
23857         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23858         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23859         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23860         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23861         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23862         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23863         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23864         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23865         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23866         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23867         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23868         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23869         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23870         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23871         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23872         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23873         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23874         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23875         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23876         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23877         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23878         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23879         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23880         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23881         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23882         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23883         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23884         $(gen-locales).
23885         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23886         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23887         $(gen-locales).
23888         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23889         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23890         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23891         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23892         $(gen-locales).
23893         * libio/tst_wprintf2.c (main): Use explicit locale.
23894         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23896 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23898         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23899         __msg_sig_post.
23900         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23902 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23904         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23905         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23907         * sysdeps/arm/libm-test-ulps: Regenerated.
23909         [BZ #15470]
23910         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23912         [BZ #16399]
23913         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23914         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23915         and <fix-fp-int-convert-overflow.h>.
23916         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23917         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23918         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23919         and <fix-fp-int-convert-overflow.h>.
23920         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23921         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23922         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23923         <fix-fp-int-convert-overflow.h>.
23924         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23925         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23926         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23927         <fix-fp-int-convert-overflow.h>.
23928         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23929         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23930         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23931         and <fix-fp-int-convert-overflow.h>.
23932         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23933         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23934         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23935         <limits.h> and <fix-fp-int-convert-overflow.h>.
23936         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23937         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23938         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23939         and <fix-fp-int-convert-overflow.h>.
23940         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23941         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23942         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23943         and <fix-fp-int-convert-overflow.h>.
23944         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23945         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23946         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23948 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23950         [BZ #18589]
23951         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23952         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23953         $(gen-locales).
23955 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23956             Phil Blundell <pb@pbcl.net>
23958         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23959         * nptl/tst-cancel26.c: New file.
23960         * nptl/tst-cancel27.c: Likewise.
23962 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23964         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23965         __ILP32__ isn't defined.
23966         (lrint): Likewise.
23967         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23968         (lrintf): Likewise.
23969         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23970         (lrintl): Likewise.
23971         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23972         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23973         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23975 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23977         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23978         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23980         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23981         file.
23982         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23983         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23985 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23987         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23988         configure test.
23989         * sysdeps/i386/configure: Regenerated.
23990         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23991         configure test.
23992         * sysdeps/x86_64/configure: Regenerated.
23993         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23994         Make code unconditional.
23996         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23997         test.
23998         * sysdeps/i386/configure: Regenerated.
23999         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
24000         test.
24001         * sysdeps/x86_64/configure: Regenerated.
24002         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
24003         Make code unconditional.
24004         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24005         Likewise.
24006         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
24007         Likewise.
24008         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24009         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
24010         code unconditional.
24011         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24012         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
24013         code unconditional.
24014         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24015         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
24016         code unconditional.
24017         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
24018         code unconditional.
24019         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24020         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
24021         code unconditional.
24022         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24023         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
24024         code unconditional.
24025         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24026         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
24027         code unconditional.
24028         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24029         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
24030         code unconditional.
24031         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24032         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
24034         [BZ #19095]
24035         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
24036         mantissa to long int before shifting left.
24038 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24040         [BZ #19094]
24041         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
24042         <limits.h>.
24043         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24044         when result overflows but exception would not result from cast.
24045         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
24046         <limits.h>.
24047         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24048         when result overflows but exception would not result from cast.
24049         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
24050         <limits.h>.
24051         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24052         when result overflows but exception would not result from cast.
24053         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
24054         <limits.h>.
24055         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24056         when result overflows but exception would not result from cast.
24057         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
24058         <limits.h>.
24059         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24060         when result overflows but exception would not result from cast.
24061         * math/libm-test.inc (lrint_test_data): Add more tests.
24062         (llrint_test_data): Likewise.
24064 2015-10-08  Roland McGrath  <roland@hack.frob.com>
24066         [BZ #18872]
24067         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
24068         Move out from under [$(run-built-tests) = yes] conditional.
24069         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
24070         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
24072 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
24074         [BZ #18589]
24075         * string/Makefile (tests): Add bug-strcoll2.
24076         (LOCALES): Add cs_CZ.UTF-8.
24077         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
24079         [BZ #18589]
24080         * string/bug-strcoll2.c: New file.
24081         * locale/categories.def: Revert commit
24082         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
24083         * locale/langinfo.h: Likewise.
24084         * locale/localeinfo.h: Likewise.
24085         * locale/C-collate.c: Likewise.
24086         * locale/programs/ld-collate.c (collate_output): Likewise.
24087         * string/strcoll_l.c (STRDIFF): Likewise.
24088         (STRCOLL): Likewise.
24089         * wcsmbs/wcscoll_l.c: Likewise.
24091 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24093         * math/libm-test.inc (lround_test_data): Do not expect the absence
24094         of "inexact" for some tests with non-integer arguments.
24095         (llround_test_data): Likewise.
24097         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
24098         test.
24099         (libc_cv_cc_sse2avx): Likewise.
24100         * sysdeps/i386/configure: Regenerated.
24101         * sysdeps/i386/i686/multiarch/Makefile
24102         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
24103         [$(subdir) = math].
24104         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
24105         code unconditional.
24106         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24107         Likewise.
24108         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
24109         Likewise.
24110         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24111         Likewise.
24112         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
24113         test.
24114         (libc_cv_cc_sse2avx): Likewise.
24115         * sysdeps/x86_64/configure: Regenerated.
24116         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
24117         unconditional.
24118         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
24119         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
24120         unconditional.
24121         (_dl_runtime_profile)
24122         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
24123         conditional code.
24124         * sysdeps/x86_64/fpu/multiarch/Makefile
24125         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
24126         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24127         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24128         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24129         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24130         * sysdeps/x86_64/fpu/multiarch/e_log.c
24131         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24132         * sysdeps/x86_64/fpu/multiarch/s_atan.c
24133         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24134         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24135         Likewise.
24136         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24137         Likewise.
24138         * sysdeps/x86_64/fpu/multiarch/s_sin.c
24139         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24140         * sysdeps/x86_64/fpu/multiarch/s_tan.c
24141         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24142         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
24143         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
24144         (HAVE_SSE2AVX_SUPPORT): Likewise.
24146 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
24148         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
24149         instead of #pragma optimize.
24151 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24153         [BZ #17195]
24154         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
24155         as is similarly done in systrim and _int_free already.
24157 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24159         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
24161 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24163         [BZ #19088]
24164         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
24165         <limits.h>.
24166         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24167         overflows but exception would not result from cast.
24168         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
24169         and <limits.h>.
24170         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24171         overflows but exception would not result from cast.
24172         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
24173         <limits.h>.
24174         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24175         overflows but exception would not result from cast.
24176         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
24177         <limits.h>.
24178         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24179         overflows but exception would not result from cast.
24180         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
24181         <limits.h>.
24182         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24183         overflows but exception would not result from cast.
24184         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
24185         <limits.h>.
24186         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24187         overflows but exception would not result from cast.
24188         * math/libm-test.inc (lround_test_data): Add more tests.
24189         (llround_test_data): Likewise.
24191 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
24193         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
24194         (CFLAGS-ialloc.c): Ditto.
24195         (CFLAGS-scheck.c): Ditto.
24197 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24199         [BZ #19086]
24200         * manual/filesys.texi (Storage Allocation): Fix argument order for
24201         posix_fallocate64.
24203 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24205         [BZ #19085]
24206         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
24207         exponent below 48 inside case for non-overflowing exponent.
24208         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
24210 2015-10-07  Florian Weimer  <fweimer@redhat.com>
24212         * iconvdata/cp737.h (from_idx): Add const.
24213         * iconvdata/cp775.h (from_idx): Likewise.
24215 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24217         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
24218         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
24219         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
24221         [BZ #19079]
24222         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
24223         file, conditioned on [!_LP64].
24224         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
24225         [!_LP64] (__lround): Do not define as function or alias.
24226         [!_LP64] (lround): Likewise.
24227         [!_LP64] (__lroundl): Likewise.
24228         [!_LP64] (lroundl): Likewise.
24229         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
24230         macro.
24231         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24232         Likewise.
24234 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24236         * math/libm-test.inc (lrint_test_data): Add more tests.
24237         (llrint_test_data): Likewise.
24238         (lround_test_data): Likewise.
24239         (llround_test_data): Likewise.
24241         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
24242         (llrint_test_data): Add tests used for lrint.
24244         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
24245         test.
24246         * sysdeps/i386/configure: Regenerated.
24247         * sysdeps/i386/i686/multiarch/Makefile
24248         [$(config-cflags-sse4) = yes]: Make code unconditional.
24249         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24250         Likewise.
24251         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
24252         Likewise.
24253         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
24254         test.
24255         * sysdeps/x86_64/configure: Regenerated.
24256         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
24257         Make code unconditional.
24258         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24259         Likewise.
24260         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
24261         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
24263         * scripts/rpm2dynsym.sh: Remove file.
24265 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24267         * configure.ac (libc_cv_cxx_thread_local): Define.
24268         * configure: Regenerate.
24269         * config.make.in (have-cxx-thread_local): Define.
24270         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
24271         (LDLIBS-tst-thread_local1): Define.
24272         (tests): Add tst-thread_local1.
24273         [have-cxx-thread_local != yes] (tests-unsupported): Add
24274         tst-thread_local1.
24275         * nptl/tst-thread_local1.cc: New file.
24277 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24279         [BZ #19078]
24280         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
24281         (u_thres): Likewise.
24282         (__expl): Determine whether to call __kernel_standard_l based on
24283         value of result, not argument.
24285         * math/libm-test.inc (scalb_test_data): Add more expectations for
24286         the "inexact" exception.
24288         [BZ #19077]
24289         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
24290         0.0L for argument 1.0L.
24292         [BZ #19076]
24293         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
24294         constant 0.0L when computing infinite result.
24296 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24298         [BZ #10432]
24299         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24300         malloc_usable_size.
24302 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24304         [BZ #19018]
24305         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24306         Mangle function pointer before storing it.
24307         (__call_tls_dtors): Demangle function pointer before calling it.
24309 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24311         [BZ #19012]
24312         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24313         Clean up on failure.
24315 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24317         [BZ #19071]
24318         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24319         long int variable to store possibly incremented high part of
24320         mantissa.
24321         * math/libm-test.inc (lround_test_data): Add tests used for
24322         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24323         for tests requiring 64-bit long.  Do not condition tests on
24324         [TEST_FLOAT] unnecessarily.
24325         (llround_test_data): Add tests used for lround.  Add another
24326         expectation for the "inexact" exception.  Do not condition tests
24327         on [TEST_FLOAT] unnecessarily.
24329         [BZ #887]
24330         [BZ #19049]
24331         [BZ #19050]
24332         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24333         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24334         <fix-int-fp-convert-zero.h>.
24335         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24336         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24337         <fix-int-fp-convert-zero.h>.
24338         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24339         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24340         <fix-int-fp-convert-zero.h>.
24341         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24342         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24343         <fix-int-fp-convert-zero.h>.
24344         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24345         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24346         <fix-int-fp-convert-zero.h>.
24347         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24348         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24349         <fix-int-fp-convert-zero.h>.
24350         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24351         * sysdeps/ieee754/flt-32/s_erff.c: Include
24352         <fix-int-fp-convert-zero.h>.
24353         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24354         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24355         <fix-int-fp-convert-zero.h>.
24356         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24357         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24358         <fix-int-fp-convert-zero.h>.
24359         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24360         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24361         <fix-int-fp-convert-zero.h>.
24362         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24363         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24364         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24365         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24366         file.
24367         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24369 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24371         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24373 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24375         [BZ #19059]
24376         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24377         overflowing computation.
24378         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24379         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24380         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24381         Likewise.
24382         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24383         Likewise.
24384         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24385         Likewise.
24386         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24387         Likewise.
24388         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24389         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24390         Likewise.
24391         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24392         Likewise.
24393         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24395         * nss/rewrite_field.c (__nss_rewrite_field): Use
24396         internal_function.
24397         * nss/valid_field.c (__nss_valid_field): Likewise.
24398         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24400 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24402         [BZ #18724]
24403         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24404         (__nss_invalid_field_characters, __nss_valid_field)
24405         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24406         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24407         tst-field.c: New file.
24408         * nss/Makefile (routines): Add valid_field, rewrite_field.
24409         (tests-static): Define unconditionally.
24410         (tests): Include tests-static.
24411         [build-static-nss] (tests-static): Use append.
24412         [build-static-nss] (tests): Remove modification.
24413         * nss/getent.c (print_group): Call putgrent.  Report error.
24414         (print_gshadow): Call putsgent.  Report error.
24415         (print_passwd): Call putpwent.  Report error.
24416         (print_shadow): Call putspent.  Report error.
24417         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24418         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24419         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24420         name, password, directory, shell fields for valid syntax.  Rewrite
24421         GECOS field to match syntax.
24422         * pwd/Makefile (tests): Add tst-putpwent.
24423         * pwd/tst-putpwent.c: New file.
24424         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24425         Check grName, grpasswd, gr_mem fields for valid syntax.
24426         Change loop variable i to size_t.
24427         * grp/Makefile (tests): Add tst-putgrent.
24428         * grp/tst-putgrent.c: New file.
24429         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24430         valid syntax.
24431         * shadow/Makefile (tests): Add tst-putspent.
24432         * shadow/tst-putspent.c: New file.
24433         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24434         sg_mem fields for valid syntax.
24435         * gshadow/Makefile (tests): Add tst-putsgent.
24436         * gshadow/tst-putsgent.c: New file.
24438 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24440         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24441         assembly instructions.
24443 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24445         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24446         prefix from operands.
24448 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24450         [BZ #16347]
24451         [BZ #19046]
24452         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24453         <libc-internal.h>.
24454         (MAXLGM): Do not use diagnostic control macros.
24455         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24456         threshold for ldbl-128ibm.
24457         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24458         instead of multiplying by log then subtracting.
24459         * math/auto-libm-test-in: Add more tests of lgamma.
24460         * math/auto-libm-test-out: Regenerated.
24462         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24463         (TYPE_HEX_DIG): Likewise.
24464         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24465         precisions when printing floating-point numbers.
24466         (check_float_internal): Likewise.
24468 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24470         [BZ #16620]
24471         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24472         of log (10) rounded downward to 48 bits.
24473         (log10_low): Use corresponding low part of log (10).
24475         [BZ #19032]
24476         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24477         compute result as (x - x) / (x - x) not as 0 / 0.
24478         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24479         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24481         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24482         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24483         and expm1.
24484         * math/auto-libm-test-out: Regenerated.
24485         * math/libm-test.inc (acos_test_data): Add more tests.
24486         (asin_test_data): Likewise.
24487         (asinh_test_data): Likewise.
24488         (atan_test_data): Likewise.
24489         (atanh_test_data): Likewise.
24490         (atan2_test_data): Likewise.
24491         (cbrt_test_data): Likewise.
24492         (ceil_test_data): Likewise.
24493         (copysign_test_data): Likewise.
24494         (cos_test_data): Likewise.
24495         (cosh_test_data): Likewise.
24496         (erf_test_data): Likewise.
24497         (erfc_test_data): Likewise.
24498         (exp_test_data): Likewise.
24499         (exp10_test_data): Likewise.
24500         (exp2_test_data): Likewise.
24501         (expm1_test_data): Likewise.
24502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24504 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24506         [BZ #19006]
24507         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24508         to ...
24509         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24510         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24511         to ...
24512         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24513         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24514         to ...
24515         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24516         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24517         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24518         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24519         to ...
24520         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24521         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24522         Moved to ...
24523         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24524         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24525         Moved to ...
24526         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24527         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24528         to ...
24529         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24530         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24531         Moved to ...
24532         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24533         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24534         to ...
24535         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24536         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24537         Removed.
24538         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24539         Likewise.
24540         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24541         Likewise.
24542         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24543         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24544         Likewise.
24545         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24546         Likewise.
24547         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24548         Likewise.
24549         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24550         Likewise.
24551         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24552         Likewise.
24553         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24554         Likewise.
24555         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24556         Likewise.
24557         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24558         Likewise.
24559         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24560         Likewise.
24561         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24562         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24563         Likewise.
24564         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24565         Likewise.
24566         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24567         Likewise.
24568         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24569         Likewise.
24570         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24571         Likewise.
24572         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24573         Replace ../i486/pthread_cond_timedwait.S with
24574         ../pthread_cond_timedwait.S.
24576 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24578         * math/libm-test.inc (acos_test_data): Refine expectations for
24579         errno and "inexact" exceptions.
24580         (acosh_test_data): Likewise.
24581         (asin_test_data): Likewise.
24582         (asinh_test_data): Likewise.
24583         (atan_test_data): Likewise.
24584         (atanh_test_data): Likewise.
24585         (atan2_test_data): Likewise.
24586         (cbrt_test_data): Likewise.
24587         (ceil_test_data): Likewise.
24588         (copysign_test_data): Likewise.
24589         (cosh_test_data): Likewise.
24590         (erf_test_data): Likewise.
24591         (erfc_test_data): Likewise.
24592         (exp_test_data): Likewise.
24593         (exp10_test_data): Likewise.
24594         (exp2_test_data): Likewise.
24595         (expm1_test_data): Likewise.
24596         (fabs_test_data): Likewise.
24597         (floor_test_data): Likewise.
24598         (fma_test_data): Likewise.
24599         (fmax_test_data): Likewise.
24600         (fmin_test_data): Likewise.
24601         (fmod_test_data): Likewise.
24602         (fpclassify_test_data): Likewise.
24603         (frexp_test_data): Likewise.
24604         (hypot_test_data): Likewise.
24605         (ilogb_test_data): Likewise.
24606         (isgreater_test_data): Likewise.
24607         (isgreaterequal_test_data): Likewise.
24608         (isinf_test_data): Likewise.
24609         (isless_test_data): Likewise.
24610         (islessequal_test_data): Likewise.
24611         (islessgreater_test_data): Likewise.
24612         (isnan_test_data): Likewise.
24613         (isnormal_test_data): Likewise.
24614         (issignaling_test_data): Likewise.
24615         (isunordered_test_data): Likewise.
24616         (j0_test_data): Likewise.
24617         (j1_test_data): Likewise.
24618         (jn_test_data): Likewise.
24619         (lgamma_test_data): Likewise.
24620         (lrint_test_data): Likewise.
24621         (llrint_test_data): Likewise.
24622         (log_test_data): Likewise.
24623         (log10_test_data): Likewise.
24624         (log1p_test_data): Likewise.
24625         (log2_test_data): Likewise.
24626         (logb_test_data): Likewise.
24627         (lround_test_data): Likewise.
24628         (llround_test_data): Likewise.
24629         (modf_test_data): Likewise.
24630         (nearbyint_test_data): Likewise.
24631         (nextafter_test_data): Likewise.
24632         (nexttoward_test_data): Likewise.
24633         (pow_test_data): Likewise.
24634         (remainder_test_data): Likewise.
24635         (remquo_test_data): Likewise.
24636         (rint_test_data): Likewise.
24637         (round_test_data): Likewise.
24638         (signbit_test_data): Likewise.
24639         (sinh_test_data): Likewise.
24640         (sqrt_test_data): Likewise.
24641         (tanh_test_data): Likewise.
24642         (tgamma_test_data): Likewise.
24643         (trunc_test_data): Likewise.
24644         (y0_test_data): Likewise.
24645         (y1_test_data): Likewise.
24646         (yn_test_data): Likewise.
24647         (significand_test_data): Likewise.
24649 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24651         * manual/filesys.texi (Storage Allocation): Document that
24652         posix_fallocate emulation fails when fd is open with O_WRONLY.
24654 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24656         [BZ #19016]
24657         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24658         allow more cases with X^2 + Y^2 >= 0.5.
24659         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24660         normal element in sum instead of special-casing based on values of
24661         arguments.
24662         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24663         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24664         -1 as normal element in sum instead of special-casing based on
24665         values of arguments.
24666         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24667         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24668         (__x2y2m1): Update comment.
24669         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24670         as normal element in sum instead of special-casing based on values
24671         of arguments.
24672         * math/s_clog.c (__clog): Handle more cases using log1p without
24673         hypot.
24674         * math/s_clog10.c (__clog10): Likewise.
24675         * math/s_clog10f.c (__clog10f): Likewise.
24676         * math/s_clog10l.c (__clog10l): Likewise.
24677         * math/s_clogf.c (__clogf): Likewise.
24678         * math/s_clogl.c (__clogl): Likewise.
24679         * math/auto-libm-test-in: Add more tests of clog and clog10.
24680         * math/auto-libm-test-out: Regenerated.
24681         * sysdeps/i386/fpu/libm-test-ulps: Update.
24682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24684 2015-09-28  Martin Sebor  <msebor@redhat.com>
24686         [BZ #18969]
24687         * string/Makefile (LOCALES): Define.
24688         (gen-locales.mk): Include.
24689         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24690         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24691         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24692         on setlocale failure.
24694 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24696         [BZ #18985]
24697         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24698         (__strftime_internal): Likewise.
24699         * time/tst-strftime.c (do_bz18985): New test.
24700         (do_test): Call it.
24702 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24704         [BZ #18956]
24705         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24706         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24707         extracting high part.
24708         * math/auto-libm-test-in: Add another test of pow.
24709         * math/auto-libm-test-out: Regenerated.
24710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24712 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24714         [BZ #18825]
24715         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24716         New macro.
24717         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24718         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24719         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24720         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24721         DBL_NARROW_EVAL, reloading the PIC register as needed.
24722         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24723         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24724         FLT_NARROW_EVAL.  Use separate return path for case when first
24725         argument is NaN.
24726         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24727         DEFINE_LDBL_MIN.
24728         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24729         PIC register.
24730         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24731         math_check_force_underflow_nonneg.
24732         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24733         underflow for subnormal result.
24734         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24735         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24736         math_check_force_underflow_nonneg.
24737         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24738         math_check_force_underflow.
24739         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24740         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24741         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24742         DEFINE_LDBL_MIN.
24743         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24744         * math/auto-libm-test-in: Add more tests of pow.
24745         * math/auto-libm-test-out: Regenerated.
24747 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24749         * nss/bug17079.c (init_test_items): Add diagnostic for
24750         inconsistent entries.
24751         (test_buffer_size): Skip inconsistent entries.
24753 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24755         [BZ #13304]
24756         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24757         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24758         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24760         [BZ #13304]
24761         * sysdeps/microblaze/s_fma.c: New file.
24762         * sysdeps/microblaze/s_fmaf.c: Likewise.
24763         * sysdeps/microblaze/sfp-machine.h: Likewise.
24765 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24767         [BZ #17250]
24768         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24769         member.
24771 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24773         [BZ #18803]
24774         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24775         (MO): New macro.
24776         (__ieee754_hypot) [PIC]: Load PIC register.
24777         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24778         DBL_NARROW_EVAL.
24779         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24780         math_check_force_underflow_nonneg in case where result might be
24781         tiny.
24782         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24783         Likewise.
24784         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24785         Likewise.
24786         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24787         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24788         * math/auto-libm-test-in: Add more tests of hypot.
24789         * math/auto-libm-test-out: Regenerated.
24791 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24793         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24795 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24797         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24798         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24799         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24800         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24801         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24802         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24803         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24805         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24806         LOAD_PIC_REG.
24808         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24809         (FLT_CHECK_FORCE_UFLOW): Likewise.
24810         (DBL_CHECK_FORCE_UFLOW): Likewise.
24811         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24812         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24813         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24814         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24815         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24816         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24817         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24818         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24819         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24820         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24821         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24822         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24823         (flt_min): Replace with use of DEFINE_FLT_MIN.
24824         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24825         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24826         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24827         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24828         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24829         (flt_min): Replace with use of DEFINE_FLT_MIN.
24830         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24831         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24832         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24833         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24834         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24835         (flt_min): Replace with use of DEFINE_FLT_MIN.
24836         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24837         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24838         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24839         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24840         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24841         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24842         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24843         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24844         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24845         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24846         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24847         (flt_min): Replace with use of DEFINE_FLT_MIN.
24848         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24849         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24850         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24851         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24852         main computation.
24853         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24854         (flt_min): Replace with use of DEFINE_FLT_MIN.
24855         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24856         main computation.
24857         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24858         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24859         (MO): New macro.
24860         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24861         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24862         (flt_min): Replace with use of DEFINE_FLT_MIN.
24863         (MO): New macro.
24864         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24865         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24866         (__log1pl): Use MO.
24868         [BZ #19003]
24869         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24870         $(config-cflags-nofma).
24872 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24874         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24876 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24878         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24879         (TWO127): Likewise.
24881         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24882         (min_of_type): Likewise.
24883         (math_check_force_underflow): Likewise.
24884         (math_check_force_underflow_nonneg): Likewise.
24885         (math_check_force_underflow_complex): Likewise.
24886         * math/e_exp2l.c (__ieee754_exp2l): Use
24887         math_check_force_underflow_nonneg.
24888         * math/k_casinh.c (__kernel_casinh): Likewise.
24889         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24890         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24891         * math/s_catan.c (__catan): Use
24892         math_check_force_underflow_complex.
24893         * math/s_catanf.c (__catanf): Likewise.
24894         * math/s_catanh.c (__catanh): Likewise.
24895         * math/s_catanhf.c (__catanhf): Likewise.
24896         * math/s_catanhl.c (__catanhl): Likewise.
24897         * math/s_catanl.c (__catanl): Likewise.
24898         * math/s_ccosh.c (__ccosh): Likewise.
24899         * math/s_ccoshf.c (__ccoshf): Likewise.
24900         * math/s_ccoshl.c (__ccoshl): Likewise.
24901         * math/s_cexp.c (__cexp): Likewise.
24902         * math/s_cexpf.c (__cexpf): Likewise.
24903         * math/s_cexpl.c (__cexpl): Likewise.
24904         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24905         * math/s_clog10.c (__clog10): Likewise.
24906         * math/s_clog10f.c (__clog10f): Likewise.
24907         * math/s_clog10l.c (__clog10l): Likewise.
24908         * math/s_clogf.c (__clogf): Likewise.
24909         * math/s_clogl.c (__clogl): Likewise.
24910         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24911         * math/s_csinf.c (__csinf): Likewise.
24912         * math/s_csinh.c (__csinh): Likewise.
24913         * math/s_csinhf.c (__csinhf): Likewise.
24914         * math/s_csinhl.c (__csinhl): Likewise.
24915         * math/s_csinl.c (__csinl): Likewise.
24916         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24917         * math/s_csqrtf.c (__csqrtf): Likewise.
24918         * math/s_csqrtl.c (__csqrtl): Likewise.
24919         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24920         * math/s_ctanf.c (__ctanf): Likewise.
24921         * math/s_ctanh.c (__ctanh): Likewise.
24922         * math/s_ctanhf.c (__ctanhf): Likewise.
24923         * math/s_ctanhl.c (__ctanhl): Likewise.
24924         * math/s_ctanl.c (__ctanl): Likewise.
24925         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24926         instead of volatile.
24927         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24928         math_check_force_underflow.
24929         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24930         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24931         volatile when forcing underflow.
24932         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24933         math_check_force_underflow_nonneg.
24934         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24935         Likewise.
24936         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24937         math_check_force_underflow.
24938         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24939         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24940         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24941         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24942         math_check_force_underflow_nonneg.
24943         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24944         math_check_force_underflow.
24945         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24947         instead of volatile.
24948         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24949         math_check_force_underflow.
24950         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24951         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24952         math_check_force_underflow_nonneg.
24953         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24954         math_check_force_underflow.
24955         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24956         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24957         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24958         math_check_force_underflow_nonneg.
24959         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24960         Likewise.
24961         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24962         math_check_force_underflow.
24963         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24964         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24965         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24966         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24967         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24968         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24969         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24970         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24971         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24972         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24973         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24974         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24975         Likewise.
24976         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24977         math_check_force_underflow_nonneg.
24978         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24979         Likewise.
24980         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24981         math_check_force_underflow.
24982         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24983         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24984         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24985         Likewise.
24986         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24987         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24988         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24989         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24990         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24991         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24993         instead of volatile.
24994         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24995         math_check_force_underflow.
24996         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24997         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24998         math_check_force_underflow.
24999         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
25000         Likewise.
25001         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25002         Use math_check_force_underflow_nonneg.
25003         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
25004         math_check_force_underflow.
25005         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25006         Likewise.
25007         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25008         Likewise.
25009         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25010         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25011         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25012         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25013         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
25014         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25015         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
25016         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
25017         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
25018         math_check_force_underflow_nonneg.
25019         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
25020         math_check_force_underflow.
25021         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25022         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
25023         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
25024         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
25025         math_check_force_underflow_nonneg.
25026         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
25027         math_check_force_underflow.
25028         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
25029         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
25030         instead of volatile.
25031         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
25032         math_check_force_underflow.
25034         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
25035         * stdlib/strtod_l.c: Include <math_private.h>.
25036         (overflow_value): Use math_narrow_eval.
25037         (underflow_value): Likewise.
25038         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25039         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25040         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
25041         (__ieee754_gamma_r): Likewise.
25042         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
25043         Likewise.
25044         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
25045         Likewise.
25046         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
25047         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
25048         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
25049         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
25050         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
25051         (__ieee754_gammaf_r): Likewise.
25052         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25053         Likewise.
25054         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
25055         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
25056         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
25057         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
25058         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
25059         volatile.
25060         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
25061         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
25062         math_narrow_eval.
25063         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25064         Likewise.
25065         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25066         Likewise.
25067         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
25068         Likewise.
25069         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
25070         volatile.
25071         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
25072         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
25073         math_narrow_eval.
25074         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25075         Likewise.
25076         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25077         Likewise.
25079 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
25081         * nptl/Versions: Remove ignored symbols.
25083 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25085         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
25086         * nss/Makefile (tests): Update.
25088 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25090         * nss/bug18287.c: New file.
25091         * nss/Makefile (tests): Add bug18287.
25093 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25095         * mach/Versions (__mach_host_self_): Add symbol.
25097 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25099         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
25100         vm_page_size.
25102 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25104         Really fix sysdeps/i386/fpu/s_scalbn.S build
25106         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
25107         (libc: GLIBC_2_22): Remove unused version set.
25109 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25111         * config.make.in (enable-timezone-tools): New variable.
25112         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
25113         (enable_timezone_tools): Export to generated files.
25114         * configure: Regenerate.
25115         * INSTALL: Regenerate.
25116         * manual/install.texi (--disable-timezone-tools): Document new flag.
25117         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
25118         ifeq ($(enable-timezone-tools),yes) check.
25120 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25122         * timezone/Makefile: Revert previous change.
25124         [BZ #18980]
25125         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
25126         (DEFINE_DBL_MIN): Likewise.
25127         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25128         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25129         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25130         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25131         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
25132         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25133         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25134         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
25135         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
25136         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25137         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25138         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
25139         (flt_min): Replace with use of DEFINE_FLT_MIN.
25140         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25141         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
25142         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25143         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25144         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
25145         (flt_min): Replace with use of DEFINE_FLT_MIN.
25146         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25147         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
25148         (flt_min): Replace with use of DEFINE_FLT_MIN.
25149         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25150         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
25151         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
25152         (__ieee754_hypot): Use DBL_NARROW_EVAL.
25153         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
25154         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
25155         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
25156         (__ieee754_pow): Use DBL_NARROW_EVAL.
25157         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
25158         (__ieee754_powf): Use FLT_NARROW_EVAL.
25159         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
25160         (__ieee754_expf_sse2): Convert double-precision result to single
25161         precision.
25162         * sysdeps/i386/fpu/libm-test-ulps: Update.
25164 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25166         * timezone/Makefile: Ignore unused variable errors due to private.h
25167         (time_t_min) and (time_t_max).
25168         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
25169         Likewise.
25171 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25173         [BZ #18981]
25174         * sysdeps/i386/fpu/i386-math-asm.h: New file.
25175         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
25176         (__ieee754_scalb): Use DBL_NARROW_EVAL.
25177         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
25178         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
25179         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
25180         (__scalbn): Use DBL_NARROW_EVAL.
25181         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
25182         (__scalbnf): Use FLT_NARROW_EVAL.
25184 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25186         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
25187         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
25188         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
25189         * stdio-common/printf_fp.c (___printf_fp):
25190         Use signbit to get the sign. Use isinf macro to allow inlining.
25191         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
25192         * stdio-common/printf_size.c (__printf_size): Likewise.
25194 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25196         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
25198 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25200         [BZ #18980]
25201         * sysdeps/generic/math_private.h: Include <float.h>.
25202         (math_narrow_eval): New macro.
25203         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
25204         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
25205         math_narrow_eval on overflowing return value.
25206         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
25207         Likewise.
25208         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25209         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
25210         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
25211         Likewise.
25212         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25214 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25216         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
25217         * math/Makefile: Remove isinf_ns.c.
25218         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
25219         * math/multc3.c (__multc3): Likewise.
25220         * math/s_casin.c (__casin): Likewise.
25221         * math/s_casinf.c (__casinf): Likewise.
25222         * math/s_casinl.c (__casinl): Likewise.
25223         * math/s_cproj.c (__cproj): Likewise.
25224         * math/s_cprojf.c (__cprojf): Likewise.
25225         * math/s_cprojl.c (__cprofl): Likewise.
25226         * math/s_ctan.c (__ctan): Likewise.
25227         * math/s_ctanf.c (__ctanf): Likewise.
25228         * math/s_ctanh.c (__ctanh): Likewise.
25229         * math/s_ctanhf.c (__ctanhf): Likewise.
25230         * math/s_ctanhl.c (__ctanhl): Likewise.
25231         * math/s_ctanl.c (__ctanl): Likewise.
25232         * math/w_fmod.c (__fmod): Likewise.
25233         * math/w_fmodf.c (__fmodf): Likewise.
25234         * math/w_fmodl.c (_fmodl): Likewise.
25235         * math/w_remainder.c (__remainder): Likewise.
25236         * math/w_remainderf.c (__remainderf): Likewise.
25237         * math/w_remainderl.c (__remainderl): Likewise.
25238         * math/w_scalb.c (__scalb): Likewise.
25239         * math/w_scalbf.c (__scalbf): Likewise.
25240         * math/w_scalbl.c (__scalbl): Likewise.
25241         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
25242         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
25243         with isinf.
25244         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
25245         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
25246         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
25247         __isinf_nsf with isinf.
25248         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
25249         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
25250         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
25251         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
25252         with isinf.
25253         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
25254         __isinf_nsl with isinf.
25255         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
25256         with isinf.
25257         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
25258         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
25259         __isinf_nsl with isinf.
25260         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
25261         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
25262         with isinf.
25264 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25266         * resolv/base64.c (rcsid): Remove unused static.
25267         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
25268         static.  (tqpi1): Likewise.
25269         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
25270         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
25271         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
25272         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
25273         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
25274         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
25275         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
25276         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
25277         Likewise.
25279 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
25281         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
25282         <nptl/pthreadP.h>.
25283         (_longjmp_unwind): Use __libc_ptf_call.
25284         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
25286 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
25288         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
25289         * sysdeps/arm/__longjmp.S: Likewise.
25291 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25293         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
25294         Use __builtin_signbit.
25295         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25296         Use __builtin_signbitf.
25297         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25298         Use __builtin_signbitl.
25299         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25300         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25302 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25304         [BZ #15367]
25305         [BZ #17441]
25307         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25308         * math/math.h (fpclassify): Use __builtin_fpclassify when
25309         available.  (signbit): Use __builtin_signbit(f/l).
25310         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25311         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25312         (isinf): Use __builtin_isinf_sign.
25314 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25316         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25317         * benchtests/bench-math-inlines.c: New benchmark.
25318         * benchtests/bench-util.h: New file.
25319         * benchtests/bench-util.c: New file.
25320         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25322 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25324         * elf/tst-dlmopen1.c: Define TEST_SO.
25325         (do_test): Use TEST_SO.
25327         * elf/dl-load.c: Include libc-internal.h.
25328         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25330 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25332         [BZ #17887]
25333         * time/strptime_l.c (__strptime_internal): Make %z accept
25334         [+-]HH:MM time zones.
25336 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25338         [BZ #17886]
25339         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25340         valid time zone.
25342 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25344         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25345         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25346         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25347         (__ASSUME_FDATASYNC): Delete.
25349 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25351         * conform/linknamespace.pl: Require weak undefined symbols to be
25352         in the standard namespace.
25353         (%strong_syms): Rename to %seen_syms.
25354         (%strong_seen): Rename to %seen_where.
25356 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25358         [BZ #18970]
25359         * misc/error.c (error): Replace pthread_setcancelstate with
25360         __pthread_setcancelstate.
25361         (error_at_line): Likewise.
25362         * posix/wordexp.c (parse_comm): Likewise.
25363         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25364         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25365         (__pthread_setcancelstate): This.
25366         (pthread_setcancelstate): Add an alias.
25367         * nptl/nptl-init.c (pthread_functions): Replace
25368         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25369         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25370         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25371         hidden_proto.
25372         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25373         it with hidden_def.
25374         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25375         (pthread_setcancelstate): Renamed to ...
25376         (__pthread_setcancelstate): This.
25377         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25378         __libc_ptf_call with __pthread_setcancelstate.
25380 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25381             Andreas Schwab  <schwab@suse.de>
25383         [BZ #17118]
25384         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25385         result when imaginary part of argument is infinite using sine and
25386         cosine.
25387         * math/s_ctanf.c (__ctanf): Likewise.
25388         * math/s_ctanl.c (__ctanl): Likewise.
25389         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25390         of result when real part of argument is infinite using sine and
25391         cosine.
25392         * math/s_ctanhf.c (__ctanhf): Likewise.
25393         * math/s_ctanhl.c (__ctanhl): Likewise.
25394         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25395         (ctanh_test_data): Add more tests of ctanh.
25397 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25399         [BZ #15384]
25400         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25401         bit-mask as in subtraction.
25402         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25403         Likewise.
25404         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25405         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25406         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25408         [BZ #18951]
25409         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25410         underflow exception for small results.
25411         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25412         Likewise.
25413         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25414         Likewise.
25415         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25416         Likewise.
25417         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25418         Likewise.
25419         * math/auto-libm-test-in: Add more tests of tgamma.
25420         * math/auto-libm-test-out: Regenerated.
25422 2015-09-17  Andreas Schwab  <schwab@suse.de>
25424         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25426 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25428         [BZ #18977]
25429         * math/bits/mathcalls.h
25430         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25431         not declare.
25432         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25433         Likewise.
25434         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25435         Likewise.
25436         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25437         Likewise.
25438         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25439         Likewise.
25440         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25441         Likewise.
25442         * conform/data/math.h-data
25443         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25444         function.
25445         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25446         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25447         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25448         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25449         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25450         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25451         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25452         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25453         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25454         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25455         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25457         [BZ #6803]
25458         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25459         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25460         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25461         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25462         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25463         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25464         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25465         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25466         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25467         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25468         Likewise.
25469         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25470         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25471         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25472         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25473         long_double_symbol calls.
25474         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25475         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25476         strong alias of __ldexpl.
25477         (scalbnl): Define using long_double_symbol.
25478         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25479         Remove alias.
25480         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25481         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25482         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25483         (scalbln_test_data): Add more errno expectations.
25485 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25487         Cache the host port like we cache the task port.  This way we do not
25488         need to call the kernel just to get the port.  Furthermore, we no
25489         longer increase the reference count on every invocation of
25490         `mach_host_self'.
25492         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25493         Protect declarations against the macro expansion.
25494         * mach/mach_init.c (__mach_host_self_): New variable.
25495         (mach_init): Initialize `__mach_host_self_'.
25496         * mach/mach_init.h (__mach_host_self_): New declaration.
25497         (__mach_host_self, mach_host_self): New macros.
25498         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25499         Release reference.
25501 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25503         [BZ #4404]
25504         * po/de.po: Update from Translation Project.
25506         [BZ #16415]
25507         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25508         (__expm1l): Remove code to handle positive infinity and overflow.
25509         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25510         variable.
25511         (__expm1l): Remove code to handle positive infinity and overflow.
25513 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25514             Paul Pluzhnikov  <ppluzhnikov@google.com>
25516         [BZ #18872]
25517         * stdio-common/Makefile (tst-printf-bz18872): New test.
25518         (tst-printf-bz18872-mem.out): Likewise.
25519         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25520         * stdio-common/vfprintf.c: Fix memory leaks.
25522 2015-09-16  Andreas Schwab  <schwab@suse.de>
25524         [BZ #17244]
25525         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25526         Remove extra va_start/va_end calls.
25528         [BZ #17243]
25529         * posix/execl.c (execl): Add missing va_end.
25530         * posix/execle.c (execle): Likewise.
25531         * posix/execlp.c (execlp): Likewise.
25533 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25535         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25536         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25538 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25540         [BZ #18967]
25541         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25542         undefine around includes of <bits/mathcalls.h>.
25543         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25544         not declare function.
25545         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25546         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25547         (scalb): Likewise.
25548         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25549         not define macro.
25550         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25551         variable.
25552         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25553         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25554         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25556         [BZ #18857]
25557         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25558         return non-finite argument without doing ordered comparisons on
25559         it.
25561         [BZ #16296]
25562         * math/fenv.h (fegetround): Use __attribute_pure__.
25563         * include/fenv.h (__fegetround): Likewise.
25565         [BZ #18595]
25566         * math/s_ctan.c (__ctan): Force underflow exception for results
25567         whose real or imaginary part has small absolute value.
25568         * math/s_ctanf.c (__ctanf): Likewise.
25569         * math/s_ctanh.c (__ctanh): Likewise.
25570         * math/s_ctanhf.c (__ctanhf): Likewise.
25571         * math/s_ctanhl.c (__ctanhl): Likewise.
25572         * math/s_ctanl.c (__ctanl): Likewise.
25573         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25574         and ctanh.  Add more tests of ctan and ctanh.
25576         [BZ #15918]
25577         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25578         handling of cases where one argument is an infinity.
25580         [BZ #18875]
25581         [BZ #18966]
25582         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25583         (MO): New macro.
25584         (__ieee754_exp10): For small results, force underflow exception
25585         and remove excess range and precision from return value.
25586         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25587         (MO): New macro.
25588         (__ieee754_exp10f): For small results, force underflow exception
25589         and remove excess range and precision from return value.
25590         * math/auto-libm-test-in: Add more tests of exp10.
25591         * math/auto-libm-test-out: Regenerated.
25593 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25595         [BZ #18875]
25596         [BZ #18961]
25597         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25598         (MO): New macro.
25599         (__ieee754_exp): For small results, force underflow exception and
25600         remove excess range and precision from return value.
25601         (__exp_finite): Likewise.
25602         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25603         (MO): New macro.
25604         (__ieee754_expf): For small results, force underflow exception and
25605         remove excess range and precision from return value.
25606         (__expf_finite): Likewise.
25607         * math/auto-libm-test-in: Add more tests of exp.
25608         * math/auto-libm-test-out: Regenerated.
25610         [BZ #16521]
25611         [BZ #18875]
25612         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25613         small results.
25614         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25615         (MO): New macro.
25616         (__ieee754_exp2): For small results, force underflow exception and
25617         remove excess range and precision from return value.
25618         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25619         (MO): New macro.
25620         (__ieee754_exp2f): For small results, force underflow exception
25621         and remove excess range and precision from return value.
25622         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25623         (MO): New macro.
25624         (__ieee754_exp2l): Force underflow exception for small results.
25625         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25626         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25627         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25628         (MO): New macro.
25629         (__ieee754_exp2l): Force underflow exception for small results.
25630         * math/auto-libm-test-in: Add more tests or exp2.
25631         * math/auto-libm-test-out: Regenerated.
25633 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25635         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25637         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25638         /dev/null.
25640 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25642         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25643         io fs process)): Drop spurious backslash.
25645 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25647         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25648         Use sysinfo system call instead of parsing /proc/meminfo.
25649         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25650         Likewise.
25652 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25654         [BZ #16985]
25655         * programs/localedef.c (main): Display argv[remaining] when
25656         output_path is NULL.
25658 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25660         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25661         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25662         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25663         tanh.
25664         * math/auto-libm-test-out: Regenerated.
25665         * sysdeps/i386/fpu/libm-test-ulps: Update.
25666         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25667         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25670 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25672         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25673         Use 'override' keyword to freeze the value here, preventing
25674         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25676 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25678         [BZ #14912]
25679         * sysdeps/aarch64/bits/atomic.h: Move to ...
25680         * sysdeps/aarch64/atomic-machine.h: ...here.
25681         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25682         _AARCH64_ATOMIC_MACHINE_H.
25683         * sysdeps/alpha/bits/atomic.h: Move to ...
25684         * sysdeps/alpha/atomic-machine.h: ...here.
25685         * sysdeps/arm/bits/atomic.h: Move to ...
25686         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25687         * bits/atomic.h: Move to ...
25688         * sysdeps/generic/atomic-machine.h: ...here.
25689         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25690         * sysdeps/i386/bits/atomic.h: Move to ...
25691         * sysdeps/i386/atomic-machine.h: ...here.
25692         * sysdeps/ia64/bits/atomic.h: Move to ...
25693         * sysdeps/ia64/atomic-machine.h: ...here.
25694         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25695         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25696         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25697         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25698         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25699         * sysdeps/microblaze/bits/atomic.h: Move to ...
25700         * sysdeps/microblaze/atomic-machine.h: ...here.
25701         * sysdeps/mips/bits/atomic.h: Move to ...
25702         * sysdeps/mips/atomic-machine.h: ...here.
25703         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25704         * sysdeps/powerpc/bits/atomic.h: Move to ...
25705         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25706         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25707         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25708         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25709         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25710         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25711         <atomic-machine.h> instead of <bits/atomic.h>.
25712         * sysdeps/s390/bits/atomic.h: Move to ...
25713         * sysdeps/s390/atomic-machine.h: ...here.
25714         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25715         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25716         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25717         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25718         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25719         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25720         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25721         * sysdeps/tile/bits/atomic.h: Move to ...
25722         * sysdeps/tile/atomic-machine.h: ...here.
25723         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25724         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25725         <sysdeps/tile/atomic-machine.h> instead of
25726         <sysdeps/tile/bits/atomic.h>.
25727         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25728         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25729         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25730         <sysdeps/tile/atomic-machine.h> instead of
25731         <sysdeps/tile/bits/atomic.h>.
25732         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25733         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25734         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25735         <sysdeps/arm/atomic-machine.h> instead of
25736         <sysdeps/arm/bits/atomic.h>.
25737         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25738         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25739         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25740         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25741         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25742         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25743         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25744         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25745         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25746         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25747         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25748         * sysdeps/x86_64/bits/atomic.h: Move to ...
25749         * sysdeps/x86_64/atomic-machine.h: ...here.
25750         * include/atomic.h: Include <atomic-machine.h> instead of
25751         <bits/atomic.h>.
25753         * sysdeps/mips/mips32/libm-test-ulps: Update.
25754         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25756         [BZ #18952]
25757         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25758         not convert non-integer negative arguments to int to determine the
25759         value of signgam.
25760         * math/auto-libm-test-in: Add more tests of lgamma.
25761         * math/auto-libm-test-out: Regenerated.
25763         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25764         cosh, csqrt, erfc, expm1 and lgamma.
25765         * math/auto-libm-test-out: Regenerated.
25766         * sysdeps/i386/fpu/libm-test-ulps: Update.
25767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25769 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25771         [BZ #2542]
25772         [BZ #2543]
25773         [BZ #2558]
25774         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25775         __lgamma_neg for arguments from -28.0 to -2.0.
25776         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25777         __lgamma_negf for arguments from -15.0 to -2.0.
25778         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25779         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25780         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25781         Call __lgamma_negl for arguments from -33.0 to -2.0.
25782         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25783         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25784         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25785         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25786         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25787         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25788         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25789         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25790         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25791         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25792         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25793         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25794         (__lgamma_neg): Likewise.
25795         (__lgamma_negl): Likewise.
25796         (__lgamma_product): Likewise.
25797         (__lgamma_productl): Likewise.
25798         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25799         * math/auto-libm-test-in: Add more tests of lgamma.
25800         * math/auto-libm-test-out: Regenerated.
25801         * sysdeps/i386/fpu/libm-test-ulps: Update.
25802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25804 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25806         [BZ #18675]
25807         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25809 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25811         [BZ #14912]
25812         * bits/libc-lock.h: Move to ...
25813         * sysdeps/generic/libc-lock.h: ...here.
25814         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25815         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25816         * sysdeps/mach/hurd/libc-lock.h: ...here.
25817         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25818         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25819         * sysdeps/mach/bits/libc-lock.h: Move to ...
25820         * sysdeps/mach/libc-lock.h: ...here.
25821         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25822         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25823         * sysdeps/nptl/libc-lock.h: ...here.
25824         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25825         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25826         * sysdeps/nptl/libc-lockP.h: ...here.
25827         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25828         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25829         <bits/libc-lock.h>.
25830         * dirent/scandir-tail.c: Likewise.
25831         * dlfcn/dlerror.c: Likewise.
25832         * elf/dl-close.c: Likewise.
25833         * elf/dl-iteratephdr.c: Likewise.
25834         * elf/dl-lookup.c: Likewise.
25835         * elf/dl-open.c: Likewise.
25836         * elf/dl-support.c: Likewise.
25837         * elf/dl-writev.h: Likewise.
25838         * elf/rtld.c: Likewise.
25839         * grp/fgetgrent.c: Likewise.
25840         * gshadow/fgetsgent.c: Likewise.
25841         * gshadow/sgetsgent.c: Likewise.
25842         * iconv/gconv_conf.c: Likewise.
25843         * iconv/gconv_db.c: Likewise.
25844         * iconv/gconv_dl.c: Likewise.
25845         * iconv/gconv_int.h: Likewise.
25846         * iconv/gconv_trans.c: Likewise.
25847         * include/link.h: Likewise.
25848         * inet/getnameinfo.c: Likewise.
25849         * inet/getnetgrent.c: Likewise.
25850         * inet/getnetgrent_r.c: Likewise.
25851         * intl/bindtextdom.c: Likewise.
25852         * intl/dcigettext.c: Likewise.
25853         * intl/finddomain.c: Likewise.
25854         * intl/gettextP.h: Likewise.
25855         * intl/loadmsgcat.c: Likewise.
25856         * intl/localealias.c: Likewise.
25857         * intl/textdomain.c: Likewise.
25858         * libidn/idn-stub.c: Likewise.
25859         * libio/libioP.h: Likewise.
25860         * locale/duplocale.c: Likewise.
25861         * locale/freelocale.c: Likewise.
25862         * locale/newlocale.c: Likewise.
25863         * locale/setlocale.c: Likewise.
25864         * login/getutent_r.c: Likewise.
25865         * login/getutid_r.c: Likewise.
25866         * login/getutline_r.c: Likewise.
25867         * login/utmp-private.h: Likewise.
25868         * login/utmpname.c: Likewise.
25869         * malloc/mtrace.c: Likewise.
25870         * misc/efgcvt.c: Likewise.
25871         * misc/error.c: Likewise.
25872         * misc/fstab.c: Likewise.
25873         * misc/getpass.c: Likewise.
25874         * misc/mntent.c: Likewise.
25875         * misc/syslog.c: Likewise.
25876         * nis/nis_call.c: Likewise.
25877         * nis/nis_callback.c: Likewise.
25878         * nis/nss-default.c: Likewise.
25879         * nis/nss_compat/compat-grp.c: Likewise.
25880         * nis/nss_compat/compat-initgroups.c: Likewise.
25881         * nis/nss_compat/compat-pwd.c: Likewise.
25882         * nis/nss_compat/compat-spwd.c: Likewise.
25883         * nis/nss_nis/nis-alias.c: Likewise.
25884         * nis/nss_nis/nis-ethers.c: Likewise.
25885         * nis/nss_nis/nis-grp.c: Likewise.
25886         * nis/nss_nis/nis-hosts.c: Likewise.
25887         * nis/nss_nis/nis-network.c: Likewise.
25888         * nis/nss_nis/nis-proto.c: Likewise.
25889         * nis/nss_nis/nis-pwd.c: Likewise.
25890         * nis/nss_nis/nis-rpc.c: Likewise.
25891         * nis/nss_nis/nis-service.c: Likewise.
25892         * nis/nss_nis/nis-spwd.c: Likewise.
25893         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25894         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25895         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25896         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25897         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25898         * nis/nss_nisplus/nisplus-network.c: Likewise.
25899         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25900         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25901         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25902         * nis/nss_nisplus/nisplus-service.c: Likewise.
25903         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25904         * nis/ypclnt.c: Likewise.
25905         * nptl/libc_pthread_init.c: Likewise.
25906         * nss/getXXbyYY.c: Likewise.
25907         * nss/getXXent.c: Likewise.
25908         * nss/getXXent_r.c: Likewise.
25909         * nss/nss_db/db-XXX.c: Likewise.
25910         * nss/nss_db/db-netgrp.c: Likewise.
25911         * nss/nss_db/nss_db.h: Likewise.
25912         * nss/nss_files/files-XXX.c: Likewise.
25913         * nss/nss_files/files-alias.c: Likewise.
25914         * nss/nsswitch.c: Likewise.
25915         * posix/regex_internal.h: Likewise.
25916         * posix/wordexp.c: Likewise.
25917         * pwd/fgetpwent.c: Likewise.
25918         * resolv/res_hconf.c: Likewise.
25919         * resolv/res_libc.c: Likewise.
25920         * shadow/fgetspent.c: Likewise.
25921         * shadow/lckpwdf.c: Likewise.
25922         * shadow/sgetspent.c: Likewise.
25923         * socket/opensock.c: Likewise.
25924         * stdio-common/reg-modifier.c: Likewise.
25925         * stdio-common/reg-printf.c: Likewise.
25926         * stdio-common/reg-type.c: Likewise.
25927         * stdio-common/vfprintf.c: Likewise.
25928         * stdio-common/vfscanf.c: Likewise.
25929         * stdlib/abort.c: Likewise.
25930         * stdlib/cxa_atexit.c: Likewise.
25931         * stdlib/fmtmsg.c: Likewise.
25932         * stdlib/random.c: Likewise.
25933         * stdlib/setenv.c: Likewise.
25934         * string/strsignal.c: Likewise.
25935         * sunrpc/auth_none.c: Likewise.
25936         * sunrpc/bindrsvprt.c: Likewise.
25937         * sunrpc/create_xid.c: Likewise.
25938         * sunrpc/key_call.c: Likewise.
25939         * sunrpc/rpc_thread.c: Likewise.
25940         * sysdeps/arm/backtrace.c: Likewise.
25941         * sysdeps/generic/ldsodefs.h: Likewise.
25942         * sysdeps/generic/stdio-lock.h: Likewise.
25943         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25944         * sysdeps/i386/backtrace.c: Likewise.
25945         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25946         * sysdeps/m68k/backtrace.c: Likewise.
25947         * sysdeps/mach/hurd/cthreads.c: Likewise.
25948         * sysdeps/mach/hurd/dirstream.h: Likewise.
25949         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25950         * sysdeps/nptl/malloc-machine.h: Likewise.
25951         * sysdeps/nptl/stdio-lock.h: Likewise.
25952         * sysdeps/posix/dirstream.h: Likewise.
25953         * sysdeps/posix/getaddrinfo.c: Likewise.
25954         * sysdeps/posix/system.c: Likewise.
25955         * sysdeps/pthread/aio_suspend.c: Likewise.
25956         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25957         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25958         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25959         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25960         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25961         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25962         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25963         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25964         * sysdeps/unix/sysv/linux/system.c: Likewise.
25965         * sysdeps/x86_64/backtrace.c: Likewise.
25966         * time/alt_digit.c: Likewise.
25967         * time/era.c: Likewise.
25968         * time/tzset.c: Likewise.
25969         * wcsmbs/wcsmbsload.c: Likewise.
25970         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25971         instead of <bits/libc-lock.h> in comment.
25973 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25975         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25976         Only use .set mips2 if the current ISA is below mips2.
25977         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25978         Likewise.
25979         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25980         mips32r2 if the current ISA is below mips32r2.
25981         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25982         (TLS_IE): Updated to use the TLD_RDHWR macro.
25983         (TLS_LE): Likewise.
25984         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25985         __ASSEMBLER__ condition.
25987 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25989         Fix parallel build of before-compile targets.
25991         * sysdeps/mach/Makefile ($(patsubst
25992         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25993         mach-before-compile target.
25994         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25995         io fs process)): Move rule to dedicated hurd-before-compile target.
25997 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25999         Fix rules generating headers in hurd/ and mach/ when initial make call
26000         has subdir= explicitly set.
26002         * sysdeps/mach/Makefile ($(patsubst
26003         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
26004         calling $(MAKE).
26005         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26006         io fs process)): Force subdir to hurd when calling $(MAKE).
26007         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
26008         subdir to mach when calling $(MAKE).
26010 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
26012         Check sysheaders when looking for Mach and Hurd headers
26014         * sysdeps/mach/configure.ac: Add sysheaders check.
26015         * sysdeps/mach/configure: Regenerate.
26016         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
26017         * sysdeps/mach/hurd/configure: Regenerate.
26019 2015-09-04  Roland McGrath  <roland@hack.frob.com>
26021         [BZ #18921]
26022         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
26023         Fix inverted sense of test of 'o_directory_works' value.
26024         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
26025         Bernhard Voelker <mail@bernhard-voelker.de>.
26027 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26029         [BZ #14912]
26030         * bits/linkmap.h: Move to ...
26031         * sysdeps/generic/linkmap.h: ...here.
26032         * sysdeps/aarch64/bits/linkmap.h: Move to ...
26033         * sysdeps/aarch64/linkmap.h: ...here.
26034         * sysdeps/arm/bits/linkmap.h: Move to ...
26035         * sysdeps/arm/linkmap.h: ...here.
26036         * sysdeps/hppa/bits/linkmap.h: Move to ...
26037         * sysdeps/hppa/linkmap.h: ...here.
26038         * sysdeps/ia64/bits/linkmap.h: Move to ...
26039         * sysdeps/ia64/linkmap.h: ...here.
26040         * sysdeps/mips/bits/linkmap.h: Move to ...
26041         * sysdeps/mips/linkmap.h: ...here.
26042         * sysdeps/s390/bits/linkmap.h: Move to ...
26043         * sysdeps/s390/linkmap.h: ...here.
26044         * sysdeps/sh/bits/linkmap.h: Move to ...
26045         * sysdeps/sh/linkmap.h: ...here.
26046         * sysdeps/x86/bits/linkmap.h: Move to ...
26047         * sysdeps/x86/linkmap.h: ...here.
26048         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
26050 2015-09-04  Andreas Schwab  <schwab@suse.de>
26052         [BZ #18635]
26053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
26054         (__makecontext): Terminate FDE before return label.
26055         (__novec_makecontext): Likewise.
26057 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26059         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
26060         first member of struct sv in syscall macro.
26062 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26064         [BZ #14912]
26065         * bits/stdio-lock.h: Move to ...
26066         * sysdeps/generic/stdio-lock.h: ...here.
26067         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26068         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
26069         * sysdeps/nptl/stdio-lock.h: ...here.
26070         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26071         * include/libio.h: Include <stdio-lock.h> instead of
26072         <bits/stdio-lock.h>.
26073         * sysdeps/nptl/fork.c: Likewise.
26074         * sysdeps/pthread/flockfile.c: Likewise.
26075         * sysdeps/pthread/ftrylockfile.c: Likewise.
26076         * sysdeps/pthread/funlockfile.c: Likewise.
26078         [BZ #14912]
26079         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
26080         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
26081         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
26082         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
26083         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
26084         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26085         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
26087 2015-09-03  Roland McGrath  <roland@hack.frob.com>
26089         * elf/Makefile (test-xfail-tst-protected1a): New variable.
26090         (test-xfail-tst-protected1b): New variable.
26092 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
26094         [BZ #14912]
26095         * bits/libc-tsd.h: Move to ...
26096         * sysdeps/generic/libc-tsd.h: ...here.
26097         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
26098         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
26099         * sysdeps/mach/hurd/libc-tsd.h: ...here.
26100         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
26101         * include/ctype.h: Include <libc-tsd.h> instead of
26102         <bits/libc-tsd.h>.
26103         * include/rpc/rpc.h: Likewise.
26104         * locale/localeinfo.h: Likewise.
26105         * sunrpc/rpc_thread.c: Likewise.
26106         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26107         * sysdeps/nptl/malloc-machine.h: Likewise.
26109         * Makefile (headers): Remove bits/libc-lock.h.
26110         * libio/Makefile (headers): Remove bits/stdio-lock.h.
26112         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
26113         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
26114         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
26115         <bits/stdio-lock.h>.
26116         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
26117         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
26119 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26121         [BZ #18757]
26122         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
26123         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
26124         BZ #18757.
26126 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26128         * malloc/mtrace.pl: Filter out NULL entries.
26130 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
26132         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
26133         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
26134         macro.
26136         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
26137         (TCP_CC_INFO): Likewise.
26138         (TCP_SAVE_SYN): Likewise.
26139         (TCP_SAVED_SYN): Likewise.
26141 2015-08-31  Brett Neumeier <brett@neumeier.us>
26143         [BZ #18870]
26144         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
26146 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
26148         [BZ #18873]
26149         Fix broken overflow check in posix_fallocate
26150         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
26151         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26152         Fix parenthesization typo.
26154 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
26156         [BZ #18887]
26157         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
26158         tst-mntent-blank-passno.
26159         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
26160         * misc/tst-mntent-blank-corrupt.c: New test.
26161         * misc/tst-mntent-blank-passno.c: New test ripped from ...
26162         * misc/tst-mntent.c (do_test): ... here.
26164 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
26166         [BZ #4404]
26167         * po/de.po: Fix SIGALRM typo.
26169 2015-08-28  James Perkins  <james@loowit.net>
26171         * time/tst-strptime2.c (tests): Replace short list of test
26172         strings for strptime %z specifier with code which exhaustively
26173         tests every combination of sign and 0 to 5 digits. Tests for
26174         rejection of invalid strings.
26176 2015-08-28  James Perkins  <james@loowit.net>
26178         [BZ #16141]
26179         * time/strptime_l.c (__strptime_internal): Fix %z minutes
26180         calculation, removing incorrect decimal time rounding, so that
26181         all minute values result in a valid seconds value.
26182         * time/strptime_l.c (__strptime_internal): Extend %z time zone
26183         offset range limits to UTC-99:59 through UTC+99:59 to parse
26184         current and historical use cases.
26185         * time/tst-strptime2.c (tests): Modify and add tests for the
26186         strptime %z input field descriptor, specifically conversion of
26187         minutes to seconds and validating an offset range of -9959 to
26188         +9959.
26190 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26191             Dmitry V. Levin  <ldv@altlinux.org>
26193         [BZ #18877]
26194         * posix/Makefile (tests): Add tst-mmap-offset.
26195         * posix/tst-mmap.c: New file.
26196         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
26197         offset calculation for negative values.
26199 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26201         * sysdeps/i386/init-arch.h: New file.
26202         * sysdeps/i386/i586/init-arch.h: Likewise.
26203         * sysdeps/i386/i686/init-arch.h: Likewise.
26204         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
26205         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
26206         * sysdeps/x86/cpu-features.h (bit_I586): New.
26207         (bit_I686): Likewise.
26208         (bit_CX8): Likewise.
26209         (bit_CMOV): Likewise.
26210         (index_CX8): Likewise.
26211         (index_CMOV): Likewise.
26212         (index_I586): Likewise.
26213         (index_I686): Likewise.
26214         (reg_CX8): Likewise.
26215         (reg_CMOV): Likewise.
26216         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
26217         available at compile-time.
26218         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
26219         available at compile-time.
26220         * sysdeps/x86/init-arch.h (USE_I586): New macro.
26221         (USE_I686): Likewise.
26223 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26225         * sysdeps/i386/bcopy.S: New file.
26226         * sysdeps/i386/bzero.S: Likewise.
26227         * sysdeps/i386/memcpy.S: Likewise.
26228         * sysdeps/i386/memmove.S: Likewise.
26229         * sysdeps/i386/mempcpy.S: Likewise.
26230         * sysdeps/i386/memset.S: Likewise.
26231         * sysdeps/i386/bzero.c: Removed.
26232         * sysdeps/i386/memset.c: Likewise.
26233         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
26234         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
26235         * sysdeps/i386/i586/memset_chk.S: Likewise.
26236         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
26237         * sysdeps/i386/memcpy_chk.S: Here.
26238         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
26239         * sysdeps/i386/memmove_chk.S: Here.
26240         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
26241         * sysdeps/i386/mempcpy_chk.S: Likewise.
26242         * sysdeps/i386/i686/memset_chk.S: Moved to ...
26243         * sysdeps/i386/memset_chk.S: Likewise.
26245 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
26247         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
26248         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
26249         file, move DIAG_POP_NEEDS_COMMENT to end of file.
26250         * soft-fp/fmadf4.c: Ditto.
26251         * soft-fp/fmatf4.c: Ditto.
26253 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26255         * sysdeps/i386/i586/Implies: Removed.
26256         * sysdeps/i386/i686/Implies: Likewise.
26258 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26260         * sysdeps/i386/i486/strlen.S: Moved to ...
26261         * sysdeps/i386/strlen.S: Here.
26263 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26265         * sysdeps/i386/i486/strcat.S: Moved to ...
26266         * sysdeps/i386/strcat.S: Here.
26268 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26270         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
26271         * sysdeps/i386/pthread_spin_trylock.S: Here.
26272         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
26273         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
26275 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26277         * sysdeps/i386/i486/string-inlines.c: Moved to ...
26278         * sysdeps/i386/string-inlines.c: Here.
26280 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26282         * sysdeps/i386/i486/htonl.S: Moved ...
26283         * sysdeps/i386/htonl.S: here.
26285 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26287         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
26288         * sysdeps/i386/bits/atomic.h: Here.
26290 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26292         * sysdeps/i386/i486/Versions: Removed.
26294 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26296         [BZ #2898]
26297         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26298         Based on patch by Aurelien Jarno.
26300 2015-08-26  Stan Shebs  <stanshebs@google.com>
26302         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26303         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26305 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26307         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26308         * sysdeps/powerpc/dl-procinfo.c:
26309         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26310         feature so it shows when LD_SHOW_AUXV=1.
26312 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26314         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26315         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26316         definition.  ISA 2.07B no longer requires full sync.
26318 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26320         [BZ #18863]
26321         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26322         (si_call_addr): Define.
26323         (si_syscall): Define.
26324         (si_arch): Define.
26326 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26328         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26329         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26330         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26331         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26332         (__memset_zero_constant_len_parameter): New.
26333         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26334         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26335         (__memset_zero_constant_len_parameter): Don't define if
26336         __memset_chk or USE_AS_BZERO are defined.
26338         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26339         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26340         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26342         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26343         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26344         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26345         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26346         comments.
26347         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26348         -mno-mmx for $(all-rtld-routines).
26349         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26350         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26351         i386.
26353 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26355         * sysdeps/generic/unwind.h
26356         (_Unwind_Word): Use __mode__(__unwind_word__)
26357         instead of __mode__(__word__).
26358         (_Unwind_Sword): Likewise.
26360         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26361         (MAX_NEEDED_INPUT): New define.
26362         (MAX_NEEDED_OUTPUT): New define.
26364         * NEWS: New item for IBM z13 string optimizations.
26366         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26367         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26368         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26369         * sysdeps/s390/multiarch/Makefile
26370         (sysdep_routines): Add memrchr functions.
26371         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26372         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26374         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26375         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26376         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26377         * sysdeps/s390/multiarch/Makefile
26378         (sysdep_routines): Add wmemcmp functions.
26379         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26380         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26381         * benchtests/bench-wmemcmp.c: New File.
26382         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26384         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26385         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26386         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26387         * sysdeps/s390/multiarch/Makefile
26388         (sysdep_routines): Add wmemset functions.
26389         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26390         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26391         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26392         * string/test-memset.c: Add wmemset support.
26393         * wcsmbs/test-wmemset.c: New File.
26394         * wcsmbs/Makefile (strop-tests): Add wmemset.
26395         * benchtests/bench-memset.c: Add wmemset support.
26396         * benchtests/bench-wmemset.c: New File.
26397         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26399         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26400         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26401         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26402         * sysdeps/s390/multiarch/Makefile
26403         (sysdep_routines): Add memccpy functions.
26404         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26405         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26406         * string/memccpy.c: Use MEMCCPY if defined.
26408         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26409         * sysdeps/s390/multiarch/memchr.c: Likewise.
26410         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26411         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26412         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26413         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26414         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26415         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26416         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26417         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26418         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26419         and rawmemchr functions.
26420         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26421         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26422         and wmemchr.
26423         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26424         * string/test-memchr.c: Add wmemchr support.
26425         * wcsmbs/test-wmemchr.c: New File.
26426         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26427         * benchtests/bench-memchr.c: Add wmemchr support.
26428         * benchtests/bench-wmemchr.c: New File.
26429         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26431         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26432         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26433         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26434         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26435         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26436         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26437         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26438         wcscspn functions.
26439         * sysdeps/s390/multiarch/ifunc-impl-list.c
26440         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26441         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26442         * string/test-strcspn.c: Add wcscspn support.
26443         * wcsmbs/test-wcscspn.c: New File.
26444         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26445         * benchtests/bench-strcspn.c: Add wcscspn support.
26446         * benchtests/bench-wcscspn.c: New File.
26447         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26449         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26450         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26451         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26452         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26453         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26454         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26455         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26456         wcspbrk functions.
26457         * sysdeps/s390/multiarch/ifunc-impl-list.c
26458         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26459         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26460         * string/test-strpbrk.c: Add wcspbrk support.
26461         * wcsmbs/test-wcspbrk.c: New File.
26462         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26463         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26464         * benchtests/bench-wcspbrk.c: New File.
26465         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26467         * sysdeps/s390/multiarch/strspn-c.c: New File.
26468         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26469         * sysdeps/s390/multiarch/strspn.c: Likewise.
26470         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26471         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26472         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26473         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26474         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26475         wcsspn functions.
26476         * sysdeps/s390/multiarch/ifunc-impl-list.c
26477         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26478         * string/test-strspn.c: Add wcsspn support.
26479         * wcsmbs/test-wcsspn.c: New File.
26480         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26481         * benchtests/bench-strspn.c: Add wcsspn support.
26482         * benchtests/bench-wcsspn.c: New File.
26483         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26485         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26486         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26487         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26488         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26489         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26490         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26491         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26492         wcsrchr functions.
26493         * sysdeps/s390/multiarch/ifunc-impl-list.c
26494         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26495         * benchtests/bench-wcsrchr.c: New File.
26496         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26498         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26499         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26500         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26501         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26502         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26503         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26504         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26505         wcschrnul functions.
26506         * sysdeps/s390/multiarch/ifunc-impl-list.c
26507         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26508         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26509         * string/test-strchr.c: Add wcschrnul support.
26510         * wcsmbs/test-wcschrnul.c: New File.
26511         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26512         * benchtests/bench-strchr.c: Add wcschrnul support.
26513         * benchtests/bench-wcschrnul.c: New File.
26514         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26516         * sysdeps/s390/multiarch/strchr-c.c: New File.
26517         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26518         * sysdeps/s390/multiarch/strchr.c: Likewise.
26519         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26520         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26521         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26522         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26523         wcschr functions.
26524         * sysdeps/s390/multiarch/ifunc-impl-list.c
26525         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26526         * string/strchr.c (STRCHR): Define and use macro.
26527         * benchtests/bench-wcschr.c: New File.
26528         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26530         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26531         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26532         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26533         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26534         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26535         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26536         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26537         wcsncmp functions.
26538         * sysdeps/s390/multiarch/ifunc-impl-list.c
26539         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26540         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26541         * benchtests/bench-strncmp.c: Add wcsncmp support.
26542         * benchtests/bench-wcsncmp.c: New File.
26543         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26545         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26546         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26547         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26548         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26549         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26550         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26551         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26552         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26553         wcscmp functions.
26554         * sysdeps/s390/multiarch/ifunc-impl-list.c
26555         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26556         * string/strcmp.c (STRCMP): Define and use macro.
26557         * benchtests/bench-wcscmp.c: New File.
26558         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26559         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26560         instead of _HAVE_STRING_ARCH_memchr.
26562         * sysdeps/s390/multiarch/strncat-c.c: New File.
26563         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26564         * sysdeps/s390/multiarch/strncat.c: Likewise.
26565         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26566         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26567         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26568         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26569         wcsncat functions.
26570         * sysdeps/s390/multiarch/ifunc-impl-list.c
26571         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26572         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26573         * string/test-strncat.c: Add wcsncat support.
26574         * wcsmbs/test-wcsncat.c: New File.
26575         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26576         * benchtests/bench-strncat.c: Add wcsncat support.
26577         * benchtests/bench-wcsncat.c: New File.
26578         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26580         * sysdeps/s390/multiarch/strcat-c.c: New File.
26581         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26582         * sysdeps/s390/multiarch/strcat.c: Likewise.
26583         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26584         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26585         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26586         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26587         wcscat functions.
26588         * sysdeps/s390/multiarch/ifunc-impl-list.c
26589         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26590         * string/strcat.c (STRCAT): Define and use macro.
26591         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26592         * string/test-strcat.c: Add wcscat support.
26593         * wcsmbs/test-wcscat.c: New File.
26594         * wcsmbs/Makefile (strop-tests): Add wcscat.
26595         * benchtests/bench-strcat.c: Add wcscat support.
26596         * benchtests/bench-wcscat.c: New File.
26597         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26599         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26600         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26601         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26602         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26603         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26604         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26605         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26606         wcpncpy functions.
26607         * sysdeps/s390/multiarch/ifunc-impl-list.c
26608         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26609         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26610         * string/test-stpncpy.c: Add wcpncpy support.
26611         * wcsmbs/test-wcpncpy.c: New File.
26612         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26613         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26614         * benchtests/bench-wcpncpy.c: New File.
26615         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26617         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26618         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26619         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26620         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26621         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26622         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26623         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26624         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26625         wcsncpy functions.
26626         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26627         * sysdeps/s390/multiarch/ifunc-impl-list.c
26628         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26629         * string/test-strncpy.c: Add wcsncpy support.
26630         * wcsmbs/test-wcsncpy.c: New File.
26631         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26632         * benchtests/bench-strncpy.c: Add wcsncpy support.
26633         * benchtests/bench-wcsncpy.c: New File.
26634         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26636         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26637         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26638         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26639         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26640         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26641         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26642         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26643         wcpcpy functions.
26644         * string/stpcpy.c: Use STPCPY if defined.
26645         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26646         * sysdeps/s390/multiarch/ifunc-impl-list.c
26647         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26648         * string/test-stpcpy.c: Add wcpcpy support.
26649         * wcsmbs/test-wcpcpy.c: New File.
26650         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26651         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26652         * benchtests/bench-wcpcpy.c: New File.
26653         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26655         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26656         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26657         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26658         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26659         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26660         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26661         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26662         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26663         wcscpy functions.
26664         * sysdeps/s390/multiarch/ifunc-impl-list.c
26665         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26666         * benchtests/bench-wcscpy.c: New File.
26667         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26669         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26670         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26671         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26672         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26673         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26674         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26675         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26676         wcsnlen functions.
26677         * sysdeps/s390/multiarch/ifunc-impl-list.c
26678         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26679         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26680         * string/test-strnlen.c: Add wcsnlen support.
26681         * wcsmbs/test-wcsnlen.c: New File.
26682         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26683         * benchtests/bench-strnlen.c: Add wcsnlen support.
26684         * benchtests/bench-wcsnlen.c: New File.
26685         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26687         * sysdeps/s390/multiarch/Makefile: New File.
26688         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26689         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26690         * sysdeps/s390/multiarch/strlen.c: Likewise.
26691         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26692         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26693         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26694         * string/strlen.c (STRLEN): Define and use macro.
26695         * sysdeps/s390/multiarch/ifunc-impl-list.c
26696         (IFUNC_VX_IMPL): New macro function.
26697         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26698         * benchtests/Makefile (wcsmbs-bench): New variable.
26699         (string-bench-all): Added wcsmbs-bench.
26700         * benchtests/bench-wcslen.c: New File.
26702         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26703         s390_vx_libc_ifunc2): New macro function.
26705         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26706         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26707         assembler support.
26708         * sysdeps/s390/configure: Regenerated.
26710         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26711         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26713         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26714         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26715         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26717         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26718         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26719         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26720         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26721         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26722         (memcmp, bcmp): Use __memcmp_default as alias source.
26723         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26724         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26725         Rename to __memcmp_default.
26726         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26727         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26728         (memcpy): Use __memcpy_default as alias source.
26729         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26730         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26731         Rename to __memcpy_default.
26732         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26733         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26734         (memset): Use __memset_default as alias source.
26735         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26736         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26737         Rename to __memset_default.
26738         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26739         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26740         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26741         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26742         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26743         (memcmp, bcmp): Use __memcmp_default as alias source.
26744         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26745         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26746         Rename to __memcmp_default.
26747         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26748         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26749         (memcpy): Use __memcpy_default as alias source.
26750         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26751         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26752         Rename to __memcpy_default.
26753         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26754         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26755         (memset): Use __memset_default as alias source.
26756         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26757         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26758         Rename to __memset_default.
26759         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26760         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26762         [BZ #18610]
26763         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26764         __ieee_instruction_pointer to __unused.
26765         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26766         __ieee_instruction_pointer.
26767         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26768         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26769         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26770         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26771         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26772         Mark dxc-field as reserved.
26774 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26776         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26777         if the weak reference is not null.
26779 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26781         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26783         [BZ #11214]
26784         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26786 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26788         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26789         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26790         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26791         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26792         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26793         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26794         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26795         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26796         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26797         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26798         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26799         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26800         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26801         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26802         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26803         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26804         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26805         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26807 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26809         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26810         register other than r0 for tabort, it has special meaning.
26811         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26812         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26813         transaction before starting syscall.
26815 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26817         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26819 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26821         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26823         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26824         * sysdeps/x86_64/rtld-memset.S: Likewise.
26825         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26826         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26827         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26828         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26830         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26832 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26834         * debug/strcpy_chk.c: Improve performance.
26835         * debug/stpcpy_chk.c: Likewise.
26836         * sysdeps/x86_64/strcpy_chk.S: Remove.
26837         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26839         [BZ #18240]
26840         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26842 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26844         [BZ #15128]
26845         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26846         ifuncmain8.
26847         (modules-names): Add ifuncmod8.
26848         ($(objpfx)ifuncmain8): New rule.
26849         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26850         <cpuid.h>.
26851         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26852         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26853         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26854         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26855         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26856         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26857         * sysdeps/x86_64/ifuncmain8.c: New file.
26858         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26859         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26860         Removed.
26861         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26862         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26863         Change rtld_savespace_sse to __glibc_unused2.
26864         (RTLD_CHECK_FOREIGN_CALL): Removed.
26865         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26866         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26867         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26869 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26871         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26873 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26875         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26876         Unconditionally set __fpcr to avoid uninialized warning.
26877         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26879 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26881         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26882         is corrupt.
26884         * malloc/arena.c (arena_get2): Drop unused argument.
26885         (arena_lock): Adjust.
26886         (arena_get_retry): Likewise.
26888 2015-08-24  Andreas Schwab  <schwab@suse.de>
26890         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26891         Don't define.
26892         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26893         (__ASSUME_IPC64): Don't undef.
26894         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26895         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26896         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26897         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26898         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26899         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26900         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26901         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26902         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26903         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26904         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26905         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26906         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26907         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26908         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26909         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26910         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26911         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26912         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26913         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26914         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26916 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26918         * manual/Makefile (install): Only build manual when perl is available.
26920 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26922         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26923         '#undef memcpy' by '#undef memchr'.
26925 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26927         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26928         memchr not point to the internal __GI_memchr implementation.
26930 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26932         * timezone/Makefile (CFLAGS-zdump.c): Remove
26933         -Wno-strict-prototypes.
26934         (CFLAGS-zic.c): Likewise.
26935         (CFLAGS-ialloc.c): Likewise.
26936         (CFLAGS-scheck.c): Likewise.
26938         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26939         -Wno-error=undef.
26941 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26943         * i386/i686/multiarch/strcasestr-c.c: Removed.
26944         * x86_64/multiarch/strcasestr.c: Likewise.
26945         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26946         Remove strcasestr.
26948 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26950         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26952         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26953         variables for high and low parts before possibly modifying them.
26955 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26957         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26958         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26959         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26960         of "multiarch/init-arch.h".
26961         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26962         * sysdeps/x86/init-arch.h: This.
26964 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26966         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26967         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26969 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26971         [BZ #17787]
26972         * manual/macros.texi: Add twoexp macro.
26973         * manual/filesys.texi: Fix exponents.
26974         * manual/llio.texi: Likewise.
26975         * manual/stdio.texi: Likewise.
26977 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26979         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26980         incorrect use.
26982 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26984         [BZ #18370]
26985         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26986         whose real or imaginary part has small absolute value.
26987         * math/s_csqrtf.c (__csqrtf): Likewise.
26988         * math/s_csqrtl.c (__csqrtl): Likewise.
26989         * math/auto-libm-test-in: Add more tests of csqrt.
26990         * math/auto-libm-test-out: Regenerated.
26991         * sysdeps/i386/fpu/libm-test-ulps: Update.
26993 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26995         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26996         __ppc_set_ppr_very_low): New functions.
26997         * manual/platform.texi: Add documentation about
26998         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
27000 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
27002         * string/stpncpy.c (stpncpy): Improve performance using
27003         __strnlen/memcpy/memset.
27005 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27007         [BZ #18796]
27008         * scripts/test-installation.pl: Don't add -lmvec to build options if
27009         libmvec wasn't built.
27011 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27013         [BZ #14341]
27014         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
27015         case when there is a gap between DT_REL and DT_JMPREL sections.
27016         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
27017         (LDFLAGS-tst-split-dynreloc): New.
27018         (tst-split-dynreloc-ENV): Likewise.
27019         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
27020         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
27022 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27024         [BZ #18822]
27025         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
27026         attribute_hidden.
27027         (__xstat64_conv): Likewise.
27028         (__xstat32_conv): Likewise.
27030 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27032         [BZ #18822]
27033         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
27034         Don't load %ebx when calling __setcontext.  Call __setcontext
27035         with HIDDEN_JUMPTARGET.
27036         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
27037         libc_hidden_def.
27039 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27041         * sysdeps/i386/i686/Makefile
27042         [$(subdir) == string] (sysdep_routines): Moved to ...
27043         * sysdeps/i386/Makefile: Here.
27044         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
27045         * sysdeps/i386/cacheinfo.c: Here.
27046         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
27047         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
27048         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
27049         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
27051 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27053         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
27054         __i586__ is defined.
27055         (HAS_I686): Defined to 1 if __i686__ is defined.
27057 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27059         * elf/Makefile [$(have-z-execstack) = yes]
27060         (CPPFLAGS-tst-execstack.c): New variable.
27062         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
27063         conditional to [defined UTMPX || _HAVE_UT_TYPE].
27064         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
27065         UTMPX || _HAVE_UT_TV].
27066         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
27067         UTMPX || _HAVE_UT_TV - 0].
27069 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
27071         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
27072         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
27073         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
27075 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27077         * sysdeps/powerpc/dl-procinfo.c:
27078         (_dl_powerpc_cap_flags): Added missing strings for some
27079         hwcap features.
27080         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
27082 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
27084         Port the 0x7efe...feff pattern to GCC 6.
27085         See Steve Ellcey's bug report in:
27086         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
27087         * string/memrchr.c (MEMRCHR):
27088         * string/rawmemchr.c (RAWMEMCHR):
27089         * string/strchr.c (strchr):
27090         * string/strchrnul.c (STRCHRNUL):
27091         Rewrite code to avoid issues with signed shift overflow.
27093 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
27095         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
27096         whether cpuid is available only if HAS_CPUID is 0.
27097         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
27098         (HAS_I586): Likewise.
27099         (HAS_I686): Likewise.
27101 2015-08-18  Zack Weinberg  <zackw@panix.com>
27103         * misc/Versions (libc): Add GLIBC_2.23.
27105 2015-08-18  Alan Modra  <amodra@gmail.com>
27107         [BZ #18421]
27108         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
27109         .Lp__global.
27110         (_start): Load %dp via .Lp__global.
27111         [!SHARED]: Use .section .rodata.
27113 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27115         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
27116         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
27118 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27120         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
27121         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
27123 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27125         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
27126         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
27128 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27130         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
27131         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
27133 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27135         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
27136         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
27138 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27140         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
27141         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
27143 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27145         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
27147 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27149         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
27150         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
27151         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27152         (__ASSUME_LWS_CAS): Delete.
27154 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27156         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
27157         * sysdeps/hppa/configure: Regenerated.
27158         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
27159         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
27160         * sysdeps/hppa/nptl/tls.h: Likewise.
27162 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
27164         [BZ #18823]
27165         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
27166         for scaling up small arguments.
27167         * math/s_csqrtf.c (__csqrtf): Likewise.
27168         * math/s_csqrtl.c (__csqrtl): Likewise.
27169         * math/auto-libm-test-in: Add more tests of csqrt.
27170         * math/auto-libm-test-out: Regenerated.
27172 2015-08-17  Andreas Schwab  <schwab@suse.de>
27174         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
27175         version set GLIBC_2.19.
27177 2015-08-16  Zack Weinberg  <zackw@panix.com>
27179         [BZ #18681]
27180         * misc/regexp.h: This interface is no longer supported.
27181         Remove all contents, leaving only an #error directive.
27182         * misc/regexp.c (loc1, loc2, locs, step, advance):
27183         Demote to compatibility symbols.
27185 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
27187         [BZ #18084]
27188         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
27189         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
27190         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27191         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
27192         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
27193         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
27194         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
27195         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
27196         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27198 2015-08-15  Zack Weinberg  <zackw@panix.com>
27200         [BZ #18795]
27201         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
27202         buffer length is known to be too large, not if it's known to be
27203         small enough.
27204         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
27205         overflow at runtime, involving a length parameter, twice: once
27206         with a compile-time constant length parameter, once without.
27208 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
27210         [BZ #18824]
27211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
27212         scaling x * y up instead of down.
27213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27215         * math/auto-libm-test-in: Add more tests of fma.
27216         * math/auto-libm-test-out: Regenerated.
27218 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27220         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27222 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27224         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
27225         unnecessary movq.
27226         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
27227         Likewise.
27229 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
27231         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27232         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
27233         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
27234         and tgamma.
27235         * math/auto-libm-test-out: Regenerated.
27236         * sysdeps/i386/fpu/libm-test-ulps: Update.
27237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27239         [BZ #16520]
27240         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
27241         (__tanh): Force underflow exception for arguments with small
27242         absolute value.
27243         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
27244         (__tanhf): Force underflow exception for arguments with small
27245         absolute value.
27246         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
27247         (__tanhl): Force underflow exception for arguments with small
27248         absolute value.
27249         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
27250         (__tanhl): Force underflow exception for arguments with small
27251         absolute value.
27252         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
27253         (__tanhl): Force underflow exception for arguments with small
27254         absolute value.
27255         * math/auto-libm-test-in: Add more tests of tanh.
27256         * math/auto-libm-test-out: Regenerated.
27257         * sysdeps/i386/fpu/libm-test-ulps: Update.
27259 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27261         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
27262         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
27264 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27266         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
27267         <cpuid.h>.
27269 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27271         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
27272         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
27274 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27276         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
27277         Remove $(objpfx)init-arch.o.
27278         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
27279         init-arch.
27280         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
27281         (INIT_ARCH_EXT): Defined as empty.
27282         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
27283         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
27284         __init_cpu_features call.  Replace HAS_XXX with
27285         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27286         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
27287         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
27288         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
27289         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
27290         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27291         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
27292         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
27293         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27294         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27295         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27296         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27297         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27298         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27299         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27301         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27302         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27303         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27304         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27305         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27306         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27307         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27308         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27309         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27310         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27311         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27312         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27313         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27314         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27315         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27316         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27317         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27318         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27319         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27320         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27322 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27324         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27325         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27326         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27327         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27328         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27329         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27330         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27331         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27332         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27333         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27334         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27335         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27336         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27337         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27338         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27339         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27340         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27341         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27342         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27343         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27344         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27345         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27346         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27347         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27348         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27349         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27350         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27351         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27352         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27353         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27354         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27355         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27356         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27357         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27358         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27359         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27360         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27361         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27362         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27363         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27364         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27365         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27366         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27368 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27370         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27371         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27372         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27373         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27374         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27375         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27376         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27377         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27378         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27379         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27380         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27381         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27382         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27383         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27384         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27385         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27386         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27387         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27388         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27389         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27391         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27392         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27393         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27394         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27395         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27396         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27397         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27398         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27399         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27400         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27401         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27402         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27403         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27404         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27405         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27406         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27407         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27408         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27409         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27410         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27411         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27412         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27414 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27416         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27417         (dl_platform_init): Call init_cpu_features.
27418         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27419         * sysdeps/i386/i686/cacheinfo.c
27420         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27421         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27422         * sysdeps/i386/i686/multiarch/Versions: Removed.
27423         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27424         Removed.
27425         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27426         * sysdeps/unix/sysv/linux/x86/Makefile
27427         (libpthread-sysdep_routines): Remove init-arch.
27428         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27429         <sysdeps/x86_64/dl-procinfo.c> instead of
27430         sysdeps/generic/dl-procinfo.c>.
27431         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27432         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27433         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27434         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27435         [$(subdir) == elf] (tests-static): Add
27436         tst-get-cpu-features-static.
27437         * sysdeps/x86/Versions: New file.
27438         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27439         * sysdeps/x86/cpu-features.c: Likewise.
27440         * sysdeps/x86/cpu-features.h: Likewise.
27441         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27442         * sysdeps/x86/libc-start.c: Likewise.
27443         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27444         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27445         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27446         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27447         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27448         Assume USE_MULTIARCH is defined and don't check it.
27449         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27450         (is_amd): Likewise.
27451         (max_cpuid): Likewise.
27452         (intel_check_word): Likewise.
27453         (__cache_sysconf): Don't call __init_cpu_features.
27454         (__x86_preferred_memory_instruction): Removed.
27455         (init_cacheinfo): Don't call __init_cpu_features. Replace
27456         __cpu_features with GLRO(dl_x86_cpu_features).
27457         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27458         (dl_platform_init): Call init_cpu_features.
27459         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27460         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27461         * sysdeps/x86_64/multiarch/Versions: Removed.
27462         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27463         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27464         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27465         Removed.
27466         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27468 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27470         [BZ #18820]
27471         * libio/Makefile (test-fmemopen-mem): New test.
27472         * libio/test-fmemopen.c (do_bz18820): New test.
27473         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27474         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27476 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27478         [BZ #16734]
27479         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27480         (FREE_BUF): Delete.
27481         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27482         * libio/genops.c (_IO_setb): Use malloc and free directly.
27483         (_IO_default_doallocate, _IO_default_finish): Likewise.
27484         ( _IO_unbuffer_all): Likewise.
27485         ( libc_freeres_fn): Likewise.
27486         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27487         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27488         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27489         (_IO_wdefault_doallocate): Likewise.
27491 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27493         [BZ #18086]
27494         * sysdeps/posix/nice.c (nice): Restore old errno.
27495         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27497 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27499         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27501 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27503         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27504         __bcopy and add a weak_alias to bcopy.
27505         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27506         for static build.
27508         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27509         cleanup macro usage.
27510         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27511         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27512         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27513         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27514         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27515         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27516         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27517         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27518         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27519         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27520         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27521         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27522         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27523         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27524         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27525         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27526         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27527         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27528         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27530         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27531         libc_hidden_def.
27532         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27534         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27535         (sysdep_routines): Add strstr-ppc64.
27536         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27538 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27540         [BZ #18778]
27541         * elf/Makefile (tests): Add Add tst-nodelete2.
27542         (modules-names): Add tst-nodelete2mod.
27543         (tst-nodelete2mod.so-no-z-defs): New.
27544         ($(objpfx)tst-nodelete2): Likewise.
27545         ($(objpfx)tst-nodelete2.out): Likewise.
27546         (LDFLAGS-tst-nodelete2): Likewise.
27547         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27548         out of loop through all loaded libraries.
27549         * elf/tst-nodelete2.c: New file.
27550         * elf/tst-nodelete2mod.c: Likewise.
27551         * elf/tst-znodelete-zlib.cc: Delete.
27553 2015-08-11  Andreas Schwab  <schwab@suse.de>
27555         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27556         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27557         (__openat64_nocancel): Likewise.
27559 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27561         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27562         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27563         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27564         * math/auto-libm-test-out: Regenerated.
27565         * sysdeps/i386/fpu/libm-test-ulps: Update.
27566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27568 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27570         [BZ #18790]
27571         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27572         threshold for returning +/- 1.
27573         * math/auto-libm-test-in: Add more tests of tanh.
27574         * math/auto-libm-test-out: Regenerated.
27575         * sysdeps/i386/fpu/libm-test-ulps: Update.
27577 2015-08-10  Andreas Schwab  <schwab@suse.de>
27579         [BZ #18781]
27580         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27581         MORE_OFLAGS to oflag.
27582         * io/test-lfs.c (do_test): Test openat64.
27584 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27586         [BZ #18789]
27587         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27588         smaller threshold for returning the argument.
27589         * math/auto-libm-test-in: Add more tests of sinh.
27590         * math/auto-libm-test-out: Regenerated.
27591         * sysdeps/i386/fpu/libm-test-ulps: Update.
27593 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27595         [BZ #18674]
27596         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27597         break.
27599 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27601         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27602         (generated): Don't add $(addprefix z.,$(tzfiles)).
27604 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27606         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27607         * scripts/sysd-rules.awk: Likewise.
27609 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27611         * iconvdata/tst-tables.sh: Change echo -n to printf.
27612         * nss/db-Makefile: Likewise.
27613         * posix/tst-getconf.sh: Likewise.
27614         * stdio-common/tst-unbputc.sh: Likewise.
27616 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27618         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27619         MADV_*_PAGES defines behind this feature check.
27621 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27623         [BZ #18480]
27624         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27625         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27626         Define.
27627         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27628         LOAD_REGS_5, LOAD_REGS_6): Update.
27629         (INTERNAL_SYSCALL): Update using new LOAD defines.
27630         (INTERNAL_SYSCALL_NCS): Likewise.
27631         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27633 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27635         [BZ #16734]
27636         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27638 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27640         [BZ #17905]
27641         * catgets/Makefile (tst-catgets-mem): New test.
27642         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27643         * catgets/open_catalog.c (__open_catalog): Likewise.
27644         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27646 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27648         [BZ #18787]
27649         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27650         clobber registers.
27651         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27652         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27653         Cast return to __typeof (oldval).
27655 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27657         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27658         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27659         and delete sys/syscall.h include.
27661 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27663         [BZ #16517]
27664         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27665         (tan): Force underflow exception for arguments with small absolute
27666         value.
27667         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27668         (__kernel_tanf): Force underflow exception for arguments with
27669         small absolute value.
27670         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27671         (__kernel_tanl): Force underflow exception for arguments with
27672         small absolute value.
27673         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27674         (__kernel_tanl): Force underflow exception for arguments with
27675         small absolute value.
27676         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27677         (__kernel_tanl): Force underflow exception for arguments with
27678         small absolute value.
27679         * math/auto-libm-test-in: Add more tests of tan.
27680         * math/auto-libm-test-out: Regenerated.
27682 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27684         Fix sysdeps/i386/fpu/s_scalbn.S build
27686         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27688 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27690         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27692 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27694         Fix gcrt0.o compilation
27696         When static-start-installed-name is different from
27697         start-installed-name, we must not use the shared objects.
27699         * csu/Makefile
27700         (extra-objs): Add gmon-start.o when building shared library and
27701         $(static-start-installed-name) is different from
27702         $(start-installed-name).
27703         $(objpfx)g$(static-start-installed-name): When building shared
27704         library and $(static-start-installed-name) is different from
27705         $(static-start-installed-name), revert to non-shared rule,
27706         i.e. using $(objpfx)% and gmon-start.o.
27708 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27710         [BZ #16519]
27711         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27712         (__ieee754_sinh): Force underflow exception for arguments with
27713         small absolute value.
27714         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27715         (__ieee754_sinhf): Force underflow exception for arguments with
27716         small absolute value.
27717         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27718         (__ieee754_sinhl): Force underflow exception for arguments with
27719         small absolute value.
27720         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27721         (__ieee754_sinhl): Force underflow exception for arguments with
27722         small absolute value.
27723         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27724         (__ieee754_sinhl): Force underflow exception for arguments with
27725         small absolute value.
27726         * math/auto-libm-test-in: Add more tests of sinh.
27727         * math/auto-libm-test-out: Regenerated.
27728         * sysdeps/i386/fpu/libm-test-ulps: Update.
27730 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27732         * libio/oldfileops.c: Include unistd.h.
27734 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27736         * stdlib/isomac.c: Include ctype.h.
27738 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27740         * dirent/tst-seekdir.c (main): Converted to ...
27741         (do_test): ... this.
27742         (TEST_FUNCTION): New macro.
27743         Include test-skeleton.c.
27744         * elf/tst-dlmodcount.c (main): Converted to ...
27745         (do_test): ... this.
27746         (TEST_FUNCTION): New macro.
27747         Include test-skeleton.c.
27748         * elf/tst-order-main.c (main): Converted to ...
27749         (do_test): ... this.
27750         (TEST_FUNCTION): New macro.
27751         Include test-skeleton.c.
27752         * elf/tst-pie2.c (main): Converted to ...
27753         (do_test): ... this.
27754         (TEST_FUNCTION): New macro.
27755         Include test-skeleton.c.
27756         * inet/tst-ether_aton.c (main): Converted to ...
27757         (do_test): ... this.
27758         (TEST_FUNCTION): New macro.
27759         Include test-skeleton.c.
27760         * misc/tst-mntent.c (main): Converted to ...
27761         (do_test): ... this.
27762         (TEST_FUNCTION): New macro.
27763         Include test-skeleton.c.
27764         * misc/tst-tsearch.c (main): Converted to ...
27765         (do_test): ... this.
27766         (TEST_FUNCTION): New macro.
27767         Include test-skeleton.c.
27768         * posix/tst-regexloc.c (main): Converted to ...
27769         (do_test): ... this.
27770         (TEST_FUNCTION): New macro.
27771         Include test-skeleton.c.
27772         * resolv/tst-aton.c (main): Converted to ...
27773         (do_test): ... this.
27774         (TEST_FUNCTION): New macro.
27775         Include test-skeleton.c.
27776         * stdio-common/test-fwrite.c (main): Converted to ...
27777         (do_test): ... this.
27778         (TEST_FUNCTION): New macro.
27779         Include test-skeleton.c.
27780         * stdio-common/tst-ferror.c (main): Converted to ...
27781         (do_test): ... this.
27782         (TEST_FUNCTION): New macro.
27783         Include test-skeleton.c.
27784         * stdio-common/tst-printf.c (main): Converted to ...
27785         (do_test): ... this.
27786         (TEST_FUNCTION): New macro.
27787         Include test-skeleton.c.
27788         * stdio-common/tst-printfsz.c (main): Converted to ...
27789         (do_test): ... this.
27790         (TEST_FUNCTION): New macro.
27791         Include test-skeleton.c.
27792         * stdlib/tst-strtod.c (main): Converted to ...
27793         (do_test): ... this.
27794         (TEST_FUNCTION): New macro.
27795         Include test-skeleton.c.
27796         * string/tst-strlen.c (main): Converted to ...
27797         (do_test): ... this.
27798         (TEST_FUNCTION): New macro.
27799         Include test-skeleton.c.
27800         * string/tst-svc.c (main): Converted to ...
27801         (do_test): ... this.
27802         (TEST_FUNCTION): New macro.
27803         Include test-skeleton.c.
27804         * time/tst-strptime.c (main): Converted to ...
27805         (do_test): ... this.
27806         (TEST_FUNCTION): New macro.
27807         Include test-skeleton.c.
27808         * timezone/tst-timezone.c (main): Converted to ...
27809         (do_test): ... this.
27810         (TEST_FUNCTION): New macro.
27811         Include test-skeleton.c.
27813 2015-08-05  Zack Weinberg  <zackw@panix.com>
27815         * misc/regexp.h: Update comments.
27817 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27819         [BZ #18635]
27820         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27821         before return label.
27823 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27825         [BZ #18661]
27826         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27827         when calling __errno_location.
27828         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27829         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27831 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27833         [BZ #18661]
27834         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27835         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27836         __gettimeofday.
27838 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27840         [BZ #18661]
27841         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27842         (__start_context): Don't use pop to restore %rdi so that stack
27843         is aligned to 16 bytes when calling __setcontext.
27845 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27847         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27848         only for libc.
27849         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27851 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27853         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27854         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27855         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27857 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27859         * string/memccpy.c (memccpy):
27860         Improve performance by using memchr/memcpy/__mempcpy.
27862 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27864         * string/strncpy.c (strncpy):
27865         Improve performance by using __strnlen/memcpy.
27867 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27869         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27870         Optimize to avoid an unnecessary FPCR read.
27872 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27874         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27875         Optimize to reduce FPCR/FPSR accesses.
27877 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27879         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27880         dead->data[category] != NULL.
27882 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27884         [BZ #18647]
27885         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27886         and |x| close to 1, use absolute value of x when computing log.
27887         * math/auto-libm-test-in: Add more tests of pow.
27888         * math/auto-libm-test-out: Regenerated.
27890 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27892         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27893         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27894         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27896 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27898         [BZ #18525]
27899         * locales/km_KH: Remove timezone definition.
27900         * locales/lo_LA: Likewise.
27901         * locales/my_MM: Likewise.
27902         * locales/nan_TW@latin: Likewise.
27903         * locales/th_TH: Likewise.
27904         * locales/uk_UA: Likewise.
27906 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27908         [BZ #18265]
27909         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27910         (wcsncat): Likewise.
27911         (wcscmp): Likewise.
27912         (wcsncmp): Likewise.
27914 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27916         * test-skeleton.c (usage): New function.
27917         (main): Call usage when opt is '?'.
27919 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27921         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27922         before first use.
27924 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27926         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27927         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27928         in there too.
27930 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27932         * version.h (RELEASE): Set to "development".
27933         (VERSION): Set to "2.22.90"
27935         * version.h (RELEASE): Set to "stable".
27936         (VERSION): Set to "2.22"
27937         * include/features.h (__GLIBC_MINOR__): Set to 22.
27939 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27941         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27942         Restructure macro to avoid "value computed is not used" warning.
27943         (atomic_compare_and_exchange_val_acq): Likewise.
27945 2015-08-04  Andreas Schwab  <schwab@suse.de>
27947         [BZ #18635]
27948         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27949         ret.
27950         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27952 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27954         * po/pl.po: Updated translation.
27955         * po/uk.po: Likewise.
27956         * po/fi.po: Likewise.
27957         * po/ko.po: Likewise.
27958         * po/ru.po: Likewise.
27959         * po/vi.po: Likewise.
27961 2015-07-31  Zack Weinberg  <zackw@panix.com>
27963         [BZ #18681]
27964         * regexp.h: Add unconditional #warning stating that this header
27965         will be removed soon.  Revise banner comment to match.
27966         (compile): Consistently use ERROR instead of RETURN to report
27967         errors (partial fix for BZ #18681).
27968         * regexp.c: Don't include regexp.h. Remove some unnecessary
27969         declarations.
27971 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27973         * po/libc.pot: Regenerated.
27975 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27977         [BZ #18740]
27978         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27979         float-vlen4-arch-ext-cflags): Removed.
27980         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27981         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27983 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27985         [BZ #14113]
27986         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27987         aligned to __aligned__.
27988         (pthread_cond_t, pthread_rwlock_t): Likewise.
27990 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27992         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27994 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27996         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27997         (struct sigaction): Change sa_flags from a long to an int, and add
27998         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
28000 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28002         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
28003         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
28004         sysdeps/generic/sysdep.h include.
28005         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
28006         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
28007         sysdeps/hppa/sysdep.h.
28008         (ENTRY, PSEUDO): Undefine before defining.
28010 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28012         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
28013         from scratch to use INTERNAL_SYSCALL.
28015 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
28017         [BZ #18078]
28018         * scripts/check-localplt.awk: Support alternate relocations.
28019         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
28020         sections.
28021         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
28022         malloc entries with + REL R_386_GLOB_DAT.
28023         * sysdeps/x86_64/localplt.data: New file.
28025 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
28027         [BZ #18731]
28028         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
28029         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28030         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28032 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28034         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
28036 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28038         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
28039         directly in terms of __sync_fetch_and_add and delete (int) cast.
28041 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28043         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
28044         the -D_ASM_IA64_CURRENT_H flag.
28046 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28048         [BZ #18641]
28049         * pwd/pwd.h (putpwent): Delete __nonnull markings.
28051 2015-07-27  Andreas Schwab  <schwab@suse.de>
28053         * conform/conformtest.pl (checknamespace): Filter out string
28054         literals while tokenizing.
28056 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28058         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28059         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
28060         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28062 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28064         * nptl/tst-join7mod.c: Add #include <string.h>.
28066 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28068         * sysdeps/nios2/libm-test-ulps: Update.
28070 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28072         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
28073         Fix order of arguments to the rt_sigprocmask syscall.
28074         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
28075         Likewise.
28077 2015-07-24  Roland McGrath  <roland@hack.frob.com>
28079         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
28081 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28083         [BZ #18457]
28084         * nptl/Makefile (tests): New test case tst-join7.
28085         (modules-names): New test case module tst-join7mod.
28086         * nptl/tst-join7.c: New file.
28087         * nptl/tst-join7mod.c: New file.
28088         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
28089         all translation units in libc.so, libpthread.so and rtld.
28091 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28095 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28097         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
28098         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28099         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28100         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28101         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28102         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28103         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28104         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28105         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28106         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28107         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28108         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28109         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
28110         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28111         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
28112         implementation.
28114 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28116         [BZ #17711]
28117         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28118         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
28119         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28120         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28121         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
28122         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28124 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28126         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
28127         instead of just saying load lock in the comments.
28129 2015-07-23  Roland McGrath  <roland@hack.frob.com>
28131         * sysdeps/unix/Subdirs: Moved ...
28132         * sysdeps/posix/Subdirs: ... here.
28133         * login/pty.h (struct termios, struct winsize): Add forward decls.
28134         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
28135         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
28136         * sysdeps/arm/nacl/libc.abilist: Updated.
28137         * sysdeps/nacl/libutil.abilist: New file.
28139         * bits/signum.h: Update comments to mention 1003.1-2013 too.
28140         (SIGWINCH): New macro.
28142         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
28143         * sysdeps/arm/nacl/libc.abilist: Add it.
28145 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28147         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
28149 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28151         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28152         Swap __glibc_reserved0 and sa_flags order.
28154 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28156         [BZ #18657]
28157         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
28158         are pending TLS destructor calls.
28159         * include/link.h (struct link_map): Add concurrency note for
28160         L_TLS_DTOR_COUNT.
28161         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28162         Don't touch the link map flag.  Atomically increment
28163         l_tls_dtor_count.
28164         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
28165         Avoid taking the load lock and don't touch the link map flag.
28166         * stdlib/tst-tls-atexit-nodelete.c: New test case.
28167         * stdlib/Makefile (tests): Use it.
28168         * stdlib/tst-tls-atexit.c (do_test): dlopen
28169         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
28170         to allow tst-tls-atexit-nodelete test case to use it.
28172 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28174         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
28175         to bits/types.h.
28176         (msgqnum_t): New typedef.
28177         (msglen_t): Likewise.
28178         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
28179         and msg_qbytes type to msglen_t.
28181 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28183         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
28184         pad0 to __glibc_reserved0.
28185         (struct stat64): Likewise.
28187 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28189         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28190         Change sa_flags from a long to an int and add __glibc_reserved0 before
28191         it for padding.
28193 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28195         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
28196         anonymous by deleting "siginfo" name.
28198 2015-07-21  Roland McGrath  <roland@hack.frob.com>
28200         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
28201         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
28202         rather than __nacl_irt_filename.
28203         * sysdeps/nacl/xstat.c (__xstat): Likewise.
28205         * NEWS: New item for arm-nacl port.
28206         * sysdeps/arm/nacl/libc.abilist: New file.
28207         * sysdeps/nacl/ld.abilist: New file.
28208         * sysdeps/nacl/libBrokenLocale.abilist: New file.
28209         * sysdeps/nacl/libanl.abilist: New file.
28210         * sysdeps/nacl/libcrypt.abilist: New file.
28211         * sysdeps/nacl/libdl.abilist: New file.
28212         * sysdeps/nacl/libm.abilist: New file.
28213         * sysdeps/nacl/libpthread.abilist: New file.
28214         * sysdeps/nacl/libresolv.abilist: New file.
28215         * sysdeps/nacl/librt.abilist: New file.
28217 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
28219         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
28220         __startcontext to initialize the new context.
28221         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
28222         up CFI directive to forbid further backtracing.
28224 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
28226         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
28227         reference.
28228         * charmaps/ANSI_X3.4-1968: Likewise.
28229         * charmaps/BS_4730: Likewise.
28230         * charmaps/BS_VIEWDATA: Likewise.
28231         * charmaps/CP1250: Likewise.
28232         * charmaps/CP1251: Likewise.
28233         * charmaps/CP1252: Likewise.
28234         * charmaps/CP1253: Likewise.
28235         * charmaps/CP1254: Likewise.
28236         * charmaps/CP1255: Likewise.
28237         * charmaps/CP1256: Likewise.
28238         * charmaps/CSN_369103: Likewise.
28239         * charmaps/EBCDIC-DK-NO: Likewise.
28240         * charmaps/GB_1988-80: Likewise.
28241         * charmaps/GREEK-CCITT: Likewise.
28242         * charmaps/GREEK7: Likewise.
28243         * charmaps/INIS-8: Likewise.
28244         * charmaps/ISIRI-3342: Likewise.
28245         * charmaps/ISO_2033-1983: Likewise.
28246         * charmaps/ISO_5427-EXT: Likewise.
28247         * locales/POSIX: Likewise.
28248         * locales/ar_SA: Likewise.
28249         * locales/be_BY: Likewise.
28250         * locales/be_BY@latin: Likewise.
28251         * locales/ca_ES: Likewise.
28252         * locales/cs_CZ: Likewise.
28253         * locales/da_DK: Likewise.
28254         * locales/de_BE: Likewise.
28255         * locales/de_CH: Likewise.
28256         * locales/de_LU: Likewise.
28257         * locales/en_AU: Likewise.
28258         * locales/en_BW: Likewise.
28259         * locales/en_CA: Likewise.
28260         * locales/en_DK: Likewise.
28261         * locales/en_GB: Likewise.
28262         * locales/en_IE: Likewise.
28263         * locales/en_NZ: Likewise.
28264         * locales/en_ZA: Likewise.
28265         * locales/en_ZW: Likewise.
28266         * locales/es_AR: Likewise.
28267         * locales/es_BO: Likewise.
28268         * locales/es_CL: Likewise.
28269         * locales/es_CO: Likewise.
28270         * locales/es_DO: Likewise.
28271         * locales/es_EC: Likewise.
28272         * locales/es_ES: Likewise.
28273         * locales/es_HN: Likewise.
28274         * locales/es_MX: Likewise.
28275         * locales/es_PA: Likewise.
28276         * locales/es_PE: Likewise.
28277         * locales/es_PY: Likewise.
28278         * locales/es_SV: Likewise.
28279         * locales/es_US: Likewise.
28280         * locales/es_UY: Likewise.
28281         * locales/es_VE: Likewise.
28282         * locales/et_EE: Likewise.
28283         * locales/fa_IR: Likewise.
28284         * locales/fo_FO: Likewise.
28285         * locales/fr_CA: Likewise.
28286         * locales/fr_CH: Likewise.
28287         * locales/gv_GB: Likewise.
28288         * locales/he_IL: Likewise.
28289         * locales/hr_HR: Likewise.
28290         * locales/id_ID: Likewise.
28291         * locales/is_IS: Likewise.
28292         * locales/it_CH: Likewise.
28293         * locales/iw_IL: Likewise.
28294         * locales/kl_GL: Likewise.
28295         * locales/ko_KR: Likewise.
28296         * locales/kw_GB: Likewise.
28297         * locales/lg_UG: Likewise.
28298         * locales/lt_LT: Likewise.
28299         * locales/lv_LV: Likewise.
28300         * locales/mi_NZ: Likewise.
28301         * locales/nhn_MX: Likewise.
28302         * locales/nl_BE: Likewise.
28303         * locales/pl_PL: Likewise.
28304         * locales/sk_SK: Likewise.
28305         * locales/sl_SI: Likewise.
28306         * locales/sv_FI: Likewise.
28307         * locales/tl_PH: Likewise.
28308         * locales/tr_TR: Likewise.
28309         * locales/vi_VN: Likewise.
28311 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28313         [BZ #17475]
28314         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28315         of tu_IN and bh_IN.
28317 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28319         [BZ #18694]
28320         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28321         bits/wordsize.h.
28322         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28324 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28326         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28327         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28328         (spawn_thread): New function.
28329         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28330         (do_test): ... here.  Use IS_LOADED to test for its
28331         availability.
28333 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28335         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28337 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28339         [BZ #18696]
28340         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28341         si_addr_bnd.
28342         (si_lower): New.
28343         (si_upper): Likewise.
28345 2015-07-16  David S. Miller  <davem@davemloft.net>
28347         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28349 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28351         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28352         buffer.
28353         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28354         fail output information.
28356 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28359         and strstr-ppc64..
28360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28361         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28362         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28363         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28364         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28366 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28368         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28369         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28370         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28371         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28373 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28375         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28376         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28377         rtld_hidden_proto.
28378         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28380 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28382         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28383         the test can fail.
28385         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28387         [BZ #18676]
28388         * elf/tst-nodelete-opened.c: New test case.
28389         * elf/tst-nodelete-opened-lib.c: New test case module.
28390         * elf/Makefile (tests, modules-names): Use them.
28391         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28392         early.
28394 2015-07-15  David S. Miller  <davem@davemloft.net>
28396         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28397         futex-intenal.h
28398         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28399         * sysdeps/sparc/sparc64/Makefile: Likewise.
28400         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28401         Remove space from macro define.
28402         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28404 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28406         [BZ #17475]
28407         * locale/iso-639.def: Update Bhili and Tulu language codes as
28408         per iso639-3.
28410 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28412         * elf/tst-leaks1.c (main): Converted to ...
28413         (do_test): ... this.
28414         (TEST_FUNCTION): New macro.
28415         Include test-skeleton.c.
28416         * localedata/tst-langinfo.c (main): Converted to ...
28417         (do_test): ... this.
28418         (TEST_FUNCTION): New macro.
28419         Include test-skeleton.c.
28420         * math/test-fpucw.c (main): Converted to ...
28421         (do_test): ... this.
28422         (TEST_FUNCTION): New macro.
28423         Include test-skeleton.c.
28424         * math/test-tgmath.c (main): Converted to ...
28425         (do_test): ... this.
28426         (TEST_FUNCTION): New macro.
28427         Include test-skeleton.c.
28428         * math/test-tgmath2.c (main): Converted to ...
28429         (do_test): ... this.
28430         (TEST_FUNCTION): New macro.
28431         Include test-skeleton.c.
28432         * setjmp/tst-setjmp.c (main): Converted to ...
28433         (do_test): ... this.
28434         (TEST_FUNCTION): New macro.
28435         Include test-skeleton.c.
28436         * stdio-common/tst-sscanf.c (main): Converted to ...
28437         (do_test): ... this.
28438         (TEST_FUNCTION): New macro.
28439         Include test-skeleton.c.
28440         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28441         (do_test): ... this.
28442         (TEST_FUNCTION): New macro.
28443         Include test-skeleton.c.
28445         * elf/tst-audit9.c (main): Converted to ...
28446         (do_test): ... this.
28447         (TEST_FUNCTION): New macro.
28448         Include test-skeleton.c.
28450 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28452         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28454 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28456         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28457         New variable.
28459 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28461         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28463 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28465         * sysdeps/generic/dl-fileid.h: New file.
28466         * sysdeps/posix/dl-fileid.h: New file.
28467         * sysdeps/nacl/dl-fileid.h: New file.
28468         * include/link.h: Include <dl-fileid.h>.
28469         (struct link_map): Replace l_dev and l_ino with l_file_id.
28470         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28471         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28472         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28474 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28476         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28478 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28480         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28481         Add iff $CXX is set.
28482         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28483         Likewise.
28484         (tst-nodelete-zmodiff): Likewise.
28485         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28487 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28489         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28491 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28493         * sysdeps/aarch64/fpu/math_private.h
28494         (define math_opt_barrier): Add AArch64 version.
28495         (math_force_eval): Likewise.
28497 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28499         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28501 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28503         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28504         %ld with %jd and cast to intmax_t.
28505         (do_test_length_zero): Likewise.
28507 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28509         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28511 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28513         * sysdeps/tile/libm-test-ulps: Regenerated.
28515         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28516         Comment out the whole function, not just its body.
28518 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28520         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28521         locks.
28523         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28525 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28527         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28528         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28530 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28532         * sysdeps/nptl/futex-internal.h: New file.
28533         * sysdeps/nacl/futex-internal.h: New file.
28534         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28535         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28536         error checking.
28537         (setxid_unmark_thread): Likewise.
28538         (__nptl_setxid): Likewise.
28539         (__wait_lookup_done): Likewise.
28540         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28541         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28542         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28543         * nptl/pthread_once.c (clear_once_control): Likewise.
28544         (__pthread_once_slow): Likewise.
28545         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28546         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28547         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28548         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28549         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28550         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28551         Likewise.
28552         (__pthread_rwlock_rdlock): Likewise.
28553         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28554         Likewise.
28555         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28556         Likewise.
28557         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28558         Likewise.
28559         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28560         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28561         Likewise.
28562         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28563         __ASSUME_PRIVATE_FUTEX check.
28564         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28565         Check that shared futexes are supported.
28566         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28567         wrappers with error checking.
28568         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28569         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28570         * nptl/pthread_barrierattr_setpshared.c
28571         (pthread_barrierattr_setpshared): Check that shared futexes are
28572         supported.
28573         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28574         Likewise.
28575         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28576         Likewise.
28577         * nptl/sem_init.c (futex_private_if_supported): Remove.
28578         (__new_sem_init): Adapt and check that shared futexes are supported.
28579         * nptl/sem_open.c (sem_open): Likewise.
28580         * nptl/sem_post.c (futex_wake): Remove.
28581         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28582         (do_futex_wait): Use futex wrappers with error checking.
28583         * nptl/sem_wait.c: Include lowlevellock.h.
28584         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28585         Use futex_supports_pshared.
28586         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28587         Use futex wrappers with error checking.
28588         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28589         Likewise.
28590         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28591         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28592         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28593         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28594         (futex_wake): Likewise.
28595         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28596         (do_futex_wait): Use futex wrappers with error checking.
28597         (__new_sem_wait_slow): Update EINTR handling.
28598         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28600 2015-07-09  Martin Sebor  <msebor@redhat.com>
28602         [BZ #18435]
28603         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28604         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28605         * nptl/Makefile (test-xfail-tst-once5): Define.
28607 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28609         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28610         * elf/dl-minimal.c: For readability, reorder some definitions and
28611         introduce more page breaks.  Include <stdio.h>.
28612         (__libc_fatal): New function.
28614         * include/unistd.h: Add rtld_hidden_proto for _exit.
28615         * posix/_exit.c: Add rtld_hidden_def.
28616         * sysdeps/mach/hurd/_exit.c: Likewise.
28617         * sysdeps/nacl/_exit.c: Likewise.
28618         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28619         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28621 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28623         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28624         bndmov encoding with zero displacement.
28626 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28627             H.J. Lu  <hongjiu.lu@intel.com>
28629         [BZ #18134]
28630         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28631         * sysdeps/i386/configure: Regenerated.
28632         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28633         (_dl_runtime_profile): Save and restore Intel MPX return bound
28634         registers when calling _dl_call_pltexit.  Add
28635         PRESERVE_BND_REGS_PREFIX before return.
28636         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28637         (LRV_BND1_OFFSET): Likewise.
28638         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28639         lrv_bnd1.
28640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28641         typo in bndmov encoding.
28642         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28643         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28644         branch instructions to preserve bounds.
28646 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28649         [GLIBC_2.22]: Add fmemopen.
28651 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28653         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28654         returns an error, also try to use host port from __mach_host_self for
28655         the __vm_wire call.
28656         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28658 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28660         [BZ #18400]
28661         [BZ #18648]
28662         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28663         Fix pr_uid and pr_gid members.
28664         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28665         definition to elf_greg_t.
28667 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28669         [BZ #18383]
28670         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28671         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28672         * sysdeps/arm/configure: Regenerated.
28673         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28674         (test-xfail-tst-tlsalign-static): Variable removed.
28676         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28677         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28678         rather than explicit 'ln -s'.
28680         * resolv/rpc/netdb.h: New file.
28681         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28683 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28685         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28686         length buffers.
28687         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28688         test-skeleton.c.
28690         [BZ #6544]
28691         [BZ #11216]
28692         [BZ #12836]
28693         [BZ #13151]
28694         [BZ #13152]
28695         [BZ #14292]
28696         * include/stdio.h (fmemopen): Remove hidden prototype.
28697         (__fmemopen): Add new hidden prototype.
28698         * libio/Makefile: Add oldfmemopen object.
28699         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28700         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28701         compliance.
28702         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28703         symbol compatibility.
28704         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28705         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28706         fmemopen.
28707         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28708         on append and read mode.
28709         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28710         fmemopen.
28711         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28712         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28713         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28714         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28715         Likewise.
28716         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28717         [GLIBC_2.22]: Likewise.
28718         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28719         Likewise.
28720         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28721         Likewise.
28722         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28723         [GLIBC_2.22]: Likewise.
28724         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28725         [GLIBC_2.22]: Likewise.
28726         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28727         [GLIBC_2.22]: Likewise.
28728         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28729         [GLIBC_2.22]: Likewise.
28730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28731         [GLIBC_2.22]: Likewise.
28732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28733         [GLIBC_2.22]: Likewise.
28734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28735         [GLIBC_2.22]: Likewise.
28736         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28737         Likewise.
28738         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28739         Likewise.
28740         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28741         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28742         [GLIBC_2.22]: Likewise.
28743         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28744         [GLIBC_2.22]: Likewise.
28745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28746         [GLIBC_2.22]: Likewise.
28747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28748         [GLIBC_2.22]: Likewise.
28749         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28750         Likewise.
28751         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28752         Likewise.
28753         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28754         Likewise.
28755         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28756         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28758 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28760         [BZ #18643]
28761         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28762         IPV6_PATHMTU, and IPV6_DONTFRAG.
28764 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28766         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28767         and _IO_UNBUFFERED.
28768         * libio/oldfileops.c: Likewise.
28769         * libio/wfileops.c: Likewise.
28771 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28773         * nscd/selinux.c: Delete selinux/flask.h include.
28775 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28777         [BZ #18641]
28778         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28779         (putpwent): Likewise.
28780         (getpwnam): Likewise.
28781         (getpwent_r): Likewise.
28782         (getpwuid_r): Likewise.
28783         (getpwnam_r): Likewise.
28784         (fgetpwent_r): Likewise.
28786 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28788         [BZ #18557]
28789         * inet/rcmd.c (__validuser2_sa): Check user first to
28790         short-circuit host check.
28792 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28793             Mikhail Ilin  <m.ilin@samsung.com>
28795         [BZ #17833]
28796         * elf/Makefile (tests): Add tst-nodelete.
28797         (modules-names): Add tst-nodelete-uniquemod.
28798         (tst-nodelete-uniquemod.so-no-z-defs): New.
28799         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28800         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28801         ($(objpfx)tst-nodelete): Likewise.
28802         ($(objpfx)tst-nodelete.out): Likewise.
28803         (LDFLAGS-tst-nodelete): Likewise.
28804         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28805         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28806         implement forced object deletion.
28807         (_dl_close): Pass false to _dl_close_worker.
28808         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28809         * elf/tst-nodelete.cc: New file.
28810         * elf/tst-nodeletelib.cc: Likewise.
28811         * elf/tst-znodeletelib.cc: Likewise.
28812         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28814 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28816         [BZ #18508]
28817         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28818         Depend on $(libdl).
28819         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28820         is not called infinitely times.
28821         (backtrace_helper): New function.
28822         (trace_arg): New struct.
28823         (st1): Enlarge stack size.
28824         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28825         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28826         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28827         Likewise.
28829 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28831         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28833 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28835         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28836         Include sys/types.h instead of bits/types.h.
28837         Remove inclusion of bits/wordsize.h.
28839 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28841         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28842         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28843         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28844         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28845         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28846         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28848 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28850         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28851         link-defines.sym.
28852         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28853         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28854         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28855         and LR_SIZE.
28856         * sysdeps/i386/link-defines.sym: New file.
28858 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28860         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28861         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28862         ($(objpfx)tst-audit3): New rule.
28863         ($(objpfx)tst-audit3.out): Likewise.
28864         * sysdeps/i386/tst-audit3.c: New file.
28865         * sysdeps/i386/tst-audit3.h: Likewise.
28866         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28867         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28869 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28871         [BZ #18633]
28872         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28873         pointer in C code.
28874         (__strcat_c): Likewise.
28875         (__strcat_g): Likewise.
28877 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28879         [BZ #18592]
28880         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28882 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28884         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28885         New function.  (__ieee754_sqrtf): New function.
28886         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28887         New function.
28888         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28889         New function.
28891 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28893         * sysdeps/ieee754/support.c: Remove unused file.
28895 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28897         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28898         registers instead of d ones so the layout is kernel abi compatible.
28899         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28900         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28901         Likewise.
28903 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28905         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28907 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28909         [BZ #18619]
28910         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28911         and return argument in case of subnormal argument.
28913 2015-07-01  Martin Sebor  <msebor@redhat.com>
28915         [BZ #18435]
28916         * nptl/Makefile: Add tst-once5.cc.
28917         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28918         Remove macro redefinitions.
28919         * nptl/tst-once5.cc: New test.
28921 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28923         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28925         * sysdeps/arm/libm-test-ulps: Regenerated.
28927         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28928         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28930 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28932         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28933         lll_lock_wait_private and lll_futex_wake probes.
28935         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28936         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28937         Likewise.
28938         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28939         atomic_spin_nop.
28940         * sysdeps/x86_64/bits/atomic.h: Likewise.
28941         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28942         to atomic_spin_nop and move ...
28943         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28944         ... here and ...
28945         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28946         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28947         atomic_spin_nop instead of BUSY_WAIT_NOP.
28948         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28949         Likewise.
28950         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28951         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28952         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28953         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28954         instead of atomic_delay.
28956 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28958         [BZ #18613]
28959         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28960         X_ADJ not X when adjusting exponent.
28961         (__ieee754_gamma_r): Do intermediate computations in
28962         round-to-nearest then adjust overflowing and underflowing results
28963         as needed.
28964         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28965         of X_ADJ not X when adjusting exponent.
28966         (__ieee754_gammaf_r): Do intermediate computations in
28967         round-to-nearest then adjust overflowing and underflowing results
28968         as needed.
28969         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28970         log of X_ADJ not X when adjusting exponent.
28971         (__ieee754_gammal_r): Do intermediate computations in
28972         round-to-nearest then adjust overflowing and underflowing results
28973         as needed.  Use 1.0L not 1.0f as numerator of division.
28974         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28975         log of X_ADJ not X when adjusting exponent.
28976         (__ieee754_gammal_r): Do intermediate computations in
28977         round-to-nearest then adjust overflowing and underflowing results
28978         as needed.  Use 1.0L not 1.0f as numerator of division.
28979         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28980         of X_ADJ not X when adjusting exponent.
28981         (__ieee754_gammal_r): Do intermediate computations in
28982         round-to-nearest then adjust overflowing and underflowing results
28983         as needed.  Use 1.0L not 1.0f as numerator of division.
28984         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28985         to auto-libm-test-in.
28986         (tgamma_test): Use ALL_RM_TEST.
28987         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28988         tests of tgamma with spurious-overflow.
28989         * math/auto-libm-test-out: Regenerated.
28990         * math/gen-libm-have-vector-test.sh: Do not check for START.
28991         * sysdeps/i386/fpu/libm-test-ulps: Update.
28992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28994         [BZ #18612]
28995         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28996         arguments, just return 0.5 times the argument, with underflow
28997         forced as needed.
28998         * math/auto-libm-test-in: Add more tests of j1.
28999         * math/auto-libm-test-out: Regenerated.
29001         [BZ #16559]
29002         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
29003         (__ieee754_j1): Force underflow exception for small results.
29004         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29005         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
29006         (__ieee754_j1f): Force underflow exception for small results.
29007         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29008         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29010         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
29011         (__ieee754_j1l): Force underflow exception for small results.
29012         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29013         * math/auto-libm-test-in: Add more tests of j1 and jn.
29014         * math/auto-libm-test-out: Regenerated.
29016         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
29017         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
29018         (PF_MPLS): Likewise.
29019         (AF_IB): Likewise.
29020         (AF_MPLS): Likewise.
29021         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
29022         value and macro.
29023         (MS_RMT_MASK): Include MS_LAZYTIME.
29025 2015-06-26  Mel Gorman  <mgorman@suse.de>
29027         [BZ #18502]
29028         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
29029         already minimal.
29031 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
29033         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
29034         (DT_MIPS_NUM): Update.
29035         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
29036         DT_MIPS_RLD_MAP_REL.
29038 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
29040         [BZ #16559]
29041         [BZ #18602]
29042         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
29043         round-to-nearest internally then recompute results that
29044         underflowed to zero in the original rounding mode.
29045         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29046         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29047         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29048         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29049         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
29050         * sysdeps/i386/fpu/libm-test-ulps: Update.
29051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29053 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29055         * NEWS: Fixed description of link with vector math library.
29057 2015-06-25  Andreas Schwab  <schwab@suse.de>
29059         [BZ #18549]
29060         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
29061         * libio/test-fmemopen.c (do_test): Add test for it.
29063 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
29065         [BZ #17841]
29066         * Makeconfig (no-pie-ldflag): New.
29067         (+link): Set to $(+link-pie) if default to PIE.
29068         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
29069         * config.make.in (build-pie-default): New.
29070         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
29071         is default.  AC_SUBST.
29072         * configure: Regenerated.
29073         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
29075 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29077         * nptl/descr.h (struct pthread): Change type of field setxid_futex
29078         to 'unsigned int'.
29080         * resolv/gai_misc.h (struct waitlist): Change type of field
29081         counterp to 'volatile unsigned int *'.
29082         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
29083         FUTEXADDR and OLDVAL.
29084         * resolv/getaddrinfo_a.c (getaddrinfo_a):
29085         Give local variable TOTAL type 'volatile unsigned int'.
29086         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29087         * resolv/gai_suspend.c (gai_suspend):
29088         Give local variable CNTR type 'unsigned int'.
29090         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
29091         counterp to 'volatile unsigned int *'.
29092         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
29093         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
29094         (aio_suspend): Give local variable CNTR type 'unsigned int'.
29095         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
29096         Give local variable TOTAL type 'volatile unsigned int'.
29097         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29099 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29101         [BZ #18383]
29102         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
29103         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
29104         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
29105         comment for i386/x86-64.
29106         (test-xfail-tst-tlsalign-extern-static): Removed.
29108 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29110         * math/test-double.h: New file.
29111         * math/test-float.h: Likewise.
29112         * math/test-ldouble.h: Likewise.
29113         * math/test-math-inline.h: Likewise.
29114         * math/test-math-no-inline.h: Likewise.
29115         * math/test-math-scalar.h: Likewise.
29116         * math/test-math-vector.h: Likewise.
29117         * math/test-vec-loop.h: Remove file.  Contents moved into
29118         test-math-vector.h.
29119         * math/libm-test.inc (MATHCONST): Do not document macro.
29120         * math/test-double.c: Include test-double.h, test-math-no-inline.h
29121         and test-math-scalar.h.
29122         (FUNC): Remove macro.
29123         (FUNC_TEST): Likewise.
29124         (FLOAT): Likewise.
29125         (MATHCONST): Likewise.
29126         (PRINTF_EXPR): Likewise.
29127         (PRINTF_XEXPR): Likewise.
29128         (PRINTF_NEXPR): Likewise.
29129         (TEST_DOUBLE): Likewise.
29130         (TEST_MATHVEC): Likewise.
29131         (__NO_MATH_INLINES): Likewise.
29132         * math/test-float.c: Include test-float.h, test-math-no-inline.h
29133         and test-math-scalar.h.
29134         (FUNC): Remove macro.
29135         (FUNC_TEST): Likewise.
29136         (FLOAT): Likewise.
29137         (MATHCONST): Likewise.
29138         (PRINTF_EXPR): Likewise.
29139         (PRINTF_XEXPR): Likewise.
29140         (PRINTF_NEXPR): Likewise.
29141         (TEST_FLOAT): Likewise.
29142         (TEST_MATHVEC): Likewise.
29143         (__NO_MATH_INLINES): Likewise.
29144         * math/test-idouble.c: Include test-double.h, test-math-inline.h
29145         and test-math-scalar.h.
29146         (FUNC): Remove macro.
29147         (FUNC_TEST): Likewise.
29148         (FLOAT): Likewise.
29149         (MATHCONST): Likewise.
29150         (PRINTF_EXPR): Likewise.
29151         (PRINTF_XEXPR): Likewise.
29152         (PRINTF_NEXPR): Likewise.
29153         (TEST_DOUBLE): Likewise.
29154         (TEST_MATHVEC): Likewise.
29155         (TEST_INLINE): Likewise.
29156         (__NO_MATH_INLINES): Likewise.
29157         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
29158         test-math-scalar.h.
29159         (FUNC): Remove macro.
29160         (FUNC_TEST): Likewise.
29161         (FLOAT): Likewise.
29162         (MATHCONST): Likewise.
29163         (PRINTF_EXPR): Likewise.
29164         (PRINTF_XEXPR): Likewise.
29165         (PRINTF_NEXPR): Likewise.
29166         (TEST_FLOAT): Likewise.
29167         (TEST_MATHVEC): Likewise.
29168         (TEST_INLINE): Likewise.
29169         (__NO_MATH_INLINES): Likewise.
29170         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
29171         and test-math-scalar.h.
29172         (FUNC): Remove macro.
29173         (FUNC_TEST): Likewise.
29174         (FLOAT): Likewise.
29175         (MATHCONST): Likewise.
29176         (PRINTF_EXPR): Likewise.
29177         (PRINTF_XEXPR): Likewise.
29178         (PRINTF_NEXPR): Likewise.
29179         (TEST_LDOUBLE): Likewise.
29180         (TEST_MATHVEC): Likewise.
29181         (TEST_INLINE): Likewise.
29182         (__NO_MATH_INLINES): Likewise.
29183         * math/test-ldouble.c: Include test-ldouble.h,
29184         test-math-no-inline.h and test-math-scalar.h.
29185         (FUNC): Remove macro.
29186         (FUNC_TEST): Likewise.
29187         (FLOAT): Likewise.
29188         (MATHCONST): Likewise.
29189         (PRINTF_EXPR): Likewise.
29190         (PRINTF_XEXPR): Likewise.
29191         (PRINTF_NEXPR): Likewise.
29192         (TEST_LDOUBLE): Likewise.
29193         (TEST_MATHVEC): Likewise.
29194         (__NO_MATH_INLINES): Likewise.
29195         * math/test-double-vlen2.h: Include test-double.h,
29196         test-math-no-inline.h and test-math-vector.h.
29197         (FLOAT): Remove macro.
29198         (FUNC): Likewise.
29199         (MATHCONST): Likewise.
29200         (PRINTF_EXPR): Likewise.
29201         (PRINTF_XEXPR): Likewise.
29202         (PRINTF_NEXPR): Likewise.
29203         (TEST_DOUBLE): Likewise.
29204         (TEST_MATHVEC): Likewise.
29205         (__NO_MATH_INLINES): Likewise.
29206         (CNCT): Likewise.
29207         (CONCAT): Likewise.
29208         (WRAPPER_NAME): Likewise.
29209         (WRAPPER_DECL): Likewise.
29210         (WRAPPER_DECL_ff): Likewise.
29211         (WRAPPER_DECL_fFF): Likewise.
29212         (VECTOR_WRAPPER): Likewise.
29213         (VECTOR_WRAPPER_ff): Likewise.
29214         (VECTOR_WRAPPER_fFF): Likewise.
29215         (VEC_LEN): New macro.
29216         * math/test-double-vlen4.h: Include test-double.h,
29217         test-math-no-inline.h and test-math-vector.h.
29218         (FLOAT): Remove macro.
29219         (FUNC): Likewise.
29220         (MATHCONST): Likewise.
29221         (PRINTF_EXPR): Likewise.
29222         (PRINTF_XEXPR): Likewise.
29223         (PRINTF_NEXPR): Likewise.
29224         (TEST_DOUBLE): Likewise.
29225         (TEST_MATHVEC): Likewise.
29226         (__NO_MATH_INLINES): Likewise.
29227         (CNCT): Likewise.
29228         (CONCAT): Likewise.
29229         (WRAPPER_NAME): Likewise.
29230         (WRAPPER_DECL): Likewise.
29231         (WRAPPER_DECL_ff): Likewise.
29232         (WRAPPER_DECL_fFF): Likewise.
29233         (VECTOR_WRAPPER): Likewise.
29234         (VECTOR_WRAPPER_ff): Likewise.
29235         (VECTOR_WRAPPER_fFF): Likewise.
29236         (VEC_LEN): New macro.
29237         * math/test-double-vlen8.h: Include test-double.h,
29238         test-math-no-inline.h and test-math-vector.h.
29239         (FLOAT): Remove macro.
29240         (FUNC): Likewise.
29241         (MATHCONST): Likewise.
29242         (PRINTF_EXPR): Likewise.
29243         (PRINTF_XEXPR): Likewise.
29244         (PRINTF_NEXPR): Likewise.
29245         (TEST_DOUBLE): Likewise.
29246         (TEST_MATHVEC): Likewise.
29247         (__NO_MATH_INLINES): Likewise.
29248         (CNCT): Likewise.
29249         (CONCAT): Likewise.
29250         (WRAPPER_NAME): Likewise.
29251         (WRAPPER_DECL): Likewise.
29252         (WRAPPER_DECL_ff): Likewise.
29253         (WRAPPER_DECL_fFF): Likewise.
29254         (VECTOR_WRAPPER): Likewise.
29255         (VECTOR_WRAPPER_ff): Likewise.
29256         (VECTOR_WRAPPER_fFF): Likewise.
29257         (VEC_LEN): New macro.
29258         * math/test-float-vlen4.h: Include test-float.h,
29259         test-math-no-inline.h and test-math-vector.h.
29260         (FLOAT): Remove macro.
29261         (FUNC): Likewise.
29262         (MATHCONST): Likewise.
29263         (PRINTF_EXPR): Likewise.
29264         (PRINTF_XEXPR): Likewise.
29265         (PRINTF_NEXPR): Likewise.
29266         (TEST_FLOAT): Likewise.
29267         (TEST_MATHVEC): Likewise.
29268         (__NO_MATH_INLINES): Likewise.
29269         (CNCT): Likewise.
29270         (CONCAT): Likewise.
29271         (WRAPPER_NAME): Likewise.
29272         (WRAPPER_DECL): Likewise.
29273         (WRAPPER_DECL_ff): Likewise.
29274         (WRAPPER_DECL_fFF): Likewise.
29275         (VECTOR_WRAPPER): Likewise.
29276         (VECTOR_WRAPPER_ff): Likewise.
29277         (VECTOR_WRAPPER_fFF): Likewise.
29278         (VEC_LEN): New macro.
29279         * math/test-float-vlen8.h: Include test-float.h,
29280         test-math-no-inline.h and test-math-vector.h.
29281         (FLOAT): Remove macro.
29282         (FUNC): Likewise.
29283         (MATHCONST): Likewise.
29284         (PRINTF_EXPR): Likewise.
29285         (PRINTF_XEXPR): Likewise.
29286         (PRINTF_NEXPR): Likewise.
29287         (TEST_FLOAT): Likewise.
29288         (TEST_MATHVEC): Likewise.
29289         (__NO_MATH_INLINES): Likewise.
29290         (CNCT): Likewise.
29291         (CONCAT): Likewise.
29292         (WRAPPER_NAME): Likewise.
29293         (WRAPPER_DECL): Likewise.
29294         (WRAPPER_DECL_ff): Likewise.
29295         (WRAPPER_DECL_fFF): Likewise.
29296         (VECTOR_WRAPPER): Likewise.
29297         (VECTOR_WRAPPER_ff): Likewise.
29298         (VECTOR_WRAPPER_fFF): Likewise.
29299         (VEC_LEN): New macro.
29300         * math/test-float-vlen16.h: Include test-float.h,
29301         test-math-no-inline.h and test-math-vector.h.
29302         (FLOAT): Remove macro.
29303         (FUNC): Likewise.
29304         (MATHCONST): Likewise.
29305         (PRINTF_EXPR): Likewise.
29306         (PRINTF_XEXPR): Likewise.
29307         (PRINTF_NEXPR): Likewise.
29308         (TEST_FLOAT): Likewise.
29309         (TEST_MATHVEC): Likewise.
29310         (__NO_MATH_INLINES): Likewise.
29311         (CNCT): Likewise.
29312         (CONCAT): Likewise.
29313         (WRAPPER_NAME): Likewise.
29314         (WRAPPER_DECL): Likewise.
29315         (WRAPPER_DECL_ff): Likewise.
29316         (WRAPPER_DECL_fFF): Likewise.
29317         (VECTOR_WRAPPER): Likewise.
29318         (VECTOR_WRAPPER_ff): Likewise.
29319         (VECTOR_WRAPPER_fFF): Likewise.
29320         (VEC_LEN): New macro.
29321         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29322         test-vec-loop.h.
29323         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29324         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29325         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29326         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29327         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29328         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29329         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29331 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29333         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29334         (__getlogin_r): ... this.
29336 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29338         [BZ #18594]
29339         * math/s_ccosh.c (__ccosh): Compare with least normal value
29340         instead of comparing class with FP_SUBNORMAL.
29341         * math/s_ccoshf.c (__ccoshf): Likewise.
29342         * math/s_ccoshl.c (__ccoshl): Likewise.
29343         * math/s_cexp.c (__cexp): Likewise.
29344         * math/s_cexpf.c (__cexpf): Likewise.
29345         * math/s_cexpl.c (__cexpl): Likewise.
29346         * math/s_csin.c (__csin): Likewise.
29347         * math/s_csinf.c (__csinf): Likewise.
29348         * math/s_csinh.c (__csinh): Likewise.
29349         * math/s_csinhf.c (__csinhf): Likewise.
29350         * math/s_csinhl.c (__csinhl): Likewise.
29351         * math/s_csinl.c (__csinl): Likewise.
29352         * math/s_ctan.c (__ctan): Likewise.
29353         * math/s_ctanf.c (__ctanf): Likewise.
29354         * math/s_ctanh.c (__ctanh): Likewise.
29355         * math/s_ctanhf.c (__ctanhf): Likewise.
29356         * math/s_ctanhl.c (__ctanhl): Likewise.
29357         * math/s_ctanl.c (__ctanl): Likewise.
29358         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29359         csin, csinh, ctan and ctanh.
29360         * math/auto-libm-test-out: Regenerated.
29361         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29362         * sysdeps/i386/fpu/libm-test-ulps: Update.
29363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29365 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29367         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29368         return value is wrong, print the expected value too.
29370 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29372         [BZ #18585]
29373         * elf/readlib.c (is_gdb_python_file): New.
29374         (process_file): Don't issue errors on filenames with -gdb.py
29375         suffix.
29377 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29379         * math/auto-libm-test-in: Add more tests of csin and csinh.
29380         * math/auto-libm-test-out: Regenerated.
29381         * math/libm-test.inc (csin_test_data): Remove tests moved to
29382         auto-libm-test-in.
29383         (csinh_test_data): Likewise.
29385         [BZ #18593]
29386         * math/s_csin.c (__csin): Negate before rather than after possibly
29387         overflowing multiplication.
29388         * math/s_csinf.c (__csinf): Likewise.
29389         * math/s_csinh.c (__csinh): Likewise.
29390         * math/s_csinhf.c (__csinhf): Likewise.
29391         * math/s_csinhl.c (__csinhl): Likewise.
29392         * math/s_csinl.c (__csinl): Likewise.
29393         * math/auto-libm-test-in: Add some tests of csin and csinh.
29394         * math/auto-libm-test-out: Regenerated.
29395         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29396         (csinh_test_data): Likewise.
29397         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29399         [BZ #18586]
29400         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29401         underflow exception for small results.
29403 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29405         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29406         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29407         variable and included header.
29408         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29409         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29410         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29411         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29412         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29413         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29414         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29416         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29417         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29418         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29419         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29420         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29421         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29422         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29423         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29425 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29427         [BZ #16526]
29428         [BZ #16538]
29429         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29430         (__sin): Force underflow exception for arguments with small
29431         absolute value.
29432         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29433         (__kernel_sinf): Force underflow exception for arguments with
29434         small absolute value.
29435         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29436         (__kernel_sincosl): Force underflow exception for arguments with
29437         small absolute value.
29438         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29439         (__kernel_sinl): Force underflow exception for arguments with
29440         small absolute value.
29441         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29442         (__kernel_sincosl): Force underflow exception for arguments with
29443         small absolute value.
29444         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29445         (__kernel_sinl): Force underflow exception for arguments with
29446         small absolute value.
29447         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29448         (__kernel_sinl): Force underflow exception for arguments with
29449         small absolute value.
29450         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29451         (__kernel_sinf): Force underflow exception for arguments with
29452         small absolute value.
29453         * math/auto-libm-test-in: Add more tests of sin and sincos.
29454         * math/auto-libm-test-out: Regenerated.
29456         [BZ #18245]
29457         [BZ #18583]
29458         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29459         (__kernel_standard_l): Use feholdexcept and fesetenv around
29460         conversion to double instead of special-casing overflow and
29461         underflow.
29462         * math/libm-test.inc (fmod_test_data): Add more tests.
29463         (remainder_test_data): Likewise.
29464         (sqrt_test_data): Likewise.
29466 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29468         [BZ #17403]
29469         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29470         atomic_read_barrier, atomic_write_barrier): Define.
29471         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29472         atomic_read_barrier, atomic_write_barrier): Define.
29474 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29476         * math/Makefile [$(PERL) != no]
29477         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29478         dependency on libm-test.stmp below the inclusion of Rules.
29480 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29482         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29483         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29484         and included header.
29485         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29486         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29487         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29488         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29489         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29490         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29491         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29492         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29493         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29494         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29495         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29496         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29497         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29498         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29499         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29500         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29501         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29502         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29503         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29505 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29507         [BZ #18371]
29508         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29509         intermediate but not final result might underflow.
29510         * math/s_csqrtf.c (__csqrtf): Likewise.
29511         * math/s_csqrtl.c (__csqrtl): Likewise.
29512         * math/auto-libm-test-in: Add more tests of csqrt.
29513         * math/auto-libm-test-out: Regenerated.
29514         * sysdeps/i386/fpu/libm-test-ulps: Update.
29516         [BZ #18219]
29517         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29518         threshold on absolute value of exponent for which scaling is used.
29519         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29520         * math/auto-libm-test-in: Add more tests of exp2.
29521         * math/auto-libm-test-out: Regenerated.
29523 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29525         [BZ #17977]
29526         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29527         when initializing interface list, based on the bug analysis
29528         and the patch proposed by Eric Newton.
29529         * resolv/tst-res_hconf_reorder.c: New test.
29530         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29531         tst-res_hconf_reorder.
29532         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29533         and $(shared-thread-library).
29534         (tst-res_hconf_reorder-ENV): New variable.
29536         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29537         in comment.
29539 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29541         [BZ #16353]
29542         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29543         (__expm1): Force underflow exception for arguments with small
29544         absolute value.
29545         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29546         (__expm1f): Force underflow exception for arguments with small
29547         absolute value.
29548         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29549         (__expm1): Force underflow exception for arguments with small
29550         absolute value.
29551         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29552         (__expm1f): Force underflow exception for arguments with small
29553         absolute value.
29554         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29555         Check for small arguments before calling __expm1.
29556         * math/auto-libm-test-in: Do not mark underflow exceptions as
29557         possibly missing for bug 16353.
29558         * math/auto-libm-test-out: Regenerated.
29560 2015-06-22  Andreas Schwab  <schwab@suse.de>
29562         [BZ #18513]
29563         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29564         PTR queries.
29566 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29568         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29570         * string/strcoll_l.c: Remove unused struct element idxnow.
29572 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29574         [BZ #18569]
29575         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29576         underflow and return argument in case of subnormal argument.
29577         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29578         Likewise.
29579         * math/auto-libm-test-in: Add more tests of expm1.
29580         * math/auto-libm-test-out: Regenerated.
29582         [BZ #16361]
29583         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29584         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29585         tiny results.
29586         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29587         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29588         tiny results.
29589         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29590         mark underflow exceptions as possibly missing for bug 16361.
29591         * math/auto-libm-test-out: Regenerated.
29593 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29595         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29596         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29597         Remove variable.
29598         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29599         (test-xfail-XOPEN2K8/utmpx.h/conform).
29601         * conform/conformtest.pl ($xerrors): New variable.
29602         (note_error): New function.
29603         (compiletest): New argument $xfail.  Use not_error.
29604         (runtest): Likewise.
29605         (top level): Handle xfail- lines.  Update calls to compiletest and
29606         runtest.  Handle xfail- and optional- in headers listed with
29607         allow-header.
29608         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29609         (O_EXEC): Likewise.
29610         (O_SEARCH): Likewise.
29611         * conform/data/stropts.h-data (ioctl): Likewise.
29612         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29613         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29614         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29615         (msghdr.msg_controllen): Likewise.
29616         (cmsghdr.cmsg_len): Likewise.
29617         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29618         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29619         variable.
29620         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29621         (test-xfail-XPG4/stropts.h/conform): Likewise.
29622         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29623         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29624         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29625         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29626         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29627         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29628         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29629         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29630         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29631         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29632         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29633         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29634         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29635         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29636         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29637         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29638         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29639         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29640         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29642 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29644         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29645         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29646         definitions for proper unfolding of __MATHDECL_VEC.
29648 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29650         * benchtests/bench-strcoll.c:
29651         Include string.h.
29652         (main): Remove unused variable res.
29654 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29656         * timezone/Makefile (%/UTC %/Universal):
29657         Generate test-result files for UTC and Universal.
29659 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29661         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29663 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29665         [BZ #16350]
29666         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29667         for arguments with small absolute value.
29668         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29669         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29670         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29671         (__asinh): Force underflow exception for arguments with small
29672         absolute value.
29673         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29674         (__asinhf): Force underflow exception for arguments with small
29675         absolute value.
29676         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29677         (__asinhl): Force underflow exception for arguments with small
29678         absolute value.
29679         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29680         (__asinhl): Force underflow exception for arguments with small
29681         absolute value.
29682         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29683         (__asinhl): Force underflow exception for arguments with small
29684         absolute value.
29685         * math/auto-libm-test-in: Do not mark underflow exceptions as
29686         possibly missing for bug 16350.
29687         * math/auto-libm-test-out: Regenerated.
29689         * include/bits/ipc.h: Remove file.
29690         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29691         variable.
29692         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29693         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29694         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29695         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29696         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29697         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29698         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29699         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29700         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29702         * math/auto-libm-test-in: Remove spurious underflow allowance for
29703         tests of cexp.
29704         * math/auto-libm-test-out: Regenerated.
29706         [BZ #18558]
29707         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29708         unconditional definition.
29709         (MCAST_BLOCK_SOURCE): Likewise.
29710         (MCAST_UNBLOCK_SOURCE): Likewise.
29711         (MCAST_LEAVE_GROUP): Likewise.
29712         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29713         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29714         (MCAST_MSFILTER): Likewise.
29715         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29716         Remove variable.
29717         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29718         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29719         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29720         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29721         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29723 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29725         * NEWS: Mention addition of x86_64 vector sincosf.
29726         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29727         * math/test-float-vlen4.h: Likewise.
29728         * math/test-float-vlen8.h: Likewise.
29729         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29730         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29731         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29732         * sysdeps/x86_64/fpu/Versions: New versions added.
29733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29734         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29735         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29736         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29737         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29738         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29739         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29740         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29741         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29742         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29743         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29744         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29745         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29746         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29747         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29748         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29749         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29750         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29751         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29752         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29753         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29754         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29755         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29756         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29758         * NEWS: Mention addition of x86_64 vector sincos.
29759         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29760         * math/math.h (__MATHDECL_VEC): New macro.
29761         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29762         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29763         declaration under condition.
29764         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29765         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29766         TEST_VEC_LOOP change.
29767         * math/test-double-vlen4.h: Likewise.
29768         * math/test-double-vlen8.h: Likewise.
29769         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29770         * math/test-float-vlen4.h: Likewise.
29771         * math/test-float-vlen8.h: Likewise.
29772         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29773         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29774         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29775         * sysdeps/x86_64/fpu/Versions: New versions added.
29776         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29777         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29778         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29779         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29780         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29781         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29782         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29783         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29784         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29785         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29786         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29787         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29788         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29789         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29790         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29791         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29792         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29793         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29794         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29795         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29796         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29797         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29798         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29799         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29801         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29802         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29803         redirections for powf.
29804         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29805         * sysdeps/x86_64/fpu/Versions: New versions added.
29806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29807         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29808         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29809         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29810         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29811         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29812         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29813         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29814         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29815         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29816         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29817         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29818         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29819         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29820         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29821         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29822         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29823         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29824         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29825         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29826         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29827         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29828         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29829         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29830         * math/test-float-vlen16.h: Fixed 2 argument macro.
29831         * math/test-float-vlen4.h: Likewise.
29832         * math/test-float-vlen8.h: Likewise.
29833         * NEWS: Mention addition of x86_64 vector powf.
29835 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29837         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29838         and redefine.
29839         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29840         and redefine.
29841         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29842         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29843         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29845         [BZ #18553]
29846         * resource/getpriority.c (getpriority): Rename to __getpriority
29847         and define as weak alias of __getpriority.
29848         * resource/setpriority.c (setpriority): Rename to __setpriority
29849         and define as weak alias of __setpriority.
29850         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29851         __getpriority and define as weak alias of __getpriority.
29852         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29853         __setpriority and define as weak alias of __setpriority.
29854         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29855         strong name.
29856         (setpriority): Use __setpriority as strong name.
29857         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29858         __getpriority and define as weak alias of __getpriority.
29859         * include/sys/resource.h (__getpriority): Declare.  Use
29860         libc_hidden_proto.
29861         (__setpriority): Likewise.
29862         (getpriority): Don't use libc_hidden_proto.
29863         (setpriority): Likewise.
29864         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29865         getpriority.  Call __setpriority instead of setpriority.
29866         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29867         Remove variable.
29869         [BZ #18547]
29870         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29871         as weak alias of __getttynam.  Use prototype function definition.
29872         Call __setttyent, __getttyent and __endttyent instead of
29873         setttyent, getttyent and endttyent.
29874         (getttyent): Rename to __getttyent and define as weak alias of
29875         __getttyent.  Call __setttyent instead of setttyent.  Call
29876         __fgets_unlocked instead of fgets_unlocked.
29877         (setttyent): Rename to __setttyent and define as weak alias of
29878         __setttyent.
29879         (endttyent): Rename to __endttyent and define as weak alias of
29880         __endttyent.
29881         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29882         (__setttyent): Likewise.
29883         (__endttyent): Likewise.
29884         (getttyent): Don't use libc_hidden_proto.
29885         (setttyent): Likewise.
29886         (endttyent): Likewise.
29887         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29888         __endttyent instead of setttyent, getttyent and endttyent.
29889         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29890         Remove variable.
29892         [BZ #18546]
29893         * socket/recv.c (__recv): Use libc_hidden_def.
29894         * socket/socket.c (__socket): Likewise.
29895         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29896         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29897         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29898         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29899         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29900         libc_hidden_def.
29901         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29902         libc_hidden_weak.
29903         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29904         Use libc_hidden_proto.
29905         (__recv): Likewise.
29906         * socket/Versions (libc): Export __recv and __socket at version
29907         GLIBC_PRIVATE.
29908         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29909         instead of recv.
29910         (init_mq_netlink): Call __socket instead of socket.
29911         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29912         Remove variable.
29914         [BZ #18545]
29915         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29916         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29917         hidden_weak.
29918         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29919         define as alias of __mq_timedsend.  Use hidden_weak.
29920         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29921         __mq_timedsend as strong name.
29922         (mq_timedreceive): Use __mq_timedreceive as strong name.
29923         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29924         (__mq_timedreceive): Likewise.
29925         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29926         __mq_timedreceive instead of mq_timedreceive.
29927         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29928         instead of mq_timedsend.
29929         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29930         Remove variable.
29932         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29933         hidden_def and hidden_weak instead of libc_hidden_def and
29934         libc_hidden_weak.
29935         (top level): Refer to hidden_def in comment.
29936         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29937         macro.  Use it instead of libc_hidden_def.
29938         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29939         specify __GI_* name explicitly.
29940         (mq_timedreceive): Likewise.
29941         (mq_setattr): Likewise.
29943         [BZ #18544]
29944         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29945         __pthread_barrier_init and define as weak alias of
29946         __pthread_barrier_init.
29947         * sysdeps/sparc/nptl/pthread_barrier_init.c
29948         (pthread_barrier_init): Likewise.
29949         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29950         __pthread_barrier_wait and define as weak alias of
29951         __pthread_barrier_wait.
29952         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29953         (pthread_barrier_wait): Likewise.
29954         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29955         (pthread_barrier_wait): Likewise.
29956         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29957         (pthread_barrier_wait): Likewise.
29958         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29959         (pthread_barrier_wait): Likewise.
29960         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29961         __pthread_barrier_wait at version GLIBC_PRIVATE.
29962         * include/pthread.h (__pthread_barrier_init): Declare.
29963         (__pthread_barrier_wait): Likewise.
29964         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29965         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29966         (helper_thread): Likewise.
29967         (init_mq_netlink): Call __pthread_barrier_init instead of
29968         pthread_barrier_init.
29970         [BZ #18542]
29971         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29972         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29973         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29974         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29975         vswscanf.
29976         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29977         Remove variable.
29979         [BZ #18540]
29980         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29981         strong alias of _IO_fflush.  Use libc_hidden_def.
29982         * libio/iofflush_u.c (fflush_unlocked): Rename to
29983         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29984         Use libc_hidden_weak.
29985         * include/stdio.h (__fflush_unlocked): Declare.  Use
29986         libc_hidden_proto.
29987         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29988         fflush_unlocked.
29989         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29990         Remove variable.
29992         [BZ #18539]
29993         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29994         define as weak alias of __addseverity.
29995         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29996         Remove variable.
29997         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29998         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29999         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30001         [BZ #18536]
30002         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
30003         (__tfind): Likewise.
30004         (__tdelete): Likewise.
30005         (__twalk): Likewise.
30006         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
30007         __twalk to GLIBC_PRIVATE.
30008         * include/search.h (__tsearch): Use libc_hidden_proto.
30009         (__tfind): Likewise.
30010         (__tdelete): Likewise.
30011         (__twalk): Likewise.
30012         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
30013         Call __tdelete instead of tdelete.
30014         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
30015         tfind.  Call __tsearch instead of tsearch.
30016         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
30017         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
30018         Remove variable.
30019         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30021         [BZ #18534]
30022         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
30023         (dprintf): Define as a weak alias of __dprintf, not a strong
30024         alias.
30025         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
30026         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
30027         dprintf.
30028         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
30029         Remove variable.
30030         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30031         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30033         [BZ #18533]
30034         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
30035         not a strong alias.
30036         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
30037         Remove variable.
30039         [BZ #18532]
30040         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
30041         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
30042         (in6addr_loopback): Rename to __in6addr_loopback and define as
30043         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
30044         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
30045         libc_hidden_proto.
30046         (__in6addr_any): Likewise.
30047         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
30048         in6addr_any.
30049         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
30050         variable.
30051         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30053 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
30055         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
30056         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
30057         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30058         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30059         redirections for pow.
30060         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30061         * sysdeps/x86_64/fpu/Versions: New versions added.
30062         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30063         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30064         build of SSE, AVX2 and AVX512 IFUNC versions.
30065         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
30066         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
30067         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
30068         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
30069         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
30070         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
30071         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
30072         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
30073         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
30074         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
30075         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
30076         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
30077         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
30078         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
30079         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30080         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30081         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30082         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30083         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30084         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30085         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30086         * NEWS: Mention addition of x86_64 vector pow.
30088         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30089         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30090         redirections for expf.
30091         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30092         * sysdeps/x86_64/fpu/Versions: New versions added.
30093         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30094         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30095         build of SSE, AVX2 and AVX512 IFUNC versions.
30096         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
30097         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
30098         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
30099         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
30100         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
30101         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
30102         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
30103         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
30104         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
30105         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
30106         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
30107         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
30108         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
30109         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30110         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30111         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30112         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30113         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30114         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30115         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30116         * NEWS: Mention addition of x86_64 vector expf.
30118         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
30119         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
30120         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30121         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30122         redirections for exp.
30123         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30124         * sysdeps/x86_64/fpu/Versions: New versions added.
30125         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30126         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30127         build of SSE, AVX2 and AVX512 IFUNC versions.
30128         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
30129         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
30130         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
30131         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
30132         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
30133         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
30134         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
30135         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
30136         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
30137         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
30138         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
30139         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
30140         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
30141         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30142         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30143         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30144         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30145         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30146         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30147         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30148         * NEWS: Mention addition of x86_64 vector exp.
30150         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30151         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30152         redirections for logf.
30153         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30154         * sysdeps/x86_64/fpu/Versions: New versions added.
30155         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30156         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30157         build of SSE, AVX2 and AVX512 IFUNC versions.
30158         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
30159         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
30160         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
30161         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
30162         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
30163         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
30164         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
30165         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
30166         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
30167         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
30168         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
30169         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
30170         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
30171         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30172         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30173         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30174         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30175         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30176         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30177         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30178         * NEWS: Mention addition of x86_64 vector logf.
30180         * bits/libm-simd-decl-stubs.h: Added stubs for log.
30181         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
30182         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30183         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30184         redirections for log.
30185         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30186         * sysdeps/x86_64/fpu/Versions: New versions added.
30187         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30188         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30189         build of SSE, AVX2 and AVX512 IFUNC versions.
30190         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
30191         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
30192         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
30193         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
30194         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
30195         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
30196         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
30197         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
30198         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
30199         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
30200         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
30201         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
30202         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
30203         test.
30204         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30205         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30206         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30207         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30208         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30209         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30210         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30211         * NEWS: Mention addition of x86_64 vector log.
30213 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30215         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
30216         cfi_adjust_cfa_offset argument.
30217         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
30218         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
30220         [BZ #18034]
30221         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
30222         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
30223         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
30224         ordering using ldar.
30225         (_dl_tlsdesc_dynamic): Likewise.
30226         (_dl_tlsdesc_return_lazy): Likewise.
30227         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
30228         relaxed atomics instead of volatile and synchronize with release store.
30229         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
30230         volatile.
30231         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30233 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
30235         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30236         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
30237         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30238         * sysdeps/x86_64/fpu/Versions: New versions added.
30239         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30240         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30241         build of SSE, AVX2 and AVX512 IFUNC versions.
30242         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
30243         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
30244         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
30245         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
30246         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
30247         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
30248         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
30249         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
30250         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
30251         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
30252         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
30253         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
30254         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
30255         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30256         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30257         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30258         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30259         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30260         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30261         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30262         * NEWS: Mention addition of x86_64 vector sinf.
30264 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
30266         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
30267         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
30268         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
30269         Remove variable.
30270         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30271         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30273 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30275         [BZ #18530]
30276         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
30277         strong alias of _IO_fputs.  Use libc_hidden_def.
30278         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
30279         and define as weak alias of __fputs_unlocked.  Use
30280         libc_hidden_weak.
30281         * include/stdio.h (__fputs_unlocked): Declare.  Use
30282         libc_hidden_proto.
30283         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
30284         fputs_unlocked.
30286         [BZ #18529]
30287         * resolv/netdb.h [__USE_POSIX]: Change condition to
30288         [__USE_XOPEN2K].
30289         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
30290         not expect.
30291         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
30292         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
30293         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
30294         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30295         [XPG4 || UNIX98] (AI_ALL): Likewise.
30296         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30297         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30298         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30299         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30300         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30301         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30302         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30303         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30304         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30305         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30306         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30307         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30308         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30309         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30310         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30311         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30312         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30313         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30314         [XPG4 || UNIX98] (gai_strerror): Likewise.
30315         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30316         [XPG4 || UNIX98] (getnameinfo): Likewise.
30318         [BZ #18528]
30319         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30320         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30321         __USE_XOPEN2K8].
30322         (getgrent): Likewise.
30323         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30324         expect.
30325         [XPG3 || POSIX2008] (endgrent): Likewise.
30326         [XPG3] (setgrent): Likewise.
30327         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30328         variable.
30329         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30331         [BZ #18527]
30332         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30333         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30334         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30335         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30336         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30337         * include/unistd.h (__getlogin_r): Declare.  Use
30338         libc_hidden_proto.
30339         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30340         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30341         variable.
30342         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30343         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30344         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30346 2015-06-12  Martin Sebor  <msebor@redhat.com>
30348         [BZ #18512]
30349         * Makerules (check-install-supported): New target.
30350         (install): Add check-install-supported as a dependency.
30351         * manual/install.texi (Installing the C Library): Document
30352         that overriding prefix and exec_prefix is not supported.
30353         Mention DESTDIR.
30354         * INSTALL: Regenerate from the above.
30356 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30358         [BZ #18519]
30359         * posix/Versions (libc): Export __libc_pread at version
30360         GLIBC_PRIVATE.
30361         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30362         instead of pread.
30363         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30364         variable.
30366         [BZ #18522]
30367         * misc/efgcvt_r.c
30368         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30369         (cvt_symbol): Use weak_alias instead of strong_alias.
30370         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30371         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30372         Remove variable.
30373         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30374         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30376         [BZ #18520]
30377         * inet/herrno.c (h_errno): Rename to __h_errno.
30378         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30379         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30380         to __h_errno instead of h_errno.
30381         * nptl/herrno.c (h_errno): Rename to __h_errno.
30382         (__h_errno_location): Refer to __h_errno not h_errno.
30383         * resolv/Versions (h_errno): Rename to __h_errno.
30384         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30385         Remove variable.
30386         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30388 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30390         * configure.ac: More strict check for AVX512 assembler support.
30391         * configure: Regenerated.
30393         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30394         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30395         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30396         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30397         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30398         * sysdeps/x86_64/fpu/Versions: New versions added.
30399         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30400         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30401         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30402         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30403         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30404         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30405         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30406         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30407         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30408         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30409         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30410         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30411         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30412         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30413         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30414         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30415         test.
30416         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30417         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30418         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30419         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30420         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30421         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30422         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30423         * NEWS: Mention addition of x86_64 vector sin.
30425 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30427         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30428         comment.
30430 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30432         [BZ #18479]
30433         * nptl/pt-interp.c: New file.
30434         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30435         Add pt-interp.
30436         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30437         $(common-objpfx)runtime-linker.h.
30439 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30441         * Makeconfig (+interp): Remove unused variable.
30442         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30443         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30444         $(elf-objpfx)runtime-linker.h.
30445         ($(elf-objpfx)runtime-linker.h): Rename to
30446         $(common-objpfx)runtime-linker.h and move ...
30447         * Makerules [$(build-shared) = yes]: ... here.
30448         * elf/interp.c: Include <runtime-linker.h> instead of
30449         <elf/runtime-linker.h>.
30451 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30453         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30454         (__gettimeofday_syscall): Remove vsyscall fallback.
30455         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30456         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30457         Add syscall fallback function.
30458         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30459         if vDSO is not present.
30460         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30461         fallback function.
30462         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30463         present.
30464         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30465         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30467 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30469         [BZ #18497]
30470         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30471         of wcscmp.
30472         (wcscmp): Define as weak alias of WCSCMP.
30473         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30474         wcscoll.
30475         (USE_HIDDEN_DEF): Define.
30476         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30477         __wcscoll.  Don't use libc_hidden_weak.
30478         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30479         wcscmp.
30480         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30481         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30482         __GI_wcscmp.
30483         (weak_alias): Undefine and redefine.
30484         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30485         __wcscmp and define as weak alias of __wcscmp.
30486         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30487         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30488         (__wcscoll): Likewise.
30489         (wcscmp): Don't use libc_hidden_proto.
30490         (wcscoll): Likewise.
30491         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30492         wcscoll.
30493         * posix/regexec.c (check_node_accept_bytes): Likewise.
30494         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30495         variable.
30496         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30497         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30499         [BZ #18507]
30500         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30501         __fstatvfs and define as weak alias of __fstatvfs.  Use
30502         libc_hidden_weak.
30503         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30504         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30505         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30506         Define as alias of __fstatvfs, not fstatvfs.
30507         (fstatvfs64): Likewise.
30508         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30509         Define as alias of __statvfs, not statvfs.
30510         (statvfs64): Likewise.
30511         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30512         Remove variable.
30514 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30517         (HAVE_GETCPU_VSYSCALL): Define.
30518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30519         (HAVE_GETCPU_VSYSCALL): Likewise.
30520         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30521         * sysdeps/unix/sysv/linux/sched_getcpu.c
30522         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30523         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30524         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30525         prototype.
30526         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30527         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30528         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30530         Define.
30531         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30532         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30533         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30534         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30536 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30538         * sysdeps/x86_64/fpu/Makefile: New file.
30539         * sysdeps/x86_64/fpu/Versions: New file.
30540         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30541         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30542         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30543         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30544         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30545         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30546         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30547         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30548         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30549         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30550         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30551         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30552         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30553         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30554         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30555         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30556         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30557         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30558         * sysdeps/x86_64/configure: Regenerated.
30559         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30560         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30561         * manual/install.texi (Configuring and compiling): Document
30562         --disable-mathvec.
30563         * INSTALL: Regenerated.
30564         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30566         * math/Makefile: Added rules for vector tests.
30567         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30568         declaration under condition.
30569         * math/test-double-vlen2.h: New file.
30570         * math/test-double-vlen4.h: New file.
30571         * math/test-double-vlen8.h: New file.
30572         * math/test-vec-loop.h: Added initialization macro.
30573         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30575         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30576         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30577         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30578         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30579         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30580         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30581         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30582         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30583         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30585         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30586         * sysdeps/x86_64/fpu/Versions: New versions added.
30587         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30588         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30589         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30590         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30591         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30592         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30593         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30594         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30595         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30596         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30597         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30598         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30599         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30600         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30601         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30602         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30603         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30604         * NEWS: Mention addition of x86_64 vector cosf.
30606         * math/Makefile: Added CFLAGS for new tests.
30607         * math/test-float-vlen16.h: New file.
30608         * math/test-float-vlen4.h: New file.
30609         * math/test-float-vlen8.h: New file.
30610         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30611         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30612         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30613         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30614         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30615         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30616         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30617         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30618         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30619         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30620         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30622 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30624         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30625         * locale/programs/ld-ctype.c: Likewise.
30627 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30629         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30630         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30631         bit_ZMM16_31_state): New macro.
30632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30633         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30635 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30637         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30639 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30641         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30643 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30645         [BZ #18498]
30646         * libio/memstream.c (open_memstream): Rename to __open_memstream
30647         and define as weak alias of __open_memstream.
30648         * include/stdio.h (__open_memstream): Declare.  Use
30649         libc_hidden_proto.
30650         (open_memstream): Don't use libc_hidden_proto.
30651         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30652         open_memstream.
30653         * posix/getopt.c (_getopt_internal_r): Likewise.
30654         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30655         variable.
30656         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30657         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30658         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30660         [BZ #18496]
30661         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30662         instead of wcrtomb.
30664         [BZ #18483]
30665         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30666         [__USE_XOPEN2K8].  Remove redundant #endif.
30667         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30668         Remove redundant #if.
30669         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30670         Remove variable.
30671         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30672         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30674         [BZ #18495]
30675         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30676         (__iswlower): Likewise.
30677         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30678         (__iswlower): Likewise.
30679         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30680         instead of towlower.
30681         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30682         instead of iswlower.  Call __towupper instead of towupper.
30683         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30684         instead of iswalnum.
30686 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30688         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30689         errors to stderr.
30691 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30693         [BZ #15661]
30694         [BZ #17322]
30695         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30696         Check for overflow properly.  Check for O_APPEND.  Ignore large
30697         file system block sizes.  Add comments about problems.
30698         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30699         * manual/filesys.texi (Storage Allocation): New node.
30701 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30703         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30704         cancellable syscalls.
30705         (SYS_ify): Add guard to no redefine it.
30706         (INLINE_SYSCALL): Likewise.
30707         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30708         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30709         SYSCALL_CANCEL instead.
30710         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30711         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30712         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30713         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30714         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30715         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30716         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30717         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30718         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30719         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30720         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30721         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30722         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30723         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30724         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30725         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30726         Likewise.
30727         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30728         (__libc_pread64): Likewise.
30729         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30730         (__libc_preadv): Likewise.
30731         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30732         (__libc_readv64): Likewise.
30733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30734         (__libc_pwrite): Likewise.
30735         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30736         (__libc_pwrite64): Likewise.
30737         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30738         (__libc_pwritev): Likewise.
30739         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30740         (__libc_pwritev64): Likewise.
30741         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30742         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30743         (sync_file_range): Likewise.
30744         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30745         Likewise.
30746         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30747         Likewise.
30748         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30749         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30750         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30751         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30752         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30753         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30754         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30755         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30757         Likewise.
30758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30759         (__libc_read64): Likewise.
30760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30761         Likewise.
30762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30763         Likewise.
30764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30765         Likewise.
30766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30767         Likewise.
30768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30769         (__libc_pread64): Likewise.
30770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30771         Likewise.
30772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30773         (__libc_pwrite64): Likewise.
30774         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30775         (sync_file_range): Likewise.
30776         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30777         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30778         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30779         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30780         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30781         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30782         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30783         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30784         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30785         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30786         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30787         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30788         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30789         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30790         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30791         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30792         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30793         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30794         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30795         Likewise.
30796         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30797         Likewise.
30798         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30799         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30800         Likewise.
30801         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30802         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30803         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30804         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30805         Likewise.
30806         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30807         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30808         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30809         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30810         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30812 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30814         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30815         Include dl-vdso.
30816         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30817         Use VDSO routines for gettimeofday, clock_gettime if
30818         available.
30819         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30820         Declare VDSO symbols.
30821         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30822         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30823         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30824         * sysdeps/unix/sysv/linux/arm/Versions: Add
30825         __vdso_clock_gettime.
30827 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30829         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30830         be an inline implementation regardless of library is built within.
30831         (open_not_cancel_2): Likewise.
30832         (__read_nocancel): Likewise.
30833         (__write_nocancel): Likewise.
30834         (openat_not_cancel): Likewise.
30835         (openat_not_cancel_3): Likewise.
30836         (openat64_not_cancel): Likewise.
30837         (openat64_not_cancel_3): Likewise.
30838         (__close_nocancel): Likewise.
30839         (pause_not_cancel): Likewise.
30840         (nanosleep_not_cancel): Likewise.
30841         (sigsuspend_not_cancel): Likewise.
30843 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30845         [BZ #14958]
30846         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30847         wake-up.
30848         (__pthread_rwlock_rdlock_slow): Likewise.
30849         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30850         Likewise.
30851         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30852         Likewise.
30853         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30854         * nptl/tst-rwlock16.c: New file.
30855         * nptl/Makefile (tests): Add new test.
30857 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30859         [BZ #18324]
30860         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30861         missing wake-up of readers.
30862         * nptl/tst-rwlock15.c: New file.
30863         * nptl/Makefile (tests): Add new test.
30865 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30867         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30868         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30869         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30870         and __nacl_supply_interface_rtld.
30871         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30872         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30873         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30874         Add __nacl_supply_interface_rtld.
30875         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30877 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30879         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30880         isfinite.
30881         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30882         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30884 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30886         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30887         __signbit* with standard C99 macros.
30888         * math/e_exp10l.c: Likewise.
30889         * math/e_exp2l.c: Likewise.
30890         * math/e_scalb.c: Likewise.
30891         * math/e_scalbf.c: Likewise.
30892         * math/e_scalbl.c: Likewise.
30893         * math/s_ldexp.c: Likewise.
30894         * math/s_ldexpf.c: Likewise.
30895         * math/s_ldexpl.c: Likewise.
30896         * math/w_atan2.c: Likewise.
30897         * math/w_atan2f.c: Likewise.
30898         * math/w_atan2l.c: Likewise.
30899         * math/w_cosh.c: Likewise.
30900         * math/w_coshf.c: Likewise.
30901         * math/w_coshl.c: Likewise.
30902         * math/w_exp10.c: Likewise.
30903         * math/w_exp10f.c: Likewise.
30904         * math/w_exp10l.c: Likewise.
30905         * math/w_exp2.c: Likewise.
30906         * math/w_exp2f.c: Likewise.
30907         * math/w_exp2l.c: Likewise.
30908         * math/w_fmod.c: Likewise.
30909         * math/w_fmodf.c: Likewise.
30910         * math/w_fmodl.c: Likewise.
30911         * math/w_hypot.c: Likewise.
30912         * math/w_hypotf.c: Likewise.
30913         * math/w_hypotl.c: Likewise.
30914         * math/w_jnl.c: Likewise.
30915         * math/w_lgamma.c: Likewise.
30916         * math/w_lgamma_r.c: Likewise.
30917         * math/w_lgammaf.c: Likewise.
30918         * math/w_lgammaf_r.c: Likewise.
30919         * math/w_lgammal.c: Likewise.
30920         * math/w_lgammal_r.c: Likewise.
30921         * math/w_pow.c: Likewise.
30922         * math/w_powf.c: Likewise.
30923         * math/w_powl.c: Likewise.
30924         * math/w_remainder.c: Likewise.
30925         * math/w_remainderf.c: Likewise.
30926         * math/w_remainderl.c: Likewise.
30927         * math/w_scalb.c: Likewise.
30928         * math/w_scalbf.c: Likewise.
30929         * math/w_scalbl.c: Likewise.
30930         * math/w_scalbln.c: Likewise.
30931         * math/w_scalblnf.c: Likewise.
30932         * math/w_scalblnl.c: Likewise.
30933         * math/w_sinh.c: Likewise.
30934         * math/w_sinhf.c: Likewise.
30935         * math/w_sinhl.c: Likewise.
30936         * math/w_tgamma.c: Likewise.
30937         * math/w_tgammaf.c: Likewise.
30938         * math/w_tgammal.c: Likewise.
30939         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30940         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30941         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30942         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30943         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30944         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30945         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30946         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30947         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30948         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30949         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30950         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30951         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30952         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30953         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30954         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30955         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30956         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30957         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30958         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30959         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30960         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30961         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30962         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30963         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30964         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30965         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30966         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30967         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30968         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30969         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30970         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30971         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30972         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30973         * stdio-common/printf_fp.c: Likewise.
30974         * stdio-common/printf_fphex.c: Likewise.
30975         * stdio-common/printf_size.c: Likewise.
30977 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30979         [BZ #18470]
30980         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30981         strnlen.
30982         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30983         Remove variable.
30984         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30985         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30986         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30987         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30988         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30989         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30990         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30991         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30992         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30993         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30995         [BZ #18468]
30996         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30997         weak alias of __wmemchr.  Use libc_hidden_weak.
30998         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30999         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
31000         instead of wmemchr.
31002 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31004         [BZ #18383]
31005         * elf/tst-tlsalign-extern.c: New file.
31006         * elf/tst-tlsalign-extern-static.c: New file.
31007         * elf/tst-tlsalign-vars.c: New file.
31008         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
31009         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
31010         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
31011         ($(objpfx)tst-tlsalign-extern-static): Likewise.
31012         (test-xfail-tst-tlsalign-extern-static): New variable.
31014 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
31016         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
31017         Use variable name _sc_err instead of err.
31018         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
31019         instead of ret.
31020         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
31021         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
31022         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
31023         (INLINE_SYSCALL): Likewise.
31025         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
31026         * include/string.h (__strnlen): Use libc_hidden_proto.
31027         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
31028         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
31029         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
31030         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
31031         (libc_hidden_def): Undefine and redefine.
31032         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
31033         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
31034         __GI_strnlen.
31035         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
31036         libc_hidden_def.
31037         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
31039         [BZ #18469]
31040         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
31041         weak alias of __towlower.  Use libc_hidden_weak.
31042         (towupper): Rename to __towupper and define as weak alias of
31043         __towupper.  Use libc_hidden_weak.
31044         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
31045         (__towupper): Likewise.
31046         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
31047         __towlower instead of towlower.
31049 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31051         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
31052         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
31054 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31056         * sysdeps/aarch64/libm-test-ulps: Update.
31058 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31060         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
31061         Define.
31062         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31063         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31064         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31065         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31066         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
31067         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
31068         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
31070 2015-06-01  Martin Sebor  <msebor@redhat.com>
31072         [BZ #18116]
31073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31074         (__setcontext): Use extended four-operand version of mtsf whenever
31075         possible.
31076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31077         (__novec_swapcontext): Likewise.
31079 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31081         * benchtests/scripts/compare_bench.py: New file.
31082         * benchtests/scripts/import_bench.py (mean): New function.
31083         (split_list): Likewise.
31084         (do_for_all_timings): Likewise.
31085         (compress_timings): Likewise.
31087         * benchtests/scripts/import_bench.py: New file.
31088         * benchtests/scripts/validate_benchout.py: Import import_bench
31089         instead of jsonschema.
31090         (validate_bench): Remove function.
31091         (main): Use import_bench.
31093 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
31095         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
31096         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
31098 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31102 2015-05-28  Roland McGrath  <roland@hack.frob.com>
31104         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
31105         set THREAD_SELF->tid to a magic value and futex-wake it.
31106         Pass its address to the thread_exit system call.
31107         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
31108         bit is clear.
31109         * sysdeps/nacl/lowlevellock.h: New file.
31110         * sysdeps/nacl/lll_timedwait_tid.c: New file.
31112         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
31113         Add TIMEOUT to current time, don't subtract it.
31115 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
31117         [BZ #2981]
31118         [BZ #18422]
31119         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
31120         ($(objpfx)tst-audit2.out): Also depend on
31121         $(objpfx)tst-auditmod9b.so.
31122         * elf/tst-audit2.c: Include <dlfcn.h>.
31123         (calloc_called): New.
31124         (calloc): Allow to be called more than once.
31125         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
31127 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
31129         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
31130         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
31132 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
31134         * stdlib/monetary.h: Fix comment.
31136 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
31138         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
31139         Avoid using variables in #defines that might cause shadowing.
31140         (INTERNAL_VSYSCALL_CALL): Likewise.
31142 2015-05-26  Roland McGrath  <roland@hack.frob.com>
31144         * sysdeps/nacl/lll_timedlock_wait.c: New file.
31146         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
31147         * nptl/lll_timedlock_wait.c: ... to this new file.
31148         * nptl/Makefile (libpthread-routines): Add it.
31149         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
31150         * nptl/lll_timedwait_tid.c: ... to this new file.
31151         * nptl/Makefile (libpthread-routines): Add it.
31152         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
31153         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
31154         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
31155         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
31156         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
31157         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
31158         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
31159         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
31160         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
31161         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
31163 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31165         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
31166         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31167         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31168         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
31169         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
31170         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31171         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31172         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31173         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31174         * sysdeps/unix/sysv/linux/tile/sysdep.h
31175         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31176         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
31177         using vDSO syscall macro.
31179 2015-05-26  Andriy Rysin  <arysin@gmail.com>
31181         [BZ #17293]
31182         * uk_UA: Fix sorting order for Ukrainian locale
31184 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
31186         * stdlib/monetary.h: Fix comment.
31188 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31190         [BZ #18234]
31191         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
31192         st_mtim and st_ctim members.
31193         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
31194         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
31195         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
31196         (struct stat64): Likewise.
31197         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
31198         (struct stat64): Likewise.
31199         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
31200         (struct stat64): Likewise.
31202 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31204         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
31205         Define and include sysdep-vdso.h.
31206         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
31207         Likewise.
31208         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
31209         Likewise.
31210         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
31211         Define with VDSO_SYMBOL and use PTR_MANGLE.
31212         (__vdso_clock_gettime): Likewise.
31213         (__vdso_clock_getres): Likewise.
31214         (_libc_vdso_platform_setup): Likewise.
31215         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31216         Likewise.
31217         (_libc_vdso_platform_setup): Likewise.
31218         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
31219         Likewise.
31220         (__vdso_clock_gettime): Likewise.
31221         (__vdso_clock_getres): Likewise.
31222         (__vdso_get_tbfreq): Likewise.
31223         (__vdso_getcpu): Likewise.
31224         (__vdso_time): Likewise.
31225         (__vdso_sigtramp_rt64): Likewise.
31226         (__vdso_signtramp32): Likewise.
31227         (__vdso_sigtramp_rt32): Likewise.
31228         (_libc_vdso_platform_setup): Likewise.
31229         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
31230         Likewise.
31231         (__vdso_clock_gettime): Likewise.
31232         (__vdso_clock_getres): Likewise.
31233         (_libc_vdso_platform_setup): Likewise.
31234         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
31235         Likewise.
31236         (__vdso_clock_gettime): Likewise.
31237         (_libc_vdso_platform_setup): Likewise.
31238         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31239         Likewise.
31240         (__vdso_getcpu): Likewise.
31241         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
31242         Use VDSO_SYMBOL macro to define.
31243         (__vdso_clock_gettime): Likewise.
31244         (__vdso_clock_getres): Likewise.
31245         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
31246         Likewise.
31247         (__vdso_clock_gettime): Likewise.
31248         (__vdso_clock_getres): Likewise.
31249         (__vdso_get_tbfreq): Likewise.
31250         (__vdso_getcpu): Likewise.
31251         (__vdso_time): Likewise.
31252         (__vdso_sigtramp_rt64): Likewise.
31253         (__vdso_signtramp32): Likewise.
31254         (__vdso_sigtramp_rt32): Likewise.
31255         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
31256         Likewise.
31257         (__vdso_clock_gettime): Likewise.
31258         (__vdso_clock_getres): Likewise.
31259         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
31260         Likewise.
31261         (__vdso_clock_gettime): Likewise.
31262         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31263         Likewise.
31264         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
31265         macro.
31266         (INTERNAL_VSYSCALL): Likewise.
31267         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
31268         Remove macro.
31269         (INTERNAL_VSYSCALL): Likewise.
31270         (INTERNAL_VSYSCALL_NCS): Likewise.
31271         (INTERNAL_VSYSCALL_CALL): New macro.
31272         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31273         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
31274         Likewise.
31275         (INTERNAL_VSYSCALL): Likewise.
31276         (INTERNAL_VSYSCALL_NCS): Likewise.
31277         (INTERNAL_VSYSCALL_CALL): New macro.
31278         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31280         (INLINE_VSYSCALL): Remove macro.
31281         (INTERNAL_VSYSCALL): Remove macro.
31282         (INTERNAL_VSYSCALL_NCS): Remove macro.
31283         (INTERNAL_VSYSCALL_CALL): New macro.
31284         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
31285         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
31286         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31287         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
31288         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31290         (INLINE_VSYSCALL): Remove macro.
31291         (INTERNAL_VSYSCALL): Likewise.
31292         (INTERNAL_VSYSCALL_NCS): Likewise.
31293         (INTERNAL_VSYSCALL_CALL): New macro.
31294         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31295         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31296         PTR_DEMANGLE on vDSO pointer.
31297         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31298         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31299         macro.
31300         (INTERNAL_SYSCALL): Likewise.
31301         (INTERNAL_VSYSCALL_NCS): Remove macro.
31302         (INTERNAL_VSYSCALL_CALL): New macro.
31303         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31304         Remove macro.
31305         (INTERNAL_VSYSCALL): Likewise.
31306         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31307         sysdep-vdso.h instead of libc-vdso.h.
31308         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31309         definition.
31310         (INLINE_VSYSCALL): Likewise.
31311         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31312         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31313         definition.
31314         (INLINE_VSYSCALL): Likewise.
31315         (INTERNAL_VSYSCALL): Likewise.
31316         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31317         * sysdeps/unix/sysv/linux/timespec_get.c
31318         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31319         (timespec_get): Use ANSI prototype.
31320         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31321         and definition for Linux.
31323 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31325         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31326         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31328 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31330         [BZ #2981]
31331         [BZ #18410]
31332         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31333         for missing DT_PLTRELSZ.
31335 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31337         Remove obsolete aliases that broke 'locale -a'
31338         [BZ #18412]
31339         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31340         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31341         breaking some applications that use 'locale -a' output.
31342         Change the encoding of this file from Latin-1 to ASCII to avoid
31343         other potential problems with people grepping this file.
31345 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31347         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31348         -fasynchronous-unwind-tables.
31349         (CFLAGS-sendto.c): Likewise.
31350         (CFLAGS-sendmsg.c): Likewise.
31351         (CFLAGS-connect.c): Likewise.
31352         (CFLAGS-recvmsg.c): Likewise.
31353         (CFLAGS-recvfrom.c): Likewise.
31354         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31355         (SOCKETCALL): New macro: non-cancellable socketcall.
31356         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31357         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31358         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31359         * sysdeps/unix/sysv/linux/accept.c: New file.
31360         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31361         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31362         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31363         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31364         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31365         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31366         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31367         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31368         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31369         * sysdeps/unix/sysv/linux/send.c: Likewise.
31370         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31371         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31372         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31373         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31374         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31375         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31376         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31377         prototype.
31378         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31379         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31380         instead of __internal_xxx function.
31381         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31382         prototype.
31383         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31384         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31385         instead of __internal_xxx function.
31386         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31387         prototype.
31388         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31389         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31390         instead of __internal_xxx function.
31391         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31392         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31393         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31394         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31395         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31396         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31397         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31398         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31399         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31400         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31401         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31402         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31403         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31404         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31405         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31406         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31407         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31408         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31409         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31410         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31413         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31414         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31415         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31416         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31417         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31418         * sysdeps/unix/sysv/linux/send.S: Likewise.
31419         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31420         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31421         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31422         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31423         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31424         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31425         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31426         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31427         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31428         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31429         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31430         socketcall is implemented in GLIBC.
31432 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31434         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31435         (__fma): Ignore uninitialized warnings around packing.
31436         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31437         (__fmaf): Ignore uninitialized warnings around packing.
31438         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31439         (__fmal): Ignore uninitialized warnings around packing.
31441         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31442         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31443         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31444         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31446         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31447         switch statement into default case.
31448         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31450         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31451         a conditional in forcing "inexact".
31452         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31453         Likewise.
31455 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31457         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31458         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31459         for each INTERNAL_SYSCALL use.
31461 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31463         [BZ #438]
31464         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31465         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31466         variable.
31468         [BZ #18444]
31469         * string/basename.c (basename): Rename to __basename and define as
31470         weak alias of __basename.  Use libc_hidden_weak.
31471         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31472         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31473         __basename instead of basename.
31474         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31475         Remove variable.
31476         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31478 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31480         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31481         (_IO_JUMPS_FILE_plus): New.
31482         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31483         _IO_CAST_FIELD_ACCESS.
31484         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31485         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31486         * libio/freopen.c (freopen): Likewise.
31487         * libio/freopen64.c (freopen64): Likewise.
31488         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31489         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31490         * libio/iofwide.c (_IO_fwide): Likewise.
31491         * libio/memstream.c (open_memstream): Likewise.
31492         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31493         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31494         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31496 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31498         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31499         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31500         NADJ.
31501         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31502         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31503         NADJ.
31504         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31505         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31506         NADJ.
31508         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31509         (p == 4) case.
31511         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31512         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31513         Remove variable.
31514         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31515         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31516         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31518 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31520         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31521         Adjust jump table label generation macros.
31523 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31525         * stdio-common/vfprintf.c (vfprintf): Move local variables
31526         args_malloced, specs, specs_malloced, and the code after
31527         do_positional to the printf_positional function.
31528         (printf_positional): New function.
31530 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31532         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31533         function.
31534         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31535         STEP4_TABLE, process_arg): Move macro definitions
31536         out of the vfprintf function.  (Cosmetic change only.)
31538 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31540         * benchtests/Makefile (stdio-common-bench): Define.
31541         (benchset): Add stdio-common-bench.
31542         * sprintf-inputs: New file.
31543         * sprintf-source.c: New file.
31545 2015-05-21  Andreas Schwab  <schwab@suse.de>
31547         [BZ #13028]
31548         [BZ #17053]
31549         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31550         of struct __res_state.
31551         * resolv/res_send.c (__libc_res_nsend): Likewise.
31552         (get_nsaddr): New function.
31553         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31554         statp directly.
31556 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31558         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31559         -D_POSIX_C_SOURCE=199506L.
31561         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31563         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31564         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31565         Do not mention otherwise.
31566         [POSIX] (_XOPEN_VERSION): Do not expect.
31567         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31568         [POSIX] (_POSIX2_C_BIND): Likewise.
31569         [POSIX] (_POSIX2_VERSION): Likewise.
31570         [POSIX] (_XOPEN_XPG2): Likewise.
31571         [POSIX] (_XOPEN_XPG3): Likewise.
31572         [POSIX] (_XOPEN_XPG4): Likewise.
31573         [POSIX] (_XOPEN_UNIX): Likewise.
31574         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31575         [POSIX] (_POSIX_BARRIERS): Likewise.
31576         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31577         [POSIX] (_POSIX_CPUTIME): Likewise.
31578         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31579         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31580         [POSIX] (_POSIX_SHELL): Likewise.
31581         [POSIX] (_POSIX_SPAWN): Likewise.
31582         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31583         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31584         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31585         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31586         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31587         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31588         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31589         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31590         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31591         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31592         [POSIX] (_POSIX2_PBS): Likewise.
31593         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31594         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31595         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31596         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31597         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31598         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31599         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31600         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31601         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31602         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31603         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31604         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31605         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31606         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31607         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31608         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31609         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31610         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31611         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31612         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31613         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31614         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31615         [POSIX] (_SC_2_C_BIND): Likewise.
31616         [POSIX] (_SC_2_C_VERSION): Likewise.
31617         [POSIX] (_SC_2_PBS): Likewise.
31618         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31619         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31620         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31621         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31622         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31623         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31624         [POSIX] (_SC_BARRIERS): Likewise.
31625         [POSIX] (_SC_BASE): Likewise.
31626         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31627         [POSIX] (_SC_DEVICE_IO): Likewise.
31628         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31629         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31630         [POSIX] (_SC_FD_MGMT): Likewise.
31631         [POSIX] (_SC_FIFO): Likewise.
31632         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31633         [POSIX] (_SC_FILE_LOCKING): Likewise.
31634         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31635         [POSIX] (_SC_IOV_MAX): Likewise.
31636         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31637         [POSIX] (_SC_NETWORKING): Likewise.
31638         [POSIX] (_SC_PAGE_SIZE): Likewise.
31639         [POSIX] (_SC_PASS_MAX): Likewise.
31640         [POSIX] (_SC_PIPE): Likewise.
31641         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31642         [POSIX] (_SC_REGEXP): Likewise.
31643         [POSIX] (_SC_SHELL): Likewise.
31644         [POSIX] (_SC_SIGNALS): Likewise.
31645         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31646         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31647         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31648         [POSIX] (_SC_USER_GROUPS): Likewise.
31649         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31650         [POSIX] (_SC_STREAMS): Likewise.
31651         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31652         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31653         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31654         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31655         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31656         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31657         [POSIX] (_PC_FILESIZEBITS): Likewise.
31658         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31659         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31660         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31661         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31662         [POSIX] (uid_t): Likewise.
31663         [POSIX] (gid_t): Likewise.
31664         [POSIX] (off_t): Likewise.
31665         [POSIX] (pid_t): Likewise.
31666         [POSIX] (cuserid): Allow.
31667         (_SC_2_CHAR_TERM): Require constant.
31668         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31669         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31670         variable.
31672 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31674         * sysdeps/nacl/pthread-pids.h: New file.
31675         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31676         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31678         * nptl/pthread-pids.h: New file.
31679         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31680         * nptl/nptl-init.c: Include <pthread-pids.h>.
31681         (__pthread_initialize_minimal_internal):
31682         Call __pthread_initialize_pids instead of set_tid_address syscall.
31684         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31685         * sysdeps/posix/usleep.c: ... here.
31687 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31689         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31690         call_pselect6 object.
31691         [$(subdir) = io]: Remove call_sync_file_range object.
31692         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31693         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31694         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31695         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31697 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31699         * math/s_cproj.c: Add include "math_private.h".
31700         * math/s_cprojf.c: Likewise.
31701         * math/s_cprojl.c: Likewise.
31703 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31705         [BZ #18244]
31706         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31707         high mantissa bit when testing whether P is a NaN.
31708         * math/libm-test.inc (remainder_test_data): Add more tests.
31709         (remquo_test_data): Likewise.
31711         [BZ #18049]
31712         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31713         below -32, return the argument, with underflow if subnormal.
31714         * math/auto-libm-test-in: Add more tests of atanh.
31715         * math/auto-libm-test-out: Regenerated.
31717 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31719         [BZ #18434]
31720         * nptl/tst-sem15.c: New file.
31721         * nptl/Makefile (tests): Add it.
31722         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31723         s/<</>>/ to fix typo in EOVERFLOW check.
31724         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31726 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31728         * manual/strings.texi (envz_remove): Fix typo in safety
31729         annotations.
31731 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31732             Steve Ellcey  <sellcey@imgtec.com>
31734         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31735         in order to avoid strict alias warnings.
31736         (iruserok_af): Ditto for ra.
31738 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31740         [BZ #17581]
31741         * malloc/hooks.c
31742         (magicbyte): Convert to a function and avoid returning 0x01.
31743         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31744         (mem2chunk_check): Fix unsigned comparisons to zero.
31745         Hoist defs of sz and magic.
31747 2015-05-19  Richard Henderson  <rth@redhat.com>
31749         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31751         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31753 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31755         [BZ #16159]
31756         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31757         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31758         (reused_arena): Find a non-corrupt arena.
31759         (heap_trim): Pass arena to unlink.
31760         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31761         malloc_printerr.
31762         (top_check): Likewise.
31763         (free_check): Likewise.
31764         (realloc_check): Likewise.
31765         * malloc/malloc.c (malloc_printerr): Add arena argument.
31766         (unlink): Likewise.
31767         (munmap_chunk): Adjust.
31768         (ARENA_CORRUPTION_BIT): New macro.
31769         (arena_is_corrupt): Likewise.
31770         (set_arena_corrupt): Likewise.
31771         (sysmalloc): Use mmap if there are no usable arenas.
31772         (_int_malloc): Likewise.
31773         (__libc_malloc): Don't fail if arena_get returns NULL.
31774         (_mid_memalign): Likewise.
31775         (__libc_calloc): Likewise.
31776         (__libc_realloc): Adjust for additional argument to
31777         malloc_printerr.
31778         (_int_free): Likewise.
31779         (malloc_consolidate): Likewise.
31780         (_int_realloc): Likewise.
31781         (_int_memalign): Don't touch corrupt arenas.
31782         * malloc/tst-malloc-backtrace.c: New test case.
31784         * Makefile (summarize-tests): Fix return value on success.
31786         * manual/string.texi (Envz Functions): Add envz_remove.
31788 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31790         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31791         (invalid_name): New function, broken out of ...
31792         (__opendirat): ... here.  Call it.
31793         (need_isdir_precheck): New function, broken out of ...
31794         (__opendirat): ... here.  Call it.
31795         Use __fxstatat64, not __xstatat64.
31796         (opendir_oflags): New function, broken out of ...
31797         (__opendirat): ... here.  Call it.
31798         (opendir_tail): New function, broken out of ...
31799         (__opendirat): ... here.  Call it.
31800         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31801         opendir_tail, rather than punting to __opendirat.
31802         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31804 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31806         * .gitignore: Ignore generated *.pyc.
31808 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31810         * include/stdio.h: Define __need_wint_t.
31811         * test-skeleton.c: Avoid `for' loop initial declaration.
31812         * nptl/tst-initializers1.c: Use test-skeleton.c.
31814 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31816         [BZ #18418]
31817         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31819 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31821         [BZ #16352]
31822         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31823         (__ieee754_atanh): Force underflow exception for results with
31824         small absolute value.
31825         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31826         (__ieee754_atanhf): Force underflow exception for results with
31827         small absolute value.
31828         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31829         (__ieee754_atanh): Force underflow exception for results with
31830         small absolute value.
31831         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31832         (__ieee754_atanhf): Force underflow exception for results with
31833         small absolute value.
31834         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31835         (__ieee754_atanhl): Force underflow exception for results with
31836         small absolute value.
31837         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31838         (__ieee754_atanhl): Force underflow exception for results with
31839         small absolute value.
31840         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31841         (__ieee754_atanhl): Force underflow exception for results with
31842         small absolute value.
31843         * math/auto-libm-test-in: Do not allow missing underflow
31844         exceptions from atanh.
31845         * math/auto-libm-test-out: Regenerated.
31847         [BZ #18221]
31848         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31849         2**-28 as threshold for returning x or +/- 1/x.
31850         * math/auto-libm-test-in: Add more tests of tan.
31851         * math/auto-libm-test-out: Regenerated.
31853         [BZ #18220]
31854         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31855         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31856         * math/auto-libm-test-in: Add another test of lgamma.
31857         * math/auto-libm-test-out: Regenerated.
31859 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31861         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31862         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31863         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31864         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31865         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31866         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31867         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31868         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31869         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31870         (log1): Use fabs.  (my_log2): Use fabs.
31871         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31872         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31873         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31874         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31875         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31876         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31877         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31878         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31879         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31880         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31881         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31883 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31885         [BZ #18217]
31886         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31887         as threshold for returning 1 - x.
31888         * math/auto-libm-test-in: Add more tests of erfc.
31889         * math/auto-libm-test-out: Regenerated.
31891 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31893         [BZ #18196]
31894         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31895         threshold for large arguments.
31896         * math/auto-libm-test-in: Add another test of atan.
31897         * math/auto-libm-test-out: Regenerated.
31899         [BZ #16339]
31900         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31901         (__log1p): Force underflow exception for results with small
31902         absolute value.
31903         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31904         (__log1pf): Force underflow exception for results with small
31905         absolute value.
31906         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31907         (__log1p): Force underflow exception for results with small
31908         absolute value.
31909         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31910         (__log1pf): Force underflow exception for results with small
31911         absolute value.
31912         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31913         (__log1pl): Force underflow exception for results with small
31914         absolute value.
31915         * math/auto-libm-test-in: Do not allow missing underflow
31916         exceptions from log1p.
31917         * math/auto-libm-test-out: Regenerated.
31919 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31920             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31922         [BZ #16704]
31923         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31925 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31927         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31928         (libmvec): New variable.
31929         * configure.ac: Added option for mathvec build.
31930         * configure: Regenerated.
31931         * mathvec/Depend: New file.
31932         * mathvec/Makefile: New file.
31933         * shlib-versions: Added libmvec.
31934         * math/Makefile: Added rule for libm.so installation.
31936         * bits/math-vector.h: New file.
31937         * bits/libm-simd-decl-stubs.h: New header.
31938         * math/Makefile (headers): Added new header
31939         libm-simd-decl-stubs.h.
31940         * math/math.h (__MATHCALL_VEC): New macro.
31942         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31943         for conditions in testing functions.
31944         * math/Makefile: Added call of libm-have-vector-test.sh.
31945         * math/libm-test.inc (HAVE_VECTOR): New macros.
31947         * math/libm-test.inc: START refactored.
31948         * math/test-double.c (TEST_MATHVEC): Add define.
31949         * math/test-float.c: Likewise.
31950         * math/test-idouble.c: Likewise.
31951         * math/test-ifloat.c: Likewise.
31952         * math/test-ildoubl.c: Likewise.
31953         * math/test-ldouble.c: Likewise.
31954         * sysdeps/generic/math-tests-arch.h
31955         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31956         architecture check.
31958         * math/test-double.c (FUNC_TEST): New macro.
31959         * math/test-float.c: Likewise.
31960         * math/test-idouble.c: Likewise.
31961         * math/test-ifloat.c: Likewise.
31962         * math/test-ildoubl.c: Likewise.
31963         * math/test-ldouble.c: Likewise.
31964         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31966 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31968         * sysdeps/nacl/fdopendir.c: New file.
31970         * dirent/scandir-tail.c: New file.
31971         * dirent/scandir64-tail.c: New file.
31972         * dirent/Makefile (routines): Add them.
31973         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31974         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31975         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31976         [!SCANDIR] (SCANDIR_TAIL): New macro.
31977         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31978         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31979         (SCANDIRAT): Macro removed.
31980         (SCANDIR_TAIL): New macro.
31981         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31982         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31983         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31984         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31985         (READDIR): Macro removed.
31986         (SCANDIR_TAIL): New macro.
31987         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31988         (SCANDIR_TAIL): New macro.
31990         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31991         * dirent/scandir-cancel.c: ... to this new file.
31992         * dirent/Makefile (routines): Add it.
31993         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31994         * sysdeps/unix/sysv/linux/i386/scandir64.c
31995         (SKIP_SCANDIR_CANCEL): Macro removed.
31996         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31998         * dirent/tst-scandir.c: New file.
31999         * dirent/tst-scandir64.c: New file.
32000         * dirent/Makefile (tests): Add them.
32002 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
32004         [BZ #18409]
32005         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
32007 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32009         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
32010         list.
32012 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
32014         * benchtests/bench-strcoll.c: New benchmark.
32015         * benchtests/Makefile: Generate locales and run benchmark.
32016         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
32017         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
32018         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
32019         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
32020         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
32021         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
32022         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
32023         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
32024         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
32025         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
32026         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
32027         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
32028         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
32029         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
32030         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
32031         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
32032         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
32033         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
32034         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
32035         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
32036         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
32037         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
32038         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
32039         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
32041 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
32043         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
32044         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32046 2015-05-12  Roland McGrath  <roland@hack.frob.com>
32048         * posix/uname-values.h: New file.
32049         * posix/uname.c: Include that instead of <config-name.h>.
32050         * sysdeps/nacl/uname-values.h: New file.
32051         * sysdeps/arm/nacl/uname-values.h: New file.
32053 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
32055         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
32056         splitting into fields.
32058 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
32060         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
32061         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
32062         * locale/localeinfo.h: Add enum collation_encoding_type.
32063         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
32064         * programs/ld-collate.c (collate_output): Add encoding type info.
32065         * string/strcoll_l.c (STRDIFF): New function.
32066         * (STRCOLL): Use STRDIFF to skip over equal prefix.
32067         * wcsmbs/wcscoll_l.c: Define STRDIFF.
32069 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
32071         [BZ #18397]
32072         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
32073         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
32074         <fpu_control.h> instead of <math/fpu_control.c>.
32075         * sysdeps/mips/mips32/fpu/Makefile: New file.
32077 2015-05-11  Andreas Schwab  <schwab@suse.de>
32079         [BZ #18007]
32080         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
32081         nss_endgrent.
32082         (_nss_compat_endgrent): Call nss_endgrent.
32083         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
32084         nss_endpwent.
32085         (_nss_compat_endpwent): Call nss_endpwent.
32086         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
32087         needent, call nss_setspent only if non-zero.
32088         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
32089         (internal_endspent): Don't call nss_endspent.
32090         (_nss_compat_endspent): Call nss_endspent.
32091         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
32092         Remove.  All uses removed.
32093         (internal_setent): Remove parameter stayopen, add parameter
32094         stream.  Use it instead of global variable.
32095         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
32096         (internal_endent, internal_getent): Add parameter stream.  Use it
32097         instead of global variable.
32098         (CONCAT(_nss_files_end,ENTNAME))
32099         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
32100         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
32101         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
32102         uses removed.
32103         (internal_setent, internal_endent): Add parameter stream.  Use it
32104         instead of global variable.
32105         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
32106         stream.
32107         (get_next_alias): Add parameter stream.
32108         (_nss_files_getaliasent_r): Pass global stream.
32109         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
32110         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
32111         (_nss_files_gethostbyname4_r): Pass local stream to
32112         internal_setent, internal_getent and internal_endent.  Remove
32113         locking.
32115 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32117         * tst-strfmon1.c (tests): Update expected currency symbol.
32119 2015-05-08  Roland McGrath  <roland@hack.frob.com>
32121         * sysdeps/nacl/gethostname.c: New file.
32123 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
32125         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
32126         and sinh.
32127         * math/auto-libm-test-out: Regenerated.
32128         * sysdeps/i386/fpu/libm-test-ulps: Update.
32129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32131 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
32133         [BZ #18125]
32134         * stdlib/tst-setcontext3.c: New file.
32135         * stdlib/tst-setcontext3.sh: New file.
32136         * stdlib/Makefile (tests): Add tst-setcontext3.
32137         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
32138         to verify test program created output file.
32139         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
32140         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
32141         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
32142         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
32144 2015-05-06  Roland McGrath  <roland@hack.frob.com>
32146         [BZ #18383]
32147         * elf/tst-tlsalign.c: New file.
32148         * elf/tst-tlsalign-static.c: New file.
32149         * elf/tst-tlsalign-lib.c: New file.
32150         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
32151         (tests-static): Add tst-tlsalign-static.
32152         (modules-names): Add tst-tlsalign-lib.
32153         (test-xfail-tst-tlsalign): New variable.
32154         (test-xfail-tst-tlsalign-static): New variable.
32156         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
32157         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
32159 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
32161         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
32162         csqrt, erfc, sin and sincos.
32163         * math/auto-libm-test-out: Regenerated.
32164         * sysdeps/i386/fpu/libm-test-ulps: Update.
32165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32167 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32169         * sysdeps/aarch64/libm-test-ulps: Update.
32171 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
32173         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
32174         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
32175         * math/auto-libm-test-out: Regenerated.
32176         * sysdeps/i386/fpu/libm-test-ulps: Update.
32177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32179 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32181         [BZ #18265]
32182         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
32183         (wcsncpy): Likewise.
32185 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32187         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32188         Assume __ASSUME_FALLOCATE is always true.
32189         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32190         (__posix_fallocate64_l64): Likewise.
32191         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
32192         (posix_fallocate): Likewise.
32193         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
32194         (__posix_fallocate64_l64): Likewise.
32195         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32196         [!__ASSUME_FALLOCATE]: Add comment.
32198 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32200         * sysdeps/unix/sysv/linux/i386/Makefile
32201         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
32202         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
32203         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
32204         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32205         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32206         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
32207         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
32209 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
32211         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
32212         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
32213         tgamma.
32214         * math/auto-libm-test-out: Regenerated.
32215         * sysdeps/i386/fpu/libm-test-ulps: Update.
32216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32218 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32220         * math/auto-libm-test-in: Add more tests of tgamma.
32221         * math/auto-libm-test-out: Regenerated.
32222         * sysdeps/i386/fpu/libm-test-ulps: Update.
32223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32225         * math/auto-libm-test-in: Add more tests of tanh.
32226         * math/auto-libm-test-out: Regenerated.
32227         * sysdeps/i386/fpu/libm-test-ulps: Update.
32228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32230         * math/auto-libm-test-in: Add more tests of tan.
32231         * math/auto-libm-test-out: Regenerated.
32232         * sysdeps/i386/fpu/libm-test-ulps: Update.
32233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32235         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
32236         * math/auto-libm-test-out: Regenerated.
32237         * sysdeps/i386/fpu/libm-test-ulps: Update.
32238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32240         * math/auto-libm-test-in: Add another test of pow.
32241         * math/auto-libm-test-out: Regenerated.
32242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32244         * math/auto-libm-test-in: Add more tests of lgamma.
32245         * math/auto-libm-test-out: Regenerated.
32246         * sysdeps/i386/fpu/libm-test-ulps: Update.
32247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32249         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
32250         log1p.
32251         * math/auto-libm-test-out: Regenerated.
32252         * sysdeps/i386/fpu/libm-test-ulps: Update.
32253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32255 2015-05-01  Mark Wielaard  <mjw@redhat.com>
32257         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
32258         Elf64_Chdr structs and ELFCOMPRESS constants.
32260 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32262         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
32263         expm1.
32264         * math/auto-libm-test-out: Regenerated.
32265         * sysdeps/i386/fpu/libm-test-ulps: Update.
32266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32268         * math/auto-libm-test-in: Add more tests of erf and erfc.
32269         * math/auto-libm-test-out: Regenerated.
32270         * sysdeps/i386/fpu/libm-test-ulps: Update.
32271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32273 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32275         * config.h.in (HAVE_AARCH64_BE): Add.
32277 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
32279         * math/auto-libm-test-in: Add more tests of csqrt.
32280         * math/auto-libm-test-out: Regenerated.
32281         * sysdeps/i386/fpu/libm-test-ulps: Update.
32282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32284         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32285         * math/auto-libm-test-out: Regenerated.
32286         * sysdeps/i386/fpu/libm-test-ulps: Update.
32287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32289         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
32291 2015-04-29  Roland McGrath  <roland@hack.frob.com>
32293         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
32294         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32296         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32297         (euidaccess, eaccess): Define as weak aliases.
32299         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32300         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32301         but __suseconds_t is often 'long int' so some sources assume that
32302         type is being used (e.g. they use %ld to print tv_usec).
32304 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32306         [BZ #18007]
32307         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32308         (CVE-2014-8121)
32309         * nss/tst-nss-getpwent.c: New file.
32310         * nss/Makefile (tests): Add new test.
32312 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32314         [BZ #18346]
32315         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32316         exponents less than 48 as cases where high part of mantissa needs
32317         examining to determine whether argument is integral.
32318         * math/libm-test.inc (round_test_data): Add more tests.
32320 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32322         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32324 2015-04-27  David S. Miller  <davem@davemloft.net>
32326         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32327         __tls_get_addr.
32328         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32330 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32332         [BZ #18333]
32333         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32335 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32337         [BZ #18333]
32338         * time/tzset.c (parse_tzname): Return error on memory allocation
32339         failure.
32340         * test-skeleton.c (struct temp_name_list): Change type of name
32341         member to non-const.
32342         (add_temp_file): Create a copy of the file name.
32343         (delete_temp_files): Deallocate memory.
32344         (create_temp_file): Add comment.
32346 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32348         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32349         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32351 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32353         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32354         * sysdeps/arm/configure: Regenerated.
32356 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32358         [BZ #17715]
32359         * time/tzfile.c (__tzfile_read): Check for large values of
32360         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32361         * time/tzset.c (__tzstring_len): New function, based on the old
32362         __tzstring function.
32363         (__tzstring): Call __tzstring_len.
32364         (parse_tzname): New helper function extracted from
32365         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32366         the input string.
32367         (parse_offset): New helper function extracted from
32368         __tzset_parse_tz.  Replace switch with fallthrough with
32369         initialization before sscanf.
32370         (parse_rule): Likewise.
32371         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32372         new-style function definition.
32373         * timezone/Makefile (tests): Add tst-tzset.
32374         (tst-tzset.out): Dependencies on time zone files.
32375         (tst-tzset-ENV): Set TZDIR.
32376         (testdata/XT%): Copy crafted time zone files.
32377         * timezone/README: Mention crafted time zone files.
32378         * timezone/testdata/XT1, timezone/testdata/XT2,
32379         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32380         files.
32381         * timezone/tst-tzset.c: New test.
32383 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32385         * Makeconfig (+gccwarn): Remove -Winline.
32387 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32389         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32391 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32393         * NEWS: Mention sysconf() cache information support for s390.
32394         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32396 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32398         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32399         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32400         (__nearbyint): Likewise.
32401         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32402         (copysignl): Likewise.
32404 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32406         [BZ #18287]
32407         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32408         based on padding.  (CVE-2015-1781)
32410 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32412         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32413         libc-vdso.h.
32414         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32415         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32416         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32417         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32418         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32419         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32420         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32421         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32422         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32423         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32424         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32425         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32426         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32427         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32428         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32429         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32430         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32431         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32432         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32433         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32434         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32435         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32436         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32438 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32440         * stdlib/setenv.c (__add_to_environ):
32441         Dump core quickly if setenv (..., NULL, ...) is called.
32442         This time, do it the right way, and pacify GCC with a pragma.
32444 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32446         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32447         IMAP->l_prev cannot be null, and #if out the code for the contrary
32448         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32449         believe that NS (&_dl_ns[NSID]) could point outside the array.
32451         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32452         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32453         before using NSID as an index.
32455 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32457         [BZ #17825]
32458         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32459         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32460         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32462 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32464         Add preliminary port to Google Native Client on ARM.
32465         * abi-tags (.*-.*-nacl.*): New entry.
32466         * sysdeps/arm/nacl: New directory.
32467         * sysdeps/nacl: New directory.
32469 2015-04-16  David S. Miller  <davem@davemloft.net>
32471         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32472         lowlevellock-futex.h
32474 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32476         * sysdeps/tile/configure.ac: New file.
32477         * sysdeps/tile/configure: Regenerated.
32479 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32481         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32482         conditionals for weak_alias and libc_hidden_weak.
32483         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32484         libc_hidden_weak and weak_alias.
32485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32486         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32487         and weak_alias for static one.
32489 2015-04-15  David S. Miller  <davem@davemloft.net>
32491         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32493 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32495         [BZ #18206]
32496         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32497           Use signed comparision instead of substraction to avoid
32498           overflow bug.
32499         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32500           Take the sign of ret.
32501         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32502           Do not expect precise return values. Only the sign matters.
32503         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32504         * wcsmbs/test-wcsncmp.c: New File.
32505         * string/test-strncmp.c: Add wcsncmp support.
32507 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32509         [BZ #6792]
32510         * math/w_log1p.c: New file.
32511         * math/w_log1pf.c: Likewise.
32512         * math/w_log1pl.c: Likewise.
32513         * math/Makefile (libm-calls): Add w_log1p.
32514         * math/s_log1pl.c (log1pl): Remove weak_alias.
32515         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32516         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32517         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32518         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32519         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32520         [NO_LONG_DOUBLE] (log1pl): Likewise.
32521         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32522         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32523         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32524         (log1p): Remove long_double_symbol.
32525         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32526         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32527         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32528         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32529         remove weak_alias for corresponding log1p function.
32530         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32531         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32532         * sysdeps/ia64/fpu/w_log1p.c: New file.
32533         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32534         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32535         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32537 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32539         [BZ #18247]
32540         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32541         decimal exponent by 1.
32542         * stdlib/tst-strtod-round-data: Add more tests.
32543         * stdlib/tst-strtod-round.c (tests): Regenerated.
32545 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32547         * math/auto-libm-test-in: Add more tests of clog and clog10.
32548         * math/auto-libm-test-out: Regenerated.
32549         * sysdeps/i386/fpu/libm-test-ulps: Update.
32550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32552 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32554         * Makeconfig (module-cppflags): Exclude all .v.i files.
32555         (skip-module-cppflags): Variable removed.
32557         * configure.ac (libc_config_ok): Initialize before reading
32558         preconfigure scripts, not after.
32559         * configure: Regenerated.
32561         * test-skeleton.c (TIMEOUT): Move #define to top level.
32562         (main): Grok environment variable TEST_DIRECT.  If set, print
32563         test expectation details into that file and then behave as if
32564         given --direct.
32566 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32568         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32569         warning on 32-bit.
32571 2015-04-08  David S. Miller  <davem@davemloft.net>
32573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32575 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32577         * math/auto-libm-test-in: Add more tests of atanh.
32578         * math/auto-libm-test-out: Regenerated.
32579         * sysdeps/i386/fpu/libm-test-ulps: Update.
32580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32582         * math/auto-libm-test-in: Add more tests of atan.
32583         * math/auto-libm-test-out: Regenerated.
32584         * sysdeps/i386/fpu/libm-test-ulps: Update.
32585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32587 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32589         * elf/pldd.c (main): Rewrite to use struct
32590         scratch_buffer instead of extend_alloca.
32591         * elf/pldd-xx.c (find_maps): Likewise.
32592         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32593         <alloca.h>.
32594         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32595         scratch_buffer instead of extend_alloca.
32596         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32597         grp/compat-initgroups.c.
32598         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32599         Rewrite to use struct scratch_buffer instead of extend_alloca.
32600         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32601         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32603 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32605         * math/auto-libm-test-in: Add more tests of cbrt.
32606         * math/auto-libm-test-out: Regenerated.
32607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32609         * math/auto-libm-test-in: Add more tests of cabs.
32610         * math/auto-libm-test-out: Regenerated.
32611         * sysdeps/i386/fpu/libm-test-ulps: Update.
32612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32614         [BZ #18210]
32615         [BZ #18211]
32616         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32617         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32618         computations.
32619         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32620         clog10.
32621         * math/auto-libm-test-out: Regenerated.
32622         * sysdeps/i386/fpu/libm-test-ulps: Update.
32623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32625         [BZ #18197]
32626         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32627         (atan): Set FE_TONEAREST mode for internal computations.
32628         * math/auto-libm-test-in: Add more tests of atan.
32629         * math/auto-libm-test-out: Regenerated.
32631 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32633         [BZ #17930]
32634         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32636 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32638         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32640 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32642         * include/scratch_buffer.h: New file.
32643         * malloc/scratch_buffer_grow.c: Likewise.
32644         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32645         * malloc/scratch_buffer_set_array_size.c: Likewise.
32646         * malloc/tst-scratch_buffer.c: Likewise.
32647         * malloc/Makefile (routines): Add scratch_buffer_grow.
32648         (tests): Add test case.
32649         * malloc/Versions (GLIBC_PRIVATE): Export
32650         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32651         __libc_scratch_buffer_set_array_size.
32653 2015-04-06  Richard Henderson  <rth@redhat.com>
32655         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32656         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32658         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32659         unsigned int before printing.
32661 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32663         [BZ #17596]
32664         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32665         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32667 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32669         * include/libc-internal.h (libc_max_align_t): Define.
32671 2015-04-02  Andreas Schwab  <schwab@suse.de>
32673         [BZ #16850]
32674         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32676 2015-04-02  Mel Gorman  <mgorman@suse.de>
32678         [BZ #17195]
32679         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32680         as well as the main arena.
32682 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32684         [BZ #18185]
32685         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32686         sharing L2 cache to 2 for Silvermont/Knights Landing.
32688 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32690         [BZ #17711]
32691         * config.make.in (have-protected-data): New.
32692         * configure.ac: Check linker support for protected data symbol.
32693         * configure: Regenerated.
32694         * elf/Makefile (modules-names): Add tst-protected1moda and
32695         tst-protected1modb if $(have-protected-data) is yes.
32696         (tests): Add tst-protected1a and tst-protected1b if
32697         $(have-protected-data) is yes.
32698         ($(objpfx)tst-protected1a): New.
32699         ($(objpfx)tst-protected1b): Likewise.
32700         (tst-protected1modb.so-no-z-defs): Likewise.
32701         * elf/tst-protected1a.c: New file.
32702         * elf/tst-protected1b.c: Likewise.
32703         * elf/tst-protected1mod.h: Likewise.
32704         * elf/tst-protected1moda.c: Likewise.
32705         * elf/tst-protected1modb.c: Likewise.
32707 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32709         [BZ #17711]
32710         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32711         indicates it is called from do_lookup_x on relocation against
32712         protected data, skip the data definion in the executable from
32713         copy reloc.
32714         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32715         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32716         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32717         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32718         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32719         otherwise to 0.
32720         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32721         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32722         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32723         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32724         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32725         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32727 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32729         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32730         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32732 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32734         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32735         THREAD_SETMEM_NC.
32736         * sysdeps/x86_64/nptl/tls.h: Ditto.
32738 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32740         * dlfcn/tststatic.c (main): Converted to ...
32741         (do_test): ... this.
32742         (TEST_FUNCTION): New macro.
32743         Include test-skeleton.c.
32745 2015-03-26  Alan Modra  <amodra@gmail.com>
32747         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32748         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32749         zero for undefined weak.
32750         (elf_machine_plt_conflict): Similarly.
32752 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32754         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32755         atanh.
32756         * math/auto-libm-test-out: Regenerated.
32757         * sysdeps/i386/fpu/libm-test-ulps: Update.
32758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32760         * math/auto-libm-test-in: Add another test of asin.
32761         * math/auto-libm-test-out: Regenerated.
32762         * sysdeps/i386/fpu/libm-test-ulps: Update.
32763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32765         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32766         Remove macro.
32767         (LLL_EBX_REG): Likewise.
32768         (LLL_ENTER_KERNEL): Likewise.
32770         * math/auto-libm-test-in: Add more tests of asin.
32771         * math/auto-libm-test-out: Regenerated.
32772         * sysdeps/i386/fpu/libm-test-ulps: Update.
32773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32775         [BZ #18138]
32776         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32777         libc_do_syscall_args): New structure.
32778         (INTERNAL_SYSCALL_MAIN_0): New macro.
32779         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32780         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32781         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32782         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32783         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32784         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32785         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32786         Replace conditional definitions by conditional definitions of ....
32787         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32788         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32789         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32790         (libpthread-sysdep_routines): Add libc-do-syscall.
32791         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32792         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32793         to __NR_futex not 240.
32795 2015-03-25  Alan Modra  <amodra@gmail.com>
32797         * NEWS: Advertise TLS optimization.
32798         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32799         (DT_PPC_NUM): Increment.
32800         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32801         (CHECK_STATIC_TLS): Use here.
32802         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32803         TLS descriptors.
32804         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32805         * sysdeps/powerpc/dl-tls.c: New file.
32806         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32807         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32808         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32809         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32814 2015-03-25  Alan Modra  <amodra@gmail.com>
32816         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32817         for overlapping .opd entries" to "support...".
32818         * sysdeps/powerpc/powerpc64/configure: Regenerate
32820 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32822         * math/auto-libm-test-in: Add more tests of acos.
32823         * math/auto-libm-test-out: Regenerated.
32824         * sysdeps/i386/fpu/libm-test-ulps: Update.
32825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32827         * math/auto-libm-test-in: Add more tests of expm1.
32828         * math/auto-libm-test-out: Regenerated.
32829         * sysdeps/i386/fpu/libm-test-ulps: Update.
32830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32832 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32834         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32835         * math/auto-libm-test-out: Regenerated.
32836         * sysdeps/i386/fpu/libm-test-ulps: Update.
32837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32839         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32842         * math/auto-libm-test-in: Add more tests of log2.
32843         * math/auto-libm-test-out: Regenerated.
32844         * sysdeps/i386/fpu/libm-test-ulps: Update.
32845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32847 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32849         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32850         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32851         _IO_IS_APPENDING bit in READ_WRITE instead.
32853 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32855         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32856         (__determine_cpumask_size): Replace extend_alloca with a
32857         variable-length array.  Do not treat res == 0 as an error.
32859 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32861         [BZ #18100]
32862         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32863         and integer overflow.
32864         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32865         (main): Add integer overflow tests.
32866         * manual/pattern.texi (Calling Wordexp): Document additional use
32867         for WRDE_SYNTAX.
32869 2015-03-23  Alan Modra  <amodra@gmail.com>
32871         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32872         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32873         and false branch of conditional.
32874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32875         Likewise.
32877 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32879         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32880         libc-modules.h
32881         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32882         unused declaration of _hurd_intr_rpc_msg_in_trap.
32883         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32884         defined instead of whether it is non-zero.
32885         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32886         input constraint instead of both input and output constraint.  Use ecx
32887         clobber instead of %ecx.
32888         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32889         mutex_unlock): Use a statement expression instead of an expression list.
32890         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32891         type to vm_size_t instead of vm_address_t.
32892         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32893         defined instead of whether it is non-zero.
32894         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32895         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32896         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32897         comparisons with mapaddr.
32898         * nscd/nscd-client.h: Include <time.h>.
32899         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32900         9th parameter to __vm_region instead of int.
32901         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32902         * scripts/check-local-headers.sh (exclude): Add device/,
32903         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32904         cthreads.h.
32906 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32908         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32909         to account for alignment padding.
32910         * sysdeps/arm/memmove.S: Likewise.
32912 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32914         * sysdeps/unix/sysv/linux/generic/README: New file.
32916 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32918         [BZ #18138]
32919         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32920         (futex_abstimed_wait)
32921         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32922         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32923         of lll_futex_timed_wait.
32925 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32927         [BZ #17542]
32928         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32930 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32932         [BZ #17090]
32933         [BZ #17620]
32934         [BZ #17621]
32935         [BZ #17628]
32936         * NEWS: Update.
32937         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32938         entries with Static TLS too.  Skip entries past the end of the
32939         allocated DTV, from Alan Modra.
32940         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32941         Static TLS DTV entry set up from...
32942         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32943         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32944         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32945         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32946         for Static TLS.
32947         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32948         that the slot we find is associated with the given map before
32949         using its generation count.
32950         * nptl_db/db_info.c: Include ldsodefs.h.
32951         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32952         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32953         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32954         (link_map::l_tls_offset): New struct field.
32955         (dtv_t::counter): Likewise.
32956         (rtld_global): New struct.
32957         (_rtld_global): New rtld variable.
32958         (dl_tls_dtv_slotinfo_list): New rtld global field.
32959         (dtv_slotinfo_list): New struct.
32960         (dtv_slotinfo): Likewise.
32961         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32962         (td_lookup): Rename to...
32963         (td_mod_lookup): ... this.  Use new mod parameter instead of
32964         LIBPTHREAD_SO.
32965         * nptl_db/td_thr_tlsbase.c: Include link.h.
32966         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32967         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32968         addresses even if the DTV is out of date or missing them.
32969         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32970         index zero-length arrays.
32971         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32972         (td_lookup): Make it a macro implemented in terms of...
32973         (td_mod_lookup): ... this declaration.
32974         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32975         (DB_MAIN_VARIABLE): Likewise.
32977 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32979         [BZ #18134]
32980         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32982 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32984         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32986 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32988         [BZ #18128]
32989         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32990         (atomic_add, atomic_increment_and_test)
32991         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32993 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32995         * stdlib/setenv.c (__add_to_environ):
32996         Dump core quickly if setenv (..., NULL, ...) is called.
32998 2015-03-13  Roland McGrath  <roland@hack.frob.com>
33000         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
33001         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
33002         all the necessary asm magic in one place.
33003         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
33004         using those.
33006 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
33008         [BZ #14906]
33009         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
33010         traced file mtime. Use consistent log message.
33011         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
33012         (register_traced_file): Call install_watches. Always set mtime.
33013         (invalidate_cache): Iterate over all trace files. Call install_watches.
33014         (inotify_check_files): Don't inline. Handle watching parent
33015         directories and configuration file movement in and out.
33016         (handle_inotify_events): New function.
33017         (main_loop_poll): Call handle_inotify_events.
33018         (main_loop_epoll): Likewise.
33019         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
33020         (struct traced_file): Use array of inotify fds. Add parent directory,
33021         and basename.
33022         (struct database_dyn): Remove unused file_mtime.
33023         (init_traced_file): New inline function.
33024         (define_traced_file): New macro.
33025         * nss/nss_db/db-init.c: Use define_traced_file.
33026         (_nss_db_init): Use init_traced_file.
33027         * nss/nss_files/files-init.c: Use define_traced_file.
33028         (_nss_files_init): Use init_traced_file.
33030 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
33032         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
33033         [_LIBC]: Do not include <stdlib.h>.
33034         [!_LIBC] (abort): Remove declaration.
33035         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
33036         _FP_STATIC_ASSERT instead of conditionally calling abort.
33037         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
33038         (_FP_EXTEND_CNAN): Likewise.
33039         (FP_TRUNC): Likewise.
33040         (__FP_CLZ): Likewise.
33041         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
33043 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
33045         * manual/string.texi (XPG basename): Fix prototype.
33047 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33049         [BZ #18080]
33050         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
33051         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33052         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
33053         (__setcontext): Likewise.
33054         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
33055         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33056         Call rt_sigprocmask syscall one time to set new signal mask
33057         and retrieve the current signal mask instead of two calls.
33058         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
33059         (__swapcontext): Likewise.
33060         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
33061         * stdlib/tst-setcontext2.c: New file.
33063 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33065         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33067 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
33069         [BZ #18093]
33070         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
33071         the wrong size.
33073 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33075         [BZ #18043]
33076         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
33078 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33080         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
33081         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
33082         Remove define.
33083         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
33084         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
33085         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
33086         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
33087         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
33088         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
33089         define.
33090         * nptl_db/td_symbol_list.c (td_lookup): Remove
33091         HAVE_ASM_GLOBAL_DOT_NAME code.
33092         * sysdeps/powerpc/powerpc64/configure.ac: Remove
33093         HAVE_ASM_GLOBAL_DOT_NAME check.
33094         * sysdeps/powerpc/powerpc64/configure: Regenerate.
33095         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
33096         (DOT_LABEL): Remove define.
33097         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
33098         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
33099         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
33100         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
33101         (__TLS_GET_ADDR): Likewise.
33102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
33103         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
33105 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
33107         [BZ #18111]
33108         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
33109         (_FPU_SETCW): Initialize cw from fpsr before storing.
33110         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
33111         (fesetexceptflag): Rewrite using fpu_control.h.
33112         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
33114 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
33116         [BZ #18110]
33117         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
33118         asms.
33119         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33121 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
33123         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
33124         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
33125         abort.
33126         (_FP_FMA): Likewise.
33127         (_FP_DIV): Likewise.
33129 2015-03-10  Roland McGrath  <roland@hack.frob.com>
33131         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
33132         with 0 in that case.
33133         * Makefile (summarize-tests): New canned sequence, factored out of
33134         commands for targets tests and xtests.  Display summary lines that
33135         don't start with PASS: or XFAIL: rather than ones that do start with
33136         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
33137         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
33138         do start with ERROR: or FAIL:.
33139         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
33140         (except for [$(build-shared) = yes]).
33141         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
33142         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
33143         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
33144         * nptl/Makefile: Revert 2015-03-04 changes.
33145         [$(CXX) empty] (tests-unsupported): New variable.
33146         * debug/Makefile: Likewise.
33148         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
33149         gnulib file.  Replace __attribute with __attribute__ throughout.
33151 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
33153         * sysdeps/hppa/fpu/libm-test-ulps: Update.
33155 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33157         [BZ #18104]
33158         * math/auto-libm-test-in: Add another test of pow.
33159         * math/auto-libm-test-out: Regenerated.
33161 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33163         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
33164         $(config-cflags-nofma).
33166 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33168         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
33169         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
33170         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
33171         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
33172         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
33173         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
33174         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
33175         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
33176         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
33177         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
33178         Add comment on closing #endif.
33180 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33182         * posix/wordexp.c (CHAR_IN_SET): New macro.
33183         (parse_param): Use it.
33185 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33187         * sysdeps/powerpc/fpu/libm-test-ulps: update.
33189 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33191         [BZ #18043]
33192         * posix/wordexp.c (parse_param): Fix buffer overflow.
33193         * posix/wordexp-test.c (test_case): Add test case.
33195 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33197         [BZ #18042]
33198         * posix/wordexp.c (parse_backtick): Fix off-by-one.
33199         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
33201 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33203         [BZ #18043]
33204         * posix/wordexp-test.c (test_case): Add test for BZ #18043
33205         (do_bz18043): Delete.
33206         (at_page_end): New.
33207         (testit): Refactor to have words at the edge of unreadable page.
33209 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33211         [BZ #16734]
33212         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
33213         Cleanup read-only streams as well.
33214         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
33216 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33218         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
33219         <bits/libc-lockP.h>
33221 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
33223         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
33224         on [__KERNEL__].
33225         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
33226         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
33227         * soft-fp/op-common.h (_FP_DECL): Likewise.
33229 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
33231         * elf/ifuncdep2.c (global): Replace
33232         __attribute__((visibility("protected"))) with
33233         asm (".protected global").
33234         * elf/ifuncmod1.c (global): Likewise.
33235         * elf/ifuncmod5.c (global): Likewise.
33237 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
33239         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
33240         <asm/sfp-machine.h> instead of <sfp-machine.h>.
33242 2015-03-06  Roland McGrath  <roland@hack.frob.com>
33244         * manual/install.texi (Configuring and compiling):
33245         Document test-wrapper-env-only.
33246         * INSTALL: Regenerated.
33248 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33250         [BZ #18043]
33251         * posix/wordexp.c (parse_param): Fix buffer overflow.
33252         * posix/wordexp-test.c (do_bz18043): Add test case.
33254 2015-03-06  Vincent Bernat  <vincent@bernat.im>
33256         * time/tst-strptime2.c (do_test): Ensure failing tests are
33257         reported correctly.
33258         * time/tst-strptime3.c (do_test): Likewise.
33260 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
33262         Fix aio_error thread-safety.
33263         * sysdeps/pthread/aio_error.c: New file
33264         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
33265         synchronization.
33267 2015-03-06  Florian Weimer  <fweimer@redhat.com>
33269         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
33270         (group_number, vfprintf): Use it.
33271         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
33272         (JUMP, REF): Use it.
33273         (WORK_BUFFER_SIZE): New enum constant.
33274         (process_arg, vfprintf): Use it.
33276 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
33278         * manual/errno.texi (Error Messages): Complete example function
33279         by adding missing #define.
33280         (program_invocation_name): Add statement indicating GNU
33281         extension and reference which header file declares the variable.
33282         (program_invocation_short_name): Likewise.
33284 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
33286         * manual/errno.texi (Error Messages): Delete strerror ISO C89
33287         compatibility note.
33289 2015-03-05  Roland McGrath  <roland@hack.frob.com>
33291         * Makeconfig (test-wrapper-env-only): New variable.
33292         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
33293         then use that with $(test-wrapper-env-only) rather than using
33294         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33296 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33298         [BZ #18082]
33299         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33300         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33301         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33302         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33303         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33304         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33305         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33306         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33307         Likewise.
33308         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33309         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33310         Likewise.
33311         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33312         Likewise.
33313         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33314         Likewise.
33315         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33316         Likewise.
33317         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33318         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33319         Likewise.
33320         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33321         Likewise.
33322         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33323         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33325 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33327         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33328         (ETH_ALEN): New macro.
33329         (struct ether_addr): Use it for length of ether_addr_octet.
33331         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33332         (setdb): Don't call __nss_configure_lookup for "rpc".
33333         (do_test): Don't call test_rpc.
33334         (output_rpcent, test_rpc): Functions moved ...
33335         * sunrpc/test-rpcent.c: ... to this new file.
33336         * sunrpc/Makefile (tests): Add it.
33338         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33339         __xpg_sigpause.
33340         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33341         * nptl/tst-signal6.c: Likewise.
33342         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33343         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33345         * configure.ac (libc_cv_cxx_link_ok): New check.
33346         Reset CXX to empty if it fails to link.
33347         * configure: Regenerated.
33348         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33349         bug-atexit3-lib only if $(CXX) is nonempty.
33350         * nptl/Makefile (tests): Likewise for tst-cancel24.
33351         (tests, tests-static): Likewise for tst-cancel24-static.
33352         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33353         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33354         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33355         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33357 2015-03-04  Andreas Schwab  <schwab@suse.de>
33359         [BZ #17631]
33360         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33361         for non-GCC compilers.
33362         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33363         Likewise.
33365 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33367         [BZ #17776]
33368         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33369         integer before bitwise and assembly operations.
33370         (feclearexcept): Likewise.
33371         * math/test-fenvinline.c: New file.
33372         * math/Makefile: Add test-fenvinline test.
33374 2015-03-03  Alan Modra  <amodra@gmail.com>
33376         [BZ #16512]
33377         * scripts/localplt.awk: Strip off symbol version.
33378         * NEWS: Mention bug fix.
33380 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33382         * sysdeps/pthread/timer_routines.c
33383         (timer_free_list, thread_free_list, thread_active_list): Make static.
33385 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33387         [BZ #17779]
33388         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33389         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33390         Undefine.
33391         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33392         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33393         Likewise.
33394         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33395         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33396         Likewise.
33398 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33400         [BZ #18036]
33401         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33402         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33404 2015-03-02  Andreas Schwab  <schwab@suse.de>
33406         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33407         variable name.
33409 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33411         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33412         Return error status.
33414 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33416         [BZ #15969]
33417         * locale/findlocale.c (_nl_find_locale): Introduce const
33418         version of loc_name and drop unsafe type casts.
33420 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33422         * dlfcn/tststatic2.c (main): Converted to ...
33423         (do_test): ... this.
33424         (TEST_FUNCTION): New macro.
33425         Include test-skeleton.c.
33427 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33429         [BZ #17711]
33430         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33431         (tests-pie): Add vismain.
33432         (CFLAGS-vismain.c): New.
33433         * elf/vismain.c: Add comments for PIE requirement.
33435 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33437         [BZ #18046]
33438         [BZ #18047]
33439         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33440         0x1p-56L as threshold for just returning the argument.
33441         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33442         0x1p-32L as threshold for just returning the argument.
33443         * math/auto-libm-test-in: Add more tests of atanh.
33444         * math/auto-libm-test-out: Regenerated.
33445         * sysdeps/i386/fpu/libm-test-ulps: Update.
33446         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33448 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33450         * string/bcopy.c (bcopy): Call memmove for performance.
33452 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33454         * string/bzero.c (__bzero): Call memset for performance.
33456 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33458         [BZ #18068]
33459         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33460         to 00100000.
33462 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33464         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33466 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33468         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33469         (__kernel_standard): Use CSTR macro when setting exc.name.
33470         * sysdeps/ieee754/Makefile [$(subdir) = math]
33471         (CFLAGS-k_standard.c): Remove variable.
33473         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33474         setting p and q from "else if" to "else".
33475         (qzero): Likewise.
33476         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33477         (qone): Likewise.
33478         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33479         (qzerof): Likewise.
33480         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33481         (qonef): Likewise.
33482         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33483         (qzero): Likewise.
33484         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33485         (qone): Likewise.
33487         [BZ #18038]
33488         [BZ #18039]
33489         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33490         return pi/2 for arguments below 0x1p-113L.
33491         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33492         return pi/2 for arguments below 0x1p-106L.
33493         * math/auto-libm-test-in: Add more tests of acos.
33494         * math/auto-libm-test-out: Regenerated.
33496         [BZ #16351]
33497         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33498         (MO): New macro.
33499         (__ieee754_asin): Force underflow exception for results with small
33500         absolute value.
33501         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33502         (MO): New macro.
33503         (__ieee754_asinf): Force underflow exception for results with
33504         small absolute value.
33505         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33506         (__ieee754_asin): Force underflow exception for results with small
33507         absolute value.
33508         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33509         (__ieee754_asinf): Force underflow exception for results with
33510         small absolute value.
33511         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33512         (__ieee754_asinl): Force underflow exception for results with
33513         small absolute value.
33514         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33515         (__ieee754_asinl): Force underflow exception for results with
33516         small absolute value.
33517         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33518         (__ieee754_asinl): Force underflow exception for results with
33519         small absolute value.
33520         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33521         Include <math.h>.
33522         * math/auto-libm-test-in: Do not mark underflow exceptions as
33523         possibly missing for bug 16351.
33524         * math/auto-libm-test-out: Regenerated.
33526         [BZ #18030]
33527         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33528         of power of 2 down when low part has opposite sign.
33529         * math/libm-test.inc (logb_test_data): Add more tests.
33531 2015-02-26  Andreas Schwab  <schwab@suse.de>
33533         [BZ #18032]
33534         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33535         over collating symbol inside a bracket expression.  Minor cleanup.
33536         * posix/tst-fnmatch3.c (do_test): Add test case.
33538 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33540         [BZ #18029]
33541         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33542         Adjust exponent of power of 2 down when low part has opposite
33543         sign.
33544         * math/libm-test.inc (ilogb_test_data): Add more tests.
33546 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33548         [BZ #15969]
33549         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33550         the previous change.
33552         [BZ #15969]
33553         * locale/findlocale.c (_nl_find_locale): Retry archive search
33554         after alias expansion.
33556 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33558         * iconv/tst-iconv3.c (main): Converted to ...
33559         (do_test): ... this.
33560         (TEST_FUNCTION): New macro.
33561         Include test-skeleton.c.
33563         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33564         (convert): Make function static.
33565         (test_unalign): Likewise.  Add const to argument pointee types.
33566         (main): Replace with static function do_test.
33567         Print "Succeeded." only if RET is zero.
33568         (TEST_FUNCTION): New macro.
33569         Include test-skeleton.c.
33571         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33572         returns a null pointer.
33574 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33576         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33577         to __memcpy_ppc only for static builds.
33579 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33581         [BZ #18020]
33582         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33583         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33584         * math/auto-libm-test-in: Add more tests of asinh.
33585         * math/auto-libm-test-out: Regenerated.
33586         * sysdeps/i386/fpu/libm-test-ulps: Update.
33587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33589 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33591         [BZ #15850]
33592         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33593         and ip6_mtuinfo definitions here.
33594         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33595         in this define too.  Update comment.
33597 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33599         * elf/sprof.c (load_shobj): Tweak error message to match others.
33601 2015-02-24  Kevin Easton  <kevin@guarana.org>
33603         [BZ #16145] (partial fix)
33604         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33605         to reduce lock contention.
33607 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33609         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33610         (struct timex): Update time comment.
33611         (ADJ_SETOFFSET): Define.
33613 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33615         [BZ #18019]
33616         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33617         2**56 not 2**28 as threshold for log (2x) formula.
33618         * math/auto-libm-test-in: Add more tests of acosh.
33619         * math/auto-libm-test-out: Regenerated.
33620         * sysdeps/i386/fpu/libm-test-ulps: Update.
33621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33623 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33625         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33626         parenthesis around the buf assignment.
33627         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33629 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33631         [BZ #16783]
33632         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33633         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33634         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33635         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33636         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33637         * math/libm-test.inc (scalb_test_data): Add more tests.
33639 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33641         [BZ #17916]
33642         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33643         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33645 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33647         [BZ #17523]
33648         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33649         * io/bits/fcntl2.h (open): Use it.
33650         (openat): Likewise.
33651         * io/open.c (__libc_open): Likewise.
33652         * io/open64.c (__libc_open64): Likewise.
33653         * io/open64_2.c (__open64_2): Likewise.
33654         * io/open_2.c (__open_2): Likewise.
33655         * io/openat.c (__openat): Likewise.
33656         * io/openat64.c (__openat64): Likewise.
33657         * io/openat64_2.c (__openat64_2): Likewise.
33658         * io/openat_2.c (__openat_2): Likewise.
33659         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33660         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33661         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33662         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33663         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33664         (__open_nocancel): Likewise.
33665         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33666         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33667         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33669 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33671         [BZ #14841]
33672         * resolv/gethnamaddr.c (getanswer): Skip logging if
33673         RES_USE_DNSSEC is set.
33674         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33676 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33678         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33680 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33682         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33683         201304L, for Unicode 7.
33685 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33687         [BZ #17836]
33688         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33689         shared library.  Add gmon-start.os otherwise.
33690         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33691         $(objpfx)gmon-start.os if builing shared library.
33692         ($(objpfx)g$(static-start-installed-name)): Likewise.
33694 2015-02-23  Andreas Schwab  <schwab@suse.de>
33696         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33698 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33700         [BZ #17269]
33701         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33702         (enlarge_userbuf): Likewise.
33704 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33706         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33707         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33708         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33709         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33711 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33713         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33714         expression inside statement expression.
33716 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33718         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33719         <sysdeps/nptl/lowlevellock.h> and remove macros and
33720         functions that are now defined there.
33721         (SYS_futex): Remove.
33722         (lll_compare_and_swap): Remove.
33723         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33725 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33727         [BZ #17999]
33728         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33729         instead of scandirat.
33730         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33731         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33732         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33733         __scandirat.
33734         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33735         (__scandirat): Declare.  Use libc_hidden_proto.
33736         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33737         Remove variable.
33738         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33740 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33742         [BZ #15319]
33743         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33744         (MO): New macro.
33745         (__ieee754_atan2): For results with small absolute value, force
33746         underflow exception and remove excess range and precision from
33747         return value.
33748         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33749         (MO): New macro.
33750         (__ieee754_atan2f): For results with small absolute value, force
33751         underflow exception and remove excess range and precision from
33752         return value.
33753         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33754         (MO): New macro.
33755         (__atan): For results with small absolute value, force underflow
33756         exception and remove excess range and precision from return value.
33757         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33758         (MO): New macro.
33759         (__atanf): For results with small absolute value, force underflow
33760         exception and remove excess range and precision from return value.
33761         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33762         <math.h>.
33763         (__ieee754_atan2): Force underflow exception for results with
33764         small absolute value.
33765         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33766         <math_private.h>.
33767         (atan): Force underflow exception for results with small absolute
33768         value.
33769         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33770         (__atanf): Force underflow exception for results with small
33771         absolute value.
33772         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33773         <math.h>.
33774         (__atanl): Force underflow exception for results with small
33775         absolute value.
33776         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33777         (__atanl): Force underflow exception for results with small
33778         absolute value.
33779         * sysdeps/x86/fpu/bits/mathinline.h
33780         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33781         (__ieee754_atan2): Only define inline for long double.
33782         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33783         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33784         * math/auto-libm-test-in: Do not mark underflow exceptions as
33785         possibly missing for bug 15319.  Add more tests of atan2.
33786         * math/auto-libm-test-out: Regenerated.
33787         * math/libm-test.inc (casin_test_data): Do not mark underflow
33788         exceptions as possibly missing for bug 15319.
33789         (casinh_test_data): Likewise.
33790         * sysdeps/i386/fpu/libm-test-ulps: Update.
33792 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33794         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33795         * sysdeps/mips/bits/endian.h: Fix comments.
33797 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33799         [BZ #17996]
33800         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33801         (hdestroy_r): Likewise.
33802         (hsearch_r): Likewise.
33803         (__hcreate_r): Declare and use libc_hidden_proto.
33804         (__hdestroy_r): Likewise.
33805         (__hsearch_r): Likewise.
33806         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33807         (hcreate): Call __hcreate_r instead of hcreate_r.
33808         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33809         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33810         as weak alias of __hcreate_r.
33811         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33812         __hdestroy_r.
33813         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33814         __hsearch_r.
33815         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33816         Remove variable.
33817         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33818         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33819         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33820         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33822 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33824         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33825         arena_lock into a single arena_get.
33827 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33829         * dl-reloc.c: Inlucde libc-internal.h.
33830         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33831         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33832         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33833         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33834         (grow_heap): Likewise.
33835         * malloc/malloc.c: Include libc-internal.h.
33836         (do_check_malloc): Call powerof2.
33837         (sysmalloc): Use pagesize. Call ALIGN_UP.
33838         (systrim): Use pagesize.
33839         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33840         (__libc_valloc): Use pagesize.
33841         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33843 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33845         [BZ #17991]
33846         * include/sys/resource.h (__getrlimit64): Declare.  Use
33847         libc_hidden_proto.
33848         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33849         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33850         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33851         getrlimit64.
33852         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33853         __getrlimit64.
33854         [!getrlimit64] (getrlimit64): Define as weak alias of
33855         __getrlimit64.  Use libc_hidden_weak.
33856         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33857         using __getrlimit64 not __new_getrlimit64.
33858         (__GI_getrlimit64): Likewise.
33859         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33860         Likewise.
33861         (__GI_getrlimit64): Likewise.
33862         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33864         (getrlimit): Add __getrlimit64 alias.
33865         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33866         Likewise.
33867         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33868         Remove variable.
33869         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33870         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33872 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33874         * libio/fileops.c: Add missing sys/mman.h
33875         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33877 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33879         * manual/math.texi (Errors in Math Functions): Clarify goals
33880         regarding inexact and underflow exceptions.
33882 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33884         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33885         * sysdeps/mips/memset.S: Ditto.
33887 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33889         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33891 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33893         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33894         (__v1longjmp): Remove versioned symbol.
33895         (__v1siglongjmp): Remove alias and versioned symbol.
33896         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33897         (__v2siglongjmp): Likewise.
33899 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33901         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33903 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33905         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33907 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33909         [BZ #17987]
33910         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33911         zero result does not depend on the sign resulting from
33912         subtraction.
33913         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33914         Likewise.
33915         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33916         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33917         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33918         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33919         * math/libm-test.inc (remquo_test_data): Add more tests.
33921 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33923         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33924         Problem reported by J William Piggott.
33926 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33928         [BZ #17978]
33929         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33930         products 4 * y and 2 * y where those would overflow.
33931         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33932         Likewise.
33933         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33934         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33935         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33936         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33937         * math/libm-test.inc (remquo_test_data): Add more tests.
33939         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33941         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33942         [defined _COMPILING_NEWLIB].
33943         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33944         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33946         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33947         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33949 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33951         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33952         acquired.
33954 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33956         [BZ #17792]
33957         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33958         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33959         HOST_STACK_END_ADDR): Likewise.
33961 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33963         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33964         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33965         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33967 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33969         * sysdeps/generic/c++-types.data: New file.
33970         * sysdeps/generic/ld.abilist: New file.
33971         * sysdeps/generic/libBrokenLocale.abilist: New file.
33972         * sysdeps/generic/libanl.abilist: New file.
33973         * sysdeps/generic/libc.abilist: New file.
33974         * sysdeps/generic/libcrypt.abilist: New file.
33975         * sysdeps/generic/libdl.abilist: New file.
33976         * sysdeps/generic/libm.abilist: New file.
33977         * sysdeps/generic/libpthread.abilist: New file.
33978         * sysdeps/generic/libresolv.abilist: New file.
33979         * sysdeps/generic/librt.abilist: New file.
33981 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33983         [BZ #17569]
33984         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33985         Compute absolute value of x as modified by fmod, not original
33986         value of x.
33987         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33988         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33989         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33990         RUN_TEST_ffI_f1_mod8.
33991         (remquo_test_data): Add more tests.
33993 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33995         * sysdeps/init_array/pt-crti.S: New file.
33997 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33999         [BZ #17967]
34000         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
34001         __builtin_fmaf instead of relying on contraction of a * b + c.
34003 2015-02-12  J William Piggott  <elseifthen@gmx.com>
34005         [BZ #17969]
34006         * manual/time.texi: correct the zoneinfo path in the TZ Variable
34007         node.
34009 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34011         [BZ #17964]
34012         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
34013         __builtin_fma instead of relying on contraction of a * b + c.
34015 2015-02-12  Roland McGrath  <roland@hack.frob.com>
34017         * Makeconfig (ASFLAGS): Add -Werror=undef.
34018         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
34019         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
34020         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
34022         * Makeconfig (after-link): New variable.
34023         (+link-pie, +link-pie-tests): Use it.
34024         (+link-static, +link-static-tests): Likewise.
34025         (+link, +link-tests): Likewise.
34026         * Makerules (build-module, build-module-asneeded): Likewise.
34027         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
34028         Likewise.
34029         * elf/Makefile ($(objpfx)ld.so): Likewise.
34031 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
34033         [BZ #17965]
34034         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
34035         both struct timeval and struct timespec.
34037 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34039         [BZ #16560]
34040         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34041         and redefine.
34042         (__ieee754_exp2l): Do not multiply small fractional parts by
34043         M_LN2l.
34044         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
34045         small argument.
34046         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34047         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34048         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
34049         * math/auto-libm-test-in: Add more tests of exp2.
34050         * math/auto-libm-test-out: Regenerated.
34052 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34054         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
34055         unaligned path.
34057 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34059         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
34060         little endian.
34062 2015-02-12  Andreas Schwab  <schwab@suse.de>
34064         [BZ #15790]
34065         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
34066         Filter out elision flags from value returned in kind.
34067         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
34068         * nptl/tst-pthread-mutexattr.c: New file.
34070 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34072         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
34073         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
34074         into gnu-gnu, and update comment to refer to abi-tags.
34076 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
34078         [BZ #15467]
34079         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
34080         (__sincos): Set errno to EDOM for infinite argument.
34081         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
34082         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
34083         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
34084         (__sincosl): Set errno to EDOM for infinite argument.
34085         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
34086         (__sincosl): Set errno to EDOM for infinite argument.
34087         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
34088         (__sincosl): Set errno to EDOM for infinite argument.
34089         * math/libm-test.inc (sincos_test_data): Test errno setting.
34091 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
34093         * string/strxfrm_l.c: Remove #define STRCMP.
34094         * string/strcoll_l.c: Remove #define STRLEN.
34095         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
34096         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
34098 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
34100         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
34101         * sysdeps/mips/mips32/sfp-machine.h: ... here.
34102         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
34103         * sysdeps/mips/mips64/Makefile: ... here.
34104         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
34105         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
34106         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
34107         * sysdeps/mips/mips64/sfp-machine.h: ... here.
34108         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
34109         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
34110         * sysdeps/mips/mips64/n64/Implies: Likewise.
34112 2015-02-10  Roland McGrath  <roland@hack.frob.com>
34114         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
34115         <sys/time.h>, <string.h>, and <errno.h>.
34116         (dest_offset, dest_address, value, zero): Remove unused variables.
34117         (ldouble): Remove typedef.
34118         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
34119         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
34120         1).  Fix code style.
34121         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
34122         (check): Function removed.
34123         (CHECK): New macro.
34124         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
34125         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
34126         Don't call set_sigaction_FP and remove_sigaction_FP here.
34127         (ldouble_test): Just use 'long double' as macro argument, no need for
34128         the 'ldouble' typedef.
34129         (do_test): Set up SIGFPE handler at start, using plain signal rather
34130         than sigaction.  Fix code style.
34132 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
34134         [BZ #17949]
34135         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
34136         jump label.
34138 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34140         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
34141         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34143         * sysdeps/powerpc/configure.ac: Remove file.
34144         * sysdeps/powerpc/configure: Likewise.
34146         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34147         [sysdep_routines]: Remove wordcopy-power6 object.
34148         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34149         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
34150         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
34151         (__memmove_ppc32): Likewise.
34152         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
34153         file.
34154         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
34155         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
34156         Remove preprocessor.
34158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34159         [sysdep_routines]: Remove wide chars objects.
34160         [wcsmbs]: New rule for wide char objects.
34162         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34163         Remove wordcopy-power6 obejct.
34164         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
34165         Use local call for wordcopy and memcpy symbols.
34166         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
34167         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
34168         implementation for loader.
34169         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
34171         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34172         Remove wordcopy-power7 object.
34173         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
34174         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
34175         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
34176         (_wordcopy_fwd_dest_aligned): Likewise.
34177         (_wordcopy_bwd_aligned): Likewise.
34178         (_wordcopy_bwd_dest_aligned): Likewise.
34180         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
34181         Rewrite to call __memmove_ppc instead of include default
34182         implementation.
34184         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34185         Remove wide chars objects.
34186         [wcsmbs]: New rule for wide char objects.
34188 2015-02-09  Andreas Schwab  <schwab@suse.de>
34190         [BZ #17912]
34191         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34192         in terms of __O_DIRECTORY.
34194 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34196         * time/getdate.c: Include <stdbool.h>.
34197         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
34198         call PTR_MANGLE.
34199         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
34200         PTR_DEMANGLE.
34202 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
34204         Add ersatz _Static_assert on older C hosts
34205         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
34206         pre-C11 C platform that is not known to support _Static_assert.
34208 2015-02-07  Richard Braun  <rbraun@sceen.net>
34210         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
34211         sigstate.
34212         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
34214 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34216         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
34217         priority against unexistent AIO_PRIO_DELTA_MAX.
34218         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
34219         instead of int.
34220         * misc/fchflags.c (fchflags): Likewise.
34221         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
34222         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
34223         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
34224         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
34225         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
34226         Declare macros.
34227         [__USE_MISC] (chflags, fchflags): Declare functions.
34228         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
34229         EINVAL when nfds is greater than FD_SETSIZE.
34230         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
34231         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
34232         45.
34233         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
34234         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
34235         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
34236         MACH_RCV_TIMED_OUT.
34237         * hurd/hurd/signal.h (_hurd_self_sigstate,
34238         _hurd_critical_section_lock, _hurd_critical_section_unlock):
34239         Explicit casts from void *.
34240         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
34241         * abi-tags: Rename gnu-gnu os into gnu.
34243         [BZ #4719]
34244         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
34245         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
34246         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
34247         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
34248         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
34249         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
34251         [BZ #17944]
34252         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
34253         duplicates ADDR->sun_path with sockaddr LEN limitation.
34254         * sysdeps/mach/hurd/connect.c: Include <string.h>
34255         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
34256         * sysdeps/mach/hurd/sendmsg.c: Likewise.
34257         * sysdeps/mach/hurd/sendto.c: Likewise.
34258         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
34259         implementing it by hand.
34261 2015-02-06  Roland McGrath  <roland@hack.frob.com>
34263         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
34264         Use sfi_breg on ldr.
34265         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
34266         Likewise.
34268         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
34269         it's defined.
34270         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
34271         Test SIGSETXID only if it's defined.
34273         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
34275         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
34276         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
34278         * nptl/tst-align2.c: Moved ...
34279         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
34280         * nptl/Makefile (tests): Remove tst-align2.
34281         * sysdeps/unix/sysv/linux/Makefile
34282         [$(subdir) = nptl] (tests): Add tst-align-clone.
34283         * nptl/tst-getpid1.c: Moved ...
34284         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
34285         * nptl/tst-getpid2.c: Moved ...
34286         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
34287         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
34288         * sysdeps/unix/sysv/linux/Makefile
34289         [$(subdir) = nptl] (tests): ... here.
34290         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
34291         * sysdeps/unix/sysv/linux/Makefile
34292         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34294         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34295         Drop trailing \n from perror argument.  Use return rather than exit.
34297         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34298         on [SA_SIGINFO].
34299         * nptl/tst-cancel21.c (do_test): Likewise.
34300         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34301         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34302         [!SA_SIGINFO]: Make it a stub test.
34304         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34305         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34307         * posix/tst-getlogin.c: Move to ...
34308         * login/tst-getlogin.c: ... here.
34309         * posix/Makefile (tests): Move tst-getlogin to ...
34310         * login/Makefile (tests): ... here.
34312         * libio/tst-atime.c (do_test): Move local variables SV and E
34313         inside [ST_NOATIME] conditional.
34315         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34317         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34319         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34320         (wait_code): New function replaces macro.
34321         Call nanosleep rather than syscall.
34323         * nptl/pt-system.c: Rewritten.  Put everything under
34324         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34325         Use IFUNC to redirect when possible.
34327         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34328         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34329         Use IFUNC to redirect when possible.
34331         * nptl/pt-fork.c: Rewritten.  Put everything under
34332         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34333         Use IFUNC to redirect when possible.
34334         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34336         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34337         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34338         unconditionally nowadays.  This included the only reference to
34339         __vdso_clock_gettime that appears outside libc proper.
34340         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34341         Remove version set (containing only __vdso_clock_gettime).
34342         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34343         Add attribute_hidden.
34344         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34345         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34346         libc_hidden_data_def.
34347         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34348         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34350         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34351         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34352         setrpcent, and getrpcport to ...
34353         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34354         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34355         getrpcbynumber_r, and getrpcent_r to ...
34356         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34357         * inet/getrpcbyname.c: Moved ...
34358         * sunrpc/getrpcbyname.c: ... here.
34359         * inet/getrpcbyname_r.c: Moved ...
34360         * sunrpc/getrpcbyname_r.c: ... here.
34361         * inet/getrpcbynumber.c: Moved ...
34362         * sunrpc/getrpcbynumber.c: ... here.
34363         * inet/getrpcbynumber_r.c: Moved ...
34364         * sunrpc/getrpcbynumber_r.c: ... here.
34365         * inet/getrpcent.c: Moved ...
34366         * sunrpc/getrpcent.c: ... here.
34367         * inet/getrpcent_r.c: Moved ...
34368         * sunrpc/getrpcent_r.c: ... here.
34369         * inet/Makefile (routines): Move those to ...
34370         * sunrpc/Makefile (routines): ... here.
34371         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34372         the $(subdirs) list.
34373         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34374         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34375         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34376         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34378         * elf/Makefile (routines): Include $(all-dl-routines), not just
34379         $(dl-routines).
34380         (rtld-routines): Likewise.  Use = rather than :=.
34381         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34382         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34383         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34384         * sysdeps/arm/Makefile: Likewise.
34385         * sysdeps/i386/Makefile: Likewise.
34386         * sysdeps/x86_64/Makefile: Likewise.
34387         * sysdeps/hppa/Makefile [$(subdir) = elf]
34388         (sysdep_routines, sysdep-rtld-routines): Don't add
34389         $(sysdep-dl-routines) to these.
34390         * sysdeps/ia64/Makefile: Likewise.
34391         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34392         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34393         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34394         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34395         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34396         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34397         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34398         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34399         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34400         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34401         these; sysdep-dl-routines alone is enough.
34403 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34405         [BZ #17932]
34406         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34407         where multiplication results in zero and third argument is finite
34408         and nonzero.
34409         * math/auto-libm-test-in: Add more tests of fma.
34410         * math/auto-libm-test-out: Regenerated.
34412         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34413         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34414         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34415         (_FP_CMP_EQ): Likewise.
34416         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34418         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34419         extra argument CHECK_NAN.  Redefine as wrapper around
34420         _FP_EXTEND_CNAN.
34422 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34424         * version.h (RELEASE): Set to "stable".
34425         (VERSION): Set to "2.21"
34426         * include/features.h (__GLIBC_MINOR__): Set to 21.
34428         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34430 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34431             Paul Eggert  <eggert@cs.ucla.edu>
34433         [BZ #16618]
34434         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34435         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34436         size in bytes. Store needed elements in wpmax. Use needed size
34437         in bytes for extend_alloca.
34439 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34441         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34442         binutls 2.25, and texinfo 5.2.
34443         * INSTALL: Regenerate.
34444         * sysdeps/nios2/configure: Regenerate.
34445         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34446         * manual/contrib.texi: Update.
34447         * po/be.po: Update.
34448         * po/bg.po: Update.
34449         * po/ca.po: Update.
34450         * po/cs.po: Update.
34451         * po/da.po: Update.
34452         * po/de.po: Update.
34453         * po/el.po: Update.
34454         * po/eo.po: Update.
34455         * po/es.po: Update.
34456         * po/fi.po: Update.
34457         * po/fr.po: Update.
34458         * po/gl.po: Update.
34459         * po/hr.po: Update.
34460         * po/hu.po: Update.
34461         * po/ia.po: Update.
34462         * po/id.po: Update.
34463         * po/it.po: Update.
34464         * po/ja.po: Update.
34465         * po/ko.po: Update.
34466         * po/lt.po: Update.
34467         * po/nb.po: Update.
34468         * po/nl.po: Update.
34469         * po/pl.po: Update.
34470         * po/pt_BR.po: Update.
34471         * po/ru.po: Update.
34472         * po/rw.po: Update.
34473         * po/sk.po: Update.
34474         * po/sl.po: Update.
34475         * po/sv.po: Update.
34476         * po/tr.po: Update.
34477         * po/uk.po: Update.
34478         * po/vi.po: Update.
34479         * po/zh_CN.po: Update.
34480         * po/zh_TW.po: Update.
34482         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34483         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34484         * sysdeps/hppa/dl-irel.h: Remove #warning.
34485         * sysdeps/hppa/entry.h: Provide prototype for
34486         __canonicalize_funcptr_for_compare and cast argument.
34487         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34488         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34489         * sysdeps/hppa/sotruss-lib.c: New file.
34490         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34491         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34492         (atomic_compare_and_exchange_bool_acq): Likewise.
34493         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34494         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34496         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34497         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34498         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34500 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34502         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34503         called function in non-PIC case.
34505 2015-01-31  David S. Miller  <davem@davemloft.net>
34507         * sysdeps/sparc/sparc32/bits/atomic.h
34508         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34509         unlock not after it.
34510         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34511         volatile register usage warnings from the compiler.
34513         * sysdeps/sparc/nptl/sem_init.c: Delete.
34514         * sysdeps/sparc/nptl/sem_post.c: Delete.
34515         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34516         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34517         * sysdeps/sparc/sparc32/sem_init.c: New file.
34518         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34519         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34520         padding explicitly initialized.
34521         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34522         padding for in-semaphore spinlock.
34523         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34524         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34525         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34526         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34527         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34528         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34529         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34530         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34531         version.
34532         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34533         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34535 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34537         [BZ #17801]
34538         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34539         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34540         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34541         New.
34542         (index_AVX_Fast_Unaligned_Load): Likewise.
34543         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34544         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34545         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34546         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34547         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34548         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34549         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34550         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34551         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34553 2015-01-29  Andreas Schwab  <schwab@suse.de>
34555         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34557 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34559         [BZ #17892]
34560         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34562 2015-01-28  Martin Sebor  <msebor@redhat.com>
34564         * math/README.libm-test: Clarify. Add "How to read the test output."
34566 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34568         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34569         Define to 0.
34571 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34573         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34574         (__HAVE_64B_ATOMICS): Define to 0.
34576 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34578         [BZ #17885]
34579         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34580         value to set as new flag.
34582         [BZ #16576]
34583         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34584         and use _ARCH_PPCSQ instead.
34585         (__ieee754_sqrt): Likewise.
34586         (__ieee754_sqrtf): Likewise.
34587         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34588         _ARCH_PPCSQ is defined.
34589         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34590         fsqrt instruction.
34591         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34592         _ARCH_PPCSQ is defined.
34593         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34594         fsqrts instruction.
34595         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34597 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34599         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34600         bug (GCC BZ #64739).
34602 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34604         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34605         Mark _retval as used.
34606         (lll_futex_wake_unlock): Likewise.
34607         (lll_futex_timed_wait_requeue_pi): Likewise.
34609         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34610         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34611         register variables.
34613         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34614         libm_hidden_def.
34616         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34617         (__bswap_64): Mark as __always_inline.
34619 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34621         [BZ #15378]
34622         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34623         when none of the search directories exist.
34625 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34627         [BZ #17869]
34628         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34629         power8 in .machine directive.
34631         [BZ #17868]
34632         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34633         set dependency from opd value.
34635 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34638         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34639         architecture.
34641 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34643         [BZ #17870]
34644         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34645         with uint64_t.
34646         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34647         (uint64_t) 1.
34648         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34649         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34650         Replace 1UL with (uint64_t) 1.
34651         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34652         int with uint64_t.
34654 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34656         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34657         (if_freenameindex): Likewise.
34659         * resource/getrlimit64.c: Add missing libc_hidden_def.
34661 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34663         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34664         __label__.
34665         (_FP_FMA): Likewise.
34666         (_FP_TO_INT_ROUND): Likewise.
34667         (_FP_FROM_INT): Likewise.
34669 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34671         [BZ #16418]
34672         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34673         Make code racy and cancel safe.
34675 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34677         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34678         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34679         attribution.
34681         * pwd/tst-getpw.c: Rewrite.
34683         [BZ #17702]
34684         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34685         (modules-names): Add moddummy1 and moddummy2.
34686         ($(objpfx)tst-rec-dlopen): Define.
34687         * dlfcn/moddummy1.c: New file.
34688         * dlfcn/moddummy2.c: New file.
34689         * dlfcn/tst-rec-dlopen.c: New file.
34690         * elf/dl-cache.c (_dl_load_cache_lookup):
34691         Return char*. Copy result with alloca/strcpy/strdup.
34692         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34693         returns char*. Free cached. If not saving realname
34694         free cached.
34695         * elf/dl-open.c (dl_open_worker): Do not assert that
34696         _r_debug->r_state is RT_CONSISTENT.
34697         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34698         returns char*.
34700 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34701             Carlos O'Donell  <carlos@redhat.com>
34703         [BZ #12674]
34704         * nptl/sem_waitcommon.c: New file.
34705         * nptl/sem_wait.c: Include sem_waitcommon.c.
34706         (__sem_wait_cleanup, do_futex_wait): Remove.
34707         (__new_sem_wait): Adapt.
34708         (__new_sem_trywait): New function.
34709         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34710         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34711         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34712         (sem_timedwait): Adapt.
34713         * nptl/sem_post.c (__new_sem_post): Adapt.
34714         (futex_wake): New function.
34715         (__old_sem_post): Add release MO fence.
34716         * nptl/sem_open.c (sem_open): Adapt.
34717         * nptl/sem_init.c (__new_sem_init): Adapt.
34718         (futex_private_if_supported): New function.
34719         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34720         (__old_sem_getvalue): Add using previous code.
34721         * sysdeps/nptl/internaltypes.h: Adapt.
34722         * nptl/tst-sem13.c (do_test): Adapt.
34723         * nptl/tst-sem11.c (main): Adapt.
34724         * nptl/sem_trywait.c: Remove.
34725         * nptl/DESIGN-sem.txt: Remove.
34726         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34727         (gen-as-const-headers): Remove structsem.sym.
34728         * nptl/structsem.sym: Remove.
34729         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34730         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34731         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34732         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34733         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34734         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34735         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34736         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34737         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34738         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34739         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34740         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34741         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34742         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34743         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34744         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34745         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34746         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34747         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34748         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34749         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34750         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34752 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34754         * INSTALL: Regenerated.
34756         * po/libc.pot: Regenerated.
34758 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34759             Sandra Loosemore  <sandra@codesourcery.com>
34760             Andrew Jenner  <andrew@codesourcery.com>
34761             Joseph Myers  <joseph@codesourcery.com>
34762             Nathan Sidwell  <nathan@codesourcery.com>
34764         * NEWS: Mention new Nios II port.
34765         * sysdeps/nios2/Implies: New file.
34766         * sysdeps/nios2/Makefile: New file.
34767         * sysdeps/nios2/Subdirs: New file.
34768         * sysdeps/nios2/Versions: New file.
34769         * sysdeps/nios2/__longjmp.S: New file.
34770         * sysdeps/nios2/abort-instr.h: New file.
34771         * sysdeps/nios2/backtrace.c: New file.
34772         * sysdeps/nios2/bits/endian.h: New file.
34773         * sysdeps/nios2/bits/fenv.h: New file.
34774         * sysdeps/nios2/bits/link.h: New file.
34775         * sysdeps/nios2/bits/setjmp.h: New file.
34776         * sysdeps/nios2/bsd-_setjmp.S: New file.
34777         * sysdeps/nios2/bsd-setjmp.S: New file.
34778         * sysdeps/nios2/configure: New generated file.
34779         * sysdeps/nios2/configure.ac: New file.
34780         * sysdeps/nios2/crti.S: New file.
34781         * sysdeps/nios2/crtn.S: New file.
34782         * sysdeps/nios2/dl-init.c: New file.
34783         * sysdeps/nios2/dl-machine.h: New file.
34784         * sysdeps/nios2/dl-sysdep.h: New file.
34785         * sysdeps/nios2/dl-tls.h: New file.
34786         * sysdeps/nios2/dl-trampoline.S: New file.
34787         * sysdeps/nios2/gccframe.h: New file.
34788         * sysdeps/nios2/gmp-mparam.h: New file.
34789         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34790         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34791         * sysdeps/nios2/ldsodefs.h: New file.
34792         * sysdeps/nios2/libc-tls.c: New file.
34793         * sysdeps/nios2/libm-test-ulps: New file.
34794         * sysdeps/nios2/machine-gmon.h: New file.
34795         * sysdeps/nios2/math-tests.h: New file.
34796         * sysdeps/nios2/math_private.h: New file.
34797         * sysdeps/nios2/memusage.h: New file.
34798         * sysdeps/nios2/nptl/Makefile: New file.
34799         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34800         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34801         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34802         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34803         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34804         * sysdeps/nios2/nptl/tls.h: New file.
34805         * sysdeps/nios2/preconfigure: New file.
34806         * sysdeps/nios2/s_fma.c: New file.
34807         * sysdeps/nios2/s_fmaf.c: New file.
34808         * sysdeps/nios2/setjmp.S: New file.
34809         * sysdeps/nios2/sfp-machine.h: New file.
34810         * sysdeps/nios2/sotruss-lib.c: New file.
34811         * sysdeps/nios2/stackguard-macros.h: New file.
34812         * sysdeps/nios2/stackinfo.h: New file.
34813         * sysdeps/nios2/start.S: New file.
34814         * sysdeps/nios2/sysdep.h: New file.
34815         * sysdeps/nios2/tls-macros.h: New file.
34816         * sysdeps/nios2/tst-audit.h: New file.
34817         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34818         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34819         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34820         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34821         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34822         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34823         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34824         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34825         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34826         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34827         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34828         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34829         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34830         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34831         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34832         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34833         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34834         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34835         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34836         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34837         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34838         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34839         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34840         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34841         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34842         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34843         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34844         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34845         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34846         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34847         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34848         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34849         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34850         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34851         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34852         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34853         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34854         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34855         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34856         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34857         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34858         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34859         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34860         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34862 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34864         [BZ #17844]
34865         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34866         (getutent): Use weak_alias in non SHARED case
34867         and default_symbol_version in SHARED case.
34868         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34869         (getutent_r, pututline): Likewise.
34870         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34871         (getutid): Likewise.
34872         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34873         (getutid_r): Likewise.
34874         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34875         (getutline): Likewise.
34876         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34877         (getutline_r): Likewise.
34878         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34879         (updwtmp): Likewise.
34881 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34883         [BZ #17848]
34884         * sysdeps/s390/s390-32/memcmp.S
34885         (memcmp_g5): Rename to __memcmp_g5.
34886         * sysdeps/s390/s390-32/memcpy.S
34887         (memcpy_g5): Rename to __memcpy_g5.
34888         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34889         (memcpy_mvcle) Rename to __memcpy_mvcle.
34890         * sysdeps/s390/s390-32/memset.S
34891         (memset_g5): Rename to __memset_g5.
34892         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34893         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34894         and use prefixed functions.
34895         * sysdeps/s390/s390-32/multiarch/memcmp.S
34896         (memcmp_z196): Rename to __memcmp_z196.
34897         (memcmp_z10): Rename to __memcmp_z10.
34898         (memcmp): Set alias to __memcmp_g5.
34899         (bcmp): Set alias to __memcmp_g5.
34900         * sysdeps/s390/s390-32/multiarch/memcpy.S
34901         (memcpy_z196): Rename to __memcpy_z196.
34902         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34903         (memcpy_z10): Rename to __memcpy_z10.
34904         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34905         (memcpy): Set alias to __memcpy_g5.
34906         * sysdeps/s390/s390-32/multiarch/memset.S
34907         (memset_z196): Rename to __memset_z196.
34908         Jump to __memset_mvcle instead of memset_mvcle.
34909         (memset_z10): Rename to __memset_z10.
34910         Jump to __memset_mvcle instead of memset_mvcle.
34911         (memset_mvcle) Rename to __memset_mvcle.
34912         (memset): Set alias to __memset_g5.
34913         * sysdeps/s390/s390-64/memcmp.S
34914         (memcmp_z900): Rename to __memcmp_z900.
34915         * sysdeps/s390/s390-64/memcpy.S
34916         (memcpy_z900): Rename to __memcpy_z900.
34917         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34918         (memcpy_mvcle) Rename to __memcpy_mvcle.
34919         * sysdeps/s390/s390-64/memset.S
34920         (memset_z900): Rename to __memset_z900.
34921         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34922         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34923         and use prefixed functions.
34924         * sysdeps/s390/s390-64/multiarch/memcmp.S
34925         (memcmp_z196): Rename to __memcmp_z196.
34926         (memcmp_z10): Rename to __memcmp_z10.
34927         (memcmp): Set alias to __memcmp_z900.
34928         (bcmp): Set alias to __memcmp_z900.
34929         * sysdeps/s390/s390-64/multiarch/memcpy.S
34930         (memcpy_z196): Rename to __memcpy_z196.
34931         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34932         (memcpy_z10): Rename to __memcpy_z10.
34933         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34934         (memcpy): Set alias to __memcpy_z900.
34935         * sysdeps/s390/s390-64/multiarch/memset.S
34936         (memset_z196): Rename to __memset_z196.
34937         Jump to __memset_mvcle instead of memset_mvcle.
34938         (memset_z10): Rename to __memset_z10.
34939         Jump to __memset_mvcle instead of memset_mvcle.
34940         (memset_mvcle) Rename to __memset_mvcle.
34941         (memset): Set alias to __memset_z900.
34943 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34945         [BZ #17748]
34946         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34947         __fesetenv instead of fesetenv.
34949 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34951         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34952         macro.
34954 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34956         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34957         regression on LE.
34959         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34960         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34961         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34962         strncmp-power8 object.
34963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34964         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34965         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34966         * NEWS: Update.
34968 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34969             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34971         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34972         trailing byte check.
34974 2015-01-13  David S. Miller  <davem@davemloft.net>
34976         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34978 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34980         * login/logout.c (logout): Use memset rather than bzero.
34981         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34982         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34983         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34984         (_gethtbyaddr): Likewise.
34985         * locale/programs/simple-hash.c (bcopy): Macro removed.
34987 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34989         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34990         Add strcmp-power8 object.
34991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34992         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34993         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34994         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34995         __strcmp_power8 implementation.
34996         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34997         * NEWS: Update.
34999         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35000         Add strncpy-power8 and stpncpy-power8 objects.
35001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35002         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
35003         implementations.
35004         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
35005         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
35006         __stpncpy_power8 implementation.
35007         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
35008         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
35009         __strncpy_power8 implementation.
35010         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
35011         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
35012         * NEWS: Update.
35014         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
35015         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
35016         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
35018         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35019         strncat-power8 object.
35020         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
35021         __strcat_power8 implementation.
35022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35023         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
35024         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
35025         optimized strcat for power8.
35027         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35028         strcpy-power8 and stpcpy-power8 objects.
35029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35030         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
35031         implementations.
35032         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
35033         multiarch stpcpy implementation for POWER8.
35034         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
35035         multiarch strcpy implementation for POWER8.
35036         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
35037         __strcpy_power8 function.
35038         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
35039         stpcpy for POWER8.
35040         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
35041         strcpy for POWER8.
35042         * NEWS: Update.
35044 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
35046         [BZ #16009]
35047         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
35048         weights and rules. Use do_xfrm_cached if data fits in cache,
35049         do_xfrm otherwise.  Moved former main loop to...
35050         * (do_xfrm_cached): New function.
35051         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
35052         find_idx, find_position and stack_push.
35053         * (find_idx): New function.
35054         * (find_position): Likewise.
35055         * localedata/sort-test.sh: Added test run for do_xfrm.
35056         * localedata/xfrm-test.c (main): Added command line option
35057         -nocache to run the test with strings that are too large for
35058         the STRXFRM cache.
35060 2015-01-13  Torvald Riegel  <triegel@redhat.com>
35062         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
35063         variable to lll_futex_wake call, not the value itself.
35065 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
35067         [BZ #17803]
35068         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
35069         twom64.  Adjust value to 0x1p-64L.
35070         (__scalblnl): Only return standard underflowing result for K <=
35071         -64 not K <= -63; adjust exponent for underflowing result by 64
35072         not 63.
35073         * math/libm-test.inc (scalbn_test_data): Add more tests.
35074         (scalbln_test_data): Likewise.
35076         [BZ #17834]
35077         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
35078         0x1p63L.
35079         (__scalblnl): Get new exponent of adjusted subnormal value from ES
35080         not HX.
35081         * math/libm-test.inc (scalbn_test_data): Add more tests.
35082         (scalbln_test_data): Likewise.
35084 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35085             Stefani Seibold  <stefani@seibold.net>
35087         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
35088         (sysdep_routines): Add dl-vdso here, ...
35089         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
35090         (sysdep_routines): ... not here.
35091         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
35092         fallback when vDSO is not presented.
35093         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35094         Define with libc_hidden_proto/libc_hidden_data_def definitions.
35095         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
35096         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
35097         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
35098         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
35099         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
35100         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
35101         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
35102         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
35103         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
35104         fallback configurable symbol when vDSO is not available.
35105         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
35106         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
35107         be able to redefine fallback symbol when vDSO is not available.
35108         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
35109         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
35111 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35113         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
35114         (TLS_INIT_TP): Add tm_capable initialization.
35115         (TLS_DEFINE_INIT_TP): Likewise.
35116         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
35117         TCB.
35118         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
35119         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
35120         calculation.
35121         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
35122         transactoion is lock elision is built and TCB tm_capable is set.
35123         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
35124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35125         (INTERNAL_SYSCALL_NCS): Likewise.
35126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35127         (INTERNAL_SYSCALL_NCS): Likewise.
35128         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
35130         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
35131         for powerpc.
35132         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35133         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
35134         and remove it for 32 bits case.
35135         [pthread_rwlock_t] (__rwelision): New field for lock elision.
35136         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
35137         initialization.
35138         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
35139         Disable lock elision with rdlocks if elision is not available.
35141         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
35142         (sysdep_routines): Add lock elision objects.
35143         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35144         [pthread_mutex_t] (__spins): Rework to add lock elision field.
35145         [pthread_mutex_t] (__elision): Add field.
35146         [__PTHREAD_SPINS]: Adjust to init lock elision field.
35147         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
35148         elision definitions for powerpc.
35149         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
35150         implementation of lock elision for powerpc.
35151         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
35152         implementation of timed lock elision for powerpc.
35153         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
35154         implementation of trylock with lock elision for powerpc.
35155         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
35156         implementaion of unlock for lock elision for powerpc.
35157         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
35158         automatic enable lock elision for mutexes.
35159         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
35160         transaction execution definitions for powerpc.
35161         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
35162         definitions.
35163         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
35164         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
35165         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
35166         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
35167         * NEWS: Update.
35169 2015-01-09  Roland McGrath  <roland@hack.frob.com>
35171         * sysdeps/posix/shm-directory.c: Use <> rather than ""
35172         for #include of <shm-directory.h>.
35174 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
35176         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
35177         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
35179 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
35181         [BZ #17791]
35182         * NEWS: Mention bug fix.
35183         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
35184         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
35185         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
35187 2015-01-09  Torvald Riegel <triegel@redhat.com>
35189         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
35191 2015-01-09  Torvald Riegel <triegel@redhat.com>
35193         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
35195 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35197         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
35198         pointer and cast to uintptr_t.
35200 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35202         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
35203         removed.
35204         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
35206 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35208         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
35209         of 0.
35211 2015-01-08  Roland McGrath  <roland@hack.frob.com>
35213         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
35214         <nptl/pthreadP.h> instead.
35215         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
35217         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
35218         already defined.
35219         [__SIGRTMIN] (init): Function removed.
35220         [__SIGRTMIN] (initialized): Variable removed.
35221         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
35222         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
35223         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
35224         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
35225         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
35226         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
35227         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
35228         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
35229         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
35230         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
35231         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
35232         * sysdeps/nptl/allocrtsig.c: New file.
35233         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
35234         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
35235         * sysdeps/generic/testrtsig.h: File removed.
35237         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
35238         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
35240         * nptl/nptl-init.c (pthread_functions): Conditionalize
35241         .ptr__nptl_setxid initialization on [SIGSETXID].
35243         * sysdeps/nptl/sys/procfs.h: New file.
35244         * nptl_db/Makefile (headers): Add it.
35245         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
35247         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
35248         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
35249         * nptl/pthread_attr_setaffinity.c: Include it.
35250         * nptl/pthread_setattr_default_np.c: Likewise.
35251         * nptl/check-cpuset.h: New file.
35253 2015-01-08  Richard Henderson  <rth@redhat.com>
35255         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
35256         (CFLAGS-tst-execstack-prog.c): Likewise.
35257         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
35259 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
35260             Sandra Loosemore  <sandra@codesourcery.com>
35261             Andrew Jenner  <andrew@codesourcery.com>
35262             Joseph Myers  <joseph@codesourcery.com>
35263             Nathan Sidwell  <nathan@codesourcery.com>
35265         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
35266         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
35267         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
35268         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
35269         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
35270         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
35271         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
35272         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
35273         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
35274         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
35275         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
35276         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
35277         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
35278         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
35279         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
35280         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
35281         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
35283 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35285         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
35286         timespec struct member in syscall macro.
35287         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
35288         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
35289         first timeval struct member in syscall macro.
35290         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
35292 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
35294         [BZ #17748]
35295         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35296         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35297         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35298         __feupdateenv and define as weak alias of __feupdateenv.  Use
35299         libm_hidden_weak.
35300         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35301         libm_hidden_def.
35302         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35303         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35304         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35305         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35306         libm_hidden_def.
35307         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35308         __feupdateenv and define as weak alias of __feupdateenv.  Use
35309         libm_hidden_weak.
35310         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35311         libm_hidden_def.
35312         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35313         __feupdateenv and define as weak alias of __feupdateenv.  Use
35314         libm_hidden_weak.
35315         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35316         libm_hidden_def.
35317         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35318         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35319         (__feupdateenv): Likewise.
35320         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35321         __feupdateenv and define as weak alias of __feupdateenv.  Use
35322         libm_hidden_weak.
35323         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35324         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35325         libm_hidden_def.
35326         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35327         function.
35328         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35329         libm_hidden_def.
35330         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35331         __feupdateenv instead of feupdateenv.
35332         (default_libc_feupdateenv_test): Likewise.
35333         (libc_feresetround_ctx): Likewise.
35335 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35337         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35338         prototype.
35340 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35342         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35343         COLL_SYM in a couple of places to avoid uninitialized variable
35344         wanings on tilegx gcc 4.8.2.
35346 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35348         * sysdeps/aarch64/strcpy.S: New file.
35349         * sysdeps/aarch64/stpcpy.S: New file.
35350         * NEWS: Updated.
35352 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35354         * sysdeps/aarch64/strrchr.S: New file.
35355         * NEWS: Updated.
35357 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35359         [BZ #17658]
35360         * stdlib/setenv.c: Fix memory leak when setting large,
35361         duplicate string.
35363 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35365         [BZ #17273]
35366         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35367         and tabs from buffer before parsing fstab entry.
35368         * misc/tst-mntent.c (main): Add test for mount entry with
35369         trailing spaces and tabs.
35371 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35373         [BZ #17748]
35374         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35375         * math/fesetround.c (fesetround): Rename to __fesetround and
35376         define as weak alias of __fesetround.  Use libm_hidden_weak.
35377         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35378         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35379         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35380         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35381         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35382         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35383         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35384         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35385         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35386         __fesetround_inline.
35387         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35388         __fesetround_inline instead of __fesetround.
35389         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35390         __fesetround and define as weak alias of __fesetround.  Use
35391         libm_hidden_weak.  Call __fesetround_inline instead of
35392         __fesetround.
35393         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35394         __fesetround and define as weak alias of __fesetround.  Use
35395         libm_hidden_weak.
35396         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35397         Likewise.
35398         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35399         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35400         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35401         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35402         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35403         __fesetround and define as weak alias of __fesetround.  Use
35404         libm_hidden_weak.
35405         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35406         __fesetround instead of fesetround.
35407         (default_libc_feholdexcept_setround): Likewise.
35408         (libc_feholdsetround_ctx): Likewise.
35409         (libc_feholdsetround_noex_ctx): Likewise.
35411         [BZ #17748]
35412         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35413         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35414         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35415         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35416         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35417         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35418         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35419         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35420         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35421         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35422         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35423         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35424         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35425         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35426         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35427         libm_hidden_def.
35428         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35429         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35430         Likewise.
35431         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35432         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35433         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35434         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35435         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35436         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35437         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35438         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35439         __fesetenv instead of fesetenv.
35440         (libc_feresetround_noex_ctx): Likewise.
35441         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35442         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35443         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35444         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35445         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35446         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35447         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35448         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35449         (__feupdateenv): Likewise.
35450         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35451         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35452         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35453         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35455 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35457         [BZ #17806]
35458         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35459         addresses have been freed.
35461 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35463         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35464         and nservall.
35466 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35468         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35469         Clean up check_pf allocation pattern. addresses
35471 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35473         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35474         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35475         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35476         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35477         * nptl/pthread_join.c (pthread_join): Likewise.
35478         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35479         * sysdeps/posix/waitid.c (__waitid): Likewise.
35480         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35481         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35482         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35483         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35485         Likewise.
35486         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35487         (__libc_pread64): Likewise.
35488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35489         (__libc_pwrite): Likewise.
35490         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35491         (__libc_pwrite64): Likewsie.
35492         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35493         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35494         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35495         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35496         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35497         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35498         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35500         Likewise.
35501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35502         (__libc_pread64): Likewise.
35503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35504         Likewise.
35505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35506         (__libc_pwrite64): Likewise.
35507         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35508         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35509         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35510         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35511         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35512         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35513         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35514         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35515         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35516         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35517         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35518         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35519         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35520         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35521         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35522         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35523         Likewise.
35525 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35527         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35528         (CFLAGS-test-double.c): Likewise.
35529         (CFLAGS-test-ldouble.c): Likewise.
35530         (CPPFLAGS-test-ifloat.c): Likewise.
35531         (CPPFLAGS-test-idouble.c): Likewise.
35532         (CPPFLAGS-test-ildoubl.c): Likewise.
35533         (CFLAGS-test-test-fenv.c): Remove variable.
35534         (CFLAGS-test-misc.c): Likewise.
35536 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35538         [BZ #17797]
35539         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35540         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35541         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35542         CLOCKS_PER_SEC == 1000000.
35543         * time/clocktest.c (main): Replace %ld with %jd and cast to
35544         intmax_t.
35546 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35548         * sysdeps/generic/unwind-resume.h: New file.
35549         * sysdeps/gnu/unwind-resume.c: Include it.
35550         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35551         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35552         argument list.
35553         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35554         global rather than static.
35555         (_Unwind_Resume): Update user.
35556         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35557         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35558         rather than static.  Add __attribute__ ((cold)).
35559         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35560         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35561         * sysdeps/arm/arm-unwind-resume.S: New file.
35562         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35563         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35564         * sysdeps/arm/Makefile [$(subdir) = csu]
35565         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35566         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35567         Add rt-arm-unwind-resume.
35568         [$(subdir) = nptl]
35569         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35570         Add pt-arm-unwind-resume.
35571         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35572         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35574 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35576         [BZ #17748]
35577         * include/fenv.h (__feholdexcept): Declare.  Use
35578         libm_hidden_proto.
35579         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35580         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35581         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35582         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35583         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35584         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35585         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35586         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35587         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35588         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35589         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35590         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35591         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35592         (feholdexcept): Likewise.
35593         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35594         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35595         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35596         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35597         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35598         __feholdexcept instead of feholdexcept.
35599         (default_libc_feholdexcept_setround): Likewise.
35601 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35603         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35604         to avoid using stl/str to align destination.
35606 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35608         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35610 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35612         [BZ #17796]
35613         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35614         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35615         Define as weak alias not strong alias.
35617 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35619         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35620         bltzal with addiupc.
35621         (RTLD_START): Ditto.
35623 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35625         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35626         for __vdso_* functions in declarations.
35627         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35628         definitions.
35629         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35630         INTERNAL_VSYSCALL): Use struct return types to check for error.
35632         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35633         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35634         function with cast from llround().
35635         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35636         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35637         Define.
35639 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35641         [BZ #17793]
35642         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35643         Define as weak alias not strong alias.
35645         [BZ #17635]
35646         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35647         ...
35648         * ctype/ctype-extn.c: ... here.
35649         (__isblank_l): Move to ...
35650         * ctype/ctype-c99_l.c: ... here.  New file.
35651         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35652         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35653         Remove variable.
35654         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35655         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35656         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35657         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35658         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35660         [BZ #17777]
35661         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35662         (posix_fadvise64): Define as weak alias not strong alias.
35663         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35664         (posix_fallocate64): Likewise.
35665         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35666         Remove variable.
35667         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35668         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35669         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35670         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35671         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35673 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35675         [BZ #16191]
35676         * NEWS: Mention bug fix.
35677         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35678         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35679         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35680         (HOST_STACK_END_ADDR): Likewise.
35682 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35684         [BZ #17748]
35685         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35686         * math/fegetround.c (fegetround): Rename to __fegetround and
35687         define as weak alias of __fegetround.  Use libm_hidden_weak.
35688         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35689         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35690         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35691         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35692         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35693         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35694         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35695         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35696         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35697         Undefine after rather than before function definition; use
35698         parentheses around function name in definition.
35699         (__fegetround): Also undefine macro after function definition.
35700         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35701         __fegetround and define as weak alias of __fegetround.  Use
35702         libm_hidden_weak.  Do not undefine as macro.
35703         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35704         Likewise.
35705         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35706         __fegetround and define as weak alias of __fegetround.  Use
35707         libm_hidden_weak.
35708         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35709         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35710         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35711         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35712         __fegetround and define as weak alias of __fegetround.  Use
35713         libm_hidden_weak.
35714         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35715         __fegetround instead of fegetround.
35717         [BZ #17782]
35718         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35719         Condition macro definition on [__USE_MISC].
35721         [BZ #17781]
35722         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35723         (struct sigaction): Change type of sa_flags field to int.
35725         [BZ #17780]
35726         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35727         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35728         __glibc_reserved0.
35730         * nptl/version.c (banner): Use single year in copyright notice.
35732         * NEWS: Update copyright dates.
35733         * catgets/gencat.c (print_version): Likewise.
35734         * csu/version.c (banner): Likewise.
35735         * debug/catchsegv.sh: Likewise.
35736         * debug/pcprofiledump.c (print_version): Likewise.
35737         * debug/xtrace.sh (do_version): Likewise.
35738         * elf/ldconfig.c (print_version): Likewise.
35739         * elf/ldd.bash.in: Likewise.
35740         * elf/pldd.c (print_version): Likewise.
35741         * elf/sotruss.sh: Likewise.
35742         * elf/sprof.c (print_version): Likewise.
35743         * iconv/iconv_prog.c (print_version): Likewise.
35744         * iconv/iconvconfig.c (print_version): Likewise.
35745         * locale/programs/locale.c (print_version): Likewise.
35746         * locale/programs/localedef.c (print_version): Likewise.
35747         * login/programs/pt_chown.c (print_version): Likewise.
35748         * malloc/memusage.sh (do_version): Likewise.
35749         * malloc/memusagestat.c (print_version): Likewise.
35750         * malloc/mtrace.pl: Likewise.
35751         * manual/libc.texinfo: Likewise.
35752         * nptl/version.c (banner): Likewise.
35753         * nscd/nscd.c (print_version): Likewise.
35754         * nss/getent.c (print_version): Likewise.
35755         * nss/makedb.c (print_version): Likewise.
35756         * posix/getconf.c (main): Likewise.
35757         * scripts/test-installation.pl: Likewise.
35758         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35760 2015-01-02  Will Newton  <will.newton@linaro.org>
35762         * sysdeps/arm/armv7/configure: Removed.
35763         * sysdeps/arm/armv7/configure.ac: Likewise.
35765 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35767         * All files with FSF copyright notices: Update copyright dates
35768         using scripts/update-copyrights.
35769         * intl/plural.c: Regenerated.
35770         * locale/programs/charmap-kw.h: Likewise.
35771         * locale/programs/locfile-kw.h: Likewise.
35773 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35775         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35777 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35779         [BZ #17748]
35780         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35781         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35782         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35783         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35784         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35785         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35786         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35787         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35788         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35789         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35790         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35791         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35792         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35793         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35794         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35795         libm_hidden_def.
35796         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35797         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35798         Likewise.
35799         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35800         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35801         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35802         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35803         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35804         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35805         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35806         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35807         __fegetenv instead of fegetenv.
35808         (libc_feholdsetround_noex_ctx): Likewise.
35810 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35812         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35813         (Elf_MIPS_ABIFlags_v0): New structure.
35814         (EF_MIPS_FP64): Define.
35815         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35816         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35817         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35818         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35819         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35820         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35821         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35822         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35823         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35824         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35825         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35826         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35827         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35828         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35829         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35830         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35831         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35832         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35833         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35834         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35835         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35836         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35837         field.
35838         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35839         EF_MIPS_FP64.
35840         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35841         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35842         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35843         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35844         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35845         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35846         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35847         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35848         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35849         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35850         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35851         record the current FP ABI extension.
35852         (mips-mode-switch): Define to show if kernel headers support mode
35853         switching.
35854         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35855         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35856         supported SYSV ABI version to 3.
35857         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35858         feature.
35860 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35861             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35863         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35864         path.
35865         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35867 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35869         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35870         __fegetround and redefine to call __fegetround.  Remove condition
35871         on [!__NO_MATH_INLINES].
35872         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35873         function.
35874         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35875         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35876         Remove macro.
35877         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35878         instead of <fenv_libc.h>.
35879         (__llrintl): Call fegetround instead of __fegetround.
35880         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35881         instead of <fenv_libc.h>.
35882         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35883         (__lrintl): Call fegetround instead of __fegetround.
35884         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35885         instead of <fenv_libc.h>.
35886         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35887         (__rintl): Call fegetround instead of __fegetround.
35889 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35891         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35892         arrays.
35894 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35896         [BZ #17775]
35897         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35898         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35899         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35901 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35903         * sysdeps/i386/tls-macros.h: Include <features.h>.
35904         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35905         (TLS_IE): Likewise.
35906         (TLS_LD): Likewise.
35907         (TLS_GD): Likewise.
35908         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35909         define for GCC >= 5.0.
35911 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35913         * math/test-fenv.c (test_single_exception, set_single_exc,
35914         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35915         feexcp_mask_test, feenable_test, fe_single_test): Add
35916         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35917         case where they are not used.
35918         * math/libm-test.inc: Likewise.
35919         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35920         unused in the absence of FP rounding/exception support.
35921         * stdio-common/tst-printf-round.c: Likewise.
35922         * stdlib/tst-strtod-round.c: Likewise.
35923         * stdlib/tst-strtod-underflow.c: Likewise.
35925 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35927         [BZ #17723]
35928         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35929         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35930         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35931         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35932         libm_hidden_weak.
35933         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35934         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35935         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35936         libm_hidden_def.
35937         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35938         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35939         libm_hidden_weak.
35940         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35941         Likewise.
35942         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35943         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35944         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35945         libm_hidden_weak.
35946         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35947         libm_hidden_def.
35948         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35949         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35950         (__feraiseexcept): Likewise.
35951         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35952         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35953         libm_hidden_weak.
35954         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35955         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35956         libm_hidden_def.
35957         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35958         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35959         Use libm_hidden_def.
35960         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35961         libm_hidden_def.
35962         (feraiseexcept): Define as weak not strong alias.  Use
35963         libm_hidden_weak.
35964         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35965         New inline function.  Factored out of ...
35966         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35967         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35968         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35969         feraiseexcept.
35970         * math/w_acos.c (__acos): Likewise.
35971         * math/w_asin.c (__asin): Likewise.
35972         * math/w_ilogb.c (__ilogb): Likewise.
35973         * math/w_j0.c (y0): Likewise.
35974         * math/w_j1.c (y1): Likewise.
35975         * math/w_jn.c (yn): Likewise.
35976         * math/w_log.c (__log): Likewise.
35977         * math/w_log10.c (__log10): Likewise.
35978         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35979         * sysdeps/aarch64/fpu/math_private.h
35980         (libc_feupdateenv_test_aarch64): Likewise.
35981         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35982         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35983         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35984         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35985         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35986         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35987         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35988         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35989         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35990         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35992 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35994         [BZ #17732]
35995         * io/test-utime.c (main): Replace %ld with %jd and cast to
35996         intmax_t.
35997         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35998         * nptl/tst-mutex5.c: Include <stdint.h>.
35999         (do_test): Replace %ld with %jd and cast to intmax_t.
36000         * posix/tst-regex.c (run_test): Likewise.
36001         (run_test_backwards): Likewise.
36002         * rt/tst-clock.c: Include <stdint.h>.
36003         (clock_test): Replace %ld with %jd and cast to intmax_t.
36004         * rt/tst-cpuclock1.c: Include <stdint.h>.
36005         (do_test): Replace %lu with %ju and cast to uintmax_t.
36006         * rt/tst-cpuclock2.c: Include <stdint.h>.
36007         (do_test): Replace %lu with %ju and cast to uintmax_t.
36008         * rt/tst-mqueue1.c: Include <stdint.h>.
36009         (check_attrs): Replace %ld with %jd and cast to intmax_t.
36010         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
36011         intmax_t.
36012         * rt/tst-mqueue4.c (do_test): Likewise.
36013         * rt/tst-timer4.c: Include <stdint.h>.
36014         (check_ts): Replace %ld with %jd and cast to intmax_t.
36015         (do_test): Likewise.
36016         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
36017         and cast to intmax_t.
36018         * sysdeps/pthread/tst-timer.c (main): Likewise.
36019         * time/clocktest.c (main): Likewise.
36020         * time/tst-posixtz.c (do_test): Likewise.
36021         * timezone/tst-timezone.c (main): Likewise.
36023 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36024             H.J. Lu  <hongjiu.lu@intel.com>
36026         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
36027         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36028         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
36029         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
36030         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
36031         version if bit_Fast_Unaligned_Load is set.
36032         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36033         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36034         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36035         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36036         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36037         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36038         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36039         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
36040         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
36041         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
36042         to 4.
36043         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
36044         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
36045         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
36046         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
36048 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
36050         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
36051         instead of #if to avoid a Wundef warning.
36052         * stdlib/tst-limits.c (do_test): Likewise.
36054         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
36055         parallel other exception macros.
36056         (fegetenv): Convert from macro to extern inline so that it applies
36057         retroactively to inline functions already seen by the compiler.
36058         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
36060         * posix/Makefile (before-compile): Use $(objpfx) for
36061         posix-conf-vars-def.h.
36063 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36065         * posix/getconf.c (main): Use size_t for type of I.
36066         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
36067         NSPEC.
36069         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
36070         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
36071         * posix/posix-envs.def: Likewise.
36072         * sysdeps/posix/sysconf.c: Likewise.
36073         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
36074         (specs): Remove array.
36075         * scripts/gen-posix-conf-vars.awk: Support generation of specs
36076         array.
36078         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
36079         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
36080         (__sysconf): Use CONF_IS_* macros.
36082         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
36083         ($(objpfx)posix-conf-vars-def.h): New target.
36084         * posix/posix-conf-vars.list: New file.
36085         * posix/posix-conf-vars.h: New file.
36086         * posix/confstr.c: Include posix-conf-vars.h.
36087         (confstr): Use CONF_IS_* macros.
36088         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
36089         CONF_IS_* macros.
36090         * scripts/gen-posix-conf-vars.awk: New file.
36092 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
36094         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
36095         fegetround): Add no-op macros to avoid linknamespace issues.
36097         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
36098         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
36100         * sysdeps/unix/sysv/linux/tile/sysdep.h
36101         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
36102         assembly-specific section to avoid a redefinition warning.
36104         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
36105         long before casting to pointer to avoid a cast warning.
36107 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
36109         * sysdeps/tile/tilegx/Implies: New file.
36111 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
36113         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
36115 2014-12-23  Florian Weimer  <fweimer@redhat.com>
36117         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
36119 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36121         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
36122         not define.
36123         * sysdeps/unix/sysv/linux/utimes.c: Do not include
36124         <kernel-features.h>.
36125         (__utimes) [__NR_utimes]: Make code unconditional.
36126         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
36127         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36128         (__ASSUME_UTIMES): Do not undefine.
36129         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36130         (__ASSUME_UTIMES): Likewise.
36131         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36132         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
36133         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
36134         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
36136 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36138         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
36140 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
36142         [BZ #17747]
36143         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
36144         alias to weak alias for j0l, y0l.
36145         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
36146         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
36148         [BZ #17746]
36149         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
36150         conversion.
36152 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36154         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
36155         to zero if not already defined.
36157 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36159         [BZ #17724]
36160         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
36161         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
36162         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
36163         (char *) casts added.
36164         * sysdeps/ieee754/k_standardf.c: New file.
36165         * sysdeps/ieee754/k_standardl.c: Likewise.
36166         * math/Makefile (libm-support): Remove k_standard.
36167         (libm-calls): Add k_standard.
36169 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36171         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36172         Optimize to avoid an unnecessary FPCR read.
36174 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36176         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
36177         Optimize to reduce FPCR/FPSR accesses.
36179 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36181         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
36182         Call libc_fetestexcept_aarch64.
36184 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36186         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
36187         Call libc_fesetround_aarch64.
36189 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36191         [BZ #17733]
36192         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
36193         (__bind): Do not define as weak alias.
36194         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
36195         define.
36196         (__getsockname): Do not define as weak alias.
36198 2014-12-22  Will Newton  <will.newton@linaro.org>
36200         * manual/install.texi: Document that we require bison 2.7
36201         or above.
36202         * INSTALL: Regenerate.
36203         * configure.ac: Use AC_CHECK_PROG_VER instead of
36204         AC_PATH_PROG when checking for bison and check for
36205         version 2.7 or above.
36206         * configure: Regenerate.
36208 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
36210         [BZ #17745]
36211         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
36212         * sysdeps/tile/ffsll.c (ffsll): To here.
36214         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
36216 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36218         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
36219         if not defined.
36220         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
36221         definition.
36222         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36223         hidden ___tls_get_addr.
36224         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36225         hidden __tls_get_addr.
36226         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
36227         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
36228         Likewise.
36230 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36232         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
36233         _dl_init call.
36235 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36237         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
36238         from "call _dl_init@PLT".
36239         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
36241 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
36243         * manual/search.texi: (Array Sort Function): Clarify stable sorting
36244         guarantees.
36246 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
36248         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
36250 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36252         [BZ #17744]
36253         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
36254         strnlen.
36256 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36258         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
36259         of multu on MIPSr6.
36260         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
36261         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
36262         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
36263         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
36264         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
36266 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36268         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
36269         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
36270         (PTR_SUBU): Use subu for mips32r6/mips64r6.
36271         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
36272         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
36273         mips32r6/mips64r6.
36274         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
36276 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
36278         * string/strncat.c (STRNCAT): Simplify implementation.
36280 2014-12-19  David S. Miller  <davem@davemloft.net>
36282         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
36283         access the quad as both a long double and as a series of 4 words.
36285         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
36286         link_map->l_info array access.
36288 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36290         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
36292         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
36293         * math/atest-exp2.c (TIMEOUT): Likewise.
36294         * math/atest-sincos.c (TIMEOUT): Likewise.
36296 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36298         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36299         -Wno-error with -fno-builtin-lround.
36301 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36303         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36304         Contains futex constants and functions moved over from ...
36305         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36306         <lowlevellock-futex.h>.
36307         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36308         (lll_timedwait_tid): Add comments and parentheses around macro
36309         arguments.
36311 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36313         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36314         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36315         (__lll_private_flag): Remove.
36316         (lll_futex_wait): Likewise.
36317         (lll_futex_timed_wait): Likewise.
36318         (lll_futex_wake): Likewise.
36319         (lll_futex_requeue): Likewise.
36320         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36321         (__lll_timedwait_tid): Spell out argument names.
36322         (lll_timedwait_tid): Add comments and parentheses around macro
36323         arguments.
36324         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36325         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36327 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36329         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36330         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36331         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36332         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36333         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36334         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36335         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36336         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36337         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36338         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36339         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36341         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36342         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36343         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36344         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36345         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36346         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36347         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36349 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36351         * sysdeps/x86_64/x32/Makefile: New file.
36353 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36355         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36356         1L with (mp_limb_t) 1.
36358 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36360         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36361         * nptl/libc_pthread_init.c: ... here.
36362         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36363         * nptl/register-atfork.c: ... here.
36365         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36366         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36367         Use assert_perror to check its return value.
36368         (__gai_create_helper_thread): Likewise.
36370         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36372         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36374 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36376         [BZ #17725]
36377         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36378         __profil_counter.
36379         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36380         Likewise.
36381         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36382         Likewise.
36383         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36384         Likewise.
36385         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36386         (profil_counter): Likewise.
36387         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36388         (profil_counter): Likewise.
36389         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36390         Likewise.
36391         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36392         Likewise.
36393         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36394         (profil_counter): Likewise.
36395         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36396         Likewise.
36397         [!__profil_counter] (profil_counter): Define as weak alias of
36398         __profil_counter.
36399         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36400         (profil_counter): Rename to __profil_counter.
36401         [!__profil_counter] (profil_counter): Define as weak alias of
36402         __profil_counter.
36403         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36404         (profil_counter): Rename to __profil_counter.
36405         [!__profil_counter] (profil_counter): Define as weak alias of
36406         __profil_counter.
36407         * sysdeps/posix/profil.c: Update comment referring to
36408         profil_counter.
36409         (__profil): Use __profil_counter instead of profil_counter.
36410         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36411         __profil_counter.  Use __profil_counter_ushort and
36412         __profil_counter_uint in definitions.
36413         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36414         instead of profil_counter_uint and profil_counter_ushort.
36416         [BZ #17722]
36417         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36418         define as weak alias of __inet_makeaddr.
36419         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36420         as weak alias of __inet_addr.
36421         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36422         as weak alias of __inet_pton.  Use libc_hidden_weak.
36423         * include/arpa/inet.h (__inet_pton): Declare.  Use
36424         libc_hidden_proto.
36425         (inet_makeaddr): Don't use libc_hidden_proto.
36426         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36427         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36428         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36429         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36430         Remove variable.
36431         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36432         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36434 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36436         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36438 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36440         * stdio-common/bug-vfprintf-nargs.c (do_test):
36441         Cast value to intptr_t to avoid format warning
36442         for usage with PRIdPTR printing macro.
36444 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36446         * libio/tst-widetext.c (do_test):
36447         Use format type %td instead of %Zd for ptrdiff_t
36448         in order to avoid format warning.
36450 2014-12-17  Andreas Schwab  <schwab@suse.de>
36452         * nscd/mem.c (gc): Add size_t cast to match printf format.
36454 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36456         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36457         (init): Apply PTR_MANGLE to pointers before storing them.
36458         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36459         before using them.
36461 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36463         [BZ #17719]
36464         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36465         define as weak alias of __memrchr.
36466         (__memrchr): Do not define as strong alias of memrchr.
36467         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36468         Remove variable.
36469         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36470         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36471         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36473         [BZ #17717]
36474         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36475         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36476         (if_indextoname): Rename to __if_indextoname and define as weak
36477         alias of __if_indextoname.  Use libc_hidden_weak.
36478         (if_freenameindex): Rename to __if_freenameindex and define as
36479         weak alias of __if_freenameindex.
36480         (if_nameindex): Rename to __if_nameindex and define as weak alias
36481         of __if_nameindex.
36482         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36483         __if_nametoindex and define as weak alias of __if_nametoindex.
36484         Use libc_hidden_weak.
36485         (if_freenameindex): Rename to __if_freenameindex and define as
36486         weak alias of __if_freenameindex.
36487         (if_nameindex): Rename to __if_nameindex and define as weak alias
36488         of __if_nameindex.
36489         (if_indextoname): Rename to __if_indextoname and define as weak
36490         alias of __if_indextoname.  Use libc_hidden_weak.
36491         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36492         __if_nametoindex and define as weak alias of __if_nametoindex.
36493         Use libc_hidden_weak.
36494         (if_freenameindex): Rename to __if_freenameindex and define as
36495         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36496         (if_nameindex_netlink): Use __if_freenameindex instead of
36497         if_freenameindex.
36498         (if_nameindex): Rename to __if_nameindex and define as weak alias
36499         of __if_nameindex.  Use libc_hidden_weak.
36500         (if_indextoname): Rename to __if_indextoname and define as weak
36501         alias of __if_indextoname.  Use libc_hidden_weak.
36502         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36503         libc_hidden_proto.
36504         [!_ISOMAC] (__if_freenameindex): Likewise.
36505         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36506         if_nametoindex.
36507         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36508         variable.
36509         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36510         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36511         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36512         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36513         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36514         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36515         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36517         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36518         Remove variable.
36519         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36520         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36522 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36524         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36525         subscript above bounds'
36527         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36528         bounds.
36530 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36532         * libio/tst-fopenloc.c: Use test-skeleton.c.
36534         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36535         (entry): Rename to ITEM.
36536         (do_test, comp): Adjust.
36538         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36540 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36542         * string/tester.c: Include <libc-internal.h>.
36543         (test_memset): Ignore -Wmemset-transposed-args.
36545 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36547         * misc/tst-mntent2.c (do_test): Fix warning.
36549 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36551         * elf/tst-unique4lib.cc(a): Mark as used.
36553 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36555         [BZ #17630]
36556         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36557         names.
36559 2014-12-16  Allan McRae  <allan@archlinux.org>
36561         * stdio-common/Makefile (tests): Re-add bug26.
36563 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36565         [BZ #17657]
36566         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36567         static array.
36569 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36571         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36572         (__lll_lock_wait): Likewise.
36573         (__lll_timedlock_wait): Likewise.
36574         (__lll_timedwait_tid): Likewise.
36575         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36576         (__lll_robust_timedlock_wait): Likewise.
36577         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36578         (lll_cond_trylock): Likewise.
36579         (__lll_lock): Likewise.
36580         (__lll_robust_lock): Likewise.
36581         (__lll_cond_lock): Likewise.
36582         (lll_robust_cond_lock): Likewise.
36583         (__lll_timedlock): Likewise.
36584         (__lll_robust_timedlock): Likewise.
36585         (__lll_unlock): Likewise.
36586         (__lll_robust_unlock): Likewise.
36587         (lll_wait_tid): Likewise.
36588         (lll_timedwait_tid): Likewise.
36590 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36592         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36594 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36596         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36598 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36600         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36601         * stdio-common/tst-sprintf.c: Likewise.
36603 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36605         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36607 2014-12-15  Jeff Law  <law@redhat.com>
36609         [BZ #16617]
36610         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36611         on the heap.  (CVE-2012-3406)
36612         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36613         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36614         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36616 2014-12-15  Will Newton  <will.newton@linaro.org>
36618         * manual/install.texi: Bump required version of texinfo
36619         to 4.7 from 4.5.
36620         * INSTALL: Regenerated.
36621         * configure.ac: Check for makeinfo version 4.7 and above.
36622         * configure: Regenerated.
36624 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36626         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36627         PREFIX, string constant to insert between directory and name.
36628         * sysdeps/posix/shm_open.c: Update caller.
36629         * sysdeps/posix/shm_unlink.c: Likewise.
36630         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36631         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36632         (SEM_SHM_PREFIX): New macro.
36633         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36634         [$(have-thread-library) = no].
36635         * nptl/Makefile (libpthread-routines): Add shm-directory.
36636         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36637         * sysdeps/nptl/shm-directory.h: New file.
36638         * sysdeps/posix/shm-directory.c
36639         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36640         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36641         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36642         INTERNAL_SYSCALL.
36643         (__where_is_shmfs): Function removed.
36644         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36645         Variables removed.
36646         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36647         Use SHM_GET_NAME.
36648         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36650         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36651         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36652         unconditional for use inside libpthread.
36653         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36655 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36657         * nptl/pthread_getaffinity.c: New file.
36658         * nptl/pthread_setaffinity.c: New file.
36659         * nptl/pthread_getname.c: New file.
36660         * nptl/pthread_setname.c: New file.
36662         * nptl/pthread_create.c (START_THREAD_DEFN)
36663         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36665 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36666             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36668         * resolv/res_send.c (send_vc): Disable warning resplen may
36669         be used uninitialized.
36671 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36673         * nptl/tst-mutex6.c
36674         (ATTR_NULL): New define checks ATTR against NULL.
36675         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36676         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36678 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36680         [BZ #17581]
36681         * malloc/hooks.c
36682         (mem2mem_check): Revert my previous change.
36683         (malloc_check_get_size): Revert my previous change.
36684         (mem2chunk_check): Revert my previous change.
36686 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36688         * sysdeps/posix/shm-directory.c: New file.
36689         * sysdeps/posix/shm-directory.h: New file.
36690         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36691         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36692         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36693         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36694         Transmute EPERM to EACCES.
36695         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36696         from ...
36697         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36698         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36700 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36702         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36703         pointer and cast to uintptr_t.
36704         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36705         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36706         Add cast to avoid warning.
36707         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36709 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36711         * nptl/semaphore.h: Move to ...
36712         * sysdeps/pthread/semaphore.h: ... here.
36713         * Makefile (installed-headers): Change nptl/semaphore.h to
36714         sysdeps/pthread/semaphore.h.
36716 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36718         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36719         generated error format strings.
36721         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36722         -Wformat-extra-args warnings for scanf formats.
36723         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36724         test of zero-length format (duh).
36725         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36726         corner-case scanf format test.
36727         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36728         generated fprintf format string.
36729         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36730         corner-case sprintf format tests.
36731         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36732         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36733         -Wformat-extra-args warnings throughout.
36734         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36735         (CFLAGS-scanf4.c): Likewise.
36736         (CFLAGS-scanf7.c): Likewise.
36737         (CFLAGS-tst-sprintf.c): Likewise.
36738         (CFLAGS-tst-printf.c): Likewise.
36739         (CFLAGS-tst-printfsz.c): Likewise.
36741 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36743         * include/cpio.h: New file.
36744         * include/fmtmsg.h: Likewise.
36746         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36747         corresponding format argument to size_t.
36748         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36749         arguments.
36750         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36751         corresponding format argument to size_t.
36752         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36753         arguments.
36754         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36755         corresponding format argument to size_t.
36756         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36757         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36758         (CFLAGS-tst-mbswcs2.c): Likewise.
36759         (CFLAGS-tst-mbswcs3.c): Likewise.
36760         (CFLAGS-tst-mbswcs4.c): Likewise.
36761         (CFLAGS-tst-mbswcs5.c): Likewise.
36762         (CFLAGS-tst-trans.c): Likewise.
36764 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36766         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36767         rather than assuming they won't contain any '%'s.
36769 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36771         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36772         inhibit_loop_to_libcall to avoid recursive calls.
36773         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36774         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36776 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36778         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36779         prototype.
36781 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36783         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36784         integer value instead of boolean.
36786 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36788         * malloc/malloc.c: Fix powerof2 check.
36790 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36792         * locale/programs/locfile.h (maybe_swap_uint32):
36793         Remove inline and add unused attribute.
36795 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36797         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36798         Truncating assembler expression to a .long expression.
36800 2014-12-11  Andreas Schwab  <schwab@suse.de>
36802         * elf/rtld.c (struct map_args): Constify str member.
36803         (do_preload): Constify fname argument.
36805 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36807         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36808         constants definition.
36810 2014-12-11  Andreas Schwab  <schwab@suse.de>
36812         [BZ #16657]
36813         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36814         FORCE_ELISION instead of DO_ELISION.
36815         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36816         Remove.
36817         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36818         Likewise.
36820         * iconvdata/gconv-modules: Remove duplicate entry.
36822 2014-12-11  Will Newton  <will.newton@linaro.org>
36824         Merge gettext 0.19.3 into intl/.
36826         This involves a number of cosmetic changes to comments
36827         and ANSI function definitions and prototypes throughout
36828         all the files. The gettext copyright header is used but
36829         with the date ranges taken from the glibc copy.
36831         * NEWS: Add gettext merge to 2.21.
36832         * intl/bindtextdom.c: Switch to gettext copyright.
36833         Use ANSI definitions and prototypes.
36834         Use gl_* locking primitives rather than __libc_* ones.
36835         Use __builtin_expect rather than __glibc_likely/unlikely.
36836         * intl/dcgettext.c: Switch to gettext copyright.
36837         Use ANSI definitions and prototypes.
36838         * intl/dcigettext.c: Switch to gettext copyright.
36839         Use ANSI definitions and prototypes.
36840         (INTDIV0_RAISES_SIGFPE): New define.
36841         Use gl_* locking primitives rather than __libc_* ones.
36842         Include eval-plural.h instead of plural-eval.c.
36843         Use __builtin_expect rather than __glibc_likely/unlikely.
36844         * intl/dcngettext.c: Switch to gettext copyright.
36845         Use ANSI definitions and prototypes.
36846         * intl/dgettext.c: Likewise.
36847         * intl/dngettext.c: Likewise.
36848         * intl/plural-eval.c: Renamed to...
36849         * intl/eval-plural.h: ...this.
36850         * intl/explodename.c: Switch to gettext copyright.
36851         Use ANSI definitions and prototypes.
36852         (_nl_explode_name): Use strchr instead of __rawmemchr.
36853         * intl/finddomain.c: Switch to gettext copyright.
36854         Use ANSI definitions and prototypes.
36855         Use gl_* locking primitives rather than __libc_* ones.
36856         (_nl_find_domain): Use malloc rather than alloca for
36857         allocation of temporary locale name.
36858         * intl/gettext.c: Switch to gettext copyright.
36859         Use ANSI definitions and prototypes.
36860         * intl/gettextP.h: Switch to gettext copyright.
36861         Use ANSI definitions and prototypes.
36862         Use gl_* locking primitives rather than __libc_* ones.
36863         * intl/gmo.h: Switch to gettext copyright.
36864         (struct sysdep_string): Move struct segment_pair outside of
36865         struct definition.
36866         * intl/hash-string.c: Use ANSI definitions and prototypes.
36867         * intl/hash-string.h: Switch to gettext copyright.
36868         Use ANSI definitions and prototypes.
36869         * intl/l10nflist.c: Switch to gettext copyright.
36870         Use ANSI definitions and prototypes.
36871         (_nl_normalize_codeset): Avoid integer overflow.
36872         * intl/loadinfo.h: Switch to gettext copyright.
36873         Use ANSI definitions and prototypes.
36874         (LIBINTL_DLL_EXPORTED): New define.
36875         (PATH_SEPARATOR): New define.
36876         * intl/loadmsgcat.c: Switch to gettext copyright.
36877         * intl/localealias.c: Switch to gettext copyright.
36878         Use ANSI definitions and prototypes.
36879         (_nl_expand_alias): Use PATH_SEPARATOR.
36880         * intl/ngettext.c: Switch to gettext copyright.
36881         Use ANSI definitions and prototypes.
36882         * intl/plural-exp.c: Likewise.
36883         * intl/plural-exp.h: Switch to gettext copyright.
36884         Use ANSI definitions and prototypes.
36885         (struct expression): Move definition of enum operator outside
36886         of struct definition.
36887         * intl/plural.c: Regenerate.
36888         * intl/plural.y: Switch to gettext copyright.
36889         Use ANSI definitions and prototypes.
36890         Port to bison 3.0.
36891         * intl/textdomain.c: Switch to gettext copyright.
36892         Use ANSI definitions and prototypes.
36893         Use gl_* locking primitives rather than __libc_* ones.
36895 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36897         * debug/warning-nop.c: Add used atrribute.
36899 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36901         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36903         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36904         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36905         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36907 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36908             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36910         [BZ #17634]
36911         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36912         Undefine after defining function.  Define as weak alias of
36913         __wcschr.  Use libc_hidden_weak.
36914         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36915         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36916         (libc_hidden_def): Also define __GI___wcschr alias.
36917         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36918         __wcschr and define as weak alias of __wcschr.
36919         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36920         __wcschr.
36921         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36922         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36923         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36924         libc_hidden_weak.  Do not use libc_hidden_def.
36925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36926         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36927         __GI___wcschr alias.
36928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36929         [IS_IN (libc)] (wcschr): Define as macro expanding to
36930         __redirect_wcschr.
36931         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36932         [IS_IN (libc)] (__wcschr_power6): Likewise.
36933         [IS_IN (libc)] (__wcschr_power7): Likewise.
36934         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36935         instead of wcschr.
36936         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36937         __libc_wcschr.
36938         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36939         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36940         __wcschr and define as weak alias of __wcschr.  Use
36941         libc_hidden_builtin_def.
36942         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36943         as weak alias of __wcschr.  Use libc_hidden_weak.
36944         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36945         wcschr.
36946         * time/era.c (_nl_init_era_entries): Likewise.
36947         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36948         variable.
36949         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36950         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36952 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36954         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36955         format for long int variable.
36957 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36959         [BZ #10672]
36960         * manual/search.texi: (Array Sort Function): Remove claim how to make
36961         qsort stable.
36963 2014-12-10  Andreas Schwab  <schwab@suse.de>
36965         [BZ #12847]
36966         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36967         user-controlled locks.
36969 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36971         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36972         register.
36974 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36976         * configure.ac (--disable-werror): New configure option.
36977         (enable_werror): New AC_SUBST.
36978         * configure: Regenerated.
36979         * config.make.in (enable-werror): New variable.
36980         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36981         -Wno-error=undef.
36982         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36983         * manual/install.texi (Configuring and compiling): Document
36984         --disable-werror.
36985         * INSTALL: Regenerated.
36986         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36987         (CFLAGS-tst-chk2.c): Likewise.
36988         (CFLAGS-tst-chk3.c): Likewise.
36989         (CFLAGS-tst-chk4.cc): Likewise.
36990         (CFLAGS-tst-chk5.cc): Likewise.
36991         (CFLAGS-tst-chk6.cc): Likewise.
36992         (CFLAGS-tst-lfschk1.c): Likewise.
36993         (CFLAGS-tst-lfschk2.c): Likewise.
36994         (CFLAGS-tst-lfschk3.c): Likewise.
36995         (CFLAGS-tst-lfschk4.cc): Likewise.
36996         (CFLAGS-tst-lfschk5.cc): Likewise.
36997         (CFLAGS-tst-lfschk6.cc): Likewise.
36999         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
37000         (main): Disable -Wdeprecated-declarations around calls to
37001         register_printf_function.
37003         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
37004         (do_test): Disable -Wdiv-by-zero around some calls to
37005         fwrite_unlocked and fread_unlocked.
37007         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
37008         (DIAG_POP_NEEDS_COMMENT): Likewise.
37009         (_DIAG_STR1): Likewise.
37010         (_DIAG_STR): Likewise.
37011         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
37012         * stdio-common/bug21.c: Include <libc-internal.h>.
37013         (do_test): Disable -Wformat around call to sscanf.
37014         * stdio-common/scanf14.c: Include <libc-internal.h>.
37015         (main): Disable -Wformat around some calls to scanf functions.
37017 2014-12-09  Torvald Riegel  <triegel@redhat.com>
37019         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
37021 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37023         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
37024         stack variable alignment.
37026 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
37028         [BZ #17682]
37029         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
37030         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
37031         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
37032         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
37033         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
37034         __getrlimit instead of getrlimit.
37035         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
37036         __gettimeofday instead of gettimeofday.
37037         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
37038         Likewise.
37039         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
37040         Likewise.
37041         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37042         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
37043         Remove variable.
37044         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37045         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37047 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37049         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
37050         for wide-character tests.
37052 2014-12-04  Roland McGrath  <roland@hack.frob.com>
37054         * io/openat64.c: #include <libc-internal.h>
37055         (__openat64): Prototypify.  Use ignore_value on MODE.
37056         * io/openat.c: Likewise.
37057         * misc/reboot.c: #include <libc-internal.h>
37058         (reboot): Prototypify.  Use ignore_value on HOWTO.
37059         * misc/ptrace.c: #include <libc-internal.h>
37060         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
37062 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
37064         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
37065         XPG4, UNIX98 and XOPEN2K.
37066         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
37067         Remove variable.
37068         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37070 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37072         * libio/fileops.c: Use ISO C style for function definitions.
37073         * libio/iofopen.c: Likewise.
37074         * libio/wfileops.c: Likewise.
37076         [BZ #17653]
37077         * libio/fileops.c (_IO_new_file_underflow): Unset cached
37078         offset on EOF.
37079         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
37080         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
37081         (fgets_func): Function pointer to fgets and fgetws.
37082         (do_ftell_test): Add test to verify ftell value after read
37083         EOF.
37084         (do_test): Set fgets_func.
37086         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
37087         O_TRUNC flag for w and w+ modes.
37088         (do_rewind_test): Likewise.
37089         (do_ftell_test): Likewise.
37090         (do_write_test): Likewise.
37092         [BZ #17647]
37093         * libio/fileops.c (do_ftell): Seek only when there are
37094         unflushed writes.
37095         * libio/wfileops.c (do_ftell_wide): Likewise.
37096         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
37097         test case.
37098         (do_one_test): Call it.
37100 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
37102         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
37103         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
37104         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
37105         Remove variable.
37106         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37107         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37108         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37110 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37112         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
37113         Remove variable.
37114         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37116         [BZ #17668]
37117         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
37118         as weak alias of __getifaddrs.  Use libc_hidden_weak.
37119         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37120         __freeifaddrs.  Use libc_hidden_weak.
37121         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
37122         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
37123         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37124         __freeifaddrs.  Use libc_hidden_weak.
37125         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
37126         __getifaddrs and define as weak alias of __getifaddrs.  Use
37127         libc_hidden_weak.
37128         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37129         __freeifaddrs.  Use libc_hidden_weak.
37130         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
37131         Remove variable.
37132         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37133         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37135 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
37137         [BZ #17601]
37138         * sysdeps/mips/start.S (__start): Use indirect jump to call
37139         __libc_start_main.
37141 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37143         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
37145         * nptl/tst-mutex1.c: Include <stdbool.h>.
37146         [!ATTR] (ATTR_NULL): New macro.
37147         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
37148         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
37149         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
37151         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
37152         to char *.
37154         [BZ #17665]
37155         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
37156         Change conditional to [__USE_MISC].
37158         [BZ #17664]
37159         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
37160         fgets_unlocked.
37161         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
37162         __fgets_unlocked.
37163         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
37164         fgets_unlocked.
37165         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
37166         Remove variable.
37167         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37168         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37169         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37170         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37171         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37172         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37173         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37174         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37175         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37177         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
37179 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37181         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37182         Remove strpbrk objects.
37183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37184         (__libc_ifunc_impl_list): Remove strpbrk implementation.
37185         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
37186         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
37187         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
37188         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
37190         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37191         Remove strcspn objects.
37192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37193         (__libc_ifunc_impl_list): Remove strcspn implementation.
37194         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
37195         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
37196         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
37197         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
37199         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37200         Remove strspn objetcs.
37201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37202         (__libc_ifunc_impl_list): Remove strspn implementation.
37203         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
37204         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37205         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
37206         * sysdeps/powerpc/powerpc64/strspn.S: New file.
37208 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
37210         [BZ #17581]
37211         * malloc/hooks.c
37212         (mem2mem_check): Add a terminator to the chain of checking blocks.
37213         (malloc_check_get_size): Use it here.
37214         (mem2chunk_check): Ditto.
37216 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37218         * sysdeps/powerpc/powerpc64/strtok.S: New file.
37219         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
37221 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
37223         * bits/ioctl-types.h: Indent preprocessor directives correctly.
37225         * nptl/nptl-init.c: Include libc-internal.h.
37226         (__pthread_initialize_minimal_internal): Use ROUND_UP.
37228         * elf/ldconfig.c (search_dir): Expand comment.
37230 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
37232         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
37233         variable.
37234         (linknamespace-symlist-stdlibs-tests): Likewise.
37235         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
37236         instead of $(objpfx)symlist-stdlibs.
37237         (linknamespace-libs-isoc): New variable.
37238         (linknamespace-libs): Use $(linknamespace-libs-isoc).
37239         (linknamespace-libs-ISO): New variable.
37240         (linknamespace-libs-ISO99): Likewise.
37241         (linknamespace-libs-ISO11): Likewise.
37242         (linknamespace-libs-XPG3): Likewise.
37243         (linknamespace-libs-XPG4): Likewise.
37244         (linknamespace-libs-POSIX): Likewise.
37245         (linknamespace-libs-UNIX98): Likewise.
37246         (linknamespace-libs-XOPEN2K): Likewise.
37247         (linknamespace-libs-POSIX2008): Likewise.
37248         (linknamespace-libs-XOPEN2K8): Likewise.
37249         ($(objpfx)symlist-stdlibs): Replace by
37250         $(linknamespace-symlist-stdlibs-tests).  Use
37251         $(linknamespace-libs-$*) as set of libraries.
37252         ($(linknamespace-header-tests)): Update dependencies.  Use
37253         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
37254         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
37255         * conform/linknamespace.pl: Remove comment about considering
37256         definitions of symbols from irrelevant libraries.
37258 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
37260         [BZ #13862]
37261         * elf/dl-tls.c: Include <atomic.h>.
37262         (oom): Remove #ifdef SHARED/#endif.
37263         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
37264         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
37265         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
37266         big enough.
37267         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
37268         * nptl/Makefile (tests): Add tst-stack4.
37269         (modules-names): Add tst-stack4mod.
37270         ($(objpfx)tst-stack4): New.
37271         (tst-stack4mod.sos): Likewise.
37272         ($(objpfx)tst-stack4.out): Likewise.
37273         ($(tst-stack4mod.sos)): Likewise.
37274         (clean): Likewise.
37275         * nptl/tst-stack4.c: New file.
37276         * nptl/tst-stack4mod.c: Likewise.
37278 2014-11-27  J. Brown  <jb999@gmx.de>
37280         * sysdeps/x86/bits/string.h: Add recent CPUs.
37282 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37284         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
37285         sigblock.
37287         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
37288         feof.
37290         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
37291         variable.
37293 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37295         * nscd/connections.c: Include libc-internal.h because of macro
37296         usage ignore_value.
37298 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37300         * string/bits/string3.h (__warn_memset_zero_len): Don't
37301         declare for gcc newer than 5.0.
37302         (memset): Don't test for zero-length __LEN for gcc newer than
37303         5.0.
37305 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37307         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37308         size_t for %zu format.
37310         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37311         difference, not %ju.
37313 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37315         * include/libc-internal.h (ignore_value): New macro.
37316         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37317         with ignore_value.
37319         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37320         definition.
37322         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37323         pthread_cleanup_push to void *.
37325         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37326         Undefine.
37328         [BZ #16619]
37329         [BZ #16740]
37330         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37331         instead of 1L << 52.
37333         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37334         * libio/bug-rewind2.c (do_test): Likewise.
37336         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37337         * debug/test-strcpy_chk-ifunc.c: Likewise.
37338         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37339         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37340         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37341         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37342         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37343         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37344         * Rules [$(multi-arch) = no] (tests): Do not filter out
37345         $(tests-ifunc).
37346         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37347         * debug/Makefile (tests-ifunc): Remove variable.
37348         (tests): Do not add $(tests-ifunc).
37349         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37350         (tests): Do not add $(tests-ifunc).
37351         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37352         [TEST_IFUNC]: Remove conditionals.
37353         * string/test-string.h (TEST_IFUNC): Remove macro.
37354         [TEST_IFUNC]: Remove conditionals.
37356         * string/test-strchr.c [!WIDE] (L): New macro.
37357         [WIDE] (L): Likewise.
37358         (check1): Use CHAR instead of char.  Use L on string and character
37359         constants.
37361 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37363         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37364         tests.
37365         * sysdeps/powerpc/bits/atomic.h
37366         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37367         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37368         (atomic_exchange_and_add_acq): Likewise.
37369         (atomic_exchange_and_add_rel): Likewise.
37370         * sysdeps/powerpc/powerpc32/bits/atomic.h
37371         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37372         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37373         * sysdeps/powerpc/powerpc64/bits/atomic.h
37374         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37375         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37377 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37379         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37380         Change synchronization of __sched_fifo_min_prio and
37381         __sched_fifo_max_prio.
37382         * nptl/pthread_mutexattr_getprioceiling.c
37383         (pthread_mutexattr_getprioceiling): Likewise.
37384         * nptl/pthread_mutexattr_setprioceiling.c
37385         (pthread_mutexattr_setprioceiling): Likewise.
37386         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37387         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37388         Likewise.
37390 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37392         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37393         void.
37395 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37397         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37398         third argument const.
37400 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37402         fnmatch: work around GCC compiler warning bug with uninit var
37403         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37404         This works around a bug with x86-64 GCC 4.9.2 and earlier
37405         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37406         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37407         used uninitialized in this function [-Wmaybe-uninitialized]".
37409 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37411         * posix/bug-regex31.c (main): Return RES not 0.
37413 2014-11-25  Anton Blanchard <anton@samba.org>
37415         * sysdeps/powerpc/bits/atomic.h
37416         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37418 2014-11-24  Sterling Augustine  <saugustine@google.com>
37420         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37422 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37424         [BZ #17608]
37425         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37427 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37429         [BZ #17633]
37430         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37431         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37432         variable.
37433         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37434         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37436 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37438         * string/strncpy.c (strncpy): Improve performance by using memset.
37440 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37442         * string/strcpy.c (strcpy):
37443         Improve performance by using strlen and memcpy.
37445 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37447         * string/strcoll_l.c (get_next_seq): __always_inline.
37448         * string/strcoll_l.c (do_compare): __always_inline.
37450 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37452         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37453         defined.
37454         * include/mqueue.h: Likewise.
37455         * include/stdlib.h: Likewise.
37457         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37458         (get_null_defines): Adjust.
37459         * sunrpc/Makefile: Adjust comment.
37460         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37461         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37462         (CFLAGS-interp.c): Likewise.
37463         (CFLAGS-ldconfig.c): Likewise.
37464         (CPPFLAGS-.os): Likewise.
37465         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37466         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37467         * extra-modules.mk (extra-modules.mk): Likewise.
37468         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37469         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37470         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37471         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37472         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37473         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37474         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37475         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37476         * iconvdata/Makefile (CPPFLAGS): Likewise.
37477         (cpp-srcs-left): Add libof for all iconvdata routines.
37478         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37479         * include/assert.h: Likewise.
37480         * include/ctype.h: Likewise.
37481         * include/errno.h: Likewise.
37482         * include/libc-symbols.h: Likewise.
37483         * include/math.h: Likewise.
37484         * include/netdb.h: Likewise.
37485         * include/resolv.h: Likewise.
37486         * include/stdio.h: Likewise.
37487         * include/stdlib.h: Likewise.
37488         * include/string.h: Likewise.
37489         * include/sys/stat.h: Likewise.
37490         * include/wctype.h: Likewise.
37491         * intl/l10nflist.c: Likewise.
37492         * libidn/idn-stub.c: Likewise.
37493         * libio/libioP.h: Likewise.
37494         * nptl/libc_multiple_threads.c: Likewise.
37495         * nptl/pthreadP.h: Likewise.
37496         * posix/regex_internal.h: Likewise.
37497         * resolv/res_hconf.c: Likewise.
37498         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37499         * sysdeps/arm/memmove.S: Likewise.
37500         * sysdeps/arm/sysdep.h: Likewise.
37501         * sysdeps/generic/_itoa.h: Likewise.
37502         * sysdeps/generic/symbol-hacks.h: Likewise.
37503         * sysdeps/gnu/errlist.awk: Likewise.
37504         * sysdeps/gnu/errlist.c: Likewise.
37505         * sysdeps/i386/i586/memcpy.S: Likewise.
37506         * sysdeps/i386/i586/memset.S: Likewise.
37507         * sysdeps/i386/i686/memcpy.S: Likewise.
37508         * sysdeps/i386/i686/memmove.S: Likewise.
37509         * sysdeps/i386/i686/mempcpy.S: Likewise.
37510         * sysdeps/i386/i686/memset.S: Likewise.
37511         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37512         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37513         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37514         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37515         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37516         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37517         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37518         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37519         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37520         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37521         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37522         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37523         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37524         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37525         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37526         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37527         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37528         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37529         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37530         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37531         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37532         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37533         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37534         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37535         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37536         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37537         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37538         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37539         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37540         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37541         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37542         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37543         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37544         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37545         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37546         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37547         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37548         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37549         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37550         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37551         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37552         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37553         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37554         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37555         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37556         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37557         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37558         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37559         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37560         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37561         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37562         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37563         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37564         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37565         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37566         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37567         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37568         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37569         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37570         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37571         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37572         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37573         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37574         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37575         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37576         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37577         * sysdeps/posix/closedir.c: Likewise.
37578         * sysdeps/posix/opendir.c: Likewise.
37579         * sysdeps/posix/readdir.c: Likewise.
37580         * sysdeps/posix/rewinddir.c: Likewise.
37581         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37582         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37583         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37584         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37585         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37586         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37587         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37588         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37589         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37590         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37591         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37592         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37593         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37594         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37595         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37596         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37597         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37598         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37599         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37600         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37601         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37602         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37603         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37604         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37605         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37606         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37607         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37608         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37609         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37614         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37616         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37617         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37618         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37619         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37620         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37621         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37622         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37623         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37624         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37625         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37626         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37627         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37628         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37629         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37630         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37631         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37632         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37633         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37634         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37635         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37636         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37637         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37638         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37639         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37640         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37641         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37642         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37643         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37644         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37645         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37646         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37647         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37648         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37649         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37650         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37651         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37652         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37653         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37654         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37655         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37656         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37657         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37658         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37659         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37660         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37661         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37662         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37663         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37664         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37665         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37666         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37667         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37668         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37669         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37670         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37671         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37672         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37673         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37674         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37675         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37676         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37677         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37678         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37679         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37680         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37681         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37682         * sysdeps/unix/alpha/sysdep.S: Likewise.
37683         * sysdeps/unix/alpha/sysdep.h: Likewise.
37684         * sysdeps/unix/make-syscalls.sh: Likewise.
37685         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37686         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37687         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37688         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37689         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37690         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37691         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37692         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37693         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37694         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37695         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37696         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37697         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37698         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37699         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37700         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37701         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37702         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37703         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37704         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37705         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37706         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37707         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37708         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37709         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37710         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37711         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37714         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37715         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37716         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37717         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37718         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37719         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37721         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37722         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37723         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37724         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37725         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37726         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37727         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37728         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37729         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37730         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37731         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37732         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37733         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37734         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37735         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37736         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37737         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37738         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37739         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37740         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37741         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37743         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37744         * sysdeps/x86_64/memcpy.S: Likewise.
37745         * sysdeps/x86_64/memmove.c: Likewise.
37746         * sysdeps/x86_64/memset.S: Likewise.
37747         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37748         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37749         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37750         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37751         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37752         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37753         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37754         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37755         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37756         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37757         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37758         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37759         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37760         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37761         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37762         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37763         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37764         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37765         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37766         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37767         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37768         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37769         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37770         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37771         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37772         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37773         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37774         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37775         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37776         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37777         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37778         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37779         * sysdeps/x86_64/strcmp.S: Likewise.
37781         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37783         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37784         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37785         * elf/rtld-Rules: Likewise.
37786         * elf/setup-vdso.h: Likewise.
37787         * include/assert.h: Likewise.
37788         * include/bits/stdlib-float.h: Likewise.
37789         * include/errno.h: Likewise.
37790         * include/sys/stat.h: Likewise.
37791         * include/unistd.h: Likewise.
37792         * sysdeps/aarch64/setjmp.S: Likewise.
37793         * sysdeps/alpha/setjmp.S: Likewise.
37794         * sysdeps/arm/__longjmp.S: Likewise.
37795         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37796         * sysdeps/arm/setjmp.S: Likewise.
37797         * sysdeps/arm/sysdep.h: Likewise.
37798         * sysdeps/generic/_itoa.h: Likewise.
37799         * sysdeps/generic/dl-sysdep.h: Likewise.
37800         * sysdeps/generic/ldsodefs.h: Likewise.
37801         * sysdeps/i386/dl-tls.h: Likewise.
37802         * sysdeps/i386/setjmp.S: Likewise.
37803         * sysdeps/m68k/setjmp.c: Likewise.
37804         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37805         * sysdeps/mach/hurd/opendir.c: Likewise.
37806         * sysdeps/posix/getcwd.c: Likewise.
37807         * sysdeps/posix/opendir.c: Likewise.
37808         * sysdeps/posix/profil.c: Likewise.
37809         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37810         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37811         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37812         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37813         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37814         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37815         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37816         * sysdeps/s390/dl-tls.h: Likewise.
37817         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37818         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37819         * sysdeps/sh/sh3/setjmp.S: Likewise.
37820         * sysdeps/sh/sh4/setjmp.S: Likewise.
37821         * sysdeps/unix/alpha/sysdep.h: Likewise.
37822         * sysdeps/unix/arm/sysdep.S: Likewise.
37823         * sysdeps/unix/i386/sysdep.S: Likewise.
37824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37825         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37826         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37827         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37828         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37829         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37830         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37831         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37832         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37833         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37834         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37835         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37836         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37839         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37840         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37841         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37842         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37843         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37844         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37846         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37847         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37848         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37849         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37851         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37852         * sysdeps/x86_64/setjmp.S: Likewise.
37854         * include/math.h: Use IS_IN instead of IS_IN_libm.
37855         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37856         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37857         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37858         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37859         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37860         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37861         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37862         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37863         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37864         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37865         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37866         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37867         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37868         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37869         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37870         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37871         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37872         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37873         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37874         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37875         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37876         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37877         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37878         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37879         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37880         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37881         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37882         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37883         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37884         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37885         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37886         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37887         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37889         Likewise.
37890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37891         Likewise.
37892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37893         Likewise.
37894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37895         Likewise.
37896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37897         Likewise.
37898         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37899         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37900         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37901         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37902         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37903         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37909         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37910         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37911         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37912         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37913         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37914         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37915         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37916         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37917         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37918         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37919         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37920         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37921         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37922         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37924         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37926         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37927         * nptl/pthreadP.h: Likewise.
37928         * nptl_db/structs.def: Likewise.
37929         * sysdeps/arm/sysdep.h: Likewise.
37930         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37931         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37932         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37933         * sysdeps/unix/alpha/sysdep.h: Likewise.
37934         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37935         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37936         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37937         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37938         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37939         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37940         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37941         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37942         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37943         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37944         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37945         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37946         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37947         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37952         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37953         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37954         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37955         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37956         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37957         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37958         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37959         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37961         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37962         * nptl/pthreadP.h: Likewise.
37963         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37964         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37965         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37966         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37967         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37968         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37969         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37970         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37971         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37972         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37973         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37974         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37976         Likewise.
37977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37978         Likewise.
37979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37980         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37981         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37982         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37984         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37985         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37986         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37988         * dlfcn/dladdr.c: Use IS_IN.
37989         * dlfcn/dladdr1.c: Likewise.
37990         * dlfcn/dlclose.c: Likewise.
37991         * dlfcn/dlerror.c: Likewise.
37992         * dlfcn/dlinfo.c: Likewise.
37993         * dlfcn/dlmopen.c: Likewise.
37994         * dlfcn/dlopen.c: Likewise.
37995         * dlfcn/dlsym.c: Likewise.
37996         * dlfcn/dlvsym.c: Likewise.
37998         * include/ifaddrs.h: Use IS_IN.
37999         * inet/check_pf.c: Likewise.
38000         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38001         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
38003         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
38004         IS_IN_ldconfig.
38005         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
38006         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
38008         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
38009         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
38010         IS_IN (libc).
38012         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
38014         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
38015         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38016         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38017         * include/libc-symbols.h (IS_IN_LIB): New macro.
38018         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
38019         * include/netdb.h: Likewise.
38020         * include/stap-probe.h: Remove all uses of IN_LIB.
38022         * Makeconfig (module-cppflags-real): Define MODULE_NAME
38023         instead of IN_MODULE.
38024         * include/libc-symbols.h (IN_MODULE): Define using
38025         MODULE_NAME.
38026         (PASTE_NAME, PASTE_NAME1): New macros.
38027         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
38028         of IN_LIB.
38029         (STAP_PROBE_ASM): Likewise.
38031 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38033         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
38034         __mach_init in dlopened libc.
38036 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
38038         * sysdeps/arm/preconfigure.ac: Delete EABI check.
38039         * sysdeps/arm/preconfigure: Regenerate.
38041 2014-11-21  Roland McGrath  <roland@hack.frob.com>
38043         * nptl/pthread_create.c (__pthread_create_2_1): Set
38044         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
38045         when copying values from IATTR into PD.
38047 2014-11-21  Will Newton  <will.newton@linaro.org>
38048             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
38050         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
38051         Refactor inline-asm.  Also add comment.
38053         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
38054         ElfW macro instead of hardcoded Elf64 types.
38055         (la_aarch64_gnu_pltenter): Likewise.
38056         * sysdeps/aarch64/dl-machine.h
38057         (elf_machine_runtime_setup): Use ElfW(Addr).
38059         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
38060         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
38061         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
38062         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
38063         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
38064         (R_AARCH64_TLS_DTPMOD64): Rename to ..
38065         (R_AARCH64_TLS_DTPMOD): This.
38066         (R_AARCH64_TLS_DTPREL64): Rename to ...
38067         (R_AARCH64_TLS_DTPREL): This.
38068         (R_AARCH64_TLS_TPREL64): Rename to ...
38069         (R_AARCH64_TLS_TPREL): This.
38070         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
38071         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
38072         R_AARCH64_TLS_TPREL64.
38073         (elf_machine_rela): Likewise.
38075 2014-11-21  Torvald Riegel  <triegel@redhat.com>
38077         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
38078         by setting it to 0.  64b atomics are not supported currently.
38080 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38082         [BZ #16469]
38083         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
38084         search domain names.
38086 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38088         [BZ #16469]
38089         * NEWS: Update.
38090         * resolv/res_query.c (__libc_res_nquerydomain): Retain
38091         trailing dot.
38092         * posix/tst-getaddrinfo5.c: New.
38093         * posix/Makefile (tests): Add it.
38095 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38097         [BZ #14498]
38098         * NEWS: Fixed.
38099         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
38100         after parsing line but before break_if_match.
38101         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
38102         if there is a protocol mismatch.
38104 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
38106         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
38107         because the potential race is on the user-supplied stream.
38109 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38111         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
38112         string literal if not passed a buffer.
38113         * manual/job.texi (ctermid): Update reasoning, note deviation
38114         from posix, suggest mtasurace when not passed a buffer, for
38115         future non-preliminary safety notes.
38117 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38119         * manual/users.texi (cuserid): Fix MT-Safety note for the case
38120         of not passing it a buffer.
38121         Reported by Peng Haitao.
38123 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38125         * manual/Makefile ($(objpfx)stamp-summary): Require
38126         check-safety.sh to pass.
38127         * manual/check-safety.sh: Wish for verification that every
38128         @deftypefn and @deftypefun is followed by a @safety remark.
38130 2014-11-20  Roland McGrath  <roland@hack.frob.com>
38132         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
38134         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
38135         PTHREAD_CANCEL_ASYNCHRONOUS.
38136         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
38137         send SIGCANCEL.
38139         * nptl/default-sched.h: New file.
38140         * sysdeps/unix/sysv/linux/default-sched.h: New file.
38141         * nptl/pthread_create.c: Include it.
38142         (__pthread_create_2_1): Use collect_default_sched instead of making
38143         Linux syscalls here directly.
38145 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38147         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
38148         __pthread_once): Use C11 atomics.
38150 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38152         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
38154 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38156         * include/atomic.h (__atomic_link_error, __atomic_check_size,
38157         atomic_thread_fence_acquire, atomic_thread_fence_release,
38158         atomic_thread_fence_seq_cst, atomic_load_relaxed,
38159         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
38160         atomic_compare_exchange_weak_relaxed,
38161         atomic_compare_exchange_weak_acquire,
38162         atomic_compare_exchange_weak_release,
38163         atomic_exchange_acquire, atomic_exchange_release,
38164         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
38165         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
38166         atomic_fetch_and_acquire,
38167         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
38169 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38171         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
38172         USE_ATOMIC_COMPILER_BUILTINS): Define.
38173         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
38174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38175         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
38176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38177         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
38178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38179         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
38180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38181         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
38182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38183         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
38184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38185         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
38186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38187         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
38188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38189         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38191         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38192         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38193         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
38194         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38195         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38196         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38197         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
38198         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38199         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38200         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38201         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
38202         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38203         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
38204         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38205         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
38206         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38207         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38208         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38209         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
38210         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38211         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
38212         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38214 2014-11-19  Roland McGrath  <roland@hack.frob.com>
38216         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
38217         the sched_priority value here.  It was already checked when the user
38218         called pthread_attr_setschedparam.
38220         * nptl/tst-bad-schedattr.c: New file.
38221         * nptl/Makefile (tests): Add it.
38223 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
38224             Florian Weimer  <fweimer@redhat.com>
38225             Joseph Myers  <joseph@codesourcery.com>
38226             Adam Conrad  <adconrad@0c3.net>
38227             Andreas Schwab  <schwab@suse.de>
38228             Brooks  <bmoses@google.com>
38230         [BZ #17625]
38231         * wordexp-test.c (__dso_handle): Add prototype.
38232         (__register_atfork): Likewise.
38233         (__app_register_atfork): New function.
38234         (registered_forks): New global.
38235         (register_fork): New function.
38236         (test_case): Add 3 new tests for WRDE_CMDSUB.
38237         (main): Call __app_register_atfork.
38238         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
38239         fork count is non-zero fail the test.
38240         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
38241         is set.
38242         (parse_dollars): Remove check for WRDE_NOCMD.
38243         (parse_dquote): Likewise.
38245 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38247         * Makeconfig (built-modules): List non-library modules to be
38248         built.
38249         (module-cppflags): Include libc-modules.h for
38250         everything except shlib-versions.v.i.
38251         (CPPFLAGS): Use it.
38252         (before-compile): Add libc-modules.h.
38253         ($(common-objpfx)libc-modules.h,
38254         $(common-objpfx)libc-modules.stmp): New targets.
38255         (common-generated): Add libc-modules.h and libc-modules.stmp.
38256         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
38257         * include/libc-symbols.h: Don't include libc-modules.h.
38258         * include/libc-modules.h: Remove file.
38259         * scripts/gen-libc-modules.awk: New script to generate
38260         libc-modules.h.
38261         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
38262         Depend on libc-modules.stmp.
38264         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
38266         * Makeconfig (in-module): Get value of libof set for the
38267         translation unit.
38268         (CPPFLAGS): Use $(in-module).
38269         * Makerules: Don't suffix routine names for nonlib.
38270         * include/libc-modules.h: New file.
38271         * include/libc-symbols.h: Include libc-modules.h
38272         (IS_IN): New macro to replace IS_IN_* macros.
38273         * elf/Makefile: Set libof-* for each routine.
38274         * elf/rtld-Rules: Likewise.
38275         * extra-modules.mk: Likewise.
38276         * iconv/Makefile: Likewise.
38277         * iconvdata/Makefile: Likewise.
38278         * locale/Makefile: Likewise.
38279         * malloc/Makefile: Likewise.
38280         * nss/Makefile: Likewise.
38281         * sysdeps/gnu/Makefile: Likewise.
38282         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
38283         * sysdeps/unix/sysv/linux/Makefile: Likewise.
38284         * sysdeps/s390/s390-64/Makefile: Likewise.
38285         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
38286         CPPFLAGS for nscd instead of nonlib.
38288 2014-11-18  Roland McGrath  <roland@hack.frob.com>
38290         * nptl/createthread.c: New file.
38292         * nptl/createthread.c: Moved ...
38293         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38295         * nptl/createthread.c: Add proper top-line comment.
38296         (do_clone): Folded into ...
38297         (create_thread): ... here.  Take new arguments STOPPED_START and
38298         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38299         increment __nptl_threads, do event-reporting logic, do
38300         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38301         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38302         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38303         just send SIGCANCEL.
38304         * nptl/pthread_create.c: Forward-declare create_thread before
38305         including createthread.c.
38306         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38307         declaration, and new macro START_THREAD_SELF to replace argument.
38308         Remove return statement.
38309         (report_thread_creation): New function.
38310         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38311         synchronization logic, and __nptl_nthreads increment here, around
38312         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38313         PD->parent_cancelhandling here, before create_thread.  When
38314         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38315         __deallocate_stack, and ENOMEM translation here.
38317 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38319         [BZ #17616]
38320         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38321         (mptwo): Rename to __mptwo.
38322         (__inv): Use __mptwo instead of mptwo.
38323         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38324         (mptwo): Rename to __mptwo.
38325         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38326         of mpone and __mptwo instead of mptwo.
38327         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38328         instead of mpone.
38329         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38330         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38331         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38332         of mpone and __mptwo instead of mptwo.
38333         (__mpranred): Use __mpone instead of mpone.
38334         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38335         variable.
38336         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38337         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38338         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38339         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38340         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38341         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38342         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38343         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38344         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38345         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38346         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38347         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38348         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38349         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38350         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38351         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38352         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38353         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38354         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38356 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38358         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38359         replace BSD Handler xref with BSD Signal Handling.
38361 2014-11-17  Richard Henderson  <rth@redhat.com>
38363         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38364         (_FP_PACK_RAW_2): Remove.
38365         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38366         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38367         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38368         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38369         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38370         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38371         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38372         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38373         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38374         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38375         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38376         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38377         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38378         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38379         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38380         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38382 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38384         * signal/signal.h [__USE_MISC]
38385         (struct sigvec): Remove type.
38386         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38387         (sigvec): Remove declaration.
38388         * sysdeps/posix/sigvec.c: Moved ...
38389         * signal/sigvec.c: ... here, replacing old file.
38390         (struct sigvec): New type, copied from old signal.h definition.
38391         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38392         (__sigvec): Convert definition to prototype.
38393         (sigvec): Replace weak_alias with compat_symbol.
38394         * signal/Versions (libc: GLIBC_2.21): New version set.
38395         * include/signal.h: Remove __sigvec declaration.
38396         * sysdeps/unix/bsd/sigvec.c: Remove file.
38397         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38398         * manual/signal.texi (BSD Handler): Remove subsection.
38399         Move siginterrupt up to ...
38400         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38401         (Blocking in BSD): Fold subsection into its parent.
38402         * NEWS: Mention sigvec removal.
38404 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38406         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38407         (DLA_FMS): Make definition conditional only on [__FMA4__].
38408         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38409         definition.
38411         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38412         Make definition conditional only on [PROF].
38413         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38414         definition.
38415         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38416         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38418         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38419         !__GNUC__].
38420         * include/signal.h (__sigpause): Move declaration above call to
38421         libc_hidden_proto.
38422         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38423         variable.
38424         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38425         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38427 2014-11-14  David S. Miller  <davem@davemloft.net>
38429         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38430         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38432 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38434         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38435         * configure: Regenerated.
38436         * manual/install.texi (Tools for Compilation): Document a
38437         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38438         compiler verified to work.
38439         * INSTALL: Regenerated.
38441         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38442         redeclare with asm name.
38443         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38444         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38445         including <string.h>.
38446         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38447         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38448         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38449         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38450         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38451         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38452         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38454 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38456         * stdlib/strtol.c (__strtol): Use prototype definition.
38458         [BZ #17594]
38459         * stdlib/strtol.c (SYM__): New macro.
38460         (SYM__1): Likewise.
38461         (__strtol): Likewise.
38462         (strtol): Rename to __strtol and define as weak alias of
38463         __strtol.  Use libc_hidden_weak.
38465 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38467         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38468         Use numbered labels in inline assembly.
38470 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38472         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38473         Add setjmp LIBC_PROBE.
38474         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38475         Likewise.
38476         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38477         Add longjmp, longjmp_target LIBC_PROBE.
38478         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38479         Likewise.
38481 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38483         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38484         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38485         to get rid of unused variable warning.
38487 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38489         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38490         Check for unwind_backtrace ==  NULL only in SHARED case.
38491         (__backchain_backtrace): Compile only in SHARED case.
38492         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38493         Likewise.
38494         (__backchain_backtrace): Declare as static.
38496 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38498         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38499         (__libc_multiple_threads_ptr): Variable moved ...
38500         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38502 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38504         * conform/GlibcConform.pm: New file.
38505         * conform/conformtest.pl: Use GlibcConform module.
38506         * conform/linknamespace.pl: New file.
38507         * conform/list-header-symbols.pl: Likewise.
38508         * conform/Makefile (linknamespace-symlists-base): New variable.
38509         (linknamespace-symlists-tests): Likewise.
38510         (linknamespace-header-base): Likewise.
38511         (linknamespace-header-tests): Likewise.
38512         (tests-special): Add new tests.
38513         ($(linknamespace-symlists-tests)): New rule.
38514         (linknamespace-libs): New variable.
38515         ($(objpfx)symlist-stdlibs): New rule.
38516         ($(linknamespace-header-tests)): Likewise.
38517         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38518         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38519         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38520         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38521         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38522         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38523         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38524         (test-xfail-ISO/math.h/linknamespace): Likewise.
38525         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38526         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38527         (test-xfail-ISO/time.h/linknamespace): Likewise.
38528         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38529         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38530         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38531         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38532         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38533         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38534         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38535         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38536         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38537         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38538         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38539         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38540         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38541         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38542         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38543         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38544         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38545         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38546         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38547         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38548         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38549         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38550         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38551         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38552         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38553         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38554         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38555         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38556         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38557         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38558         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38559         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38560         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38561         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38562         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38563         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38564         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38565         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38566         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38567         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38568         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38569         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38570         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38571         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38572         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38573         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38574         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38575         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38576         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38577         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38578         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38579         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38580         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38581         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38582         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38583         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38584         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38585         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38586         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38587         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38588         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38589         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38590         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38591         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38592         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38593         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38594         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38595         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38596         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38597         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38598         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38599         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38600         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38601         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38602         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38603         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38604         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38605         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38606         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38607         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38608         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38609         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38610         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38611         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38612         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38613         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38614         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38615         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38616         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38617         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38618         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38619         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38620         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38621         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38622         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38623         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38624         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38625         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38626         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38627         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38628         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38629         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38630         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38631         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38632         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38633         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38634         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38635         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38636         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38637         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38638         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38639         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38640         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38641         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38642         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38643         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38644         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38645         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38646         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38647         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38648         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38649         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38650         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38651         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38652         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38653         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38654         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38655         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38656         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38657         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38658         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38659         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38660         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38661         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38662         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38663         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38664         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38665         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38666         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38667         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38668         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38669         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38670         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38671         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38672         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38673         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38674         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38675         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38676         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38677         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38679         [BZ #17589]
38680         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38681         of fgets_unlocked.
38683         [BZ #17585]
38684         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38685         (memmem): Rename to __memmem and define as weak alias of
38686         __memmem.  Use libc_hidden_weak.
38687         (__memmem): Use libc_hidden_def.
38688         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38689         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38690         memmem.
38692         [BZ #17582]
38693         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38694         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38695         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38696         and define as weak alias of __fgets_unlocked.  Use
38697         libc_hidden_weak.
38698         (__fgets_unlocked): Use libc_hidden_def.
38699         * include/stdio.h (__fgets_unlocked): Declare.  Use
38700         libc_hidden_proto.
38701         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38702         __fgets_unlocked instead of fgets_unlocked.
38703         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38704         (GET_NPROCS_CONF_PARSER): Likewise.
38705         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38706         (GET_NPROCS_CONF_PARSER): Likewise.
38708         [BZ #17574]
38709         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38710         weak alias of __wmemset.  Use libc_hidden_weak.
38711         (__wmemset): Use libc_hidden_def.
38712         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38713         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38714         of wmemset.
38716         [BZ #17573]
38717         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38718         with asm name __mempcpy.
38719         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38721         [BZ #17572]
38722         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38723         and define as weak alias of __rawmemchr.
38724         (__rawmemchr): Do not define as strong alias of rawmemchr.
38726         [BZ #17571]
38727         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38728         alias of __qsort_r.
38729         (qsort): Call __qsort_r instead of qsort_r.
38730         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38731         (__qsort_r): Declare.  Call libc_hidden_proto.
38732         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38733         instead of qsort_r.
38734         * nscd/gai.c (__qsort_r): Define to qsort_r.
38735         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38736         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38737         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38739         [BZ #17570]
38740         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38741         define as weak alias of __malloc_info.
38743         [BZ #17584]
38744         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38745         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38746         (__rewinddir): Use libc_hidden_def.
38747         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38748         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38749         (__rewinddir): Use libc_hidden_def.
38750         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38751         weak alias of __rewinddir.  Don't use libc_hidden_def.
38752         (__rewinddir): Use libc_hidden_def.
38753         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38754         (__rewinddir): Use libc_hidden_proto.
38755         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38756         rewinddir.
38757         (__getcwd): Use __rewinddir instead of rewinddir.
38759         [BZ #17583]
38760         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38761         alias of __fileno.  Use libc_hidden_weak.
38762         (__fileno): Use libc_hidden_def.
38763         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38764         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38765         alias of __ftello.
38766         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38767         __ftello.
38768         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38769         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38770         libc_hidden_def.
38771         (fread_unlocked): Don't use libc_hidden_ver.
38772         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38773         and define as weak alias of __fread_unlocked.  Don't use
38774         libc_hidden_def.
38775         (__fread_unlocked): Use libc_hidden_def.
38776         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38777         (ftello): Don't use libc_hidden_proto.
38778         (__ftello): Declare.  Use libc_hidden_proto.
38779         (fread_unlocked): Don't use libc_hidden_proto.
38780         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38781         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38782         and __ftello instead of fileno, fread_unlocked and ftello.
38784 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38786         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38787         GOT12.
38788         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38789         Likewise.
38790         (_dl_start_user): Likewise.
38791         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38793 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38794             Siddhesh Poyarekar  <siddhesh@redhat.com>
38796         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38797         Move argv and envp down instead of moving argc up.
38798         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38800 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38802         [BZ #17506]
38803         * test-skeleton.c (main): Return successful if one of
38804         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38805         * string/tst-strcoll-overflow.c: Define expected status.
38807 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38809         [BZ #17475]
38810         * locale/iso-639.def: Define Bhili and Tulu language codes.
38812 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38814         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38816 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38818         [BZ #17555]
38819         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38821 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38823         * configure.ac: Updated check of minimal required version to
38824         2.22.
38825         * manual/install.texi (Tools for Compilation): Updated version
38826         number.
38827         * configure: Regenerated.
38828         * INSTALL: Likewise.
38830 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38832         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38833         __tls_get_addr.
38835 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38837         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38838         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38839         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38840         libc_hidden_weak.
38841         (waitpid): Define as alias of __waitpid.
38842         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38843         __waitpid.
38844         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38845         libc_hidden_weak.
38846         (waitpid): Define as alias of __waitpid.
38847         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38848         __libc_waitpid alias.
38849         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38850         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38851         Likewise.
38852         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38853         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38854         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38855         alias.
38856         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38857         __waitpid.
38858         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38859         libc_hidden_weak.
38860         (waitpid): Define as alias of __waitpid.
38862 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38864         * manual/llio.texi: Add comment that write safety has been
38865         fixed in Linux.
38867         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38868         (localplt-build-dso): Add elf/ld.so.
38869         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38870         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38871         and free for ld.so.
38872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38873         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38875         Likewise.
38876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38877         Likewise.
38878         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38879         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38880         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38881         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38882         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38883         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38884         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38885         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38886         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38887         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38888         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38890 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38892         [BZ #14132]
38893         * include/libc-symbols.h (INTUSE): Remove macro.
38894         (INTDEF): Likewise.
38895         (INTVARDEF): Likewise.
38896         (_INTVARDEF): Likewise.
38897         (INTDEF2): Likewise.
38898         (INTVARDEF2): Likewise.
38899         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38900         rtld_hidden_def instead of INTVARDEF.
38901         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38902         (_dl_starting_up_internal): Remove declaration.
38903         (_dl_starting_up): Use rtld_hidden_proto.
38904         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38905         declaration.
38906         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38907         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38908         _dl_starting_up.
38909         * elf/dl-writev.h (_dl_writev): Likewise.
38910         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38911         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38912         _dl_starting_up_internal.
38914 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38916         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38917         test-skeleton.c.
38919 2014-11-05  Will Newton  <will.newton@linaro.org>
38921         * benchtests/Makefile: (bench-malloc): Add malloc thread
38922         scalability benchmark.
38923         * benchtests/bench-malloc-threads.c: New file.
38925 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38927         * sysdeps/aarch64/strchrnul.S: New file.
38929 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38931         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38932         definition.
38933         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38934         Likewise.
38935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38936         Likewise.
38937         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38938         Likewise.
38939         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38940         Likewise.
38941         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38942         Likewise.
38944 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38946         * catgets/test-gencat.c: Use test-skeleton.c.
38947         * catgets/tst-catgets.c: Likewise.
38948         * csu/tst-empty.c: Likewise.
38949         * elf/tst-audit2.c: Likewise.
38950         * elf/tst-global1.c: Likewise.
38951         * elf/tst-pathopt.c: Likewise.
38952         * elf/tst-piemod1.c: Likewise.
38953         * elf/tst-tls10.c: Likewise.
38954         * elf/tst-tls11.c: Likewise.
38955         * elf/tst-tls12.c: Likewise.
38956         * gnulib/tst-gcc.c: Likewise.
38957         * iconvdata/tst-e2big.c: Likewise.
38958         * iconvdata/tst-loading.c: Likewise.
38959         * iconv/tst-iconv1.c: Likewise.
38960         * iconv/tst-iconv2.c: Likewise.
38961         * inet/test-inet6_opt.c: Likewise.
38962         * inet/tst-gethnm.c: Likewise.
38963         * inet/tst-network.c: Likewise.
38964         * inet/tst-ntoa.c: Likewise.
38965         * intl/tst-codeset.c: Likewise.
38966         * intl/tst-gettext2.c: Likewise.
38967         * intl/tst-gettext3.c: Likewise.
38968         * intl/tst-ngettext.c: Likewise.
38969         * intl/tst-translit.c: Likewise.
38970         * io/test-stat.c: Likewise.
38971         * libio/test-fmemopen.c: Likewise.
38972         * libio/tst-freopen.c: Likewise.
38973         * libio/tst-sscanf.c: Likewise.
38974         * libio/tst-ungetwc1.c: Likewise.
38975         * libio/tst-ungetwc2.c: Likewise.
38976         * libio/tst-widetext.c: Likewise.
38977         * localedata/tst-ctype.c: Likewise.
38978         * localedata/tst-digits.c: Likewise.
38979         * localedata/tst-leaks.c: Likewise.
38980         * localedata/tst-mbswcs1.c: Likewise.
38981         * localedata/tst-mbswcs2.c: Likewise.
38982         * localedata/tst-mbswcs3.c: Likewise.
38983         * localedata/tst-mbswcs4.c: Likewise.
38984         * localedata/tst-mbswcs5.c: Likewise.
38985         * localedata/tst-setlocale.c: Likewise.
38986         * localedata/tst-trans.c: Likewise.
38987         * localedata/tst-wctype.c: Likewise.
38988         * localedata/tst-xlocale1.c: Likewise.
38989         * login/tst-grantpt.c: Likewise.
38990         * malloc/tst-calloc.c: Likewise.
38991         * malloc/tst-malloc.c: Likewise.
38992         * malloc/tst-mallocstate.c: Likewise.
38993         * malloc/tst-mcheck.c: Likewise.
38994         * malloc/tst-mtrace.c: Likewise.
38995         * malloc/tst-obstack.c: Likewise.
38996         * math/atest-exp2.c: Likewise.
38997         * math/atest-exp.c: Likewise.
38998         * math/atest-sincos.c: Likewise.
38999         * math/test-matherr.c: Likewise.
39000         * math/test-misc.c: Likewise.
39001         * math/test-powl.c: Likewise.
39002         * math/tst-definitions.c: Likewise.
39003         * misc/tst-dirname.c: Likewise.
39004         * misc/tst-efgcvt.c: Likewise.
39005         * misc/tst-fdset.c: Likewise.
39006         * misc/tst-hsearch.c: Likewise.
39007         * misc/tst-mntent2.c: Likewise.
39008         * nptl/tst-sem7.c: Likewise.
39009         * nptl/tst-sem8.c: Likewise.
39010         * nptl/tst-sem9.c: Likewise.
39011         * nss/test-netdb.c: Likewise.
39012         * posix/tst-fnmatch.c: Likewise.
39013         * posix/tst-getlogin.c: Likewise.
39014         * posix/tst-gnuglob.c: Likewise.
39015         * posix/tst-mmap.c: Likewise.
39016         * pwd/tst-getpw.c: Likewise.
39017         * resolv/tst-inet_ntop.c: Likewise.
39018         * rt/tst-timer.c: Likewise.
39019         * stdio-common/test-fseek.c: Likewise.
39020         * stdio-common/test-popen.c: Likewise.
39021         * stdio-common/test-vfprintf.c: Likewise.
39022         * stdio-common/tst-cookie.c: Likewise.
39023         * stdio-common/tst-fileno.c: Likewise.
39024         * stdio-common/tst-gets.c: Likewise.
39025         * stdio-common/tst-obprintf.c: Likewise.
39026         * stdio-common/tst-perror.c: Likewise.
39027         * stdio-common/tst-sprintf2.c: Likewise.
39028         * stdio-common/tst-sprintf3.c: Likewise.
39029         * stdio-common/tst-sprintf.c: Likewise.
39030         * stdio-common/tst-swprintf.c: Likewise.
39031         * stdio-common/tst-tmpnam.c: Likewise.
39032         * stdio-common/tst-unbputc.c: Likewise.
39033         * stdio-common/tst-wc-printf.c: Likewise.
39034         * stdlib/tst-environ.c: Likewise.
39035         * stdlib/tst-fmtmsg.c: Likewise.
39036         * stdlib/tst-limits.c: Likewise.
39037         * stdlib/tst-rand48-2.c: Likewise.
39038         * stdlib/tst-rand48.c: Likewise.
39039         * stdlib/tst-random2.c: Likewise.
39040         * stdlib/tst-random.c: Likewise.
39041         * stdlib/tst-strtol.c: Likewise.
39042         * stdlib/tst-strtoll.c: Likewise.
39043         * stdlib/tst-tls-atexit.c: Likewise.
39044         * stdlib/tst-xpg-basename.c: Likewise.
39045         * string/test-ffs.c: Likewise.
39046         * string/tst-bswap.c: Likewise.
39047         * string/tst-inlcall.c: Likewise.
39048         * string/tst-strtok.c: Likewise.
39049         * string/tst-strxfrm.c: Likewise.
39050         * sysdeps/x86_64/tst-audit10.c: Likewise.
39051         * sysdeps/x86_64/tst-audit3.c: Likewise.
39052         * sysdeps/x86_64/tst-audit4.c: Likewise.
39053         * sysdeps/x86_64/tst-audit5.c: Likewise.
39054         * time/tst-ftime_l.c: Likewise.
39055         * time/tst-getdate.c: Likewise.
39056         * time/tst-mktime3.c: Likewise.
39057         * time/tst-mktime.c: Likewise.
39058         * time/tst-posixtz.c: Likewise.
39059         * time/tst-strptime2.c: Likewise.
39060         * time/tst-strptime3.c: Likewise.
39061         * wcsmbs/tst-btowc.c: Likewise.
39062         * wcsmbs/tst-mbrtowc.c: Likewise.
39063         * wcsmbs/tst-mbsrtowcs.c: Likewise.
39064         * wcsmbs/tst-wchar-h.c: Likewise.
39065         * wcsmbs/tst-wcpncpy.c: Likewise.
39066         * wcsmbs/tst-wcrtomb.c: Likewise.
39067         * wcsmbs/tst-wcsnlen.c: Likewise.
39068         * wcsmbs/tst-wcstof.c: Likewise.
39070 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
39072         [BZ #14132]
39073         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
39074         INTDEF.
39075         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
39076         declaration.
39077         (_dl_mcount): Use rtld_hidden_proto.
39078         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
39079         _dl_mcount.
39080         * elf/rtld.c (_rtld_global_ro): Likewise.
39082         [BZ #14132]
39083         * elf/dl-init.c (_dl_init): Don't use INTDEF.
39084         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
39085         of _dl_init_internal.
39086         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
39087         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
39088         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
39089         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
39090         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
39091         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
39092         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
39093         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
39094         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
39095         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
39096         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
39097         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
39098         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39099         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39100         * sysdeps/tile/dl-start.S (_start): Likewise.
39101         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
39102         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
39104         [BZ #14132]
39105         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
39106         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
39107         (rtld_progname): Make macro definition unconditional.
39108         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
39109         INTDEF.
39110         (dlmopen_doit): Do not use INTUSE with _dl_argv.
39111         (dl_main): Likewise.
39112         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39113         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
39114         instead of _dl_argv_internal.
39115         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39116         __GI__dl_argv instead of INTUSE(_dl_argv).
39117         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
39118         __GI__dl_argv instead of _dl_argv_internal.
39120         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
39121         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
39122         macro.
39123         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
39124         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
39125         New macro.
39126         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
39127         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
39128         macro.
39129         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
39130         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
39132 2014-11-04  Andreas Schwab  <schwab@suse.de>
39134         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
39136 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39138         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
39139         mtvsrd instruction in binary form.
39141 2014-11-03  Andreas Schwab  <schwab@suse.de>
39143         [BZ #17522]
39144         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
39145         for less than MB_LEN_MAX use a local buffer of that size.
39146         * libio/tst-fputws.c: New file.
39147         * libio/Makefile (tests): Add tst-fputws.
39149 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
39151         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
39152         the size of the fpu_fr.fpu_dregs[] array.
39154 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
39156         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
39157         (__nanosleep): Do not define as alias.
39158         (nanosleep): Define as alias of __nanosleep.
39159         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
39160         __libc_nanosleep name.
39162 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39164         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
39165         install.texi in comment.
39167 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39169         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
39170         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
39171         ... add here and use lwsync or sync ...
39172         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
39173         ... and add here using lwsync.
39175 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39177         * elf/dl-machine-reject-phdr.h: New file.
39178         * elf/dl-load.c: #include that.
39179         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
39180         if that returned true.
39182 2014-10-31  Roland McGrath  <roland@hack.frob.com>
39184         [BZ #17496]
39185         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
39186         gen-as-const-headers chunk.  Add a big scare comment after the last
39187         safe place to touch before-compile.
39189 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39191         * manual/install.texi (Tools for Compilation): Update autoconf
39192         version requirements.
39193         * INSTALL: Regenerated.
39195         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
39196         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
39197         (__libc_pselect): Likewise.
39199         [BZ #14138]
39200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
39201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39205 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39207         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
39208         correct barrier instruction.
39209         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
39210         Likewise.
39211         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
39212         Likewise.
39214 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39216         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
39217         after defining inlines.  Instead, just use parens to defeat macro
39218         expansion of __isctype in its declaration.
39220 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39222         * include/sys/uio.h (__libc_readv): Remove declaration.
39223         (__libc_writev): Likewise.
39224         * misc/readv.c (__libc_readv): Rename to __readv.
39225         (__readv): Do not define as alias.
39226         (readv): Define as alias of __readv.
39227         * misc/writev.c (__libc_writev): Rename to __writev.
39228         (__writev): Do not define as alias.
39229         (writev): Define as alias of __writev.
39230         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
39231         (__readv): Do not define as alias.
39232         (readv): Define unconditionally as alias of __readv.
39233         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
39234         (__writev): Do not define as alias.
39235         (writev): Define unconditionally as alias of __writev.
39236         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
39237         name.
39238         (writev): Do not define __libc_writev name.
39240 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39242         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
39243         (convert_charseq): New function, broken out of ...
39244         (use_from_charmap): ... here.  Call it.
39245         (use_to_charmap): Use convert_charseq and free instead of duplicating
39246         its code with a variable-length stack struct.
39248 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39250         * include/fcntl.h (__libc_creat): Remove declaration.
39251         * io/creat.c (__libc_creat): Rename to creat.
39252         (creat): Do not define as alias.
39253         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
39254         of creat instead of __libc_creat.
39255         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
39256         to creat.
39257         (creat): Do not define as alias.
39258         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
39259         __libc_creat.
39260         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
39261         __libc_creat name.
39262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
39263         Likewise.
39265 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
39267         * manual/llio.texi: Add comments discussing why write() may be
39268         considered MT-unsafe on Linux.
39270 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
39272         * dl-load.c (local_strdup): Remove.
39273         (expand_dynamic_string_token): Use __strdup.
39274         (decompose_rpath): Likewise.
39275         (_dl_map_object): Likewise.
39277 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
39279         [BZ #14132]
39280         * sysdeps/generic/unwind-dw2-fde.c
39281         (__register_frame_info_bases_internal): Do not declare.
39282         (__register_frame_info_table_bases_internal): Likewise.
39283         (__deregister_frame_info_bases_internal): Likewise.
39284         (__register_frame_info_bases): Declare and use hidden_proto before
39285         definition.  Use hidden_def instead of INTDEF.
39286         (__register_frame_info_table_bases): Likewise.
39287         (__deregister_frame_info_bases): Likewise.
39288         (__register_frame_info): Do not use INTUSE.
39289         (__register_frame): Likewise.
39290         (__register_frame_info_table): Likewise.
39291         (__register_frame_table): Likewise.
39292         (__deregister_frame_info): Likewise.
39293         (__deregister_frame): Likewise.
39295 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39297         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39298         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39299         not undefine.
39300         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39301         Likewise.
39302         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39303         Likewise.
39305 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39307         [BZ #14138]
39308         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39309         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39310         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39311         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39312         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39313         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39314         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39315         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39316         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39317         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39318         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39319         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39320         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39321         syscall.
39322         (setfsuid): Likewise.
39323         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39324         (setfsuid): Likewise.
39325         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39326         (setfsuid): Likewise.
39327         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39328         Likewise.
39329         (setfsuid): Likewise.
39330         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39331         (setfsuid): Likewise.
39332         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39333         Likewise.
39334         (setfsuid): Likewise.
39336 2014-10-27  Andreas Schwab  <schwab@suse.de>
39338         [BZ #17501]
39339         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39340         check for Slow_SSE4_2 feature bit.
39341         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39342         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39343         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39344         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39346 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39348         * configure.ac: Validate compiler version with a empirical test of
39349         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39350         $CC -v output.
39351         * configure: Regenerated.
39353         * inet/htons.c (htons): Prototypify.
39354         * inet/htonl.c (htonl): Likewise.
39356 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39358         * string/strncat.c (strncat): Improve performance by using strlen.
39360 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39362         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39364 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39366         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39367         Call libc_fetestexcept_aarch64.
39369 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39371         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39372         Call libc_feholdexcept_aarch64.
39374 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39376         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39377         Call get_rounding_mode.
39379 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39381         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39382         Simplify logic.
39384 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39386         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39387         Simplify logic.
39389 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39391         [BZ #14138]
39392         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39393         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39394         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39395         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39396         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39397         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39398         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39399         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39400         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39401         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39402         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39403         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39404         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39405         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39406         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39407         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39408         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39409         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39410         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39411         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39412         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39413         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39414         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39415         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39416         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39417         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39418         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39419         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39420         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39421         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39422         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39423         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39424         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39425         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39426         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39427         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39428         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39429         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39430         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39431         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39432         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39433         syscall.
39434         (geteuid): Likewise.
39435         (getgid): Likewise.
39436         (getuid): Likewise.
39437         (getresgid): Likewise.
39438         (getresuid): Likewise.
39439         (getgroups): Likewise.
39440         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39441         (geteuid): Likewise.
39442         (getgid): Likewise.
39443         (getuid): Likewise.
39444         (getresgid): Likewise.
39445         (getresuid): Likewise.
39446         (getgroups): Likewise.
39447         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39448         (geteuid): Likewise.
39449         (getgid): Likewise.
39450         (getuid): Likewise.
39451         (getresgid): Likewise.
39452         (getresuid): Likewise.
39453         (getgroups): Likewise.
39454         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39455         Likewise.
39456         (geteuid): Likewise.
39457         (getgid): Likewise.
39458         (getuid): Likewise.
39459         (getresgid): Likewise.
39460         (getresuid): Likewise.
39461         (getgroups): Likewise.
39462         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39463         (geteuid): Likewise.
39464         (getgid): Likewise.
39465         (getuid): Likewise.
39466         (getresgid): Likewise.
39467         (getresuid): Likewise.
39468         (getgroups): Likewise.
39469         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39470         Likewise.
39471         (geteuid): Likewise.
39472         (getgid): Likewise.
39473         (getuid): Likewise.
39474         (getgroups): Likewise.
39476         [BZ #14138]
39477         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39478         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39479         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39480         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39481         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39482         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39483         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39484         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39485         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39486         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39487         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39488         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39489         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39490         __chown.
39491         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39492         (lchown): Likewise.
39493         (fchown): Likewise.
39494         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39495         Likewise.
39496         (lchown): Likewise.
39497         (fchown): Likewise.
39498         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39499         (lchown): Likewise.
39500         (fchown): Likewise.
39501         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39502         Likewise.
39503         (lchown): Likewise.
39504         (fchown): Likewise.
39506 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39508         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39509         Simplify logic.
39511 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39513         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39514         Cleanup logic.
39516 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39518         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39519         Remove unused include.
39521 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39523         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39524         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39525         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39526         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39528 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39529             Helge Deller <deller@gmx.de>
39531         [BZ #17508]
39532         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39533         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39534         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39536 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39538         [BZ #14132]
39539         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39540         Remove macro definition.
39541         (__ashrdi3_v_glibc20): Likewise.
39542         (__lshrdi3_v_glibc20): Likewise.
39543         (__cmpdi2_v_glibc20): Likewise.
39544         (__ucmpdi2_v_glibc20): Likewise.
39545         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39546         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39547         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39548         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39549         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39550         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39552 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39554         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39555         old GNU extension [0] syntax.
39556         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39557         alloca rather than an array member with variable length.
39558         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39559         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39560         (parse_opt): ... here.  Likewise use alloca there.
39561         Validate the -i argument before checking for rootness.
39562         (send_shutdown): New function, broken out of ...
39563         (parse_opt): ... here.
39565 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39567         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39568         macro to get at the _rt_local_ro field.
39569         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39570         ([PIC] case) or _dl_hwcap ([!PIC] case).
39571         * sysdeps/arm/setjmp.S: Likewise.
39573         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39574         * sysdeps/arm/configure.ac: New check to define it.
39575         * sysdeps/arm/configure: Regenerated.
39576         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39577         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39578         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39579         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39580         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39581         Use move/movt pair instead of a load.
39582         (LDST_GLOBAL): Macro removed.
39583         (LDR_GLOBAL): New macro replaces it.
39584         (LDR_HIDDEN): New macro.
39585         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39586         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39588         * setjmp/tst-setjmp-static.c: New file.
39589         * setjmp/Makefile (tests): Add it.
39590         (tests-static): New variable.
39592 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39594         [BZ #17485]
39595         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39597 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39599         [BZ #14132]
39600         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39602 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39604         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39606 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39608         * io/fts.c (dirent_not_directory): New function.
39609         (fts_build): Call it.
39611 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39613         * nptl/version.c (__nptl_main): Use normal __write rather than
39614         INTERNAL_SYSCALL.
39615         (banner): Update copyright years.
39617         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39618         gettimeofday.
39619         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39620         * nptl/pthread_cond_timedwait.c: Likewise.
39621         * nptl/pthread_mutex_timedlock.c: Likewise.
39622         * nptl/sem_timedwait.c: Likewise.
39624         * sysdeps/nptl/bits/libc-lock.h
39625         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39626         (__libc_lock_init_recursive): Return void, not 0.
39627         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39628         (__libc_rwlock_init): Likewise.
39629         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39631 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39633         [BZ #15215]
39634         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39635         (__pthread_once_slow): ... here.
39636         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39637         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39639 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39641         [BZ #15215]
39642         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39643         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39644         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39645         * nptl/pthread_once.c (__pthread_once): Likewise.
39646         Update comments.
39648 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39650         [BZ #14138]
39651         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39652         name.
39653         (writev): Use __libc_writev as strong name.
39654         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39655         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39657 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39659         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39661         * sysdeps/i386/nptl/tls.h
39662         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39663         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39664         New macros.
39665         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39666         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39667         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39668         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39669         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39670         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39672         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39673         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39674         on [__NR_futex].
39675         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39676         broken out of ...
39677         (__pthread_mutex_init): ... here.  Call it.
39678         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39679         Conditionalize PI cases on [__NR_futex].
39680         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39681         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39682         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39684         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39685         conditional on [SIGSETXID].
39686         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39687         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39688         is defined.  Likewise for SIGSETXID.
39689         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39690         Conditionalize definitions on [SIGSETXID].
39691         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39692         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39693         unblocking on [SIGCANCEL].
39695         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39696         [__NR_set_robust_list].
39698 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39700         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39701         (do_compare): Likewise.
39703 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39705         [BZ #15884]
39706         * string/strcoll_l.c: Don't include stdio.h.
39707         (coll_seq): Remove members idxarr and rulearr.
39708         (get_next_seq_cached): Remove function.
39709         (get_next_seq): Likewise.
39710         (get_next_seq_nocache): Rename to get_next_seq.
39711         (do_compare): Remove function.
39712         (do_compare_nocache): Rename to do_compare.
39713         (STRCOLL): Remove weight and rules cache.
39715 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39717         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39718         * sysdeps/arm/sfp-machine.h: ... to here.
39719         * sysdeps/arm/Implies: Remove arm/soft-fp.
39721 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39723         * conform/data/sys/utsname.h-data (*_t): Allow.
39724         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39725         [POSIX] (WEXITED): Do not expect constant.
39726         [POSIX] (WSTOPPED): Likewise.
39727         [POSIX] (WNOHANG): Likewise.
39728         [POSIX] (WNOWAIT): Likewise.
39729         [POSIX] (siginfo_t): Do not expect type or elements.
39730         [POSIX] (pid_t): Do not expect type.
39731         [POSIX] (signal.h): Do not allow header.
39732         [POSIX] (sys/resource.h): Likewise.
39733         [POSIX] (si_*): Do not allow pattern.
39734         [POSIX] (W*): Likewise.
39735         [POSIX] (P_*): Likewise.
39736         [POSIX] (BUS_*): Likewise.
39737         [POSIX] (CLD_*): Likewise.
39738         [POSIX] (FPE_*): Likewise.
39739         [POSIX] (ILL_*): Likewise.
39740         [POSIX] (POLL_*): Likewise.
39741         [POSIX] (SEGV_*): Likewise.
39742         [POSIX] (SI_*): Likewise.
39743         [POSIX] (TRAP_*): Likewise.
39744         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39745         variable.
39747 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39749         [BZ #12926]
39750         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39751         infinite loop when __recvmsg returns 0.
39753 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39755         * CANCEL-FCT-WAIVE: Remove file.
39756         * CANCEL-FILE-WAIVE: Likewise.
39758         [BZ #14132]
39759         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39760         instead of INTVARDEF.
39761         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39762         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39763         rtld_hidden_data_def instead of INTVARDEF.
39764         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39765         * elf/dl-deps.c (expand_dst): Likewise.
39766         * elf/dl-load.c (_dl_dst_count): Likewise.
39767         (_dl_dst_substitute): Likewise.
39768         (decompose_rpath): Likewise.
39769         (_dl_init_paths): Likewise.
39770         (open_path): Likewise.
39771         (_dl_map_object): Likewise.
39772         * elf/rtld.c (dl_main): Likewise.
39773         (process_dl_audit): Likewise.
39774         (process_envvars): Likewise.
39775         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39776         Remove declaration.
39777         (__libc_enable_secure): Use rtld_hidden_proto.
39779 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39781         * elf/dl-load.c
39782         (add_path): New function broken out of _dl_rtld_di_serinfo.
39783         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39785 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39787         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39788         parentheses around macro arguments.
39789         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39790         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39791         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39792         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39793         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39794         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39795         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39796         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39797         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39798         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39799         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39800         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39801         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39802         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39803         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39804         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39805         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39806         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39807         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39808         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39809         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39810         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39811         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39812         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39813         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39814         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39815         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39816         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39817         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39818         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39819         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39820         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39821         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39822         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39823         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39824         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39825         Likewise.
39826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39827         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39828         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39831         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39833         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39834         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39835         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39836         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39837         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39838         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39841         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39842         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39843         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39845         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39846         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39847         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39848         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39849         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39850         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39851         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39852         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39853         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39854         (_FP_FRAC_SRS_1): Likewise.
39855         (_FP_FRAC_CLZ_1): Likewise.
39856         (_FP_MUL_MEAT_1_imm): Likewise.
39857         (_FP_MUL_MEAT_1_wide): Likewise.
39858         (_FP_MUL_MEAT_1_hard): Likewise.
39859         (_FP_SQRT_MEAT_1): Likewise.
39860         (_FP_FRAC_ASSEMBLE_1): Likewise.
39861         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39862         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39863         (__FP_CLZ_2): Likewise.
39864         (_FP_MUL_MEAT_2_wide): Likewise.
39865         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39866         (_FP_MUL_MEAT_2_gmp): Likewise.
39867         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39868         (_FP_SQRT_MEAT_2): Likewise.
39869         (_FP_FRAC_ASSEMBLE_2): Likewise.
39870         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39871         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39872         (_FP_FRAC_CLZ_4): Likewise.
39873         (_FP_MUL_MEAT_4_wide): Likewise.
39874         (_FP_MUL_MEAT_4_gmp): Likewise.
39875         (_FP_SQRT_MEAT_4): Likewise.
39876         (_FP_FRAC_ASSEMBLE_4): Likewise.
39877         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39878         * soft-fp/op-common.h (_FP_CMP): Likewise.
39879         (_FP_CMP_EQ): Likewise.
39880         (_FP_CMP_UNORD): Likewise.
39881         (_FP_TO_INT): Likewise.
39882         (_FP_FROM_INT): Likewise.
39883         [!__FP_CLZ] (__FP_CLZ): Likewise.
39884         (_FP_DIV_HELP_imm): Likewise.
39885         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39886         Likewise.
39887         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39888         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39889         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39890         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39891         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39892         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39893         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39896         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39897         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39898         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39899         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39900         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39901         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39902         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39903         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39904         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39905         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39906         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39907         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39908         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39909         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39910         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39911         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39912         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39913         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39914         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39915         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39916         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39917         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39918         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39919         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39920         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39921         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39922         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39923         (FP_UNPACK_RAW_SP): Likewise.
39924         (FP_PACK_RAW_S): Likewise.
39925         (FP_PACK_RAW_SP): Likewise.
39926         (FP_UNPACK_S): Likewise.
39927         (FP_UNPACK_SP): Likewise.
39928         (FP_UNPACK_SEMIRAW_S): Likewise.
39929         (FP_UNPACK_SEMIRAW_SP): Likewise.
39930         (FP_PACK_S): Likewise.
39931         (FP_PACK_SP): Likewise.
39932         (FP_PACK_SEMIRAW_S): Likewise.
39933         (FP_PACK_SEMIRAW_SP): Likewise.
39934         (_FP_SQRT_MEAT_S): Likewise.
39935         (FP_CMP_S): Likewise.
39936         (FP_CMP_EQ_S): Likewise.
39937         (FP_CMP_UNORD_S): Likewise.
39938         (FP_TO_INT_S): Likewise.
39939         (FP_FROM_INT_S): Likewise.
39941         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39943         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39944         (FP_EX_INVALID_IMZ): Likewise.
39945         (FP_EX_INVALID_IMZ_FMA): Likewise.
39946         (FP_EX_INVALID_ISI): Likewise.
39947         (FP_EX_INVALID_ZDZ): Likewise.
39948         (FP_EX_INVALID_IDI): Likewise.
39949         (FP_EX_INVALID_SQRT): Likewise.
39950         (FP_EX_INVALID_CVI): Likewise.
39951         (FP_EX_INVALID_VC): Likewise.
39952         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39953         "invalid" exceptions.
39954         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39955         (_FP_ADD_INTERNAL): Likewise.
39956         (_FP_MUL): Likewise.
39957         (_FP_FMA): Likewise.
39958         (_FP_DIV): Likewise.
39959         (_FP_CMP_CHECK_NAN): Likewise.
39960         (_FP_SQRT): Likewise.
39961         (_FP_TO_INT): Likewise.
39962         (FP_EXTEND): Likewise.
39964 2014-10-09  Allan McRae  <allan@archlinux.org>
39966         * po/fr.po: Update French translation from translation project.
39968 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39970         [BZ #14132]
39971         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39972         of INTDEF.
39973         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39974         (__cxa_atexit): Use libc_hidden_proto.
39975         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39977         [BZ #14132]
39978         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39979         declaration.
39980         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39981         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39982         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39983         [!_ISOMAC] (__iswctype_internal): Likewise.
39984         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39985         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39986         alias.
39987         (fcntl): Remove __fcntl_internal alias.
39988         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39989         __connect_internal alias.
39990         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39991         Likewise.
39993         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39994         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39995         FP_DENORM_ZERO.
39996         (_FP_CHECK_FLUSH_ZERO): New macro.
39997         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39998         (_FP_CMP): Likewise.
39999         (_FP_CMP_EQ): Likewise.
40000         (_FP_TO_INT): Do not set inexact for subnormal arguments if
40001         FP_DENORM_ZERO.
40002         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
40003         (FP_TRUNC): Likewise.
40005         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
40006         treated as invalid conversion, not as normal exponent.
40008         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
40009         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
40010         (_FP_CMP_EQ): Likewise.
40011         (_FP_CMP_UNORD): Likewise.
40012         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
40013         (FP_CMP_EQ_D): Likewise.
40014         (FP_CMP_UNORD_D): Likewise.
40015         * soft-fp/extended.h (FP_CMP_E): Likewise.
40016         (FP_CMP_EQ_E): Likewise.
40017         (FP_CMP_UNORD_E): Likewise.
40018         * soft-fp/quad.h (FP_CMP_Q): Likewise.
40019         (FP_CMP_EQ_Q): Likewise.
40020         (FP_CMP_UNORD_Q): Likewise.
40021         * soft-fp/single.h (FP_CMP_S): Likewise.
40022         (FP_CMP_EQ_S): Likewise.
40023         (FP_CMP_UNORD_S): Likewise.
40024         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
40025         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
40026         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
40027         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
40028         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
40029         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
40030         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
40031         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
40032         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
40033         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
40034         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
40035         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
40036         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
40037         to FP_CMP_Q.
40038         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
40039         FP_CMP_Q.
40040         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
40041         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
40042         FP_CMP_EQ_Q.
40043         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
40044         FP_CMP_Q.
40045         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
40046         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
40047         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
40048         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
40049         FP_CMP_EQ_Q.
40050         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
40051         FP_CMP_Q.
40052         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
40053         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
40054         FP_CMP_EQ_Q.
40055         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
40056         FP_CMP_Q.
40057         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
40058         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
40059         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
40060         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
40061         FP_CMP_EQ_Q.
40063         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
40064         a subnormal result, set the underflow exception if trapping on
40065         underflow is enabled.
40066         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
40067         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
40068         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
40069         redefine to 0.
40070         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
40071         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40072         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40073         * soft-fp/extendxftf2.c (__extendxftf2): Use
40074         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
40076         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
40077         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
40078         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40079         FP_HANDLE_EXCEPTIONS.
40080         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
40081         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40082         FP_HANDLE_EXCEPTIONS.
40083         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
40084         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40085         FP_HANDLE_EXCEPTIONS.
40086         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
40087         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40088         FP_HANDLE_EXCEPTIONS.
40090 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
40092         [BZ #14132]
40093         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
40094         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
40095         use INTUSE.
40096         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
40097         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
40098         Remove alias.
40099         (__adjtimex): Define using libc_hidden_ver.
40100         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
40101         Remove declaration.
40102         (ntp_gettime): Call __adjtimex directly.
40103         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
40104         Remove declaration.
40105         (ntp_gettimex): Call __adjtimex directly.
40106         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
40107         __adjtimex_internal alias.
40109 2014-10-08  Roland McGrath  <roland@hack.frob.com>
40111         [BZ #17460]
40112         * nscd/nscd.c (more_help): Rewrite list of tables collection
40113         using xstrdup and asprintf.
40115         * nscd/nscd_conf.c: Remove local xstrdup declaration.
40117 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40118             Roland McGrath  <roland@hack.frob.com>
40120         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
40121         (do_lookup_unique): ... local function 'enter' here; update callers.
40123 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
40125         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
40126         compat_symbol calls on [SHARED].
40127         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
40128         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
40129         Remove.
40130         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40131         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
40132         (oldsetrlimit): Remove.
40133         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40135         (lchown): New syscall entry.
40136         (oldsetrlimit): Remove.
40137         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40138         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
40139         (oldsetrlimit): Remove.
40140         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40142         [BZ #14138]
40143         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
40144         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
40145         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
40146         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
40147         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40148         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
40149         (fchown): Likewise.
40150         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
40151         (fchown): Likewise.
40152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
40153         Likewise.
40155 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40157         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
40158         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
40159         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
40160         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
40161         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
40162         Likewise.
40163         (__old_sem_post): Likewise.
40165 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
40167         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
40168         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
40169         HAVE_CLOCK_GETTIME_VSYSCALL macros.
40170         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
40171         Use INLINE_VSYSCALL macro.
40172         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
40173         __vdso_clock_gettime.
40174         * sysdeps/unix/sysv/linux/tile/init-first.c
40175         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
40176         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
40177         __vdso_clock_gettime.
40179         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
40180         to set up frame more cleanly.
40182         * sysdeps/tile/memcmp.c: New file.
40184         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
40186         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
40187         * sysdeps/tile/tilegx/strcasestr.c: New file.
40188         * sysdeps/tile/tilegx/strnlen.c: New file.
40189         * sysdeps/tile/tilegx/strstr.c: New file.
40191         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
40193 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
40195         * nptl/tst-setuid3.c: Write errors to stdout.
40197 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40199         * elf/dl-deps.c
40200         (preload): New functions broken out of _dl_map_object_deps.
40201         (_dl_map_object_deps):  Remove a nested function. Update call sites.
40203 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
40205         [BZ #14138]
40206         * sysdeps/unix/sysv/linux/execve.c: Remove file.
40207         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
40209 2014-10-01  Steve Ellcey  <sellcey@mips.com>
40211         * sysdeps/mips/strcmp.S: New.
40213 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
40215         [BZ #14138]
40216         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
40217         (linkat): Likewise.
40218         (mkdirat): Likewise.
40219         (readlinkat): Likewise.
40220         (renameat): Likewise.
40221         (symlinkat): Likewise.
40222         (unlinkat): Likewise.
40223         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
40224         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
40225         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
40226         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
40227         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
40228         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
40229         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
40231 2014-09-30  Will Newton  <will.newton@linaro.org>
40233         * math/math.h: Define long double math functions if
40234         _LIBC_TEST is defined.
40235         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
40237         * localedata/Makefile: Move assignment to tests-special
40238         into an ifdef testing run-built-tests.
40239         * timezone/Makefile: Likewise.
40241 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
40243         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
40244         with $(BASH) not $(SHELL).
40246 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
40247             Matthew LeGendre  <legendre1@llnl.gov>
40249         [BZ #17411]
40250         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
40251         l_reloc_result.
40253 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40255         * stdio-common/printf_fp.c
40256         (hack_digit): New function, broken out of ...
40257         (__printf_fp): ... local function here.  Update call sites.
40258         hack_digit now takes an additional parameter that is a pointer
40259         to a struct of the referenced locals.  Those locals moved inside
40260         the struct and references updated.
40262 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
40264         * aclocal.m4: Require autoconf 2.69.
40265         * configure: Regenerated.
40266         * sysdeps/aarch64/configure: Likewise.
40267         * sysdeps/alpha/configure: Likewise.
40268         * sysdeps/arm/armv7/configure: Likewise.
40269         * sysdeps/arm/configure: Likewise.
40270         * sysdeps/ia64/configure: Likewise.
40271         * sysdeps/mach/configure: Likewise.
40272         * sysdeps/mips/configure: Likewise.
40273         * sysdeps/s390/configure: Likewise.
40274         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
40275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
40277         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
40278         file.
40279         * sysdeps/ia64/configure.ac: Likewise.
40281 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
40283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
40284         specify symbol version for ld.so.  Do not include entry for
40285         libpthread.
40286         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40287         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40288         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40290         [BZ #14171]
40291         * Makeconfig [$(build-shared) = yes]
40292         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
40293         makefiles.
40294         [$(build-shared) = yes && $(soversions.mk-done) = t]
40295         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40296         [$(build-shared) = yes && $(soversions.mk-done) = t]
40297         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40298         to Makerules.
40299         [$(build-shared) = yes && $(soversions.mk-done) = t]
40300         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40301         here.
40302         [$(build-shared) = yes && $(soversions.mk-done) = t]
40303         (common-generated): Don't append gnu/lib-names.h and
40304         gnu/lib-names.stmp here.
40305         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40306         (lib-names-h-abi): New variable.
40307         [$(build-shared) = yes && $(soversions.mk-done) = t]
40308         (lib-names-stmp-abi): Likewise.
40309         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40310         abi-variants] (before-compile): Append
40311         $(common-objpfx)$(lib-names-h-abi).
40312         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40313         abi-variants] (common-generated): Append gnu/lib-names.h.
40314         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40315         abi-variants] (install-others-nosubdir): Depend on
40316         $(inst_includedir)/$(lib-names-h-abi).
40317         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40318         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40319         [$(build-shared) = yes && $(soversions.mk-done) = t]
40320         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40321         [$(build-shared) = yes && $(soversions.mk-done) = t]
40322         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40323         [$(build-shared) = yes && $(soversions.mk-done) = t]
40324         (common-generated): Append $(lib-names-h-abi) and
40325         $(lib-names-stmp-abi).
40326         * scripts/lib-names.awk: Do not handle multi being set.
40327         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40328         Remove variable.
40329         (abi-lp64_be-ld-soname): Likewise.
40330         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40331         Likewise.
40332         (abi-hard-ld-soname): Likewise.
40333         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40334         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40335         Remove variable.
40336         (abi-o32_hard-ld-soname): Likewise.
40337         (abi-o32_soft_2008-ld-soname): Likewise.
40338         (abi-o32_hard_2008-ld-soname): Likewise.
40339         (abi-n32_soft-ld-soname): Likewise.
40340         (abi-n32_hard-ld-soname): Likewise.
40341         (abi-n32_soft_2008-ld-soname): Likewise.
40342         (abi-n32_hard_2008-ld-soname): Likewise.
40343         (abi-n64_soft-ld-soname): Likewise.
40344         (abi-n64_hard-ld-soname): Likewise.
40345         (abi-n64_soft_2008-ld-soname): Likewise.
40346         (abi-n64_hard_2008-ld-soname): Likewise.
40347         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40348         Likewise.
40349         (abi-64-v2-ld-soname): Likewise.
40350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40351         ld.so entries.
40352         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40353         variable.
40354         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40355         entry.
40356         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40357         variable.
40358         (abi-64-ld-soname): Likewise.
40359         (abi-x32-ld-soname): Likewise.
40360         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40361         entry.
40362         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40364 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40366         [BZ #14138]
40367         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40368         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40369         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40370         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40371         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40372         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40373         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40374         syscall entry for GLIBC_2.2 symbol version.
40375         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40376         Likewise.
40377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40378         (setrlimit): Likewise.
40379         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40380         Likewise.
40382 2014-09-23  Will Newton  <will.newton@linaro.org>
40384         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40385         _LINUX_ARM_SYSDEP_H include guard too.
40386         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40387         define.
40389 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40391         * sysdeps/unix/sysv/linux/eventfd.c:
40392         Make first argument unsigned.
40393         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40394         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40396 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40398         [BZ #16852]
40399         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40400         * socket/sys/socket.h: Likewise.
40401         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40403 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40405         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40407 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40409         * time/tst-ftime.c: New test.
40410         * time/Makefile (tests): Add tst-ftime.
40412 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40414         * soft-fp/extended.h: Fix comment formatting.
40415         * soft-fp/op-1.h: Likewise.
40416         * soft-fp/op-2.h: Likewise.
40417         * soft-fp/op-4.h: Likewise.
40418         * soft-fp/op-8.h: Likewise.
40419         * soft-fp/op-common.h: Likewise.
40420         * soft-fp/soft-fp.h: Likewise.
40422         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40424 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40426         [BZ #6652]
40427         * Makeconfig (soversions-default-setname): Remove variable.
40428         ($(common-objpfx)soversions.i): Don't pass default_setname to
40429         soversions.awk.
40430         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40431         oldest_abi to abi-versions.awk.
40432         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40433         * config.make.in (oldest-abi): Remove variable.
40434         * configure.ac (--enable-oldest-abi): Remove configure option.
40435         * configure: Regenerated.
40436         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40437         text.
40438         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40439         * scripts/soversions.awk: Do not handle default_setname variable.
40440         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40441         variable.
40442         * sysdeps/mach/hurd/configure: Regenerated.
40443         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40444         variable.
40445         * sysdeps/unix/sysv/linux/configure: Regenerated.
40447 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40449         * elf/Makefile (CFLAGS-interp.c): Remove.
40450         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40451         path string.
40452         * elf/interp.c: Include generated runtime-linker.h
40454         * Makerules (lib%.so): Don't include $(+interp) in
40455         prerequisites.
40456         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40457         * dlfcn/eval.c: Remove file.
40459         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40460         macros.
40462         [BZ #17266]
40463         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40464         4.2 and newer.
40466         [BZ #17370]
40467         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40469 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40470             Jakub Jelinek  <jakub@redhat.com>
40472         [BZ #17266]
40473         * libio/stdio.h: Check definition of __fortify_function
40474         instead of __extern_always_inline to include bits/stdio2.h.
40475         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40476         check if __extern_always_inline is defined.
40477         [__USE_MISC || __USE_XOPEN]: Likewise.
40478         [__USE_ISOC99] Likewise.
40479         * misc/sys/cdefs.h (__fortify_function): Define only if
40480         __extern_always_inline is defined.
40481         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40482         __extern_always_inline and __extern_inline only for g++-4.3
40483         and newer or a compatible gcc.
40485 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40487         [BZ #17371]
40488         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40489         last change to handle zero prefix length.
40491 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40493         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40494         _SC_REGEX_VERSION.
40496         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40497         _POSIX_RAW_SOCKETS.
40499 2014-09-13  Allan McRae  <allan@archlinux.org>
40501         * po/ru.po: Update Russian translation from translation project.
40503 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40505         * locale/programs/locale.c (show_locale_vars): Inline local function
40506         into its sole call site.  Clean up some style nits.
40507         (print_item): New function, broken out of ...
40508         (show_info): ... local function here.  Clean up style nits.
40510         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40511         out of ...
40512         (set_class_defaults): ... local function set_default here.
40513         Define set_default as a macro locally to pass constant parameters.
40514         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40515         rather than a shared local.
40517         * stdlib/rpmatch.c (try): New function, broken out of ...
40518         (rpmatch): ... local function here.  Also, prototypify definition.
40520 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40522         * scripts/soversions.awk: Do not handle configuration names.
40523         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40524         vendor and os variables to soversions.awk.
40525         * configure.ac: Do not modify gnu-* host_os.
40526         * configure: Regenerated
40527         * shlib-versions: Remove first column with configuration names.
40528         * nptl/shlib-versions: Likewise.
40529         * nptl_db/shlib-versions: Likewise.
40530         * sysdeps/hppa/shlib-versions: Likewise.
40531         * sysdeps/m68k/shlib-versions: Likewise.
40532         * sysdeps/mach/hurd/shlib-versions: Likewise.
40533         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40534         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40535         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40536         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40537         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40538         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40539         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40540         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40542         Likewise.
40543         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40544         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40545         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40546         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40547         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40548         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40549         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40550         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40553         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40555         Regenerated.
40556         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40558         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40560         * shlib-versions: Remove OS-specific entries.  Moved to files in
40561         sysdeps.
40562         * sysdeps/mach/hurd/shlib-versions: New file.
40563         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40565         * nptl/shlib-versions: Remove architecture-specific entries.
40566         Moved to files in sysdeps.
40567         * shlib-versions: Likewise.
40568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40569         file.
40570         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40571         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40572         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40573         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40575         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40576         (UDP_NO_CHECK6_RX): Likewise.
40578 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40580         * sysdeps/posix/sysconf.c (__sysconf): Spell
40581         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40583 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40585         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40586         loading.
40587         * iconv/Versions (__gconv_transliterate): Export for use from
40588         gconv modules.
40589         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40590         (struct __gconv_trans_data, __gconv_trans_fct,
40591         __gconv_trans_context_fct, __gconv_trans_query_fct,
40592         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40593         definitions.
40594         (struct __gconv_step_data): Remove __trans member.
40595         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40596         longer hidden.  Remove unused trans_data argument.
40597         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40598         (__gconv_translit_find): Remove declaration.
40599         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40600         prototype.
40601         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40602         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40603         trans_data argument.  Add hidden definition.
40604         (__gconv_translit_find): Remove.
40605         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40606         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40607         * iconv/skeleton.c: Remove transliteration initialization.
40608         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40609         __gconv_step_data initialization.
40610         * libio/iofwide.c (__libio_translit_): Remove.
40611         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40612         * wcsmbs/btowc.c (__btowc): Likewise.
40613         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40614         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40615         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40616         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40617         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40618         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40619         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40620         * wcsmbs/wctob.c (wctob): Likewise.
40622 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40624         [BZ #16194]
40625         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40626         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40627         register usage.
40628         * sysdeps/x86/Makefile: Adjust.
40630 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40631             Roland McGrath  <roland@hack.frob.com>
40633         * locale/weight.h: Add include guard.
40634         (findidx): Make static rather than auto; take new parameters
40635         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40636         * locale/weightwc.h: Likewise.
40637         * posix/fnmatch_loop.c
40638         (FCT): Change type of EXTRA from int32_t to wint_t.
40639         Don't include either header inside the function.
40640         Call FINDIDX rather than findidx, and pass new arguments.
40641         #undef FINDIDX at the end of the file.
40642         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40643         FINDIDX before including fnmatch_loop.c for the non-wide version.
40644         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40645         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40646         for the wide version.
40647         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40648         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40649         Pass new arguments to findidx.
40650         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40651         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40652         Don't #include it inside the function.  Pass new arguments to findidx.
40653         * posix/regex_internal.h
40654         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40655         (re_string_elem_size_at): Don't #include it inside the function.
40656         Pass new arguments to findidx.
40657         * string/strcoll_l.c: #include WEIGHT_H at top level.
40658         (get_next_seq): Don't #include it inside the function.
40659         Pass new arguments to findidx.
40660         (get_next_seq_nocache): Likewise.
40661         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40662         (STRXFRM): Don't #include it inside the function.
40663         Pass new arguments to findidx.
40665 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40667         [BZ #17344]
40668         * malloc/malloc.c (unlink): Turn asserts into a call to
40669         malloc_printerr.
40671 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40673         [BZ #17370]
40674         * libio/wfileops (do_ftell_wide): Free OUT.
40676 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40678         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40680 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40682         [BZ #17363]
40683         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40684         group if the current group is empty.
40686 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40688         * benchtests/bench-memset.c (test_main): Add more test from size
40689         from 32 to 512 bytes.
40690         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40691         Add POWER8 memset object.
40692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40693         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40694         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40695         implementation.
40696         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40697         Likewise.
40698         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40699         multiarch POWER8 memset optimization.
40700         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40701         POWER8 memset optimization.
40703         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40704         Remove bzero multiarch objects.
40705         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40706         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40707         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40708         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40709         Remove define.
40710         [__bzero]: Redefine to specific name.
40711         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40712         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40713         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40714         define.
40715         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40716         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40718 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40720         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40721         warnings into errors.
40723         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40724         __cxa_thread_atexit_impl prototype.
40726 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40728         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40729         Fix capitalization of error message.
40731 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40733         * sysdeps/mips/preconfigure: Modify ABI tests.
40735 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40737         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40739 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40740             Carlos O'Donell  <carlos@systemhalted.org>
40742         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40743         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40744         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40745         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40746         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40747         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40748         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40749         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40750         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40751         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40752         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40753         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40754         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40755         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40756         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40757         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40758         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40759         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40760         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40761         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40762         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40763         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40764         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40765         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40766         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40767         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40768         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40769         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40770         Deconditionalize the code that was previously under [RESET_PID].
40771         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40772         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40773         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40774         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40775         include sysdep.h.
40777 2014-09-08  Allan McRae  <allan@archlinux.org>
40779         * version.h (RELEASE): Set to "development".
40780         (VERSION): Set to "2.20.90"
40782 2014-09-07  Allan McRae  <allan@archlinux.org
40784         * version.h (RELEASE): Set to "stable".
40785         (VERSION): Set to "2.20"
40786         * include/features.h (__GLIBC_MINOR__): Set to 20.
40788         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40789         Liebler.
40791         * po/ko.po: Update Korean translation from translation project.
40793 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40795         [BZ #17354]
40796         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40797         macro for handling signed relocations.
40799 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40801         [BZ #17325]
40802         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40803         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40804         assert.
40805         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40806         * iconvdata/ibm935.c (BODY): Likewise.
40807         * iconvdata/ibm937.c (BODY): Likewise.
40808         * iconvdata/ibm939.c (BODY): Likewise.
40809         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40810         assert.
40811         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40812         script.
40813         * iconvdata/run-iconv-test.sh: New test loop for checking for
40814         decoder crashers.
40816 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40818         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40819         libm_hidden_ver.
40821 2014-09-01  Allan McRae  <allan@archlinux.org>
40823         * po/eo.po: Update Esperanto translation from translation project.
40825         * po/ca.po: Update Catalan translation from translation project.
40827 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40829         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40830         __proc_dostop call.
40832 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40834         [BZ #17319]
40835         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40836         to call set_thread_area instead of hand written asm.
40837         (__NR_set_thread_area): Removed define.
40838         (TLS_FLAG_WRITABLE): Likewise.
40839         (__ASSUME_SET_THREAD_AREA): Remove check.
40840         (TLS_EBX_ARG): Remove define.
40841         (TLS_LOAD_EBX): Likewise.
40843 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40845         Simplify atomicity of socket creation in bind.
40847         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40848         looking up the name after linking the file.
40850 2014-08-27  Allan McRae  <allan@archlinux.org>
40852         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40854 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40856         [BZ #17187]
40857         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40858         trans_compare, open_translit, __gconv_translit_find):
40859         Remove module loading code.
40861 2014-08-26  Allan McRae  <allan@archlinux.org>
40863         * po/vi.po: Update Vietnamese translation from translation project.
40865         * po/uk.po: Update Ukrainian translation from translation project.
40867         * po/fr.po: Update French translation from translation project.
40869         * po/ru.po: Update Russian translation from translation project.
40871         * po/pl.po: Update Polish translation from translation project.
40873         * po/cs.po: Update Czech translation from translation project.
40875         * po/de.po: Update German translation from translation project.
40877         * po/bg.po: Update Bulgarian translation from translation project.
40879         * po/sv.po: Update Sweedish translation from translation project.
40881         * po/nl.po: Update Dutch translation from translation project.
40883         * po/es.po: Update Spanish translation from translation project.
40885 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40887         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40889         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40890         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40891         (CPPFLAGS-iconvconfig): Likewise.
40892         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40894         * include/libc-symbols.h: Remove unnecessary check for
40895         NOT_IN_libc.
40896         * nptl/pthreadP.h: Likewise.
40897         * sysdeps/aarch64/setjmp.S: Likewise.
40898         * sysdeps/alpha/setjmp.S: Likewise.
40899         * sysdeps/arm/sysdep.h: Likewise.
40900         * sysdeps/i386/setjmp.S: Likewise.
40901         * sysdeps/m68k/setjmp.c: Likewise.
40902         * sysdeps/posix/getcwd.c: Likewise.
40903         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40904         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40905         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40906         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40907         * sysdeps/sh/sh3/setjmp.S: Likewise.
40908         * sysdeps/sh/sh4/setjmp.S: Likewise.
40909         * sysdeps/unix/alpha/sysdep.h: Likewise.
40910         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40911         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40912         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40913         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40916         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40917         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40918         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40919         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40920         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40921         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40923         * sysdeps/x86_64/setjmp.S: Likewise.
40925 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40927         [BZ #17263]
40928         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40929         <stdint.h>.
40930         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40931         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40933 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40935         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40937         [BZ #17262]
40938         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40939         and __x86_64__ when disabling x87 inline functions.
40941 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40943         [BZ #17259]
40944         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40945         asm statement with __cpuid_count.
40947 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40949         * configure.ac: Change __ehdr_start code to dereference the struct.
40950         Run readelf on the output to look for relocations.
40951         * configure: Regenerated.
40953 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40955         [BZ #17261]
40956         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40957         value to 0.
40958         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40960 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40962         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40964 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40966         [BZ #16892]
40967         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40968         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40970 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40972         * malloc/malloc.c: Fix typo in comment.
40974 2014-08-09  Allan McRae  <allan@archlinux.org>
40976         * Regenerate libc.po.
40978 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40980         * intl/tst-gettext2.sh: Check every lang file for creation.
40982 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40984         * sysdeps/aarch64/fpu/math_private.h
40985         (libc_feholdsetround_noex_aarch64_ctx): New function.
40987 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40989         * sysdeps/arm/armv6/strcpy.S (strcpy):
40990         Fix performance issue in misaligned cases.
40992 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40994         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40995         Move definition from termios.h.
40996         (struct termio): Likewise.
40997         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40998         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40999         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41000         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41001         Likewise.
41002         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
41003         Move definition to ioctl-types.h
41004         (struct termio): Likewise.
41005         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41006         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41007         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41008         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41009         Likewise.
41011 2014-08-05  Richard Henderson  <rth@redhat.com>
41013         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
41014         exceptions.
41015         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
41016         Add fraiseexcpt.
41017         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
41018         Use __feraiseexcept.
41019         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
41020         Protect libm symbols with IS_IN_libm.
41022         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
41024 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
41026         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
41028 2014-08-04  Will Newton  <will.newton@linaro.org>
41030         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
41031         file.
41033 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
41035         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
41036         variants for each function.
41038 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41040         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
41041         appended ...
41042         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
41043         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
41044         appended ...
41045         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
41046         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
41047         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
41048         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
41049         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
41050         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
41051         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
41052         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
41053         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
41054         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
41055         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
41056         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
41057         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
41058         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
41059         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
41060         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
41061         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
41062         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
41063         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
41064         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
41065         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
41066         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
41067         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
41068         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
41069         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
41070         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
41071         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
41072         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
41073         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
41074         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
41075         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
41076         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
41077         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
41078         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
41079         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
41080         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
41081         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
41082         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
41083         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
41084         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
41085         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
41086         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
41087         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
41088         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
41089         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
41090         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
41091         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
41092         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
41093         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
41094         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
41095         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
41096         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
41097         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
41098         Update #include.
41099         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
41100         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
41102 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41104         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
41105         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
41106         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
41107         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
41108         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
41109         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
41111 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41113         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
41114         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
41115         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41116         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
41118 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41120         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
41121         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
41122         (__libc_vfork): Define function under this name.
41123         (__vfork): Define as an alias.
41124         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
41125         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
41127 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41129         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
41130         that was previously under [RESET_PID].
41131         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
41133 2014-08-04  Andreas Schwab  <schwab@suse.de>
41135         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
41137 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
41139         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
41140         (main): Likewise.
41142 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41144         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
41146 2014-08-01  Richard Henderon  <rth@redhat.com>
41148         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
41149         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
41150         typo in exact zero test.
41151         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41152         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41153         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41155 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41157         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
41158         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
41159         * sysdeps/arm/sysdep.h: ... here.
41160         [!__ASSEMBLER__]: Include <stdint.h>.
41162 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41164         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
41165         (HAVE_WCTYPE_H): Likewise.
41166         (HAVE_ISWCTYPE): Likewise.
41167         (ENABLE_NLS): Likewise.
41168         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
41169         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
41171         * posix/regex_internal.c: Check if DEBUG is defined and is
41172         set.
41174         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
41175         (HAVE_MBSRTOWCS): Likewise.
41176         * posix/fnmatch.c: Include string.h unconditionally.
41178 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41180         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
41181         reversal.
41183 2014-07-31  Roland McGrath  <roland@hack.frob.com>
41185         * sysdeps/generic/safe-fatal.h: New file.
41186         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
41187         * nptl/forward.c: Include it.
41188         (__pthread_unwind): Use __safe_fatal as default action, rather
41189         than a bogus use of INTERNAL_SYSCALL that could never work.
41191         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
41192         * configure.ac (libc_cv_builtin_trap): New test.
41193         * configure: Regenerated.
41194         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
41195         (ABORT_INSTRUCTION): Define using __builtin_trap.
41197         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
41198         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
41199         * sysdeps/nptl/nptl-signals.h: New file.
41200         * nptl/pthreadP.h: Include <nptl-signals.h>.
41202 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41204         * sysdeps/s390/s390-64/utf16-utf32-z9.c
41205         (ONE_DIRECTION): Define.
41206         * sysdeps/s390/s390-64/utf8-utf16-z9.c
41207         (ONE_DIRECTION): Define.
41208         * sysdeps/s390/s390-64/utf8-utf32-z9.c
41209         (ONE_DIRECTION): Define.
41211 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41213         * sysdeps/s390/Makefile: Delete file.
41214         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
41215         * sysdeps/s390/__longjmp.c: Delete file.
41216         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
41217         Remove fields __flags and __reserved.
41218         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
41219         and add versioning.
41220         * sysdeps/s390/rtld-__longjmp.c: Delete file.
41221         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
41222         * sysdeps/s390/rtld-setjmp.S: Likewise.
41223         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
41224         * sysdeps/s390/s390-32/__longjmp.c: ... here.
41225         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
41226         * sysdeps/s390/s390-32/setjmp.S: ... here.
41227         Add versioning.
41228         (__sigsetjmp): Remove setting __flags field.
41229         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
41230         * sysdeps/s390/s390-64/__longjmp.c: ... here.
41231         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
41232         * sysdeps/s390/s390-64/setjmp.S: ... here.
41233         Add versioning.
41234         (__sigsetjmp): Remove setting __flags field.
41235         * sysdeps/s390/setjmp.S: Delete file.
41236         * sysdeps/s390/sigjmp.c: Likewise.
41237         * sysdeps/s390/v1-longjmp.c: Likewise.
41238         * sysdeps/s390/v1-setjmp.h: Likewise.
41239         * sysdeps/s390/v1-sigjmp.c: Likewise.
41240         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
41241         Remove v1-longjmp_chk.
41242         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
41243         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
41244         Include debug/longjmp_chk.c and add versioning.
41245         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
41246         Include nptl/pt-longjmp.c and add versioning.
41247         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
41248         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
41249         Include __longjmp.c.
41250         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41251         Move to ...
41252         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
41253         (__getcontext): Remove setting __flags field.
41254         Add versioning.
41255         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41256         Don't restore upper high grps.
41257         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
41258         Likewise.
41259         (__swapcontext): Remove setting uc_flags field.
41260         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
41261         Delete file.
41262         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41263         Include __longjmp.c.
41264         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41265         Move to ...
41266         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
41267         (__getcontext): Remove setting __flags field.
41268         Add versioning.
41269         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
41270         (__swapcontext): Remove setting uc_flags field.
41271         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
41272         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
41273         Remove fields uc_high_gprs and __reserved.
41274         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
41275         New file with reverted content.
41276         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
41277         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
41278         Regenerated.
41279         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
41280         Regenerated.
41282 2014-07-31  Andreas Schwab  <schwab@suse.de>
41284         * config.h.in (HAVE_IFUNC): Define to 0.
41285         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
41286         definedness.
41288 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
41290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41291         memmove-avx-unaligned, memcpy-avx-unaligned and
41292         mempcpy-avx-unaligned.
41293         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41294         Add tests for AVX memcpy functions.
41295         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41296         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41297         memcpy_chk.
41298         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41299         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41300         memmove_chk.
41301         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41302         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41303         mempcpy_chk.
41304         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41305         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41306         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41308 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41310         [BZ #17213]
41311         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41312         powerpc64le.
41314 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41316         [BZ #16839]
41317         * manual/llio.texi: Add section about open file description locks.
41318         * manual/examples/ofdlocks.c: Example of open file description
41319         lock usage.
41320         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41321         F_OFD_SETLK, and F_OFD_SETLKW.
41323 2014-07-23  Allan McRae  <allan@archlinux.org>
41325         * po/es.po: Update Spanish translation from translation project.
41327 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41329         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41331 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41333         [BZ #17078]
41334         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41335         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41336         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41338 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41340         [BZ #17088]
41341         * math/fesetenv.c (__fesetenv)
41342         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41343         * math/feupdateenv.c (__feupdateenv)
41344         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41346         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41347         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41348         (__ASSUME_SOCKETCALL): Do not define.
41350         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41351         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41352         (__ASSUME_SOCKETCALL): Do not define.
41353         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41354         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41355         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41356         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41357         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41358         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41359         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41360         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41362         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41363         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41364         (__ASSUME_SOCKETCALL): Do not define.
41365         (__ASSUME_IPC64): Define unconditionally.
41366         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41367         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41368         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41369         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41370         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41371         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41372         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41373         Likewise.
41375         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41376         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41377         (__ASSUME_SOCKETCALL): Do not define.
41378         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41379         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41380         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41381         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41382         (__ASSUME_REQUEUE_PI): Define unconditionally.
41383         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41384         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41385         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41386         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41387         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41388         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41390         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41391         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41392         (__ASSUME_SOCKETCALL): Do not define.
41393         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41394         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41395         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41396         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41397         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41398         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41400         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41401         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41402         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41403         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41404         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41405         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41406         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41407         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41408         (__ASSUME_GETCPU_SYSCALL): Likewise.
41410         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41411         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41412         cases for individual architectures.
41413         * sysdeps/gnu/configure: Regenerated.
41414         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41415         LIBC_SLIBDIR_RTLDDIR.
41416         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41417         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41418         LIBC_SLIBDIR_RTLDDIR.
41419         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41421         LIBC_SLIBDIR_RTLDDIR.
41422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41423         Regenerated.
41424         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41425         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41426         file.
41427         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41428         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41429         file.
41430         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41431         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41432         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41433         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41435         * sysdeps/aarch64/shlib-versions: Move to ...
41436         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41437         * sysdeps/alpha/shlib-versions: Move to ...
41438         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41439         * sysdeps/arm/shlib-versions: Move to ...
41440         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41441         * sysdeps/hppa/shlib-versions: Move all contents except for
41442         libgcc_s entry to ...
41443         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41444         entry from ...
41445         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41446         * sysdeps/ia64/shlib-versions: Move to ...
41447         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41448         entry from ...
41449         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41450         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41451         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41452         * sysdeps/microblaze/shlib-versions: Move to ...
41453         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41454         * sysdeps/mips/shlib-versions: Move to ...
41455         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41456         entry from ...
41457         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41458         * sysdeps/tile/shlib-versions: Move to ...
41459         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41460         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41461         from ...
41462         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41463         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41464         entry from ...
41465         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41467 2014-07-17  Will Newton  <will.newton@linaro.org>
41469         * sysdeps/arm/bits/atomic.h
41470         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41471         (__arch_compare_and_exchange_bool_16_int): Likewise.
41472         (__arch_compare_and_exchange_bool_64_int): Likewise.
41474         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41475         into an #else block.
41477 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41479         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41480         just Linux configurations.  Test empirically that the compiler sets
41481         __ARM_EABI__, rather than using the tuple to decide.
41482         * sysdeps/arm/preconfigure: Regenerated.
41483         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41484         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41485         contents appended ...
41486         * sysdeps/arm/configure.ac: ... here.
41487         * sysdeps/arm/configure: Regenerated.
41489 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41491         * nptl/pthread_kill.c: New file.
41492         * nptl/pthread_sigmask.c: New file.
41493         * nptl/pthread_sigqueue.c: New file.
41495         * sysdeps/nptl/lowlevellock.h: New file.
41496         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41497         * sysdeps/nptl/lowlevellock-futex.h: New file.
41499         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41500         Remove dead declarations.
41502 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41504         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41505         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41506         config-cflags-avx2.
41507         * sysdeps/x86_64/configure.ac: Likewise.
41508         * sysdeps/i386/configure: Regenerated.
41509         * sysdeps/x86_64/configure: Likewise.
41510         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41511         memset-avx2 only if config-cflags-avx2 is yes.
41512         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41513         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41514         defined.
41515         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41516         only if HAVE_AVX2_SUPPORT is defined.
41517         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41519 2014-07-14  Alan Modra  <amodra@gmail.com>
41521         [BZ #17153]
41522         * elf/elf.h (DT_PPC64_NUM): Correct value.
41523         * NEWS: Add to fixed bug list.
41525 2014-07-13  Jim Meyering  <meyering@fb.com>
41527         [BZ 17150]
41528         regex: don't deref NULL upon heap allocation failure
41529         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41530         failure in one more place.
41531         To trigger the segfault, configure grep -with-included-regex,
41532         build it, and run these commands:
41533         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41535 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41537         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41539 2014-07-11  Richard Henderson  <rth@redhat.com>
41541         * sysdeps/aarch64/libm-test-ulps: Update.
41543 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41545         [BZ #17135]
41546         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41547         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41548         (__nptl_setxid): Initialize error member.  Call
41549         __nptl_setxid_error.
41550         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41551         * nptl/descr.h (struct xid_command): Add error member.
41552         * nptl/tst-setuid3.c: New file.
41553         * nptl/Makefile (tests): Add it.
41555 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41557         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41558         New define.
41559         (__lll_trylock): Use __lll_base_trylock.
41560         (__lll_cond_trylock): Likewise.
41562 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41564         * nptl/pthread_create.c (start_thread): Use atomic_or and
41565         lll_futex_wake directly rather than lll_robust_dead.
41566         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41567         (lll_robust_dead): Macro removed.
41568         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41569         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41570         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41571         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41572         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41573         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41574         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41575         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41576         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41577         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41578         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41579         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41580         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41581         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41582         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41584         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41585         Use atomic_compare_and_exchange_val_acq directly rather than
41586         lll_robust_trylock.
41587         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41588         (__lll_robust_trylock, lll_robust_trylock): Removed.
41589         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41590         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41591         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41592         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41593         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41594         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41595         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41596         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41597         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41598         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41599         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41600         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41601         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41602         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41604 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41606         * manual/locale.texi (Locale Names): New section documenting
41607         locale name syntax.  Adjust menu and node chaining accordingly.
41608         (Choosing Locale): Reference Locale Names, Locale Categories.
41609         Mention setting LC_ALL=C.  Reflect that name syntax is now
41610         documented.
41611         (Locale Categories): New section title.  Reference Locale Names.
41612         LC_ALL is an environment variable, but not a category.
41613         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41614         description, now in Locale Name.  Reference that section.  Locale
41615         name syntax is now documented.
41617 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41619         [BZ #17137]
41620         * locale/findlocale.c (name_present, valid_locale_name): New
41621         functions.
41622         (_nl_find_locale): Use the loc_name variable to store name
41623         candidates.  Call name_present and valid_locale_name to check and
41624         validate locale names.  Return an error if the locale is invalid.
41626 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41628         * locale/setlocale.c (setlocale): Use strdup for allocating
41629         composite name copy.
41631 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41633         Sync up with gnulib.
41634         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41635         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41636         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41637         and _GL_ARG_NONNULL.
41638         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41639         [!_LIBC]: Include code for Windows and Cygwin.
41640         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41641         Include prototype for int strerror_r.
41642         [!_LIBC] (is_open): New function.
41643         (flush_stdout): New function.
41644         (print_errno_message): Use it.
41645         (error): Likewise.
41646         (error_at_line): Likewise.
41647         (error_tail) Add function attribute macros.  Use
41648         __builtin_expect.
41650         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41652         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41654         * io/ftw.c: Include sys/param.h unconditionally.
41656         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41658         [BZ #17125]
41659         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41660         libc_freeres_ptr.
41661         (freecache): New function to free CACHE on exit.
41663         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41664         initialization.
41666 2014-07-09  David S. Miller  <davem@davemloft.net>
41668         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41670         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41671         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41672         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41673         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41674         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41675         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41676         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41677         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41678         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41679         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41680         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41681         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41682         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41684 2014-07-09  Andreas Schwab  <schwab@suse.de>
41686         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41687         output.
41688         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41689         (do_test): Likewise.
41691         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41693 2014-07-09  Will Newton  <will.newton@linaro.org>
41695         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41696         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41697         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41698         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41699         * sysdeps/hppa/start.S (_start): Likewise.
41701 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41703         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41705         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41706         defined.
41708 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41710         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41711         after checking that it is non-NULL.
41713         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41715 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41717         * sysdeps/powerpc/memmove.c: Remove file.
41718         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41719         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41720         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41721         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41722         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41723         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41724         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41725         string memmove instead of removed powerpc one.
41727         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41728         [weak_alias]: Fix compiler warning due trailing data.
41729         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41730         [weak_alias]: Likewise.
41731         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41732         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41735         (__libc_ifunc_impl_list): Add memmove functions.
41737 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41739         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41740         Remove code.
41741         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41742         Likewise.
41743         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41744         Likewise.
41745         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41746         Likewise.
41747         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41748         Likewise.
41749         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41750         Likewise.
41751         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41752         Likewise.
41753         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41754         Likewise.
41755         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41756         Likewise.
41757         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41758         Likewise.
41759         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41760         Likewise.
41761         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41762         Likewise.
41763         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41764         Likewise.
41765         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41766         Likewise.
41767         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41768         Likewise.
41769         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41770         Likewise.
41771         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41772         Likewise.
41774 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41776         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41777         to avoid alignment traps in non-cacheable memory.
41778         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41781         multiarch objects.
41782         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41783         file: multiarch power7 memmove.
41784         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41785         multiarch default memmove.
41786         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41787         multiarch memove for powerpc32/power4.
41789         * string/bcopy.c: Use full path to include memmove.c.
41790         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41791         multiarch objects.
41792         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41793         bcopy for powerpc64.
41794         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41795         bcopy for powerpc64.
41796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41797         and memmove implementations.
41798         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41799         optimized multiarch memmove for POWER7/powerpc64.
41800         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41801         default multiarch memmove for powerpc64.
41802         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41803         multiarch for powerpc64.
41804         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41805         for POWER7/powerpc64.
41806         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41807         memmove for POWER7/powerpc64.
41809         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41810         glibc default one.
41812         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41813         __ELF_NATIVE_CLASS equal to 64.
41815 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41817         * sysdeps/nptl/lowlevellock.h: File removed.
41819         * NEWS: NPTL is no longer an add-on!
41820         * nptl/internaltypes.h: Moved ...
41821         * sysdeps/nptl/internaltypes.h: ... here.
41822         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41823         * sysdeps/nptl/fork.c: Likewise.
41824         * sysdeps/nptl/gai_misc.h: Likewise.
41825         * sysdeps/nptl/librt-cancellation.c: Likewise.
41826         * sysdeps/nptl/jmp-unwind.c: Likewise.
41827         * sysdeps/nptl/setxid.h: Likewise.
41828         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41829         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41830         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41831         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41832         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41833         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41834         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41835         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41836         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41837         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41838         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41839         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41840         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41841         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41842         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41843         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41844         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41845         * nptl/Makeconfig: Moved ...
41846         * sysdeps/nptl/Makeconfig: ... here.
41847         * nptl/configure: File removed.
41848         * nptl/ANNOUNCE: File removed.
41849         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41850         * sysdeps/unix/sysv/linux/configure: Regenerated.
41852         * nptl/Makefile (routines): Add libc_pthread_init,
41853         libc_multiple_threads, register-atfork and unregister-atfork.
41854         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41855         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41856         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41857         pthread-pi-defines.sym, structsem.sym.
41858         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41859         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41860         [$(subdir) = nptl] (tests): Add tst-setgetname.
41861         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41862         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41863         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41864         [!LIBC_SIGACTION]: Remove aliases.
41865         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41866         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41867         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41868         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41869         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41870         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41871         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41872         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41873         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41874         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41875         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41876         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41877         __libc_allocate_rtsig_private.
41878         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41879         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41880         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41881         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41882         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41883         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41884         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41885         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41886         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41887         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41888         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41889         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41890         * nptl/internaltypes.h: ... here.
41891         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41892         * sysdeps/nptl/jmp-unwind.c: ... here.
41893         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41894         * nptl/libc-lowlevellock.c: ... here.
41895         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41896         * nptl/libc_multiple_threads.c: ... here.
41897         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41898         * nptl/libc_pthread_init.c: ... here.
41899         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41900         * nptl/lowlevelbarrier.sym: ... here.
41901         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41902         * nptl/lowlevelcond.sym: ... here.
41903         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41904         * nptl/lowlevellock.c: ... here.
41905         * nptl/lowlevellock.h: Moved ...
41906         * sysdeps/nptl/lowlevellock.h: ... here.
41907         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41908         * nptl/lowlevelrobustlock.c: ... here.
41909         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41910         * nptl/lowlevelrobustlock.sym: ... here.
41911         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41912         * nptl/lowlevelrwlock.sym: ... here.
41913         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41914         * nptl/pt-fork.c: ... here.
41915         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41916         * nptl/pthread-pi-defines.sym: ... here.
41917         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41918         * nptl/pthread_attr_getaffinity.c: ... here.
41919         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41920         * nptl/pthread_attr_setaffinity.c: ... here.
41921         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41922         * nptl/pthread_mutex_cond_lock.c: ... here.
41923         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41924         Update #include.
41925         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41926         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41927         * nptl/pthread_once.c: ... here, replacing old file.
41928         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41929         * nptl/pthread_yield.c: ... here.
41930         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41931         * nptl/register-atfork.c: ... here.
41932         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41933         * nptl/sem_post.c: ... here.
41934         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41935         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41936         * nptl/sem_timedwait.c: ... here.
41937         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41938         * nptl/sem_trywait.c: ... here.
41939         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41940         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41941         * nptl/sem_wait.c: ... here.
41942         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41943         * nptl/structsem.sym: ... here.
41944         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41945         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41946         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41947         * nptl/unregister-atfork.c: ... here.
41948         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41949         * nptl/unwindbuf.sym: ... here.
41950         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41951         * sysdeps/nptl/fork.c: ... here.
41952         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41953         * sysdeps/nptl/fork.h: ... here.
41954         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41955         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41956         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41957         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41958         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41959         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41960         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41961         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41962         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41963         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41964         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41965         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41966         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41967         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41968         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41969         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41970         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41971         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41972         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41973         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41974         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41975         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41976         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41977         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41978         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41979         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41980         * sysdeps/unix/sysv/linux/raise.c: ... here.
41981         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41982         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41983         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41984         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41985         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41986         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41987         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41988         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41989         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41990         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41991         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41992         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41993         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41994         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41995         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41997 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41999         * sysdeps/generic/memcopy.h: Add comment for
42000         MEMCPY_OK_FOR_FWD_MEMMOVE.
42002 2014-07-04  Will Newton  <will.newton@linaro.org>
42004         * string/memchr.c: Merge from gnulib.
42005         [_LIBC]: Remove conditionals.
42006         (__ptr_t): Remove define.
42007         (LONG_MAX_32_BITS): Likewise.
42008         (LONG_MAX): Likewise.
42009         (MEMCHR): Use ANSI prototype and optimize algorithm.
42011         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
42013 2014-07-03  Roland McGrath  <roland@hack.frob.com>
42015         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
42016         (lll_futex_timed_wait_bitset): Fix syscall argument count.
42018         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
42019         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
42020         in a bare environment with no <stdlib.h> installed.
42021         * sysdeps/nptl/configure: Regenerated.
42023         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
42025         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
42026         AC_EGREP_CPP for kernel header checks, so they only succeed if
42027         including <linux/version.h> actually works right.
42028         * sysdeps/unix/sysv/linux/configure: Regenerated.
42030         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
42031         value so it's not diagnosed as unused.
42033         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
42034         thing) with "ifeq ($(subdir),rt)".
42036 2014-07-03  Richard Henderson  <rth@redhat.com>
42038         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
42039         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
42040         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
42042         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
42043         (math_force_eval): New.
42045         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
42046         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
42048         * sysdeps/alpha/fpu/s_round.c: Remove file.
42049         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
42051         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
42052         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
42053         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
42054         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
42055         (_dl_start, print_statistics): Likewise.
42056         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
42057         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
42059         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42060         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42061         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42062         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42063         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42064         (HP_SMALL_TIMING_AVAIL): Define.
42065         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42066         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42067         (HP_SMALL_TIMING_AVAIL): Define.
42068         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42069         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42071         * sysdeps/aarch64/hp-timing.h: New file.
42073         * sysdeps/generic/hp-timing.h: Remove dead comment.
42074         * sysdeps/generic/hp-timing-common.h: New file.
42075         * sysdeps/alpha/hp-timing.h: Include it.
42076         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
42077         * sysdeps/i386/i686/hp-timing.h: Likewise.
42078         * sysdeps/ia64/hp-timing.h: Likewise.
42079         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42080         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42081         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42082         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42083         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
42084         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
42085         (hp_timing_t): New.
42087         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
42088         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
42089         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
42090         * elf/rtld.c (_dl_start_final): Likewise.
42091         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
42092         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42093         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42094         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42095         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42096         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42097         (HP_TIMING_DIFF_INIT): Remove.
42098         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42099         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42100         (HP_TIMING_DIFF_INIT): Remove.
42101         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42102         * sysdeps/i386/i686/hp-timing.c: Remove file.
42103         * sysdeps/x86_64/hp-timing.c: Remove file.
42104         * sysdeps/ia64/hp-timing.c: Remove file.
42105         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
42106         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
42107         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
42108         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
42110         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
42111         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
42112         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
42113         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42114         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42115         (HP_TIMING_ACCUM): Remove.
42116         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42117         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
42118         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42120         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
42121         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
42122         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
42123         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
42124         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
42125         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42126         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
42127         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42129         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
42131 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
42133         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
42135 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42137         Sync up with gettext.
42138         * intl/loadmsgcat.c: Define O_BINARY if not defined.
42139         [_MSC_VER]: Include malloc.h
42140         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
42141         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
42142         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
42143         TEMP_FAILURE_RETRY.  Cast return of alloca.
42144         [!_LIBC] Call gl_rwlock_init.
42145         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
42147 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42149         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
42150         before checking its value.
42152 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42154         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
42156         * debug/memcpy_chk.c: Don't include pagecopy.h.
42157         * debug/mempcpy_chk.c: Likewise.
42158         * string/memcpy.c: Likewise.
42159         * string/memmove.c: Likewise.
42160         * sysdeps/powerpc/memmove.c: Likewise.
42161         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
42162         definition of PAGE_COPY_FWD_MAYBE here...
42163         * sysdeps/generic/pagecopy.h: ... from here.
42164         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
42166 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42167             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42169         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
42170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
42171         optimizations.
42172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42173         (__libc_ifunc_impl_list): Likewise.
42174         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
42175         multiarch strcat for PPC64.
42176         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
42177         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
42179 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42181         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
42183 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42185         * intl/loadmsgcat.c: Remove declaration of
42186         get_sysdep_segment_value.
42187         (get_sysdep_segment_value): Use ISO C style.
42188         (_nl_load_domain): Use ISO C style.  Get rid of redundant
42189         semicolon.  Fix typo and formatting in comment.
42190         (_nl_unload_domain): Use ISO C style.
42192         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
42194 2014-07-02  Will Newton  <will.newton@linaro.org>
42196         * malloc/obstack.c: Merge from gnulib master.
42197         [HAVE_CONFIG_H]: Remove conditional code.
42198         [!_LIBC]: Include config.h.
42199         [!ELIDE_CODE]: Don't include inttypes.h, include
42200         stdint.h unconditionally.
42201         (print_and_abort): Mark as _Noreturn.
42202         (_obstack_allocated_p): Mark as __attribute_pure__.
42203         (obstack_free): Rename to __obstack_free.
42204         [!__attribute__]: Remove conditional code.
42205         * malloc/obstack.h: Merge from gnulib master.
42206         [__cplusplus]: Move conditional down.
42207         [!__attribute_pure__]: Define __attribute_pure__ here
42208         if it is not already defined.
42209         (_obstack_memory_used): Mark as __attribute_pure__.
42210         [!__obstack_free]: Define as obstack_free.
42211         [__GNUC__]: Remove check for ancient NeXT gcc.
42213 2014-07-02  Will Newton  <will.newton@linaro.org>
42214             Paul Eggert  <eggert@cs.ucla.edu>
42216         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
42218 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42220         * resolv/gethnamaddr.c: Add comment warning that the file is
42221         not maintained.
42223 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
42225         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
42226         entries.
42228         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
42229         entry for aio_cancel and aio_cancel64.
42230         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
42231         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
42232         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
42233         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
42234         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
42235         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
42236         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
42237         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
42238         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
42239         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
42240         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
42241         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
42242         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
42244 2014-07-01  Roland McGrath  <roland@hack.frob.com>
42246         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
42247         * nptl/pthread_mutex_lock.c: Likewise.
42248         * nptl/pthread_mutex_timedlock.c: Likewise.
42249         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
42251 2014-07-01  Richard henderson  <rth@redhat.com>
42253         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
42254         (__isnan, __isnanl): Remove.
42255         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
42257         * sysdeps/alpha/fpu/libm-test-ulps: Update.
42259 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42261         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42263 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42265         * resolv/nss_dns/dns-host.c (getanswer_r)
42266         [MULTI_PTRS_ARE_ALIASES]: Remove code.
42268 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
42270         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42271         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
42272         undefine.
42273         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
42274         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
42276 2014-07-01  Roland McGrath <roland@hack.frob.com>
42278         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
42279         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
42281         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
42282         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
42284         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
42285         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
42286         ... here.
42287         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
42288         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
42290         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
42291         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
42292         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
42293         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42295         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42296         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42297         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42298         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42299         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42300         Moved ...
42301         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42302         ... here.
42303         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42304         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42305         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42306         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42307         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42308         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42309         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42310         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42311         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42312         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42313         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42314         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42315         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42316         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42317         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42318         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42319         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42320         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42321         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42322         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42323         ... here.
42324         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42325         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42326         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42327         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42328         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42329         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42330         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42331         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42333 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42335         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42336         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42337         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42338         Add sysdep.
42340 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42344 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42346         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42347         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42349         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42351         * sysdeps/arm/libm-test-ulps: Regenerated.
42353 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42354             Roland McGrath <roland@hack.frob.com>
42356         * test-skeleton.c (signal_handler): Kill the whole process group
42357         before killing the child individually.
42358         (main): Report any failure on `setpgid'.
42360 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42362         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42363         from _TLS_H to _ARM_NPTL_TLS_H.
42364         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42365         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42367 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42369         [BZ #16539]
42370         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42371         (__expm1l): Return argument unchanged when small but not
42372         subnormal.
42374         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42375         include macro name.
42376         (_FP_UNPACK_RAW_1_P): Likewise.
42377         (_FP_PACK_RAW_1): Likewise.
42378         (_FP_PACK_RAW_1_P): Likewise.
42379         (_FP_MUL_MEAT_1_wide): Likewise.
42380         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42381         (_FP_MUL_MEAT_1_hard): Likewise.
42382         (_FP_DIV_MEAT_1_imm): Likewise.
42383         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42384         (_FP_DIV_MEAT_1_udiv): Likewise.
42385         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42386         (_FP_UNPACK_RAW_2): Likewise.
42387         (_FP_UNPACK_RAW_2_P): Likewise.
42388         (_FP_PACK_RAW_2): Likewise.
42389         (_FP_PACK_RAW_2_P): Likewise.
42390         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42391         (_FP_MUL_MEAT_2_wide): Likewise.
42392         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42393         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42394         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42395         (_FP_MUL_MEAT_2_gmp): Likewise.
42396         (_FP_DIV_MEAT_2_udiv): Likewise.
42397         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42398         (_FP_FRAC_SRL_4): Likewise.
42399         (_FP_FRAC_SRST_4): Likewise.
42400         (_FP_FRAC_SRS_4): Likewise.
42401         (_FP_UNPACK_RAW_4): Likewise.
42402         (_FP_UNPACK_RAW_4_P): Likewise.
42403         (_FP_PACK_RAW_4): Likewise.
42404         (_FP_PACK_RAW_4_P): Likewise.
42405         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42406         (_FP_MUL_MEAT_4_wide): Likewise.
42407         (_FP_MUL_MEAT_4_gmp): Likewise.
42408         (umul_ppppmnnn): Likewise.
42409         (_FP_DIV_MEAT_4_udiv): Likewise.
42410         (__FP_FRAC_ADD_4): Likewise.
42411         (__FP_FRAC_SUB_3): Likewise.
42412         (__FP_FRAC_SUB_4): Likewise.
42413         (__FP_FRAC_DEC_3): Likewise.
42414         (__FP_FRAC_DEC_4): Likewise.
42415         (__FP_FRAC_ADDI_4): Likewise.
42416         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42417         (_FP_FRAC_SRL_8): Likewise.
42418         (_FP_FRAC_SRS_8): Likewise.
42420         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42421         include macro name.
42422         (FP_UNPACK_RAW_EP): Likewise.
42423         (FP_PACK_RAW_E): Likewise.
42424         (FP_PACK_RAW_EP): Likewise.
42425         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42426         (_FP_ISSIGNAN): Likewise.
42427         (_FP_ADD_INTERNAL): Likewise.
42428         (_FP_FMA): Likewise.
42429         (_FP_CMP): Likewise.
42430         (_FP_SQRT): Likewise.
42431         (_FP_TO_INT): Likewise.
42432         (_FP_FROM_INT): Likewise.
42433         (FP_EXTEND): Likewise.
42434         (_FP_DIV_MEAT_N_loop): Likewise.
42436 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42438         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42439         throughout.
42441 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42443         [BZ #17097]
42444         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42445         result with correct sign in case of exponents that produce
42446         overflow except for X very close to 1.
42448 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42450         mktime: merge #if/#ifdef usage from glibc
42451         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42452         as that works with both Glibc's and Gnulib's style.
42453         See thread starting at Siddhesh Poyarekar's bug report at:
42454         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42456 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42458         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42459         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42460         * sysdeps/tile/tilegx/memmove.c: Remove file.
42462 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42464         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42465         abi-name definition.
42466         * scripts/soversions.awk: Do not handle or generate ABI lines.
42467         * shlib-versions: Remove ABI entries.
42468         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42469         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42471 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42473         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42474         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42475         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42476         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42478         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42479         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42480         Moved ...
42481         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42482         ... here.
42483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42484         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42486         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42487         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42488         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42490         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42491         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42492         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42494         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42496         Moved ...
42497         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42498         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42499         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42500         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42501         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42503         Moved ...
42504         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42506         Moved ...
42507         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42509         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42511         Moved ...
42512         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42514         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42516         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42518         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42520         Moved ...
42521         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42523         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42524         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42525         Moved ...
42526         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42528         Moved ...
42529         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42530         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42531         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42532         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42533         Moved ...
42534         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42535         ... here.
42536         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42537         Identical file removed.
42538         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42539         Moved ...
42540         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42541         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42542         Identical file removed.
42543         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42544         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42545         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42546         Moved ...
42547         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42548         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42549         Identical file removed.
42550         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42551         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42552         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42553         Identical file removed.
42554         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42555         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42556         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42557         Identical file removed.
42558         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42559         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42560         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42561         Identical file removed.
42562         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42563         Moved ...
42564         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42565         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42566         Identical file removed.
42567         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42568         Moved ...
42569         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42570         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42571         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42572         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42573         Identical file removed.
42574         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42575         Moved ...
42576         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42577         ... here.
42578         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42579         Identical file removed.
42580         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42581         Moved ...
42582         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42583         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42584         Identical file removed.
42585         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42586         Moved ...
42587         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42588         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42589         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42591         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42592         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42593         Moved ...
42594         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42595         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42596         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42598         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42599         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42600         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42601         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42602         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42604 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42606         [BZ #17092]
42607         * nscd/nscd.c (monitor_child): Return exit status of child
42608         instead of return value from wait syscall.
42610 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42612         * configure.ac (libc_commonpagesize): Remove variable.
42613         (libc_relro_required): Likewise.
42614         (libc_cv_z_relro): Remove configure test.
42615         * configure: Regenerated.
42616         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42617         variable.
42618         (libc_relro_required): Likewise.
42619         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42620         (libc_relro_required): Likewise.
42621         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42622         (libc_relro_required): Likewise.
42623         * sysdeps/arm/preconfigure: Regenerated.
42624         * sysdeps/ia64/preconfigure: Remove file.
42625         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42626         variable.
42627         (libc_relro_required): Likewise.
42629         [BZ #16561]
42630         [BZ #16562]
42631         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42632         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42633         recompute overflowing results in original rounding mode.
42634         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42635         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42636         recompute overflowing results in original rounding mode.
42637         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42638         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42639         recompute overflowing results in original rounding mode.
42640         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42641         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42642         recompute overflowing results in original rounding mode.
42643         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42644         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42645         recompute overflowing results in original rounding mode.
42646         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42647         (libc_feholdsetround_ctx): New macro.
42648         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42649         * sysdeps/i386/fpu/libm-test-ulps: Update.
42650         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42652 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42654         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42655         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42656         corresponding .cpsetup call.
42658 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42660         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42661         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42662         * sysdeps/arm/Makefile [$(subdir) = csu]
42663         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42664         (static-only-routines): Add aeabi_read_tp here.
42665         (shared-only-routines): Add libc-aeabi_read_tp here.
42666         (CFLAGS-libc-start.c): Add -fexceptions here.
42667         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42668         (sysdep_routines, static-only-routines, shared-only-routines):
42669         Don't add to these here.
42670         (CFLAGS-libc-start.c): Likewise.
42672         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42673         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42674         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42675         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42676         * sysdeps/arm/Makefile [$(subdir) = rt]
42677         (librt-sysdep_routines, librt-shared-only-routines):
42678         Append rt-aeabi_unwind_cpp_pr1 here.
42679         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42680         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42681         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42682         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42683         Append nptl-aeabi_unwind_cpp_pr1 here.
42684         (tests): Filter out tst-cleanupx4 here.
42685         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42686         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42687         Don't do those here.
42689 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42691         * scripts/list-sources.sh: Do not handle ports specially.
42693 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42695         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42696         * sysdeps/arm/feupdateenv.c: Likewise.
42698         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42700 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42702         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42703         trailing whitespace removed.
42704         * scripts/config.guess: Update to version 2014-03-23.
42705         * scripts/config.sub: Update to version 2014-05-01
42706         * scripts/install-sh: Update to version 2013-12-25.23.
42707         * scripts/move-if-change: Update from gnulib.
42709 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42711         * debug/memmove_chk.c: Remove pagecopy.h include.
42713 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42715         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42716         identical to gnulib mktime.
42718 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42720         * configure.ac: Do not test for machine being rs6000.  Do not test
42721         for powerpc*-*soft.
42722         * configure: Regenerated.
42724         [BZ #11505]
42725         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42726         test.
42727         * configure: Regenerated.
42728         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42729         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42730         Remove configure test.
42731         * sysdeps/arm/configure: Regenerated.
42732         * sysdeps/nptl/configure.ac: Do not check
42733         libc_cv_asm_cfi_directives.
42734         * sysdeps/nptl/configure: Regenerated.
42735         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42736         * sysdeps/x86_64/nptl/configure: Remove generated file.
42737         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42738         unconditional.
42739         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42741 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42743         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42744         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42745         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42746         it is defined.
42748         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42749         instead of whether it is defined.
42750         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42751         * sysdeps/hppa/dl-machine.h: Likewise.
42752         * sysdeps/ia64/dl-machine.h: Likewise.
42753         * sysdeps/m68k/dl-machine.h: Likewise.
42754         * sysdeps/microblaze/dl-machine.h: Likewise.
42755         * sysdeps/mips/dl-machine.: Likewise.
42756         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42757         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42758         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42759         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42760         * sysdeps/sh/dl-machine.h: Likewise.
42761         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42762         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42763         * sysdeps/tile/dl-machine.h: Likewise.
42764         * sysdeps/x86_64/dl-machine.h: Likewise.
42766         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42767         code.
42768         (verify_persistent_db): Likewise.
42770 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42773         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42775         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42777         Moved ...
42778         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42779         ... here.
42780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42781         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42782         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42783         Identical file removed.
42784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42785         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42787         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42789         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42791         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42793         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42795         Moved ...
42796         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42798         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42800         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42802         Moved ...
42803         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42805         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42807         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42809         Identical file removed.
42810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42811         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42813         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42815         Moved ...
42816         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42817         ... here.
42818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42819         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42821         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42823         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42825         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42827         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42829         Moved ...
42830         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42832         Moved ...
42833         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42835         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42837         Moved ...
42838         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42840         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42842         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42843         folded into ...
42844         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42845         * sysdeps/unix/sysv/linux/s390/Versions
42846         (libpthread: GLIBC_2.19): New version set.
42847         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42848         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42849         (librt: GLIBC_2.3.3): New version set.
42850         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42851         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42852         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42853         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42854         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42855         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42856         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42857         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42858         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42859         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42860         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42861         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42862         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42863         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42864         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42865         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42866         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42867         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42868         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42869         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42870         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42871         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42872         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42873         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42874         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42875         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42876         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42877         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42878         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42879         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42880         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42881         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42882         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42883         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42884         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42886         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42887         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42888         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42889         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42890         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42891         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42892         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42893         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42894         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42896         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42897         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42898         (__libc_vfork): Define the function under this name.
42899         [!NOT_IN_libc] (__vfork): Make this an alias.
42900         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42901         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42902         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42903         (__libc_vfork): Define the function under this name.
42904         [!NOT_IN_libc] (__vfork): Make this an alias.
42905         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42906         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42907         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42908         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42909         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42910         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42912         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42913         code that was previously under [RESET_PID].
42914         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42915         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42918         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42919         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42920         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42921         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42922         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42923         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42924         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42925         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42926         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42927         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42928         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42929         Moved ...
42930         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42931         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42932         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42933         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42934         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42935         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42936         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42937         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42938         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42939         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42940         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42941         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42942         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42943         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42944         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42945         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42946         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42947         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42948         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42949         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42950         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42951         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42952         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42953         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42954         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42955         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42956         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42957         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42958         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42960 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42962         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42963         that was previously under [RESET_PID].
42964         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42966 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42968         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42969         not undefine and redefine.
42970         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42971         [O_CLOEXEC]: Make code unconditional.
42972         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42973         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42974         <kernel-features.h>.
42975         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42976         conditional variable definition.
42977         (shm_open) [O_CLOEXEC]: Make code unconditional.
42978         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42979         code.
42981         * configure.ac (USE_REGPARMS): Don't define here.
42982         * configure: Regenerated.
42983         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42984         * sysdeps/i386/configure: Regenerated.
42986         * nptl/createthread.c: Don't include kernel-features.h.
42987         * nptl/pthread_cancel.c: Likewise.
42988         * nptl/pthread_condattr_setclock.c: Likewise.
42989         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42990         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42991         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42992         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42993         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42994         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42995         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42996         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42998         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42999         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
43000         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
43001         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
43002         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
43003         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
43004         * nscd/gai.c: Likewise.
43005         * nss/nss_db/db-open.c: Likewise.
43006         * sysdeps/generic/ldsodefs.h: Likewise.
43007         * sysdeps/sh/nptl/tls.h: Likewise.
43008         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43009         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
43010         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
43011         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
43012         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
43013         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43014         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
43015         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43016         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43017         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
43018         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
43019         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43020         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
43021         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
43022         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
43023         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
43024         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
43025         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
43026         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
43027         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
43028         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
43029         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
43030         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
43031         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
43032         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
43033         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
43034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
43035         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
43036         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43037         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
43038         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
43039         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
43040         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
43041         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43042         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43043         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43044         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43045         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
43046         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
43047         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
43048         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43049         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
43050         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
43051         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43052         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
43053         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
43054         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
43055         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
43056         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
43057         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
43058         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
43059         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
43060         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
43061         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43062         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
43063         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43064         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43065         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
43066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
43068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
43069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
43070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
43071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
43072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
43073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
43074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
43077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
43078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
43079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
43080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
43086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
43087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
43088         * sysdeps/unix/sysv/linux/pread.c: Likewise.
43089         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
43090         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
43091         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
43092         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
43093         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
43094         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
43095         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
43096         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
43097         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
43098         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
43099         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
43100         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
43101         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
43102         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
43103         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
43104         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43105         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
43106         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
43107         * sysdeps/unix/sysv/linux/system.c: Likewise.
43108         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
43109         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
43110         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43111         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43112         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43113         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43114         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43116         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
43117         * configure: Regenerated.
43118         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
43120         * configure.ac (base_machine): Do not set specially for particular
43121         machines here.
43122         * configure: Regenerated.
43123         * sysdeps/powerpc/preconfigure: Move machine and base_machine
43124         settings from configure.ac.
43125         * sysdeps/i386/preconfigure: New file.
43126         * sysdeps/s390/preconfigure: Likewise.
43127         * sysdeps/sh/preconfigure: Likewise.
43128         * sysdeps/sparc/preconfigure: Likewise.
43130 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43132         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
43133         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
43134         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
43135         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
43136         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
43137         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
43138         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
43139         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
43140         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
43141         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
43142         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
43143         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
43144         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
43145         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
43146         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
43147         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
43148         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
43149         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
43150         * sysdeps/sparc/sparc64/Makefile: ... appended here.
43152         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
43153         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
43154         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
43155         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
43156         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
43157         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
43158         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
43159         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
43160         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
43161         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
43162         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
43163         * sysdeps/sparc/sparc32/sem_post.c: ... here.
43164         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
43165         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
43166         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
43167         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
43168         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
43169         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
43170         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
43171         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
43172         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
43173         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
43174         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
43175         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
43176         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
43177         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
43178         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
43179         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
43180         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
43181         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
43182         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
43183         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
43184         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
43185         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
43186         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
43187         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
43188         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
43189         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
43191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
43192         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
43193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
43194         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
43195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43196         Moved ...
43197         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
43198         ... here.
43199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
43200         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
43201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
43202         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
43203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
43204         Moved ...
43205         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
43206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
43207         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
43208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
43209         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
43210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
43211         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
43212         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43213         Moved ...
43214         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
43215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43216         Moved ...
43217         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
43218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
43219         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
43220         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43221         Moved ...
43222         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
43223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
43224         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
43225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
43226         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
43227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
43228         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
43229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
43230         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
43231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43232         Moved ...
43233         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
43234         ... here.
43235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
43236         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
43237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
43238         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
43239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
43240         Moved ...
43241         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
43242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
43243         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
43244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
43245         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
43246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
43247         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
43248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43249         Moved ...
43250         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
43251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43252         Moved ...
43253         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
43254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
43255         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
43256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43257         Moved ...
43258         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
43259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
43260         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
43261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
43262         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
43264 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43266         * timezone/checktab.awk: Update from tzcode 2014e.
43267         * timezone/private.h: Likewise.
43268         * timezone/tzfile.h: Likewise.
43269         * timezone/zdump.c: Likewise.
43270         * timezone/zic.c: Likewise.
43272         * sysdeps/unix/sysv/linux/kernel-features.h
43273         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
43274         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
43275         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
43276         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43277         Remove conditional code.
43279 2014-06-25  Will Newton  <will.newton@linaro.org>
43281         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
43282         (_dl_arm_cap_flags): Add HWCAP2 values.
43283         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
43284         (_DL_HWCAP_COUNT): Increase to 37.
43285         (_DL_HWCAP_LAST): New define.
43286         (_DL_HWCAP2_LAST): New define.
43287         (_dl_procinfo): Add support for printing
43288         AT_HWCAP2 entries.
43289         (_dl_string_hwcap): Use _dl_hwcap_string.
43291 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43295 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43297         * README: Do not mention ports directory.
43299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43300         Remove macro.
43301         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43302         <kernel-features.h>.
43303         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43304         conditional variable definition.
43305         (__futimes): Update comment.
43306         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43307         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43309         [BZ #16560]
43310         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43311         arguments close to 0.
43312         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43313         Likewise.
43314         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43315         Likewise.
43316         * math/auto-libm-test-in: Add more tests of exp10.
43317         * math/auto-libm-test-out: Regenerated.
43318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43320         * sysdeps/unix/sysv/linux/kernel-features.h
43321         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43322         * sysdeps/unix/sysv/linux/readv.c: Do not include
43323         <kernel-features.h>.
43324         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43325         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43326         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43327         unconditional.
43328         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43329         conditional code.
43330         * sysdeps/unix/sysv/linux/writev.c: Do not include
43331         <kernel-features.h>.
43332         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43333         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43334         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43335         unconditional.
43336         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43337         conditional code.
43339 2014-06-25  Will Newton  <will.newton@linaro.org>
43341         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43342         comment changes throughout the file.  Remove checks
43343         for HAVE_*_H definitions that are not required.
43344         (__gen_tempname): Call abort if an unknown kind value is
43345         passed.
43347 2014-06-25  Andreas Schwab  <schwab@suse.de>
43349         [BZ #17086]
43350         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43351         scalbln, scalblnf, scalblnl in libc.
43353 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43355         [BZ #17086]
43356         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43357         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43358         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43360 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43362         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43363         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43364         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43365         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43366         Update #include.
43367         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43368         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43369         Update #include.
43370         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43371         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43372         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43373         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43374         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43375         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43376         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43377         * sysdeps/x86/bits/semaphore.h: ... here.
43378         * sysdeps/x86/nptl/elide.h: Moved ...
43379         * sysdeps/x86/elide.h: ... here.
43380         * sysdeps/x86_64/nptl/Implies: File removed.
43381         * sysdeps/i386/nptl/Implies: File removed.
43383 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43385         [BZ #16539]
43386         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43387         return the argument for normal arguments with exponent below -64.
43388         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43389         Likewise.
43390         * math/auto-libm-test-in: Add another test of expm1.
43391         * math/auto-libm-test-out: Regenerated.
43393         [BZ #16287]
43394         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43395         calling __erfcl for arguments at least 16.
43396         * math/auto-libm-test-in: Add more tests of erf.
43397         * math/auto-libm-test-out: Regenerated.
43399         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43400         individual architectures.
43401         * sysdeps/unix/sysv/linux/configure: Regenerated.
43402         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43403         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43404         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43405         (ldd_rewrite_script): Define variable.
43406         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43408         file.
43409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43410         generated file.
43411         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43412         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43413         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43414         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43415         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43416         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43417         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43418         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43420 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43422         [BZ #17084]
43423         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43424         Rename member __data.d to __data.__elision_data.
43426 2014-06-24  Wilco  <wdijkstr@arm.com>
43428         * NEWS: Add 16918 to fixed bug list.
43430 2014-06-24  Wilco  <wdijkstr@arm.com>
43432         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43434 2014-06-24  Wilco  <wdijkstr@arm.com>
43436         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43437         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43438         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43439         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43440         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43441         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43442         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43443         Use _FPU_MASK_RM.
43445 2014-06-24  Wilco  <wdijkstr@arm.com>
43447         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43449 2014-06-24  Wilco  <wdijkstr@arm.com>
43451         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43452         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43453         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43454         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43456 2014-06-24  Wilco  <wdijkstr@arm.com>
43458         [BZ #16918]
43459         * sysdeps/arm/feupdateenv.c (feupdateenv):
43460         Rewrite to reduce FPSCR accesses and fix return value.
43462 2014-06-24  Wilco  <wdijkstr@arm.com>
43464         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43465         Optimize to avoid unnecessary FPSCR writes.
43466         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43467         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43468         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43469         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43471 2014-06-24  Wilco  <wdijkstr@arm.com>
43473         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43474         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43475         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43476         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43477         Call libc_fetestexcept_vfp.
43478         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43479         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43480         __SOFTFP__ ifdef so that they can be built for softfp.
43482 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43484         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43485         argument type signed char.
43487         * Makerules (check-abi): Dump diff of symlist if the test
43488         fails.
43490 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43492         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43493         using abort.
43495         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43496         Remove unused variable ST.
43498 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43500         [BZ #16354]
43501         [BZ #17061]
43502         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43503         small arguments before calling __expm1.
43504         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43505         small arguments before calling __expm1f.
43506         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43507         small arguments before calling __expm1l.
43508         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43509         Likewise.
43510         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43511         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43512         spurious underflow for some cosh tests.
43513         * math/auto-libm-test-out: Regenerated.
43514         * sysdeps/i386/fpu/libm-test-ulps: Update.
43516         [BZ #17050]
43517         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43518         (__ieee754_y1): Set errno if return value overflows.
43519         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43520         (__ieee754_y1f): Set errno if return value overflows.
43521         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43522         (__ieee754_y1l): Set errno if return value overflows.
43523         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43524         (__ieee754_y1l): Set errno if return value overflows.
43525         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43526         * math/auto-libm-test-out: Regenerated.
43528         * math/gen-auto-libm-tests.c: Document use of
43529         ignore-zero-inf-sign.
43530         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43531         (input_flags): Add ignore-zero-inf-sign.
43532         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43533         * math/gen-libm-test.pl (generate_testfile): Handle
43534         ignore-zero-inf-sign.
43535         * math/auto-libm-test-in: Mark some cpow tests with
43536         ignore-zero-inf-sign and some with xfail-rounding.
43537         * math/auto-libm-test-out: Regenerated.
43538         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43539         * sysdeps/i386/fpu/libm-test-ulps: Update.
43540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43542         [BZ #16315]
43543         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43544         overflowing or underflowing operations take place with sign of
43545         result.
43546         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43547         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43548         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43549         (__ieee754_pow): Recompute overflowing and underflowing results in
43550         original rounding mode.
43551         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43552         (__powl_helper): Allow negative argument X and scale negated value
43553         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43554         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43555         overflowing or underflowing operations take place with sign of
43556         result.
43557         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43558         Include <math.h>.
43559         * math/auto-libm-test-in: Add more tests of pow.
43560         * math/auto-libm-test-out: Regenerated.
43561         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43562         (pow_tonearest_test_data): Remove.
43563         (pow_test_tonearest): Likewise.
43564         (pow_towardzero_test_data): Likewise.
43565         (pow_test_towardzero): Likewise.
43566         (pow_downward_test_data): Likewise.
43567         (pow_test_downward): Likewise.
43568         (pow_upward_test_data): Likewise.
43569         (pow_test_upward): Likewise.
43570         (main): Don't call removed functions.
43571         * sysdeps/i386/fpu/libm-test-ulps: Update.
43572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43574 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43577         Moved ...
43578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43580         Moved ...
43581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43583         Moved ...
43584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43586         Moved ...
43587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43589         File removed.
43590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43591         File removed.
43592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43593         File removed.
43594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43595         File removed.
43596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43597         File removed.
43598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43599         File removed.
43600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43601         File removed.
43602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43603         File removed.
43604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43605         File removed.
43606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43607         File removed.
43608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43609         File removed.
43610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43611         File removed.
43612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43613         Moved ...
43614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43616         Moved ...
43617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43618         ... here.
43619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43620         Moved ...
43621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43623         Moved ...
43624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43626         Moved ...
43627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43629         Moved ...
43630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43632         Moved ...
43633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43635         Moved ...
43636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43638         Moved ...
43639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43642         ... here.
43643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43644         Moved ...
43645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43647         Moved ...
43648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43649         ... here.
43650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43651         Moved ...
43652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43653         ... here.
43654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43655         Moved ...
43656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43657         ... here.
43658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43659         Moved ...
43660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43662         Moved ...
43663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43667         Moved ...
43668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43669         ... here.
43670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43671         Moved ...
43672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43673         ... here.
43674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43675         Moved ...
43676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43678         Moved ...
43679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43681         Moved ...
43682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43684         Moved ...
43685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43687         Moved ...
43688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43689         ... here.
43690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43691         Moved ...
43692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43694         Moved ...
43695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43697         Moved ...
43698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43700         Moved ...
43701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43705         Moved ...
43706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43708         Moved ...
43709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43711         Moved ...
43712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43713         ... here.
43714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43715         Moved ...
43716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43717         ... here.
43718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43719         Moved ...
43720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43721         ... here.
43722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43723         Moved ...
43724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43726         Moved ...
43727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43729         Moved ...
43730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43732         Moved ...
43733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43734         ... here.
43735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43736         Moved ...
43737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43738         ... here.
43739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43740         Moved ...
43741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43742         ... here.
43743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43744         Moved ...
43745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43747         Moved ...
43748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43750 2014-06-23  Will Newton  <will.newton@linaro.org>
43751             Wilco  <wdijkstr@arm.com>
43753         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43754         implementation.  Include get-rounding-mode.h.
43755         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43756         [!libc_feholdsetround_noex_ctx]: Define
43757         libc_feholdsetround_noex_ctx.
43758         [!libc_feholdsetround_noexf_ctx]: Define
43759         libc_feholdsetround_noexf_ctx.
43760         [!libc_feholdsetround_noexl_ctx]: Define
43761         libc_feholdsetround_noexl_ctx.
43762         (libc_feholdsetround_ctx): New function.
43763         (libc_feresetround_ctx): New function.
43764         (libc_feholdsetround_noex_ctx): New function.
43765         (libc_feresetround_noex_ctx): New function.
43767 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43769         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43770         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43771         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43772         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43773         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43774         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43776         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43777         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43778         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43779         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43780         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43781         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43782         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43783         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43784         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43785         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43786         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43787         Moved ...
43788         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43789         ... here.
43790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43791         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43792         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43793         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43794         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43795         Moved ...
43796         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43797         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43798         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43799         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43800         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43801         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43802         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43803         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43804         Moved ...
43805         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43806         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43807         Moved ...
43808         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43809         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43810         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43811         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43812         Moved ...
43813         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43814         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43815         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43816         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43817         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43818         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43819         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43820         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43821         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43822         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43823         Moved ...
43824         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43825         ... here.
43826         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43827         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43828         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43829         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43830         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43831         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43833         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43834         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43835         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43836         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43837         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43838         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43839         Moved ...
43840         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43841         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43842         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43843         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43844         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43845         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43846         Moved ...
43847         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43848         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43849         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43850         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43851         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43853         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43854         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43855         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43856         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43857         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43858         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43859         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43860         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43861         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43862         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43863         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43864         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43865         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43866         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43867         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43868         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43869         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43870         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43871         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43872         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43873         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43874         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43875         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43876         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43877         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43878         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43879         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43880         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43882 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43884         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43885         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43886         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43887         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43888         (IPV6_PMTUDISC_INTERFACE): Likewise.
43889         (IPV6_PMTUDISC_OMIT): Likewise.
43891 2014-06-23  Andreas Schwab  <schwab@suse.de>
43893         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43894         Remove unused errout label.
43896 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43898         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43899         macro: hardware supports Vector Crypto instructions.
43901 2014-06-23  Will Newton  <will.newton@linaro.org>
43903         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43904         rather than __builtin_expect.
43906         * elf/dl-lookup.c (undefined_msg): Remove variable.
43907         (_dl_lookup_symbol_x): Replace undefined_msg with string
43908         literal.
43910         * elf/dl-lookup.c (do_lookup_unique): New function.
43911         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43912         to a separate function.
43914 2014-06-23  Andreas Schwab  <schwab@suse.de>
43916         [BZ #17079]
43917         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43918         before reading the next line.
43920 2014-06-23  Will Newton  <will.newton@linaro.org>
43922         * test-skeleton.c (signal_handler): Use printf and %m
43923         rather than perror.  Use printf rather than fprintf to
43924         stderr.  Use puts rather than fputs to stderr.
43925         (main): Likewise.
43927 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43929         * nscd/nscd.c (thread_info_t): Remove typedef.
43930         (thread_info): Remove variable.
43932 2014-06-21  Allan McRae  <allan@archlinux.org>
43934         * NEWS: Mention CVE-2014-4043.
43936 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43938         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43939         * nptl/smp.h: ... here.
43941         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43943         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43944         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43945         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43946         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43948         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43949         * nptl/stack-aliasing.h: New file.
43950         * sysdeps/i386/i686/stack-aliasing.h: New file.
43951         * sysdeps/i386/i686/nptl/Makefile: File removed.
43952         * sysdeps/x86_64/stack-aliasing.h: New file.
43953         * sysdeps/x86_64/nptl/Makefile
43954         (CFLAGS-pthread_create.c): Variable removed.
43956         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43957         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43958         old file.
43959         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43960         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43961         old file.
43963 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43965         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43966         (__ASSUME_SIGFRAME_V2): Remove macro.
43967         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43968         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43969         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43970         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43971         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43972         Declare as function.  Remove conditional macro definitions.
43973         (__default_rt_sa_restorer): Likewise.
43974         (__default_sa_restorer_v1): Remove declaration.
43975         (__default_sa_restorer_v2): Likewise.
43976         (__default_rt_sa_restorer_v1): Likewise.
43977         (__default_rt_sa_restorer_v2): Likewise.
43978         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43979         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43980         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43982 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43984         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43985         (libpthread-routines): Add sysdep.
43986         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43987         * sysdeps/unix/sysv/linux/sparc/Versions
43988         (libpthread: GLIBC_2.3.3): New version set.
43989         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43990         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43991         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43992         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43993         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43994         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43995         Moved ...
43996         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43997         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43998         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43999         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
44000         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
44001         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
44002         * sysdeps/sparc/nptl/sem_init.c: ... here.
44003         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
44004         * sysdeps/sparc/nptl/sem_post.c: ... here.
44005         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
44006         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
44007         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
44008         * sysdeps/sparc/nptl/sem_wait.c: ... here.
44009         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
44010         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
44011         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
44012         (libpthread-routines): Add cpu_relax.
44013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
44014         File removed.
44015         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
44016         (librt: GLIBC_2.3.3): New version set.
44017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
44018         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
44019         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
44020         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
44021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
44022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
44023         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
44024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
44025         Moved ...
44026         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
44027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
44028         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
44029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
44030         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
44031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
44032         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
44033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
44034         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
44035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
44036         Moved ...
44037         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
44038         Update #include.
44039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
44040         Moved ...
44041         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
44042         Update #include.
44043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
44044         Moved ...
44045         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
44046         Update #include.
44047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
44048         Moved ...
44049         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
44050         Update #include.
44051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
44052         Moved ...
44053         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
44054         Update #include.
44055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
44056         Moved ...
44057         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
44058         Update #include.
44059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
44060         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
44061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
44062         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
44063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
44064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
44065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
44066         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
44067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
44068         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
44069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44070         Moved ...
44071         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
44072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
44073         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
44074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
44075         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
44077 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44079         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
44080         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
44081         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44082         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
44083         * nscd/nscd.c: Likewise.
44084         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
44085         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
44086         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
44087         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
44089         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
44090         <kernel-features.h>.
44091         (init_mq_netlink): Remove conditional have_sock_cloexec
44092         definitions.  Remove code conditional on have_sock_cloexec < 0.
44093         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
44094         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
44095         * sysdeps/unix/sysv/linux/opensock.c: Do not include
44096         <kernel-features.h>.
44097         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
44098         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
44100 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44102         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44103         Add tests for memset_chk and memset.
44105         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
44106         with AVX2_Usable.
44108 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44110         [BZ #16046]
44111         * elf/tst-dl-iter-static.c: New file.
44112         * elf/Makefile (tests-static): Add tst-dl-iter-static.
44114         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
44115         error.
44117 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44119         * sysdeps/unix/sysv/linux/kernel-features.h
44120         (__ASSUME_F_GETOWN_EX): Remove macro.
44121         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
44122         <kernel-features.h>.
44123         (miss_F_GETOWN_EX): Remove variable or macro.
44124         (do_fcntl): Do not check miss_F_GETOWN_EX.
44125         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
44127         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
44128         Remove macro.
44129         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
44130         [!__ASSUME_AT_RANDOM]: Remove conditional code.
44131         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
44133         * sysdeps/unix/sysv/linux/kernel-features.h
44134         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
44135         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
44136         [ADJ_OFFSET_SS_READ]: Make code unconditional.
44137         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
44139 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44141         [BZ #17075]
44142         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
44143         Fix calculation of the symbol's value.
44144         * sysdeps/arm/tst-armtlsdescloc.c: New file.
44145         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
44146         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
44147         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
44148         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
44149         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
44150         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
44151         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
44152         (modules-names): Add `tst-armtlsdescmod',
44153         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
44154         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
44155         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44156         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
44157         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
44158         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44159         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
44160         ($(objpfx)tst-armtlsdescloc): New dependency.
44161         ($(objpfx)tst-armtlsdescextnow): Likewise.
44162         ($(objpfx)tst-armtlsdescextlazy): Likewise.
44163         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
44164         TLS scheme support.
44165         * sysdeps/arm/configure: Regenerate.
44167 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44169         * include/fcntl.h (__atfct_seterrno): Remove prototype.
44170         (__atfct_seterrno_2): Likewise.
44171         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
44172         <kernel-features.h>.
44173         (__ASSUME_ATFCTS): Do not undefine and redefine.
44174         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
44175         (__have_atfcts): Remove conditional definition.
44176         (__fxstatat([__NR_fstatat64]: Make code unconditional.
44177         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
44178         unreachable if [__ASSUME_ATFCTS].
44179         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
44180         not undefine and redefine.
44181         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
44182         <kernel-features.h>.
44183         (faccessat) [__NR_faccessat]: Make code unconditional.
44184         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
44185         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
44186         <kernel-features.h>.
44187         (fchmodat) [__NR_fchmodat]: Make code unconditional.
44188         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44189         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
44190         <kernel-features.h>.
44191         (fchownat) [__NR_fchownat]: Make code unconditional.
44192         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
44193         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
44194         <kernel-features.h>.
44195         (futimesat) [__NR_futimesat]: Make code unconditional.
44196         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
44197         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44198         <kernel-features.h>.
44199         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44200         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44201         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44202         <kernel-features.h>.
44203         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
44204         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44205         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
44206         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44207         <kernel-features.h>.
44208         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
44209         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44210         * sysdeps/unix/sysv/linux/linkat.c: Do not include
44211         <kernel-features.h>.
44212         (linkat) [__NR_linkat]: Make code unconditional.
44213         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44214         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
44215         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
44216         <kernel-features.h>.
44217         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
44218         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44219         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
44220         <kernel-features.h>.
44221         (mkdirat) [__NR_mkdirat]: Make code unconditional.
44222         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
44223         * sysdeps/unix/sysv/linux/openat.c: Do not include
44224         <kernel-features.h>.
44225         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
44226         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
44227         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
44228         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
44229         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
44230         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
44231         <kernel-features.h>.
44232         (readlinkat) [__NR_readlinkat]: Make code unconditional.
44233         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
44234         result of INLINE_SYSCALL directly, not via int variable.
44235         * sysdeps/unix/sysv/linux/renameat.c: Do not include
44236         <kernel-features.h>.
44237         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
44238         (renameat) [__NR_renameat]: Make code unconditional.
44239         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
44240         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
44241         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
44242         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
44243         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
44244         (__ASSUME_ATFCTS): Do not undefine and redefine.
44245         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
44246         <kernel-features.h>.
44247         (symlinkat) [__NR_symlinkat]: Make code unconditional.
44248         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44249         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
44250         <kernel-features.h>.
44251         (unlinkat) [__NR_unlinkat]: Make code unconditional.
44252         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44253         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
44254         (__ASSUME_ATFCTS): Do not undefine and redefine.
44255         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44256         <kernel-features.h>.
44257         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44258         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44259         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44260         <kernel-features.h>.
44261         (__xmknodat) [__NR_mknodat]: Make code unconditional.
44262         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44264 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44266         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
44268 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
44270         [BZ #17069]
44271         * posix/regcomp.c (parse_reg_exp): Deallocate partially
44272         constructed tree before returning error.
44273         * posix/bug-regexp36.c: Expand test case.
44275 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
44277         [BZ #6803]
44278         * math/libm-test.inc (scalbln_test_date):
44279         Add errno expectations.
44280         * math/w_scalblnf.c: New File.
44281         Add wrapper which checks for setting errno to ERANGE.
44282         Add weak_alias for corresponding scalbln function.
44283         * math/w_scalbln.c: Likewise.
44284         * math/w_scalblnl.c: Likewise.
44285         * math/Makefile (libm-calls): Add w_scalbln.
44286         * sysdeps/ieee754/flt-32/s_scalblnf.c:
44287         Remove weak_alias for corresponding scalbln function.
44288         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44289         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44290         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44291         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44292         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
44293         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44294         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44295         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44296         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44297         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44298         Remove long_double_symbol for scalblnl function in libm, libc.
44299         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44300         Add wrapper which checks for setting errno to ERANGE.
44301         Add long_double_symbol for scalblnl function in libm, libc.
44302         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44303         Remove long_double_symbol for scalblnl in libm.
44304         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44305         Add wrapper which checks for setting errno to ERANGE.
44306         Add long_double_symbol for scalblnl function in libm.
44307         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44308         Do not use wrapper because of own implementation.
44310 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44312         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44313         3 bytes for __pad1 for x32.
44314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44316 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44317             H.J. Lu  <hongjiu.lu@intel.com>
44319         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44320         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44321         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44322         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44323         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44325 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44327         [BZ #17069]
44328         * posix/regcomp.c (parse_expression): Deallocate partially
44329         constructed tree before returning error.
44330         * posix/Makefile.c (tests): Add bug-regex36.
44331         (generated): Add bug-regex36.mtrace.
44332         (tests-special): Add $(objpfx)bug-regex36-mem.out
44333         (bug-regex36-ENV): New variable.
44334         ($(objpfx)bug-regex36-mem.out): New rule.
44335         * posix/bug-regex36.c: New file.
44337 2014-06-19  Will Newton  <will.newton@linaro.org>
44339         * malloc/malloc.c (systrim): If extra is zero then return
44340         early.
44342 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44344         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44346 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44348         * sysdeps/aarch64/strchr.S: New file.
44350 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44352         [BZ #17022]
44353         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44354         from arguments -2 or below.
44355         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44356         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44358 2014-06-18  Andreas Schwab  <schwab@suse.de>
44360         [BZ #17062]
44361         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44362         of a bracket expr not to run off the end of the string.
44363         * posix/Makefile (tests): Add tst-fnmatch3.
44364         * posix/tst-fnmatch3.c: New file.
44366 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44368         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44369         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44370         [$(cross-compiling) = no]: Likewise.
44371         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44372         [$(cross-compiling) = no]: Likewise.
44374 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44376         [BZ #17031]
44377         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44378         double, adjusted for any remainder from the high double.
44379         * math/libm-test.inc (nearbyint): Add tests.
44380         (rint): Likewise.
44382 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44384         * nptl/sysdeps/powerpc/Makefile: Moved ...
44385         * sysdeps/powerpc/nptl/Makefile: ... here.
44386         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44387         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44388         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44389         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44390         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44391         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44392         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44393         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44394         * nptl/sysdeps/powerpc/tls.h: Moved ...
44395         * sysdeps/powerpc/nptl/tls.h: ... here.
44397 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44399         [BZ #16681]
44400         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44401         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44402         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44403         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44404         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44405         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44406         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44407         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44408         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44410 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44412         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44414 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44416         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44417         defined operator.
44419         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44420         $TIMEOUTFACTOR.
44422 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44424         [BZ #17058]
44425         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44426         non-executed part of the test.
44428 2014-06-16  Andreas Schwab  <schwab@suse.de>
44430         * string/bits/string2.h (strdup, strndup): Update feature guard.
44432 2014-06-14  David S. Miller  <davem@davemloft.net>
44434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44436 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44438         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44439         that was previously under [RESET_PID].
44440         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44442         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44443         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44444         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44445         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44446         (__libc_vfork): New strong alias.
44447         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44449 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44451         * sysdeps/generic/elide.h: New file.
44453 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44455         * Makefile (installed-headers): Adjust path of pthread.h header.
44457 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44459         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44460         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44461         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44462         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44464         * nptl/sysdeps/s390/Makefile: Moved ...
44465         * sysdeps/s390/nptl/Makefile: ... here.
44466         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44467         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44468         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44469         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44470         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44471         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44472         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44473         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44474         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44475         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44476         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44477         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44478         * nptl/sysdeps/s390/tls.h: Moved ...
44479         * sysdeps/s390/nptl/tls.h: ... here.
44481         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44482         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44484 2014-06-13  David S. Miller  <davem@davemloft.net>
44486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44489         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44493         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44494         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44495         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44496         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44497         Remove RESET_PID cpp guards.
44498         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44499         Remove RESET_PID cpp guards.
44500         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44502 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44504         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44505         __sp to uintptr_t.
44507 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44509         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44510         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44511         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44512         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44513         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44514         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44515         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44516         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44517         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44518         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44519         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44520         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44521         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44522         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44523         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44524         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44525         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44526         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44527         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44528         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44530         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44531         (pthread_rwlock_rdlock): Add elision.
44532         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44533         (pthread_rwlock_wrlock): Add elision.
44534         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44535         (pthread_rwlock_trywrlock): Add elision.
44536         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44537         (pthread_rwlock_tryrdlock): Add elision.
44538         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44539         (pthread_rwlock_tryrdlock): Add elision unlock.
44540         * nptl/sysdeps/pthread/pthread.h:
44541         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44542         (PTHREAD_RWLOCK_INITIALIZER,
44543         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44544         Handle new elision field.
44545         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44546         * sysdeps/arm/nptl/bits/pthreadtypes.h
44547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44548         * sysdeps/sh/nptl/bits/pthreadtypes.h
44549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44550         * sysdeps/tile/nptl/bits/pthreadtypes.h
44551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44552         * sysdeps/a/nptl/bits/pthreadtypes.h
44553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44554         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44555         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44556         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44557         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44558         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44559         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44560         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44561         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44562         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44563         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44564         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44565         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44566         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44568         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44569         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44570         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44571         (elision_init): Set try_xbegin to zero when no RTM.
44572         * sysdeps/x86/nptl/bits/pthreadtypes.h
44573         (pthread_rwlock_t): Change __pad1 to __rwelision.
44574         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44576 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44578         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44579         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44580         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44581         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44583 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44585         [BZ #16996]
44586         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44587         that the cached result has been set before returning it.
44589 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44591         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44592         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44593         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44594         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44595         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44596         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44598         * nptl/sysdeps/sparc/Makefile: Moved ...
44599         * sysdeps/sparc/nptl/Makefile: ... here.
44600         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44601         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44602         * nptl/sysdeps/sparc/tls.h: Moved ...
44603         * sysdeps/sparc/nptl/tls.h: ... here.
44604         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44605         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44606         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44607         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44608         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44609         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44610         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44611         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44612         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44613         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44614         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44615         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44616         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44617         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44618         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44619         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44620         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44621         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44622         Update #include.
44623         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44624         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44625         Update #include.
44626         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44627         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44628         Update #include.
44629         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44630         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44631         Update #include.
44633         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44635         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44636         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44638         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44639         (struct list_links): Type removed.
44640         (struct thread_node, struct timer_node): Replace struct list_links
44641         with struct list_head.
44642         (list_unlink_ip): Likewise.
44643         * sysdeps/pthread/timer_routines.c
44644         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44645         (list_append, list_insbefore): Likewise.
44646         (list_init): Function removed.
44647         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44648         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44649         * sysdeps/pthread/Makefile: ... here, new file.
44651         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44652         * sysdeps/nptl/Implies: ... here.
44653         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44654         * nptl/sysdeps/pthread/list.h: Moved ...
44655         * include/list.h: ... here.
44656         * nptl/sysdeps/pthread/createthread.c: Moved ...
44657         * nptl/createthread.c: ... here.
44658         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44659         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44660         * nptl/pt-longjmp.c: ... here.
44661         * nptl/sysdeps/pthread/Makefile: Moved ...
44662         * sysdeps/nptl/Makefile: ... here.
44663         * nptl/sysdeps/pthread/Subdirs: Moved ...
44664         * sysdeps/nptl/Subdirs: ... here.
44665         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44666         * sysdeps/nptl/aio_misc.h: ... here.
44667         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44668         * sysdeps/nptl/bits/libc-lock.h: ... here.
44669         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44670         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44671         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44672         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44673         * nptl/sysdeps/pthread/configure: Moved ...
44674         * sysdeps/nptl/configure: ... here.
44675         * nptl/sysdeps/pthread/configure.ac: Moved ...
44676         * sysdeps/nptl/configure.ac: ... here.
44677         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44678         * sysdeps/nptl/gai_misc.h: ... here.
44679         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44680         * sysdeps/nptl/librt-cancellation.c: ... here.
44681         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44682         * sysdeps/nptl/malloc-machine.h: ... here.
44683         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44684         * sysdeps/nptl/pthread-functions.h: ... here.
44685         * nptl/sysdeps/pthread/pthread.h: Moved ...
44686         * sysdeps/nptl/pthread.h: ... here.
44687         * nptl/sysdeps/pthread/setxid.h: Moved ...
44688         * sysdeps/nptl/setxid.h: ... here.
44689         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44690         * sysdeps/nptl/sigfillset.c: ... here.
44691         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44692         * sysdeps/nptl/tcb-offsets.h: ... here.
44693         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44694         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44695         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44696         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44697         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44698         * sysdeps/pthread/allocalim.h: ... here.
44699         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44700         * sysdeps/pthread/bits/sigthread.h: ... here.
44701         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44702         * sysdeps/pthread/flockfile.c: ... here.
44703         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44704         * sysdeps/pthread/ftrylockfile.c: ... here.
44705         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44706         * sysdeps/pthread/funlockfile.c: ... here.
44707         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44708         * sysdeps/pthread/posix-timer.h: ... here.
44709         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44710         * sysdeps/pthread/timer_create.c: ... here.
44711         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44712         * sysdeps/pthread/timer_delete.c: ... here.
44713         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44714         * sysdeps/pthread/timer_getoverr.c: ... here.
44715         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44716         * sysdeps/pthread/timer_gettime.c: ... here.
44717         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44718         * sysdeps/pthread/timer_routines.c: ... here.
44719         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44720         * sysdeps/pthread/timer_settime.c: ... here.
44721         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44722         * sysdeps/pthread/tst-timer.c: ... here.
44723         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44724         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44726         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44727         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44729         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44730         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44731         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44732         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44733         Update #include target.
44734         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44735         * sysdeps/i386/i686/nptl/Makefile: ... here.
44736         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44737         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44738         Update #include target.
44739         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44740         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44741         * nptl/sysdeps/i386/Makefile: Moved ...
44742         * sysdeps/i386/nptl/Makefile: ... here.
44743         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44744         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44745         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44746         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44747         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44748         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44749         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44750         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44751         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44752         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44753         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44754         * nptl/sysdeps/i386/tls.h: Moved ...
44755         * sysdeps/i386/nptl/tls.h: ... here.
44757         * sysdeps/sh/Makefile [$(subdir) = csu]
44758         (gen-as-const-headers): Add tcb-offsets.sym.
44759         * nptl/sysdeps/sh/Makefile: File removed.
44760         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44761         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44762         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44763         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44764         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44765         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44766         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44767         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44768         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44769         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44770         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44771         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44772         * nptl/sysdeps/sh/tls.h: Moved ...
44773         * sysdeps/sh/nptl/tls.h: ... here.
44774         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44775         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44776         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44777         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44778         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44779         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44780         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44781         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44782         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44783         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44784         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44785         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44786         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44787         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44788         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44789         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44790         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44791         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44792         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44793         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44794         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44795         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44796         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44797         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44798         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44799         Moved ...
44800         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44801         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44802         Moved ...
44803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44804         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44805         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44806         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44807         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44808         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44809         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44810         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44811         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44812         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44813         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44814         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44815         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44816         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44817         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44818         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44819         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44820         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44821         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44823 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44825         * posix/spawn_faction_addopen.c: Include string.h.
44827 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44829         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44830         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44831         * nptl/sysdeps/x86_64/Makefile: Moved ...
44832         * sysdeps/x86_64/nptl/Makefile: ... here.
44833         * nptl/sysdeps/x86_64/configure: Moved ...
44834         * sysdeps/x86_64/nptl/configure: ... here.
44835         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44836         * sysdeps/x86_64/nptl/configure.ac: ... here.
44837         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44838         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44839         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44840         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44841         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44842         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44843         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44844         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44845         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44846         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44847         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44848         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44849         * nptl/sysdeps/x86_64/tls.h: Moved ...
44850         * sysdeps/x86_64/nptl/tls.h: ... here.
44851         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44852         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44853         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44854         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44856         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44858 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44862 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44864         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44865         type.
44866         [POSIX] (off_t): Likewise.
44867         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44868         [POSIX] (S_ISBLK): Require macro.
44869         [POSIX] (S_ISCHR): Likewise.
44870         [POSIX] (S_ISDIR): Likewise.
44871         [POSIX] (S_ISFIFO): Likewise.
44872         [POSIX] (S_ISREG): Likewise.
44873         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44874         optional-macro.
44875         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44876         type.
44877         [POSIX] (time_t): Likewise.
44878         [POSIX] (timer_t): Likewise.
44880 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44882         [BZ #17048]
44883         * posix/spawn_int.h (struct __spawn_action): Make the path string
44884         non-const to support deallocation.
44885         * posix/spawn_faction_addopen.c
44886         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44887         * posix/spawn_faction_destroy.c
44888         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44889         path in all spawn_do_open actions.
44890         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44891         posix_spawn_file_actions_addopen.
44893 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44895         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44896         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44897         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44898         conditional code always true.
44899         (__libc_vfork): New alias.
44901 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44903         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44904         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44906         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44908         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44909         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44911         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44912         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44914         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44915         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44917 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44919         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44920         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44921         multiarch strcmp for PPC64.
44922         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44923         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44925         multiarch optimizations.
44926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44927         (__libc_ifunc_impl_list): Likewise.
44929 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44931         * benchtests/scripts/validate_benchout.py: New script.
44932         * benchtests/Makefile (bench-func): Call it.
44933         * benchtests/scripts/benchout.schema.json: New file.
44935 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44937         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44938         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44939         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44940         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44941         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44942         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44943         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44944         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44945         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44946         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44947         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44948         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44949         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44950         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44951         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44952         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44954         Moved ...
44955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44956         ... here.
44957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44958         Moved ...
44959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44961         Moved ...
44962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44963         ... here.
44964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44965         Moved ...
44966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44967         ... here.
44968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44969         Moved ...
44970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44972         Moved ...
44973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44974         ... here.
44975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44976         Moved ...
44977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44978         ... here.
44979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44980         Moved ...
44981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44983         Moved ...
44984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44985         ... here.
44986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44987         Moved ...
44988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44989         ... here.
44990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44991         Moved ...
44992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44993         ... here.
44994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44995         Moved ...
44996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44998         Moved ...
44999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
45000         ... here.
45001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
45002         Moved ...
45003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
45004         ... here.
45005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
45006         Moved ...
45007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
45008         ... here.
45009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
45010         Moved ...
45011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
45012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
45013         Moved ...
45014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
45015         ... here.
45016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
45017         Moved ...
45018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
45019         ... here.
45020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
45021         Moved ...
45022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
45023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
45024         Moved ...
45025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
45026         ... here.
45027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
45028         Moved ...
45029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
45030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
45031         Moved ...
45032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
45033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
45034         Moved ...
45035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
45036         ... here.
45037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
45038         Moved ...
45039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
45040         ... here.
45041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
45042         Moved ...
45043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
45044         ... here.
45045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
45046         Moved ...
45047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
45048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
45049         Moved ...
45050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
45051         ... here.
45052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
45053         Moved ...
45054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
45055         ... here.
45056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
45057         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
45058         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
45059         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
45060         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
45061         Moved ...
45062         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
45063         ... here.
45064         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
45065         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
45066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
45067         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
45068         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
45069         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
45070         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
45071         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
45072         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
45073         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
45074         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
45075         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
45076         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
45077         Moved ...
45078         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
45079         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
45080         Moved ...
45081         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
45082         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
45083         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
45084         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
45085         Moved ...
45086         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
45087         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
45088         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
45089         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
45090         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
45091         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
45092         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
45094 2014-06-10  Wilco  <wdijkstr@arm.com>
45096         * math/test-fenv-return.c: New file.
45097         * math/Makefile: Add new test test-fenv-return.
45099 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
45101         [BZ #17042]
45102         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
45103         when x - 1 is zero.
45104         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
45105         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
45106         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
45107         0.0L for an argument of 1.0L.
45108         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
45109         Likewise.
45110         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
45111         value when x - 1 is zero.
45112         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
45113         * sysdeps/i386/fpu/libm-test-ulps: Update.
45114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45116 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
45118         [BZ #15119]
45119         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
45121 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45123         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
45124         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
45126 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45128         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45129         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
45131         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45132         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
45134         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45135         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
45137         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45138         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
45140         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
45141         if not already defined.
45142         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
45143         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
45144         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
45145         (TLS_INIT_TP): Use it.
45146         (TLS_DEFINE_INIT_TP): New macro.
45147         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
45149 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
45151         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
45152         constant.
45153         [POSIX] (IXANY): Likewise.
45154         [POSIX] (OLCUC): Likewise.
45155         [POSIX || POSIX2008] (CBAUD): Do not allow.
45156         [POSIX || POSIX2008] (DEFECHO): Likewise.
45157         [POSIX || POSIX2008] (ECHOCTL): Likewise.
45158         [POSIX || POSIX2008] (ECHOKE): Likewise.
45159         [POSIX || POSIX2008] (ECHOPRT): Likewise.
45160         [POSIX || POSIX2008] (EXTA): Likewise.
45161         [POSIX || POSIX2008] (EXTB): Likewise.
45162         [POSIX || POSIX2008] (FLUSHO): Likewise.
45163         [POSIX || POSIX2008] (LOBLK): Likewise.
45164         [POSIX || POSIX2008] (PENDIN): Likewise.
45165         [POSIX || POSIX2008] (SWTCH): Likewise.
45166         [POSIX || POSIX2008] (VDISCARD): Likewise.
45167         [POSIX || POSIX2008] (VDSUSP): Likewise.
45168         [POSIX || POSIX2008] (VLNEXT): Likewise.
45169         [POSIX || POSIX2008] (VREPRINT): Likewise.
45170         [POSIX || POSIX2008] (VSTATUS): Likewise.
45171         [POSIX || POSIX2008] (VWERASE): Likewise.
45172         (B*): Change to B[0123456789]*.
45173         * conform/data/time.h-data [POSIX || UNIX98]
45174         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
45175         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
45176         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
45177         [POSIX] (tm_*): Do not allow.
45179 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
45181         * Makefile (install): Don't set LANGUAGE.
45182         * Makefile.in (install): Likewise.
45183         * assert/Makefile (test-assert-ENV): Remove variable.
45184         (test-assert-perr-ENV): Likewise.
45185         * elf/Makefile (neededtest4-ENV): Likewise.
45186         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45187         [$(cross-compiling) = no]: Don't set LANGUAGE.
45188         * io/ftwtest-sh (LANG): Remove variable.
45189         * libio/Makefile (tst-widetext-ENV): Likewise.
45190         * manual/install.texi (Running make install): Don't refer to
45191         environment settings for make install.
45192         * INSTALL: Regenerated.
45193         * nptl/tst-tls6.sh: Don't set LANG.
45194         * posix/globtest.sh (LANG): Remove variable.
45195         * string/Makefile (tester-ENV): Likewise.
45196         (inl-tester-ENV): Likewise.
45197         (noinl-tester-ENV): Likewise.
45198         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45199         [$(cross-compiling) = no]: Don't set LANGUAGE.
45200         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
45201         without explicit environment settings.
45203 2014-06-06  Roland McGrath  <roland@hack.frob.com>
45205         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
45206         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
45207         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
45208         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
45210 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
45212         * crypt/crypt-private.h [DOS]: Add some includes taken from the
45213         other files in the crypt directory.
45214         * crypt/crypt.c: Remove duplicate includes.
45215         * crypt/crypt-entry.c: Likewise.
45216         * crypt/crypt_util.c: Likewise.
45218 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
45220         * Makeconfig (run-program-env): New variable.
45221         (run-program-prefix-before-env): Likewise.
45222         (run-program-prefix-after-env): Likewise.
45223         (run-program-prefix): Define in terms of new variables.
45224         (built-program-cmd-before-env): New variable.
45225         (built-program-cmd-after-env): Likewise.
45226         (built-program-cmd): Define in terms of new variables.
45227         (test-program-prefix-before-env): New variable.
45228         (test-program-prefix-after-env): Likewise.
45229         (test-program-prefix): Define in terms of new variables.
45230         (test-program-cmd-before-env): New variable.
45231         (test-program-cmd-after-env): Likewise.
45232         (test-program-cmd): Define in terms of new variables.
45233         * Rules (make-test-out): Use $(run-program-env).
45234         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
45235         (help): Do not mention environment variables.  Mention
45236         --timeoutfactor option.
45237         (timeoutfactor): New variable.
45238         (blacklist_exports): Remove function.
45239         (exports): Remove variable.
45240         (command): Do not include ${exports}.
45241         * manual/install.texi (Configuring and compiling): Do not mention
45242         test wrappers preserving environment variables.  Mention that last
45243         assignment to a variable must take precedence.
45244         * INSTALL: Regenerated.
45245         * benchtests/Makefile (run-bench): Use $(run-program-env).
45246         * catgets/Makefile ($(objpfx)test1.cat): Use
45247         $(built-program-cmd-before-env), $(run-program-env) and
45248         $(built-program-cmd-after-env).
45249         ($(objpfx)test2.cat): Do not specify environment variables
45250         explicitly.
45251         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
45252         $(run-program-env) and $(built-program-cmd-after-env).
45253         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
45254         $(run-program-env) and $(test-program-cmd-after-env).
45255         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
45256         explicitly.
45257         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
45258         run_program_env and test_program_cmd_after_env arguments.
45259         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
45260         * elf/tst-pathopt.sh: Use run_program_env argument.
45261         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
45262         $(test-wrapper-env) and $(run-program-env).
45263         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
45264         run_program_env arguments.
45265         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
45266         * intl/Makefile ($(objpfx)tst-gettext.out): Use
45267         $(test-program-prefix-before-env), $(run-program-env) and
45268         $(test-program-prefix-after-env).
45269         ($(objpfx)tst-gettext2.out): Likewise.
45270         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
45271         run_program_env and test_program_prefix_after_env arguments.
45272         * intl/tst-gettext2.sh: Likewise.
45273         * intl/tst-gettext4.sh: Do not set environment variables
45274         explicitly.
45275         * intl/tst-gettext6.sh: Likewise.
45276         * intl/tst-translit.sh: Likewise.
45277         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
45278         $(test-program-prefix-before-env), $(run-program-env) and
45279         $(test-program-prefix-after-env).
45280         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
45281         run_program_env and test_program_prefix_after_env arguments.
45282         * math/Makefile (run-regen-ulps): Use $(run-program-env).
45283         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
45284         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
45285         explicitly with each use of ${test_wrapper_env}.
45286         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
45287         $(test-program-prefix-before-env), $(run-program-env) and
45288         $(test-program-prefix-after-env).
45289         * posix/tst-getconf.sh: Do not set environment variables
45290         explicitly.
45291         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
45292         run_program_env and test_program_prefix_after_env arguments.
45293         * stdio-common/tst-printf.sh: Do not set environment variables
45294         explicitly.
45295         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45296         $(test-program-prefix-before-env), $(run-program-env) and
45297         $(test-program-prefix-after-env).
45298         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45299         run_program_env and test_program_prefix_after_env arguments.
45300         Split $test calls into $test_pre and $test.
45301         * timezone/Makefile (build-testdata): Use
45302         $(built-program-cmd-before-env), $(run-program-env) and
45303         $(built-program-cmd-after-env).
45305 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45307         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45308         strlen for non SHARED builds.
45310 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45312         * nptl/allocatestack.c (check_list): Inlined function...
45313         (__reclaim_stacks): ... here.
45315 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45317         [BZ #15698]
45318         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45319         memory overrun.
45321 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45323         * Rules (make-test-out): Include
45324         LOCPATH=$(common-objpfx)localedata in default environment.
45325         * debug/Makefile (tst-chk1-ENV): Remove variable.
45326         (tst-chk2-ENV): Likewise.
45327         (tst-chk3-ENV): Likewise.
45328         (tst-chk4-ENV): Likewise.
45329         (tst-chk5-ENV): Likewise.
45330         (tst-chk6-ENV): Likewise.
45331         (tst-lfschk1-ENV): Likewise.
45332         (tst-lfschk2-ENV): Likewise.
45333         (tst-lfschk3-ENV): Likewise.
45334         (tst-lfschk4-ENV): Likewise.
45335         (tst-lfschk5-ENV): Likewise.
45336         (tst-lfschk6-ENV): Likewise.
45337         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45338         (tst-iconv7-ENV): Likewise.
45339         * intl/Makefile (LOCPATH-ENV): Likewise.
45340         (tst-codeset-ENV): Likewise.
45341         (tst-gettext3-ENV): Likewise.
45342         (tst-gettext5-ENV): Likewise.
45343         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45344         (tst-fopenloc-ENV): Likewise.
45345         (tst-fgetws-ENV): Remove variable.
45346         (tst-ungetwc1-ENV): Likewise.
45347         (tst-ungetwc2-ENV): Likewise.
45348         (bug-ungetwc2-ENV): Likewise.
45349         (tst-swscanf-ENV): Likewise.
45350         (bug-ftell-ENV): Likewise.
45351         (tst-fgetwc-ENV): Likewise.
45352         (tst-fseek-ENV): Likewise.
45353         (tst-ftell-partial-wide-ENV): Likewise.
45354         (tst-ftell-active-handler-ENV): Likewise.
45355         (tst-ftell-append-ENV): Likewise.
45356         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45357         (tst-regexloc-ENV): Likewise.
45358         (bug-regex1-ENV): Likewise.
45359         (tst-regex-ENV): Likewise.
45360         (tst-regex2-ENV): Likewise.
45361         (bug-regex5-ENV): Likewise.
45362         (bug-regex6-ENV): Likewise.
45363         (bug-regex17-ENV): Likewise.
45364         (bug-regex18-ENV): Likewise.
45365         (bug-regex19-ENV): Likewise.
45366         (bug-regex20-ENV): Likewise.
45367         (bug-regex22-ENV): Likewise.
45368         (bug-regex23-ENV): Likewise.
45369         (bug-regex25-ENV): Likewise.
45370         (bug-regex26-ENV): Likewise.
45371         (bug-regex30-ENV): Likewise.
45372         (bug-regex32-ENV): Likewise.
45373         (bug-regex33-ENV): Likewise.
45374         (bug-regex34-ENV): Likewise.
45375         (bug-regex35-ENV): Likewise.
45376         (tst-rxspencer-ENV): Likewise.
45377         (tst-rxspencer-no-utf8-ENV): Likewise.
45378         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45379         (tst-sscanf-ENV): Likewise.
45380         (tst-swprintf-ENV): Likewise.
45381         (tst-swscanf-ENV): Likewise.
45382         (test-vfprintf-ENV): Likewise.
45383         (scanf13-ENV): Likewise.
45384         (bug14-ENV): Likewise.
45385         (tst-grouping-ENV): Likewise.
45386         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45387         (tst-strtod3-ENV): Likewise.
45388         (tst-strtod4-ENV): Likewise.
45389         (tst-strtod5-ENV): Likewise.
45390         (testmb2-ENV): Likewise./
45391         * string/Makefile (tst-strxfrm-ENV): Likewise.
45392         (tst-strxfrm2-ENV): Likewise.
45393         (bug-strcoll1-ENV): Likewise.
45394         (test-strcasecmp-ENV): Likewise.
45395         (test-strncasecmp-ENV): Likewise.
45396         * time/Makefile (tst-strptime-ENV): Likewise.
45397         (tst-ftime_l-ENV): Likewise.
45398         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45399         (tst-mbrtowc-ENV): Likewise.
45400         (tst-wcrtomb-ENV): Likewise.
45401         (tst-mbrtowc2-ENV): Likewise.
45402         (tst-c16c32-1-ENV): Likewise.
45403         (tst-mbsnrtowcs-ENV): Likewise.
45405 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45407         * manual/resource.texi (How to get information about the memory
45408         subsystem?): Fix typo.
45409         Reported by Peon de la Parra Ivan <peon@keba.com>
45411 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45413         [BZ #16882]
45414         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45415         (pthread_spin_lock): Branch out of spin loop to proper location.
45416         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45417         (pthread_spin_lock): Likewise.
45419         * nptl/tst-spin4.c: New test.
45420         * nptl/Makefile (tests): Add tst-spin4.
45422 2014-06-03  Andreas Schwab  <schwab@suse.de>
45424         [BZ #15946]
45425         * resolv/res_send.c (send_dg): Reload file descriptor after
45426         calling reopen.
45428 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45430         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45432 2014-06-03  Richard Henderson  <rth@redhat.com>
45434         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45435         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45436         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45437         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45438         in the SAVE_PID block.
45439         (__libc_vfork): New alias.
45440         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45442         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45443         child in registers, not on the stack.  Remove RESET_PID conditionals.
45444         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45446 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45448         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45450 2014-06-03  Wilco  <wdijkstr@arm.com>
45452         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45453         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45454         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45455         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45456         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45457         Likewise.
45459 2014-06-03  Wilco  <wdijkstr@arm.com>
45461         * sysdeps/aarch64/fpu/math_private.h
45462         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45463         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45464         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45465         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45466         Fix declarations.
45468 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45470         * crypt/crypt-private.h: Include ufc-crypt.h.
45471         (__b64_from_24bit): Declare extern.
45472         * crypt/crypt_util.c(__b64_from_24bit): New function.
45473         (b64t): New static const variable.
45474         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45475         (b64t): Remove variable.
45476         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45477         * crypt/sha256-crypt.c: Include crypt-private.h.
45478         (b64t): Remove variable.
45479         (__sha256_crypt_r): Remove b64_from_24bit and replace
45480         with __b64_from_24bit.
45481         * crypt/sha512-crypt.c: Likewise.
45483 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45485         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45486         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45487         Label the code __libc_vfork rather than __vfork.
45488         [!NOT_IN_libc] (vfork): Define as weak alias.
45489         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45490         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45491         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45493 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45495         * malloc/malloc.c (malloc_info): Fix format specifier for
45496         n_mmaps.
45498 2014-06-02  Wilco  <wdijkstr@arm.com>
45500         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45501         FPCR write.
45503 2014-06-02  Wilco  <wdijkstr@arm.com>
45505         [BZ #17009]
45506         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45507         Rewrite to reduce FPCR/FPSR accesses.
45509 2014-06-01  David S. Miller  <davem@davemloft.net>
45511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45513 2014-05-31  David S. Miller  <davem@davemloft.net>
45515         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45516         to occur in round to nearest mode when |x| >= 2.0
45518 2014-05-30  Richard Henderson  <rth@twiddle.net>
45520         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45521         (PSEUDO_RET_NOERRNO): Remove.
45522         (ret): Don't redefine.
45523         (ret_NOERRNO): Define in terms of ret.
45524         (ret_ERRVAL): Likewise.
45526         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45527         use of PSEUDO_RET; perform the error check directly.
45529 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45531         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45532         with __int128_t.
45534 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45536         * malloc/malloc (malloc_info): Fix formatting.
45538 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45539             Roland McGrath  <roland@hack.frob.com>
45541         * malloc/malloc (malloc_info): Also print mmapped statistics.
45543 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45545         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45546         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45548 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45550         * malloc/malloc.c (malloc_info): Inline mi_arena.
45552 2014-05-29  Richard Henderson  <rth@twiddle.net>
45554         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45555         Remove comma before expanding ASM_ARGS_##nr.
45556         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45557         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45558         of ASM_ARGS_##nr.
45559         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45560         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45561         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45562         (ASM_ARGS_1): Add leading comma.
45564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45565         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45566         to __errno_location.
45567         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45568         Remove the expected plt for __errno_location.
45570         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45571         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45572         call to __read_tp.
45574         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45575         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45576         it and break it down.
45577         (DOCARGS_0, DOCARGS_1): Do nothing.
45578         (DOCARGS_2): Update to store into the new stack frame.
45579         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45580         (UNDOCARGS_1): Update to restore from the new stack frame.
45581         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45582         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45584         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45585         (SINGLE_THREAD_P): New parameter for result regno.
45586         (PSEUDO): Update to match; use cbz instead of beq.
45588         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45589         Use ENTRY to define the _nocancel entry point.  Share the syscall
45590         and syscall error check paths with the cancel path.
45591         (PSEUDO_END): New.
45593         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45594         whitespace; tabs before and after asm mnemonics.
45596 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45598         [BZ #15132]
45599         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45600         Call fstat64 or stat64 internally, depending on arguments passed.
45601         Replace stat buffer argument with file descriptor argument.
45602         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45603         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45604         Pass fd to __internal_statvfs instead of calling fstat64.
45605         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45606         Pass fd to __internal_statvfs64 instead of calling fstat64.
45607         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45608         Pass -1 to __internal_statvfs instead of calling stat64.
45609         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45610         Pass -1 to __internal_statvfs64 instead of calling stat64.
45612 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45614         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45615         that was previously under [RESET_PID].
45616         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45618         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45619         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45621 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45623         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45625         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45626         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45628 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45630         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45632 2014-05-27  Andreas Schwab  <schwab@suse.de>
45634         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45635         TLS_INIT_TP macro.
45636         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45637         * elf/rtld.c (init_tls, dl_main): Likewise.
45638         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45639         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45640         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45641         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45642         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45643         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45644         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45645         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45646         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45647         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45648         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45649         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45650         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45651         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45652         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45653         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45654         * sysdeps/generic/tls.h: Update description.
45656 2014-05-27  Will Newton  <will.newton@linaro.org>
45658         [BZ #16990]
45659         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45660         and restore r2 rather than just restoring.
45662 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45664         [BZ #16724]
45665         * libio/tst-ftell-append.c: New test case.
45666         * libio/Makefile (tests): Add test case.
45667         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45668         append mode.
45669         * libio/wfileops.c (do_ftell_wide): Likewise.
45671 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45675         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45676         ...
45677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45679         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45680         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45681         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45682         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45683         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45684         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45685         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45686         Moved ...
45687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45688         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45689         Moved ...
45690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45691         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45692         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45693         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45694         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45695         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45696         ...
45697         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45698         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45699         Moved ...
45700         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45701         here.
45702         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45703         ...
45704         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45705         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45706         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45708         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45709         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45710         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45711         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45714         merge into ...
45715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45716         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45717         ...
45718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45720         ...
45721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45723         Moved ...
45724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45725         here.
45726         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45727         Moved ...
45728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45730         Moved ...
45731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45734         conditional [RESET_PID].
45735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45737         removed.
45738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45739         removed.
45741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45742         <tcb-offsets.h>.
45743         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45744         (__libc_vfork): New strong alias.
45745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45746         removed.
45747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45748         Removed.
45750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45751         <tcb-offsets.h>.
45752         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45753         (__libc_vfork): New strong alias.
45754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45755         removed.
45756         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45757         removed.
45759 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45761         * malloc/malloc.c (mi_arena): New function.
45762         (malloc_info): Remove nested function mi_arena. Call non-nosted
45763         function mi_arena.
45765 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45767         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45768         by insrwi.
45769         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45770         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45771         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45772         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45773         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45774         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45775         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45777 2014-05-26  Andreas Schwab  <schwab@suse.de>
45779         [BZ #16984]
45780         * locale/programs/repertoire.c (repertoire_read): Add slash
45781         between I18NPATH element and file name.
45782         * locale/programs/locfile.c (locfile_read): Likewise.
45784 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45786         * nptl/pthread_mutexattr_settype.c
45787         (__pthread_mutexattr_settype):
45788         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45790 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45792         * nptl/tst-mutex5 (do_test):
45793         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45795 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45797         * benchtests/README: Document 'init' directive.
45798         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45799         BENCH_INIT.
45800         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45801         (parse_file): Recognize 'init' directive.
45803 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45805         [BZ #16796]
45806         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45807         alignment of struct pthread.
45809 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45811         [BZ #16878]
45812         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45813         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45814         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45815         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45817 2014-05-25  Richard Henderson  <rth@twiddle.net>
45819         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45820         (SINGLE_THREAD_P_PIC): Remove.
45821         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45822         (SINGLE_THREAD_P_PIC): Remove.
45824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45825         branch to syscall error ...
45826         (PSEUDO): ... here.
45827         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45828         from __local_syscall_error to .Lsyscall_error.
45829         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45830         (SYSCALL_ERROR): Update label name.
45832         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45833         Do not use DOARGS/UNDOARGS.
45834         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45835         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45836         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45837         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45838         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45840         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45841         block comment.
45843         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45844         define if !NOT_IN_libc.
45845         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45846         define with non-default symbol versions.
45848 2014-05-23  Richard Henderson  <rth@twiddle.net>
45850         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45851         (vfork, __vfork): Define via compat_symbol.
45853         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45854         [!HAVE_IFUNC] (vfork_compat): Remove.
45855         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45857 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45859         [BZ #16978]
45860         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45861         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45862         variable.
45864 2014-05-23  Richard Henderson  <rth@twiddle.net>
45866         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45867         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45868         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45869         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45871         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45872         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45873         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45874         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45875         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45876         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45877         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45878         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45879         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45880         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45881         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45882         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45883         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45884         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45885         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45886         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45887         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45888         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45889         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45890         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45891         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45892         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45893         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45894         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45895         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45896         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45897         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45898         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45899         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45900         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45901         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45902         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45903         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45904         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45905         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45906         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45907         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45908         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45909         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45910         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45911         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45912         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45913         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45914         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45915         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45916         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45917         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45918         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45919         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45920         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45921         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45922         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45923         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45924         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45925         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45926         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45928         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45929         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45930         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45931         before exiting on error.
45932         (__libc_vfork): New strong alias.
45933         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45934         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45936         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45937         that was previously under [RESET_PID].
45938         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45940         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45942 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45944         [BZ #16977]
45945         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45946         value when x - 1 is zero.
45947         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45948         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45949         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45950         0.0L for an argument of 1.0L.
45951         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45952         Likewise.
45953         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45954         value when x - 1 is zero.
45955         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45956         * sysdeps/i386/fpu/libm-test-ulps: Update.
45957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45959 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45961         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45962         alphasort and versionsort.
45964 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45966         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45967         macro.
45968         [copysignf]: Likewise.
45970 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45972         * crypt/md5-crypt.c: Fix formatting.
45974 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45976         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45977         (b64_from_24bit): New function.
45979 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45981         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45982         libc_hidden_builtin_def to ifunc.
45983         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45984         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45986 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45988         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45989         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45991 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45993         * nscd/Depend (linuxthreads): Remove.
45994         (nptl): Add.
45995         * resolv/Depend (linuxthreads): Remove.
45996         * rt/Depend (linuxthreads): Remove.
45998         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45999         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
46000         $(common-objpfx)elf/.
46001         (link-libc-before-gnulib): Likewise.
46002         (elfobjdir): Remove variable.
46003         * Makefile (install): Use $(elf-objpfx) instead of
46004         $(common-objpfx)elf/.
46005         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
46006         $(elfobjdir)/.
46007         (link-libc-deps): Likewise.
46008         ($(common-objpfx)libc.so): Likewise.
46009         ($(common-objpfx)linkobj/libc.so): Likewise.
46010         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
46011         instead of $(common-objpfx)elf/.
46012         (symbolic-link-list): Likewise.
46013         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46014         [$(cross-compiling) = no]: Likewise.
46015         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
46016         $(elfobjdir)/.
46017         (static-gnulib-arch): Likewise.
46018         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46019         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
46020         $(common-objpfx)elf/.
46022 2014-05-21  Richard Henderson  <rth@redhat.com>
46024         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46025         (SINGLE_THREAD_P): Use the correct width load.  Fold
46026         into the ldr offset.
46028         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
46029         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
46031 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
46033         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
46034         (libgcc_s_resume): Use __attribute_used__.
46035         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
46036         Likewise.
46038 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46040         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
46041         optimization when used with float constants.
46043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46045 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
46047         [BZ #16915]
46048         * locale/nl_langinfo_l.c: Make direct reference to every
46049         _nl_current_CATEGORY symbol.
46050         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
46051         (tests-static): Add tst-langinfo-static.
46052         (tests-special): Add tst-langinfo-static.out.
46053         ($(objpfx)tst-langinfo.out): Redirect output.
46054         ($(objpfx)tst-langinfo-static.out): New.
46055         * localedata/tst-langinfo.sh: Send output to stdout.
46056         * localedata/tst-langinfo-static.c: New file.
46058         [BZ #16965]
46059         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
46060         when the shift amount is modulo the limb size.
46062 2014-05-20  Richard Henderson  <rth@redhat.com>
46064         [BZ #16967]
46065         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
46066         Change type of sa_flags from unsigned int to int.
46068         [BZ #16966]
46069         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
46071         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
46073 2014-05-20  Will Newton  <will.newton@linaro.org>
46075         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46076         Test the return value of the system call in the nocancel case.
46078 2014-05-20  Will Newton  <will.newton@linaro.org>
46079             Yvan Roux  <yvan.roux@linaro.org>
46081         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
46082         #include of asm/ptrace.h.
46083         (PTRACE_GET_THREAD_AREA): Remove #undef.
46084         (PTRACE_GETHBPREGS): Likewise.
46085         (PTRACE_SETHBPREGS): Likewise.
46086         (struct user_regs_struct): New structure.
46087         (struct user_fpsimd_struct): New structure.
46088         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
46089         #include of asm/ptrace.h and second #include of sys/user.h.
46090         (PTRACE_GET_THREAD_AREA): Remove #undef.
46091         (PTRACE_GETHBPREGS): Likewise.
46092         (PTRACE_SETHBPREGS): Likewise.
46093         (ELF_NGREG): Use new struct user_regs_struct.
46094         (elf_fpregset_t): Use new struct user_fpsimd_struct.
46096 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46098         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
46099         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
46101 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
46103         [BZ #16958]
46104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
46105         membar to avoid block loads/stores to overlap previous stores.
46107 2014-05-17  Richard Henderson  <rth@redhat.com>
46109         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
46110         Create the __##syscall_name##_nocancel entry point.
46111         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
46112         Remove; let the sysdep-cancel.h code create it.
46114 2014-05-17  David S. Miller  <davem@davemloft.net>
46116         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
46117         Protect with __USE_GNU.
46118         (TIOCSET_TEMPT): Likewise.
46119         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46120         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
46121         these are already provided in bits/ioctl-types.h
46123 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46125         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
46126         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
46128         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
46129         Use wait4 regardless of [__NR_waitpid].
46131 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46133         PR libgcc/60166
46134         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46135         (_FP_NANSIGN_Q): Set the quiet bit.
46137 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
46139         * benchtests/Makefile
46140         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
46141         not $(common-objpfx)math/libm.so.
46142         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
46143         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
46144         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
46145         $(common-objpfx)dlfcn/libdl.so.
46146         ($(objpfx)tst-audit8): Depend on $(libm), not
46147         $(common-objpfx)math/libm.so.
46148         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
46149         not $(common-objpfx)dlfcn/libdl.so.
46150         * math/Makefile
46151         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46152         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
46153         [$(build-shared) = yes].
46154         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
46155         $(common-objpfx)nptl/libpthread.so.
46156         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
46157         $(common-objpfx)math/libm.so$(libm.so-version) or
46158         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
46159         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
46160         $(common-objpfx)dlfcn/libdl.so.
46161         * setjmp/Makefile (link-libm): Remove variable.
46162         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
46163         * stdio-common/Makefile (link-libm): Remove variable.
46164         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
46165         * stdlib/Makefile (link-libm): Remove variable.
46166         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
46167         ($(objpfx)tst-strtod-round): Likewise.
46168         ($(objpfx)tst-tininess): Likewise.
46169         ($(objpfx)tst-strtod-underflow): Likewise.
46170         ($(objpfx)tst-strtod6): Likewise.
46171         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
46172         $(libdl), not $(common-objpfx)nptl/libpthread.so and
46173         $(common-objpfx)dlfcn/libdl.so.
46175 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46177         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
46178         BSD terminal modes definitions.
46180 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46182         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
46183         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
46185         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
46186         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
46187         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
46188         Don't do #include_next.
46189         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
46190         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
46191         Don't do #include_next.
46192         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
46193         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
46194         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
46195         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
46197 2014-05-16  Allan McRae  <allan@archlinux.org>
46199         * po/sv.po: Update Swedish translation from translation project.
46201         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
46202         in sed expression.
46204 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
46206         [BZ #16917]
46207         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
46208         errno if the TIOCGPTN ioctl fails with an error different than
46209         EINVAL.
46210         * login/tst-ptsname.c: New file.
46211         * login/Makefile (tests): Add tst-ptsname.
46213         [BZ #16943]
46214         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
46215         and prlimit64.
46217 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46219         [BZ #16849]
46220         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
46221         herrno to return EAI_AGAIN.
46223 2014-05-14  Roland McGrath  <roland@hack.frob.com>
46225         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
46226         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
46227         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
46228         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
46229         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
46230         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
46231         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
46232         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
46233         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
46234         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
46235         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
46236         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
46237         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
46238         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
46239         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
46240         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
46241         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
46242         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
46243         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
46244         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
46245         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
46246         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
46247         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
46248         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
46249         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
46250         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
46251         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
46252         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
46253         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
46254         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
46255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
46256         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
46257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
46258         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
46259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46260         Moved ...
46261         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
46262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
46263         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
46264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
46265         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
46266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
46267         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
46268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
46269         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
46270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
46271         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
46272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
46273         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
46274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
46275         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
46276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
46277         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
46278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
46279         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
46280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
46281         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
46282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
46283         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
46284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
46285         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
46286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
46287         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
46288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46289         Moved ...
46290         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
46291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
46292         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
46293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
46294         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46296         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46298         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46300         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46302         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46304         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46306         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46308         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46310         Moved ...
46311         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46313         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46315         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46316         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46317         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46318         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46319         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46320         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46321         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46322         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46323         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46324         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46325         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46326         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46327         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46328         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46329         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46330         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46331         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46332         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46333         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46334         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46335         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46336         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46337         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46338         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46339         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46340         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46341         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46342         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46343         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46344         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46345         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46347         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46348         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46350         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46351         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46352         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46353         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46354         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46355         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46356         Moved ...
46357         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46358         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46359         Moved ...
46360         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46361         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46362         Moved ...
46363         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46364         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46365         Moved ...
46366         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46367         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46368         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46369         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46370         Moved ...
46371         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46372         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46373         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46374         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46375         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46376         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46377         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46378         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46379         Moved ...
46380         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46381         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46382         Moved ...
46383         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46384         ... here.
46385         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46386         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46387         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46388         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46389         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46390         Moved ...
46391         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46392         ... here.
46393         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46394         Moved ...
46395         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46396         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46397         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46398         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46399         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46400         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46401         Moved ...
46402         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46403         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46404         Moved ...
46405         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46406         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46407         Moved ...
46408         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46409         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46410         Moved ...
46411         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46412         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46413         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46414         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46415         Moved ...
46416         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46417         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46418         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46419         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46420         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46421         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46422         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46423         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46424         Moved ...
46425         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46426         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46427         Moved ...
46428         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46429         ... here.
46430         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46431         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46432         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46433         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46434         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46435         Moved ...
46436         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46437         ... here.
46438         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46439         Moved ...
46440         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46441         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46442         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46443         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46444         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46445         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46446         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46447         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46448         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46450         Moved ...
46451         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46452         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46453         Moved ...
46454         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46455         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46456         Moved ...
46457         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46458         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46459         Moved ...
46460         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46461         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46462         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46463         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46464         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46465         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46466         Moved ...
46467         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46468         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46469         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46470         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46471         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46472         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46473         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46474         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46475         Moved ...
46476         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46477         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46478         Moved ...
46479         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46480         ... here.
46481         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46482         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46483         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46484         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46485         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46486         Moved ...
46487         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46488         ... here.
46489         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46490         Moved ...
46491         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46492         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46493         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46494         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46495         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46496         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46497         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46498         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46499         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46500         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46501         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46503         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46504         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46506         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46507         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46509         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46510         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46511         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46512         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46513         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46514         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46515         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46516         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46517         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46518         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46519         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46520         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46521         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46522         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46523         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46524         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46525         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46526         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46527         Moved ...
46528         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46529         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46530         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46531         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46532         Moved ...
46533         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46535         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46536         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46537         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46538         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46539         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46540         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46541         Moved ...
46542         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46543         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46544         Moved ...
46545         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46546         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46547         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46548         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46549         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46550         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46551         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46552         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46553         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46554         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46555         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46556         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46557         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46558         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46559         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46560         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46561         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46563         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46564         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46565         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46566         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46567         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46569         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46570         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46571         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46572         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46573         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46574         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46575         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46576         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46577         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46578         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46580         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46583         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46584         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46585         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46586         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46587         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46588         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46589         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46590         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46591         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46592         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46593         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46594         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46595         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46596         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46598         Update #include.
46599         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46600         Likewise.
46601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46602         Likewise.
46603         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46604         Likewise.
46605         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46606         Likewise.
46607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46608         Likewise.
46609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46610         Likewise.
46611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46612         Likewise.
46613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46614         Likewise.
46615         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46616         Likewise.
46617         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46618         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46620         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46622         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46623         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46624         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46625         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46626         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46627         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46628         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46629         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46630         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46631         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46633         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46634         that was previously under [RESET_PID].
46635         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46636         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46637         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46639         * sysdeps/i386/nptl/Implies: New file.
46640         * sysdeps/x86_64/nptl/Implies: New file.
46641         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46642         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46643         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46644         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46646         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46647         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46648         (__libc_vfork): New strong alias.
46649         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46650         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46652         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46653         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46654         (__libc_vfork): New strong alias.
46655         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46656         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46658         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46659         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46660         (__libc_vfork): New strong alias.
46661         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46662         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46663         * nptl/pt-vfork.c: New file.
46664         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46665         (libpthread: GLIBC_2.20): New version set (empty).
46667 2014-05-14  Will Newton  <will.newton@linaro.org>
46669         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46670         rather than #if.
46672 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46674         [BZ #16564]
46675         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46676         arguments with exponent 65 or above.
46677         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46678         arguments 0x1p113L or above.
46679         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46680         to arguments 0x1p107L or above.
46681         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46682         positive arguments with exponent 65 or above.
46683         * math/auto-libm-test-in: Add more tests of log1p.
46684         * math/auto-libm-test-out: Regenerated.
46686         [BZ #16928]
46687         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46688         non-finite arguments is +0.
46689         * math/s_cacosf.c (__cacosf): Likewise.
46690         * math/s_cacosl.c (__cacosl): Likewise.
46691         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46692         * sysdeps/i386/fpu/libm-test-ulps: Update.
46693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46695         [BZ #16927]
46696         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46697         value.
46698         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46699         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46700         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46701         for explicit high bit of mantissa when testing for argument equal
46702         to 1.
46703         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46704         * sysdeps/i386/fpu/libm-test-ulps: Update.
46705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46707         [BZ #16516]
46708         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46709         (__erf): Scale by 16 instead of 8 in potentially underflowing
46710         case.  Ensure exception if result actually underflows.
46711         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46712         (__erff): Scale by 16 instead of 8 in potentially underflowing
46713         case.  Ensure exception if result actually underflows.
46714         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46715         (efx8): Remove variable.
46716         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46717         case.  Ensure exception if result actually underflows.
46718         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46719         (efx8): Remove variable.
46720         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46721         case.  Ensure exception if result actually underflows.
46722         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46723         (efx8): Remove variable.
46724         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46725         case.  Ensure exception if result actually underflows.
46726         * math/auto-libm-test-in: Add more tests of erf.
46727         * math/auto-libm-test-out: Regenerated.
46729 2014-05-14  Andreas Schwab  <schwab@suse.de>
46731         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46732         Remove code conditionalized on USE___THREAD.
46734         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46735         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46736         not definedness.
46738 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46740         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46741         Define unconditionally.
46742         (__ASSUME_O_CLOEXEC): Likewise.
46743         (__ASSUME_SOCK_CLOEXEC): Likewise.
46744         (__ASSUME_IN_NONBLOCK): Likewise.
46745         (__ASSUME_PIPE2): Likewise.
46746         (__ASSUME_EVENTFD2): Likewise.
46747         (__ASSUME_SIGNALFD4): Likewise.
46748         (__ASSUME_DUP3): Likewise.
46749         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46750         (__ASSUME_DUP3): Do not define.
46751         (__ASSUME_EVENTFD2): Likewise.
46752         (__ASSUME_IN_NONBLOCK): Likewise.
46753         (__ASSUME_O_CLOEXEC): Likewise.
46754         (__ASSUME_PIPE2): Likewise.
46755         (__ASSUME_SIGNALFD4): Likewise.
46756         (__ASSUME_SOCK_CLOEXEC): Likewise.
46757         (__ASSUME_UTIMES): Undefine.
46758         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46759         (__ASSUME_UTIMES): Do not define.
46760         (__ASSUME_O_CLOEXEC): Likewise.
46761         (__ASSUME_SOCK_CLOEXEC): Likewise.
46762         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46763         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46764         0x020621].
46765         (__ASSUME_PIPE2): Likewise.
46766         (__ASSUME_EVENTFD2): Likewise.
46767         (__ASSUME_SIGNALFD4): Likewise.
46768         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46769         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46770         Do not define.
46771         (__ASSUME_EVENTFD2): Likewise.
46772         (__ASSUME_SIGNALFD4): Likewise.
46773         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46774         (__ASSUME_32BITUIDS): Likewise.
46775         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46776         (__ASSUME_IPC64): Likewise.
46777         (__ASSUME_ST_INO_64_BIT): Likewise.
46778         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46779         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46780         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46781         (__ASSUME_UTIMES): Do not define.
46782         (__ASSUME_PSELECT): Likewise.
46783         (__ASSUME_PPOLL): Likewise.
46784         (__ASSUME_O_CLOEXEC): Likewise.
46785         (__ASSUME_SOCK_CLOEXEC): Likewise.
46786         (__ASSUME_IN_NONBLOCK): Likewise.
46787         (__ASSUME_PIPE2): Likewise.
46788         (__ASSUME_EVENTFD2): Likewise.
46789         (__ASSUME_SIGNALFD4): Likewise.
46790         (__ASSUME_DUP3): Likewise.
46791         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46792         (__ASSUME_UTIMES): Likewise.
46793         (__ASSUME_O_CLOEXEC): Likewise.
46794         (__ASSUME_SOCK_CLOEXEC): Likewise.
46795         (__ASSUME_IN_NONBLOCK): Likewise.
46796         (__ASSUME_PIPE2): Likewise.
46797         (__ASSUME_EVENTFD2): Likewise.
46798         (__ASSUME_SIGNALFD4): Likewise.
46799         (__ASSUME_DUP3): Likewise.
46800         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46801         (__ASSUME_UTIMES): Likewise.
46802         (__ASSUME_O_CLOEXEC): Likewise.
46803         (__ASSUME_SOCK_CLOEXEC): Likewise.
46804         (__ASSUME_IN_NONBLOCK): Likewise.
46805         (__ASSUME_PIPE2): Likewise.
46806         (__ASSUME_EVENTFD2): Likewise.
46807         (__ASSUME_SIGNALFD4): Likewise.
46808         (__ASSUME_DUP3): Likewise.
46809         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46810         Likewise.
46811         (__ASSUME_UTIMES): Likewise.
46812         (__ASSUME_EVENTFD2): Likewise.
46813         (__ASSUME_SIGNALFD4): Likewise.
46814         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46815         (__ASSUME_O_CLOEXEC): Likewise.
46816         (__ASSUME_SOCK_CLOEXEC): Likewise.
46817         (__ASSUME_IN_NONBLOCK): Likewise.
46818         (__ASSUME_PIPE2): Likewise.
46819         (__ASSUME_EVENTFD2): Likewise.
46820         (__ASSUME_SIGNALFD4): Likewise.
46821         (__ASSUME_DUP3): Likewise.
46822         (__ASSUME_UTIMES): Undefine.
46824         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46825         feclearexcept.  Remove symbol versioning code.
46826         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46827         symbol versioning code.
46828         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46829         symbol versioning code.
46830         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46831         feupdateenv.  Remove symbol versioning code.
46832         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46833         fegetexceptflag.  Remove symbol versioning code.
46834         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46835         fesetexceptflag.  Remove symbol versioning code.
46836         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46837         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46838         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46839         (__posix_fadvise64_l32): Remove prototype.
46840         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46841         code.
46843 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46845         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46846         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46847         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46848         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46850 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46852         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46853         current working directory
46855 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46857         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46858         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46859         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46860         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46861         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46862         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46863         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46864         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46865         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46866         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46867         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46868         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46869         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46870         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46871         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46872         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46873         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46874         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46875         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46876         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46877         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46878         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46879         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46880         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46881         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46882         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46883         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46884         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46885         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46886         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46887         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46888         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46889         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46890         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46891         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46892         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46893         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46894         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46895         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46896         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46897         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46898         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46900         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46901         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46903         * sysdeps/unix/sysv/linux/arm/Makefile
46904         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46905         Add rt-aeabi_unwind_cpp_pr1.
46906         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46907         Add nptl-aeabi_unwind_cpp_pr1.
46908         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46909         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46910         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46911         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46912         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46913         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46915         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46916         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46917         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46918         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46920         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46921         Deconditionalize the code that was previously under [RESET_PID].
46922         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46924         * sysdeps/generic/exit-thread.h: New file.
46925         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46926         * include/unistd.h (__exit_thread): Remove declaration.
46927         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46928         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46929         * csu/libc-start.c: Include <exit-thread.h>.
46930         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46931         * nptl/pthread_create.c: Include <exit-thread.h>.
46932         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46933         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46934         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46935         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46936         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46937         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46938         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46939         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46940         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46941         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46942         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46943         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46944         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46945         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46946         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46947         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46948         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46950 2014-05-13  Andreas Schwab  <schwab@suse.de>
46952         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46954 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46956         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46957         (__ASSUME_UTIMES): Do not condition on kernel version.
46958         (__ASSUME_PSELECT): Define unconditionally.
46959         (__ASSUME_PPOLL): Likewise.
46960         (__ASSUME_ATFCTS): Likewise.
46961         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46962         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46963         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46964         (__ASSUME_UTIMENSAT): Define unconditionally.
46965         (__ASSUME_PRIVATE_FUTEX): Likewise.
46966         (__ASSUME_FALLOCATE): Likewise.
46967         (__ASSUME_O_CLOEXEC): Likewise.
46968         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46969         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46970         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46971         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46972         (__ASSUME_IN_NONBLOCK): Likewise.
46973         (__ASSUME_PIPE2): Likewise.
46974         (__ASSUME_EVENTFD2): Likewise.
46975         (__ASSUME_SIGNALFD4): Likewise.
46976         (__ASSUME_DUP3): Likewise.
46977         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46978         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46979         (__ASSUME_AT_RANDOM): Likewise.
46980         (__ASSUME_PREADV): Likewise.
46981         (__ASSUME_PWRITEV): Likewise.
46982         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46983         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46984         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46985         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46986         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46987         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46988         (__ASSUME_O_CLOEXEC): Define unconditionally.
46989         (__ASSUME_PSELECT): Do not undefine conditionally.
46990         (__ASSUME_PPOLL): Likewise.
46991         (__ASSUME_ATFCTS): Likewise.
46992         (__ASSUME_SET_ROBUST_LIST): Likewise.
46993         (__ASSUME_UTIMENSAT): Likewise.
46994         (__ASSUME_FDATASYNC): Define unconditionally.
46995         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46996         (__ASSUME_SIGFRAME_V2): Likewise.
46997         )__ASSUME_EVENTFD2): Likewise.
46998         (__ASSUME_SIGNALFD4): Likewise.
46999         (__ASSUME_PSELECT): Do not undefine conditionally.
47000         (__ASSUME_PPOLL): Likewise.
47001         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47002         (__ASSUME_PSELECT): Define unconditionally.
47003         (__ASSUME_PPOLL): Likewise.
47004         (__ASSUME_O_CLOEXEC): Likewise.
47005         (__ASSUME_SOCK_CLOEXEC): Likewise.
47006         (__ASSUME_IN_NONBLOCK): Likewise.
47007         (__ASSUME_PIPE2): Likewise.
47008         (__ASSUME_EVENTFD2): Likewise.
47009         (__ASSUME_SIGNALFD4): Likewise.
47010         (__ASSUME_DUP3): Likewise.
47011         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47012         (__ASSUME_O_CLOEXEC): Likewise.
47013         (__ASSUME_SOCK_CLOEXEC): Likewise.
47014         (__ASSUME_IN_NONBLOCK): Likewise.
47015         (__ASSUME_PIPE2): Likewise.
47016         (__ASSUME_EVENTFD2): Likewise.
47017         (__ASSUME_SIGNALFD4): Likewise.
47018         (__ASSUME_DUP3): Likewise.
47019         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47020         (__ASSUME_EVENTFD2): Likewise.
47021         (__ASSUME_SIGNALFD4): Likewise.
47022         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47024 2014-05-12  Andreas Schwab  <schwab@suse.de>
47026         [BZ #16932]
47027         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
47028         (_nss_nis_gethostbyname4_r): Return error if item length is larger
47029         than maximum RPC packet size.
47030         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
47031         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
47032         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
47033         (_nss_nis_getservbyport_r): Likewise.
47035 2014-05-12  Will Newton  <will.newton@linaro.org>
47037         * malloc/Makefile (tests): Add tst-mallopt.
47038         * malloc/tst-mallopt.c: New file.
47040 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47042         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
47043         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
47045 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47047         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
47048         (tst-tlsmod6.so): Likewise.
47050 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47052         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
47054 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
47056         [BZ #16064]
47057         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
47058         and <dl-procinfo.h>.
47059         (__fegetenv): Save SSE state in envp->__eip if supported.
47060         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
47061         envp->__eip if supported.
47062         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
47063         and <dl-procinfo.h>.
47064         (__fesetenv): Always set __eip, __cs_selector, __opcode,
47065         __data_offset and __data_selector in environment to 0.  Set SSE
47066         state if supported.
47067         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
47068         test-fenv-sse.
47069         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
47070         -mfpmath=sse.
47071         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
47073 2014-05-09  Will Newton  <will.newton@linaro.org>
47075         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
47076         and libc_relro_required for ARM.
47077         * sysdeps/arm/preconfigure: Regenerate.
47079 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
47080             Stefan Liebler  <stli@linux.vnet.ibm.com>
47082         * config.make.in (enable-lock-elision): New Makefile variable.
47083         * configure.ac: Likewise.
47084         * configure: Regenerate.
47085         * sysdeps/s390/configure.ac:
47086         Add check for gcc transactions support.
47087         * sysdeps/s390/configure: Regenerate.
47088         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
47089         Build elision files if enabled.
47090         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
47091         Add lock elision support for s390.
47092         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
47093         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
47094         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
47095         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
47096         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
47097         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
47098         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47099         Likewise.
47100         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
47101         Likewise.
47102         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
47103         Likewise.
47104         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
47105         Likewise.
47106         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
47107         (__lll_timedlock_elision, __lll_lock_elision)
47108         (__lll_unlock_elision, __lll_trylock_elision)
47109         (lll_timedlock_elision, lll_lock_elision)
47110         (lll_unlock_elision, lll_trylock_elision): Add.
47111         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47112         (pthread_mutex_t): Add lock elision support for s390.
47114 2014-05-14  Wilco  <wdijkstr@arm.com>
47116         * sysdeps/arm/fclrexcpt.c: Cleanup.
47117         * sysdeps/arm/fedisblxcpt.c: Cleanup.
47118         * sysdeps/arm/feenablxcpt.c: Cleanup.
47119         * sysdeps/arm/fegetenv.c: Cleanup.
47120         * sysdeps/arm/fegetexcept.c: Cleanup.
47121         * sysdeps/arm/fegetround.c: Cleanup.
47122         * sysdeps/arm/feholdexcpt.c: Cleanup.
47123         * sysdeps/arm/fesetenv.c: Cleanup.
47124         * sysdeps/arm/fesetround.c: Cleanup.
47125         * sysdeps/arm/feupdateenv.c: Cleanup.
47126         * sysdeps/arm/fgetexcptflg.c: Cleanup.
47127         * sysdeps/arm/fraiseexcpt.c: Cleanup.
47128         * sysdeps/arm/fsetexcptflg.c: Cleanup.
47129         * sysdeps/arm/ftestexcept.c: Cleanup.
47130         * sysdeps/arm/get-rounding-mode.h: Cleanup.
47131         * sysdeps/arm/setfpucw.c: Cleanup.
47133 2014-05-09  Will Newton  <will.newton@linaro.org>
47135         * sysdeps/arm/armv7/strcmp.S: New file.
47136         * NEWS: Mention addition of ARMv7 optimized strcmp.
47138 2014-05-08  Roland McGrath  <roland@hack.frob.com>
47140         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
47141         look for %.ac rather than %.in.
47143         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
47144         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
47145         * sysdeps/mach/hurd/configure: Regenerated.
47146         * sysdeps/unix/sysv/linux/configure: Regenerated.
47148         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
47150 2014-05-07  Steve Ellcey  <sellcey@mips.com>
47152         [BZ #16922]
47153         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
47154         (LONG_SUB): Ditto.
47155         (PTR_SUB): Ditto.
47157 2014-05-07  Andreas Schwab  <schwab@suse.de>
47159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
47160         when skipping over non-matching result from nscd.
47162 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
47164         [BZ #16876]
47165         * nptl/sockperf.c (client): Check socket return value.
47167         [BZ #16877]
47168         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
47169         nscd security class.
47171 2014-05-06  Roland McGrath  <roland@hack.frob.com>
47173         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
47174         * sysdeps/arm/unwind.h: ... here.
47176 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
47178         [BZ #16916]
47179         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
47180         Define.
47182 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47184         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
47185         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
47186         multiarch strncpy for PPC64.
47187         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
47188         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
47189         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
47190         multiarch optimizations.
47191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47192         (__libc_ifunc_impl_list): Likewise.
47193         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
47194         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
47195         multiarch stpncpy for PPC64.
47196         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
47197         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
47199 2014-05-06  Andreas Schwab  <schwab@suse.de>
47201         [BZ #16912]
47202         * gmon/mcount.c (_MCOUNT_DECL): Use
47203         atomic_compare_and_exchange_bool_acq instead of
47204         catomic_compare_and_exchange_bool_acq.
47206 2014-05-05  Roland McGrath  <roland@hack.frob.com>
47208         * elf/Makefile (others, install-bin): Remove pldd.
47209         (pldd-modules): Variable removed.
47210         ($(objpfx)pldd): Target removed.
47211         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
47212         (others, install-bin): Append pldd here.
47213         ($(objpfx)pldd): New target.
47215         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
47216         to 0, so the first #if test emitted later doesn't see it undefined.
47217         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
47218         * sysdeps/gnu/errlist.c: Regenerated.
47220 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47222         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47223         [libc_hidden_builtin_def]: Define to empty value.
47224         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
47225         [libc_hidden_builtin_def]: Likewise.
47226         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
47227         [libc_hidden_builtin_def]: Likewise.
47228         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
47229         [libc_hidden_builtin_def]: Likewise.
47230         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
47231         __redirect_memcpy and define ifunc as default hidden symbol.
47232         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
47233         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
47235 2014-05-04  Adam Conrad  <adconrad@0c3.net>
47237         * locale/iso-4217.def: Reintroduce XDR currency.
47239 2014-05-04  Allan McRae  <allan@archlinux.org>
47241         * po/eo.po: Update Esperanto translation from translation project.
47243 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
47245         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
47246         and FEATURE_INDEX_MAX to 1.
47247         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
47249 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47251         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
47252         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
47253         * iconvdata/big5.c (ONE_DIRECTION): Define.
47254         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
47255         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
47256         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
47257         * iconvdata/cp932.c (ONE_DIRECTION): Define.
47258         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
47259         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
47260         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
47261         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
47262         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
47263         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
47264         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
47265         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
47266         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
47267         * iconvdata/gbk.c (ONE_DIRECTION): Define.
47268         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
47269         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
47270         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
47271         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
47272         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
47273         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
47274         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
47275         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
47276         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
47277         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
47278         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
47279         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
47280         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
47281         * iconvdata/iso646.c (ONE_DIRECTION): Define.
47282         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
47283         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
47284         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
47285         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
47286         * iconvdata/johab.c (ONE_DIRECTION): Define.
47287         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
47288         * iconvdata/sjis.c (ONE_DIRECTION): Define.
47289         * iconvdata/t.61.c (ONE_DIRECTION): Define.
47290         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
47291         * iconvdata/tscii.c (ONE_DIRECTION): Define.
47292         * iconvdata/uhc.c (ONE_DIRECTION): Define.
47293         * iconvdata/unicode.c (ONE_DIRECTION): Define.
47294         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47295         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47296         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47298 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47300         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47301         (_IO_JUMPS_OFFSET): Define to 0.
47303         * nptl/sysdeps/pthread/bits/libc-lock.h
47304         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47305         (__libc_lock_define_initialized_recursive): Always define using
47306         initializer.  Modern compilers treat uninitialized (implicit zero) and
47307         explicit zero initializers the same (i.e. put the datum in bss).
47309 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47311         * nscd/nscd-client.h: Include <string.h>.
47313 2014-05-01  David S. Miller  <davem@davemloft.net>
47315         [BZ #16885]
47316         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47317         multiple zero bytes exist at the end of a string.
47318         Reported by Aurelien Jarno <aurelien@aurel32.net>
47320         * string/test-strcmp.c (check): Add explicit test for situations where
47321         there are multiple zero bytes after the first.
47323 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47325         [BZ #16890]
47326         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47327         when compiling wprintf.
47328         * stdio-common/tstdiomisc.c (t3): New function.
47329         (main): Call it.
47331 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47333         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47334         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47335         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47336         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47338 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47340         * stdlib/longlong.h: Updated from GCC.
47342 2014-05-01  Will Newton  <will.newton@linaro.org>
47343             Bernard Ogden  <bernie.ogden@linaro.org>
47345         * NEWS: Update fixed bug list.
47347         [BZ #15119]
47348         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47350 2014-04-30  David S. Miller  <davem@davemloft.net>
47352         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47353         (libc_feholdexcept_setround_sparc_ctx): New function.
47354         (libc_fesetenv_sparc_ctx): Likewise.
47355         (libc_feupdateenv_sparc_ctx): Likewise.
47356         (libc_feholdsetround_sparc_ctx): Likewise.
47357         (libc_feholdexcept_setround_ctx): Define.
47358         (libc_feholdexcept_setroundf_ctx): Likewise.
47359         (libc_feholdexcept_setroundl_ctx): Likewise.
47360         (libc_fesetenv_ctx): Likewise.
47361         (libc_fesetenvf_ctx): Likewise.
47362         (libc_fesetenvl_ctx): Likewise.
47363         (libc_feupdateenv_ctx): Likewise.
47364         (libc_feupdateenvf_ctx): Likewise.
47365         (libc_feupdateenvl_ctx): Likewise.
47366         (libc_feresetround_ctx): Likewise.
47367         (libc_feresetroundf_ctx): Likewise.
47368         (libc_feresetroundl_ctx): Likewise.
47369         (libc_feholdsetround_ctx): Likewise.
47370         (libc_feholdsetroundf_ctx): Likewise.
47371         (libc_feholdsetroundl_ctx): Likewise.
47373         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47374         with __USE_GNU instead of XOPEN cpp guards.
47376         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47377         0.
47379         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47380         with XOPEN cpp guards.
47382 2014-04-30  Julian Brown  <julian@codesourcery.com>
47384         [BZ #16888]
47385         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47386         handling.
47388 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47390         [BZ #9894]
47391         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47392         Change to 2.6.32.
47393         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47394         * sysdeps/unix/sysv/linux/configure: Regenerated.
47395         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47396         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47397         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47398         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47399         * README: Update reference to required Linux kernel version.
47400         * manual/install.texi (Linux): Update reference to required Linux
47401         kernel headers version.
47402         * INSTALL: Regenerated.
47404         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47405         header inclusion.
47406         [POSIX] (limits.h): Likewise.
47407         [POSIX] (math.h): Likewise.
47408         [POSIX] (sys/wait.h): Likewise.
47409         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47410         function.
47411         [POSIX] (stddef.h): Do not allow header inclusion.
47413 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47415         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47417 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47419         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47420         Return immediately after lll_futex_wake.
47422 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47424         [BZ #16791]
47425         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47426         structure.
47427         (datahead_init_pos): Call datahead_init_common early.
47428         (datahead_init_neg): Likewise.
47430         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47431         datahead_init_neg): New functions.
47432         * nscd/aicache.c (addhstaiX): Use them.
47433         * nscd/grpcache.c (cache_addgr): Likewise.
47434         * nscd/hstcache.c (cache_addhst): Likewise.
47435         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47436         * nscd/netgroupcache.c (do_notfound): Likewise.
47437         (addgetnetgrentX): Likewise.
47438         (addinnetgrX): Likewise.
47439         * nscd/pwdcache.c (cache_addpw): Likewise.
47440         * nscd/servicescache.c (cache_addserv): Likewise.
47442 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47443             Atsushi Onoe  <atsushi@onoe.org>
47445         [BZ #14308]
47446         [BZ #12994]
47447         [BZ #13651]
47448         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47449         one response is valid.
47450         * resolv/res_send.c (send_dg): Check for validity of other
47451         response if the current response is a referral.
47453 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47455         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47457 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47459         [BZ #16823]
47460         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47461         Always divide by positive zero when computing -Inf result.
47462         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47463         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47465 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47467         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47468         FPSCR if value do not change.
47469         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47470         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47471         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47472         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47473         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47474         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47475         function.
47477 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47479         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47480         * sysdeps/unix/sysv/linux/hppa: Move directory from
47481         ports/systeps/unix/sysv/linux/hppa.
47482         * README: Update listing for hppa-*-linux-gnu.
47484 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47486         [BZ #16754]
47487         * manual/stdio.texi (Hook functions): Fix types of stream hook
47488         functions.
47489         [BZ #16854]
47490         * socket/sys/socket.h: Fix typo in comment.
47492 2014-04-28  Wilco  <wdijkstr@arm.com>
47494         * sysdeps/arm/fenv_private.h: New file.
47495         * sysdeps/arm/math_private.h: New file.
47496         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47498 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47500         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47501         with __int128_t.
47502         (La_x86_64_retval): Likewise.
47504 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47506         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47507         fpsr if value didn't change.
47508         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47509         to fpcr if value didn't change.
47510         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47511         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47512         fpsr or fpcr if value didn't change.
47513         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47514         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47515         fpcr if value didn't change.
47516         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47517         to fpsr if value didn't change.
47519 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47521         * nptl/tst-sem3.c: Use test-skeleton.c
47522         (main): Rename to do_test.  Use return instead of
47523         exit.
47524         * nptl/tst-sem4.c: Use test-skeleton.c
47525         (main): Rename to do_test.
47527 2014-04-22  David S. Miller  <davem@davemloft.net>
47529         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47530         (struct sigaction): New struct member __glibc_reserved0, change
47531         type of sa_flags to int.
47533 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47535         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47536         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47538 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47540         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47541         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47543 2014-04-22  Will Newton  <will.newton@linaro.org>
47544             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47546         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47547         (__longjmp): Add longjmp and longjmp_target SystemTap
47548         probes.
47549         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47550         (__sigsetjmp): Add setjmp SystemTap probe.
47552 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47554         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47555         match manual order.
47557 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47559         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47561         * sysdeps/powerpc/fpu/fenv_private.h
47562         (libc_feholdexcept_setroundl_ctx): Define to
47563         libc_feholdexcept_setround_ppc_ctx.
47564         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47565         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47566         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47567         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47569 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47571         * sysdeps/aarch64/math-tests.h: New file.
47573 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47575         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47576         New.
47577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47578         Check and set bit_AVX2_Usable.
47579         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47580         macro.
47581         (bit_AVX2): Likewise.
47582         (index_AVX2_Usable): Likewise.
47583         (CPUID_AVX2): Likewise.
47584         (HAS_AVX2): Likewise.
47586 2014-04-17  Will Newton  <will.newton@linaro.org>
47588         * manual/setjmp.texi (System V contexts): Add note that
47589         calling setcontext on a context created by a call to a
47590         signal handler is undefined.  Update text to note that
47591         setcontext from a signal handler is possible but not
47592         recommended.
47594         [BZ #16629]
47595         * stdlib/tst-setcontext.c: Include signal.h.
47596         (main): Check that the signal stack before and
47597         after swapcontext is the same.
47599         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47600         Re-implement to restore registers in user code and avoid
47601         rt_sigreturn system call.
47603 2014-04-17  Wilco  <wdijkstr@arm.com>
47605         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47606         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47607         * math/test-fenv.c: Skip exception trap tests on targets which only
47608         support non-stop mode.
47610 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47611             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47613         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47614         (libc_feholdsetround_aarch64_ctx)
47615         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47616         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47617         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47618         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47619         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47620         (libc_feresetround_noexl_ctx): Define.
47622 2014-04-16  Richard Henderson  <rth@redhat.com>
47624         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47626         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47627         unwind tables.
47629         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47630         const from the non-libc, non-ldso copy.
47632         * sysdeps/alpha/libm-test-ulps: Regenerate.
47634 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47635             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47637         * sysdeps/aarch64/fpu/math_private.h: New file.
47639 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47641         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47643 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47645         [BZ #16275]
47646         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47647         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47648         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47649         Intel MPX bound registers before _dl_profile_fixup.
47650         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47651         registers after _dl_profile_fixup.  Save and restore bound
47652         registers bnd0/bnd1 when calling _dl_call_pltexit.
47653         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47654         (LR_BND_OFFSET): Likewise.
47655         (LRV_BND0_OFFSET): Likewise.
47656         (LRV_BND1_OFFSET): Likewise.
47658 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47660         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47661         to...
47662         * sysdeps/mach/hurd/i386/tls.h: ... here.
47663         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47664         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47665         fields.
47667 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47669         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47671 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47673         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47675 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47677         [BZ #14770]
47678         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47679         * sysdeps/s390/configure: Regenerate.
47681         [BZ #16824]
47682         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47683         Set round-to-nearest internally to reduce error accumulation.
47685 2014-04-16  Alan Modra  <amodra@gmail.com>
47687         [BZ #16740]
47688         [BZ #16619]
47689         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47690         * math/libm-test.inc (frexp_test_data): Add tests.
47691         * NEWS: Update fixed bug list.
47693 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47695         * benchtests/Makefile: Depend on libraries in build directory.
47696         (bench-math): Separate out math tests.
47697         (bench-pthread): Separate out pthread tests.
47698         (bench): Include math and pthread tests.
47700 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47702         [BZ #16831]
47703         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47704         _dl_debug_initialize.
47706         * configure.ac: Remove SELinux header check.
47707         * configure: Regenerate.
47708         * nscd/selinux.c (perms): Array of const char* to permission names.
47709         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47710         default policy. Call string_to_security_class and string_to_av_perm to
47711         translate strings. Enforce default policy and call avs_has_perm with
47712         results of translated strings.
47714 2014-04-13  David S. Miller  <davem@davemloft.net>
47716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47718 2014-04-12  Allan McRae  <allan@archlinux.org>
47720         [BZ #16838]
47721         * manual/string.texi (Collation Functions): Fix qsort argument
47722         order in example.
47723         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47725 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47727         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47728         Make the test a no-op if there are no exceptions defined.
47730 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47732         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47733         enable-hardcoded-path-in-tests
47735 2014-04-11  Will Newton  <will.newton@linaro.org>
47737         * benchtests/Makefile (extra-objs): Add json-lib.o.
47738         (bench-func): Tidy up JSON output.
47739         * benchtests/bench-skeleton.c: Include json-lib.h.
47740         (main): Use JSON library functions to do output of
47741         benchmark results.
47742         * benchtests/bench-timing-type.c (main): Output the
47743         timing type simply, leaving formatting to the user.
47744         * benchtests/json-lib.c: New file.
47745         * benchtests/json-lib.h: Likewise.
47747 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47749         [BZ #15215]
47750         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47751         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47752         memory barriers.  Add comments.
47753         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47754         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47755         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47756         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47757         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47758         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47760 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47762         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47763         * sysdeps/s390/s390-64/configure.ac: ... this ...
47764         * sysdeps/s390/configure.ac: ... to here.
47765         * sysdeps/s390/s390-32/configure: Delete file.
47766         * sysdeps/s390/s390-64/configure: Delete file.
47767         * sysdeps/s390/configure: Regenerate.
47769 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47771         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47773 2014-04-11  Will Newton  <will.newton@linaro.org>
47775         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47776         to zero if it is not defined elsewhere.  (mtrim): Test
47777         the value of MALLOC_DEBUG with #if rather than #ifdef.
47779 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47781         * benchtests/pthread_once-inputs: New file.
47782         * benchtests/pthread_once-source.c: New file.
47783         * benchtests/README: Update documentation.
47785 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47786             H.J. Lu  <hongjiu.lu@intel.com>
47788         [BZ #16275]
47789         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47790         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47791         * sysdeps/x86_64/configure: Regenerated.
47792         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47793         macro.
47794         (REGISTER_SAVE_RAX): Likewise.
47795         (REGISTER_SAVE_RCX): Likewise.
47796         (REGISTER_SAVE_RDX): Likewise.
47797         (REGISTER_SAVE_RSI): Likewise.
47798         (REGISTER_SAVE_RDI): Likewise.
47799         (REGISTER_SAVE_R8): Likewise.
47800         (REGISTER_SAVE_R9): Likewise.
47801         (REGISTER_SAVE_BND0): Likewise.
47802         (REGISTER_SAVE_BND1): Likewise.
47803         (REGISTER_SAVE_BND2): Likewise.
47804         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47805         bound registers when calling _dl_fixup.
47807 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47809         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47810         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47811         of its definition.
47812         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47813         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47814         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47815         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47816         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47817         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47818         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47820 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47822         [BZ #15514]
47823         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47824         pathconf(_PC_NAME_MAX).
47826 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47828         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47829         Remove macro usage.
47830         (__PTHREAD_SPINS): Move definition to ...
47831         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47832         (__PTHREAD_SPINS): ... here.
47833         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47834         (__PTHREAD_SPIN): Likewise.
47835         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47836         (__PTHREAD_SPIN): Likewise.
47837         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47838         (__PTHREAD_SPIN): Likewise.
47839         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47840         (__PTHREAD_SPIN): Likewise.
47841         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47842         (__PTHREAD_SPIN): Likewise.
47843         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47844         (__PTHREAD_SPIN): Likewise.
47845         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47846         (__PTHREAD_SPIN): Likewise.
47847         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47848         (__PTHREAD_SPIN): Likewise.
47849         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47850         (__PTHREAD_SPIN): Likewise.
47851         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47852         (__PTHREAD_SPIN): Likewise.
47853         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47854         (__PTHREAD_SPIN): Likewise.
47855         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47856         (__PTHREAD_SPIN): Likewise.
47858         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47859         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47860         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47861         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47862         imply folder.
47863         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47864         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47865         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47866         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47867         correct imply path.
47868         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47869         strlen symbol for non multi-arch builds.
47870         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47871         missing hidden_def and weak_alias.
47873 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47875         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47877 2014-04-07  Will Newton  <will.newton@linaro.org>
47879         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47880         and contents.  [!_LIBC] Remove #ifndef and contents.
47881         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47882         * string/memccpy.c (__memccpy): Use ANSI prototype.
47883         * string/memfrob.c (memfrob): Likewise.
47884         * string/strcoll.c (STRCOLL): Likewise.
47885         * string/strlen.c (strlen): Likewise.
47886         * string/strtok.c (STRTOK): Likewise.
47887         * string/strcat.c: Remove unused #include of memcopy.h.
47888         (strcat): Use ANSI prototype.
47889         * string/strchr.c: Remove unused #include of memcopy.h.
47890         (strchr): Use ANSI prototype.
47891         * string/strcmp.c: Remove unused #include of memcopy.h.
47892         (strcmp): Use ANSI prototype.
47893         * string/strcpy.c: Remove unused #include of memcopy.h.
47894         (strcpy): Use ANSI prototype.
47896 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47898         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47899         * config.make.in (config-extra-cppflags): Set it from
47900         libc_extra_cppflags.
47901         * configure.ac (libc_extra_cflags): Make it accumulate over
47902         configure fragments.
47903         (libc_extra_cppflags): New flag.
47904         * configure. Regenerate.
47905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47906         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47907         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47910         [BZ #16815]
47911         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47912         result for FE_DOWNWARD rounding mode.
47913         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47914         Likewise.
47915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47917 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47919         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47920         in function argument name.
47922 2014-04-03  David Svoboda  <svoboda@cert.org>
47924         [BZ #5666]
47925         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47926         explicitly.
47928 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47930         * elf/dl-unmap-segments.h: New file.
47931         * sysdeps/generic/ldsodefs.h
47932         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47933         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47934         * elf/dl-fptr.c: Likewise.
47935         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47936         * sysdeps/aarch64/tlsdesc.c: Likewise.
47937         * sysdeps/arm/tlsdesc.c: Likewise.
47938         * sysdeps/i386/tlsdesc.c: Likewise.
47939         * sysdeps/tile/dl-runtime.c: Likewise.
47940         * sysdeps/x86_64/tlsdesc.c: Likewise.
47941         * elf/dl-load.h: New file.
47942         * elf/dl-load.c: Include it.
47943         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47944         Macros moved to dl-load.h.
47945         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47946         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47947         Use _dl_unmap_segments in place of __munmap.
47948         Break out segment-mapping loop into ...
47949         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47951 2014-04-03  Will Newton  <will.newton@linaro.org>
47953         * elf/dl-lookup.c (do_lookup_x): Remove comment
47954         referring to nested function and move variable
47955         declarations down to before first use.
47957 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47959         [BZ #16799]
47960         [BZ #16800]
47961         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47962         with 0 numerator.
47963         * math/s_catanf.c (__catanf): Likewise.
47964         * math/s_catanh.c (__catanh): Likewise.
47965         * math/s_catanhf.c (__catanhf): Likewise.
47966         * math/s_catanhl.c (__catanhl): Likewise.
47967         * math/s_catanl.c (__catanl): Likewise.
47968         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47969         by positive zero when computing -Inf result.
47970         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47971         (catanh_test): Likewise.
47972         * sysdeps/i386/fpu/libm-test-ulps: Update.
47973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47975         [BZ #16789]
47976         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47977         instead of using underflowing value in computing result.
47978         * math/s_clog10.c (__clog10): Likewise.
47979         * math/s_clog10f.c (__clog10f): Likewise.
47980         * math/s_clog10l.c (__clog10l): Likewise.
47981         * math/s_clogf.c (__clogf): Likewise.
47982         * math/s_clogl.c (__clogl): Likewise.
47983         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47984         (clog10_test): Likewise.
47985         * sysdeps/i386/fpu/libm-test-ulps: Update.
47986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47988 2014-04-02  Alan Modra  <amodra@gmail.com>
47990         [BZ #16739]
47991         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47992         output when value is near a power of two.  Use int64_t for lx and
47993         remove casts.  Use decimal rather than hex exponent constants.
47994         Don't use long double multiplication when double will suffice.
47995         * math/libm-test.inc (nextafter_test_data): Add tests.
47996         * NEWS: Add 16739 and 16786 to bug list.
47998         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
48000         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
48002 2014-04-01  Will Newton  <will.newton@linaro.org>
48004         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
48005         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
48007 2014-04-01  Florian Weimer  <fweimer@redhat.com>
48009         [BZ #13347]
48010         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
48011         * nptl/tst-setuid2.c: New file.
48012         * nptl/Makefile (xtests): Add tst-setuid2.
48014 2014-04-01  Alan Modra  <amodra@gmail.com>
48016         [BZ #16786]
48017         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
48019 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48021         [BZ #6803]
48022         [BZ #6804]
48023         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
48024         set errno as appropriate.
48025         * math/w_scalbf.c (__scalbf): Likewise.
48026         * math/w_scalbl.c (__scalbl): Likewise.
48027         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
48028         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
48029         * math/libm-test.inc (scalb_test_data): Add errno expectations.
48030         Add more NaN tests.
48032         [BZ #16349]
48033         * math/w_atan2.c: Include <errno.h>.
48034         (__atan2): Set errno for result underflowing to zero.
48035         * math/w_atan2f.c: Include <errno.h>.
48036         (__atan2f): Set errno for result underflowing to zero.
48037         * math/w_atan2l.c: Include <errno.h>.
48038         (__atan2l): Set errno for result underflowing to zero.
48039         * math/auto-libm-test-in: Don't allow missing errno for some atan2
48040         tests.
48041         * math/auto-libm-test-out: Regenerated.
48043 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48045         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
48046         Encode instruction correctly in little endian.
48047         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
48048         Likewise.
48049         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
48050         Likewise.
48051         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
48052         Likewise.
48053         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
48054         Likewise.
48056 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48058         [BZ #9894]
48059         * sysdeps/unix/sysv/linux/kernel-features.h
48060         [__sparc__ && !__arch64__ && !__sparc_v9__]
48061         (__ASSUME_SET_ROBUST_LIST): Do not define.
48062         [__sparc__ && !__arch64__ && !__sparc_v9__]
48063         (__ASSUME_FUTEX_LOCK_PI): Likewise.
48064         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
48065         Likewise.
48066         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48067         (__ASSUME_FUTEX_LOCK_PI): Undefine.
48068         (__ASSUME_REQUEUE_PI): Likewise.
48069         (__ASSUME_SET_ROBUST_LIST): Likewise.
48070         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48071         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
48072         Undefine.
48073         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48074         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
48075         Likewise.
48076         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
48077         Likewise.
48078         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
48079         Likewise.
48080         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48081         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
48082         Undefine.
48083         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
48084         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
48085         Likewise.
48087         [BZ #16648]
48088         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48089         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
48090         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
48092 2014-03-31  Will Newton  <will.newton@linaro.org>
48094         * benchtests/Makefile (bench): Add ffs and ffsll to list
48095         of tests.
48096         * benchtests/ffs-inputs: New file.
48097         * benchtests/ffsll-inputs: Likewise.
48099 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
48101         [BZ #16770]
48102         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
48103         too large before casting to int.
48104         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
48105         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
48106         * math/libm-test.inc (scalb_test_data): Add more tests.
48108 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48110         * benchtests/Makefile (DETAILED_OPT): New make option.
48111         (bench-func): Run benchmark program with -d if DETAILED_OPT is
48112         set.
48113         * benchtests/bench-skeleton.c: Include stdbool.h.
48114         (main): Store and print timings per input.
48115         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
48116         member to each argument value.
48117         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
48118         (_print_arg_data): Initialize per-input timing to 0.
48120         * benchtests/Makefile (timing-type): New binary.
48121         (bench-clean): Also remove bench-timing-type.
48122         (bench): New target for timing-type.
48123         (bench-func): Print output in JSON format.
48124         * benchtests/bench-skeleton.c (main): Print output in JSON
48125         format.
48126         * benchtests/bench-timing-type.c: New file.
48127         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
48128         (TIMING_PRINT_STATS): Remove.
48129         * benchtests/scripts/bench.py (_print_arg_data): Store variant
48130         name separately.
48132         * benchtests/bench-modf.c: Remove.
48133         * benchtests/modf-inputs: New inputs file.
48135 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
48137         [BZ #16362]
48138         * math/s_clog10.c (M_PI_LOG10E): New macro.
48139         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
48140         imaginary parts are 0.
48141         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
48142         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
48143         imaginary parts are 0.
48144         * math/s_clog10l.c (M_PI_LOG10El): New macro.
48145         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
48146         imaginary parts are 0.
48147         * math/libm-test.inc (clog10_test_data): Update expected results
48148         for when real and imaginary parts are 0.
48150 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
48152         * elf/dl-load.c: Finish conversion of __builtin_expect into
48153         __glibc_{un}likely.
48155 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
48157         [BZ #16348]
48158         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
48159         1+x for argument with exponent below -67.
48160         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
48161         Likewise.
48162         * math/auto-libm-test-in: Add more tests of exp.
48163         * math/auto-libm-test-out: Regenerated.
48165 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48167         [BZ #16759]
48168         * inet/getnetgrent_r.c (get_nonempty_val): New function.
48169         (nscd_getnetgrent): Use it.
48171         [BZ #16760]
48172         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
48173         of stpcpy.
48175 2014-03-27  Andi Kleen  <ak@linux.intel.com>
48177         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
48178         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48179         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48180         (lll_robust_unlock): Remove out of line section. Use cfi
48181         intrinsics.
48182         (LLL_STUB_UNWIND_INFO*): Remove.
48183         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
48184         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48185         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48186         (lll_robust_unlock): Remove out of line section. Use cfi
48187         intrinsics.
48188         (LLL_STUB_UNWIND_INFO*): Remove.
48190 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48192         [BZ #16758]
48193         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
48194         blank values.
48196 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
48198         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
48200 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
48202         [BZ #16198]
48203         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
48204         fnstenv.
48205         * math/test-fenv-preserve.c: New file.
48206         * math/Makefile (tests): Add test-fenv-preserve.
48208 2014-03-26  Will Newton <will.newton@linaro.org>
48210         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
48212 2014-03-25  Roland McGrath  <roland@hack.frob.com>
48214         * scripts/versionlist.awk: Partition the version sets and emit all
48215         GLIBC_* (sorted) before all others (sorted).
48217 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48219         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
48220         GLIBC_2.2.5 version.
48222 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48224         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
48225         calls.
48227         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
48228         previous change.
48230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48232 2014-03-25  Andreas Schwab  <schwab@suse.de>
48234         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
48235         label to be used after in6ailist is initialized.
48237 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48239         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48240         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48242 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48244         [BZ #16357]
48245         [BZ #16599]
48246         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
48247         min_plus_half.
48248         (fp_formats): Update initializers.
48249         (init_fp_formats): Initialize new field.
48250         (output_for_one_input_case): Allow underflow for results up to
48251         min_plus_half.
48252         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
48253         * math/auto-libm-test-in: Don't mark some underflows from asin and
48254         atanh as spurious.
48255         * math/auto-libm-test-out: Regenerated.
48256         * sysdeps/i386/fpu/libm-test-ulps: Update.
48257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48259 2014-03-25  Andreas Schwab  <schwab@suse.de>
48261         * libio/Makefile (tst-ftell-partial-wide-ENV)
48262         (tst-ftell-active-handler-ENV): Define.
48264 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
48266         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
48268 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48270         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
48272 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48274         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
48275         * sysdeps/x86_64/fpu/multiarch/e_exp.c
48276         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
48278 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48280         [BZ #16634]
48281         * elf/dl-load.c (open_verify): Add mode parameter.
48282         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
48283         (open_path): Change from boolean 'secure' to complete flag 'mode'
48284         (_dl_map_object): Adjust.
48285         * elf/Makefile (tests): Add tst-dlopen-aout.
48286         * elf/tst-dlopen-aout.c: New test.
48288 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
48290         [BZ #16714]
48291         * sysdeps/unix/sysv/linux/s390/bits/stat.h
48292         (struct stat): Rename member pad0 to __glibc_reserved0.
48294         [BZ #16712]
48295         * sysdeps/s390/s390-32/bits/wordsize.h
48296         (__WORDSIZE32_SIZE_ULONG): New define.
48297         * sysdeps/s390/s390-64/bits/wordsize.h
48298         (__WORDSIZE32_SIZE_ULONG): Likewise.
48299         * sysdeps/generic/stdint.h (SIZE_MAX):
48300         Define as UL if __WORDSIZE32_SIZE_ULONG.
48302         [BZ #16713]
48303         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48304         (__glibc_reserved0): New variable.
48305         (sa_flags): Change type to int.
48307         * posix/Makefile (before-compile): Use += before-compile instead
48308         of a :=.
48310         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48311         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48313 2014-03-20  Andreas Schwab  <schwab@suse.de>
48315         [BZ #16743]
48316         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48317         non-matching result from nscd.
48319 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48321         * scripts/bench.py: Moved to ...
48322         * benchtests/scripts/bench.py: ... here.
48323         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48325 2014-03-24  Andreas Schwab  <schwab@suse.de>
48327         [BZ #16002]
48328         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48329         alloca_account and account alloca use for struct in6ailist.
48331 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48333         [BZ #16284]
48334         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48335         rounding mode to recompute results that overflow to infinity or
48336         underflow to zero.
48337         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48338         bug 16284.
48339         * math/auto-libm-test-out: Regenerated.
48340         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48341         (ccosh_test): Likewise.
48342         (csin_test_data): Use plus_oflow.
48343         (csin_test): Use ALL_RM_TEST.
48344         (csinh_test_data): Use plus_oflow.
48345         (csinh_test): Use ALL_RM_TEST.
48346         * sysdeps/i386/fpu/libm-test-ulps: Update.
48347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48349 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48351         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48352         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48353         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48355         [BZ #16731]
48356         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48357         when x - 1 is zero.
48358         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48359         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48360         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48361         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48362         argument is 1.
48363         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48364         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48365         zero.
48366         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48367         * sysdeps/i386/fpu/libm-test-ulps: Update.
48368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48370 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48372         * scripts/bench.pl: Remove file.
48373         * scripts/bench.py: New benchmark script.
48374         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48375         * benchtests/README: Mention python dependency.
48376         * scripts/pylintrc: New file.
48377         * scripts/pylint: New file.
48379         * bits/mathdef.h: Use #ifdef instead of #if.
48380         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48381         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48382         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48383         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48384         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48385         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48387 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48388             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48390         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48392         and strpbrk-ppc64 objects.
48393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48394         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48395         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48396         multiarch strpbrk for POWER7.
48397         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48398         multiarch strpbrk for PPC64.
48399         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48400         ifunc selector.
48401         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48402         strpbrk for POWER7.
48404 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48406         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48407         (atan_test): Likewise.
48408         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48409         (atanh_test): Use ALL_RM_TEST.
48410         (atan2_test_data): Likewise.
48411         (cabs_test): Likewise.
48412         (cacosh_test): Likewise.
48413         (carg_test): Likewise.
48414         (casin_test): Likewise.
48415         (casinh_test): Likewise.
48416         (cbrt_test): Likewise.
48417         (csqrt_test): Likewise.
48418         (erf_test): Likewise.
48419         (erfc_test): Likewise.
48420         (pow10_test): Likewise.
48421         (exp2_test): Likewise.
48422         (hypot_test): Likewise.
48423         (j0_test): Likewise.
48424         (j1_test): Likewise.
48425         (lgamma_test): Likewise.
48426         (gamma_test): Likewise.
48427         (sincos_test): Likewise.
48428         (tanh_test): Likewise.
48429         (y0_test): Likewise.
48430         (y1_test): Likewise.
48431         * sysdeps/i386/fpu/libm-test-ulps: Update.
48432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48434 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48436         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48438         and strcspn-ppc64 objects.
48439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48440         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48441         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48442         multiarch strcspn for POWER7.
48443         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48444         multiarch strcspn for PPC64.
48445         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48446         ifunc selector.
48447         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48448         strcspn for POWER7.
48450 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48452         * math/gen-libm-test.pl (generate_testfile): Expect only function
48453         name as argument to AUTO_TESTS_* and pass results for all rounding
48454         modes to parse_args.
48455         (parse_auto_input): Separate inputs of automatic tests from
48456         outputs before storing in %auto_tests.
48457         * math/libm-test.inc (acos_test_data): Update call to
48458         AUTO_TESTS_f_f.
48459         (acos_test): Use ALL_RM_TEST.
48460         (acos_tonearest_test_data): Remove.
48461         (acos_test_tonearest): Likewise.
48462         (acos_towardzero_test_data): Likewise.
48463         (acos_test_towardzero): Likewise.
48464         (acos_downward_test_data): Likewise.
48465         (acos_test_downward): Likewise.
48466         (acos_upward_test_data): Likewise.
48467         (acos_test_upward): Likewise.
48468         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48469         (asin_test_data): Likewise.
48470         (asin_test): Use ALL_RM_TEST.
48471         (asin_tonearest_test_data): Remove.
48472         (asin_test_tonearest): Likewise.
48473         (asin_towardzero_test_data): Likewise.
48474         (asin_test_towardzero): Likewise.
48475         (asin_downward_test_data): Likewise.
48476         (asin_test_downward): Likewise.
48477         (asin_upward_test_data): Likewise.
48478         (asin_test_upward): Likewise.
48479         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48480         (atan_test_data): Likewise.
48481         (atanh_test_data): Likewise.
48482         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48483         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48484         (carg_test_data): Likewise.
48485         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48486         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48487         (ccosh_test_data): Likewise.
48488         (cexp_test_data): Likewise.
48489         (clog_test_data): Likewise.
48490         (clog10_test_data): Likewise.
48491         (cos_test_data): Update call to AUTO_TESTS_f_f.
48492         (cos_test): Use ALL_RM_TEST.
48493         (cos_tonearest_test_data): Remove.
48494         (cos_test_tonearest): Likewise.
48495         (cos_towardzero_test_data): Likewise.
48496         (cos_test_towardzero): Likewise.
48497         (cos_downward_test_data): Likewise.
48498         (cos_test_downward): Likewise.
48499         (cos_upward_test_data): Likewise.
48500         (cos_test_upward): Likewise.
48501         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48502         (cosh_test): Use ALL_RM_TEST.
48503         (cosh_tonearest_test_data): Remove.
48504         (cosh_test_tonearest): Likewise.
48505         (cosh_towardzero_test_data): Likewise.
48506         (cosh_test_towardzero): Likewise.
48507         (cosh_downward_test_data): Likewise.
48508         (cosh_test_downward): Likewise.
48509         (cosh_upward_test_data): Likewise.
48510         (cosh_test_upward): Likewise.
48511         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48512         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48513         (ctan_test_data): Likewise.
48514         (ctan_test): Use ALL_RM_TEST.
48515         (ctan_tonearest_test_data): Remove.
48516         (ctan_test_tonearest): Likewise.
48517         (ctan_towardzero_test_data): Likewise.
48518         (ctan_test_towardzero): Likewise.
48519         (ctan_downward_test_data): Likewise.
48520         (ctan_test_downward): Likewise.
48521         (ctan_upward_test_data): Likewise.
48522         (ctan_test_upward): Likewise.
48523         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48524         (ctanh_test): Use ALL_RM_TEST.
48525         (ctanh_tonearest_test_data): Remove.
48526         (ctanh_test_tonearest): Likewise.
48527         (ctanh_towardzero_test_data): Likewise.
48528         (ctanh_test_towardzero): Likewise.
48529         (ctanh_downward_test_data): Likewise.
48530         (ctanh_test_downward): Likewise.
48531         (ctanh_upward_test_data): Likewise.
48532         (ctanh_test_upward): Likewise.
48533         (erf_test_data): Update call to AUTO_TESTS_f_f.
48534         (erfc_test_data): Likewise.
48535         (exp_test_data): Likewise.
48536         (exp_test): Use ALL_RM_TEST.
48537         (exp_tonearest_test_data): Remove.
48538         (exp_test_tonearest): Likewise.
48539         (exp_towardzero_test_data): Likewise.
48540         (exp_test_towardzero): Likewise.
48541         (exp_downward_test_data): Likewise.
48542         (exp_test_downward): Likewise.
48543         (exp_upward_test_data): Likewise.
48544         (exp_test_upward): Likewise.
48545         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48546         (exp10_test): Use ALL_RM_TEST.
48547         (exp10_tonearest_test_data): Remove.
48548         (exp10_test_tonearest): Likewise.
48549         (exp10_towardzero_test_data): Likewise.
48550         (exp10_test_towardzero): Likewise.
48551         (exp10_downward_test_data): Likewise.
48552         (exp10_test_downward): Likewise.
48553         (exp10_upward_test_data): Likewise.
48554         (exp10_test_upward): Likewise.
48555         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48556         (expm1_test_data): Likewise.
48557         (expm1_test): Use ALL_RM_TEST.
48558         (expm1_tonearest_test_data): Remove.
48559         (expm1_test_tonearest): Likewise.
48560         (expm1_towardzero_test_data): Likewise.
48561         (expm1_test_towardzero): Likewise.
48562         (expm1_downward_test_data): Likewise.
48563         (expm1_test_downward): Likewise.
48564         (expm1_upward_test_data): Likewise.
48565         (expm1_test_upward): Likewise.
48566         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48567         (fma_test): Use ALL_RM_TEST.
48568         (fma_towardzero_test_data): Remove.
48569         (fma_test_towardzero): Likewise.
48570         (fma_downward_test_data): Likewise.
48571         (fma_test_downward): Likewise.
48572         (fma_upward_test_data): Likewise.
48573         (fma_test_upward): Likewise.
48574         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48575         (j0_test_data): Update call to AUTO_TESTS_f_f.
48576         (j1_test_data): Likewise.
48577         (jn_test_data): Update call to AUTO_TESTS_if_f.
48578         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48579         (log_test_data): Update call to AUTO_TESTS_f_f.
48580         (log10_test_data): Likewise.
48581         (log1p_test_data): Likewise.
48582         (log2_test_data): Likewise.
48583         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48584         (pow_tonearest_test_data): Likewise.
48585         (sin_test_data): Update call to AUTO_TESTS_f_f.
48586         (sin_test): Use ALL_RM_TEST.
48587         (sin_tonearest_test_data): Remove.
48588         (sin_test_tonearest): Likewise.
48589         (sin_towardzero_test_data): Likewise.
48590         (sin_test_towardzero): Likewise.
48591         (sin_downward_test_data): Likewise.
48592         (sin_test_downward): Likewise.
48593         (sin_upward_test_data): Likewise.
48594         (sin_test_upward): Likewise.
48595         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48596         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48597         (sinh_test): Use ALL_RM_TEST.
48598         (sinh_tonearest_test_data): Remove.
48599         (sinh_test_tonearest): Likewise.
48600         (sinh_towardzero_test_data): Likewise.
48601         (sinh_test_towardzero): Likewise.
48602         (sinh_downward_test_data): Likewise.
48603         (sinh_test_downward): Likewise.
48604         (sinh_upward_test_data): Likewise.
48605         (sinh_test_upward): Likewise.
48606         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48607         (sqrt_test): Use ALL_RM_TEST.
48608         (sqrt_tonearest_test_data): Remove.
48609         (sqrt_test_tonearest): Likewise.
48610         (sqrt_towardzero_test_data): Likewise.
48611         (sqrt_test_towardzero): Likewise.
48612         (sqrt_downward_test_data): Likewise.
48613         (sqrt_test_downward): Likewise.
48614         (sqrt_upward_test_data): Likewise.
48615         (sqrt_test_upward): Likewise.
48616         (tan_test_data): Update call to AUTO_TESTS_f_f.
48617         (tan_test): Use ALL_RM_TEST.
48618         (tan_tonearest_test_data): Remove.
48619         (tan_test_tonearest): Likewise.
48620         (tan_towardzero_test_data): Likewise.
48621         (tan_test_towardzero): Likewise.
48622         (tan_downward_test_data): Likewise.
48623         (tan_test_downward): Likewise.
48624         (tan_upward_test_data): Likewise.
48625         (tan_test_upward): Likewise.
48626         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48627         (tgamma_test_data): Likewise.
48628         (y0_test_data): Likewise.
48629         (y1_test_data): Likewise.
48630         (yn_test_data): Update call to AUTO_TESTS_if_f.
48631         (main): Do not call removed functions.
48633 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48635         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48636         (ldexp_test_data): Remove.
48637         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48638         scalbn_test_data.
48639         (scalb_test): Use ALL_RM_TEST.
48641 2014-03-19  Andreas Schwab  <schwab@suse.de>
48643         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48645 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48647         [BZ #16649]
48648         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48649         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48650         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48652         (__ASSUME_PREADV): Undefine.
48653         (__ASSUME_PWRITEV): Likewise.
48655 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48657         * bits/mman-linux.h: Add comment about non-Linux use.
48658         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48659         bits/mman-linux.h resting place.
48661         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48662         * bits/mman-linux.h: ... here.
48664 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48666         * conform/conformtest.pl: Add standard definition when calling C
48667         preprocessor on data files.
48668         (checknamespace): Remove unused variable.
48670 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48672         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48673         minus_oflow, plus_uflow and minus_uflow in expected results.
48674         * math/libm-test.inc (scalbn_test_data): Add more tests of
48675         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48676         minus_uflow.
48677         (scalbn_test): Use ALL_RM_TEST.
48678         (scalbln_test_data): Add more tests of negative arguments.  Use
48679         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48680         (scalbln_test): Use ALL_RM_TEST.
48682 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48684         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48686 2014-03-18  Will Newton  <will.newton@linaro.org>
48688         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48689         inaccurate comment.
48691 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48693         * Makerules [!subdir] (check-abi): Exit with error status if a
48694         test failed.
48696 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48698         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48699         for rint.  Include results for all rounding modes.
48700         (nearbyint_test): Use ALL_RM_TEST.
48701         (rint_test_data): Include all tests used for nearbyint.
48703 2014-03-17  Will Newton  <will.newton@linaro.org>
48705         * nptl/sysdeps/pthread/pthread.h: Revert previous
48706         change.
48708         * sysdeps/generic/ldsodefs.h: Revert previous
48709         change.
48711         * libio/genops.c: Revert previous change.
48712         * libio/libioP.h: Likewise.
48713         * stdio-common/vfprintf.c: Likewise.
48715         * sysdeps/generic/math_private.h: Revert previous
48716         change.
48718         * sysdeps/generic/math_private.h: Check whether
48719         HAVE_RM_CTX is defined with #ifdef rather
48720         than #if.
48722         * argp/argp-fmtstream.h: Check whether
48723         __STRICT_ANSI__ is defined with #ifdef rather
48724         than #if.
48725         * argp/argp.h: Likewise.
48727         * libio/genops.c: Check whether
48728         _IO_JUMPS_OFFSET is defined with #ifdef rather
48729         than #if.
48730         * libio/libioP.h: Likewise.
48731         * stdio-common/vfprintf.c: Likewise.
48733         * sysdeps/generic/ldsodefs.h: Check whether
48734         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48735         than #if.
48737         * nptl/sysdeps/pthread/pthread.h: Check
48738         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48739         its value.
48741 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48743         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48744         setting O_APPEND.
48745         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48746         test case.
48748         [BZ #16680]
48749         * libio/fileops.c (_IO_file_open): Seek to end of file but
48750         don't cache the offset.
48751         (get_file_offset): Remove function.
48752         (do_ftell): Use cached offset when available.
48753         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48754         don't cache the offset.
48755         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48756         case.
48757         (do_one_test): Call it.
48758         (do_ftell_test): Fix up expected old offset for a+ mode.
48759         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48760         available.
48762         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48763         up test status with function return status.
48764         (do_write_test): Likewise.
48765         (do_append_test): Likewise.
48767         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48768         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48769         Remove.
48771 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48773         * math/gen-libm-test.pl (parse_args): Handle results specified for
48774         each rounding mode separately.
48775         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48776         tests and results from lrint_tonearest_test_data,
48777         lrint_towardzero_test_data, lrint_downward_test_data and
48778         lrint_upward_test_data.
48779         (lrint_test): Use ALL_RM_TEST.
48780         (lrint_tonearest_test_data): Remove.
48781         (lrint_test_tonearest): Likewise.
48782         (lrint_towardzero_test_data): Likewise.
48783         (lrint_test_towardzero): Likewise.
48784         (lrint_downward_test_data): Likewise.
48785         (lrint_test_downward): Likewise.
48786         (lrint_upward_test_data): Likewise.
48787         (lrint_test_upward): Likewise.
48788         (llrint_test_data): Merge in per-rounding-mode tests and results
48789         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48790         llrint_downward_test_data and llrint_upward_test_data.
48791         (llrint_test): Use ALL_RM_TEST.
48792         (llrint_tonearest_test_data): Remove.
48793         (llrint_test_tonearest): Likewise.
48794         (llrint_towardzero_test_data): Likewise.
48795         (llrint_test_towardzero): Likewise.
48796         (llrint_downward_test_data): Likewise.
48797         (llrint_test_downward): Likewise.
48798         (llrint_upward_test_data): Likewise.
48799         (llrint_test_upward): Likewise.
48800         (rint_test_data): Merge in per-rounding-mode tests and results
48801         from rint_tonearest_test_data, rint_towardzero_test_data,
48802         rint_downward_test_data and rint_upward_test_data.  Add
48803         per-rounding-mode results for tests not in those arrays.
48804         (rint_test): Use ALL_RM_TEST.
48805         (rint_tonearest_test_data): Remove.
48806         (rint_test_tonearest): Likewise.
48807         (rint_towardzero_test_data): Likewise.
48808         (rint_test_towardzero): Likewise.
48809         (rint_downward_test_data): Likewise.
48810         (rint_test_downward): Likewise.
48811         (rint_upward_test_data): Likewise.
48812         (rint_test_upward): Likewise.
48813         (main): Don't call removed functions.
48815 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48817         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48818         "Compiled on ..." crapola.  It is anti-useful.
48820 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48822         * scripts/evaluate-test.sh: Handle fourth argument to determine
48823         whether test run should stop on failure.
48824         * Makeconfig (stop-on-test-failure): New variable.
48825         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48826         $(stop-on-test-failure).
48827         * Makefile (tests): Give a summary of results from testing and
48828         exit with failure status if they include an ERROR or FAIL.
48829         (xtests): Likewise.
48830         * manual/install.texi (Configuring and compiling): Mention
48831         stop-on-test-failure=y.
48832         * INSTALL: Regenerated.
48834 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48836         * scripts/versionlist.awk: New file.
48837         * Makerules [$(build-shared) = yes]
48838         (postclean-generated): Add Versions.def, not Versions.def.v and
48839         Versions.def.v.i.
48840         ($(common-objpfx)Versions.def.v.i): Target removed.
48841         ($(common-objpfx)Versions.def): New target.
48842         ($(common-objpfx)Versions.all): Depend on that rather that
48843         $(common-objpfx)Versions.def.v.
48844         * Versions.def: File removed.
48846         * Makeconfig (+gccwarn): Add -Wundef.
48847         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48848         a dl-sysdep.h breaking its contract.
48849         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48850         * include/stackinfo.h: New file.
48851         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48852         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48853         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48854         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48855         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48856         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48857         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48858         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48859         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48860         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48861         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48862         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48863         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48864         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48865         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48867 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48869         [BZ #16707]
48870         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48871         implementation.
48872         * math/libm-test.inc (round_test_data): Add more tests.
48874         [BZ #16706]
48875         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48876         implementation.
48877         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48879         [BZ #16701]
48880         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48881         implementation.
48882         * math/libm-test.inc (ceil_test_data): Add more tests.
48884         * math/libm-test.inc (trunc_test_data): Add more tests related to
48885         BZ#16414.
48887 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48889         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48890         with #if rather than #ifdef.
48891         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48893 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48895         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48896         first.  Disable AVX-512 GCC support if assembler doesn't support
48897         it.
48898         * sysdeps/x86_64/configure: Regenerated.
48900 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48902         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48903         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48904         (__old_pthread_attr_setstack): Likewise.
48905         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48906         [!_STACK_GROWS_DOWN]: Likewise.
48908 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48910         * config.make.in (have-bash2): Delete.
48911         * configure.ac (libc_cv_have_bash2): Delete.
48912         * configure: Regenerate.
48913         * elf/Makefile (common-ldd-rewrite): Rename to ...
48914         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48915         (sh-ldd-rewrite): Delete.
48916         (bash-ldd-rewrite): Delete.
48917         (have-bash2): Delete checks.
48918         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48919         ldd-rewrite.
48921         * config.make.in (have-ksh): Delete.
48922         (KSH): Delete.
48923         * configure.ac (libc_cv_have_ksh): Delete.
48924         * configure: Regenerate.
48926         * elf/Makefile: Delete $(have-ksh) check.
48927         ($(objpfx)sotruss): Change KSH to BASH.
48928         * elf/sotruss.ksh: Rename to ...
48929         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48930         function style to match POSIX.  Drop ksh vim mode setting.
48932         * manual/time.texi (Specifying the Time Zone with TZ): Change
48933         Tuesday to Thursday.
48935         * debug/tst-longjmp_chk2.c: Update header comment.
48936         (stackoverflow_handler): Add comment.  Call assert on pass value.
48938 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48940         [BZ #16194]
48941         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48942         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48943         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48944         (La_x86_64_vector): Add zmm.
48945         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48946         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48947         ($(objpfx)tst-audit10): New target.
48948         ($(objpfx)tst-audit10.out): Likewise.
48949         (tst-audit10-ENV): New.
48950         (AVX512-CFLAGS): Likewise.
48951         (CFLAGS-tst-audit10.c): Likewise.
48952         (CFLAGS-tst-auditmod10a.c): Likewise.
48953         (CFLAGS-tst-auditmod10b.c): Likewise.
48954         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48955         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48956         * sysdeps/x86_64/configure: Regenerated.
48957         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48958         AVX-512 zmm register support.
48959         (_dl_x86_64_save_sse): Likewise.
48960         (_dl_x86_64_restore_sse): Likewise.
48961         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48962         size vector registers.
48963         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48964         (ZMM_SIZE): Likewise.
48965         * sysdeps/x86_64/tst-audit10.c: New file.
48966         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48967         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48969 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48971         * configure.ac (HAVE_EHDR_START): New check.
48972         * configure: Regenerated.
48973         * config.h.in (HAVE_EHDR_START): New #undef.
48974         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48975         assuming the lowest-addressed segment maps the start of the file.
48977 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48979         * INSTALL: Regenerated.
48981 2014-03-13  Will Newton  <will.newton@linaro.org>
48983         * manual/setjmp.texi (System V contexts): Improve
48984         clarity and grammar of documentation.
48986 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48988         [BZ #16381]
48989         * elf/Makefile (tests): Add tst-pie2.
48990         (tests-pie): Add tst-pie2.
48991         * elf/tst-pie2.c: New file.
48992         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48993         for ET_EXEC.
48994         * elf/rtld.c (map_doit): Load executable as lt_executable.
48995         (dl_main): Likewise.
48997 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48999         [BZ #16642]
49000         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49001         (__ASSUME_PSELECT): Undefine.
49003 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49005         [BZ #16689]
49006         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
49007         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
49008         static build.
49009         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
49010         selector for static builds.
49012 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49014         [BZ #16695]
49015         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
49016         key in the buffer.
49018 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49020         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
49021         IFUNC selector for static builds.
49023 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
49025         * sysdeps/mips/math_private.h [__mips_hard_float]
49026         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
49027         libc_feresetround_mips_ctx.
49028         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
49029         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
49030         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
49032         [BZ #16677]
49033         * math/s_nextafter.c (__nextafter): Do not return value from
49034         overflowing computation.
49035         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
49036         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
49037         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
49038         Likewise.
49039         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
49040         Likewise.
49041         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
49042         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
49044 2014-03-11  Roland McGrath  <roland@hack.frob.com>
49046         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
49047         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
49048         Move sfi_sp use from the load-multiple (that no longer sets sp) to
49049         the new mov targetting sp.
49051 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49053         [BZ #16683]
49054         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
49055         Define it for static builds as well.
49056         (NO_BZERO_IMPL): Likewise.
49058 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49060         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
49061         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
49062         multiarch strspn for PPC64.
49063         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
49064         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
49065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49066         (__libc_ifunc_impl_list): Likewise.
49067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
49068         multiarch optimizations
49069         * string/strspn.c (strspn): Using macro to redefine symbol name.
49071 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49072             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49074         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
49075         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
49076         multiarch strncat for PPC64.
49077         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
49078         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
49079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49080         (__libc_ifunc_impl_list): Likewise.
49081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
49082         multiarch optimizations
49084 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49086         [BZ #16639]
49087         * nscd/nscd.service: Make service type forking.
49089 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49091         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
49092         sign in non default rounding modes.
49093         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
49095 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
49097         * math/libm-test.inc (ALL_RM_TEST): New macro.
49098         (ceil_test): Use ALL_RM_TEST.
49099         (cimag_test): Likewise.
49100         (conj_test): Likewise.
49101         (copysign_test): Likewise.
49102         (cproj_test): Likewise.
49103         (creal_test): Likewise.
49104         (fabs_test): Likewise.
49105         (floor_test): Likewise.
49106         (fmax_test): Likewise.
49107         (fmin_test): Likewise.
49108         (fmod_test): Likewise.
49109         (fpclassify_test): Likewise.
49110         (frexp_test): Likewise.
49111         (ilogb_test): Likewise.
49112         (isfinite_test): Likewise.
49113         (finite_test): Likewise.
49114         (isgreater_test): Likewise.
49115         (isgreaterequal_test): Likewise.
49116         (isinf_test): Likewise.
49117         (isless_test): Likewise.
49118         (islessequal_test): Likewise.
49119         (islessgreater_test): Likewise.
49120         (isnan_test): Likewise.
49121         (isnormal_test): Likewise.
49122         (issignaling_test): Likewise.
49123         (isunordered_test): Likewise.
49124         (logb_test): Likewise.
49125         (logb_downward_test_data): Remove.
49126         (logb_test_downward): Likewise.
49127         (lround_test): Use ALL_RM_TEST.
49128         (llround_test): Likewise.
49129         (modf_test): Likewise.
49130         (nexttoward_test): Likewise.
49131         (remainder_test): Likewise.
49132         (drem_test): Likewise.
49133         (remainder_tonearest_test_data): Likewise.
49134         (remainder_test_tonearest): Likewise.
49135         (drem_test_tonearest): Likewise.
49136         (remainder_towardzero_test_data): Likewise.
49137         (remainder_test_towardzero): Likewise.
49138         (drem_test_towardzero): Likewise.
49139         (remainder_downward_test_data): Likewise.
49140         (remainder_test_downward): Likewise.
49141         (drem_test_downward): Likewise.
49142         (remainder_upward_test_data): Likewise.
49143         (remainder_test_upward): Likewise.
49144         (drem_test_upward): Likewise.
49145         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
49146         (round_test): Use ALL_RM_TEST.
49147         (signbit_test): Likewise.
49148         (trunc_test): Likewise.
49149         (significand_test): Likewise.
49150         (main): Don't call removed functions.
49152 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49154         [BZ #16674]
49155         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
49156         || __USE_XOPEN2K8].
49157         (ILL_ILLOPN): Likewise.
49158         (ILL_ILLADR): Likewise.
49159         (ILL_ILLTRP): Likewise.
49160         (ILL_PRVOPC): Likewise.
49161         (ILL_PRVREG): Likewise.
49162         (ILL_COPROC): Likewise.
49163         (ILL_BADSTK): Likewise.
49164         (FPE_INTDIV): Likewise.
49165         (FPE_INTOVF): Likewise.
49166         (FPE_FLTDIV): Likewise.
49167         (FPE_FLTOVF): Likewise.
49168         (FPE_FLTUND): Likewise.
49169         (FPE_FLTRES): Likewise.
49170         (FPE_FLTINV): Likewise.
49171         (FPE_FLTSUB): Likewise.
49172         (SEGV_MAPERR): Likewise.
49173         (SEGV_ACCERR): Likewise.
49174         (BUS_ADRALN): Likewise.
49175         (BUS_ADRERR): Likewise.
49176         (BUS_OBJERR): Likewise.
49177         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49178         (TRAP_TRACE): Likewise.
49179         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49180         __USE_XOPEN2K8].
49181         (CLD_KILLED): Likewise.
49182         (CLD_DUMPED): Likewise.
49183         (CLD_TRAPPED): Likewise.
49184         (CLD_STOPPED): Likewise.
49185         (CLD_CONTINUED): Likewise.
49186         (POLL_IN): Likewise.
49187         (POLL_OUT): Likewise.
49188         (POLL_MSG): Likewise.
49189         (POLL_ERR): Likewise.
49190         (POLL_PRI): Likewise.
49191         (POLL_HUP): Likewise.
49192         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
49193         Likewise.
49194         (ILL_ILLOPN): Likewise.
49195         (ILL_ILLADR): Likewise.
49196         (ILL_ILLTRP): Likewise.
49197         (ILL_PRVOPC): Likewise.
49198         (ILL_PRVREG): Likewise.
49199         (ILL_COPROC): Likewise.
49200         (ILL_BADSTK): Likewise.
49201         (FPE_INTDIV): Likewise.
49202         (FPE_INTOVF): Likewise.
49203         (FPE_FLTDIV): Likewise.
49204         (FPE_FLTOVF): Likewise.
49205         (FPE_FLTUND): Likewise.
49206         (FPE_FLTRES): Likewise.
49207         (FPE_FLTINV): Likewise.
49208         (FPE_FLTSUB): Likewise.
49209         (SEGV_MAPERR): Likewise.
49210         (SEGV_ACCERR): Likewise.
49211         (BUS_ADRALN): Likewise.
49212         (BUS_ADRERR): Likewise.
49213         (BUS_OBJERR): Likewise.
49214         (BUS_MCEERR_AR): Likewise.
49215         (BUS_MCEERR_AO): Likewise.
49216         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49217         (TRAP_TRACE): Likewise.
49218         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49219         __USE_XOPEN2K8].
49220         (CLD_KILLED): Likewise.
49221         (CLD_DUMPED): Likewise.
49222         (CLD_TRAPPED): Likewise.
49223         (CLD_STOPPED): Likewise.
49224         (CLD_CONTINUED): Likewise.
49225         (POLL_IN): Likewise.
49226         (POLL_OUT): Likewise.
49227         (POLL_MSG): Likewise.
49228         (POLL_ERR): Likewise.
49229         (POLL_PRI): Likewise.
49230         (POLL_HUP): Likewise.
49231         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
49232         (ILL_ILLOPN): Likewise.
49233         (ILL_ILLADR): Likewise.
49234         (ILL_ILLTRP): Likewise.
49235         (ILL_PRVOPC): Likewise.
49236         (ILL_PRVREG): Likewise.
49237         (ILL_COPROC): Likewise.
49238         (ILL_BADSTK): Likewise.
49239         (FPE_INTDIV): Likewise.
49240         (FPE_INTOVF): Likewise.
49241         (FPE_FLTDIV): Likewise.
49242         (FPE_FLTOVF): Likewise.
49243         (FPE_FLTUND): Likewise.
49244         (FPE_FLTRES): Likewise.
49245         (FPE_FLTINV): Likewise.
49246         (FPE_FLTSUB): Likewise.
49247         (SEGV_MAPERR): Likewise.
49248         (SEGV_ACCERR): Likewise.
49249         (BUS_ADRALN): Likewise.
49250         (BUS_ADRERR): Likewise.
49251         (BUS_OBJERR): Likewise.
49252         (BUS_MCEERR_AR): Likewise.
49253         (BUS_MCEERR_AO): Likewise.
49254         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49255         (TRAP_TRACE): Likewise.
49256         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49257         __USE_XOPEN2K8].
49258         (CLD_KILLED): Likewise.
49259         (CLD_DUMPED): Likewise.
49260         (CLD_TRAPPED): Likewise.
49261         (CLD_STOPPED): Likewise.
49262         (CLD_CONTINUED): Likewise.
49263         (POLL_IN): Likewise.
49264         (POLL_OUT): Likewise.
49265         (POLL_MSG): Likewise.
49266         (POLL_ERR): Likewise.
49267         (POLL_PRI): Likewise.
49268         (POLL_HUP): Likewise.
49269         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
49270         Likewise.
49271         (ILL_ILLOPN): Likewise.
49272         (ILL_ILLADR): Likewise.
49273         (ILL_ILLTRP): Likewise.
49274         (ILL_PRVOPC): Likewise.
49275         (ILL_PRVREG): Likewise.
49276         (ILL_COPROC): Likewise.
49277         (ILL_BADSTK): Likewise.
49278         (ILL_BADIADDR): Likewise.
49279         (ILL_BREAK): Likewise.
49280         (FPE_INTDIV): Likewise.
49281         (FPE_INTOVF): Likewise.
49282         (FPE_FLTDIV): Likewise.
49283         (FPE_FLTOVF): Likewise.
49284         (FPE_FLTUND): Likewise.
49285         (FPE_FLTRES): Likewise.
49286         (FPE_FLTINV): Likewise.
49287         (FPE_FLTSUB): Likewise.
49288         (FPE_DECOVF): Likewise.
49289         (FPE_DECDIV): Likewise.
49290         (FPE_DECERR): Likewise.
49291         (FPE_INVASC): Likewise.
49292         (FPE_INVDEC): Likewise.
49293         (SEGV_MAPERR): Likewise.
49294         (SEGV_ACCERR): Likewise.
49295         (SEGV_PSTKOVF): Likewise.
49296         (BUS_ADRALN): Likewise.
49297         (BUS_ADRERR): Likewise.
49298         (BUS_OBJERR): Likewise.
49299         (BUS_MCEERR_AR): Likewise.
49300         (BUS_MCEERR_AO): Likewise.
49301         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49302         (TRAP_TRACE): Likewise.
49303         (TRAP_BRANCH): Likewise.
49304         (TRAP_HWBKPT): Likewise.
49305         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49306         __USE_XOPEN2K8].
49307         (CLD_KILLED): Likewise.
49308         (CLD_DUMPED): Likewise.
49309         (CLD_TRAPPED): Likewise.
49310         (CLD_STOPPED): Likewise.
49311         (CLD_CONTINUED): Likewise.
49312         (POLL_IN): Likewise.
49313         (POLL_OUT): Likewise.
49314         (POLL_MSG): Likewise.
49315         (POLL_ERR): Likewise.
49316         (POLL_PRI): Likewise.
49317         (POLL_HUP): Likewise.
49318         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49319         (ILL_ILLOPN): Likewise.
49320         (ILL_ILLADR): Likewise.
49321         (ILL_ILLTRP): Likewise.
49322         (ILL_PRVOPC): Likewise.
49323         (ILL_PRVREG): Likewise.
49324         (ILL_COPROC): Likewise.
49325         (ILL_BADSTK): Likewise.
49326         (FPE_INTDIV): Likewise.
49327         (FPE_INTOVF): Likewise.
49328         (FPE_FLTDIV): Likewise.
49329         (FPE_FLTOVF): Likewise.
49330         (FPE_FLTUND): Likewise.
49331         (FPE_FLTRES): Likewise.
49332         (FPE_FLTINV): Likewise.
49333         (FPE_FLTSUB): Likewise.
49334         (SEGV_MAPERR): Likewise.
49335         (SEGV_ACCERR): Likewise.
49336         (BUS_ADRALN): Likewise.
49337         (BUS_ADRERR): Likewise.
49338         (BUS_OBJERR): Likewise.
49339         (BUS_MCEERR_AR): Likewise.
49340         (BUS_MCEERR_AO): Likewise.
49341         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49342         (TRAP_TRACE): Likewise.
49343         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49344         __USE_XOPEN2K8].
49345         (CLD_KILLED): Likewise.
49346         (CLD_DUMPED): Likewise.
49347         (CLD_TRAPPED): Likewise.
49348         (CLD_STOPPED): Likewise.
49349         (CLD_CONTINUED): Likewise.
49350         (POLL_IN): Likewise.
49351         (POLL_OUT): Likewise.
49352         (POLL_MSG): Likewise.
49353         (POLL_ERR): Likewise.
49354         (POLL_PRI): Likewise.
49355         (POLL_HUP): Likewise.
49356         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49357         (ILL_ILLOPN): Likewise.
49358         (ILL_ILLADR): Likewise.
49359         (ILL_ILLTRP): Likewise.
49360         (ILL_PRVOPC): Likewise.
49361         (ILL_PRVREG): Likewise.
49362         (ILL_COPROC): Likewise.
49363         (ILL_BADSTK): Likewise.
49364         (FPE_INTDIV): Likewise.
49365         (FPE_INTOVF): Likewise.
49366         (FPE_FLTDIV): Likewise.
49367         (FPE_FLTOVF): Likewise.
49368         (FPE_FLTUND): Likewise.
49369         (FPE_FLTRES): Likewise.
49370         (FPE_FLTINV): Likewise.
49371         (FPE_FLTSUB): Likewise.
49372         (SEGV_MAPERR): Likewise.
49373         (SEGV_ACCERR): Likewise.
49374         (BUS_ADRALN): Likewise.
49375         (BUS_ADRERR): Likewise.
49376         (BUS_OBJERR): Likewise.
49377         (BUS_MCEERR_AR): Likewise.
49378         (BUS_MCEERR_AO): Likewise.
49379         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49380         (TRAP_TRACE): Likewise.
49381         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49382         __USE_XOPEN2K8].
49383         (CLD_KILLED): Likewise.
49384         (CLD_DUMPED): Likewise.
49385         (CLD_TRAPPED): Likewise.
49386         (CLD_STOPPED): Likewise.
49387         (CLD_CONTINUED): Likewise.
49388         (POLL_IN): Likewise.
49389         (POLL_OUT): Likewise.
49390         (POLL_MSG): Likewise.
49391         (POLL_ERR): Likewise.
49392         (POLL_PRI): Likewise.
49393         (POLL_HUP): Likewise.
49394         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49395         (ILL_ILLOPN): Likewise.
49396         (ILL_ILLADR): Likewise.
49397         (ILL_ILLTRP): Likewise.
49398         (ILL_PRVOPC): Likewise.
49399         (ILL_PRVREG): Likewise.
49400         (ILL_COPROC): Likewise.
49401         (ILL_BADSTK): Likewise.
49402         (FPE_INTDIV): Likewise.
49403         (FPE_INTOVF): Likewise.
49404         (FPE_FLTDIV): Likewise.
49405         (FPE_FLTOVF): Likewise.
49406         (FPE_FLTUND): Likewise.
49407         (FPE_FLTRES): Likewise.
49408         (FPE_FLTINV): Likewise.
49409         (FPE_FLTSUB): Likewise.
49410         (SEGV_MAPERR): Likewise.
49411         (SEGV_ACCERR): Likewise.
49412         (BUS_ADRALN): Likewise.
49413         (BUS_ADRERR): Likewise.
49414         (BUS_OBJERR): Likewise.
49415         (BUS_MCEERR_AR): Likewise.
49416         (BUS_MCEERR_AO): Likewise.
49417         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49418         (TRAP_TRACE): Likewise.
49419         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49420         __USE_XOPEN2K8].
49421         (CLD_KILLED): Likewise.
49422         (CLD_DUMPED): Likewise.
49423         (CLD_TRAPPED): Likewise.
49424         (CLD_STOPPED): Likewise.
49425         (CLD_CONTINUED): Likewise.
49426         (POLL_IN): Likewise.
49427         (POLL_OUT): Likewise.
49428         (POLL_MSG): Likewise.
49429         (POLL_ERR): Likewise.
49430         (POLL_PRI): Likewise.
49431         (POLL_HUP): Likewise.
49432         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49433         (ILL_ILLOPN): Likewise.
49434         (ILL_ILLADR): Likewise.
49435         (ILL_ILLTRP): Likewise.
49436         (ILL_PRVOPC): Likewise.
49437         (ILL_PRVREG): Likewise.
49438         (ILL_COPROC): Likewise.
49439         (ILL_BADSTK): Likewise.
49440         (ILL_DBLFLT): Likewise.
49441         (ILL_HARDWALL): Likewise.
49442         (FPE_INTDIV): Likewise.
49443         (FPE_INTOVF): Likewise.
49444         (FPE_FLTDIV): Likewise.
49445         (FPE_FLTOVF): Likewise.
49446         (FPE_FLTUND): Likewise.
49447         (FPE_FLTRES): Likewise.
49448         (FPE_FLTINV): Likewise.
49449         (FPE_FLTSUB): Likewise.
49450         (SEGV_MAPERR): Likewise.
49451         (SEGV_ACCERR): Likewise.
49452         (BUS_ADRALN): Likewise.
49453         (BUS_ADRERR): Likewise.
49454         (BUS_OBJERR): Likewise.
49455         (BUS_MCEERR_AR): Likewise.
49456         (BUS_MCEERR_AO): Likewise.
49457         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49458         (TRAP_TRACE): Likewise.
49459         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49460         __USE_XOPEN2K8].
49461         (CLD_KILLED): Likewise.
49462         (CLD_DUMPED): Likewise.
49463         (CLD_TRAPPED): Likewise.
49464         (CLD_STOPPED): Likewise.
49465         (CLD_CONTINUED): Likewise.
49466         (POLL_IN): Likewise.
49467         (POLL_OUT): Likewise.
49468         (POLL_MSG): Likewise.
49469         (POLL_ERR): Likewise.
49470         (POLL_PRI): Likewise.
49471         (POLL_HUP): Likewise.
49472         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49473         (ILL_ILLOPN): Likewise.
49474         (ILL_ILLADR): Likewise.
49475         (ILL_ILLTRP): Likewise.
49476         (ILL_PRVOPC): Likewise.
49477         (ILL_PRVREG): Likewise.
49478         (ILL_COPROC): Likewise.
49479         (ILL_BADSTK): Likewise.
49480         (FPE_INTDIV): Likewise.
49481         (FPE_INTOVF): Likewise.
49482         (FPE_FLTDIV): Likewise.
49483         (FPE_FLTOVF): Likewise.
49484         (FPE_FLTUND): Likewise.
49485         (FPE_FLTRES): Likewise.
49486         (FPE_FLTINV): Likewise.
49487         (FPE_FLTSUB): Likewise.
49488         (SEGV_MAPERR): Likewise.
49489         (SEGV_ACCERR): Likewise.
49490         (BUS_ADRALN): Likewise.
49491         (BUS_ADRERR): Likewise.
49492         (BUS_OBJERR): Likewise.
49493         (BUS_MCEERR_AR): Likewise.
49494         (BUS_MCEERR_AO): Likewise.
49495         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49496         (TRAP_TRACE): Likewise.
49497         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49498         __USE_XOPEN2K8].
49499         (CLD_KILLED): Likewise.
49500         (CLD_DUMPED): Likewise.
49501         (CLD_TRAPPED): Likewise.
49502         (CLD_STOPPED): Likewise.
49503         (CLD_CONTINUED): Likewise.
49504         (POLL_IN): Likewise.
49505         (POLL_OUT): Likewise.
49506         (POLL_MSG): Likewise.
49507         (POLL_ERR): Likewise.
49508         (POLL_PRI): Likewise.
49509         (POLL_HUP): Likewise.
49510         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49511         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49513         [BZ #16670]
49514         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49515         before #include of <time.h>.
49516         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49517         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49518         (test-xfail-UNIX98/sched.h/conform): Likewise.
49520 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49522         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49523         error absence of trapping exception support.
49524         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49526 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49528         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49529         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49530         * timezone/Makefile (testdata): Move definition above include of
49531         Rules.
49532         (test-zones): New variable.
49533         (tests-special): Add zone files.
49534         (build-testdata): Use $(evaluate-test).
49536         * elf/Makefile (tests-special): Rename tests to end with .out.
49537         ($(objpfx)noload-mem): Likewise.
49538         ($(objpfx)tst-leaks1-mem): Likewise.
49539         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49540         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49541         $(objpfx)test-iconvconfig.out.
49542         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49543         set -e inside subshell and redirect output to file.
49544         * iconvdata/Makefile (generated): Rename tests to end with .out.
49545         Correct type.
49546         (tests-special): Rename tests to end with .out.
49547         ($(objpfx)mtrace-tst-loading): Likewise.
49548         * intl/Makefile (generated): Likewise.
49549         (tests-special): Likewise.
49550         ($(objpfx)mtrace-tst-gettext): Likewise.
49551         * misc/Makefile (generated): Likewise.
49552         (tests-special): Likewise.
49553         ($(objpfx)tst-error1-mem): Likewise.
49554         * nptl/Makefile (tests-special): Likewise.
49555         ($(objpfx)tst-stack3-mem): Likewise.
49556         (generated): Likewise.
49557         * posix/Makefile (generated): Likewise.
49558         (tests-special): Likewise.
49559         (xtests-special): Likewise.
49560         ($(objpfx)tst-fnmatch-mem): Likewise.
49561         ($(objpfx)bug-regex2-mem): Likewise.
49562         ($(objpfx)bug-regex14-mem): Likewise.
49563         ($(objpfx)bug-regex21-mem): Likewise.
49564         ($(objpfx)bug-regex31-mem): Likewise.
49565         ($(objpfx)tst-vfork3-mem): Likewise.
49566         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49567         ($(objpfx)tst-pcre-mem): Likewise.
49568         ($(objpfx)tst-boost-mem): Likewise.
49569         ($(objpfx)bug-ga2-mem): Likewise.
49570         ($(objpfx)bug-glob2-mem): Likewise.
49571         * resolv/Makefile (generate): Likewise.
49572         (tests-special): Likewise.
49573         (xtests-special): Likewise.
49574         (generated): Likewise.
49575         ($(objpfx)mtrace-tst-leaks): Likewise.
49576         ($(objpfx)mtrace-tst-leaks2): Likewise.
49578         * scripts/merge-test-results.sh: New file.
49579         * Makefile (tests-special-notdir): New variable.
49580         (tests): Run merge-test-results.sh.
49581         (xtests): Likewise.
49582         * Rules (tests-special-notdir): New variable.
49583         (xtests-special-notdir): Likewise.
49584         (tests): Run merge-test-results.sh
49585         (xtests): Likewise.
49587         * Makeconfig (test-xfail-name): New variable.
49588         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49589         compute variable name for expected failures.
49590         * conform/Makefile (conformtest-headers-data): New variable.
49591         (conformtest-standards): Likewise.
49592         (conformtest-headers-ISO): Likewise.
49593         (conformtest-headers-ISO99): Likewise.
49594         (conformtest-headers-ISO11): Likewise.
49595         (conformtest-headers-POSIX): Likewise.
49596         (conformtest-headers-XPG3): Likewise.
49597         (conformtest-headers-XPG4): Likewise.
49598         (conformtest-headers-UNIX98): Likewise.
49599         (conformtest-headers-XOPEN2K): Likewise.
49600         (conformtest-headers-POSIX2008): Likewise.
49601         (conformtest-headers-XOPEN2K8): Likewise.
49602         (conformtest-header-list-base): Likewise.
49603         (conformtest-header-list-tests): Likewise.
49604         (conformtest-header-base): Likewise.
49605         (conformtest-header-tests): Likewise.
49606         (tests-special): Add $(conformtest-header-list-tests).  If
49607         [$(fast-check) && !$(cross-compiling)], add
49608         $(conformtest-header-tests) instead of
49609         $(objpfx)run-conformtest.out.
49610         (generated): Add $(conformtest-header-list-base).  If
49611         [$(fast-check) && !$(cross-compiling)], add
49612         $(conformtest-header-base).  Remove previous setting.
49613         ($(conformtest-header-list-tests)): New target.
49614         (test-xfail-run-conformtest): Remove variable.
49615         ($(objpfx)run-conformtest.out): Remove target.
49616         (test-xfail-ISO11/complex.h/conform): New variable.
49617         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49618         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49619         (test-xfail-XPG3/varargs.h/conform): Likewise.
49620         (test-xfail-XPG4/varargs.h/conform): Likewise.
49621         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49622         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49623         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49624         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49625         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49626         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49627         (test-xfail-XPG3/ftw.h/conform): Likewise.
49628         (test-xfail-XPG3/grp.h/conform): Likewise.
49629         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49630         (test-xfail-XPG3/limits.h/conform): Likewise.
49631         (test-xfail-XPG3/pwd.h/conform): Likewise.
49632         (test-xfail-XPG3/search.h/conform): Likewise.
49633         (test-xfail-XPG3/signal.h/conform): Likewise.
49634         (test-xfail-XPG3/stdio.h/conform): Likewise.
49635         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49636         (test-xfail-XPG3/string.h/conform): Likewise.
49637         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49638         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49639         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49640         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49641         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49642         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49643         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49644         (test-xfail-XPG3/termios.h/conform): Likewise.
49645         (test-xfail-XPG3/time.h/conform): Likewise.
49646         (test-xfail-XPG3/unistd.h/conform): Likewise.
49647         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49648         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49649         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49650         (test-xfail-XPG4/netdb.h/conform): Likewise.
49651         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49652         (test-xfail-XPG4/signal.h/conform): Likewise.
49653         (test-xfail-XPG4/stdio.h/conform): Likewise.
49654         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49655         (test-xfail-XPG4/stropts.h/conform): Likewise.
49656         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49657         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49658         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49659         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49660         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49661         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49662         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49663         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49664         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49665         (test-xfail-XPG4/termios.h/conform): Likewise.
49666         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49667         (test-xfail-XPG4/unistd.h/conform): Likewise.
49668         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49669         (test-xfail-POSIX/sched.h/conform): Likewise.
49670         (test-xfail-POSIX/signal.h/conform): Likewise.
49671         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49672         (test-xfail-POSIX/tar.h/conform): Likewise.
49673         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49674         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49675         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49676         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49677         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49678         (test-xfail-UNIX98/sched.h/conform): Likewise.
49679         (test-xfail-UNIX98/signal.h/conform): Likewise.
49680         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49681         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49682         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49683         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49684         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49685         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49686         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49687         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49688         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49689         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49690         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49691         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49692         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49693         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49694         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49695         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49696         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49697         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49698         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49699         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49700         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49701         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49702         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49703         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49704         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49705         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49706         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49707         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49708         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49709         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49710         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49711         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49712         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49713         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49714         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49715         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49716         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49717         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49718         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49719         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49720         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49721         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49722         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49723         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49724         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49725         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49726         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49727         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49728         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49729         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49730         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49731         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49732         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49733         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49734         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49735         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49736         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49737         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49738         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49739         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49740         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49741         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49742         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49743         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49744         (conformtest-cc-flags): Likewise.
49745         ($(conformtest-header-tests): New target.
49746         * conform/check-header-lists.sh: New file.
49747         * conform/run-conformtest.sh: Remove.
49749         * conform/conformtest.pl: Allow ' and \ in values given for
49750         constants.
49751         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49752         inclusion.
49753         [POSIX] (sys/types.h): Likewise.
49754         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49755         inclusion.
49756         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49757         inclusion.
49758         * conform/data/signal.h-data (SIGIO): Remove expectation.
49759         [XPG3] (SIGBUS): Do not expect.
49760         [POSIX || XPG3] (SIGPOLL): Likewise.
49761         [POSIX || XPG3] (SIGPROF): Likewise.
49762         [POSIX || XPG3] (SIGSYS): Likewise.
49763         [XPG3] (SIGTRAP): Likewise.
49764         [POSIX || XPG3] (SIGURG): Likewise.
49765         [POSIX || XPG3] (SIGVTALRM): Likewise.
49766         [POSIX || XPG3] (SIGXCPU): Likewise.
49767         [POSIX || XPG3] (SIGXFSZ): Likewise.
49768         [POSIX] (SA_SIGINFO): Expect.
49769         [XPG3] (siginfo_t): Do not expect type or contents.
49770         [POSIX] (si_pid): Do not expect element.
49771         [POSIX] (si_uid): Likewise.
49772         [POSIX] (si_addr): Likewise.
49773         [POSIX] (si_status): Likewise.
49774         [POSIX] (si_band): Likewise.
49775         [XPG4] (si_value): Likewise.
49776         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49777         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49778         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49779         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49780         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49781         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49782         [POSIX || XPG3] (ILL_COPROC): Likewise.
49783         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49784         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49785         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49786         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49787         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49788         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49789         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49790         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49791         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49792         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49793         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49794         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49795         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49796         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49797         [POSIX || XPG3] (CLD_EXITED): Likewise.
49798         [POSIX || XPG3] (CLD_KILLED): Likewise.
49799         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49800         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49801         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49802         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49803         [POSIX || XPG3] (POLL_IN): Likewise.
49804         [POSIX || XPG3] (POLL_OUT): Likewise.
49805         [POSIX || XPG3] (POLL_MSG): Likewise.
49806         [POSIX || XPG3] (POLL_ERR): Likewise.
49807         [POSIX || XPG3] (POLL_PRI): Likewise.
49808         [POSIX || XPG3] (POLL_HUP): Likewise.
49809         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49810         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49811         (SIG*): Do not allow.
49812         [XPG3] (si_*): Likewise.
49813         [XPG3] (SI_*): Likewise.
49814         [XPG3 || XPG4] (sigev_*): Likewise.
49815         [XPG3 || XPG4] (SIGEV_*): Likewise.
49816         [XPG3 || XPG4] (sival_*): Likewise.
49817         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49818         [POSIX || XPG3] (BUS_*): Likewise.
49819         [POSIX || XPG3] (CLD_*): Likewise.
49820         [POSIX || XPG3] (FPE_*): Likewise.
49821         [POSIX || XPG3] (ILL_*): Likewise.
49822         [POSIX || XPG3] (POLL_*): Likewise.
49823         [POSIX || XPG3] (SEGV_*): Likewise.
49824         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49825         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49826         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49827         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49828         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49829         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49830         Specify type and value.
49831         (TVERSLEN): Likewise.
49832         (REGTYPE): Likewise.
49833         (AREGTYPE): Likewise.
49834         (LNKTYPE): Likewise.
49835         (SYMTYPE): Likewise.
49836         (CHRTYPE): Likewise.
49837         (BLKTYPE): Likewise.
49838         (DIRTYPE): Likewise.
49839         (FIFOTYPE): Likewise.
49840         (CONTTYPE): Likewise.
49841         (TSUID): Likewise.
49842         (TSGID): Likewise.
49843         (TSVTX): Likewise.
49844         (TUREAD): Likewise.
49845         (TUWRITE): Likewise.
49846         (TUEXEC): Likewise.
49847         (TGREAD): Likewise.
49848         (TGWRITE): Likewise.
49849         (TGEXEC): Likewise.
49850         (TOREAD): Likewise.
49851         (TOWRITE): Likewise.
49852         (TOEXEC): Likewise.
49853         [POSIX] (TSVTX): Expect constant.
49855 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49857         * Makefile (tests): Change dependencies to ....
49858         (tests-special): ... additions to this variable.
49859         (tests): Depend on $(tests-special).
49860         * Makerules (check-abi-list): New variable.
49861         (check-abi): Depend on $(check-abi-list).
49862         [$(subdir) = elf] (tests-special): Add
49863         $(objpfx)check-abi-libc.out.
49864         [$(build-shared) = yes && subdir] (tests-special): Add
49865         $(check-abi-list).
49866         [$(build-shared) = yes && subdir] (tests): Do not depend on
49867         check-abi.
49868         * Rules (tests): Depend on $(tests-special).
49869         (xtests): Depend on $(xtests-special).
49870         * catgets/Makefile (tests): Change dependencies to ....
49871         (tests-special): ... additions to this variable.
49872         * conform/Makefile (tests): Change dependencies to ....
49873         (tests-special): ... additions to this variable.
49874         * elf/Makefile (tests): Change dependencies to ....
49875         (tests-special): ... additions to this variable.
49876         * grp/Makefile (tests): Change dependencies to ....
49877         (tests-special): ... additions to this variable.
49878         * iconv/Makefile (xtests): Change dependencies to ....
49879         (xtests-special): ... additions to this variable.
49880         * iconvdata/Makefile (tests): Change dependencies to ....
49881         (tests-special): ... additions to this variable.
49882         * intl/Makefile (tests): Change dependencies to ....
49883         (tests-special): ... additions to this variable.  Also add
49884         $(objpfx)tst-gettext.out.
49885         * io/Makefile (tests): Change dependencies to ....
49886         (tests-special): ... additions to this variable.
49887         * libio/Makefile (tests): Change dependencies to ....
49888         (tests-special): ... additions to this variable.
49889         * malloc/Makefile (tests): Change dependencies to ....
49890         (tests-special): ... additions to this variable.
49891         * misc/Makefile (tests): Change dependencies to ....
49892         (tests-special): ... additions to this variable.
49893         * nptl/Makefile (tests): Change dependencies to ....
49894         (tests-special): ... additions to this variable.
49895         * nptl_db/Makefile (tests): Change dependencies to ....
49896         (tests-special): ... additions to this variable.
49897         * posix/Makefile (tests): Change dependencies to ....
49898         (tests-special): ... additions to this variable.
49899         (xtests): Change dependencies to ....
49900         (xtests-special): ... additions to this variable.
49901         * resolv/Makefile (tests): Change dependencies to ....
49902         (tests-special): ... additions to this variable.
49903         (xtests): Change dependencies to ....
49904         (xtests-special): ... additions to this variable.
49905         * stdio-common/Makefile (tests): Change dependencies to ....
49906         (tests-special): ... additions to this variable.
49907         (do-tst-unbputc): Remove target.
49908         (do-tst-printf): Likewise.
49909         * stdlib/Makefile (tests): Change dependencies to ....
49910         (tests-special): ... additions to this variable.
49911         * string/Makefile (tests): Change dependencies to ....
49912         (tests-special): ... additions to this variable.
49913         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49914         (tests-special): ... additions to this variable.
49916         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49917         whole file.
49918         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49919         whole file.
49920         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49921         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49923         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49924         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49925         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49926         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49927         * conform/data/libgen.h-data [XPG3]: Likewise.
49928         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49929         * conform/data/ndbm.h-data [XPG3]: Likewise.
49930         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49931         * conform/data/netdb.h-data [XPG3]: Likewise.
49932         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49933         * conform/data/poll.h-data [XPG3]: Likewise.
49934         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49935         * conform/data/strings.h-data [XPG3]: Likewise.
49936         * conform/data/stropts.h-data [XPG3]: Likewise.
49937         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49938         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49939         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49940         Likewise.
49941         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49942         * conform/data/sys/time.h-data [XPG3]: Likewise.
49943         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49944         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49945         * conform/data/sys/un.h-data [XPG3]: Likewise.
49946         * conform/data/syslog.h-data [XPG3]: Likewise.
49947         * conform/data/ucontext.h-data [XPG3]: Likewise.
49948         * conform/data/utmpx.h-data [XPG3]: Likewise.
49949         * conform/data/varargs.h-data [UNIX98]: Enable file.
49951         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49953         * math/libm-test.inc (struct test_f_f_data): Move expected results
49954         into structure for each rounding mode.
49955         (struct test_ff_f_data): Likewise.
49956         (struct test_ff_f_data_nexttoward): Likewise.
49957         (struct test_fi_f_data): Likewise.
49958         (struct test_fl_f_data): Likewise.
49959         (struct test_if_f_data): Likewise.
49960         (struct test_fff_f_data): Likewise.
49961         (struct test_c_f_data): Likewise.
49962         (struct test_f_f1_data): Likewise.
49963         (struct test_fF_f1_data): Likewise.
49964         (struct test_ffI_f1_data): Likewise.
49965         (struct test_c_c_data): Likewise.
49966         (struct test_cc_c_data): Likewise.
49967         (struct test_f_i_data): Likewise.
49968         (struct test_ff_i_data): Likewise.
49969         (struct test_f_l_data): Likewise.
49970         (struct test_f_L_data): Likewise.
49971         (struct test_fFF_11_data): Likewise.
49972         (RM_): New macro.
49973         (RM_FE_DOWNWARD): Likewise.
49974         (RM_FE_TONEAREST): Likewise.
49975         (RM_FE_TOWARDZERO): Likewise.
49976         (RM_FE_UPWARD): Likewise.
49977         (RUN_TEST_LOOP_f_f): Update references to expected results.
49978         (RUN_TEST_LOOP_2_f): Likewise.
49979         (RUN_TEST_LOOP_fff_f): Likewise.
49980         (RUN_TEST_LOOP_c_f): Likewise.
49981         (RUN_TEST_LOOP_f_f1): Likewise.
49982         (RUN_TEST_LOOP_fF_f1): Likewise.
49983         (RUN_TEST_LOOP_fI_f1): Likewise.
49984         (RUN_TEST_LOOP_ffI_f1): Likewise.
49985         (RUN_TEST_LOOP_c_c): Likewise.
49986         (RUN_TEST_LOOP_cc_c): Likewise.
49987         (RUN_TEST_LOOP_f_i): Likewise.
49988         (RUN_TEST_LOOP_f_i_tg): Likewise.
49989         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49990         (RUN_TEST_LOOP_f_b): Likewise.
49991         (RUN_TEST_LOOP_f_b_tg): Likewise.
49992         (RUN_TEST_LOOP_f_l): Likewise.
49993         (RUN_TEST_LOOP_f_L): Likewise.
49994         (RUN_TEST_LOOP_fFF_11): Likewise.
49995         * math/gen-libm-test.pl (parse_args): Output four copies of
49996         expected results for each test.
49998         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49999         (__ASSUME_UTIMES): Remove.
50000         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50001         (__ASSUME_UTIMES): Likewise.
50003         * math/gen-auto-libm-tests.c: Update comment on output format.
50004         (output_for_one_input_case): Generate before-rounding and
50005         after-rounding information as conditions on output flags not
50006         floating-point format.
50007         * math/auto-libm-test-out: Regenerated.
50008         * math/gen-libm-test.pl (cond_value): New function.
50009         (or_cond_value): Use cond_value.
50010         (generate_testfile): Handle conditional exceptions.
50012 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
50014         * math/libm-test.inc (max_valid_error): New variable.
50015         (init_max_error): Take new argument specifying whether function
50016         results are exactly determined.  Set max_valid_error and bound
50017         other variables for errors based on this argument.
50018         (set_max_error): Do not record results above max_valid_error.
50019         (check_float_internal): Only accept errors of up to 0.5ulps if
50020         also at most max_valid_error.
50021         (START): Take new argument EXACT and pass it to init_max_error.
50022         (acos_test): Update call to START.
50023         (acos_test_tonearest): Likewise.
50024         (acos_test_towardzero): Likewise.
50025         (acos_test_downward): Likewise.
50026         (acos_test_upward): Likewise.
50027         (acosh_test): Likewise.
50028         (asin_test): Likewise.
50029         (asin_test_tonearest): Likewise.
50030         (asin_test_towardzero): Likewise.
50031         (asin_test_downward): Likewise.
50032         (asin_test_upward): Likewise.
50033         (asinh_test): Likewise.
50034         (atan_test): Likewise.
50035         (atanh_test): Likewise.
50036         (atan2_test): Likewise.
50037         (cabs_test): Likewise.
50038         (cacos_test): Likewise.
50039         (cacosh_test): Likewise.
50040         (carg_test): Likewise.
50041         (casin_test): Likewise.
50042         (casinh_test): Likewise.
50043         (catan_test): Likewise.
50044         (catanh_test): Likewise.
50045         (cbrt_test): Likewise.
50046         (ccos_test): Likewise.
50047         (ccosh_test): Likewise.
50048         (ceil_test): Likewise.
50049         (cexp_test): Likewise.
50050         (cimag_test): Likewise.
50051         (clog_test): Likewise.
50052         (clog10_test): Likewise.
50053         (conj_test): Likewise.
50054         (copysign_test): Likewise.
50055         (cos_test): Likewise.
50056         (cos_test_tonearest): Likewise.
50057         (cos_test_towardzero): Likewise.
50058         (cos_test_downward): Likewise.
50059         (cos_test_upward): Likewise.
50060         (cosh_test): Likewise.
50061         (cosh_test_tonearest): Likewise.
50062         (cosh_test_towardzero): Likewise.
50063         (cosh_test_downward): Likewise.
50064         (cosh_test_upward): Likewise.
50065         (cpow_test): Likewise.
50066         (cproj_test): Likewise.
50067         (creal_test): Likewise.
50068         (csin_test): Likewise.
50069         (csinh_test): Likewise.
50070         (csqrt_test): Likewise.
50071         (ctan_test): Likewise.
50072         (ctan_test_tonearest): Likewise.
50073         (ctan_test_towardzero): Likewise.
50074         (ctan_test_downward): Likewise.
50075         (ctan_test_upward): Likewise.
50076         (ctanh_test): Likewise.
50077         (ctanh_test_tonearest): Likewise.
50078         (ctanh_test_towardzero): Likewise.
50079         (ctanh_test_downward): Likewise.
50080         (ctanh_test_upward): Likewise.
50081         (erf_test): Likewise.
50082         (erfc_test): Likewise.
50083         (exp_test): Likewise.
50084         (exp_test_tonearest): Likewise.
50085         (exp_test_towardzero): Likewise.
50086         (exp_test_downward): Likewise.
50087         (exp_test_upward): Likewise.
50088         (exp10_test): Likewise.
50089         (exp10_test_tonearest): Likewise.
50090         (exp10_test_towardzero): Likewise.
50091         (exp10_test_downward): Likewise.
50092         (exp10_test_upward): Likewise.
50093         (pow10_test): Likewise.
50094         (exp2_test): Likewise.
50095         (expm1_test): Likewise.
50096         (expm1_test_tonearest): Likewise.
50097         (expm1_test_towardzero): Likewise.
50098         (expm1_test_downward): Likewise.
50099         (expm1_test_upward): Likewise.
50100         (fabs_test): Likewise.
50101         (fdim_test): Likewise.
50102         (floor_test): Likewise.
50103         (fma_test): Likewise.
50104         (fma_test_towardzero): Likewise.
50105         (fma_test_downward): Likewise.
50106         (fma_test_upward): Likewise.
50107         (fmax_test): Likewise.
50108         (fmin_test): Likewise.
50109         (fmod_test): Likewise.
50110         (fpclassify_test): Likewise.
50111         (frexp_test): Likewise.
50112         (hypot_test): Likewise.
50113         (ilogb_test): Likewise.
50114         (isfinite_test): Likewise.
50115         (finite_test): Likewise.
50116         (isgreater_test): Likewise.
50117         (isgreaterequal_test): Likewise.
50118         (isinf_test): Likewise.
50119         (isless_test): Likewise.
50120         (islessequal_test): Likewise.
50121         (islessgreater_test): Likewise.
50122         (isnan_test): Likewise.
50123         (isnormal_test): Likewise.
50124         (issignaling_test): Likewise.
50125         (isunordered_test): Likewise.
50126         (j0_test): Likewise.
50127         (j1_test): Likewise.
50128         (jn_test): Likewise.
50129         (ldexp_test): Likewise.
50130         (lgamma_test): Likewise.
50131         (gamma_test): Likewise.
50132         (lrint_test): Likewise.
50133         (lrint_test_tonearest): Likewise.
50134         (lrint_test_towardzero): Likewise.
50135         (lrint_test_downward): Likewise.
50136         (lrint_test_upward): Likewise.
50137         (llrint_test): Likewise.
50138         (llrint_test_tonearest): Likewise.
50139         (llrint_test_towardzero): Likewise.
50140         (llrint_test_downward): Likewise.
50141         (llrint_test_upward): Likewise.
50142         (log_test): Likewise.
50143         (log10_test): Likewise.
50144         (log1p_test): Likewise.
50145         (log2_test): Likewise.
50146         (logb_test): Likewise.
50147         (logb_test_downward): Likewise.
50148         (lround_test): Likewise.
50149         (llround_test): Likewise.
50150         (modf_test): Likewise.
50151         (nearbyint_test): Likewise.
50152         (nextafter_test): Likewise.
50153         (nexttoward_test): Likewise.
50154         (pow_test): Likewise.
50155         (pow_test_tonearest): Likewise.
50156         (pow_test_towardzero): Likewise.
50157         (pow_test_downward): Likewise.
50158         (pow_test_upward): Likewise.
50159         (remainder_test): Likewise.
50160         (drem_test): Likewise.
50161         (remainder_test_tonearest): Likewise.
50162         (drem_test_tonearest): Likewise.
50163         (remainder_test_towardzero): Likewise.
50164         (drem_test_towardzero): Likewise.
50165         (remainder_test_downward): Likewise.
50166         (drem_test_downward): Likewise.
50167         (remainder_test_upward): Likewise.
50168         (drem_test_upward): Likewise.
50169         (remquo_test): Likewise.
50170         (rint_test): Likewise.
50171         (rint_test_tonearest): Likewise.
50172         (rint_test_towardzero): Likewise.
50173         (rint_test_downward): Likewise.
50174         (rint_test_upward): Likewise.
50175         (round_test): Likewise.
50176         (scalb_test): Likewise.
50177         (scalbn_test): Likewise.
50178         (scalbln_test): Likewise.
50179         (signbit_test): Likewise.
50180         (sin_test): Likewise.
50181         (sin_test_tonearest): Likewise.
50182         (sin_test_towardzero): Likewise.
50183         (sin_test_downward): Likewise.
50184         (sin_test_upward): Likewise.
50185         (sincos_test): Likewise.
50186         (sinh_test): Likewise.
50187         (sinh_test_tonearest): Likewise.
50188         (sinh_test_towardzero): Likewise.
50189         (sinh_test_downward): Likewise.
50190         (sinh_test_upward): Likewise.
50191         (sqrt_test): Likewise.
50192         (sqrt_test_tonearest): Likewise.
50193         (sqrt_test_towardzero): Likewise.
50194         (sqrt_test_downward): Likewise.
50195         (sqrt_test_upward): Likewise.
50196         (tan_test): Likewise.
50197         (tan_test_tonearest): Likewise.
50198         (tan_test_towardzero): Likewise.
50199         (tan_test_downward): Likewise.
50200         (tan_test_upward): Likewise.
50201         (tanh_test): Likewise.
50202         (tgamma_test): Likewise.
50203         (trunc_test): Likewise.
50204         (y0_test): Likewise.
50205         (y1_test): Likewise.
50206         (yn_test): Likewise.
50207         (significand_test): Likewise.
50209         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
50210         individual tests in comment.
50211         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
50212         (prev_max_error): New variable.
50213         (prev_real_max_error): Likewise.
50214         (prev_imag_max_error): Likewise.
50215         (compare_ulp_data): Don't refer to test names in comment.
50216         (find_test_ulps): Remove function.
50217         (find_function_ulps): Likewise.
50218         (find_complex_function_ulps): Likewise.
50219         (init_max_error): Take function name as argument.  Look up ulps
50220         for that function.
50221         (print_ulps): Remove function.
50222         (print_max_error): Use prev_max_error instead of calling
50223         find_function_ulps.
50224         (print_complex_max_error): Use prev_real_max_error and
50225         prev_imag_max_error instead of calling find_complex_function_ulps.
50226         (check_float_internal): Take max_ulp parameter instead of calling
50227         find_test_ulps.  Don't call print_ulps.
50228         (check_float): Update call to check_float_internal.
50229         (check_complex): Update calls to check_float_internal.
50230         (START): Pass argument to init_max_error.
50231         * math/gen-libm-test.pl (%results): Don't include "kind"
50232         information.
50233         (parse_ulps): Don't handle ulps of individual tests.
50234         (print_ulps_file): Likewise.
50235         (output_ulps): Likewise.
50236         * math/README.libm-test: Update.
50237         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
50238         individual tests.
50239         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
50240         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
50241         * sysdeps/arm/libm-test-ulps: Likewise.
50242         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
50243         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
50244         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
50245         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
50246         * sysdeps/microblaze/libm-test-ulps: Likewise.
50247         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
50248         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
50249         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50250         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
50251         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50252         * sysdeps/sh/libm-test-ulps: Likewise.
50253         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50254         * sysdeps/tile/libm-test-ulps: Likewise.
50255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50257 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
50259         * math/libm-test.inc (print_complex_max_error): Check separately
50260         whether real and imaginary errors are within allowed range and
50261         pass 0 to print_complex_function_ulps instead of value within
50262         allowed range.
50264 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50266         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
50267         formatting.
50268         (get_handles_fopen): Likewise.
50269         (do_write_test): Likewise.
50271         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
50273         * libio/fileops.c (do_ftell): Use cached offset when
50274         available.
50275         * libio/iofwide.c (do_ftell_wide): Likewise.
50276         * libio/iofdopen.c (_IO_new_fdopen): Don't use
50277         _IO_file_attach.
50278         * libio/wfileops.c (_IO_fwide): Don't cache offset.
50280         [BZ #16532]
50281         * libio/libioP.h (get_file_offset): New function.
50282         * libio/fileops.c (get_file_offset): Likewise.
50283         (do_ftell): Likewise.
50284         (_IO_new_file_seekoff): Split out ftell logic.
50285         * libio/wfileops.c (do_ftell_wide): Likewise.
50286         (_IO_wfile_seekoff): Split out ftell logic.
50287         * libio/tst-ftell-active-handler.c: New test case.
50288         * libio/Makefile (tests): Add it.
50290 2014-03-03  Roland McGrath  <roland@hack.frob.com>
50292         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
50293         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50295 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50297         [BZ #16639]
50298         * nscd/connections.c (nscd_init): Call do_exit.
50299         (start_threads): Call do_exit and notify_parent.
50300         (begin_drop_privileges): Call do_exit.
50301         (finish_drop_privileges): Likewise.
50302         * nscd/selinux.c (preserve_capabilities): Likewise.
50303         (install_real_capabilities): Likewise.
50304         (nscd_selinux_enabled): Likewise.
50305         (avc_create_thread): Likewise.
50306         (avc_alloc_lock): Likewise.
50307         (nscd_avc_init): Likewise.
50308         * nscd/nscd.c (parent_fd): New static variable.
50309         (main): Create a pipe between parent and child processes.
50310         Skip closing parent_fd.
50311         (monitor_child): New function.
50312         (do_exit): Likewise.
50313         (notify_parent): Likewise.
50314         * nscd/nscd.h (notify_parent): Likewise.
50315         (do_exit): Likewise.
50317 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50319         * malloc/malloc.c (__libc_calloc): Revert last change.
50321 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50325 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50327         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50329         implementation.
50330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50331         (__libc_ifunc_impl_list): Likewise.
50332         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50333         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50334         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50335         * string/strrchr.c: Define STRRCHR.
50337 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50339         * benchtest/bench-strtok.c (simple_strtok): Delete.
50340         (strtok_string): Use as benchmark.
50341         * string/strtok (STRTOK): New macro.
50343 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50345         * manual/threads.texi: Add header and standard comments to all
50346         functions.
50348         * elf/dl-lookup.c (check_match): New function.
50349         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50350         (do_lookup_x): Remove nested function check_match. Use non-nested
50351         function check_match.
50353 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50355         * csu/Makefile (generated, before-compile): Use += rather than =.
50356         * catgets/Makefile (generated, generated-dirs): Likewise.
50357         * debug/Makefile (generated): Likewise.
50358         * dlfcn/Makefile (generated): Likewise.
50359         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50360         * iconvdata/Makefile (before-compile, generated): Likewise.
50361         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50362         * libio/Makefile (generated): Likewise.
50363         * malloc/Makefile (generated): Likewise.
50364         * manual/Makefile (generated, generated-dirs): Likewise.
50365         * misc/Makefile (generated): Likewise.
50366         * posix/Makefile (generated): Likewise.
50367         * resolv/Makefile (generated): Likewise.
50368         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50369         * timezone/Makefile (generated, generated-dirs): Likewise.
50371         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50373 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50375         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50376         power8 implementation.
50377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50378         file: POWER8 llround ifunc implementation.
50379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50380         (__lllround): Add POWER8 implementation.
50381         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50382         POWER8 llround implementation.
50384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50385         power8 implementation.
50386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50387         file: POWER8 llrint ifunc implementation.
50388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50389         Add POWER8 implementation.
50390         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50391         POWER8 llrint implementation.
50393         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50394         power8 implementation.
50395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50396         file: POWER8 finite ifunc implementation.
50397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50398         Add POWER8 implementation.
50399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50400         Likewise.
50401         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50402         POWER8 finite implementation.
50403         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50406         power8 implementation.
50407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50408         file: POWER8 isinf ifunc implementation.
50409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50410         POWER8 implementation.
50411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50412         Likewise.
50413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50414         isinf implementation.
50415         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50417         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50418         (INIT_ARCH): Add hwcap2 initialization.
50419         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50420         power8 implementation.
50421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50422         file: POWER8 isnan ifunc implementation.
50423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50424         POWER8 implementation.
50425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50426         Likewise.
50427         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50428         isnan implementation.
50429         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50431 2014-02-27  Joey Ye  <joey.ye@arm.com>
50433         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50434         (_FP_NANFRAC_Q): Set to zero.
50436 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50438         [BZ #16623]
50439         * math/auto-libm-test-in: New test inputs.
50440         * math/auto-libm-test-out: Regenerate.
50441         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50442         and DA.
50443         (__cos): Likewise.
50444         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50446 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50448         * scripts/evaluate-test.sh: Take new argument indicating whether
50449         failure is expected.
50450         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50451         indicating whether failure is expected.
50452         * conform/Makefile (test-xfail-run-conformtest): New variable.
50453         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50454         level.
50455         * posix/Makefile (test-xfail-annexc): New variable.
50456         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50458 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50460         * argp/Makefile: Include Makeconfig immediately after defining
50461         subdir.
50462         * assert/Makefile: Likewise.
50463         * benchtests/Makefile: Likewise.
50464         * catgets/Makefile: Likewise.
50465         * conform/Makefile: Likewise.
50466         * crypt/Makefile: Likewise.
50467         * csu/Makefile: Likewise.
50468         (all): Remove target.
50469         * ctype/Makefile: Include Makeconfig immediately after defining
50470         subdir.
50471         * debug/Makefile: Likewise.
50472         * dirent/Makefile: Likewise.
50473         * dlfcn/Makefile: Likewise.
50474         * gmon/Makefile: Likewise.
50475         * gnulib/Makefile: Likewise.
50476         * grp/Makefile: Likewise.
50477         * gshadow/Makefile: Likewise.
50478         * hesiod/Makefile: Likewise.
50479         * hurd/Makefile: Likewise.
50480         (all): Remove target.
50481         * iconvdata/Makefile: Include Makeconfig immediately after
50482         defining subdir.
50483         * inet/Makefile: Likewise.
50484         * intl/Makefile: Likewise.
50485         * io/Makefile: Likewise.
50486         * libio/Makefile: Likewise.
50487         (all): Remove target.
50488         * locale/Makefile: Include Makeconfig immediately after defining
50489         subdir.
50490         * login/Makefile: Likewise.
50491         * mach/Makefile: Likewise.
50492         (all): Remove target.
50493         * malloc/Makefile: Include Makeconfig immediately after defining
50494         subdir.
50495         (all): Remove target.
50496         * manual/Makefile: Include Makeconfig immediately after defining
50497         subdir.
50498         * math/Makefile: Likewise.
50499         * misc/Makefile: Likewise.
50500         * nis/Makefile: Likewise.
50501         * nss/Makefile: Likewise.
50502         * po/Makefile: Likewise.
50503         (all): Remove target.
50504         * posix/Makefile: Include Makeconfig immediately after defining
50505         subdir.
50506         * pwd/Makefile: Likewise.
50507         * resolv/Makefile: Likewise.
50508         * resource/Makefile: Likewise.
50509         * rt/Makefile: Likewise.
50510         * setjmp/Makefile: Likewise.
50511         * shadow/Makefile: Likewise.
50512         * signal/Makefile: Likewise.
50513         * socket/Makefile: Likewise.
50514         * soft-fp/Makefile: Likewise.
50515         * stdio-common/Makefile: Likewise.
50516         * stdlib/Makefile: Likewise.
50517         * streams/Makefile: Likewise.
50518         * string/Makefile: Likewise.
50519         * sunrpc/Makefile: Likewise.
50520         (all): Remove target.
50521         * sysvipc/Makefile: Include Makeconfig immediately after defining
50522         subdir.
50523         * termios/Makefile: Likewise.
50524         * time/Makefile: Likewise.
50525         * timezone/Makefile: Likewise.
50526         (all): Remove target.
50527         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50528         subdir.
50529         * wctype/Makefile: Likewise.
50531 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50533         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50534         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50535         (libc_feholdexcept_setround_mips): Ditto.
50536         (libc_feholdsetround): New.
50537         (libc_feholdsetroundf): New.
50538         (libc_feholdsetroundl): New.
50539         (libc_feupdateenv_test_mips): New.
50540         (libc_feupdateenv_test): New.
50541         (libc_feupdateenv_testf): New.
50542         (libc_feupdateenv_testl): New.
50543         (libc_feresetround): New.
50544         (libc_feresetroundf): New.
50545         (libc_feresetroundl): New.
50546         (libc_fetestexcept_mips): New.
50547         (libc_fetestexcept): New.
50548         (libc_fetestexceptf): New.
50549         (libc_fetestexceptl): New.
50550         (HAVE_RM_CTX): New.
50551         (libc_feholdexcept_setround_mips_ctx): New.
50552         (libc_feholdexcept_setround_ctx): New.
50553         (libc_feholdexcept_setroundf_ctx): New.
50554         (libc_feholdexcept_setroundl_ctx): New.
50555         (libc_fesetenv_mips_ctx): New.
50556         (libc_fesetenv_ctx): New.
50557         (libc_fesetenv_ctxf): New.
50558         (libc_fesetenv_ctxl): New.
50559         (libc_feupdateenv_mips_ctx): New.
50560         (libc_feupdateenv_ctx): New.
50561         (libc_feupdateenvf_ctx): New.
50562         (libc_feupdateenvl_ctx): New.
50563         (libc_feholdsetround_mips_ctx): New.
50564         (libc_feholdsetround_ctx): New.
50565         (libc_feholdsetroundf_ctx): New.
50566         (libc_feholdsetroundl_ctx): New.
50567         (libc_feresetround_mips_ctx): New.
50568         (libc_feresetround_ctx): New.
50569         (libc_feresetroundf_ctx): New.
50570         (libc_feresetroundl_ctx): New.
50572 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50574         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50576         * manual/ipc.texi: New file.
50577         * manual/Makefile (chapters): Add ipc.
50578         * manual/job.texi: Add "Inter-Process Communication" to next.
50579         * manual/process.texi: Add "Inter-Process Communication" to prev.
50581 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50585 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50587         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50589         * manual/arith.texi: Fix spaces after sentences.
50590         * manual/charset.texi: Likewise.
50591         * manual/errno.texi: Likewise.
50592         * manual/install.texi: Likewise.
50593         * manual/llio.texi: Likewise.
50594         * manual/locale.texi: Likewise.
50595         * manual/maint.texi: Likewise.
50596         * manual/math.texi: Likewise.
50597         * manual/memory.texi: Likewise.
50598         * manual/message.texi: Likewise.
50599         * manual/probes.texi: Likewise.
50600         * manual/resource.texi: Likewise.
50601         * manual/signal.texi: Likewise.
50602         * manual/socket.texi: Likewise.
50603         * manual/stdio.texi: Likewise.
50604         * manual/string.texi: Likewise.
50605         * manual/time.texi: Likewise.
50606         * manual/users.texi: Likewise.
50608 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50610         [BZ #16632]
50611         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50612         _DEFAULT_SOURCE is defined.
50614 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50615             Carlos O'Donell  <carlos@redhat.com>
50617         [BZ #16613]
50618         * elf/dl-tls.c (_dl_count_modids): New function.
50619         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50620         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50621         audit library and increment generation counter.
50622         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50623         * elf/tst-audit9.c: New file.
50624         * elf/tst-auditmod9a.c: New file.
50625         * elf/tst-auditmod9b.c: New file.
50626         * elf/Makefile: Add rules to build and run tst-audit9.
50628 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50630         [BZ #15347]
50631         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50633 2014-02-25  Will Newton  <will.newton@linaro.org>
50635         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50636         (__longjmp): Restore sp and lr before restoring callee
50637         saved registers.  Add longjmp and longjmp_target
50638         SystemTap probe point.
50639         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50640         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50641         Define to zero to match jmpbuf layout.
50642         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50643         (__sigsetjmp): Save sp and lr before saving callee
50644         saved registers.  Add setjmp SystemTap probe point.
50646 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50648         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50650 2014-02-24  Andreas Schwab  <schwab@suse.de>
50652         [BZ #15804]
50653         * elf/pldd.c (wait_for_ptrace_stop): New function.
50654         (main): Call it after attaching.
50656 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50658         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50659         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50660         Versions files is now verboten.
50661         * hurd/Versions (libc: GLIBC_2.0):
50662         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50663         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50664         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50665         * mach/Versions: Likewise.
50667         * csu/Versions: Remove unused %include.
50668         * resolv/Versions: Likewise.
50670 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50672         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50673         ($(objpfx)check-local-headers.out): Likewise.
50674         ($(objpfx)begin-end-check.out): Likewise.
50675         * Makerules (check-abi-%.out): Likewise.
50676         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50677         ($(objpfx)test2.cat): Likewise.
50678         ($(objpfx)de/libc.cat): Likewise.
50679         ($(objpfx)test-gencat.out): Likewise.
50680         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50681         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50682         ($(objpfx)noload-mem): Likewise.
50683         ($(objpfx)tst-pathopt.out): Likewise.
50684         ($(objpfx)tst-rtld-load-self.out): Likewise.
50685         ($(objpfx)tst-array1-cmp.out): Likewise.
50686         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50687         ($(objpfx)tst-array2-cmp.out): Likewise.
50688         ($(objpfx)tst-array3-cmp.out): Likewise.
50689         ($(objpfx)tst-array4-cmp.out): Likewise.
50690         ($(objpfx)tst-array5-cmp.out): Likewise.
50691         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50692         ($(objpfx)check-textrel.out): Likewise.
50693         ($(objpfx)check-execstack.out): Likewise.
50694         ($(objpfx)check-localplt.out): Likewise.
50695         ($(objpfx)order2-cmp.out): Likewise.
50696         ($(objpfx)tst-leaks1-mem): Likewise.
50697         ($(objpfx)tst-leaks1-static-mem): Likewise.
50698         ($(objpfx)tst-initorder-cmp.out): Likewise.
50699         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50700         ($(objpfx)tst-unused-dep.out): Likewise.
50701         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50702         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50703         * iconv/Makefile (test-iconvconfig): Likewise.
50704         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50705         ($(objpfx)iconv-test.out): Likewise.
50706         ($(objpfx)tst-tables.out): Likewise.
50707         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50708         ($(objpfx)tst-gettext.out): Likewise.
50709         ($(objpfx)tst-translit.out): Likewise.
50710         ($(objpfx)tst-gettext2.out): Likewise.
50711         ($(objpfx)tst-gettext4.out): Likewise.
50712         ($(objpfx)tst-gettext6.out): Likewise.
50713         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50714         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50715         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50716         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50717         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50718         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50719         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50720         ($(objpfx)wordexp-tst.out): Likewise.
50721         ($(objpfx)annexc.out): Likewise.
50722         ($(objpfx)tst-fnmatch-mem): Likewise.
50723         ($(objpfx)bug-regex2-mem): Likewise.
50724         ($(objpfx)bug-regex14-mem): Likewise.
50725         ($(objpfx)bug-regex21-mem): Likewise.
50726         ($(objpfx)bug-regex31-mem): Likewise.
50727         ($(objpfx)tst-vfork3-mem): Likewise.
50728         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50729         ($(objpfx)tst-pcre-mem): Likewise.
50730         ($(objpfx)tst-boost-mem): Likewise.
50731         ($(objpfx)tst-getconf.out): Likewise.
50732         ($(objpfx)bug-ga2-mem): Likewise.
50733         ($(objpfx)bug-glob2-mem): Likewise.
50734         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50735         ($(objpfx)mtrace-tst-leaks2): Likewise.
50736         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50737         ($(objpfx)tst-printf.out): Likewise.
50738         ($(objpfx)tst-setvbuf1.out): Likewise.
50739         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50740         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50741         ($(objpfx)tst-fmtmsg.out): Likewise.
50742         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50743         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50745         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50746         * bits/sigaction.h [__USE_MISC]: Likewise.
50747         * bits/waitstatus.h: Update #endif comments.
50748         * ctype/ctype.h: Likewise.
50749         * dirent/dirent.h: Likewise.
50750         [__USE_MISC]: Remove redundant conditionals.
50751         * grp/grp.h: Update #endif comments.
50752         [__USE_GNU]: Remove redundant conditionals.
50753         [__USE_MISC]: Likewise.
50754         * inet/netinet/in.h [__USE_GNU]: Likewise.
50755         * io/sys/stat.h [__USE_MISC]: Likewise.
50756         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50757         * libio/bits/stdio.h: Update #endif comments.
50758         [__USE_MISC]: Remove redundant conditionals.
50759         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50760         * libio/stdio.h: Update #endif comments.
50761         [__USE_MISC]: Remove redundant conditionals.
50762         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50763         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50764         * math/math.h: Update #else and #endif comments.
50765         [__USE_MISC]: Remove redundant conditionals.
50766         * misc/sys/uio.h: Update #endif comments.
50767         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50768         * posix/glob.h [__USE_MISC]: Likewise.
50769         * posix/sys/types.h: Update #endif comments.
50770         [__USE_MISC]: Remove redundant conditionals.
50771         * posix/sys/wait.h: Update #endif comments.
50772         [__USE_MISC]: Remove redundant conditionals.
50773         * posix/unistd.h: Update #endif comments.
50774         [__USE_MISC]: Remove redundant conditionals.
50775         * pwd/pwd.h [__USE_GNU]: Likewise.
50776         [__USE_MISC]: Likewise.
50777         * resolv/netdb.h [__USE_GNU]: Likewise.
50778         * signal/signal.h: Update #endif comments.
50779         [__USE_MISC]: Remove redundant conditionals.
50780         * stdlib/stdlib.h: Update #else and #endif comments.
50781         [__USE_MISC]: Remove redundant conditionals.
50782         [__USE_GNU]: Likewise.
50783         * string/bits/string2.h [__USE_MISC]: Likewise.
50784         * string/string.h: Update #endif comments.
50785         [__USE_MISC]: Remove redundant conditionals.
50786         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50787         Likewise.
50788         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50789         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50790         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50791         Likewise.
50792         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50793         Likewise.
50794         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50795         comments.
50796         [__USE_MISC]: Remove redundant conditionals.
50797         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50798         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50799         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50800         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50801         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50802         Likewise.
50803         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50804         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50805         Likewise.
50806         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50807         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50808         Likewise.
50809         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50810         Likewise.
50811         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50812         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50813         Likewise.
50814         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50815         Likewise.
50816         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50817         * sysdeps/x86/bits/string.h: Update #endif comments.
50818         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50819         conditionals.
50820         * time/sys/time.h: Update #endif comments.
50821         * time/time.h: Likewise.
50822         [__USE_MISC]: Remove redundant conditionals.
50824 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50826         [BZ #16600]
50827         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50829 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50831         * Versions.def (librt): Add GLIBC_2.17.
50833 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50835         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50836         synonym for _SYS_AUXV_H to allow direct inclusion.
50837         * sysdeps/sparc/bits/hwcap.h: Likewise.
50838         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50839         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50840         * sysdeps/sparc/sysdep.h: Likewise.
50842 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50844         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50846 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50848         * benchtests/bench-strrchr.c: Print length instead of position.
50850 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50852         [BZ #16611]
50853         * sysdeps/unix/sysv/linux/kernel-features.h
50854         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50855         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50856         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50857         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50858         Likewise.
50859         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50860         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50861         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50862         (__ASSUME_SENDMMSG): Define instead of using previous
50863         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50864         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50865         (__ASSUME_SENDMMSG_SYSCALL): Define.
50866         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50867         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50868         Likewise.
50869         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50870         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50871         Likewise.
50872         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50873         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50874         Likewise.
50875         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50876         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50877         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50878         [__ASSUME_SENDMMSG]: Change conditionals to
50879         [__ASSUME_SENDMMSG_SOCKETCALL].
50880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50881         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50882         Define.
50883         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50884         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50885         Likewise.
50886         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50887         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50888         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50889         [!__ASSUME_SENDMMSG]: Change conditional to
50890         [!__ASSUME_SENDMMSG_SOCKETCALL].
50891         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50892         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50893         Define.
50895         [BZ #16610]
50896         * sysdeps/unix/sysv/linux/kernel-features.h
50897         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50898         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50899         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50900         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50901         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50902         [__i386__ || __sparc__]
50903         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50904         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50905         (__ASSUME_RECVMMSG): Define instead of using previous
50906         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50907         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50908         (__ASSUME_RECVMMSG_SYSCALL): Define.
50909         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50910         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50911         Likewise.
50912         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50913         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50914         Likewise.
50915         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50916         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50917         Likewise.
50918         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50919         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50920         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50921         [__ASSUME_RECVMMSG]: Change condition to
50922         [__ASSUME_RECVMMSG_SOCKETCALL].
50923         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50924         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50925         Define.
50926         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50927         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50928         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50929         Likewise.
50930         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50931         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50932         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50933         [!__ASSUME_RECVMMSG]: Change condition to
50934         [!__ASSUME_RECVMMSG_SOCKETCALL].
50935         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50936         (__ASSUME_RECVMMSG_SYSCALL): Define.
50938         [BZ #16609]
50939         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50940         __powerpc__ || __s390__ || __sh__ || __sparc__]
50941         (__ASSUME_SOCKETCALL): Define.
50942         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50943         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50944         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50945         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50946         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50947         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50948         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50949         (__ASSUME_ACCEPT4): Define instead of using previous
50950         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50951         __powerpc__ || __sparc__ || __s390__)] condition.
50952         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50953         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50954         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50955         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50956         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50957         [!__ASSUME_ACCEPT4]: Change condition to
50958         [!__ASSUME_ACCEPT4_SOCKETCALL].
50959         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50960         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50961         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50962         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50963         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50964         __ASSUME_ACCEPT4_SYSCALL.
50965         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50966         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50967         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50968         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50969         __ASSUME_ACCEPT4_SYSCALL.
50970         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50971         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50972         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50973         [__ASSUME_ACCEPT4]: Change condition to
50974         [__ASSUME_ACCEPT4_SOCKETCALL].
50975         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50976         (__ASSUME_SOCKETCALL): Define.
50977         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50978         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50979         (__ASSUME_SOCKETCALL): Define.
50980         (__ASSUME_ACCEPT4): Remove.
50981         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50982         Define.
50983         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50984         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50985         Likewise.
50986         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50987         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50989         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50990         macro.
50991         (HWCAP_ARM_LPAE): Likewise.
50992         (HWCAP_ARM_EVTSTRM): Likewise.
50993         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50994         Add vpfd32, lpae and evtstrm.
50995         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50996         Increase to 22.
50998 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
51000         * math/auto-libm-test-in: Add tests of clog10.
51001         * math/auto-libm-test-out: Regenerated.
51002         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
51003         * sysdeps/i386/fpu/libm-test-ulps: Update.
51004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51006 2014-02-18  Andreas Schwab  <schwab@suse.de>
51008         [BZ #16574]
51009         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
51010         Store non-zero if the second buffer was newly allocated.
51011         (send_dg): Likewise.
51012         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
51013         to send_vc and send_dg.
51014         (res_nsend): Pass NULL for ansp2_malloced.
51015         * resolv/res_query.c (__libc_res_nquery): Add parameter
51016         answerp2_malloced and pass it down to __libc_res_nsend.
51017         (res_nquery): Pass additional NULL to __libc_res_nquery.
51018         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
51019         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
51020         second answer buffer if answerp2_malloced was set.
51021         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
51022         (__libc_res_nquerydomain): Add parameter
51023         answerp2_malloced and pass it down to __libc_res_nquery.
51024         (res_nquerydomain): Pass additional NULL to
51025         __libc_res_nquerydomain.
51026         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
51027         additional NULL to __libc_res_nsend and __libc_res_nquery.
51028         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
51029         additional NULL to __libc_res_nsearch.
51030         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
51031         parameter of __libc_res_nsearch to check for separately allocated
51032         second buffer.
51033         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
51034         __libc_res_nquery.
51035         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
51036         additional NULL to __libc_res_nquery.
51037         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
51038         __libc_res_nsearch.
51039         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
51040         * include/resolv.h: Update prototypes of __libc_res_nquery,
51041         __libc_res_nsearch, __libc_res_nsend.
51043 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
51045         * math/auto-libm-test-in: Add tests of fma.
51046         * math/auto-libm-test-out: Regenerated.
51047         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
51048         (fma_towardzero_test_data): Likewise.
51049         (fma_downward_test_data): Likewise.
51050         (fma_upward_test_data): Likewise.
51051         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
51052         mpc_mode.
51053         (rounding_modes): Add values for new field.
51054         (func_calc_method): Add value mpfr_fff_f.
51055         (func_calc_desc): Add mpfr_fff_f union field.
51056         (test_function): Add field exact_args.
51057         (FUNC): Add macro argument EXACT_ARGS.
51058         (FUNC_mpfr_f_f): Update call to FUNC.
51059         (FUNC_mpfr_f_f): Likewise.
51060         (FUNC_mpfr_ff_f): Likewise.
51061         (FUNC_mpfr_if_f): Likewise.
51062         (FUNC_mpc_c_f): Likewise.
51063         (FUNC_mpc_c_c): Likewise.
51064         (test_functions): Add fma.  Update calls to FUNC.
51065         (handle_input_arg): Add argument exact_args.
51066         (add_test): Update call to handle_input_arg.
51067         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
51068         (output_for_one_input_case): Update call to calc_generic_results.
51069         Recalculate exact zero results in each rounding mode.
51071         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
51072         non-negative before setting low bit.
51073         * math/auto-libm-test-in: Mark one asin test possibly having
51074         spurious underflow.
51075         * math/auto-libm-test-out: Regenerated.
51076         * sysdeps/i386/fpu/libm-test-ulps: Update.
51077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51079 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
51081         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
51082         * sysdeps/unix/sysv/linux/microblaze: Move directory from
51083         ports/sysdeps/unix/sysv/linux/microblaze.
51084         * README: Add missing listing for microblaze*-*-linux-gnu.
51086 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
51088         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
51089         duplicate code
51091 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
51093         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
51094         * sysdeps/unix/sysv/linux/ia64: Move directory from
51095         ports/sysdeps/unix/sysv/linux/ia64.
51096         * README: Update listing for ia64-*-linux-gnu.
51098 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
51099             Joseph Myers  <joseph@codesourcery.com>
51101         * Makeconfig (test-name): New variable.
51102         (evaluate-test): Likewise.
51103         * Makerules (do-test-clean): Remove .test-result files.
51104         (common-mostlyclean): Likewise.
51105         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
51106         * scripts/evaluate-test.sh: New file.
51108 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
51110         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
51111         separate $(objpfx)tst-fopenloc-cmp.out and
51112         $(objpfx)tst-fopenloc-mem.out targets.
51113         (tests): Update dependencies.
51114         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
51115         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
51116         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
51117         (tst-rxspencer-no-utf8-ARGS): New variable.
51118         (tst-rxspencer-no-utf8-ENV): Likewise.
51119         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
51120         instead of $(objpfx)tst-rxspencer-mem.
51121         ($(objpfx)tst-rxspencer-mem): Change target to
51122         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
51123         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
51124         * posix/tst-rxspencer-no-utf8.c: New file.
51126         * elf/Makefile ($(objpfx)order.out): Remove rule.
51127         [$(run-built-tests) = yes] (tests): Depend on
51128         $(objpfx)order-cmp.out.
51129         ($(objpfx)order-cmp.out): New rule.
51130         [$(run-built-tests) = yes] (tests): Depend on
51131         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
51132         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
51133         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
51134         $(objpfx)tst-array5-static-cmp.out.
51135         ($(objpfx)tst-array1.out): Remove rule.
51136         ($(objpfx)tst-array1-cmp.out): New rule.
51137         ($(objpfx)tst-array1-static.out): Remove rule.
51138         ($(objpfx)tst-array1-static-cmp.out): New rule.
51139         ($(objpfx)tst-array2.out): Remove rule.
51140         ($(objpfx)tst-array2-cmp.out): New rule.
51141         ($(objpfx)tst-array3.out): Remove rule.
51142         ($(objpfx)tst-array3-cmp.out): New rule.
51143         ($(objpfx)tst-array4.out): Remove rule.
51144         ($(objpfx)tst-array4-cmp.out): New rule.
51145         ($(objpfx)tst-array5.out): Remove rule.
51146         ($(objpfx)tst-array5-cmp.out): New rule.
51147         ($(objpfx)tst-array5-static.out): Remove rule.
51148         ($(objpfx)tst-array5-static-cmp.out): New rule.
51149         [$(run-built-tests) = yes] (tests): Depend on
51150         $(objpfx)order2-cmp.out.
51151         ($(objpfx)order2.out): Remove rule.
51152         ($(objpfx)order2-cmp.out): New rule.
51153         ($(objpfx)tst-initorder.out): Remove rule.
51154         [$(run-built-tests) = yes] (tests): Depend on
51155         $(objpfx)tst-initorder-cmp.out.
51156         ($(objpfx)tst-initorder-cmp.out): New rule.
51157         ($(objpfx)tst-initorder2.out): Remove rule.
51158         [$(run-built-tests) = yes] (tests): Depend on
51159         $(objpfx)tst-initorder2-cmp.out.
51160         ($(objpfx)tst-initorder2-cmp.out): New rule.
51161         [$(run-built-tests) = yes] (tests): Depend on
51162         $(objpfx)tst-unused-dep-cmp.out.
51163         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
51164         ($(objpfx)tst-unused-dep-cmp.out): New rule.
51165         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
51166         on $(objpfx)tst-setvbuf1-cmp.out.
51167         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
51168         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
51169         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
51170         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
51171         ($(objpfx)tst-svc.out): Remove rule.
51172         ($(objpfx)tst-svc-cmp.out): New rule.
51174 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
51176         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
51177         * ctype/ctype.h [__USE_MISC]: Likewise.
51178         * dirent/dirent.h [__USE_MISC]: Likewise.
51179         * grp/grp.h [__USE_MISC]: Likewise.
51180         * io/fcntl.h [__USE_MISC]: Likewise.
51181         * io/sys/stat.h [__USE_MISC]: Likewise.
51182         * libio/stdio.h [__USE_MISC]: Likewise.
51183         * posix/unistd.h [__USE_MISC]: Likewise.
51184         * pwd/pwd.h [__USE_MISC]: Likewise.
51185         * stdlib.h [__USE_MISC]: Likewise.
51186         * string/bits/string2.h [__USE_MISC]: Likewise.
51187         * string/string.h [__USE_MISC]: Likewise.
51188         * time/time.h [__USE_MISC]: Likewise.
51190 2014-02-13  Andreas Schwab  <schwab@suse.de>
51192         [BZ #16574]
51193         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
51194         second answer buffer if it was separately allocated.
51196 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
51198         * sysdeps/mips/math-tests.h: Include <features.h>.
51199         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51200         (ROUNDING_TESTS_long_double): Do not define.
51201         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51202         (EXCEPTION_TESTS_long_double): Likewise.
51203         * sysdeps/mips/mips64/libm-test-ulps: Update.
51205         * include/features.h (__USE_BSD): Remove macro definitions.
51206         (__USE_SVID): Likewise.
51207         (_BSD_SOURCE): Likewise.
51208         (_SVID_SOURCE): Likewise.
51209         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
51210         from definition of _DEFAULT_SOURCE.
51211         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
51212         [_DEFAULT_SOURCE].
51213         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
51214         * bits/mman.h [__USE_BSD]: Likewise.
51215         * bits/termios.h [__USE_BSD]: Likewise.
51216         * bits/waitstatus.h [__USE_BSD]: Likewise.
51217         * ctype/ctype.h [__USE_SVID]: Likewise.
51218         * dirent/dirent.h [__USE_BSD]: Likewise.
51219         * grp/grp.h [__USE_SVID]: Likewise.
51220         [__USE_BSD]: Likewise.
51221         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
51222         * io/fcntl.h [__USE_BSD]: Likewise.
51223         * io/ftw.h [__USE_BSD]: Likewise.
51224         * io/sys/stat.h [__USE_BSD]: Likewise.
51225         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
51226         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
51227         * libio/stdio.h [__USE_SVID]: Likewise.
51228         [__USE_BSD]: Likewise.
51229         * math/math.h [__USE_SVID]: Likewise.
51230         [__USE_BSD]: Likewise.
51231         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
51232         * misc/bits/syslog.h [__USE_BSD]: Likewise.
51233         * misc/search.h [__USE_SVID]: Likewise.
51234         * misc/sys/mman.h [__USE_BSD]: Likewise.
51235         * misc/sys/syslog.h [__USE_BSD]: Likewise.
51236         * misc/sys/uio.h [__USE_BSD]: Likewise.
51237         * posix/bits/unistd.h [__USE_BSD]: Likewise.
51238         * posix/glob.h [__USE_BSD]: Likewise.
51239         * posix/regex.h [__USE_BSD]: Likewise.
51240         * posix/sys/types.h [__USE_BSD]: Likewise.
51241         [__USE_SVID]: Likewise.
51242         * posix/sys/utsname.h [__USE_SVID]: Likewise.
51243         * posix/sys/wait.h [__USE_BSD]: Likewise.
51244         [__USE_SVID]: Likewise.
51245         * posix/unistd.h [__USE_BSD]: Likewise.
51246         [__USE_SVID]: Likewise.
51247         * pwd/pwd.h [__USE_SVID]: Likewise.
51248         * resolv/netdb.h [__USE_BSD]: Likewise.
51249         * setjmp/setjmp.h [__USE_BSD]: Likewise.
51250         * signal/signal.h [__USE_BSD]: Likewise.
51251         [__USE_SVID]: Likewise.
51252         * socket/sys/socket.h [__USE_BSD]: Likewise.
51253         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
51254         * stdlib/stdlib.h [__USE_BSD]: Likewise.
51255         [__USE_SVID]: Likewise.
51256         * string/bits/string2.h [__USE_BSD]: Likewise.
51257         [__USE_SVID]: Likewise.
51258         * string/bits/string3.h [__USE_BSD]: Likewise.
51259         * string/endian.h [__USE_BSD]: Likewise.
51260         * string/string.h [__USE_SVID]: Likewise.
51261         [__USE_BSD]: Likewise.
51262         * string/strings.h [__USE_BSD]: Likewise.
51263         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
51264         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
51265         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
51266         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
51267         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
51268         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
51269         Likewise.
51270         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
51271         Likewise.
51272         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
51273         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
51274         Likewise.
51275         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
51276         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
51277         Likewise.
51278         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
51279         Likewise.
51280         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
51281         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
51282         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
51283         Likewise.
51284         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
51285         Likewise.
51286         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
51287         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
51288         * termios/termios.h [__USE_BSD]: Likewise.
51289         * time/sys/time.h [__USE_BSD]: Likewise.
51290         * time/time.h [__USE_BSD]: Likewise.
51291         [__USE_SVID]: Likewise.
51293         * Makefile (subdir_targets): Remove subdir_lint.out.
51295         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51296         (do-tst-printf): Likewise.
51297         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51298         $(objpfx)tst-printf.out.
51300         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51302         * Makerules (check-abi-%): Change target to
51303         $(objpfx)check-abi-%.out.
51304         (check-abi target): Update dependencies.
51305         (check-abi-pattern variable): Redirect output of diff to $@.
51306         (check-abi variable): Likewise.
51307         * elf/Makefile (check-abi): Update dependencies.
51309         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51310         unused.
51311         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51312         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51313         subnormal range.
51314         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51315         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51316         value has largest subnormal exponent.
51317         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51318         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51319         * sysdeps/aarch64/soft-fp/sfp-machine.h
51320         (_FP_TININESS_AFTER_ROUNDING): New macro.
51321         * sysdeps/alpha/soft-fp/sfp-machine.h
51322         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51323         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51324         Likewise.
51325         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51326         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51327         * sysdeps/mips/soft-fp/sfp-machine.h
51328         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51329         * sysdeps/powerpc/soft-fp/sfp-machine.h
51330         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51331         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51332         Likewise.
51333         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51334         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51335         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51336         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51337         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51338         Likewise.
51340 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51342         [BZ #16545]
51343         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51344         model 1.
51346 2014-02-12  Richard Henderson  <rth@redhat.com>
51348         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51349         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51350         * sysdeps/unix/sysv/linux/alpha: Move directory from
51351         ports/sysdeps/unix/sysv/linux/alpha.
51352         * README: Update listing for alpha-*-linux-gnu.
51354 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51356         * include/features.h: Update comment documenting feature test
51357         macros.
51358         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51359         _DEFAULT_SOURCE.
51360         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51361         (_SVID_SOURCE): Likewise.
51362         (_DEFAULT_SOURCE): Update description of default features.
51363         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51364         with _GNU_SOURCE.
51365         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51366         (S_ISVTX): Likewise.
51367         * manual/math.texi (Mathematical Constants): Likewise.
51368         * manual/signal.texi (Interrupted Primitives): Likewise.
51369         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51370         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51371         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51372         Don't refer to _SVID_SOURCE in warning text.
51374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51376         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51377         already defined.
51378         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51379         * sysdeps/mips/dl-lookup.c: Remove.
51380         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51382 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51384         [BZ #16447]
51385         * math/auto-libm-test-in: Add testcase for expl.
51386         * math/auto-libm-test-out: Regenerate.
51387         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51388         calculation of unsafe.
51389         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51391 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51393         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51394         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51395         ports/sysdeps/unix/sysv/linux/aarch64.
51396         * README: Update listing for aarch64*-*-linux-gnu.
51398 2014-02-11  Will Newton  <will.newton@linaro.org>
51400         * manual/probes.texi (Mathematical Function Probes): Use
51401         "triggered" instead of "hit".
51403         * manual/probes.texi (Internal Probes): Add documentation
51404         of setjmp, longjmp and longjmp_target probes.
51406         * include/stap-probe.h: Add comment about probe argument
51407         format.
51409         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51410         definition.  (tr_where, tr_freehook, tr_mallochook,
51411         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51413 2014-02-11  David S. Miller  <davem@davemloft.net>
51415         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51416         processing int_tests.
51418 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51420         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51421         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51422         * sysdeps/unix/sysv/linux/mips: Move directory from
51423         ports/sysdeps/unix/sysv/linux/mips.
51424         * README: Update listing for mips-*-linux-gnu and
51425         mips64-*-linux-gnu.
51427 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51429         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51430         * sysdeps/unix/sysv/linux/m68k: Move directory from
51431         ports/sysdeps/unix/sysv/linux/m68k.
51432         * README: Update listing for m68k-*-linux-gnu.
51434 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51436         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51437         * sysdeps/unix/sysv/linux/generic: Move directory from
51438         ports/sysdeps/unix/sysv/linux/generic.
51439         * sysdeps/unix/sysv/linux/tile: Move directory from
51440         ports/sysdeps/unix/sysv/linux/tile.
51441         * README: Update listing for tile*-*-linux-gnu.
51443 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51445         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51446         __builtin_expect.
51447         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51448         * catgets/open_catalog.c (__open_catalog): Likewise.
51449         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51450         * debug/confstr_chk.c: Likewise.
51451         * debug/fread_chk.c (__fread_chk): Likewise.
51452         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51453         * debug/getgroups_chk.c: Likewise.
51454         * debug/mbsnrtowcs_chk.c: Likewise.
51455         * debug/mbsrtowcs_chk.c: Likewise.
51456         * debug/mbstowcs_chk.c: Likewise.
51457         * debug/memcpy_chk.c: Likewise.
51458         * debug/memmove_chk.c: Likewise.
51459         * debug/mempcpy_chk.c: Likewise.
51460         * debug/memset_chk.c: Likewise.
51461         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51462         * debug/strcat_chk.c (__strcat_chk): Likewise.
51463         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51464         * debug/strncat_chk.c (__strncat_chk): Likewise.
51465         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51466         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51467         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51468         * debug/wcpncpy_chk.c: Likewise.
51469         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51470         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51471         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51472         * debug/wcsncpy_chk.c: Likewise.
51473         * debug/wcsnrtombs_chk.c: Likewise.
51474         * debug/wcsrtombs_chk.c: Likewise.
51475         * debug/wcstombs_chk.c: Likewise.
51476         * debug/wmemcpy_chk.c: Likewise.
51477         * debug/wmemmove_chk.c: Likewise.
51478         * debug/wmempcpy_chk.c: Likewise.
51479         * debug/wmemset_chk.c: Likewise.
51480         * dirent/scandirat.c (SCANDIRAT): Likewise.
51481         * dlfcn/dladdr1.c (dladdr1): Likewise.
51482         * dlfcn/dladdr.c (dladdr): Likewise.
51483         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51484         * dlfcn/dlerror.c (__dlerror): Likewise.
51485         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51486         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51487         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51488         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51489         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51490         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51491         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51492         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51493         Likewise.
51494         * elf/dl-conflict.c: Likewise.
51495         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51496         * elf/dl-dst.h: Likewise.
51497         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51498         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51499         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51500         * elf/dl-init.c (call_init, _dl_init): Likewise.
51501         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51502         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51503         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51504         Likewise.
51505         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51506         Likewise.
51507         * elf/dl-minimal.c (__libc_memalign): Likewise.
51508         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51509         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51510         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51511         * elf/dl-sym.c (do_sym): Likewise.
51512         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51513         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51514         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51515         * elf/dl-writev.h (_dl_writev): Likewise.
51516         * elf/ldconfig.c (search_dir): Likewise.
51517         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51518         (dl_main): Likewise.
51519         * elf/setup-vdso.h (setup_vdso): Likewise.
51520         * grp/compat-initgroups.c (compat_call): Likewise.
51521         * grp/fgetgrent.c (fgetgrent): Likewise.
51522         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51523         * grp/putgrent.c (putgrent): Likewise.
51524         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51525         Likewise.
51526         * hurd/hurdinit.c: Likewise.
51527         * iconvdata/8bit-gap.c (struct): Likewise.
51528         * iconvdata/ansi_x3.110.c : Likewise.
51529         * iconvdata/big5.c : Likewise.
51530         * iconvdata/big5hkscs.c : Likewise.
51531         * iconvdata/cp1255.c: Likewise.
51532         * iconvdata/cp1258.c : Likewise.
51533         * iconvdata/cp932.c : Likewise.
51534         * iconvdata/euc-cn.c: Likewise.
51535         * iconvdata/euc-jisx0213.c : Likewise.
51536         * iconvdata/euc-jp.c: Likewise.
51537         * iconvdata/euc-jp-ms.c : Likewise.
51538         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51539         * iconvdata/gb18030.c : Likewise.
51540         * iconvdata/gbbig5.c (const): Likewise.
51541         * iconvdata/gbgbk.c: Likewise.
51542         * iconvdata/gbk.c : Likewise.
51543         * iconvdata/ibm1364.c : Likewise.
51544         * iconvdata/ibm930.c : Likewise.
51545         * iconvdata/ibm932.c: Likewise.
51546         * iconvdata/ibm933.c : Likewise.
51547         * iconvdata/ibm935.c : Likewise.
51548         * iconvdata/ibm937.c : Likewise.
51549         * iconvdata/ibm939.c : Likewise.
51550         * iconvdata/ibm943.c: Likewise.
51551         * iconvdata/iso_11548-1.c: Likewise.
51552         * iconvdata/iso-2022-cn.c : Likewise.
51553         * iconvdata/iso-2022-cn-ext.c : Likewise.
51554         * iconvdata/iso-2022-jp-3.c: Likewise.
51555         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51556         * iconvdata/iso-2022-kr.c : Likewise.
51557         * iconvdata/iso646.c (gconv_end): Likewise.
51558         * iconvdata/iso_6937-2.c : Likewise.
51559         * iconvdata/iso_6937.c : Likewise.
51560         * iconvdata/iso8859-1.c: Likewise.
51561         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51562         * iconvdata/shift_jisx0213.c : Likewise.
51563         * iconvdata/sjis.c : Likewise.
51564         * iconvdata/t.61.c : Likewise.
51565         * iconvdata/tcvn5712-1.c : Likewise.
51566         * iconvdata/tscii.c: Likewise.
51567         * iconvdata/uhc.c : Likewise.
51568         * iconvdata/unicode.c (gconv_end): Likewise.
51569         * iconvdata/utf-16.c (gconv_end): Likewise.
51570         * iconvdata/utf-32.c (gconv_end): Likewise.
51571         * iconvdata/utf-7.c (base64): Likewise.
51572         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51573         * iconv/gconv_close.c (__gconv_close): Likewise.
51574         * iconv/gconv_open.c (__gconv_open): Likewise.
51575         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51576         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51577         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51578         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51579         (ucs4le_internal_loop_single): Likewise.
51580         * iconv/iconv.c (iconv): Likewise.
51581         * iconv/iconv_close.c: Likewise.
51582         * iconv/loop.c (SINGLE): Likewise.
51583         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51584         * include/atomic.h: Likewise.
51585         * inet/inet6_option.c (option_alloc): Likewise.
51586         * intl/bindtextdom.c (set_binding_values): Likewise.
51587         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51588         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51589         * intl/localealias.c (read_alias_file): Likewise.
51590         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51591         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51592         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51593         * libio/fmemopen.c (fmemopen): Likewise.
51594         * libio/iofgets.c (_IO_fgets): Likewise.
51595         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51596         * libio/iofgetws.c (fgetws): Likewise.
51597         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51598         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51599         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51600         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51601         * locale/findlocale.c (_nl_find_locale): Likewise.
51602         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51603         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51604         Likewise.
51605         * locale/setlocale.c (setlocale): Likewise.
51606         * login/programs/pt_chown.c (main): Likewise.
51607         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51608         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51609         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51610         (mmap, mmap64, mremap, munmap): Likewise.
51611         * math/e_exp2l.c: Likewise.
51612         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51613         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51614         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51615         * math/s_catan.c (__catan): Likewise.
51616         * math/s_catanf.c (__catanf): Likewise.
51617         * math/s_catanh.c (__catanh): Likewise.
51618         * math/s_catanhf.c (__catanhf): Likewise.
51619         * math/s_catanhl.c (__catanhl): Likewise.
51620         * math/s_catanl.c (__catanl): Likewise.
51621         * math/s_ccosh.c (__ccosh): Likewise.
51622         * math/s_ccoshf.c (__ccoshf): Likewise.
51623         * math/s_ccoshl.c (__ccoshl): Likewise.
51624         * math/s_cexp.c (__cexp): Likewise.
51625         * math/s_cexpf.c (__cexpf): Likewise.
51626         * math/s_cexpl.c (__cexpl): Likewise.
51627         * math/s_clog10.c (__clog10): Likewise.
51628         * math/s_clog10f.c (__clog10f): Likewise.
51629         * math/s_clog10l.c (__clog10l): Likewise.
51630         * math/s_clog.c (__clog): Likewise.
51631         * math/s_clogf.c (__clogf): Likewise.
51632         * math/s_clogl.c (__clogl): Likewise.
51633         * math/s_csin.c (__csin): Likewise.
51634         * math/s_csinf.c (__csinf): Likewise.
51635         * math/s_csinh.c (__csinh): Likewise.
51636         * math/s_csinhf.c (__csinhf): Likewise.
51637         * math/s_csinhl.c (__csinhl): Likewise.
51638         * math/s_csinl.c (__csinl): Likewise.
51639         * math/s_csqrt.c (__csqrt): Likewise.
51640         * math/s_csqrtf.c (__csqrtf): Likewise.
51641         * math/s_csqrtl.c (__csqrtl): Likewise.
51642         * math/s_ctan.c (__ctan): Likewise.
51643         * math/s_ctanf.c (__ctanf): Likewise.
51644         * math/s_ctanh.c (__ctanh): Likewise.
51645         * math/s_ctanhf.c (__ctanhf): Likewise.
51646         * math/s_ctanhl.c (__ctanhl): Likewise.
51647         * math/s_ctanl.c (__ctanl): Likewise.
51648         * math/w_pow.c: Likewise.
51649         * math/w_powf.c: Likewise.
51650         * math/w_powl.c: Likewise.
51651         * math/w_scalb.c (sysv_scalb): Likewise.
51652         * math/w_scalbf.c (sysv_scalbf): Likewise.
51653         * math/w_scalbl.c (sysv_scalbl): Likewise.
51654         * misc/error.c (error_tail): Likewise.
51655         * misc/pselect.c (__pselect): Likewise.
51656         * nis/nis_callback.c (__nis_create_callback): Likewise.
51657         * nis/nis_call.c (__nisfind_server): Likewise.
51658         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51659         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51660         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51661         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51662         * nis/nis_lookup.c (nis_lookup): Likewise.
51663         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51664         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51665         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51666         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51667         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51668         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51669         * nis/nss_compat/compat-initgroups.c (add_group)
51670         (internal_getgrent_r): Likewise.
51671         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51672         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51673         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51674         (internal_getspnam_r): Likewise.
51675         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51676         (_nss_nis_getaliasbyname_r): Likewise.
51677         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51678         (_nss_nis_getntohost_r): Likewise.
51679         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51680         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51681         (_nss_nis_getgrgid_r): Likewise.
51682         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51683         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51684         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51685         (_nss_nis_gethostbyname4_r): Likewise.
51686         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51687         (initgroups_netid): Likewise.
51688         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51689         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51690         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51691         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51692         (_nss_nis_getprotobynumber_r): Likewise.
51693         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51694         (_nss_nis_getsecretkey): Likewise.
51695         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51696         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51697         (_nss_nis_getpwuid_r): Likewise.
51698         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51699         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51700         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51701         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51702         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51703         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51704         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51705         Likewise.
51706         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51707         (_nss_nisplus_getntohost_r): Likewise.
51708         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51709         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51710         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51711         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51712         Likewise.
51713         * nis/nss_nisplus/nisplus-initgroups.c
51714         (_nss_nisplus_initgroups_dyn): Likewise.
51715         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51716         (_nss_nisplus_getnetbyaddr_r): Likewise.
51717         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51718         (_nss_nisplus_getprotobynumber_r): Likewise.
51719         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51720         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51721         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51722         Likewise.
51723         * nis/nss_nisplus/nisplus-service.c
51724         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51725         (_nss_nisplus_getservbyport_r): Likewise.
51726         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51727         (_nss_nisplus_getspnam_r): Likewise.
51728         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51729         Likewise.
51730         * nscd/aicache.c (addhstaiX): Likewise.
51731         * nscd/cache.c (cache_search, prune_cache): Likewise.
51732         * nscd/connections.c (register_traced_file, send_ro_fd)
51733         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51734         (main_loop_epoll): Likewise.
51735         * nscd/grpcache.c (addgrbyX): Likewise.
51736         * nscd/hstcache.c (addhstbyX): Likewise.
51737         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51738         * nscd/mem.c (gc, mempool_alloc): Likewise.
51739         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51740         (addinnetgrX): Likewise.
51741         * nscd/nscd-client.h (__nscd_acquire_maplock)
51742         (__nscd_drop_map_ref): Likewise.
51743         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51744         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51745         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51746         Likewise.
51747         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51748         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51749         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51750         (__nscd_get_map_ref): Likewise.
51751         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51752         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51753         Likewise.
51754         * nscd/pwdcache.c (addpwbyX): Likewise.
51755         * nscd/selinux.c (preserve_capabilities): Likewise.
51756         * nscd/servicescache.c (addservbyX): Likewise.
51757         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51758         * posix/fnmatch.c (fnmatch): Likewise.
51759         * posix/getopt.c (_getopt_internal_r): Likewise.
51760         * posix/glob.c (glob, glob_in_dir): Likewise.
51761         * posix/wordexp.c (exec_comm_child): Likewise.
51762         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51763         (getanswer_r, gaih_getanswer_slice): Likewise.
51764         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51765         * resolv/res_init.c: Likewise.
51766         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51767         * resolv/res_query.c (__libc_res_nquery): Likewise.
51768         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51769         Likewise.
51770         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51771         * stdio-common/perror.c (perror): Likewise.
51772         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51773         * stdio-common/tmpnam.c (tmpnam): Likewise.
51774         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51775         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51776         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51777         Likewise.
51778         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51779         * stdlib/putenv.c (putenv): Likewise.
51780         * stdlib/setenv.c (__add_to_environ): Likewise.
51781         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51782         * stdlib/strtol_l.c (INTERNAL): Likewise.
51783         * string/memmem.c (memmem): Likewise.
51784         * string/strerror.c (strerror): Likewise.
51785         * string/strnlen.c (__strnlen): Likewise.
51786         * string/test-memmem.c (simple_memmem): Likewise.
51787         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51788         * sunrpc/pm_getport.c (__get_socket): Likewise.
51789         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51790         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51791         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51792         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51793         Likewise.
51794         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51795         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51796         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51797         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51798         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51799         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51800         Likewise.
51801         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51802         Likewise.
51803         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51804         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51805         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51806         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51807         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51808         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51809         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51810         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51811         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51812         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51813         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51814         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51815         Likewise.
51816         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51817         Likewise.
51818         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51819         Likewise.
51820         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51821         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51822         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51823         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51824         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51825         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51826         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51827         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51828         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51829         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51830         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51831         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51832         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51833         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51834         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51835         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51836         Likewise.
51837         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51838         Likewise.
51839         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51840         Likewise.
51841         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51842         Likewise.
51843         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51844         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51845         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51846         Likewise.
51847         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51848         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51849         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51850         * sysdeps/posix/sleep.c: Likewise.
51851         * sysdeps/posix/tempname.c: Likewise.
51852         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51853         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51854         Likewise.
51855         * sysdeps/powerpc/powerpc32/dl-machine.h
51856         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51857         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51858         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51859         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51860         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51861         Likewise.
51862         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51863         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51864         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51865         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51866         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51867         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51868         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51869         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51870         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51871         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51872         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51873         (elf_machine_lazy_rel): Likewise.
51874         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51875         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51876         (elf_machine_lazy_rel): Likewise.
51877         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51878         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51879         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51880         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51881         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51882         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51883         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51884         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51885         Likewise.
51886         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51887         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51888         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51889         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51890         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51891         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51892         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51893         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51894         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51895         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51896         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51897         Likewise.
51898         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51899         (__posix_fallocate64_l64): Likewise.
51900         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51901         (posix_fallocate): Likewise.
51902         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51903         Likewise.
51904         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51905         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51906         (getifaddrs_internal): Likewise.
51907         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51908         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51909         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51910         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51911         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51912         (__posix_fallocate64_l64): Likewise.
51913         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51914         Likewise.
51915         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51916         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51917         (__get_clockfreq): Likewise.
51918         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51919         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51920         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51921         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51922         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51923         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51924         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51925         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51926         Likewise.
51927         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51928         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51929         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51930         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51931         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51932         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51933         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51934         Likewise.
51935         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51936         (posix_fallocate): Likewise.
51937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51938         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51939         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51940         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51941         (elf_machine_rela, elf_machine_rela_relative)
51942         (elf_machine_lazy_rel): Likewise.
51943         * time/asctime.c (asctime_internal): Likewise.
51944         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51945         * time/tzset.c (__tzset_parse_tz): Likewise.
51946         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51947         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51948         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51949         * wcsmbs/wcsmbsload.h: Likewise.
51951         [BZ #15894]
51952         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51954         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51955         (arena_get2): Remove THREAD_STATS conditionals.
51956         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51957         (__malloc_stats, int): Likewise.
51959 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51961         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51962         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51964         * manual/setjmp.texi: Fix typos/grammar errors.
51966         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51967         Only return early when n is <= 0.  Delete unused return statement.
51969         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51970         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51971         * debug/tst-longjmp_chk3.c: New file.
51973         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51974         (test_main): Replace code with set_fortify_handler call.
51975         * debug/test-strcpy_chk.c: Likewise.
51976         * debug/tst-chk1.c: Likewise.
51977         * debug/tst-longjmp_chk.c: Likewise.
51978         * test-skeleton.c: Include fcntl.h & paths.h
51979         (set_fortify_handler): Define.
51981         * debug/tst-longjmp_chk.c: Add header comment and include
51982         ../test-skeleton.c.
51983         (do_test): Mark static.
51984         (TEST_FUNCTION): Define.
51986         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51987         (IP_PMTUDISC_INTERFACE): Likewise.
51988         (IP_MULTICAST_IF): Likewise.
51989         (IP_MULTICAST_TTL): Likewise.
51990         (IP_MULTICAST_LOOP): Likewise.
51991         (IP_ADD_MEMBERSHIP): Likewise.
51992         (IP_DROP_MEMBERSHIP): Likewise.
51993         (IP_UNBLOCK_SOURCE): Likewise.
51994         (IP_BLOCK_SOURCE): Likewise.
51995         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51996         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51997         (IP_MSFILTER): Likewise.
51998         (MCAST_JOIN_GROUP): Likewise.
51999         (MCAST_BLOCK_SOURCE): Likewise.
52000         (MCAST_UNBLOCK_SOURCE): Likewise.
52001         (MCAST_LEAVE_GROUP): Likewise.
52002         (MCAST_JOIN_SOURCE_GROUP): Likewise.
52003         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
52004         (MCAST_MSFILTER): Likewise.
52005         (IP_MULTICAST_ALL): Likewise.
52006         (IP_UNICAST_IF): Likewise.
52008         * timezone/Makefile: Delete $(have-ksh) check.
52009         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
52010         * timezone/tzselect.ksh: Add +x mode bits.
52012         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
52013         (ANON_INODE_FS_MAGIC): Likewise.
52014         (BDEVFS_MAGIC): Likewise.
52015         (BINFMTFS_MAGIC): Likewise.
52016         (BTRFS_TEST_MAGIC): Likewise.
52017         (CRAMFS_MAGIC_WEND): Likewise.
52018         (DEBUGFS_MAGIC): Likewise.
52019         (ECRYPTFS_SUPER_MAGIC): Likewise.
52020         (EXT3_SUPER_MAGIC): Likewise.
52021         (EXT4_SUPER_MAGIC): Likewise.
52022         (FUTEXFS_SUPER_MAGIC): Likewise.
52023         (HOSTFS_SUPER_MAGIC): Likewise.
52024         (HUGETLBFS_MAGIC): Likewise.
52025         (MINIX3_SUPER_MAGIC): Likewise.
52026         (MTD_INODE_FS_MAGIC): Likewise.
52027         (NILFS_SUPER_MAGIC): Likewise.
52028         (OPENPROM_SUPER_MAGIC): Likewise.
52029         (PIPEFS_MAGIC): Likewise.
52030         (PSTOREFS_MAGIC): Likewise.
52031         (QNX6_SUPER_MAGIC): Likewise.
52032         (RAMFS_MAGIC): Likewise.
52033         (REISERFS_SUPER_MAGIC_STRING): Likewise.
52034         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
52035         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
52036         (SECURITYFS_MAGIC): Likewise.
52037         (SELINUX_MAGIC): Likewise.
52038         (SMACK_MAGIC): Likewise.
52039         (SOCKFS_MAGIC): Likewise.
52040         (SQUASHFS_MAGIC): Likewise.
52041         (STACK_END_MAGIC): Likewise.
52042         (TMPFS_MAGIC): Likewise.
52043         (USBDEVICE_SUPER_MAGIC): Likewise.
52044         (V9FS_MAGIC): Likewise.
52045         (XENFS_SUPER_MAGIC): Likewise.
52046         (CRAMFS_MAGIC): Fix typo in comment.
52047         (EXT2_SUPER_MAGIC): Update comment.
52048         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
52050 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
52052         * sysdeps/arm: Move directory from ports/sysdeps/arm.
52053         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
52054         * sysdeps/unix/sysv/linux/arm: Move directory from
52055         ports/sysdeps/unix/sysv/linux/arm.
52056         * README: Update listing for arm-*-linux-gnueabi.
52058         * README: Remove mention of am33.
52060 2014-02-07  Roland McGrath  <roland@hack.frob.com>
52062         * bits/sigset.h (__sigemptyset): Use a statement expression rather
52063         than the comma operator, to avoid "rhs of comma has no effect"
52064         compiler warnings.
52065         (__sigfillset, __sigandset, __sigorset): Likewise.
52066         * include/signal.h (__sigemptyset): Likewise.
52067         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
52069 2014-02-07  Allan McRae  <allan@archlinux.org>
52071         * version.h (RELEASE): Set to "development".
52072         (VERSION): Set to "2.19.90"
52073         * NEWS: Add 2.20 section.
52075 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
52077         [BZ #16529]
52078         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
52080 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52082         * manual/contrib.texi: Update entry for Carlos O'Donell,
52083         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
52085 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
52087         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
52089         * sysdeps/unix/sysv/linux/kernel-features.h
52090         [__LINUX_KERNEL_VERSION >= 0x020621]
52091         (__ASSUME_PROC_PID_TASK_COMM): Define.
52093 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52095         [BZ #16398]
52096         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
52097         conversion when destination buffer does not have enough space.
52098         * libio/tst-ftell-partial-wide.c: New test case.
52099         * libio/Makefile (tests): Add tst-ftell-partial-wide.
52101         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
52102         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
52103         Leonard and Allan McRae.
52105 2014-02-04  David S. Miller  <davem@davemloft.net>
52107         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
52108         32-bit.
52110 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
52113         New file
52114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
52115         New file
52116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
52117         New file.
52118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
52119         New file.
52120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
52121         New file.
52122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
52123         New file.
52124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
52125         New file.
52126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
52127         New file.
52128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
52129         New file.
52130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
52131         New file.
52132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
52133         New file.
52134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
52135         New file.
52136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
52137         New file.
52139 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52141         * nptl/shlib-versions: Change powerpc*le start to 2.17.
52142         * shlib-versions: Likewise.
52144 2014-02-04  Roland McGrath  <roland@hack.frob.com>
52145             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52147         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
52148         (abilist-pattern): New variable, set to %-le.abilist.
52150         * Makerules (abilist-pattern): New variable.
52151         (vpath): Use $(abilist-pattern) in place of %.abilist.
52152         (check-abi-% pattern rule): Likewise.
52153         (check-abi, update-abi): Likewise.
52155 2014-02-04  Eric Wong  <normalperson@yhbt.net>
52157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52159 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
52161         * manual/startup.texi: Add next, previous, and top entries for
52162         the `Program Arguments' and `Environment Variables' nodes.
52164 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
52166         * manual/macros.texi: Add comments before MTASC-safety macros.
52168         * manual/users.texi: Document MTASC-safety properties.
52170         * manual/threads.texi (pthread_key_create, pthread_key_delete)
52171         (pthread_getspecific, pthread_setspecific): Format with
52172         @deftypefun, and add @safety note.
52173         * manual/signal.texi: Move comments that analyze the above
52174         functions to their home place.
52176 2014-02-03  Allan McRae  <allan@archlinux.org>
52178         * po/sl.po: Update Slovenian translation from translation project.
52180 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
52182         * manual/time.texi (timegm): Add missing blank after @c.
52183         Reported by Joseph Myers <joseph@codesourcery.com>.
52185 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
52187         * manual/check-safety.sh: New.
52188         * manual/Makefile ($(objpfx)stamp-summary): Run it.
52190         * manual/terminal.texi: Document MTASC-safety properties.
52192         * manual/filesys.texi: Document MTASC-safety properties.
52194         * manual/errno.texi: Document MTASC-safety properties.
52196         * manual/intro.texi: Document safety identifiers and
52197         conditionals.
52199         * manual/string.texi (wcstok): Fix prototype.
52200         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
52202         * manual/time.texi: Document MTASC-safety properties.
52204         * manual/string.texi: Document MTASC-safety properties.
52206         * manual/threads.texi: Document MTASC-safety properties.
52208         * manual/stdio.texi: Document MTASC-safety properties.
52210         * manual/syslog.texi: Document MTASC-safety properties.
52212         * manual/sysinfo.texi: Document MTASC-safety properties.
52214         * manual/startup.texi: Document MTASC-safety properties.
52216         * manual/socket.texi: Document MTASC-safety properties.
52218         * manual/signal.texi: Document MTASC-safety properties.
52220 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
52222         * manual/setjmp.texi: Document MTASC-safety properties.
52224         * manual/search.texi: Document MTASC-safety properties.
52226         * manual/resource.texi: Document MTASC-safety properties.
52228         * manual/process.texi: Document MTASC-safety properties.
52230         * manual/platform.texi: Document MTASC-safety properties.
52232         * manual/pipe.texi: Document MTASC-safety properties.
52234         * manual/pattern.texi: Document MTASC-safety properties.
52236         * manual/message.texi: Document MTASC-safety properties.
52238         [BZ #12751]
52239         * manual/memory.texi: Document MTASC-safety properties.
52241         * manual/math.texi: Document MTASC-safety properties.
52243         * manual/locale.texi: Document MTASC-safety properties.
52245         * manual/llio.texi: Document MTASC-safety properties.
52247         * manual/libdl.texi: New.
52249         * manual/lang.texi: Document MTASC-safety properties.
52251         * manual/job.texi: Document MTASC-safety properties.
52253         * manual/getopt.texi: Document MTASC-safety properties.
52255         * manual/ctype.texi: Document MTASC-safety properties.
52257 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
52259         [BZ #16046]
52260         * csu/libc-tls.c (static_map): Remove variable.
52261         (__libc_setup_tls): Use main executable's link map for TLS data.
52262         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
52263         casing for LM_ID_BASE and GL(dl_nns).
52264         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
52265         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
52266         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
52267         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
52268         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
52269         member.
52270         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
52271         l_phnum members.
52273 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
52275         * manual/debug.texi: Document MTASC-safety properties.
52277 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
52279         [BZ #16510]
52280         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
52281         of __x86_64__ when disabling x87 inline functions.
52283 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
52285         * manual/charset.texi: Document MTASC-safety properties.
52287         * manual/crypt.texi: Document MTASC-safety properties.
52289         * manual/conf.texi: Document MTASC-safety properties.
52291         * manual/arith.texi: Document MTASC-safety properties.
52293         * manual/argp.texi: Document MTASC-safety properties.
52295         * manual/macros.texi: Introduce macros to document multi
52296         thread, asynchronous signal and asynchronous cancellation
52297         safety properties.
52298         * manual/intro.texi: Introduce the properties themselves.
52300 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52302         * sysdeps/sh/sh4/Makefile: New file.
52304 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52306         * math/gen-libm-test.pl ($srcdir): New variable.
52307         ($auto_input): Use it.
52309 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52311         [BZ #16506]
52312         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52313         access beyond array bounds when parsing netgroups file.
52315         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52316         the old buffer before realloc.
52318 2014-01-27  Allan McRae  <allan@archlinux.org>
52320         * po/fr.po: Update French translation from translation project.
52322 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52324         * sysdeps/sh/libm-test-ulps: Regenerate.
52326 2014-01-24  David S. Miller  <davem@davemloft.net>
52328         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52330 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52332         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52333         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52335 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52337         [BZ #16474]
52338         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52339         string pointers after reallocation.
52341 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52343         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52344         __SH4A__ instead of __SH_FPU_ANY__.
52346 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52348         * sysdeps/sh/fpu_control.h: New file.
52349         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52350         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52351         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52352         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52353         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52354         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52355         * sysdeps/sh/sys/ucontext.h: Remove.
52356         * sysdeps/sh/sys: Remove directory.
52358 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52360         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52361         s390/sys/ucontext.h.
52362         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52363         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52365 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52367         [BZ #15605]
52368         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52370 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52372         [BZ #16431]
52373         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52374         Adjust the vDSO correctly for internal calls.
52375         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52377 2014-01-20  Allan McRae  <allan@archlinux.org>
52379         * po/ca.po: Update Catalan translation from translation project.
52381 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52383         * sysdeps/s390/sotruss-lib.c: New file.
52385 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52387         [BZ #16430]
52388         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52389         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52390         local calls issues by not having a PLT stub required for IFUNC calls.
52391         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52393 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52395         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52396         * math/test-fpucw-static.c: Likewise.
52398 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52400         [BZ #16453]
52401         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52403 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52405         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52406         implementation for powerpc.
52408 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52410         [BZ #14782]
52411         * sysdeps/posix/system.c (__libc_system): Do not enable
52412         asynchronous cancellation.
52414 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52416         [BZ #16427]
52417         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52418         handling only for numbers special also in the IEEE case.
52420 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52422         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52424 2014-01-11  Allan McRae  <allan@archlinux.org>
52426         * po/bg.po: Update Bulgarian translation from translation project.
52428         * po/de.po: Update German translation from translation project.
52430 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52432         * sysdeps/generic/gcc-compat.h: New file.
52434 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52436         * benchtests/asin-inputs: Correct slow inputs.
52437         * benchtests/acos-inputs: Likewise.
52439 2014-01-10  Allan McRae  <allan@archlinux.org>
52441         * po:sv.po: Update Swedish translation from translation project.
52443         * po/vi.po: Update Vietnamese translation from translation project.
52445         * po/eo.po: Update Esperanto translation from translation project.
52447         * po/cs.po: Update Czech translation from translation project.
52449         * po/nl.po: Update Dutch translation from translation project.
52451         * po/pl.po: Update Polish translation from translation project.
52453         * po/ru.po: Update Russian translation from translation project.
52455         * po/uk.po: Update Ukrainian translation from translation project.
52457 2014-01-08  Brooks Moses  <bmoses@google.com>
52459         * elf/dl-load.c: Fix comment typo.
52461 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52463         * po/header.pot: Rename to...
52464         * po/pot.header: ... this.
52465         * po/Makefile: Use pot.header.
52467 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52468             Maxim Kuvyrkov  <maxim@kugelworks.com>
52470         [BZ #16394]
52471         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52472         SRC and DEST against LEN.
52474 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52476         [BZ #16414]
52477         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52478         implementation.
52479         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52481 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52485 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52487         [BZ #16408]
52488         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52489         for large positive arguments.
52491 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52493         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52495         * math/auto-libm-test-in: Mark various tests with
52496         xfail-rounding:ldbl-128ibm.
52497         * math/auto-libm-test-out: Regenerated.
52499         [BZ #16407]
52500         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52501         Increase overflow threshold.
52503 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52505         [BZ #14286]
52506         * stdio-common/vfprintf.c: Check for integer overflow.
52508 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52510         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52511         the first argument and return value of __tls_get_addr_internal.
52513 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52515         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52516         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52518 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52520         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52521         * sysdeps/s390/rtld-global-offsets.sym: New file.
52522         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52523         GLIBC_2.19 symbol.
52524         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52525         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52526         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52527         ... this.
52528         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52529         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52530         ... this.
52531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52532         Regenerate.
52533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52534         Regenerate.
52535         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52536         halfs of GPRs for high_gprs contexts.
52537         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52538         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52539         field.
52540         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52541         uc_flags field.
52542         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52543         64 bit versions:
52544         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52545         for high GPRs (uc_high_gprs) and for future extensions
52546         (__reserved).
52547         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52548         for future extensions (__reserved).
52549         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52550         64 bit versions:
52551         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52552         SC_HIGHGPRS offset definition.
52553         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52554         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52556         * Versions.def: Add GLIBC_2.19 for libpthread.
52557         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52558         siglongjmp for libpthread with GLIBC_2.19 symver.
52559         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52560         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52561         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52562         * sysdeps/s390/__longjmp.c: New file.
52563         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52564         * sysdeps/s390/longjmp.c: New file.
52565         * sysdeps/s390/setjmp.S: New file.
52566         * sysdeps/s390/sigjmp.S: New file.
52567         * sysdeps/s390/v1-longjmp.c: New file.
52568         * sysdeps/s390/v1-setjmp.h: New file.
52569         * sysdeps/s390/v1-sigjmp.c: New file.
52570         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52571         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52572         GLIBC_2.19 version.
52573         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52574         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52575         versioned symbols for ____longjmp_chk.
52576         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52577         Likewise.
52578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52579         Regenerate.
52580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52581         Regenerate.
52582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52583         Regenerate.
52584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52585         Regenerate.
52586         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52587         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52588         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52589         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52590         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52591         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52592         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52593         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52594         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52595         * sysdeps/s390/rtld-__longjmp.c: New file.
52596         * sysdeps/s390/rtld-setjmp.S: New file.
52598 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52600         [BZ #16400]
52601         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52602         Return -__logl (x) for small positive arguments without evaluating
52603         a polynomial.
52605 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52607         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52608         Rename to ...
52609         (__ptrace_peeksiginfo_args): ... this.
52610         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52611         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52612         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52614 2014-01-06  Allan McRae  <allan@archlinux.org>
52616         * inet/netinet/in.h: Fix typo in comment.
52618 2014-01-05  Andreas Jaeger  <aj@suse.de>
52620         * sysdeps/i386/fpu/libm-test-ulps: Update.
52622 2014-01-05  Allan McRae  <allan@archlinux.org>
52624         * po/libc.pot: Regenerated.
52626         * malloc/memusagestat.c: Fix gettext call formatting.
52628 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52630         * nscd/nscd.c: Improve usage() output.
52632 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52634         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52635         * sysdeps/unix/sysv/linux/configure: Regenerated.
52636         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52637         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52639 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52641         [BZ #16390]
52642         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52643         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52645 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52647         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52648         extra tokens at end of #undef directive.
52649         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52650         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52651         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52653 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52655         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52657         * math/auto-libm-test-in: Mark various tests with
52658         xfail-rounding:ldbl-128ibm.
52659         * math/auto-libm-test-out: Regenerated.
52661 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52663         [BZ #16386]
52664         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52665         numbers with subnormal high part when calculating exponent.
52667         [BZ #16385]
52668         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52669         fabs.
52671         [BZ #16384]
52672         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52673         M_LN2l.
52674         (__ieee754_acoshl): Use __log1pl not __log1p.
52676 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52678         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52679         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52680         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52681         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52682         (reused_arena, arena_get2): Convert to GNU style.
52683         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52684         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52685         (memalign_check, __malloc_set_state): Likewise.
52686         * malloc/mallocbug.c (main): Likewise.
52687         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52688         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52689         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52690         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52691         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52692         (__posix_memalign, malloc_info): Likewise.
52693         * malloc/malloc.h: Likewise.
52694         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52695         (mallochook, memalignhook, reallochook, mabort): Likewise.
52696         * malloc/mcheck.h: Likewise.
52697         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52698         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52699         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52700         * malloc/morecore.c (__default_morecore): Likewise.
52701         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52702         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52703         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52704         (print_and_abort): Likewise.
52705         * malloc/obstack.h: Likewise.
52706         * malloc/set-freeres.c (__libc_freeres): Likewise.
52707         * malloc/tst-mallocstate.c (main): Likewise.
52708         * malloc/tst-mtrace.c (main): Likewise.
52709         * malloc/tst-realloc.c (do_test): Likewise.
52711 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52713         [BZ #16366]
52714         * nscd/netgroupcache.c (do_notfound): New function.
52715         (addgetnetgrentX): Use it.
52717         [BZ # 16365]
52718         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52719         NSS_STATUS_NOTFOUND.
52721 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52723         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52726 2014-01-01  Allan McRae  <allan@archlinux.org>
52728         * scripts/update-copyrights: Update configure input file suffix.
52730         * NEWS: Update copyright year.
52731         * catgets/gencat.c: Likewise.
52732         * csu/version.c: Likewise.
52733         * debug/catchsegv.sh: Likewise.
52734         * debug/pcprofiledump.c: Likewise.
52735         * debug/xtrace.sh: Likewise.
52736         * elf/ldconfig.c: Likewise.
52737         * elf/ldd.bash.in: Likewise.
52738         * elf/pldd.c: Likewise.
52739         * elf/sotruss.ksh: Likewise.
52740         * elf/sprof.c: Likewise.
52741         * iconv/iconv_prog.c: Likewise.
52742         * iconv/iconvconfig.c: Likewise.
52743         * locale/programs/locale.c: Likewise.
52744         * locale/programs/localedef.c: Likewise.
52745         * login/programs/pt_chown.c: Likewise.
52746         * malloc/memusage.sh: Likewise.
52747         * malloc/memusagestat.c: Likewise.
52748         * malloc/mtrace.pl: Likewise.
52749         * manual/libc.texinfo: Likewise.
52750         * nscd/nscd.c: Likewise.
52751         * nss/getent.c: Likewise.
52752         * nss/makedb.c: Likewise.
52753         * posix/getconf.c: Likewise.
52754         * scripts/test-installation.pl: Likewise.
52756         * All files with FSF copyright notices: Update copyright dates
52757         using scripts/update-copyrights.
52758         * intl/plural.c: Regenerated.
52759         * locale/programs/charmap-kw.h: Likewise.
52760         * locale/programs/locfile-kw.h: Likewise.
52762 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52764         * sysdeps/unix/sysv/linux/configure: Regenerated.
52765         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52766         the linux/fanotify.h header.
52767         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52768         HAVE_LINUX_FANOTIFY_H is defined.
52770 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52772         * benchtests/cos-inputs: New inputs.
52773         * benchtests/sin-inputs: Likewise.
52775         * benchtests/atan-inputs: New inputs. Fix name of multiple
52776         precision fallback inputs.
52778         * benchtests/atanh-inputs: New inputs.
52779         * benchtests/tanh-inputs: Likewise.
52781         * benchtests/acosh-inputs: New inputs.
52782         * benchtests/asinh-inputs: Likewise.
52784         * benchtests/cosh-inputs: New inputs.
52785         * benchtests/sinh-inputs: Likewise.
52787         * benchtests/acos-inputs: Add more inputs.
52788         * benchtests/asin-inputs: Likewise.
52790 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52792         [BZ #16375]
52793         * manual/arith.texi: Fix spelling.
52794         * manual/charset.texi: Likewise.
52795         * manual/errno.texi: Likewise.
52796         * manual/filesys.texi: Likewise.
52797         * manual/lang.texi: Likewise.
52798         * manual/llio.texi: Likewise.
52799         * manual/locale.texi: Likewise.
52800         * manual/message.texi: Likewise.
52801         * manual/resource.texi: Likewise.
52802         * manual/search.texi: Likewise.
52803         * manual/setjmp.texi: Likewise.
52804         * manual/stdio.texi: Likewise.
52805         * manual/string.texi: Likewise.
52806         * manual/sysinfo.texi: Likewise.
52807         * manual/time.texi: Likewise.
52809 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52811         * po/sl.po: New file.
52813 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52815         * .gitignore: Add core/.gdbinit/.gdb_history.
52817 2013-12-27  Allan McRae  <allan@archlinux.org>
52819         [BZ #16369]
52820         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52821         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52823 2013-12-24  Brooks Moses  <bmoses@google.com>
52825         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52826         all compilers that claim C++98 compliance, not just GCC.
52827         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52828         Likewise.
52830 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52832         * NEWS: Restore accidentally deleted bug-fix entries.
52834 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52835             Ondřej Bílka  <neleai@seznam.cz>
52837         [BZ #15073]
52838         * malloc/malloc.c (_int_free): Perform sanity check only if we
52839         have_lock.
52841 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52843         [BZ #12986]
52844         * manual/stdio.texi (String Input Conversions): Clarify that character
52845         classes are not supported.
52847 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52851 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52853         [BZ #16337]
52854         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52855         Calculate results for small negative arguments directly rather
52856         than using reflection formula with special underflow handling.
52858         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52859         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52860         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52861         (fchflags): Likewise.
52862         (revoke): Likewise.
52863         (setlogin): Likewise.
52864         (sigaltstack): Likewise.
52865         (wait4): Likewise.
52866         (sigblock): Remove.
52867         (sigsetmask): Likewise.
52868         (wait3): Likewise.
52869         (waitpid): Likewise.
52870         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52871         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52872         file.
52873         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52874         * sysdeps/unix/bsd/Makefile: ... here.
52875         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52876         * sysdeps/unix/bsd/Versions: ... here.
52877         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52878         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52879         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52880         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52881         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52882         * sysdeps/unix/bsd/sigblock.c: ... here.
52883         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52884         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52885         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52886         * sysdeps/unix/bsd/sigvec.c: ... here.
52887         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52888         * sysdeps/unix/bsd/tcdrain.c: ... here.
52889         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52890         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52891         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52892         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52893         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52894         * sysdeps/unix/bsd/wait.c: ... here.
52895         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52896         * sysdeps/unix/bsd/wait3.c: ... here.
52897         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52898         * sysdeps/unix/bsd/waitpid.c: ... here.
52900 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52902         [BZ #16356]
52903         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52904         round-to-nearest for [!USE_AS_EXPM1L].
52905         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52906         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52907         more tests of exp and exp10.  Expect some exp10 tests to miss
52908         exceptions or fail in directed rounding modes.
52909         * math/auto-libm-test-out: Regenerated.
52910         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52911         (exp10_test_tonearest): New function.
52912         (exp10_towardzero_test_data): New array.
52913         (exp10_test_towardzero): New function.
52914         (exp10_downward_test_data): New array.
52915         (exp10_test_downward): New function.
52916         (exp10_upward_test_data): New array.
52917         (exp10_test_upward): New function.
52918         (main): Call the new functions.
52919         * sysdeps/i386/fpu/libm-test-ulps: Update.
52920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52922 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52924         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52925         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52926         * math/auto-libm-test-out: Regenerated.
52927         * math/libm-test.inc (acosh_test_data): Add more tests.
52928         (atanh_test_data): Likewise.
52929         (ceil_test_data): Likewise.
52930         (copysign_test_data): Likewise.
52931         * sysdeps/i386/fpu/libm-test-ulps: Update.
52932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52934         * timezone/checktab.awk: Update from tzcode 2013i.
52935         * timezone/private.h: Likewise.
52936         * timezone/scheck.c: Likewise.
52937         * timezone/tzfile.h: Likewise.
52938         * timezone/tzselect.ksh: Likewise.
52939         * timezone/zdump.c: Likewise.
52940         * timezone/zic.c: Likewise.
52942         * math/auto-libm-test-in: Add tests of cpow.
52943         * math/auto-libm-test-out: Regenerated.
52944         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52945         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52946         mpc_cc_c.
52947         (func_calc_desc): Add mpc_cc_c union field.
52948         (test_functions): Add cpow.
52949         (special_fill_2pi): New function.
52950         (special_real_inputs): Add 2pi.
52951         (calc_generic_results): Handle mpc_cc_c.
52952         * sysdeps/i386/fpu/libm-test-ulps: Update.
52953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52955         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52956         csqrt, ctan and ctanh.
52957         * math/auto-libm-test-out: Regenerated.
52958         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52959         (TEST_COND_x86): Likewise.
52960         (ccos_test_data): Use AUTO_TESTS_c_c.
52961         (ccosh_test_data): Likewise.
52962         (cexp_test_data): Likewise.
52963         (clog_test_data): Likewise.
52964         (csqrt_test_data): Likewise.
52965         (ctan_test_data): Likewise.
52966         (ctan_tonearest_test_data): Likewise.
52967         (ctan_towardzero_test_data): Likewise.
52968         (ctan_downward_test_data): Likewise.
52969         (ctan_upward_test_data): Likewise.
52970         (ctanh_test_data): Likewise.
52971         (ctanh_tonearest_test_data): Likewise.
52972         (ctanh_towardzero_test_data): Likewise.
52973         (ctanh_downward_test_data): Likewise.
52974         (ctanh_upward_test_data): Likewise.
52975         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52976         mpc_c_c.
52977         (func_calc_desc): Add mpc_c_c union field.
52978         (FUNC_mpc_c_c): New macro.
52979         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52980         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52981         ctanh.
52982         (special_fill_min_subnorm_p120): New function.
52983         (special_real_inputs): Add min_subnorm_p120.
52984         (calc_generic_results): Handle mpc_c_c.
52985         * sysdeps/i386/fpu/libm-test-ulps: Update.
52986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52988 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52990         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52991         (do_sin_slow): New functions.
52992         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52993         (cslow2, csloww1, csloww2): Use the new functions.
52995         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52996         Use M to change sign of result instead of X.  Assume X is
52997         positive.
52998         (csloww1): Likewise.
52999         (__sin): Adjust.
53000         (__cos): Adjust.
53002         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
53003         arguments A and DA.
53004         (__sin): Adjust.
53005         (__cos): Likewise.
53007         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
53008         (__cos): Likewise.
53009         (sloww1): Don't adjust sign of DX.
53010         (csloww1): Likewise.
53011         (sloww2): Use X directly and don't adjust sign of DX.
53012         (csloww2): Likewise.
53014 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53016         * math/auto-libm-test-in: Add tests of cabs and carg.
53017         * math/auto-libm-test-out: Regenerated.
53018         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
53019         (carg_test_data): Likewise.
53020         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53021         mpc_c_f.
53022         (func_calc_desc): Add mpc_c_f union field.
53023         (test_functions): Add cabs and carg.
53024         (calc_generic_results): Handle mpc_c_f.
53026         * sysdeps/powerpc/powerpc32/libgcc-compat.S
53027         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
53028         as a macro and a compat symbol.
53029         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
53030         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
53031         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
53032         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
53033         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
53034         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
53035         not use .hidden.
53036         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
53037         Likewise.
53038         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
53039         Likewise.
53040         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
53041         Likewise.
53042         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
53043         Likewise.
53044         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
53045         Likewise.
53046         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
53047         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
53048         from GLIBC_2.3.2.
53050 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53054 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53056         * manual/texinfo.tex: Update to version 2013-11-26.10 with
53057         trailing whitespace removed.
53058         * scripts/config.guess: Update to version 2013-11-29.
53059         * scripts/config.sub: Update to version 2013-10-01.
53061         * math/auto-libm-test-in: Add tests of sincos.
53062         * math/auto-libm-test-out: Regenerated.
53063         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
53064         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53065         mpfr_f_11.
53066         (func_calc_desc): Add mpfr_f_11 union field.
53067         (test_functions): Add sincos.
53068         (calc_generic_results): Handle mpfr_f_11.
53069         * sysdeps/i386/fpu/libm-test-ulps: Update.
53070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53072 2013-12-19  Andreas Schwab  <schwab@suse.de>
53074         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
53075         CALL_MCOUNT.
53076         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53077         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
53078         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
53080 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53082         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
53083         * sysdeps/i386/fpu/libm-test-ulps: Update.
53084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53086         [BZ #16293]
53087         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
53088         round-to-nearest mode when using frndint.
53089         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
53090         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53091         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
53092         Likewise.
53093         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
53094         sinh test to fail.
53095         * math/auto-libm-test-out: Regenerated.
53096         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
53097         (TEST_COND_x86): Likewise.
53098         (expm1_tonearest_test_data): New array.
53099         (expm1_test_tonearest): New function.
53100         (expm1_towardzero_test_data): New array.
53101         (expm1_test_towardzero): New function.
53102         (expm1_downward_test_data): New array.
53103         (expm1_test_downward): New function.
53104         (expm1_upward_test_data): New array.
53105         (expm1_test_upward): New function.
53106         (main): Run the new test functions.
53107         * sysdeps/i386/fpu/libm-test-ulps: Update.
53108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53110         * include/features.h: Update comment documenting feature test
53111         macros.  Mention _DEFAULT_SOURCE in comment.
53112         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
53113         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
53114         _BSD_SOURCE and _SVID_SOURCE.
53115         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
53116         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
53117         !_SVID_SOURCE]: Likewise.
53118         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53119         (__USE_POSIX_IMPLICITLY): Define.
53120         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53121         (_POSIX_SOURCE): Undefine and redefine.
53122         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53123         (_POSIX_C_SOURCE): Likewise.
53124         * manual/creature.texi (_DEFAULT_SOURCE): Document.
53125         (Feature Test Macros): Update documentation of default features.
53127 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53129         * benchtests/Makefile: Add bench-strtok.
53130         * benchtests/bench-strtok.c: New file: strtok benchtest.
53132 2013-12-19  Allan McRae  <allan@archlinux.org>
53134         * manual/install.texi: Suppress menu for plain text output.
53135         * INSTALL: Regenerated.
53137 2013-12-18  Brooks Moses  <bmoses@google.com>
53139         [BZ #15846]
53140         * misc/getauxval.c: Include errno.h.
53141         (__getauxval): Set errno to ENOENT if the requested type is not
53142         found.
53143         * misc/sys/auxv.h (getauxval): Document that it may set errno;
53144         don't declare with __attribute_const__.
53145         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
53146         * manual/startup.texi: Document that getauxval sets errno.
53148 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53150         * math/auto-libm-test-in: Add tests of jn and yn.
53151         * math/auto-libm-test-out: Regenerated.
53152         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
53153         (yn_test_data): Likewise.
53154         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53155         mpfr_if_f.
53156         (func_calc_desc): Add mpfr_if_f union field.
53157         (FUNC_mpfr_if_f): New macro.
53158         (test_functions): Add jn and yn.
53159         (calc_generic_results): Assert type of second input for
53160         mpfr_ff_f.  Handle mpfr_if_f.
53161         (output_for_one_input_case): Disable all checking for arguments
53162         fitting floating-point types in case of an integer argument.
53163         * sysdeps/i386/fpu/libm-test-ulps: Update.
53164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53167         Don't expect fegetround reference in libm.so.
53169 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53171         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
53172         $(config-cflags-nofma).
53174 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53176         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
53177         * math/auto-libm-test-out: Regenerated.
53179         [BZ #16338]
53180         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
53181         to determine exponent and adjust argument to have exponent of -1.
53182         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
53183         log2.
53184         * math/auto-libm-test-out: Regenerated.
53185         * sysdeps/i386/fpu/libm-test-ulps: Update.
53186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53188 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
53190         * manual/probes.texi: Remove cases when per-thread arenas are
53191         disabled.
53193 2013-12-18  Andreas Schwab  <schwab@suse.de>
53195         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
53196         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
53197         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
53198         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
53199         * sysdeps/i386/i686/multiarch/Makefile: Update.
53200         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
53202 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53204         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
53205         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
53207 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
53209         [BZ #15968]
53210         Support TZ transition times < 00:00:00.
53211         This is needed for version-3 tz-format files; it supports time
53212         stamps past 2037 for America/Godthab (the only entry in the tz
53213         database for which this change is relevant).
53214         * manual/time.texi (TZ Variable): Document transition times
53215         from -167:59:59 through -00:00:01.
53216         * time/tzset.c (tz_rule): Time of day is now signed.
53217         (__tzset_parse_tz): Parse negative time of day.
53219         Document TZ transition times >= 25:00:00.
53220         * manual/time.texi (TZ Variable): Document transition times from
53221         25:00:00 through 167:59:59.  These are already supported, and this
53222         support will help with version-3 tz-format files.
53224         * manual/time.texi (TZ Variable): Modernize North America example
53225         to reflect current (i.e., 2007-and-later) daylight saving rules.
53227         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
53229 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53231         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
53232         * sysdeps/unix/bsd/bits/stat.h: Likewise.
53233         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
53234         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
53235         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
53236         * sysdeps/unix/bsd/bsdstat.h: Likewise.
53237         * sysdeps/unix/bsd/clock.c: Likewise.
53238         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
53239         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
53240         * sysdeps/unix/bsd/init-posix.c: Likewise.
53241         * sysdeps/unix/bsd/poll.c: Likewise.
53242         * sysdeps/unix/bsd/ptsname.c: Likewise.
53243         * sysdeps/unix/bsd/seekdir.c: Likewise.
53244         * sysdeps/unix/bsd/setegid.c: Likewise.
53245         * sysdeps/unix/bsd/seteuid.c: Likewise.
53246         * sysdeps/unix/bsd/setgid.c: Likewise.
53247         * sysdeps/unix/bsd/setrgid.c: Likewise.
53248         * sysdeps/unix/bsd/setruid.c: Likewise.
53249         * sysdeps/unix/bsd/setsid.c: Likewise.
53250         * sysdeps/unix/bsd/setuid.c: Likewise.
53251         * sysdeps/unix/bsd/sigaction.c: Likewise.
53252         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
53253         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
53254         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
53255         * sysdeps/unix/bsd/telldir.c: Likewise.
53256         * sysdeps/unix/bsd/times.c: Likewise.
53257         * sysdeps/unix/bsd/usleep.c: Likewise.
53259         * misc/Makefile (install-lib): Remove libbsd-compat.a.
53260         ($(objpfx)libbsd-compat.a): Remove rule.
53262         * include/features.h (__FAVOR_BSD): Do not define.
53263         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
53264         features conflicting with POSIX.
53265         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
53266         (_BSD_SOURCE): Remove description of not being a subset of other
53267         feature test macros.
53268         * manual/job.texi (getpgrp): Do not document BSD version.
53269         (getpgid): Do not document by reference to BSD getpgrp.
53270         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
53271         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
53272         * signal/signal.h [__FAVOR_BSD]: Likewise.
53273         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
53274         instead of making contents conditional on [__FAVOR_BSD].
53275         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
53277 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53281 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53283         [BZ #16314]
53284         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
53285         values below 2**-450, not 2**-500.
53286         * math/auto-libm-test-in: Don't allow spurious underflow from
53287         hypot.
53288         * math/auto-libm-test-out: Regenerated.
53290         [BZ #16316]
53291         [BZ #16330]
53292         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
53293         values of ha and hb and sort them after adjusting subnormal
53294         arguments.
53295         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53296         Likewise.
53297         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53298         values of ea and eb and sort them after adjusting subnormal
53299         arguments.
53300         * math/auto-libm-test-in: Do not expect some hypot tests of
53301         subnormals to fail.  Add more hypot tests.
53302         * math/auto-libm-test-out: Regenerated.
53304 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53306         [BZ #13304]
53307         * sysdeps/sh/s_fma.c: New file.
53308         * sysdeps/sh/s_fmaf.c: New file.
53309         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53310         version.
53311         * sysdeps/sh/Implies: Add sh/soft-fp.
53313 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53315         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53316         level of indirection to members `objname', `errstring', `malloced'.
53317         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53318         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53319         it as the __longjmp argument (just pass 1 instead).
53320         (_dl_catch_error): Initialize C with argument pointers and address of
53321         volatile local ERRCODE rather than copying values out of C at return.
53323 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53325         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53326         * math/auto-libm-test-out: Regenerated.
53327         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53328         (hypot_test_data): Likewise.
53329         (pow_test_data): Likewise.
53330         (pow_tonearest_test_data): Likewise.
53331         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53332         mpfr_ff_f.
53333         (func_calc_desc): Add mpfr_ff_f union field.
53334         (FUNC_mpfr_ff_f): New macro.
53335         (test_functions): Add atan2, hypot and pow.
53336         (special_fill_min): New function.
53337         (special_fill_minus_min): Likewise.
53338         (special_fill_min_subnorm): Likewise.
53339         (special_fill_minus_min_subnorm): Likewise.
53340         (special_real_inputs): Add min, -min, min_subnorm and
53341         -min_subnorm.
53342         (calc_generic_results): Handle mpfr_ff_f.
53343         * sysdeps/i386/fpu/libm-test-ulps: Update.
53344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53346 2013-12-16  Will Newton  <will.newton@linaro.org>
53348         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53349         (Aligned Memory Blocks): Add documentation for aligned_alloc
53350         and suggest it as an alternative to posix_memalign.
53351         (Hooks for Malloc): Document __memalign_hook is also called
53352         for aligned_alloc.  (Summary of Malloc): Add summary for
53353         aligned alloc.  Document __memalign_hook is also called
53354         for aligned_alloc.
53356 2013-12-16  Will Newton  <will.newton@linaro.org>
53358         * manual/memory.texi (Malloc Examples): Clarify default
53359         alignment documentation.  Suggest posix_memalign rather
53360         than memalign or valloc.
53361         (Aligned Memory Blocks): Remove suggestion to use memalign
53362         or valloc.  Remove obsolete comment about BSD.
53363         Document memalign errno values and mark the function obsolete.
53364         Document posix_memalign returned error codes.  Mark valloc
53365         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53366         called for posix_memalign and valloc.
53367         (Summary of Malloc): Add posix_memalign to function summary.
53368         __memalign_hook is also called for posix_memalign and valloc.
53370 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53372         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53373         TAYLOR_SIN.
53374         (__sin): Adjust.
53375         (__cos): Likewise.
53376         (sloww): Use mynumber union.  Expand ternary operator into
53377         if-else statements.
53378         (cslow): use mynumber union.
53380 2013-12-16  Allan McRae  <allan@archlinux.org>
53382         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53383         * configure: Regenerated.
53385         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53387         [BZ #14120]
53388         * configure.ac: Added --enable-maintainer-mode. Check for
53389         autoconf when enabled.
53390         * configure: Regenerated.
53392         * nscd/nscd.service: New file.
53393         * nscd/nscd.tmpfiles: New file.
53395 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53397         [BZ #12100]
53398         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53399         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53400         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53401         (strstr): Add __strstr_sse2_unaligned ifunc.
53402         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53403         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53404         (strcasestr): Remove __strcasestr_sse42 ifunc.
53405         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53406         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53407         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53409 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53411         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53412         * sysdeps/sh/bits/fenv.h: ... here.
53413         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53415 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53417         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53419         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53420         hypotf multiarch implementations.
53421         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53422         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53423         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53424         multiarch hypot for PPC64.
53425         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53426         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53427         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53428         multiarch hypotf for PPC64.
53430         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53431         modff multiarch implementations.
53432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53435         multiarch modf for PPC64.
53436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53439         multiarch modff for PPC64.
53441         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53442         and logl multiarch implementations.
53443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53446         multiarch logb for PPC64.
53447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53450         multiarch logb for PPC64.
53451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53454         multiarch logb for PPC64.
53456         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53457         isinff multiarch implementation.
53458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53459         file.
53460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53462         multiarch isinf for PPC64.
53463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53464         file.
53465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53466         multiarch isinff for PPC64.
53468         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53469         finitef multiarch implementation.
53470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53471         file.
53472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53474         multiarch finite for PPC64.
53475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53476         file.
53477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53478         multiarch finitef for PPC64.
53480         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53481         lrint multiarch implementation.
53482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53483         file.
53484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53486         multiarch llrint for PPC64.
53487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53488         multiarch lrint for PPC64.
53490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53491         copysignf multiarch implementation.
53492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53493         file.
53494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53495         file.
53496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53497         multiarch copysign for PPC64.
53498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53499         multiarch copysignf for PPC64.
53501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53502         multiarch implementation.
53503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53504         file.
53505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53506         file.
53507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53508         file.
53509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53510         file.
53511         multiarch llround for PPC64.
53512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53513         multiarch trunc for PPC64.
53514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53515         multiarch truncf for PPC64.
53517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53518         multiarch implementation.
53519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53520         file.
53521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53522         file.
53523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53524         file.
53525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53526         file.
53527         multiarch llround for PPC64.
53528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53529         multiarch round for PPC64.
53530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53531         multiarch roundf for PPC64.
53533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53534         multiarch implementation.
53535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53536         file.
53537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53538         file.
53539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53540         file.
53541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53542         file.
53543         multiarch llround for PPC64.
53544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53545         multiarch floor for PPC64.
53546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53547         multiarch floorf for PPC64.
53549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53550         multiarch implementation.
53551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53552         file.
53553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53554         file.
53555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53556         file.
53557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53558         file.
53559         multiarch llround for PPC64.
53560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53561         multiarch ceil for PPC64.
53562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53563         multiarch ceilf for PPC64.
53565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53566         multiarch implementation.
53567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53568         file.
53569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53570         file.
53571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53572         file.
53573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53574         multiarch llround for PPC64.
53575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53576         multiarch lround for PPC64.
53578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53579         multiarch implementation.
53580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53583         file.
53584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53587         multiarch isnan for PPC64.
53588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53589         multiarch isnanf for PPC64.
53591         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53592         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53593         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53594         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53595         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53598         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53599         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53600         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53601         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53604         multiarch implementations.
53605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53606         (__libc_ifunc_impl_list): Likewise.
53607         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53608         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53609         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53610         multiarch stpcpy for PPC64.
53612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53613         multiarch implementations.
53614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53615         (__libc_ifunc_impl_list): Likewise.
53616         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53617         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53618         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53619         multiarch strcpy for PPC64.
53621         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53622         redefine function name.
53623         (_wordcopy_fwd_dest_aligned): Likewise.
53624         (_wordcopy_bwd_aligned): Likewise.
53625         (_wordcopy_bwd_dest_aligned): Likewise.
53626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53627         multiarch implementations.
53628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53629         (__libc_ifunc_impl_list): Likewise.
53630         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53631         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53632         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53633         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53634         multiarch wcscpy for PPC64.
53636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53637         multiarch implementations.
53638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53639         (__libc_ifunc_impl_list): Likewise.
53640         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53641         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53642         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53643         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53644         multiarch wcscpy for PPC64.
53646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53647         multiarch implementations.
53648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53649         (__libc_ifunc_impl_list): Likewise.
53650         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53651         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53652         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53653         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53654         multiarch wcsrchr for PPC64.
53656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53657         multiarch implementations.
53658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53659         (__libc_ifunc_impl_list): Likewise.
53660         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53661         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53662         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53663         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53664         multiarch wcschr for PPC64.
53666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53667         multiarch implementations.
53668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53669         (__libc_ifunc_impl_list): Likewise.
53670         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53671         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53672         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53673         multiarch strchrnul for PPC64.
53675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53676         implementations.
53677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53678         (__libc_ifunc_impl_list): Likewise.
53679         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53680         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53681         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53682         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53683         strchr for PPC64.
53685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53686         implementations.
53687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53688         (__libc_ifunc_impl_list): Likewise.
53689         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53690         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53691         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53692         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53693         strncmp for PPC64.
53695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53696         multiarch implementations.
53697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53698         (__libc_ifunc_impl_list): Likewise.
53699         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53700         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53701         strncasecmp for PPC64.
53702         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53703         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53704         multiarch strncasecmp_l for PPC64.
53706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53707         multiarch implementations.
53708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53709         (__libc_ifunc_impl_list): Likewise.
53710         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53711         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53712         multiarch strcasecmp for PPC64.
53713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53714         file.
53715         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53716         multiarch strcasecmp_l for PPC64.
53718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53719         implementations.
53720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53721         (__libc_ifunc_impl_list): Likewise.
53722         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53723         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53724         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53725         strnlen for PPC64.
53727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53728         implementations.
53729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53730         (__libc_ifunc_impl_list): Likewise.
53731         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53732         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53733         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53734         strlen for PPC64.
53736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53737         implementations.
53738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53739         (__libc_ifunc_impl_list): Likewise.
53740         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53741         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53742         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53743         rawmemrchr for PPC64.
53745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53746         implementation.
53747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53748         (__libc_ifunc_impl_list): Likewise.
53749         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53750         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53751         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53752         memrchr for PPC64.
53754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53755         implementation.
53756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53757         (__libc_ifunc_impl_list): Likewise.
53758         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53759         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53760         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53761         memchr for PPC64.
53763         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53764         implementation.
53765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53766         (__libc_ifunc_impl_list): Likewise.
53767         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53768         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53769         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53770         mempcpy for PPC64.
53772         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53773         avoid cretion of __bzero symbol.
53774         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53775         Likewise.
53776         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53777         Likewise.
53778         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53779         Likewise.
53780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53781         multiarch implementations.
53782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53783         (__libc_ifunc_impl_list): Likewise.
53784         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53785         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53786         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53787         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53788         bzero for PPC32.
53789         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53790         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53791         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53792         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53793         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53794         memset for PPC64.
53795         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53797         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53799         implementations.
53800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53801         (__libc_ifunc_impl_list): Likewise.
53802         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53803         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53804         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53805         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53806         memcmp for PPC64.
53808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53809         multiarch for POWER/PPC64.
53810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53811         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53812         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53813         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53814         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53815         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53816         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53817         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53818         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53819         memcpy for PPC64.
53821         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53822         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53823         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53824         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53825         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53826         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53827         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53828         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53829         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53830         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53831         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53832         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53833         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53834         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53835         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53844 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53846         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53848 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53850         * benchtests/Makefile (bench): Add exp2 and log2.
53851         (LDLIBS-bench-exp2): Add -lm.
53852         (LDLIBS-bench-log2): Likewise.
53853         * benchtests/exp2-inputs: New inputs file.
53854         * benchtests/log2-inputs: New inputs file.
53855         * benchtests/log-inputs: Add new inputs.
53856         * benchtests/tan-inputs: Likewise.
53858 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53860         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53861         definition...
53862         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53863         (csloww2): ... from here.
53865         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53866         instead of structures.
53867         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53868         (POLYNOMIAL): Likewise.
53869         (TAYLOR_SLOW): Likewise.
53870         (__sin): Likewise.
53871         (__cos): Likewise.
53872         (slow1): Likewise.
53873         (slow2): Likewise.
53874         (sloww): Likewise.
53875         (sloww1); Likewise.
53876         (sloww2): Likewise.
53877         (bsloww1): Likewise.
53878         (bsloww2): Likewise.
53879         (cslow2): Likewise.
53880         (csloww): Likewise.
53881         (csloww1): Likewise.
53882         (csloww2): Likewise.
53884 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53886         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53887         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53888         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53889         * malloc/hooks.c (realloc_check): Likewise.
53891         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53892         * malloc/arena.c: Remove PER_THREAD conditional.
53893         [!PER_THREAD]: Remove code.
53894         (ptmalloc_unlock_all2): Likewise.
53895         (ptmalloc_init): Likewise.
53896         (_int_new_arena): Likewise.
53897         (arena_get2): Likewise.
53898         * malloc/hooks.c (__malloc_get_state): Likewise.
53899         (__malloc_set_state): Likewise.
53900         * malloc/malloc.c: Likewise.
53901         (struct malloc_state): Likewise.
53902         (struct malloc_par): Likewise.
53903         (__libc_realloc): Likewise.
53904         (__libc_mallopt): Likewise.
53906 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53908         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53910 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53912         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53913         macro to a function.  Check for zero perturb_byte.
53914         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53916         * malloc/malloc.c: (force_reg): Remove.
53917         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53918         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53919         force_reg by atomic_forced_read.
53920         * malloc/arena.c (ptmalloc_init): Likewise.
53921         * malloc/hooks.c (top_check): Likewise.
53923 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53927 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53931 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53933         * math/auto-libm-test-in: Add tests of lgamma.
53934         * math/auto-libm-test-out: Regenerated.
53935         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53936         (M_LOG_2_SQRT_PIl): Likewise.
53937         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53938         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53939         mpfr_f_f1.
53940         (func_calc_desc): Add mpfr_f_f1 union field.
53941         (ARGS1): New macro.
53942         (ARGS2): Likewise.
53943         (ARGS3): Likewise.
53944         (ARGS4): Likewise.
53945         (RET1): Likewise.
53946         (RET2): Likewise.
53947         (CALC): Likewise.
53948         (FUNC): Likewise.
53949         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53950         (test_functions): Add lgamma.
53951         (calc_generic_results): Handle mpfr_f_f1.
53952         * sysdeps/i386/fpu/libm-test-ulps: Update.
53953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53955 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53957         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53958         __mpn_add_n for PowerPC64/POWER7.
53959         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53960         __mpn_sub_n for PowerPC64/POWER7.
53962         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53963         __mpn_addmul_1 for PowerPC64.
53964         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53965         __mpn_submul_1 for PowerPC64.
53966         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53967         for PowerPC64.
53968         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53969         for PowerPC64.
53971 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53973         [BZ #15089]
53974         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53976 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53978         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53980         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53981         add multiarch folders.
53982         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53983         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53984         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53985         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53986         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53987         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53988         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53989         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53990         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53991         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53992         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
54000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54001         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
54002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
54003         New file.
54004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
54005         New file.
54006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
54007         multiarch __ieee754_hypot for PowerPC32.
54008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
54009         New file.
54010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
54011         New file.
54012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
54013         multiarch __ieee754_hypotf for PowerPC32.
54015         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
54016         long_double_symbol only if __logbl is defined.
54017         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
54018         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
54019         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
54020         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
54021         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
54022         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
54023         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
54024         path for implementation.
54025         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
54026         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
54027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
54028         logb, and logbl multiarch implementations for PowerPC32.
54029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
54030         file.
54031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
54032         file.
54033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
54034         multiarch logb for PowerPC32.
54035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
54036         file.
54037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
54038         file.
54039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
54040         multiarch logbf for PowerPC32.
54041         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
54042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
54043         file.
54044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
54045         multiarch logbl implementation for PowerPC32.
54047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
54048         and modff multiarch implementations.
54049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
54050         New file.
54051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
54052         New file.
54053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
54054         multiarch modf for PowerPC32.
54055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
54056         New file.
54057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
54058         New file.
54059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
54060         multiarch modff for PowerPC32.
54062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
54063         and lrintf multiarch implementations.
54064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
54065         New file.
54066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
54067         New file.
54068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
54069         multiarch lrint for PowerPC32.
54070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
54071         file: multiarch lrintf for PowerPC32.
54073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
54074         and lroundf multiarch implementations.
54075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
54076         New file.
54077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
54078         New file.
54079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
54080         New file.
54081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
54082         multiarch lround for PowerPC32.
54083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
54084         file: multiarch lroundf for PowerPC32.
54086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54087         copysign and copysignf multiarch implementations.
54088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
54089         New file.
54090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
54091         New file.
54092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
54093         file: multiarch copysign for PowerPC32.
54094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
54095         file: multiarch copysignf for PowerPC32.
54097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
54098         and truncf multiarch implementations.
54099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
54100         New file.
54101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
54102         file.
54103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
54104         multiarch trunc for PowerPC32.
54105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
54106         New file.
54107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
54108         New file.
54109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
54110         multiarch truncf for PowerPC32.
54112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
54113         and roundf multiarch implementations.
54114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
54115         New file.
54116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
54117         file.
54118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
54119         multiarch round for PowerPC32.
54120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
54121         New file.
54122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
54123         New file.
54124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
54125         multiarch roundf for PowerPC32.
54127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
54128         and floorf multiarch implementations.
54129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
54130         New file.
54131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
54132         file.
54133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
54134         multiarch floor for PowerPC32.
54135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
54136         New file.
54137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
54138         New file.
54139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
54140         multiarch floorf for PowerPC32.
54142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
54143         and ceilf multiarch implementations.
54144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
54145         New file.
54146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
54147         file.
54148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
54149         multiarch ceil for PowerPC32.
54150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
54151         New file.
54152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
54153         file.
54154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
54155         multiarch ceilf for PowerPC32.
54157         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
54158         is defined.
54159         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
54160         FINITEF is defined.
54161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
54162         and finitef multiarch implementations.
54163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
54164         New file.
54165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
54166         file.
54167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
54168         multiarch finite for PowerPC32.
54169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
54170         New file.
54171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
54172         file: multiarch finitef for PowerPC32.
54174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
54175         and isinff multiarch implementations.
54176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
54177         file.
54178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
54179         file.
54180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
54181         multiarch isinf for PowerPC32.
54182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
54183         New file.
54184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
54185         multiarch isinff for PowerPC32.
54187         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
54188         alias when __isnan is defined.
54189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
54190         and isnanf multiarch implementations.
54191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
54192         file.
54193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
54194         file.
54195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
54196         file.
54197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
54198         file.
54199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
54200         multiarch isnan for PowerPC32.
54201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
54202         New file.
54203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
54204         New file.
54205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
54206         multiarch isnanf for PowerPC32.
54208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
54209         and sqrtf multiarch implementations.
54210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
54211         file.
54212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
54213         file.
54214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
54215         multiarch sqrt for PowerPC32.
54216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
54217         file.
54218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
54219         file.
54220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
54221         multiarch sqrtf for PowerPC32.
54223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
54224         and llroundf multiarch implementations.
54225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
54226         New file.
54227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
54228         New file.
54229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
54230         New file.
54231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
54232         file: multiarch llround for PowerPC32.
54233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
54234         file: multiarch llroundf for PowerPC32.
54236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
54237         multiarch PowerPC32 fpu implementations.
54238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
54239         New file.
54240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
54241         New file.
54242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
54243         multiarch llrint for PowerPC32.
54244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
54245         New file.
54246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
54247         New file.
54248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
54249         file.
54251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
54253         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
54254         file.
54255         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
54256         file.
54257         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
54258         file.
54259         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
54260         multiarch wordcopy for PPC32.
54261         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54262         wordcopy objects.
54263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54264         (__libc_ifunc_impl_list): Likewise.
54265         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
54266         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
54267         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
54268         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
54269         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
54270         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
54272         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
54273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
54274         file.
54275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
54276         file.
54277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
54278         file.
54279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
54280         multiarch wcscpy for PPC32.
54281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54282         multiarch objects.
54283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54284         (__libc_ifunc_impl_list): Likewise.
54285         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54286         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54287         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
54288         sysdeps/powerpc/power6/wcscpy.c.
54290         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
54291         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
54292         file.
54293         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
54294         file.
54295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54296         file.
54297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54298         multiarch wcsrchr for PPC32.
54299         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54300         multiarch objects.
54301         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54302         (__libc_ifunc_impl_list): Likewise.
54303         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54304         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54305         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54306         sysdeps/powerpc/power6/wcsrchr.c.
54308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54309         file.
54310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54311         file.
54312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54314         multiarch wcschr for PPc32.
54315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54316         multiarch objects.
54317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54318         (__libc_ifunc_impl_list): Likewise.
54319         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54320         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54321         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54322         sysdeps/powerpc/power6/wcschr.c.
54324         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54325         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54326         file.
54327         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54328         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54329         file: multiarch strchr for PPC32.
54330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54331         multiarch objects.
54332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54333         (__libc_ifunc_impl_list): Likewise.
54335         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54336         name.
54337         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54338         file.
54339         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54340         file.
54341         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54342         multiarch strchrnul for PPC32.
54343         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54344         multiarch objects.
54345         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54346         (__libc_ifunc_impl_list): Likewise.
54348         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54349         file.
54350         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54351         multiarch strncasecmp for PPC32.
54352         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54353         file.
54354         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54355         multiarch strncasecmp_l for PPC32.
54356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54357         strncasecmp multiarch objects.
54358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54359         (__libc_ifunc_impl_list): Likewise.
54361         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54362         file.
54363         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54364         multiarch strncasecmp for PPC32.
54365         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54366         New file.
54367         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54368         multiarch strcasecmp_l for PPC32.
54369         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54370         multiarch objects.
54371         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54372         (__libc_ifunc_impl_list): Likewise.
54374         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54375         file.
54376         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54377         file.
54378         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54379         multiarch strncmp for PPC32.
54380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54381         multiarch objects.
54382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54383         (__libc_ifunc_impl_list): Likewise.
54385         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54386         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54387         file.
54388         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54389         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54391         multiarch objects.
54392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54393         (__libc_ifunc_impl_list): Likewise.
54395         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54396         file.
54397         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54398         file.
54399         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54400         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54401         multiarch objects.
54402         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54403         (__libc_ifunc_impl_list): Likewise.
54405         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54406         file.
54407         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54408         file.
54409         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54410         multiarch rawmemchr for PPC32.
54411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54412         multiarch objects.
54413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54414         (__libc_ifunc_impl_list): Likewise.
54416         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54417         file.
54418         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54419         file.
54420         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54421         file: memrchr multiarch for PPC32.
54422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54423         multiarch objects.
54424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54425         (__libc_ifunc_impl_list): Likewise.
54427         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54428         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54429         file.
54430         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54431         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54432         multiarch memchr for PPC32.
54433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54434         multiarch objects.
54435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54436         (__libc_ifunc_impl_list): Likewise.
54438         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54439         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54440         file.
54441         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54442         file.
54443         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54444         file: multiarch mempcpy for PPC32.
54445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54446         multiarch objects.
54447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54448         (__libc_ifunc_impl_list): Likewise.
54450         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54451         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54452         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54453         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54454         multiarch bzero for PPC32.
54455         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54456         file.
54457         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54458         file.
54459         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54460         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54461         file: multiarch memset for PPC32.
54462         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54463         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54464         memset multiarch objects.
54465         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54466         (__libc_ifunc_impl_list): Likewise.
54468         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54469         file.
54470         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54472         memcmp for PPC32.
54473         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54475         multiarch objects.
54476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54477         (__libc_ifunc_impl_list): Likewise.
54479         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54480         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54481         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54482         file.
54483         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54484         file.
54485         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54486         file.
54487         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54488         multiarch memcpy for PPC32.
54489         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54490         multiarch objects.
54491         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54492         (__libc_ifunc_impl_list): Likewise.
54494         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54495         support multiarch for POWER/PPC32.
54496         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54497         Likewise.
54498         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54500         Implies file to make multiarch folder appers before the fpu and
54501         default folder for power4 configuration.
54503 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54505         * scripts/bench.pl: Append volatile keyword to type.
54507 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54509         * sysdeps/sh/sotruss-lib.c: New file.
54510         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54512 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54516 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54518         [BZ #6810]
54519         * math/w_tgamma.c: Include <errno.h>.
54520         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54521         * math/w_tgammaf.c: Include <errno.h>.
54522         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54523         * math/w_tgammal.c: Include <errno.h>.
54524         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54525         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54526         underflow.  Add more tgamma tests.
54527         * math/auto-libm-test-out: Regenerated.
54528         * sysdeps/i386/fpu/libm-test-ulps: Update.
54529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54531         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54532         sin, sinh, tan, tanh, tgamma, y0 and y1.
54533         * math/auto-libm-test-out: Regenerated.
54534         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54535         (TEST_COND_x86): Likewise.
54536         (M_E2l): Remove macro.
54537         (M_E3l): Likewise.
54538         (M_2_SQRT_PIl): Likewise.
54539         (M_SQRT_PIl): Likewise.
54540         (M_1_DIV_El): Likewise.
54541         (log_test_data): Use AUTO_TESTS_f_f.
54542         (log10_test_data): Likewise.
54543         (log1p_test_data): Likewise.
54544         (log2_test_data): Likewise.
54545         (sin_test_data): Likewise.
54546         (sin_tonearest_test_data): Likewise.
54547         (sin_towardzero_test_data): Likewise.
54548         (sin_downward_test_data): Likewise.
54549         (sin_upward_test_data): Likewise.
54550         (sinh_test_data): Likewise.
54551         (sinh_tonearest_test_data): Likewise.
54552         (sinh_towardzero_test_data): Likewise.
54553         (sinh_downward_test_data): Likewise.
54554         (sinh_upward_test_data): Likewise.
54555         (tan_test_data): Likewise.
54556         (tan_tonearest_test_data): Likewise.
54557         (tan_towardzero_test_data): Likewise.
54558         (tan_downward_test_data): Likewise.
54559         (tan_upward_test_data): Likewise.
54560         (tanh_test_data): Likewise.
54561         (tgamma_test_data): Likewise.
54562         (y0_test_data): Likewise.
54563         (y1_test_data): Likewise.
54564         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54565         (special_real_inputs): Add pi/4.
54566         * sysdeps/i386/fpu/libm-test-ulps: Update.
54567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54569 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54571         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54572         "longjmp_target" static probes.
54573         (__longjmp): Rename to __longjmp_symbol.
54574         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54575         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54576         on which longjmp to generate.
54577         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54578         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54579         probe.
54580         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54581         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54582         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54583         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54584         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54585         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54587         __longjmp_symbol based on which __longjmp to generate.
54588         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54589         probe.
54590         (setjmp): Rename to setjmp_symbol.
54591         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54592         (_setjmp): Rename to _setjmp_symbol.
54593         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54594         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54595         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54596         which setjmp to generate.
54597         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54598         "longjmp_target" static probes.
54600 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54602         * benchtests/README: Add note about output arguments.
54603         * benchtests/bench-sincos.c: Remove file.
54604         * benchtests/sincos-inputs: New file.
54605         * scripts/bench.pl: Identify output arguments and define
54606         static variables for them.
54608         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54610         [BZ #15941]
54611         * Makefile (INSTALL): Add install-plain.texi as the primary
54612         dependency.
54613         * manual/install-plain.texi: New file.
54614         * manual/install.texi: Include node directive only for
54615         non-plaintext output.
54617 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54619         * stdlib/longlong.h: Update from GCC.
54621         [BZ #6807]
54622         [BZ #15901]
54623         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54624         * math/w_j0f.c (y0f): Likewise.
54625         * math/w_j0l.c (__y0l): Likewise.
54626         * math/w_j1.c (y1): Likewise.
54627         * math/w_j1f.c (y1f): Likewise.
54628         * math/w_j1l.c (__y1l): Likewise.
54629         * math/w_jn.c (yn): Likewise.
54630         * math/w_jnf.c (ynf): Likewise.
54631         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54632         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54633         value for Bessel function domain errors outside _SVID_ mode.
54634         Adjust sign of return value for yn (negative integer, 0).
54635         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54636         by zero in return for negative x and set sign appropriately for
54637         negative n.
54638         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54639         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54640         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54641         expectations in error cases.
54642         (y1_test_data): Likewise.
54643         (yn_test_data): Likewise.
54644         * sysdeps/i386/fpu/libm-test-ulps: Update.
54645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54647 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54649         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54650         "64" to "64-v1".  Add "64-v2".
54651         (abi-64-options): Rename to ...
54652         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54653         (abi-64-condition): Rename to ...
54654         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54655         (abi-64-ld-soname): Rename to ...
54656         (abi-64-v1-ld-soname): ... this.
54657         (abi-64-v2-options): Define.
54658         (abi-64-v2-condition): Likewise.
54659         (abi-64-v2-ld-soname): Likewise.
54660         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54661         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54666 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54667             Alan Modra  <amodra@gmail.com>
54669         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54670         New versions for use with the ELFv2 ABI.
54671         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54672         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54673         declaration.
54674         (struct La_ppc64v2_retval): Likewise.
54675         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54676         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54677         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54678         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54679         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54680         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54681         Do not save or restore CR.
54682         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54683         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54684         return values for ELFv2 ABI.  Fix location of FPR return registers.
54685         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54686         updated values for _CALL_ELF == 2.
54687         (La_regs, La_retval, int_retval): Likewise.
54689 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54691         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54692         (FRAME_MIN_SIZE_PARM): Likewise.
54693         (FRAME_BACKCHAIN): Likewise.
54694         (FRAME_CR_SAVE): Likewise.
54695         (FRAME_LR_SAVE): Likewise.
54696         (FRAME_TOC_SAVE): Likewise.
54697         (FRAME_PARM_SAVE): Likewise.
54698         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54699         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54700         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54701         (call_mcount_parm_offset): New macro.
54702         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54703         (PROF): Use symbolic stack frame offsets.
54704         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54705         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54706         Redefine in terms of FRAME_MIN_SIZE.
54707         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54708         (_dl_profile_resolve): Likewise.  Update comment.
54709         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54710         symbols stack frame offsets.
54711         (__sigsetjmp): Likewise.
54712         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54713         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54714         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54715         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54718         (FRAME_BACKCHAIN): Remove.
54719         (FRAME_CR_SAVE): Likewise.
54720         (FRAME_LR_SAVE): Likewise.
54721         (FRAME_COMPILER_DW): Likewise.
54722         (FRAME_LINKER_DW): Likewise.
54723         (FRAME_TOC_SAVE): Likewise.
54724         (FRAME_PARM_SAVE): Likewise.
54725         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54726         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54727         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54729         (CHECK_SP): Use symbolic stack frame offsets.
54730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54731         zone" instead of caller's parameter save area for temp storage.
54732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54733         Likewise.  Also, use symbolic stack frame offsets.
54734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54735         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54736         our own stack frame instead of the caller's.
54737         (__socket): Use symbolic stack frame offsets.
54739 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54740             Alan Modra  <amodra@gmail.com>
54742         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54743         Define.
54744         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54745         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54746         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54747         New function.
54748         (elf_machine_fixup_plt): Call it.
54749         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54750         reloc arguments.
54751         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54752         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54753         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54754         r2 before calling target.
54756 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54757             Alan Modra  <amodra@gmail.com>
54759         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54760         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54761         versions of macros to support ELFv2 ABI.
54762         (LOCALENTRY): New macro.
54763         (ENTRY, EALIGN): Use it.
54764         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54765         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54766         fall through into ENTRY entry point.
54767         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54768         Only define if _CALL_ELF != 2.
54770         (elf_machine_matches_host): Verify ABI version matches.
54771         (RTLD_START): Use LOCALENTRY.
54772         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54773         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54774         (PLT_ENTRY_WORDS): New macro.
54775         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54776         (elf_machine_runtime_setup): Support ELFv2 ABI.
54777         (elf_machine_fixup_plt): Likewise.
54778         (elf_machine_plt_conflict): Likewise.
54779         (resolve_ifunc): Likewise.
54780         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54781         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54782         Likewise.
54783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54784         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54786         (makecontext): Support ELFv2 ABI.
54787         * elf/elf.h (EF_PPC64_ABI): Define.
54789 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54791         * sysdeps/powerpc/powerpc64/sysdep.h
54792         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54793         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54794         (ENTRY) [ASSEMBLER]: ... but instead here ...
54795         (EALIGN) [ASSEMBLER]: ... and here.
54796         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54797         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54798         (ENTRY_2) [!ASSEMBLER]: Use it.
54799         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54800         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54801         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54802         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54803         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54805         Use PPC64_LOAD_FUNCPTR.
54807         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54809 2013-12-04  Alan Modra  <amodra@gmail.com>
54811         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54812         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54813         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54814         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54816         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54817         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54818         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54819         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54820         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54821         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54823 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54826         (__makecontext): Fix incorrect CFI when backtracing out of
54827         context created via makecontext.
54828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54829         (__setcontext): Fix incorrect CFI during switch to new context.
54830         (__novec_setcontext): Likewise.
54832 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54834         [BZ #4772]
54835         * time/strptime_l.c (__strptime_internal): Allow modifiers
54836         in strptime.
54837         * time/tst-strptime.c (day_tests): Add testcase.
54839 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54841         * scripts/bench.pl: Skip over blank lines.
54843 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54845         [BZ #926]
54846         * manual/time.texi (Calendar Time): Clarify what timezone functions
54847         use.
54849 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54853 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54855         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54856         implementation.
54857         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54858         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54859         * debug/memset_chk.c (__memset_chk): Likewise.
54860         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54861         * debug/strncpy_chk.c: Likewise.
54863 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54865         [BZ #15268]
54866         [BZ #15425]
54867         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54868         (__ieee754_exp): For possibly underflowing results, check size of
54869         result and force underflow exception if required.
54870         * math/auto-libm-test-in: Add more tests of exp.
54871         * math/auto-libm-test-out: Regenerated.
54872         * sysdeps/i386/fpu/libm-test-ulps: Update.
54873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54875         [BZ #16283]
54876         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54877         * math/w_exp2f.c (__exp2f): Likewise.
54878         * math/w_exp2l.c (__exp2l): Likewise.
54879         * math/auto-libm-test-in: Do not allow missing errno on exp2
54880         underflow.
54881         * math/auto-libm-test-out: Regenerated.
54883 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54885         [BZ #16274]
54886         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54887         handle filename validation.
54888         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54889         (do_open): Delete.
54891 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54893         [BZ #6786]
54894         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54895         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54896         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54897         <float.h>.
54898         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54899         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54900         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54901         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54902         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54903         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54904         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54905         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54906         Add more erfc tests.
54907         * math/auto-libm-test-out: Regenerated.
54908         * sysdeps/i386/fpu/libm-test-ulps: Update.
54909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54911         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54912         exp2, expm1, j0 and j1.
54913         * math/auto-libm-test-out: Regenerated.
54914         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54915         (erfc_test_data): Likewise.
54916         (exp_test_data): Likewise.
54917         (exp_tonearest_test_data): Likewise.
54918         (exp_towardzero_test_data): Likewise.
54919         (exp_downward_test_data): Likewise.
54920         (exp_upward_test_data): Likewise.
54921         (exp10_test_data): Likewise.
54922         (exp2_test_data): Likewise.
54923         (expm1_test_data): Likewise.
54924         (j0_test_data): Likewise.
54925         (j1_test_data): Likewise.
54926         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54927         (input_flag_type): Add flag_xfail_rounding.
54928         (input_flags): Add xfail-rounding.
54929         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54930         (output_for_one_input_case): Handle flag_xfail_rounding.
54931         * sysdeps/i386/fpu/libm-test-ulps: Update.
54932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54934 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54936         [BZ #16289]
54937         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54938         division by 0.
54940 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54942         [BZ #16195]
54943         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54944         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54945         (STAP_PROBE0): New macro.
54946         (STAP_PROBE1): Likewise.
54947         (STAP_PROBE2): Likewise.
54948         (STAP_PROBE3): Likewise.
54949         (STAP_PROBE4): Likewise.
54951 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54953         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54955 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54957         * benchtests/Makefile (bench): Add sqrt.
54958         (LDLIBS-bench-sqrt): New.
54959         * benchtests/sqrt-input: New.
54961 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54963         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54964         (GAIH_EAI): Likewise.
54965         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54966         (gaih_inet): Likewise.
54967         (getaddrinfo): Don't use GAIH_EAI.
54969         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54970         (struct gaih): Remove definition.
54972 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54974         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54975         Use HERRNOP directly.
54977 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54981 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54983         * math/gen-auto-libm-tests.c (test_functions): Add more
54984         single-argument functions.
54985         (special_fill_pi_2): New function.
54986         (special_fill_minus_pi_2): Likewise.
54987         (special_fill_pi_6): Likewise.
54988         (special_fill_minus_pi_6): Likewise.
54989         (special_fill_pi_3): Likewise.
54990         (special_fill_2pi_3): Likewise.
54991         (special_fill_e): Likewise.
54992         (special_fill_1_e): Likewise.
54993         (special_fill_e_minus_1): Likewise.
54994         (special_real_inputs): Add more special inputs.
54995         (output_for_one_input_case): Do not require ERANGE on underflow to
54996         zero if round-to-nearest result does not underflow to zero, unless
54997         exact results required.
54998         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54999         atan, atanh, cbrt, cos and cosh.
55000         * math/auto-libm-test-out: Regenerated.
55001         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
55002         (acos_tonearest_test_data): Likewise.
55003         (acos_towardzero_test_data): Likewise.
55004         (acos_downward_test_data): Likewise.
55005         (acos_upward_test_data): Likewise.
55006         (acosh_test_data): Likewise.
55007         (asin_test_data): Likewise.
55008         (asin_tonearest_test_data): Likewise.
55009         (asin_towardzero_test_data): Likewise.
55010         (asin_upward_test_data): Likewise.
55011         (asinh_test_data): Likewise.
55012         (atan_test_data): Likewise.
55013         (atanh_test_data): Likewise.
55014         (cbrt_test_data): Likewise.
55015         (cos_test_data): Likewise.
55016         (cos_tonearest_test_data): Likewise.
55017         (cos_towardzero_test_data): Likewise.
55018         (cos_downward_test_data): Likewise.
55019         (cos_upward_test_data): Likewise.
55020         (cosh_test_data): Likewise.
55021         (cosh_tonearest_test_data): Likewise.
55022         (cosh_towardzero_test_data): Likewise.
55023         (cosh_downward_test_data): Likewise.
55024         (cosh_upward_test_data): Likewise.
55025         * sysdeps/i386/fpu/libm-test-ulps: Update.
55026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55028 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
55030         [BZ #6787]
55031         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
55032         * math/w_exp10f.c (__exp10f): Likewise.
55033         * math/w_exp10l.c (__exp10l): Likewise.
55034         * math/libm-test.inc (exp10_test_data): Add more tests and expect
55035         errno settings in existing tests.
55037         [BZ #14032]
55038         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
55039         precision control set to double precision.
55040         * sysdeps/i386/fpu/w_sqrt.c: New file.
55041         * math/auto-libm-test-in: Add more tests.
55042         * math/auto-libm-test-out: Update.
55044         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
55045         (sqrt_test_tonearest): New function.
55046         (sqrt_towardzero_test_data): New variable.
55047         (sqrt_test_towardzero): New function.
55048         (sqrt_downward_test_data): New variable.
55049         (sqrt_test_downward): New function.
55050         (sqrt_upward_test_data): New variable.
55051         (sqrt_test_upward): New function.
55052         (main): Call the new functions.
55054         * math/gen-auto-libm-tests.c: New file.
55055         * math/auto-libm-test-in: Likewise.
55056         * math/auto-libm-test-out: New generated file.
55057         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
55058         variables.
55059         (%beautify): Add generated representations of zero.
55060         (top level): Set $auto_input and call parse_auto_input.
55061         (beautify): Remove trailing "f" from hex float constants.
55062         (parse_args): Handle XFAIL_TEST.
55063         (convert_condition): New function.
55064         (or_value): Likewise.
55065         (or_cond_value): Likewise.
55066         (generate_testfile): Handle AUTO_TESTS_* lines.
55067         (parse_auto_input): New function.
55068         * math/libm-test.inc (XFAIL_TEST): New macro.
55069         (ERRNO_UNCHANGED): Update value.
55070         (ERRNO_EDOM): Likewise.
55071         (ERRNO_ERANGE): Likewise.
55072         (IGNORE_RESULT): Likewise.
55073         (TEST_COND_flt_32): New macro.
55074         (TEST_COND_dbl_64): Likewise.
55075         (TEST_COND_ldbl_96_intel): Likewise.
55076         (TEST_COND_ldbl_96_m68k): Likewise.
55077         (TEST_COND_ldbl_128): Likewise.
55078         (TEST_COND_ldbl_128ibm): Likewise.
55079         (TEST_COND_long32): Likewise.
55080         (TEST_COND_long64): Likewise.
55081         (TEST_COND_before_rounding): Likewise.
55082         (TEST_COND_after_rounding): Likewise.
55083         (enable_test): Handle XFAIL_TEST flag.
55084         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
55085         with finite results.
55086         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
55087         auto-libm-test-out.
55089 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55090             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55092         [BZ #16214]
55093         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
55094         __tls_get_addr_internal instead of __tls_get_offset in order to
55095         avoid GOT pointer dependency.  Make rtld export
55096         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
55097         __tls_get_addr since we are a __tls_get_offset platform.
55098         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
55099         GOT pointer being set up before.
55100         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
55102 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
55104         * manual/math.texi (Errors in Math Functions): Document accuracy
55105         goals.
55107         [BZ #15004]
55108         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
55109         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
55110         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55111         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55112         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55113         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55114         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55115         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55116         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55117         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55118         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55119         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55120         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55121         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55122         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55123         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55125         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
55126         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
55127         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
55128         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
55129         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
55130         Likewise.
55131         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
55132         Likewise.
55133         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
55134         Likewise.
55135         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
55136         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
55137         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
55138         atomic-feupdateenv and flt-rounds.
55139         * sysdeps/powerpc/nofpu/Versions (libc): Add
55140         __atomic_feholdexcept, __atomic_feclearexcept,
55141         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
55142         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
55143         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
55144         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
55145         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
55146         here.
55147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
55148         Update.
55150         * manual/arith.texi (FP Exceptions): Document that exceptions may
55151         not be raised when matherr is used.
55152         (Math Error Reporting): Document overflow in directed rounding
55153         modes.  Document that errno may not be set when finite values are
55154         returned on overflow.  Document intent to set errno on underflow
55155         only for underflow to zero.
55157         [BZ #16271]
55158         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
55159         round-to-nearest then adjust result for other rounding modes.
55160         * include/fenv.h (fegetround): Use libm_hidden_proto.
55161         * math/fegetround.c (fegetround): Use libm_hidden_def.
55162         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
55163         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
55164         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55165         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
55166         Likewise.
55167         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
55168         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55169         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
55170         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
55172 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55174         [BZ #16077]
55175         * nss/Versions (libnss_files): Add
55176         _nss_files_gethostbyname3_r.
55177         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
55178         New function.
55179         (HOST_DB_LOOKUP): Remove macro.
55180         (_nss_files_gethostbyname_r): Implement function without the
55181         HOST_DB_LOOKUP macro.
55182         (_nss_files_gethostbyname2_r): Likewise.
55184 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
55186         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
55188 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
55190         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
55191         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
55192         warning.
55194 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55196         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
55197         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
55198         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
55199         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
55200         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
55201         __fe_nomask_env_priv and attribute_hidden.
55202         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
55203         (libc_feupdateenv_test_ppc): Likewise.
55204         (libc_feresetround_ppc): Likewise.
55205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55206         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
55207         compat_symbol macro.
55208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55209         (__fe_nomask_env): Likewise.
55210         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
55212 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55214         * string/Makefile: Remove ifunc tests.
55215         * string/test-string.h: Define TEST_IFUNC.
55216         * string/test-bcopy-ifunc.c: Remove.
55217         * string/test-bzero-ifunc.c: Likewise.
55218         * string/test-memccpy-ifunc.c: Likewise.
55219         * string/test-memchr-ifunc.c: Likewise.
55220         * string/test-memcmp-ifunc.c: Likewise.
55221         * string/test-memcpy-ifunc.c: Likewise.
55222         * string/test-memmem-ifunc.c: Likewise.
55223         * string/test-memmove-ifunc.c: Likewise.
55224         * string/test-mempcpy-ifunc.c: Likewise.
55225         * string/test-memrchr-ifunc.c: Likewise.
55226         * string/test-memset-ifunc.c: Likewise.
55227         * string/test-rawmemchr-ifunc.c: Likewise.
55228         * string/test-stpcpy-ifunc.c: Likewise.
55229         * string/test-stpncpy-ifunc.c: Likewise.
55230         * string/test-strcasecmp-ifunc.c: Likewise.
55231         * string/test-strcasestr-ifunc.c: Likewise.
55232         * string/test-strcat-ifunc.c: Likewise.
55233         * string/test-strchr-ifunc.c: Likewise.
55234         * string/test-strchrnul-ifunc.c: Likewise.
55235         * string/test-strcmp-ifunc.c: Likewise.
55236         * string/test-strcpy-ifunc.c: Likewise.
55237         * string/test-strcspn-ifunc.c: Likewise.
55238         * string/test-strlen-ifunc.c: Likewise.
55239         * string/test-strncasecmp-ifunc.c: Likewise.
55240         * string/test-strncat-ifunc.c: Likewise.
55241         * string/test-strncmp-ifunc.c: Likewise.
55242         * string/test-strncpy-ifunc.c: Likewise.
55243         * string/test-strnlen-ifunc.c: Likewise.
55244         * string/test-strpbrk-ifunc.c: Likewise.
55245         * string/test-strrchr-ifunc.c: Likewise.
55246         * string/test-strspn-ifunc.c: Likewise.
55247         * string/test-strstr-ifunc.c: Likewise.
55249 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55251         * benchtests/Makefile: Remove ifunc tests.
55252         * benchtests/bench-string.h: Define TEST_IFUNC.
55253         * benchtests/bench-bcopy-ifunc.c: Remove.
55254         * benchtests/bench-bzero-ifunc.c: Likewise.
55255         * benchtests/bench-memccpy-ifunc.c: Likewise.
55256         * benchtests/bench-memchr-ifunc.c: Likewise.
55257         * benchtests/bench-memcmp-ifunc.c: Likewise.
55258         * benchtests/bench-memcpy-ifunc.c: Likewise.
55259         * benchtests/bench-memmem-ifunc.c: Likewise.
55260         * benchtests/bench-memmove-ifunc.c: Likewise.
55261         * benchtests/bench-mempcpy-ifunc.c: Likewise.
55262         * benchtests/bench-memrchr-ifunc.c: Likewise.
55263         * benchtests/bench-memset-ifunc.c: Likewise.
55264         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
55265         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
55266         * benchtests/bench-stpcpy-ifunc.c: Likewise.
55267         * benchtests/bench-stpncpy-ifunc.c: Likewise.
55268         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
55269         * benchtests/bench-strcasestr-ifunc.c: Likewise.
55270         * benchtests/bench-strcat-ifunc.c: Likewise.
55271         * benchtests/bench-strchr-ifunc.c: Likewise.
55272         * benchtests/bench-strchrnul-ifunc.c: Likewise.
55273         * benchtests/bench-strcmp-ifunc.c: Likewise.
55274         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
55275         * benchtests/bench-strcpy-ifunc.c: Likewise.
55276         * benchtests/bench-strcspn-ifunc.c: Likewise.
55277         * benchtests/bench-strlen-ifunc.c: Likewise.
55278         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
55279         * benchtests/bench-strncat-ifunc.c: Likewise.
55280         * benchtests/bench-strncmp-ifunc.c: Likewise.
55281         * benchtests/bench-strncpy-ifunc.c: Likewise.
55282         * benchtests/bench-strnlen-ifunc.c: Likewise.
55283         * benchtests/bench-strpbrk-ifunc.c: Likewise.
55284         * benchtests/bench-strrchr-ifunc.c: Likewise.
55285         * benchtests/bench-strsep-ifunc.c: Likewise.
55286         * benchtests/bench-strspn-ifunc.c: Likewise.
55287         * benchtests/bench-strstr-ifunc.c: Likewise.
55289 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55291         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
55293 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55295         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55296         * rt/aio.h: Likewise.
55297         * sysdeps/gnu/bits/utmp.h: Likewise.
55298         * sysdeps/gnu/bits/utmpx.h: Likewise.
55299         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55300         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55301         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55302         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55303         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55304         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55305         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55306         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55307         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55308         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55309         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55310         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55311         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55313         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55314         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55315         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55316         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55317         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55318         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55319         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55320         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55321         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55322         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55323         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55324         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55325         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55326         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55327         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55328         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55329         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55330         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55331         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55332         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55333         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55334         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55335         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55336         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55337         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55338         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55339         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55340         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55342 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55344         [BZ #16245]
55345         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55346         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55348 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55350         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55351         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55352         Likewise.
55354 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55356         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55357         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55358         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55359         (__fesetround): Remove define.
55360         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55361         rounding and exceptions handling.
55362         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55363         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55364         (__fe_nomask_env): Likewise.
55365         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55366         __fegetround instead of fegetround.
55367         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55368         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55370 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55372         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55373         it's there.
55375         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55377 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55379         [BZ #11157]
55380         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55381         (encrypt_r): Likewise.
55382         * malloc/obstack.h (obstack_free): Likewise.
55383         * posix/unistd.h (encrypt): Likewise.
55385 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55387         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55388         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55389         DL_CALL_DT_FINI() that call the functions directly.
55390         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55391         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55392         * elf/dl-fini.c: Likewise.
55394 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55396         * malloc/hooks.c (memalign_check): Add alignment rounding.
55397         * malloc/malloc.c (_mid_memalign): New function.
55398         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55399         Implement by calling _mid_memalign.
55400         * manual/probes.texi (Memory Allocation Probes): Remove
55401         memory_valloc_retry and memory_pvalloc_retry.
55403 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55405         * locale/programs/locarchive.c (open_archive): Add const
55406         qualifier to ARCHIVEFNAME and copy default fname to
55407         DEFAULT_FNAME.
55409         [BZ #15601]
55410         * libio/tst-widetext.input: Rename Oriya to Odia.
55411         * locale/iso-639.def: Likewise.
55413         * manual/probes.texi (Mathematical Function Probes): Add
55414         documentation for sin, cos, asin and acos probes.
55415         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55416         (__sin32): Add slowasin probe.
55417         (__cos32): Add slowacos probe.
55418         (__mpsin): Add slowsin probe.
55419         (__mpcos): Add slowcos probe.
55421 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55423         [BZ #15483]
55424         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55425         thread-local __sim_exceptions_thread and global
55426         __sim_exceptions_global.
55427         (__sim_disabled_exceptions): Change to thread-local
55428         __sim_disabled_exceptions_thread and global
55429         __sim_disabled_exceptions_global.
55430         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55431         and global __sim_round_mode_global.
55432         (__simulate_exceptions): Use thread-local floating-point state and
55433         set global state from it as needed.
55434         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55435         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55436         __sim_round_mode_thread.
55437         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55438         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55439         and global __sim_exceptions_global.
55440         (__sim_disabled_exceptions): Change to thread-local
55441         __sim_disabled_exceptions_thread and global
55442         __sim_disabled_exceptions_global.
55443         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55444         and global __sim_round_mode_global.
55445         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55446         (SIM_SET_GLOBAL): Likewise.
55447         * sysdeps/powerpc/soft-fp/sfp-machine.h
55448         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55449         __sim_round_mode_thread.
55450         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55451         __sim_disabled_exceptions_thread.
55452         (__sim_exceptions): Change to __sim_exceptions_thread.
55453         (__sim_disabled_exceptions): Change to
55454         __sim_disabled_exceptions_thread.
55455         (__sim_round_mode): Change to __sim_round_mode_thread.
55456         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55457         thread-local floating-point state and set global state from it as
55458         needed.
55459         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55460         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55461         (__sim_disabled_exceptions): Remove extern declaration.
55462         (feenableexcept): Use thread-local floating-point state and set
55463         global state from it as needed.
55464         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55465         extern declaration.
55466         (__sim_disabled_exceptions): Likewise.
55467         (__sim_round_mode): Likewise.
55468         (__fegetenv): Use thread-local floating-point state.
55469         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55470         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55471         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55472         floating-point state and set global state from it as needed.
55473         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55474         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55475         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55476         Likewise.
55477         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55478         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55479         Likewise.
55480         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55481         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55482         Use __sim_round_mode_thread.
55483         * math/test-fenv-tls.c: New file.
55484         * math/Makefile (tests): Add test-fenv-tls.
55485         ($(objpfx)test-fenv-tls): Depend on
55486         $(common-objpfx)nptl/libpthread.so.
55488 2013-11-19  Andreas Schwab  <schwab@suse.de>
55490         * locale/programs/locale.c (show_info): Decode wordarray elements.
55491         * locale/categories.def (LC_MONETARY): Add element for
55492         _NL_MONETARY_CRNCYSTR.
55493         * locale/C-monetary.c (conversion_rate): New variable.
55494         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55495         element.
55497 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55499         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55500         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55502 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55504         * elf/Makefile (tst-auxv): New test.
55505         * elf/tst-auxv.c: New
55506         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55508 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55510         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55511         (hidden_proto): Caller changed.
55512         (hidden_tls_proto): New macro.
55513         (libc_hidden_tls_proto): Likewise.
55514         (rtld_hidden_tls_proto): Likewise.
55515         (libm_hidden_tls_proto): Likewise.
55516         (libresolv_hidden_tls_proto): Likewise.
55517         (librt_hidden_tls_proto): Likewise.
55518         (libdl_hidden_tls_proto): Likewise.
55519         (libnss_files_hidden_tls_proto): Likewise.
55520         (libnsl_hidden_tls_proto): Likewise.
55521         (libnss_nisplus_hidden_tls_proto): Likewise.
55522         (libutil_hidden_tls_proto): Likewise.
55524 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55526         [BZ #10253]
55527         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55528         (decompose_rpath): Defer expansion to fillin_rpath.
55529         (_dl_init_paths): Pass linkmap to fillin_rpath.
55531 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55533         * benchtests/Makefile: Add strsep.
55534         * benchtests/bench-strsep.c: New file: strsep benchtest.
55535         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55537 2013-11-18  Andreas Schwab  <schwab@suse.de>
55539         * locale/programs/locale.c (show_info) [case byte]: Check for
55540         '\377' instead of '\177'.
55541         * locale/C-monetary.c (not_available): Always use "\377".
55542         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55543         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55544         detect unavailable sign_posn locale elements.
55545         * locale/localeconv.c (__localeconv): For grouping and
55546         mon_grouping handle "\177" and "\377" like no grouping.
55547         (INT_ELEM): New macro.  Use it to set all numeric members.
55548         * locale/programs/ld-monetary.c (monetary_read)
55549         <tok_mon_grouping>: Normalize single -1 to the empty string.
55550         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55551         Likewise.
55553 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55555         [BZ #16055]
55556         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55557         when we match (nil).
55558         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55560 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55562         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55563         (NO_TEST_INLINE): Update value.
55564         (ERRNO_UNCHANGED): Likewise.
55565         (ERRNO_EDOM): Likewise.
55566         (ERRNO_ERANGE): Likewise.
55567         (IGNORE_RESULT): Likewise.
55568         (check_float_internal): Check signs of NaN results if
55569         TEST_NAN_SIGN used.
55570         (check_complex): Pass TEST_NAN_SIGN flag through to second
55571         check_float_internal call.
55572         (copysign_test_data): Add tests with quiet NaNs as second
55573         argument.  Use TEST_NAN_SIGN.
55574         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55575         TEST_NAN_SIGN.
55576         (signbit_test_data): Add tests of quiet NaN argument.
55577         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55579         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55580         $ignore_result.
55581         (parse_args): Handle function results specified as IGNORE.
55582         * math/libm-test.inc (IGNORE_RESULT): New macro.
55583         (check_float_internal): Do not check numerical result if flag
55584         IGNORE_RESULT set.
55585         (check_complex): Pass through IGNORE_RESULT to second
55586         check_float_internal call.
55587         (check_int): Do not check numerical result if flag IGNORE_RESULT
55588         set.
55589         (check_long): Likewise.
55590         (check_bool): Likewise.
55591         (check_longlong): Likewise.
55592         (lrint_test_data): Add tests of infinite and NaN arguments.
55593         (lrint_tonearest_test_data): Likewise.
55594         (lrint_towardzero_test_data): Likewise.
55595         (lrint_downward_test_data): Likewise.
55596         (lrint_upward_test_data): Likewise.
55597         (llrint_test_data): Likewise.
55598         (llrint_tonearest_test_data): Likewise.
55599         (llrint_towardzero_test_data): Likewise.
55600         (llrint_downward_test_data): Likewise.
55601         (llrint_upward_test_data): Likewise.
55602         (lround_test_data): Likewise.
55603         (llround_test_data): Likewise.
55605         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55606         (ERRNO_UNCHANGED): Update value.
55607         (ERRNO_EDOM): Likewise.
55608         (ERRNO_ERANGE): Likewise.
55609         (NO_TEST_INLINE_FLOAT): New macro.
55610         (NO_TEST_INLINE_DOUBLE): Likewise.
55611         (enable_test): New function.
55612         (RUN_TEST_f_f): Check enable_test before running test.
55613         (RUN_TEST_2_f): Likewise.
55614         (RUN_TEST_fff_f): Likewise.
55615         (RUN_TEST_c_f): Likewise.
55616         (RUN_TEST_f_f1): Likewise.
55617         (RUN_TEST_fF_f1): Likewise.
55618         (RUN_TEST_fI_f1): Likewise.
55619         (RUN_TEST_ffI_f1): Likewise.
55620         (RUN_TEST_c_c): Likewise.
55621         (RUN_TEST_cc_c): Likewise.
55622         (RUN_TEST_f_i): Likewise.
55623         (RUN_TEST_f_i_tg): Likewise.
55624         (RUN_TEST_ff_i_tg): Likewise.
55625         (RUN_TEST_f_b): Likewise.
55626         (RUN_TEST_f_b_tg): Likewise.
55627         (RUN_TEST_f_l): Likewise.
55628         (RUN_TEST_f_L): Likewise.
55629         (RUN_TEST_fFF_11): Likewise.
55630         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55631         conditionals.
55632         (cosh_test_data): Likewise.
55633         (exp_test_data): Likewise.
55634         (expm1_test_data): Likewise.
55635         (hypot_test_data): Likewise.
55636         (pow_test_data): Likewise.
55637         (sinh_test_data): Likewise.
55638         (tanh_test_data): Likewise.
55639         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55640         flags argument.
55642         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55643         tests with quiet NaN input and output.
55644         (acosh_test_data): Likewise.
55645         (asin_test_data): Likewise.
55646         (asinh_test_data): Likewise.
55647         (atan_test_data): Likewise.
55648         (atanh_test_data): Likewise.
55649         (atan2_test_data): Likewise.
55650         (cbrt_test_data): Likewise.
55651         (cos_test_data): Likewise.
55652         (cosh_test_data): Likewise.
55653         (erf_test_data): Likewise.
55654         (erfc_test_data): Likewise.
55655         (exp_test_data): Likewise.
55656         (exp10_test_data): Likewise.
55657         (exp2_test_data): Likewise.
55658         (expm1_test_data): Likewise.
55659         (hypot_test_data): Likewise.
55660         (j0_test_data): Likewise.
55661         (j1_test_data): Likewise.
55662         (jn_test_data): Likewise.
55663         (lgamma_test_data): Likewise.
55664         (log_test_data): Likewise.
55665         (log10_test_data): Likewise.
55666         (log1p_test_data): Likewise.
55667         (log2_test_data): Likewise.
55668         (pow_test_data): Likewise.
55669         (scalb_test_data): Likewise.
55670         (sin_test_data): Likewise.
55671         (sincos_test_data): Likewise.
55672         (sinh_test_data): Likewise.
55673         (tan_test_data): Likewise.
55674         (tanh_test_data): Likewise.
55675         (tgamma_test_data): Likewise.
55676         (y0_test_data): Likewise.
55677         (y1_test_data): Likewise.
55678         (yn_test_data): Likewise.
55680         [BZ #16167]
55681         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55682         argument being NaN and avoid computations with second argument in
55683         that case.
55684         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55685         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55686         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55688 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55690         * locale/iso-639.def: Add Chitwani Tharu (the).
55692 2013-11-14  Andreas Schwab  <schwab@suse.de>
55694         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55695         word instead of empty string.
55697 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55700         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55702         (__fe_nomask_env): Likewise.
55704 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55706         * benchtests/bench-timing.h: Include time.h.
55708 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55710         [BZ #15997]
55711         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55712         to 3.4.0 for x32.
55713         * sysdeps/unix/sysv/linux/configure: Regenerated.
55715 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55717         [BZ #16151]
55718         * stdlib/strtod_l.c (round_and_return): Do not consider
55719         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55720         exponent one less than half the least subnormal exponent.
55721         * stdlib/test-strtod-round-data: Add more tests.
55722         * stdlib/tst-strtod-round.c (tests): Regenerated.
55724 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55726         [BZ #14143]
55727         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55728         (__fe_mask_env): Likewise.
55729         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55730         libm_hidden_proto and add function prototype.
55731         (__fe_mask_env): Add function prototype.
55732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55733         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55735         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55737         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55739 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55741         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55742         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55744 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55746         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55747         of htab_find_slot().
55749 2013-11-11  David S. Miller  <davem@davemloft.net>
55751         [BZ #16150]
55752         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55753         symbol in the non-vis3 case in static builds.
55754         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55755         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55756         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55757         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55759 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55761         [BZ #387]
55762         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55763         it is empty.
55765 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55767         * benchtests/Makefile: Add bench-strtod.
55768         * benchtests/bench-strtod.c: New file: strtod benchtest
55770 2013-11-11  Andreas Schwab  <schwab@suse.de>
55772         [BZ #16153]
55773         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55774         terminating NUL in key length.
55776 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55778         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55779         Add artificial ODP entry for vDSO symbol for PPC64.
55780         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55781         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55783 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55785         [BZ #15374]
55786         * nss/getent.c (services_keys): Recognize services starting with digit.
55788 2013-11-06  David S. Miller  <davem@davemloft.net>
55790         [BZ #15985]
55791         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55792         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55794 2013-11-06  Will Newton  <will.newton@linaro.org>
55796         * manual/memory.texi (Malloc Examples): Remove register
55797         keyword from examples.
55799 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55801         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55803 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55805         [BZ #6981]
55806         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55807         depending on [__GCC_IEC_559 > 0].
55808         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55809         depending on [__GCC_IEC_559_COMPLEX > 0].
55811 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55813         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55814         to iso-639.def.
55816 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55818         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55820 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55822         [BZ #16112]
55823         * malloc/malloc (malloc_info): Do not handle first bin as
55824         special case.
55826 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55828         * locale/iso-639.def: Add Central Nahuatl (nhn).
55830 2013-11-01  Bruno Haible  <bruno@clisp.org>
55832         [BZ #7003]
55833         * manual/math.texi (BSD Random): Specify range upper bound as
55834         in POSIX.
55836 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55838         * locale/iso-639.def: Add Meadow Mari (mhr).
55840 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55842         [BZ #14752], [BZ #15763]
55843         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55844         Validate name.
55845         * rt/tst_shm.c: Add test for escaping directory.
55847 2013-10-31  Andreas Schwab  <schwab@suse.de>
55849         [BZ #15917]
55850         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55851         followed by 'x' as part of digit sequence.
55852         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55854 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55856         [BZ #16037]
55857         * configure.ac: allow GNU Make 4.0 and greater.
55858         * configure: Regenerated.
55860 2013-10-30  Will Newton  <will.newton@linaro.org>
55862         [BZ #16038]
55863         * malloc/hooks.c (memalign_check): Limit alignment to the
55864         maximum representable power of two.
55865         * malloc/malloc.c (__libc_memalign): Likewise.
55866         * malloc/tst-memalign.c (do_test): Add test for very
55867         large alignment values.
55868         * malloc/tst-posix_memalign.c (do_test): Likewise.
55870 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55872         [BZ #11087]
55873         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55874         (munmap_chunk): Likewise.
55875         (mremap_chunk): Likewise.
55877 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55879         [BZ #15799]
55880         * stdlib/div.c (div): Remove obsolete code.
55881         * stdlib/ldiv.c (ldiv): Likewise.
55882         * stdlib/lldiv.c (lldiv): Likewise.
55884 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55886         [BZ #16071]
55887         * nss/nss_files/files-XXX.c (get_contents_ret): New
55888         enumerator.
55889         (get_contents): New function.
55890         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55892 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55894         * configure.in: Moved to ...
55895         * configure.ac: ... here. Change reference to configure.in
55896         to configure.ac.
55897         * sysdeps/arm/preconfigure.ac: ... here.
55898         configure.in to configure.ac.
55899         * sysdeps/gnu/configure.in: Moved to ...
55900         * sysdeps/gnu/configure.ac: ... here.
55901         * sysdeps/i386/configure.in: Moved to ...
55902         * sysdeps/i386/configure.ac: ... here.
55903         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55904         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55905         * sysdeps/mach/configure.in: Moved to ...
55906         * sysdeps/mach/configure.ac: ... here.
55907         * sysdeps/mach/hurd/configure.in: Moved to ...
55908         * sysdeps/mach/hurd/configure.ac: ... here.
55909         * sysdeps/powerpc/configure.in: Moved to ...
55910         * sysdeps/powerpc/configure.ac: ... here.
55911         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55912         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55913         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55914         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55915         * sysdeps/s390/s390-32/configure.in: Moved to ...
55916         * sysdeps/s390/s390-32/configure.ac: ... here.
55917         * sysdeps/s390/s390-64/configure.in: Moved to ...
55918         * sysdeps/s390/s390-64/configure.ac: ... here.
55919         * sysdeps/sh/configure.in: Moved to ...
55920         * sysdeps/sh/configure.ac: ... here.
55921         * sysdeps/sparc/configure.in: Moved to ...
55922         * sysdeps/sparc/configure.ac: ... here.
55923         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55924         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55925         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55926         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55927         * sysdeps/x86_64/configure.in: Moved to ...
55928         * sysdeps/x86_64/configure.ac: ... here.
55929         * sysdeps/x86_64/preconfigure.in: Moved to ...
55930         * sysdeps/x86_64/preconfigure.ac: ... here.
55931         * aclocal.m4: Change reference to configure.in to configure.ac.
55932         * config.h.in: Likewise.
55933         * manual/install.texi: Likewise.
55934         * manual/maint.texi: Likewise.
55935         * Makefile: Likewise.
55936         * malloc/Makefile: Likewise.
55937         * nscd/Makefile: Likewise.
55938         * Makeconfig: Change reference to configure.in and
55939         preconfigure.in to configure.ac and preconfigure.ac
55940         respectively.
55941         * INSTALL: Regenerated.
55942         * configure: Likewise.
55943         * sysdeps/gnu/configure: Likewise.
55944         * sysdeps/i386/configure: Likewise.
55945         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55946         * sysdeps/mach/configure: Likewise.
55947         * sysdeps/mach/hurd/configure: Likewise.
55948         * sysdeps/powerpc/configure: Likewise.
55949         * sysdeps/powerpc/powerpc32/configure: Likewise.
55950         * sysdeps/powerpc/powerpc64/configure: Likewise.
55951         * sysdeps/s390/s390-32/configure: Likewise.
55952         * sysdeps/s390/s390-64/configure: Likewise.
55953         * sysdeps/sh/configure: Likewise.
55954         * sysdeps/sparc/configure: Likewise.
55955         * sysdeps/unix/sysv/linux/configure: Likewise.
55956         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55957         * sysdeps/x86_64/configure: Likewise.
55958         * sysdeps/x86_64/preconfigure: Likewise.
55960 2013-10-29  Andreas Schwab  <schwab@suse.de>
55962         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55964 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55966         * benchtests/pow-inputs: Add new inputs.
55968         * benchtests/exp-inputs: Add new inputs.
55970         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55971         conditional check for return value.
55972         (__cos32): Likewise.
55974 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55976         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55977         to provide a boost for large inputs with word alignment.
55978         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55979         implementation based on optimized PPC64 strcpy.
55980         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55981         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55982         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55983         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55985 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55987         [BZ #2801]
55988         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55990 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55992         [BZ #14876]
55993         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55994         * time/tst-strptime.c (day_tests): Add testcase.
55996 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55998         [BZ #14029]
55999         * manual/pattern.texi: Acknowledge that fnmatch can fail.
56001 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
56003         [BZ #16074]
56004         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
56005         MAP_FAILED on error.
56007 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56009         [BZ #16072]
56010         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
56011         heap for large requests.
56013 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
56015         [BZ #9954]
56016         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
56017         result if the result has no associated interface.
56018         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
56019         interface for all 127.X.Y.Z addresses.
56021 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
56023         * locale/iso-639.def: Add Ligurian (lij)
56025 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
56027         [BZ #15825]
56028         * sunrpc/rpc_main.c: Document rpcgen -5.
56030 2013-10-19  Michael Stahl  <mstahl@redhat.com>
56032         * elf/rtld.c (do_preload): Print the reason why preloading failed.
56034 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56036         [BZ #10278]
56037         * posix/glob.c: Match only directories when trailing slash is present.
56038         * posix/tst-gnuglob.c (my_opendir): Do not open files.
56039         (main): Add testcase.
56041 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56043         [BZ #15670]
56044         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
56046 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
56048         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
56049         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
56050         AUTH_DES and cindex for FIPS 140-2.
56051         (DES Encryption): Add cindex FIPS 46-3.
56053         * locale/locarchive.h (struct locarhandle): Add fname.
56054         * locale/programs/localedef.c (main): Pass ARGV[remaining]
56055         if an optional argument was specified to --list-archive,
56056         otherwise NULL.
56057         * locale/programs/locarchive.c (show_archive_content): Take new
56058         argument fname and pass it via ah.fname to open_archive.
56059         * locale/programs/localedef.h: Update decl.
56060         (open_archive): If AH->fname is non-null, open that file
56061         rather than the default file name, and don't ignore ENOENT.
56062         (create_archive): Set AH.fname to NULL.
56063         (delete_locales_from_archive): Likewise.
56064         (add_locales_to_archive): Likewise.
56065         * locale/programs/locfile.c (write_all_categories): Likewise.
56067 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
56068             Aldy Hernandez  <aldyh@redhat.com>
56070         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
56071         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
56072         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
56073         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
56074         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
56075         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
56076         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
56077         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
56078         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
56079         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
56080         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
56081         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
56082         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
56083         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
56084         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
56085         Likewise.
56086         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
56087         Likewise.
56088         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
56089         Likewise.
56090         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
56091         Likewise.
56092         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
56093         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
56094         Likewise.
56095         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
56096         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
56097         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
56098         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
56099         Likewise.
56100         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
56101         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
56102         * sysdeps/powerpc/preconfigure: Likewise.
56103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
56104         Likewise.
56105         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
56106         Replace contents of file by #include of <fenv_libc.h>.
56107         * sysdeps/powerpc/soft-fp/sfp-machine.h
56108         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
56109         and <sys/prctl.h>.
56110         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
56111         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
56112         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
56113         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
56114         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
56115         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
56116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
56117         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
56118         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
56119         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
56120         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
56121         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
56122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56123         Allow copysignl PLT reference to be missing.
56125 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
56126             Joseph Myers  <joseph@codesourcery.com
56128         [BZ #15948]
56129         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
56130         single character.
56131         (add_to_tablewc): Assert sequence of wide characters is nonempty.
56133 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56135         * elf/tst-tls-dlinfo.c: Don't include tls.h.
56136         * elf/tst-tls1.c: Likewise.
56137         * elf/tst-tls10.h: Likewise.
56138         * elf/tst-tls14.c: Likewise.
56139         * elf/tst-tls2.c: Likewise.
56140         * elf/tst-tls3.c: Likewise.
56141         * elf/tst-tls4.c: Likewise.
56142         * elf/tst-tls5.c: Likewise.
56143         * elf/tst-tls6.c: Likewise.
56144         * elf/tst-tls7.c: Likewise.
56145         * elf/tst-tls8.c: Likewise.
56146         * elf/tst-tls9.c: Likewise.
56147         * elf/tst-tlsmod1.c: Likewise.
56148         * elf/tst-tlsmod13.c: Likewise.
56149         * elf/tst-tlsmod13a.c: Likewise.
56150         * elf/tst-tlsmod14a.c: Likewise.
56151         * elf/tst-tlsmod16a.c: Likewise.
56152         * elf/tst-tlsmod16b.c: Likewise.
56153         * elf/tst-tlsmod2.c: Likewise.
56154         * elf/tst-tlsmod3.c: Likewise.
56155         * elf/tst-tlsmod4.c: Likewise.
56156         * elf/tst-tlsmod5.c: Likewise.
56157         * elf/tst-tlsmod6.c: Likewise.
56159 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
56161         [BZ #12486]
56162         * malloc/malloc.c: remove checks for statistics.
56164 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56166         [BZ #15277]
56167         * inet/inet_net.c (inet_network): Detect additional invalid strings.
56168         * inet/tst-network.c: Add testcase.
56170 2013-10-17  Andreas Schwab  <schwab@suse.de>
56172         [BZ #15218]
56173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
56174         to determine canonical name.
56176 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56178         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
56179         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
56180         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56181         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56183         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56184         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56185         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56186         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56187         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56188         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
56189         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56190         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56191         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56192         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56193         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56194         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56195         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56196         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56197         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56198         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56199         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56200         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56201         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
56202         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
56203         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56204         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56205         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
56206         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56207         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
56208         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56209         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56210         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56211         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56212         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56213         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56214         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56215         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56216         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56217         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56218         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56219         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56220         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56221         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56222         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56223         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56224         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56225         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56226         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56227         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56228         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56229         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56230         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56231         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56232         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56233         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56234         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56235         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56237 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
56239         [BZ #16041]
56240         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
56241         make result into a quiet NaN.
56243 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
56245         * soft-fp/adddf3.c: Fix horizontal whitespace.
56246         * soft-fp/addsf3.c: Likewise.
56247         * soft-fp/addtf3.c: Likewise.
56248         * soft-fp/divdf3.c: Likewise.
56249         * soft-fp/divsf3.c: Likewise.
56250         * soft-fp/divtf3.c: Likewise.
56251         * soft-fp/double.h: Likewise.
56252         * soft-fp/eqdf2.c: Likewise.
56253         * soft-fp/eqsf2.c: Likewise.
56254         * soft-fp/eqtf2.c: Likewise.
56255         * soft-fp/extenddftf2.c: Likewise.
56256         * soft-fp/extended.h: Likewise.
56257         * soft-fp/extendsfdf2.c: Likewise.
56258         * soft-fp/extendsftf2.c: Likewise.
56259         * soft-fp/extendxftf2.c: Likewise.
56260         * soft-fp/fixdfdi.c: Likewise.
56261         * soft-fp/fixdfsi.c: Likewise.
56262         * soft-fp/fixdfti.c: Likewise.
56263         * soft-fp/fixsfdi.c: Likewise.
56264         * soft-fp/fixsfsi.c: Likewise.
56265         * soft-fp/fixsfti.c: Likewise.
56266         * soft-fp/fixtfdi.c: Likewise.
56267         * soft-fp/fixtfsi.c: Likewise.
56268         * soft-fp/fixtfti.c: Likewise.
56269         * soft-fp/fixunsdfdi.c: Likewise.
56270         * soft-fp/fixunsdfsi.c: Likewise.
56271         * soft-fp/fixunsdfti.c: Likewise.
56272         * soft-fp/fixunssfdi.c: Likewise.
56273         * soft-fp/fixunssfsi.c: Likewise.
56274         * soft-fp/fixunssfti.c: Likewise.
56275         * soft-fp/fixunstfdi.c: Likewise.
56276         * soft-fp/fixunstfsi.c: Likewise.
56277         * soft-fp/fixunstfti.c: Likewise.
56278         * soft-fp/floatdidf.c: Likewise.
56279         * soft-fp/floatdisf.c: Likewise.
56280         * soft-fp/floatditf.c: Likewise.
56281         * soft-fp/floatsidf.c: Likewise.
56282         * soft-fp/floatsisf.c: Likewise.
56283         * soft-fp/floatsitf.c: Likewise.
56284         * soft-fp/floattidf.c: Likewise.
56285         * soft-fp/floattisf.c: Likewise.
56286         * soft-fp/floattitf.c: Likewise.
56287         * soft-fp/floatundidf.c: Likewise.
56288         * soft-fp/floatundisf.c: Likewise.
56289         * soft-fp/floatunditf.c: Likewise.
56290         * soft-fp/floatunsidf.c: Likewise.
56291         * soft-fp/floatunsisf.c: Likewise.
56292         * soft-fp/floatunsitf.c: Likewise.
56293         * soft-fp/floatuntidf.c: Likewise.
56294         * soft-fp/floatuntisf.c: Likewise.
56295         * soft-fp/floatuntitf.c: Likewise.
56296         * soft-fp/fmadf4.c: Likewise.
56297         * soft-fp/fmasf4.c: Likewise.
56298         * soft-fp/fmatf4.c: Likewise.
56299         * soft-fp/gedf2.c: Likewise.
56300         * soft-fp/gesf2.c: Likewise.
56301         * soft-fp/getf2.c: Likewise.
56302         * soft-fp/ledf2.c: Likewise.
56303         * soft-fp/lesf2.c: Likewise.
56304         * soft-fp/letf2.c: Likewise.
56305         * soft-fp/muldf3.c: Likewise.
56306         * soft-fp/mulsf3.c: Likewise.
56307         * soft-fp/multf3.c: Likewise.
56308         * soft-fp/negdf2.c: Likewise.
56309         * soft-fp/negsf2.c: Likewise.
56310         * soft-fp/negtf2.c: Likewise.
56311         * soft-fp/op-1.h: Likewise.
56312         * soft-fp/op-2.h: Likewise.
56313         * soft-fp/op-4.h: Likewise.
56314         * soft-fp/op-8.h: Likewise.
56315         * soft-fp/op-common.h: Likewise.
56316         * soft-fp/quad.h: Likewise.
56317         * soft-fp/single.h: Likewise.
56318         * soft-fp/soft-fp.h: Likewise.
56319         * soft-fp/sqrtdf2.c: Likewise.
56320         * soft-fp/sqrtsf2.c: Likewise.
56321         * soft-fp/sqrttf2.c: Likewise.
56322         * soft-fp/subdf3.c: Likewise.
56323         * soft-fp/subsf3.c: Likewise.
56324         * soft-fp/subtf3.c: Likewise.
56325         * soft-fp/truncdfsf2.c: Likewise.
56326         * soft-fp/trunctfdf2.c: Likewise.
56327         * soft-fp/trunctfsf2.c: Likewise.
56328         * soft-fp/trunctfxf2.c: Likewise.
56329         * soft-fp/unorddf2.c: Likewise.
56330         * soft-fp/unordsf2.c: Likewise.
56331         * soft-fp/unordtf2.c: Likewise.
56333 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56335         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56336         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56338 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56340         * elf/dl-libc.c: Clear initfini list after freeing.
56342 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56344         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56345         * soft-fp/addsf3.c: Likewise.
56346         * soft-fp/addtf3.c: Likewise.
56347         * soft-fp/divdf3.c: Likewise.
56348         * soft-fp/divsf3.c: Likewise.
56349         * soft-fp/divtf3.c: Likewise.
56350         * soft-fp/double.h: Likewise.
56351         * soft-fp/eqdf2.c: Likewise.
56352         * soft-fp/eqsf2.c: Likewise.
56353         * soft-fp/eqtf2.c: Likewise.
56354         * soft-fp/extenddftf2.c: Likewise.
56355         * soft-fp/extended.h: Likewise.
56356         * soft-fp/extendsfdf2.c: Likewise.
56357         * soft-fp/extendsftf2.c: Likewise.
56358         * soft-fp/extendxftf2.c: Likewise.
56359         * soft-fp/fixdfdi.c: Likewise.
56360         * soft-fp/fixdfsi.c: Likewise.
56361         * soft-fp/fixdfti.c: Likewise.
56362         * soft-fp/fixsfdi.c: Likewise.
56363         * soft-fp/fixsfsi.c: Likewise.
56364         * soft-fp/fixsfti.c: Likewise.
56365         * soft-fp/fixtfdi.c: Likewise.
56366         * soft-fp/fixtfsi.c: Likewise.
56367         * soft-fp/fixtfti.c: Likewise.
56368         * soft-fp/fixunsdfdi.c: Likewise.
56369         * soft-fp/fixunsdfsi.c: Likewise.
56370         * soft-fp/fixunsdfti.c: Likewise.
56371         * soft-fp/fixunssfdi.c: Likewise.
56372         * soft-fp/fixunssfsi.c: Likewise.
56373         * soft-fp/fixunssfti.c: Likewise.
56374         * soft-fp/fixunstfdi.c: Likewise.
56375         * soft-fp/fixunstfsi.c: Likewise.
56376         * soft-fp/fixunstfti.c: Likewise.
56377         * soft-fp/floatdidf.c: Likewise.
56378         * soft-fp/floatdisf.c: Likewise.
56379         * soft-fp/floatditf.c: Likewise.
56380         * soft-fp/floatsidf.c: Likewise.
56381         * soft-fp/floatsisf.c: Likewise.
56382         * soft-fp/floatsitf.c: Likewise.
56383         * soft-fp/floattidf.c: Likewise.
56384         * soft-fp/floattisf.c: Likewise.
56385         * soft-fp/floattitf.c: Likewise.
56386         * soft-fp/floatundidf.c: Likewise.
56387         * soft-fp/floatundisf.c: Likewise.
56388         * soft-fp/floatunsidf.c: Likewise.
56389         * soft-fp/floatunsisf.c: Likewise.
56390         * soft-fp/floatuntidf.c: Likewise.
56391         * soft-fp/floatuntisf.c: Likewise.
56392         * soft-fp/floatuntitf.c: Likewise.
56393         * soft-fp/fmadf4.c: Likewise.
56394         * soft-fp/fmasf4.c: Likewise.
56395         * soft-fp/fmatf4.c: Likewise.
56396         * soft-fp/gedf2.c: Likewise.
56397         * soft-fp/gesf2.c: Likewise.
56398         * soft-fp/getf2.c: Likewise.
56399         * soft-fp/ledf2.c: Likewise.
56400         * soft-fp/lesf2.c: Likewise.
56401         * soft-fp/letf2.c: Likewise.
56402         * soft-fp/muldf3.c: Likewise.
56403         * soft-fp/mulsf3.c: Likewise.
56404         * soft-fp/multf3.c: Likewise.
56405         * soft-fp/negdf2.c: Likewise.
56406         * soft-fp/negsf2.c: Likewise.
56407         * soft-fp/negtf2.c: Likewise.
56408         * soft-fp/op-1.h: Likewise.
56409         * soft-fp/op-2.h: Likewise.
56410         * soft-fp/op-4.h: Likewise.
56411         * soft-fp/op-8.h: Likewise.
56412         * soft-fp/op-common.h: Likewise.
56413         * soft-fp/quad.h: Likewise.
56414         * soft-fp/single.h: Likewise.
56415         * soft-fp/soft-fp.h: Likewise.
56416         * soft-fp/sqrtdf2.c: Likewise.
56417         * soft-fp/sqrtsf2.c: Likewise.
56418         * soft-fp/sqrttf2.c: Likewise.
56419         * soft-fp/subdf3.c: Likewise.
56420         * soft-fp/subsf3.c: Likewise.
56421         * soft-fp/subtf3.c: Likewise.
56422         * soft-fp/truncdfsf2.c: Likewise.
56423         * soft-fp/trunctfdf2.c: Likewise.
56424         * soft-fp/trunctfsf2.c: Likewise.
56425         * soft-fp/trunctfxf2.c: Likewise.
56426         * soft-fp/unorddf2.c: Likewise.
56427         * soft-fp/unordsf2.c: Likewise.
56428         * soft-fp/unordtf2.c: Likewise.
56430 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56432         [BZ #15672]
56433         * misc/error.c (error_tail): Fix possible buffer overflow.
56435 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56437         [BZ #13028]
56438         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56439         address.
56441 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56443         [BZ #832]
56444         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56445         testing pipefail option.
56447 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56449         * soft-fp/double.h: Indent preprocessor directives inside #if.
56450         * soft-fp/extended.h: Likewise.
56451         * soft-fp/op-2.h: Likewise.
56452         * soft-fp/op-4.h: Likewise.
56453         * soft-fp/op-common.h: Likewise.
56454         * soft-fp/quad.h: Likewise.
56455         * soft-fp/single.h: Likewise.
56456         * soft-fp/soft-fp.h: Likewise.
56458 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56460         * iconv/iconv_prog.c: Fix typos.
56461         * stdio-common/psiginfo-data.h: Likewise.
56463 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56465         [BZ #15764]
56466         * locale/setlocale.c: Fix typo.
56468 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56470         [BZ #16036]
56471         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56472         signaling NaN arguments.
56473         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56474         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56476         [BZ #14910]
56477         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56478         unordered operands.
56479         * soft-fp/gesf2.c (__gesf2): Likewise.
56480         * soft-fp/getf2.c (__getf2): Likewise.
56481         * soft-fp/ledf2.c (__ledf2): Likewise.
56482         * soft-fp/lesf2.c (__lesf2): Likewise.
56483         * soft-fp/letf2.c (__letf2): Likewise.
56485         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56486         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56487         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56488         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56489         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56490         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56491         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56492         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56493         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56494         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56495         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56496         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56497         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56498         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56499         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56500         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56501         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56502         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56503         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56504         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56505         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56506         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56507         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56508         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56509         * soft-fp/floattidf.c (__floattidf): Likewise.
56510         * soft-fp/floattisf.c (__floattisf): Likewise.
56511         * soft-fp/floattitf.c (__floattitf): Likewise.
56512         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56513         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56514         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56515         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56516         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56517         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56518         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56519         * soft-fp/gesf2.c (__gesf2): Likewise.
56520         * soft-fp/getf2.c (__getf2): Likewise.
56521         * soft-fp/ledf2.c (__ledf2): Likewise.
56522         * soft-fp/lesf2.c (__lesf2): Likewise.
56523         * soft-fp/letf2.c (__letf2): Likewise.
56525         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56526         Undefine and redefine.
56527         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56528         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56529         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56530         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56531         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56532         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56533         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56534         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56535         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56536         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56537         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56538         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56539         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56540         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56541         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56543         [BZ #16032]
56544         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56545         without decrementing exponent if mantissa >= that for the
56546         denominator, not >.
56547         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56548         denominator, not >.  Decrement exponent in < case instead of
56549         incrementing in >= case.
56550         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56551         without decrementing exponent if mantissa >= that for the
56552         denominator, not >.
56554         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56555         computing saturated result for unsigned overflow.
56557 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56558             Jeff Law  <law@redhat.com>
56560         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56561         (atan2Mp): Add systemtap probe marker.
56562         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56563         (__ieee754_log): Add systemtap probe marker.
56564         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56565         (atanMp): Add systemtap probe marker.
56566         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56567         (tanMp): Add systemtap probe marker.
56568         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56569         (__slowexp): Add systemtap probe marker.
56570         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56571         (__slowpow): Add systemtap probe marker.
56572         * manual/probes.texi: Document probes.
56574 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56576         [BZ #15362]
56577         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56578         written.
56579         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56580         written.
56581         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56582         written to buffer but not flushed.
56583         * libio/iofwrite_u.c:  Likewise.
56584         * libio/iopadn.c:  Return bytes returned even if EOF was
56585         encountered.
56586         * libio/iowpadn.c:  Likewise.
56587         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56588         if _IO_padn does not write the whole buffer.
56589         [!COMPILE_WPRINTF] (PAD): Likewise.
56591 2013-10-10  David S. Miller  <davem@davemloft.net>
56593         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56594         directory block.
56596 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56598         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56599         instead of FSF address.
56600         * soft-fp/fixdfti.c: Likewise.
56601         * soft-fp/fixsfti.c: Likewise.
56602         * soft-fp/fixtfti.c: Likewise.
56603         * soft-fp/fixunsdfti.c: Likewise.
56604         * soft-fp/fixunssfti.c: Likewise.
56605         * soft-fp/fixunstfti.c: Likewise.
56606         * soft-fp/floattidf.c: Likewise.
56607         * soft-fp/floattisf.c: Likewise.
56608         * soft-fp/floattitf.c: Likewise.
56609         * soft-fp/floatuntidf.c: Likewise.
56610         * soft-fp/floatuntisf.c: Likewise.
56611         * soft-fp/floatuntitf.c: Likewise.
56612         * soft-fp/trunctfxf2.c: Likewise.
56614         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56615         * soft-fp/fixdfti.c: Likewise.
56616         * soft-fp/fixsfti.c: Likewise.
56617         * soft-fp/fixtfti.c: Likewise.
56618         * soft-fp/fixunsdfti.c: Likewise.
56619         * soft-fp/fixunssfti.c: Likewise.
56620         * soft-fp/fixunstfti.c: Likewise.
56621         * soft-fp/floattidf.c: Likewise.
56622         * soft-fp/floattisf.c: Likewise.
56623         * soft-fp/floattitf.c: Likewise.
56624         * soft-fp/floatuntidf.c: Likewise.
56625         * soft-fp/floatuntisf.c: Likewise.
56626         * soft-fp/floatuntitf.c: Likewise.
56627         * soft-fp/trunctfxf2.c: Likewise.
56629 2013-10-10  David S. Miller  <davem@davemloft.net>
56631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56633 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56635         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56636         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56637         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56638         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56639         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56640         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56641         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56643         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56644         for NaNs before doing comparisons on argument.
56645         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56646         Likewise.
56648 2013-10-10  Will Newton  <will.newton@linaro.org>
56650         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56651         passed to _int_memalign does not overflow.
56653 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56655         * scripts/bench.pl: Add include-sources directive.
56656         * benchtests/README: Update documentation.
56658 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56660         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56661         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56662         instead of FP_INIT_ROUNDMODE.
56663         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56664         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56666         [BZ #16034]
56667         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56668         copy class of input value.
56669         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56670         not handle exceptions.
56671         * soft-fp/negsf2.c (__negsf2): Likewise.
56672         * soft-fp/negtf2.c (__negtf2): Likewise.
56673         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56675 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56677         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56678         semicolon.  From Linux kernel.
56680 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56682         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56684 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56686         [BZ #156]
56687         * manual/socket.texi: Added statement about buffer
56688         for gethostbyname2_r.
56690 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56692         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56693         Use .p2align directive instead, throughout.
56694         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56695         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56696         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56697         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56698         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56699         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56700         * sysdeps/x86_64/strchr.S: Likewise.
56701         * sysdeps/x86_64/strrchr.S: Likewise.
56703 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56705         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56707         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56709         * sysdeps/generic/math_private.h (__mpsin1): Remove
56710         declaration.
56711         (__mpcos1): Likewise.
56712         (__mpsin): New argument __range_reduce.
56713         (__mpcos): Likewise.
56714         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56715         (slow): Use __mpsin and __mpcos.
56716         (slow1): Likewise.
56717         (slow2): Likewise.
56718         (sloww): Likewise.
56719         (sloww1): Likewise.
56720         (sloww2): Likewise.
56721         (bsloww): Likewise.
56722         (bsloww1): Likewise.
56723         (bsloww2): Likewise.
56724         (cslow2): Likewise.
56725         (csloww): Likewise.
56726         (csloww1): Likewise.
56727         (csloww2): Likewise.
56728         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56729         range_reduce.  Merge in __mpsin1.
56730         (__mpcos): Likewise.
56731         (__mpsin1): Remove.
56732         (__mpcos1): Likewise.
56734 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56736         * locale/loadlocale.c (_nl_intern_locale_data): Use
56737         LOCFILE_ALIGNED_P.
56738         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56739         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56740         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56741         obstack data is appropriately aligned.
56742         (obstack_int32_grow_fast): Likewise.
56743         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56744         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56745         (add_locale_uint32_array): Likewise.
56747 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56749         * benchtests/Makefile: Remove ARGLIST and RET variables.
56750         ($(objpfx)bench-%.c): Pass only function name to the script.
56751         * benchtests/README: Update documentation.
56752         * benchtests/acos-inputs: Add new directives.
56753         * benchtests/acosh-inputs: Likewise.
56754         * benchtests/asin-inputs: Likewise.
56755         * benchtests/asinh-inputs: Likewise.
56756         * benchtests/atan-inputs: Likewise.
56757         * benchtests/atanh-inputs: Likewise.
56758         * benchtests/cos-inputs: Likewise.
56759         * benchtests/cosh-inputs: Likewise.
56760         * benchtests/exp-inputs: Likewise.
56761         * benchtests/log-inputs: Likewise.
56762         * benchtests/pow-inputs: Likewise.
56763         * benchtests/rint-inputs: Likewise.
56764         * benchtests/sin-inputs: Likewise.
56765         * benchtests/sinh-inputs: Likewise.
56766         * benchtests/tan-inputs: Likewise.
56767         * benchtests/tanh-inputs: Likewise.
56768         * scripts/bench.pl: Add support for new directives.
56770 2013-10-07  Alan Modra  <amodra@gmail.com>
56772         * README: Fix careless merge.
56774 2013-10-05  Alan Modra  <amodra@gmail.com>
56776         * NEWS: Mention powerpc64le support and bugs fixed.
56777         * README: Both big-endian and little-endian powerpc64 supported.
56779 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56781         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56782         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56783         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56784         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56786 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56788         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56789         match prototype.
56791 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56793         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56794         Move -mhard-float appending from
56795         ports/sysdeps/powerpc/powerpc32/Makefile.
56796         [$(with-fp) = yes] (ASFLAGS): Likewise.
56797         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56798         * sysdeps/powerpc/nofpu: Move directory from
56799         ports/sysdeps/powerpc/nofpu.
56800         * sysdeps/powerpc/soft-fp: Move directory from
56801         ports/sysdeps/powerpc/soft-fp.
56802         * sysdeps/powerpc/powerpc32/405: Move directory from
56803         ports/sysdeps/powerpc/powerpc32/405.
56804         * sysdeps/powerpc/powerpc32/440: Move directory from
56805         ports/sysdeps/powerpc/powerpc32/440.
56806         * sysdeps/powerpc/powerpc32/464: Move directory from
56807         ports/sysdeps/powerpc/powerpc32/464.
56808         * sysdeps/powerpc/powerpc32/476: Move directory from
56809         ports/sysdeps/powerpc/powerpc32/476.
56810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56811         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56813         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56815         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56817         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56819         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56820         * README: Update for powerpc-*-linux-gnu software floating point
56821         support in libc.
56823         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56824         case to powerpc/powerpc32*.
56825         * sysdeps/unix/sysv/linux/configure: Regenerated.
56827         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56828         (_FPU_MASK_OM): Define as 0x04.
56829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56831         0x00c10080.
56832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56833         0x0000003c.
56834         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56837         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56838         getcontext_e500.
56839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56840         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56841         setcontext_e500.
56842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56843         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56844         and setcontext_e500.
56846 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56848         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56850 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56852         * manual/threads.texi (Default Thread Attributes): Fix typo.
56854 2013-10-04  Will Newton  <will.newton@linaro.org>
56856         * malloc/Makefile: Add tst-memalign.
56857         * malloc/tst-memalign.c: New file.
56859         * malloc/tst-posix_memalign.c: Add comments.
56860         (do_test): Add comments and call free on all potentially
56861         allocated pointers. Add space after cast.
56863         * malloc/tst-pvalloc.c: Add comments.
56864         (do_test): Add comments and call free on all potentially
56865         allocated pointers. Remove duplicate check for NULL pointer.
56866         Add space after cast.
56868         * malloc/tst-valloc.c: Add comments.
56869         (do_test): Add comments and call free on all potentially
56870         allocated pointers. Remove duplicate check for NULL pointer.
56871         Add space after cast.
56873 2013-10-04  Alan Modra  <amodra@gmail.com>
56875         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56876         Use stdint types in rather than __attribute__((mode())).
56877         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56879 2013-10-04  Alan Modra  <amodra@gmail.com>
56881         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56882         Correct handling of unaligned relocs for little-endian.
56883         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56885 2013-10-04  Alan Modra  <amodra@gmail.com>
56887         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56888         * configure: Regenerate.
56889         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56890         * shlib-versions: Likewise.
56892 2013-10-04  Alan Modra  <amodra@gmail.com>
56894         * string/tester.c (test_memrchr): Increment reported test cycle.
56896 2013-10-04  Alan Modra  <amodra@gmail.com>
56898         * string/test-memcpy.c (do_one_test): When reporting errors, print
56899         string address and don't overrun end of string.
56901 2013-10-04  Alan Modra  <amodra@gmail.com>
56903         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56904         insrdi.  Make better use of reg selection to speed exit slightly.
56905         Schedule entry path a little better.  Remove useless "are we done"
56906         checks on entry to main loop.  Handle wrapping around zero address.
56907         Correct main loop count.  Handle single left-over word from main
56908         loop inline rather than by using loop_small.  Remove extra word
56909         case in loop_small caused by wrong loop count.  Add little-endian
56910         support.
56911         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56912         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56913         cache hint.
56914         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56915         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56916         support.  Avoid rlwimi.
56917         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56919 2013-10-04  Alan Modra  <amodra@gmail.com>
56921         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56922         insrdi.  Formatting.
56923         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56924         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56925         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56926         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56927         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56928         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56930 2013-10-04  Alan Modra  <amodra@gmail.com>
56932         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56933         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56934         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56935         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56936         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56937         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56938         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56939         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56940         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56941         use of regs.  Use power7 mtocrf.  Tidy function tails.
56943 2013-10-04  Alan Modra  <amodra@gmail.com>
56945         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56946         Formatting.  Consistently use rXXX register defines or rN defines.
56947         Use early exit labels that avoid restoring unused non-volatile regs.
56948         Make cr field use more consistent with rWORDn compares.  Rename
56949         regs used as shift registers for unaligned loop, using rN defines
56950         for short lifetime/multiple use regs.
56951         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56952         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56953         addi 1,1,64 to pop stack frame.  Simplify return value code.
56954         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56956 2013-10-04  Alan Modra  <amodra@gmail.com>
56958         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56959         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56960         rather than rlwimi.
56961         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56962         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56963         little-endian support.  Correct typos.
56964         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56965         rather than rlwimi.
56966         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56967         in loop and entry code to keep "and." results.
56968         (strchr): Add little-endian support.  Comment.  Move cntlzd
56969         earlier in tail.
56970         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56972 2013-10-04  Alan Modra  <amodra@gmail.com>
56974         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56975         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56976         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56977         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56979 2013-10-04  Alan Modra  <amodra@gmail.com>
56981         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56982         (rTMP): Define as r11.
56983         (strcmp): Add little-endian support.  Optimise tail.
56984         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56985         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56986         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56987         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56988         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56989         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56990         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56992 2013-10-04  Alan Modra  <amodra@gmail.com>
56994         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56995         little-endian support.  Remove unnecessary "are we done" tests.
56996         Handle "s" wrapping around zero and extremely large "size".
56997         Correct main loop count.  Handle single left-over word from main
56998         loop inline rather than by using small_loop.  Correct comments.
56999         Delete "zero" tail, use "end_max" instead.
57000         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
57002 2013-10-04  Alan Modra  <amodra@gmail.com>
57004         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
57005         support.  Don't branch over align.
57006         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
57007         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
57008         support.  Rearrange tmp reg use to suit.  Comment.
57009         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
57011 2013-10-04  Alan Modra  <amodra@gmail.com>
57013         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
57015 2013-10-04  Alan Modra  <amodra@gmail.com>
57017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
57018         conditional form of branch and link when obtaining pc.
57019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
57021 2013-10-04  Alan Modra  <amodra@gmail.com>
57023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
57024         HIWORD/LOWORD.
57025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
57026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
57028 2013-10-04  Alan Modra  <amodra@gmail.com>
57030         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
57031         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
57032         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
57033         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
57034         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57035         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57036         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
57037         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57038         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
57039         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
57041 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57042             Alistair Popple <alistair@ozlabs.au.ibm.com>
57043             Alan Modra <amodra@gmail.com>
57045         [BZ #15723]
57046         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
57047         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
57048         _dl_hwcap access for little-endian.
57049         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
57050         destroy vmx regs when saving unaligned.
57051         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
57052         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
57053         destroy vmx regs when saving unaligned.
57055 2013-10-04  Alan Modra  <amodra@gmail.com>
57057         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
57058         Don't use a union to pack hi/low value.
57060 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57062         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
57063         for little-endian.
57064         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57065         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
57066         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57067         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57068         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57070 2013-10-04  Alan Modra  <amodra@gmail.com>
57072         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
57073         constants to usual value for .cst8 section, and remove redundant
57074         high address load.
57075         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
57076         constant for 0x1p52.  Load little-endian words of double from
57077         correct stack offsets.
57079 2013-10-04  Alan Modra  <amodra@gmail.com>
57081         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
57082         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
57083         words of double from correct stack offsets.
57084         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
57085         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
57086         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57087         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57088         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57089         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57090         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57091         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
57092         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
57093         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57094         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57095         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57096         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57097         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57098         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57099         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
57100         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
57102 2013-10-04  Alan Modra  <amodra@gmail.com>
57104         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
57105         64-bit int/double union.
57106         (_FPU_SETCW): Likewise.
57107         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
57108         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
57110 2013-10-04  Alan Modra  <amodra@gmail.com>
57112         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
57113         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
57115 2013-10-04  Alan Modra  <amodra@gmail.com>
57117         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
57118         use vector int constants.
57119         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
57121 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57123         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
57124         array with long long.
57125         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
57126         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
57127         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
57128         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
57129         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
57130         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
57131         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
57132         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
57133         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
57134         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
57135         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
57136         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
57137         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
57139 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57141         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
57142         (__signbit): Likewise.  Correct for little-endian.
57143         (__signbitl): Call __signbit.
57144         (lrint): Correct for little-endian.
57145         (lrintf): Call lrint.
57147 2013-10-04  Alan Modra  <amodra@gmail.com>
57149         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
57150         union 32-bit int array member with 64-bit int array.
57151         (t515, tm256): Double rather than long double.
57152         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
57154 2013-10-04  Alan Modra  <amodra@gmail.com>
57156         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
57157         Delete.
57158         (IEEE854_LONG_DOUBLE_BIAS): Delete.
57159         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
57160         version of math_ldbl.h.
57162 2013-10-04  Alan Modra  <amodra@gmail.com>
57164         [BZ #15734], [BZ #15735]
57165         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
57166         all uses of ieee875 long double macros and unions.  Simplify test
57167         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
57168         ldbl_extract_mantissa value for ix,iy exponents.  Properly
57169         normalize after ldbl_extract_mantissa, and don't add hidden bit
57170         already handled.  Don't treat low word of ieee854 mantissa like
57171         low word of IBM long double and mask off bit when testing for
57172         zero.
57173         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
57174         all uses of ieee875 long double macros and unions.  Simplify tests
57175         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
57176         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
57177         two1022, instead use their values.  Recognise that tests for large
57178         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
57179         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
57180         Rewrite all uses of ieee875 long double macros and unions.  Simplify
57181         test for 0.0L and nan.  Correct negation.
57182         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
57183         ieee875 long double macros and unions.  Correct output for large
57184         magnitude x.  Correct absolute value calculation.
57185         (__erfcl): Likewise.
57186         * math/libm-test.inc: Add tests for errors discovered in IBM long
57187         double versions of fmodl, remainderl, erfl and erfcl.
57189 2013-10-04  Alan Modra  <amodra@gmail.com>
57191         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
57192         all uses of ieee854 long double macros and unions.  Simplify tests
57193         for long doubles that are fully specified by the high double.
57194         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
57195         Likewise.
57196         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
57197         Remove dead code too.
57198         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
57199         (__ieee754_ynl): Likewise.
57200         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
57201         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
57202         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
57203         Remove dead code too.
57204         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
57205         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
57206         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
57207         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
57208         Simplify.
57209         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
57210         Simplify.
57211         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
57212         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
57213         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
57214         Comment on variable precision.
57215         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
57216         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57217         Likewise.
57218         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
57219         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57220         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57221         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
57222         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
57224 2013-10-04  Alan Modra  <amodra@gmail.com>
57226         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
57227         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
57228         all uses of ieee854 long double macros and unions.
57229         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
57230         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57231         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
57232         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
57233         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
57234         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57235         Likewise.
57236         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
57237         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57238         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
57239         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57240         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
57241         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
57242         Simplify sign and nan test too.
57243         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
57244         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
57245         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
57246         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
57247         Likewise.
57248         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57249         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
57250         Likewise.
57251         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57252         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
57253         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
57254         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
57255         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
57256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
57258 2013-10-04  Alan Modra  <amodra@gmail.com>
57260         * stdio-common/printf_size.c (__printf_size): Don't use
57261         union ieee854_long_double in fpnum union.
57262         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
57263         signbit macro to retrieve sign from long double.
57264         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
57265         retrieve sign from long double.
57266         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
57267         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
57268         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
57269         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57270         * math/test-misc.c (main): Don't use union ieee854_long_double.
57272 2013-10-04  Alan Modra  <amodra@gmail.com>
57274         [BZ #15680]
57275         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
57276         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
57277         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
57278         calculation.  Remove unnecessary test for denormal exponent.
57279         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
57280         Correct handling of denormals.  Avoid undefined shift behaviour.
57281         Correct normalisation of low mantissa when low double is denormal.
57282         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
57283         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
57284         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
57285         Correct normalisation of low mantissa.  Test for overflow of high
57286         mantissa and normalise.
57287         (ldbl_nearbyint): Use more readable constant for two52.
57288         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
57289         (__mpn_construct_long_double): Fix test for overflow of high
57290         mantissa and correct normalisation.  Avoid undefined shift.
57292 2013-10-04  Alan Modra  <amodra@gmail.com>
57294         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57295         (union ibm_extended_long_double): Define as an array of ieee754_double.
57296         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57297         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57298         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57299         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57300         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57301         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57302         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57303         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57304         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57305         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57306         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57308 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57310         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57311         page size instead of calling getpagesize.
57313         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57314         (LOCFILE_ALIGN_MASK): Likewise.
57315         (LOCFILE_ALIGN_UP): Likewise.
57316         (LOCFILE_ALIGNED_P): Likewise.
57317         * locale/programs/ld-collate.c (collate_output): Use the new
57318         macros instead of __alignof__ (int32_t).
57319         * locale/weight.h (findidx): Likewise.
57321 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57323         [BZ #431]
57324         * manual/string.texi: Fix strncat and wcsncat.
57326 2013-10-03  Brooks Moses  <bmoses@google.com>
57328         [BZ #15915]
57329         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57330         * Makerules: ...here, and adjust associated comments.
57332 2013-10-02  Will Newton  <will.newton@linaro.org>
57334         * malloc/Makefile: Add tst-pvalloc.
57335         * malloc/tst-pvalloc.c: New file.
57337 2013-10-02  Will Newton  <will.newton@linaro.org>
57339         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57340         improve test coverage.
57342 2013-10-02  Will Newton  <will.newton@linaro.org>
57344         * malloc/Makefile: Add tst-posix_memalign.
57345         * malloc/tst-posix_memalign.c: New file.
57347 2013-10-01  Eric Blake  <eblake@redhat.com>
57349         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57350         Use __THROWNL rather than __THROW on static functions.
57352 2013-09-30  Petr Machata  <pmachata@redhat.com>
57354         * elf/elf.h (R_AARCH64_ABS16): New macro.
57355         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57356         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57357         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57358         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57359         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57360         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57361         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57362         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57363         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57364         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57365         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57366         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57367         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57368         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57369         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57370         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57371         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57372         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57373         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57374         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57375         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57376         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57377         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57378         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57379         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57380         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57381         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57382         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57383         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57384         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57385         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57386         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57387         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57388         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57389         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57390         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57391         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57392         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57393         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57394         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57395         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57396         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57397         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57398         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57399         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57400         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57401         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57402         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57403         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57404         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57405         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57406         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57407         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57408         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57409         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57410         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57411         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57412         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57413         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57414         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57415         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57416         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57417         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57418         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57419         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57420         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57421         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57422         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57423         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57424         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57425         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57426         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57427         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57428         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57429         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57430         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57431         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57432         (R_AARCH64_TLSDESC_LDR): Likewise.
57433         (R_AARCH64_TLSDESC_ADD): Likewise.
57434         (R_AARCH64_TLSDESC_CALL): Likewise.
57436 2013-09-30  Andreas Schwab  <schwab@suse.de>
57438         [BZ #15048]
57439         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57440         the nss database lookup.
57441         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57442         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57444 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57446         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57448 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57450         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57451         ${Bash-specific parameter/pattern/string} parameter expansion.
57452         * sysdeps/unix/make-syscalls.sh: Likewise.
57454 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57456         * sysdeps/sh/stackguard-macros.h: New file.
57458 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57461         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57462         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57463         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57464         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57465         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57467 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57469         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57470         Fix thread ID register.
57472 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57474         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57475         [POSIX || UNIX98]: Require rather than permitting all symbols from
57476         <time.h>.
57477         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57478         element of struct sched_param.
57479         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57480         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57481         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57482         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57483         constant.
57485 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57487         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57488         argument calculation.
57490 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57492         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57493         Expect macro.
57494         [POSIX] (pthread_attr_t): Do not require type.
57495         [POSIX] (pthread_cond_t): Likewise.
57496         [POSIX] (pthread_condattr_t): Likewise.
57497         [POSIX] (pthread_key_t): Likewise.
57498         [POSIX] (pthread_mutex_t): Likewise.
57499         [POSIX] (pthread_mutexattr_t): Likewise.
57500         [POSIX] (pthread_once_t): Likewise.
57501         [POSIX] (pthread_t): Likewise.
57502         [POSIX-based standards] (pthread_atfork): Expect function.
57504 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57505             Richard Sandiford  <richard@codesourcery.com>
57507         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57508         (swap_endianness_p): New extern variable.
57509         (set_big_endian): New inline function.
57510         (maybe_swap_uint32): Likewise.
57511         (maybe_swap_uint32_array): Likewise.
57512         (maybe_swap_uint32_obstack): Likewise.
57513         * locale/programs/locfile.c: Include <stdbool.h>.
57514         (swap_endianness_p): New variable.
57515         (add_locale_uint32): Call maybe_swap_uint32.
57516         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57517         (write_locale_data): Call maybe_swap_uint32_array.
57518         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57519         maybe_swap_uint32.
57520         (obstack_int32_grow_fast): Likewise.
57521         (output_weightwc): Call maybe_swap_uint32_obstack.
57522         (collate_output): Likewise.
57523         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57524         (OPT_LITTLE_ENDIAN): Likewise.
57525         (options): Add --little-endian and --big-endian options.
57526         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57527         * locale/programs/locarchive.c: Include "locfile.h".
57528         (GET): New macro.
57529         (SET): Likewise.
57530         (INC): Likewise.
57531         (create_archive): Use the new macros to access fields of
57532         structures directly mapped from or written to locale archives.
57533         (oldlocrecentcmp): Likewise.
57534         (enlarge_archive): Likewise.
57535         (insert_name): Likewise.
57536         (add_alias): Likewise.
57537         (add_locale): Likewise.
57538         (delete_locales_from_archive): Likewise.
57539         (show_archive_content): Likewise.
57540         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57541         locale data.
57543 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57545         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57546         http://www.gnu.org/doc/freemanuals.texi.
57547         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57549 2013-09-24  Will Newton  <will.newton@linaro.org>
57551         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57552         macro.
57554 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57556         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57557         unsigned char.
57559 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57561         * manual/threads.texi (POSIX Threads): Fix a typo.
57563 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57565         [BZ #14547]
57566         * string/tst-strcoll-overflow.c: New test case.
57567         * string/Makefile (xtests): Add tst-strcoll-overflow.
57568         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57569         cache if string sizes may cause integer overflow.
57571         [BZ #14547]
57572         * string/strcoll_l.c (coll_seq): New members rule, idx,
57573         save_idx and back_us.
57574         (get_next_seq_nocache): New function.
57575         (do_compare_nocache): New function.
57576         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57577         when malloc fails.
57579 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57581         [BZ #15754]
57582         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57583         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57584         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57586         [BZ #15754]
57587         * elf/Makefile (tests): Add tst-ptrguard1.
57588         (tests-static): Add tst-ptrguard1-static.
57589         (tst-ptrguard1-ARGS): Define.
57590         (tst-ptrguard1-static-ARGS): Define.
57591         * elf/tst-ptrguard1.c: New file.
57592         * elf/tst-ptrguard1-static.c: New file.
57593         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57594         * sysdeps/i386/stackguard-macros.h: Likewise.
57595         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57596         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57597         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57598         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57599         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57600         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57602 2013-09-23  Hector Marco  <hecmargi@upv.es>
57603             Ismael Ripoll  <iripoll@disca.upv.es>
57604             Carlos O'Donell  <carlos@redhat.com>
57606         [BZ #15754]
57607         * sysdeps/generic/stackguard-macros.h: Define
57608         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57609         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57610         Define __pointer_chk_guard_local.
57611         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57612         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57614 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57616         [BZ #15859]
57617         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57619 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57621         * include/string.h (__ffs): Declare as hidden.
57622         * string/ffs.c (__ffs): Define as hidden.
57623         * sysdeps/i386/ffs.c (__ffs): Likewise.
57624         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57625         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57626         * sysdeps/s390/ffs.c (__ffs): Likewise.
57627         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57629 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57631         * NEWS: Mention malloc probes.
57633         * malloc/arena.c (new_heap): New memory_heap_new probe.
57634         (grow_heap): New memory_heap_more probe.
57635         (shrink_heap): New memory_heap_less probe.
57636         (heap_trim): New memory_heap_free probe.
57637         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57638         (systrim): New memory_sbrk_less probe.
57639         * manual/probes.texi: Document them.
57641         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57642         * manual/probes.texi: Document it.
57644         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57645         (__libc_realloc): Add memory_realloc_retry probe.
57646         (__libc_memalign): Add memory_memalign_retry probe.
57647         (__libc_valloc): Add memory_valloc_retry probe.
57648         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57649         (__libc_calloc): Add memory_calloc_retry probe.
57650         * manual/probes.texi: Document them.
57652         * malloc/arena.c (get_free_list): Add probe
57653         memory_arena_reuse_free_list.
57654         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57655         and memory_arena_reuse.
57656         (arena_get2) [!PER_THREAD]: Likewise.
57657         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57658         memory_arena_reuse_realloc.
57659         * manual/probes.texi: Document them.
57661         * malloc/malloc.c (__libc_free): Add
57662         memory_mallopt_free_dyn_thresholds probe.
57663         (__libc_mallopt): Add multiple memory_mallopt probes.
57664         * manual/probes.texi: Document them.
57666         * malloc/malloc.c: Include stap-probe.h.
57667         (__libc_mallopt): Add memory_mallopt probe.
57668         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57669         * manual/probes.texi: New.
57670         * manual/Makefile (chapters): Add probes.
57671         * manual/threads.texi: Set next node.
57673 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57675         [BZ #15963, #13985]
57676         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57677         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57678         Add `Chinese' to `nan' entry name.
57680 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57682         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57683         (POLYNOMIAL): Likewise.
57684         (TAYLOR_SINCOS): Likewise.
57685         (TAYLOR_SLOW): Likewise.
57686         (__sin): Use TAYLOR_SINCOS.
57687         (__cos): Likewise.
57688         (slow): Use TAYLOR_SLOW.
57689         (sloww): Likewise.
57690         (bsloww): Likewise.
57691         (csloww): Likewise.
57693 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57695         * stdlib/strtod_l.c: Fix buffer overrun.
57697 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57699         * benchtests/Makefile (bench): Add sincos.
57700         * benchtests/bench-sincos.c: New file.
57702         * math/libm-test.inc (cos_test_data): New test inputs.
57703         (sin_test_data): Likewise.
57705         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57706         macro.
57707         (__sin): Use it.
57708         (__cos): Likewise.
57709         (slow1): Likewise.
57710         (slow2): Likewise.
57711         (sloww1): Likewise.
57712         (sloww2): Likewise.
57713         (bsloww1): Likewise.
57714         (bsloww2): Likewise.
57715         (cslow2): Likewise.
57716         (csloww1): Likewise.
57717         (csloww2): Likewise.
57719         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57720         function.
57721         (__sin): Use it.
57722         (__cos): Likewise.
57724         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57725         gotos.
57726         (__cos): Likewise.
57728 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57730         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57731         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57732         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57733         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57734         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57735         * elf/cache.c (print_entry): Handle the new cache flags.
57737 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57738             Aldy Hernandez  <aldyh@redhat.com>
57740         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57741         Change condition to [_SOFT_FLOAT].
57742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57744         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57747         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57752         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57754         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57755         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57757         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57758         declaration.
57760 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57762         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57763         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57764         (__longjmp): Use LOAD_GP to load saved GPRs.
57765         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57766         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57767         (__sigsetjmp): Use SAVE_GP to save GPRs.
57769         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57770         Do not append -msoft-float.
57771         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57773 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57775         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57777 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57779         [BZ #15966]
57780         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57781         (_FPU_GETCW): Use initial "__" on variable and field names but not
57782         on macro parameter name.
57783         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57784         parentheses around reference to macro parameter.
57786 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57788         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57789         prototype.
57790         (ctype_startup): Use uint32_t in cast and sizeof for
57791         ctype->charnames.
57793 2013-09-11  Jia Liu  <proljc@gmail.com>
57795         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57796         __daddr_t_defined.
57797         [__FreeBSD__]: Likewise.
57799 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57802         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57803         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57804         (strchr): Remove __strchr_sse42 ifunc selection.
57805         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57806         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57808 2013-09-11  Will Newton  <will.newton@linaro.org>
57810         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57811         parameter to RES. Remove hardcoded 1000 value.
57812         * benchtests/bench-skeleton.c (main): Pass RES parameter
57813         to TIMING_INIT and multiply result by 1000.
57815 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57819 2013-09-11  Andreas Schwab  <schwab@suse.de>
57821         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57822         if not defined.
57823         (O_TMPFILE) [__USE_GNU]: Define.
57824         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57825         Define.
57827 2013-09-11  Will Newton  <will.newton@linaro.org>
57829         [BZ #15857]
57830         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57831         does not overflow.
57833 2013-09-11  Will Newton  <will.newton@linaro.org>
57835         [BZ #15856]
57836         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57837         does not overflow.
57839 2013-09-11  Will Newton  <will.newton@linaro.org>
57841         [BZ #15855]
57842         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57843         does not overflow.
57845 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57847         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57848         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57849         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57850         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57851         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57853 2013-09-10  Allan McRae  <allan@archlinux.org>
57855         [BZ #15748]
57856         * manual/arith.texi (Parsing of Floats): Clarify
57857         cross-reference.
57859         [BZ #15849]
57860         * manual/install.texi (Running make install): Mention
57861         --enable-pt-chown.
57862         * INSTALL: Regenerated.
57864 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57866         * csu/init-first.c (_init): Remove the !SHARED condition around
57867         FPU control word initialization.
57868         * elf/dl-support.c (_dl_fpu_control): New variable.
57869         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57870         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57871         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57872         * math/test-fpucw-static.c: New file.
57873         * math/test-fpucw-ieee.c: New file.
57874         * math/test-fpucw-ieee-static.c: New file.
57875         * math/Makefile (tests): Add `test-fpucw-ieee' and
57876         `$(tests-static)'.
57877         (tests-static): New variable.
57878         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57879         dependency to...
57880         [($(build-shared),yes)]
57881         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57882         ... this.
57883         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57884         New dependency.
57886 2013-09-09  Allan McRae  <allan@archlinux.org>
57888         [BZ #15939]
57889         * manual/string.texi (Collation Functions): Fix typo in
57890         strcoll example.
57891         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57893         [BZ #15893]
57894         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57896         [BZ #15892]
57897         * libio/memstream.c (open_memstream): Fix memory leak.
57898         * libio/wmemstream.c (open_wmemstream): Likewise.
57900         [BZ #15895]
57901         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57903 2013-09-09  Will Newton  <will.newton@linaro.org>
57905         * malloc/Makefile: Add tst-realloc to tests.
57906         * malloc/tst-realloc.c: New file.
57908 2013-09-09  Allan McRae  <allan@archlinux.org>
57910         [BZ #15844]
57911         * COPYING: Update from GNU website to fix FSF address.
57912         * COPYING.LIB: Likewise.
57914 2013-09-06  David S. Miller  <davem@davemloft.net>
57916         * po/zh_TW.po: Update Chinese (traditional) translation from
57917         translation project.
57919 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57920             Joseph Myers  <joseph@codesourcery.com>
57922         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57923         "localeinfo.h".
57924         (obstack_chunk_alloc): New macro.
57925         (obstack_chunk_free): Likewise.
57926         (record_offset): New function.
57927         (init_locale_data): Likewise.
57928         (align_locale_data): Likewise.
57929         (add_locale_empty): Likewise.
57930         (add_locale_raw_data): Likewise.
57931         (add_locale_raw_obstack): Likewise.
57932         (add_locale_string): Likewise.
57933         (add_locale_wstring): Likewise.
57934         (add_locale_uint32): Likewise.
57935         (add_locale_uint32_array): Likewise.
57936         (add_locale_char): Likewise.
57937         (start_locale_structure): Likewise.
57938         (end_locale_structure): Likewise.
57939         (start_locale_prelude): Likewise.
57940         (end_locale_prelude): Likewise.
57941         (write_locale_data): Take locale_file structure rather than an
57942         iovec.
57943         * locale/programs/locfile.h: Include "obstack.h".
57944         (struct locale_file): Change to store locale file contents instead
57945         of header.
57946         (init_locale_data): New prototype.
57947         (align_locale_data): Likewise.
57948         (add_locale_empty): Likewise.
57949         (add_locale_raw_data): Likewise.
57950         (add_locale_raw_obstack): Likewise.
57951         (add_locale_string): Likewise.
57952         (add_locale_wstring): Likewise.
57953         (add_locale_uint32): Likewise.
57954         (add_locale_uint32_array): Likewise.
57955         (add_locale_char): Likewise.
57956         (start_locale_structure): Likewise.
57957         (end_locale_structure): Likewise.
57958         (start_locale_prelude): Likewise.
57959         (end_locale_prelude): Likewise.
57960         (write_locale_data): Update prototype.
57961         * locale/programs/3level.h (struct TABLE): Remove result field.
57962         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57963         Use new locale_file interface.
57964         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57965         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57966         * locale/programs/ld-address.c (address_output): Use new
57967         locale_file interface.
57968         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57969         NO_ADD_LOCALE.
57970         (collate_finish): Don't call collseq_table_finalize.
57971         (collate_output): Use new locale_file interface.
57972         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57973         in file.
57974         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57975         (TABLE): Move defines earlier in file.
57976         (ELEMENT): Likewise.
57977         (DEFAULT): Likewise.
57978         (wctrans_table_add): Move macro and inline function earlier in
57979         file.
57980         (struct wctype_table): Move type earlier in file.
57981         (add_locale_wctype_table): New static prototype.
57982         (struct locale_ctype_t): Use logical types instead of struct iovec
57983         pointers for members.
57984         (ctype_output): Use new locale_file interface.
57985         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57986         new locale_file interface.
57987         (allocate_arrays): Update for use of new locale_file interface.
57988         * locale/programs/ld-identification.c (identification_output): Use
57989         new locale_file interface.
57990         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57991         * locale/programs/ld-messages.c (messages_output): Likewise.
57992         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57993         * locale/programs/ld-name.c (name_output): Likewise.
57994         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57995         * locale/programs/ld-paper.c (paper_output): Likewise.
57996         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57997         * locale/programs/ld-time.c (time_output): Likewise.
57999 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58001         * benchtests/Makefile: Add memrchr benchmark.
58002         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
58003         benchmark as memrchr.
58004         * benchtests/bench-memrchr-ifunc.c: New file.
58005         * benchtests/bench-memrchr.c: New file.
58007 2013-09-06   Will Newton  <will.newton@linaro.org>
58009         * benchtests/Makefile (string-bench): Add memcpy.
58011 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
58012             Cong Wang  <amwang@redhat.com>
58014         [BZ #15850]
58015         * sysdeps/unix/sysv/linux/bits/in.h
58016         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
58017         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
58018         before __USE_KERNEL_IPV6_DEFS uses.
58019         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
58020         IPPROTO_BEETPH.
58021         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
58022         sockaddr_in6, or ipv6_mreq.
58024 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58026         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
58027         memory access for final bytes in some large inputs.
58028         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
58030 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58032         * string/test-memrchr.c: New file.
58033         * string/test-memrchr-ifunc.c: New file.
58034         * string/Makefile: Add new memrchr testcase.
58036 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
58038         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
58039         fanotify_init returns EPERM.
58041 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58043         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
58044         errors.
58045         (top level): Treat second token from macro or constant entries for
58046         allowed headers as allowed.
58047         * include/complex.h: Condition internal declarations on
58048         [!_ISOMAC].
58049         * include/fenv.h: Condition include of <stdbool.h> and internal
58050         declarations on [!_ISOMAC].
58052 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
58054         [BZ #15923]
58055         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
58057 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58059         * configure.in (--enable-versioning): Remove configure option.
58060         (libc_cv_asm_symver_directive): Remove configure test.
58061         (libc_cv_ld_version_script_option): Likewise.
58062         (VERSIONING): Remove variable and AC_SUBST.
58063         (DO_VERSIONING): Remove AC_DEFINE.
58064         * configure: Regenerated.
58065         * config.h.in (DO_VERSIONING): Remove macro.
58066         * Makerules [$(versioning) = yes]: Change conditionals to
58067         [$(build-shared) = yes].
58068         * config.make.in (versioning): Remove variable.
58069         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
58070         [$(build-shared) = yes].
58071         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
58072         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
58073         * elf/Makefile [$(versioning) = yes]: Change conditionals to
58074         [$(build-shared) = yes].
58075         * extra-lib.mk [$(versioning) = yes]: Likewise.
58076         * hurd/Makefile [$(versioning) = yes]: Likewise.
58077         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
58078         [SHARED].
58079         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
58080         [SHARED].
58081         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58082         [SHARED && !NO_HIDDEN].
58083         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
58084         [SHARED].
58085         [SHARED && DO_VERSIONING]: Likewise..
58086         * libio/Makefile [$(versioning) = yes]: Change conditionals to
58087         [$(build-shared) = yes].
58088         * manual/install.texi (--disable-versioning): Remove
58089         documentation.
58090         * INSTALL: Regenerated.
58091         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
58092         to [SHARED].
58093         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
58094         [$(build-shared) = yes].
58095         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
58096         * sysdeps/i386/i686/multiarch/strstr-c.c
58097         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58098         [SHARED && !NO_HIDDEN].
58099         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
58100         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
58101         * sysdeps/powerpc/powerpc32/dl-machine.c
58102         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
58103         * sysdeps/powerpc/powerpc32/sysdep.h
58104         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
58105         to [SHARED && PIC && !NO_HIDDEN].
58106         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
58107         conditional to [SHARED].
58109 2013-09-04   Will Newton  <will.newton@linaro.org>
58111         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
58112         * benchtests/bench-string.h: Include bench-timing.h instead
58113         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
58114         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
58115         call to HP_TIMING_DIFF_INIT.
58116         * benchtests/bench-memccpy.c: Use bench-timing.h macros
58117         instead of hp-timing.h macros.
58118         * benchtests/bench-memchr.c: Likewise.
58119         * benchtests/bench-memcmp.c: Likewise.
58120         * benchtests/bench-memcpy.c: Likewise.
58121         * benchtests/bench-memmem.c: Likewise.
58122         * benchtests/bench-memmove.c: Likewise.
58123         * benchtests/bench-memset.c: Likewise.
58124         * benchtests/bench-rawmemchr.c: Likewise.
58125         * benchtests/bench-strcasecmp.c: Likewise.
58126         * benchtests/bench-strcasestr.c: Likewise.
58127         * benchtests/bench-strcat.c: Likewise.
58128         * benchtests/bench-strchr.c: Likewise.
58129         * benchtests/bench-strcmp.c: Likewise.
58130         * benchtests/bench-strcpy.c: Likewise.
58131         * benchtests/bench-strcpy_chk.c: Likewise.
58132         * benchtests/bench-strlen.c: Likewise.
58133         * benchtests/bench-strncasecmp.c: Likewise.
58134         * benchtests/bench-strncat.c: Likewise.
58135         * benchtests/bench-strncmp.c: Likewise.
58136         * benchtests/bench-strncpy.c: Likewise.
58137         * benchtests/bench-strnlen.c: Likewise.
58138         * benchtests/bench-strpbrk.c: Likewise.
58139         * benchtests/bench-strrchr.c: Likewise.
58140         * benchtests/bench-strspn.c: Likewise.
58141         * benchtests/bench-strstr.c: Likewise.
58143 2013-09-04  Will Newton  <will.newton@linaro.org>
58145         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
58147 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
58149         [BZ #15427]
58150         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
58151         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
58152         * math/libm-test.inc (lgamma_test_data): Add more tests.
58153         * sysdeps/i386/fpu/libm-test-ulps: Update.
58154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58156 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
58158         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
58159         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58160         Add ifunc.
58161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58162         Add strcmp-sse2-unaligned
58163         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
58165 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58167         * Versions.def (libc): Add GLIBC_2.19.
58169 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58171         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
58172         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
58174 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
58176         [BZ #14155]
58177         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
58178         intermediate calculations in recurrence.
58179         (__ieee754_ynf): Likewise.
58180         * math/libm-test.inc (jn_test_data): Do not allow spurious
58181         underflow exception.  Add more tests.
58182         (yn_test_data): Add more tests.
58183         * sysdeps/i386/fpu/libm-test-ulps: Update.
58184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58186 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
58188         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
58190 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58192         * csu/init-first.c: Fix then/than typos.
58193         * locale/programs/ld-collate.c: Likewise.
58194         * locale/programs/linereader.h: Likewise.
58195         * manual/charset.texi: Likewise.
58196         * manual/filesys.texi: Likewise.
58197         * manual/stdio.texi: Likewise.
58198         * manual/string.texi: Likewise.
58199         * stdlib/fmtmsg.c: Likewise.
58200         * sysdeps/i386/stpncpy.S: Likewise.
58201         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58202         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58203         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58204         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58206 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58208         * elf/dl-open.c: Fix typos.
58209         * iconvdata/gbbig5.c: Likewise.
58210         * iconvdata/iso-2022-jp.c: Likewise.
58211         * iconv/gconv_int.h: Likewise.
58212         * iconv/loop.c: Likewise.
58213         * nis/rpcsvc/nis.h: Likewise.
58214         * resolv/ns_name.c: Likewise.
58215         * stdio-common/vfscanf.c: Likewise.
58216         * streams/stropts.h: Likewise.
58217         * sunrpc/rpc_thread.c: Likewise.
58218         * sysdeps/i386/strpbrk.S: Likewise.
58219         * sysdeps/ieee754/k_standard.c: Likewise.
58220         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58221         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58222         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
58223         * sysdeps/mach/hurd/profil.c: Likewise.
58224         * sysdeps/s390/dl-procinfo.h: Likewise.
58225         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
58226         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
58227         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
58228         * sysdeps/x86_64/dl-trampoline.S: Likewise.
58229         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58231 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
58233         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
58234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
58236 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
58238         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
58239         aix specific files.
58240         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
58241         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
58242         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
58243         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
58244         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
58245         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
58246         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
58247         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
58249 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58250             Roland McGrath  <roland@hack.frob.com>
58252         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
58253         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
58255 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58257         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
58258         __executable_start symbol instead of _start.
58260 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58262         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
58263         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
58264         Move macros to...
58265         * sysdeps/gnu/ldsodefs.h: ... this new file.
58267         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
58268         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
58269         instead of ELFOSABI_LINUX.
58271         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
58272         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
58273         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
58274         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
58275         Likewise.
58276         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
58277         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
58278         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
58279         Likewise.
58280         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58281         (ibm_extended_long_double): Add ieee_nan member.
58282         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
58283         (do_test): New function.
58285         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
58286         TEST_TRUNC.
58287         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
58288         functions, renamed from truncdfsf_test, trunctfsf_test,
58289         trunctfdf_test.
58290         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
58291         functions.
58292         (do_test): Run all these.
58294 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58296         * argp/argp-help.c: Fix typos.
58297         * argp/argp-parse.c: Likewise.
58298         * debug/backtracesyms.c: Likewise.
58299         * elf/elf.h: Likewise.
58300         * malloc/malloc.c: Likewise.
58301         * nis/nis_print.c: Likewise.
58302         * resolv/res_comp.c: Likewise.
58303         * stdlib/stdlib.h: Likewise.
58304         * sunrpc/clnt_tcp.c: Likewise.
58305         * sunrpc/clnt_udp.c: Likewise.
58306         * sunrpc/clnt_unix.c: Likewise.
58307         * sysdeps/unix/bsd/ptsname.c: Likewise.
58308         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58309         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58311         Likewise.
58312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58313         Likewise.
58314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58315         Likewise.
58316         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58318 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58320         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58321         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58323 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58325         [BZ #15897]
58326         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58327         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58328         ($(objpfx)bug-dl-leaf): New rule.
58329         ($(objpfx)bug-dl-leaf.so): Likewise.
58330         ($(objpfx)bug-dl-leaf.out): Likewise.
58331         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58332         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58333         * dlfcn/bug-dl-leaf.c: New test.
58334         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58335         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58336         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58337         (dlclose): Likewise.
58338         (dlmopen): Likewise.
58340 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58342         * include/netdb.h [!_ISOMAC]:
58343         Don't include <tls.h>.
58344         (h_errno, __libc_h_errno): Move declaration and macros out of
58345         [_LIBC_REENTRANT].
58347         * include/resolv.h [_RESOLV_H_]:
58348         Don't include <tls.h>.
58349         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58350         * resolv/res_libc.c: Don't include <tls.h>.
58351         (_res): Use __attribute__ ((nocommon)) in place of
58352         __attribute__ ((section (".bss"))).
58354         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58355         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58357         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58359         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58360         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58362         * resolv/res_mkquery.c: Include <sys/time.h>.
58364         * inet/ifreq.c: Moved to ...
58365         * sysdeps/unix/ifreq.c: ... here.
58366         * inet/ifreq.c: New file, true stub version.
58368         * socket/sa_len.c: New file.
58369         * socket/Makefile (aux): Add it.
58370         * sysdeps/unix/sysv/linux/Makefile
58371         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58372         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58373         and #include <socket/sa_len.c>.
58374         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58375         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58377         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58378         * bits/socket.h: ... here.
58380         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58381         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58382         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58384 2013-08-27  Andreas Schwab  <schwab@suse.de>
58386         [BZ #15736]
58387         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58388         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58389         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58390         * string/test-strcasecmp.c (test_main): Run tests in several
58391         locales.
58392         * string/test-strncasecmp.c (test_main): Likewise.
58394         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58395         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58396         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58397         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58398         (__strncasecmp_ssse3) [PIC]: Likewise.
58400 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58402         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58404         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58405         instead of explicitly declaring xdecrypt.
58406         * nis/nss_nis/nis-publickey.c: Likewise.
58408 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58410         [BZ #15890]
58411         * nscd/aicache.c: Include res_hconf.h.
58412         (addhstaiX): Initialize res_hconf.
58414 2013-08-26  Andreas Schwab  <schwab@suse.de>
58416         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58417         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58419 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58421         * nscd/aicache.c (addhstaiX): Fix indentation.
58423 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58425         * configure.ac: Quote $build_pt_chown test.
58426         * configure: Regenerated.
58428 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58430         [BZ #15532]
58431         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58432         * math/s_cexpf.c (__cexpf): Likewise.
58433         * math/s_cexpl.c (__cexpl): Likewise.
58434         * math/libm-test.inc (cexp_test_data): Correct expected return
58435         value for NaN + i0.  Add another test.
58437 2013-08-22  David S. Miller  <davem@davemloft.net>
58439         * po/ca.po: Update Catalan translation from translation project.
58440         * po/uk.po: Add Ukrainian translations from translation project.
58442 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58444         [BZ #15797]
58445         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58446         is infinite, not alongside NaN test.
58447         * math/s_fdimf.c (__fdimf): Likewise.
58448         * math/s_fdiml.c (__fdiml): Likewise.
58449         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58450         errno is unchanged.
58452 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58454         * argp/argp-help.c: Fix typos.
58455         * crypt/speeds.c: Likewise.
58456         * csu/check_fds.c: Likewise.
58457         * elf/dl-load.c: Likewise.
58458         * elf/dl-open.c: Likewise.
58459         * elf/reldep3.c: Likewise.
58460         * elf/reldep.c: Likewise.
58461         * elf/sprof.c: Likewise.
58462         * iconv/iconv_charmap.c: Likewise.
58463         * iconv/skeleton.c: Likewise.
58464         * iconv/strtab.c: Likewise.
58465         * io/lockf64.c: Likewise.
58466         * libio/libioP.h: Likewise.
58467         * resolv/gai_notify.c: Likewise.
58468         * resolv/ns_name.c: Likewise.
58469         * resolv/ns_samedomain.c: Likewise.
58470         * resolv/res_send.c: Likewise.
58471         * stdlib/random.c: Likewise.
58472         * sunrpc/rpc/xdr.h: Likewise.
58473         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58474         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58475         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58476         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58477         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58478         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58479         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58480         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58481         * sysdeps/mach/hurd/check_fds.c: Likewise.
58482         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58483         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58484         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58485         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58486         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58487         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58488         * sysdeps/pthread/aio_notify.c: Likewise.
58489         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58490         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58491         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58492         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58493         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58495 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58497         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58498         version if bit_Slow_SSE4_2 is set.
58499         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58500         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58502 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58504         [BZ #15867]
58505         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58506         trampoline stack frame information.
58507         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58508         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58509         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58510         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58511         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58512         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58513         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58514         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58515         sa_flags value.
58516         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58517         interrupting a syscall and set with option SA_SIGINFO.
58519 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58521         [BZ #15531]
58522         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58523         argument is infinite.
58524         * math/s_cprojf.c (__cprojf): Likewise.
58525         * math/s_cprojl.c (__cprojl): Likewise.
58526         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58527         * math/libm-test.inc (cproj_test_data): Add more tests.
58529         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58531         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58532         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58533         size.  Use __ffs to determine corresponding shift.
58535 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58536             Roland McGrath  <roland@hack.frob.com>
58538         * Makefile (INSTALL): Remove trailing blank lines from output of
58539         makeinfo.
58541 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58543         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58544         Align 32 bit compat elf_greg to 8 bytes.
58546 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58548         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58550 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58552         * string/strcoll_l.c (coll_seq): New structure.
58553         (get_next_seq_cached): New function.
58554         (get_next_seq): New function.
58555         (do_compare): New function.
58556         (STRCOLL): Use GNU style definition.  Simplify implementation
58557         by using get_next_seq, get_next_seq_cached and do_compare.
58559 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58561         [BZ #14699]
58562         CVE-2013-4237
58563         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58564         member.
58565         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58566         member.
58567         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58568         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58569         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58570         conditional.
58571         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58572         GETDENTS_64BIT_ALIGNED.
58573         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58574         * manual/filesys.texi (Reading/Closing Directory): Document
58575         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58576         strongly.
58577         * manual/conf.texi (Limits for Files): Add portability note to
58578         NAME_MAX, PATH_MAX.
58579         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58581 2013-08-13  Andreas Schwab  <schwab@suse.de>
58583         [BZ #15749]
58584         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58585         of fabs.
58586         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58587         LDBL_MAX_EXP >= 16384]: Add tests for it.
58589 2013-08-12  David S. Miller  <davem@davemloft.net>
58591         * version.h (RELEASE): Set to "development".
58592         (VERSION): Set to "2.18.90".
58593         * NEWS: Add 2.19 section.
58595 2013-08-03  David S. Miller  <davem@davemloft.net>
58597         * po/ko.po: Update Korean translation from translation project.
58599 2013-08-01  David S. Miller  <davem@davemloft.net>
58601         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58602         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58603         Bilka.
58605 2013-07-30  David S. Miller  <davem@davemloft.net>
58607         * po/fr.po: Update French translation from translation project.
58609 2013-07-28  David S. Miller  <davem@davemloft.net>
58611         * po/cs.po: Update Czech translation from translation project.
58613         * po/sv.po: Update Swedish translation from translation project.
58615 2013-07-27  David S. Miller  <davem@davemloft.net>
58617         * po/eo.po: Update Esperanto translation from translation project.
58619         * po/vi.po: Update Vietnamese translation from translation project.
58621         * po/de.po: Update German translation from translation project.
58623 2013-07-26  David S. Miller  <davem@davemloft.net>
58625         * po/bg.po: Update Bulgarian translation from translation project.
58627         * po/nl.po: Update Dutch translation from translation project.
58628         * po/pl.po: Update Polish translation from translation project.
58629         * po/ru.po: Update Russian translation from translation project.
58631 2013-07-24  David S. Miller  <davem@davemloft.net>
58633         * po/libc.pot: Update.
58635 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58637         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58638         variable page size.
58639         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58640         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58641         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58643 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58645         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58647 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58648             Andreas Schwab  <schwab@suse.de>
58649             Roland McGrath  <roland@hack.frob.com>
58650             Joseph Myers  <joseph@codesourcery.com>
58651             Carlos O'Donell  <carlos@redhat.com>
58653         [BZ #15755]
58654         * config.h.in: Define HAVE_PT_CHOWN.
58655         * config.make.in (build-pt-chown): New variable.
58656         * configure.in (--enable-pt_chown): New configure option.
58657         * configure: Regenerate.
58658         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58659         build-pt-chown is enabled.
58660         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58661         pt_chown to fix pty ownership.
58662         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58663         CLOSE_ALL_FDS.
58664         * manual/install.texi (Configuring and compiling): Mention
58665         --enable-pt_chown. Add @findex for grantpt.
58666         * INSTALL: Regenerate.
58668 2013-07-20  David S. Miller  <davem@davemloft.net>
58670         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58671         difference between 32-bit and 64-bit.
58673 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58675         [BZ #15711]
58676         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58677         Avoid system header dependency with -ffreestanding.
58678         ($(objpfx)bits/syscall%d): Likewise.
58680 2013-07-13  David S. Miller  <davem@davemloft.net>
58682         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58683         underflows from atanl/atan2l due to bug 15319.
58684         (casinh_test_data): Likewise.
58686 2013-07-07  David S. Miller  <davem@davemloft.net>
58688         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58690 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58692         * sysdeps/i386/fpu/libm-test-ulps: Update.
58693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58695 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58697         * configure.in (--enable-lock-elision): Fix message text.
58698         * INSTALL: Regenerate.
58699         * configure: Regenerate.
58701 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58705 2013-07-03  Andreas Jaeger  <aj@suse.de>
58707         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58708         define.
58709         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58710         (ptrace_peeksiginfo_args): Add.
58711         (__ptrace_peeksiginfo_flags): Add.
58712         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58713         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58714         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58716 2013-07-03  Allan McRae  <allan@archlinux.org>
58718         * sysdeps/i386/fpu/libm-test-ulps: Update.
58720 2013-07-02  David S. Miller  <davem@davemloft.net>
58722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58724 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58728 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58730         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58733 2013-07-02  Andi Kleen <ak@linux.intel.com>
58735         * config.h.in (ENABLE_LOCK_ELISION): Add.
58736         * configure.in (--enable-lock-elision): Add option.
58737         * manual/install.texi: Document --enable lock elision.
58738         * configure: Regenerate
58739         * INSTALL: Regenerate.
58741 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58743         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58744         SSE4.2 strcasecmp for libc.a.
58745         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58747 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58749         [BZ #13304]
58750         * soft-fp/op-common.h (_FP_FMA): New macro.
58751         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58752         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58753         (_FP_MUL_MEAT_1_imm): ... here.
58754         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58755         (_FP_MUL_MEAT_1_wide): ... here.
58756         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58757         (_FP_MUL_MEAT_1_hard): ... here.
58758         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58759         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58760         (_FP_MUL_MEAT_2_wide): ... here.
58761         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58762         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58763         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58764         (_FP_MUL_MEAT_2_gmp): ... here.
58765         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58766         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58767         (_FP_MUL_MEAT_4_wide): ... here.
58768         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58769         (_FP_MUL_MEAT_4_gmp): ... here.
58770         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58771         (_FP_WFRACBITS_DW_S): Likewise.
58772         (_FP_WFRACXBITS_DW_S): Likewise.
58773         (_FP_HIGHBIT_DW_S): Likewise.
58774         (FP_FMA_S): Likewise.
58775         (_FP_FRAC_HIGH_DW_S): Likewise.
58776         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58777         (_FP_WFRACBITS_DW_D): Likewise.
58778         (_FP_WFRACXBITS_DW_D): Likewise.
58779         (_FP_HIGHBIT_DW_D): Likewise.
58780         (FP_FMA_D): Likewise.
58781         (_FP_FRAC_HIGH_DW_D): Likewise.
58782         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58783         (_FP_WFRACBITS_DW_E): Likewise.
58784         (_FP_WFRACXBITS_DW_E): Likewise.
58785         (_FP_HIGHBIT_DW_E): Likewise.
58786         (FP_FMA_E): Likewise.
58787         (_FP_FRAC_HIGH_DW_E): Likewise.
58788         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58789         (_FP_WFRACBITS_DW_Q): Likewise.
58790         (_FP_WFRACXBITS_DW_Q): Likewise.
58791         (_FP_HIGHBIT_DW_Q): Likewise.
58792         (FP_FMA_Q): Likewise.
58793         (_FP_FRAC_HIGH_DW_Q): Likewise.
58794         * soft-fp/fmasf4.c: New file.
58795         * soft-fp/fmadf4.c: Likewise.
58796         * soft-fp/fmatf4.c: Likewise.
58798 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58801         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58802         Silvermont.
58803         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58804         macro.
58805         (index_Slow_SSE4_2): Likewise.
58806         (index_Prefer_PMINUB_for_stringop): Likewise.
58807         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58808         bit_Slow_SSE4_2 is set.
58809         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58810         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58812 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58814         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58815         rtld_global._dl_hwcap2.
58816         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58817         POWER8.
58818         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58819         POWER8 feature descriptions defined in _dl_hwcap2.
58820         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58821         string handling for POWER8 feature bits.
58822         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58823         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58824         _dl_powerpc_cap_flags.
58825         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58826         * sysdeps/powerpc/rtld-global-offsets.sym
58827         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58828         _dl_hwcap2 in the rtld_global_ro structure.
58830 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58832         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58833         hardware capabilities in support of AT_HWCAP2.
58834         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58835         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58836         GLRO(dl_hwcap2).
58837         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58838         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58839         explicitly the unknown a_type display mechanism is used.
58840         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58841         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58842         struct member.
58843         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58844         to macro prototype for AT_HWCAP2 support.
58845         * sysdeps/i386/dl-procinfo.h: Likewise.
58846         * sysdeps/s390/dl-procinfo.h: Likewise.
58847         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58848         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58849         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58850         return -1 for unknown a_type display fallback.
58851         * sysdeps/sparc/dl-procinfo.h: Likewise.
58852         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58853         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58855 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58857         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58858         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58860 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58862         [BZ #12492]
58863         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58864         mprotect making __stack_prot writable.
58866 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58867             Joseph Myers  <joseph@codesourcery.com>
58869         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58870         as being properly aligned.
58872 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58874         * dlfcn/modstatic5.c: New file.
58875         * dlfcn/tststatic5.c: New file.
58876         * dlfcn/Makefile (tests): Add tststatic5.
58877         (tests-static): Likewise.
58878         (modules-names): Add modstatic5.
58879         (tststatic5-ENV): New variable.
58880         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58882         [BZ #15022]
58883         * elf/dl-support.c (_dl_main_map): New variable.
58884         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58885         (_dl_nns, _dl_load_adds): Set to 1.
58886         (_dl_initial_searchlist): Refer to _dl_main_map.
58887         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58888         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58889         call to _dl_get_origin.
58890         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58891         around call_map.
58892         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58893         * dlfcn/modstatic3.c: New file.
58894         * dlfcn/tststatic3.c: New file.
58895         * dlfcn/tststatic4.c: New file.
58896         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58897         (tests-static): Likewise.
58898         (modules-names): Add modstatic3.
58899         (tststatic3-ENV, tststatic4-ENV): New variables.
58900         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58901         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58903 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58905         * configure.in (CC): Require GCC version 4.4 or later.
58906         * configure: Regenerated.
58907         * manual/install.texi (Tools for Compilation): Update GCC version
58908         requirement.
58909         * INSTALL: Regenerated.
58911 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58913         [BZ #15674]
58914         * string/test-memcmp.c (check2): New.
58915         (main): Call check2.
58917         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58919 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58921         [BZ #15022]
58922         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58923         over to...
58924         (dl_open_worker) [!SHARED]: ... here.
58926 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58928         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58930 2013-06-25  Richard Henderson  <rth@redhat.com>
58932         * locale/programs/locarchive.c: Include <libc-internal.h>
58934 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58936         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58937         trailing whitespace removed.
58939 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58941         [BZ #10283]
58942         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58943         * locale/programs/locarchive.c: Include libc-mmap.h.
58944         (prepare_address_space): Take two new outputs (the mmap base and len).
58945         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58946         values.
58947         (create_archive): Declare new mmap base and len values for
58948         prepare_address_space, and store the result in ah.
58949         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58950         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58951         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58952         Declare new mmap base and len values for
58953         prepare_address_space, and store the result in new_ah.
58954         (open_archive): Declare new mmap base and len values for
58955         prepare_address_space, and store the result in ah.
58956         (close_archive): If ah->mmap_base is not NULL, use that and
58957         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58958         * sysdeps/generic/libc-mmap.h: New file.
58960 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58962         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58963         (ALIGN_UP): Likewise.
58964         (PTR_ALIGN_DOWN): Likewise.
58965         (PTR_ALIGN_UP): Likewise.
58967 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58969         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58970         entry mapped to PPC_PLATFORM_POWER8.
58971         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58972         POWER8.
58973         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58974         (_dl_string_platform): Add case for exporting platform position for
58975         POWER8.
58976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58977         search path to sysdeps/powerpc/powerpc32/power8 directory.
58978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58979         search path to sysdeps/powerpc/powerpc64/power8 directory.
58980         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58981         power7 directories.
58982         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58983         power7 directories.
58985 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58987         * INSTALL: Regenerate.
58989         * nscd/connections.c (nscd_init): Fix comment.
58991 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58993         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58995         [BZ #15667]
58996         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58997         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58999 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59001         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
59002         DL_DST_REQ_STATIC.
59003         (DL_DST_REQ_STATIC): Remove macro.
59005 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
59007         [BZ #7006]
59008         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
59009         with a shift of 0 bits.
59011 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59013         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
59014         $(tststatic-ENV).
59016 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59018         [BZ #15655]
59019         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
59021 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59023         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
59024         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
59025         accepts -fno-tree-loop-distribute-patterns.
59026         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
59027         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
59028         recursive call.
59029         * string/memset.c (memset): Likewise.
59030         * string/test-memmove.c (simple_memmove): Disable loop transformation
59031         to library calls.
59032         * string/test-memset.c (simple_memset): Likewise.
59033         * benchtests/bench-memmove.c (simple_memmove): Likewise.
59034         * benchtests/bench-memset.c (simple_memset): Likewise.
59035         * configure: Regenerated.
59037 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
59039         * math/test-misc.c (main): Ignore fesetround failure when failures
59040         of subsequent rounding tests would be ignored.
59042         [BZ #15654]
59043         * math/fedisblxcpt.c (fedisableexcept): Return 0.
59044         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
59045         * math/fegetenv.c (__fegetenv): Return 0.
59046         * math/fegetexcept.c (fegetexcept): Return 0.
59047         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
59048         FE_TONEAREST.
59049         * math/feholdexcpt.c (feholdexcept): Return 0.
59050         * math/fesetenv.c (__fesetenv): Return 0.
59051         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
59052         argument FE_TONEAREST.
59053         * math/feupdateenv.c (__feupdateenv): Return 0.
59054         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
59056 2013-06-18  Roland McGrath  <roland@hack.frob.com>
59058         * elf/rtld-Rules (rtld-compile-command.S): New variable.
59059         (rtld-compile-command.s, rtld-compile-command.c): New variables.
59060         ($(objpfx)rtld-%.os rules): Use them.
59062 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59064         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
59065         fields.
59067 2013-06-17  Roland McGrath  <roland@hack.frob.com>
59069         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
59070         length of target pattern, then descending length of dependency pattern.
59071         * configure.in (AWK): Require gawk 3.1.2 or newer.
59072         * manual/install.texi (Tools for Compilation): Say that we do.
59073         * configure: Regenerated.
59075         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
59076         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
59077         * scripts/sysd-rules.awk: ... this new script.
59078         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
59079         than a glob-style pattern.
59081 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
59083         * math/test-misc.c (main): Do not treat incorrectly rounded
59084         conversions as failure unless ROUNDING_TESTS passes.
59086 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
59088         [BZ #15631]
59089         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
59090         restore exception state around main square root computation, then
59091         check for inexactness explicitly.
59093         * math/libm-test.inc (fma_test_data): Add another test.
59095 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59097         * manual/threads.texi (Non-POSIX Extensions): New document
59098         node.  Document pthread_getattr_default_np and
59099         pthread_setattr_default_np.
59101         * Versions.def (libpthread): Add GLIBC_2.18.
59102         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
59103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59104         Likewise.
59105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59106         Likewise.
59107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59108         Likewise.
59109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59110         Likewise.
59111         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
59112         Likewise.
59113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59114         Likewise.
59115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59116         Likewise.
59117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59118         Likewise.
59119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59120         Likewise.
59122 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59125         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
59127 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59128             H.J. Lu  <hjl.tools@gmail.com>
59130         [BZ #15627]
59131         * sysdeps/x86_64/rtld-memset.c: Remove file.
59132         * sysdeps/x86_64/rtld-memset.S: New file.
59134 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
59136         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
59137         (test_in_one_mode): Take arguments for whether the rounding mode
59138         is supported for each floating-point type.
59139         (do_test): Pass new arguments to test_in_one_mode using
59140         ROUNDING_TESTS.
59142 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59144         * posix/tst-waitid.c (do_test): Distinguish different instances of
59145         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
59146         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
59147         before entering the kernel for waitpid.
59149 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59151         * NEWS: Fix note on clock function precision.  Text by Roland
59152         McGrath.
59154 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59156         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
59157         it into place only when and if the sanity check passes.
59159 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
59161         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
59162         output for whether conversion result is exact.  Take argument
59163         indicating whether type is IBM long double.
59164         (round_for_all): Change need_exact field to ibm_ld.
59165         * stdlib/tst-strtod-round.c (struct exactness): New type.
59166         (struct test): Change bool ld_ok field to struct exactness exact.
59167         (TEST): Update all definitions for change to field.
59168         (tests): Regenerate array contents.
59169         (test_in_one_mode): Take pointer to new field instead of old ld_ok
59170         field value.  Check for IBM long double here.
59171         (do_test): Update calls to test_in_one_mode.
59173 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59175         [BZ #12515]
59176         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
59177         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
59179 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59181         [BZ #15605]
59182         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
59183         generated by the compiler on loop optimizations.
59184         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
59185         general definitions.
59187 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
59189         * math/bug-nextafter.c: Include <math-tests.h>.
59190         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59191         the relevant type.
59192         * math/bug-nexttoward.c: Include <math-tests.h>.
59193         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59194         the relevant type.
59195         * math/test-misc.c: Include <math-tests.h>.
59196         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59197         the relevant type.
59199 2013-06-12  Andreas Jaeger  <aj@suse.de>
59201         * po/ia.po: Update Interlingua translation from translation
59202         project.
59204 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59206         * include/fenv.h: Include stdbool.h.
59207         (struct rm_ctx): New structure.
59208         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
59209         Define macro.
59210         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
59211         (SET_RESTORE_ROUNDF): Likewise.
59212         (SET_RESTORE_ROUNDL): Likewise.
59213         (SET_RESTORE_ROUND_NOEX): Likewise.
59214         (SET_RESTORE_ROUND_NOEXF): Likewise.
59215         (SET_RESTORE_ROUND_NOEXL): Likewise.
59216         (SET_RESTORE_ROUND_53BIT): Likewise.
59217         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
59218         (libc_feresetround_noexf_ctx): Likewise.
59219         (libc_feresetround_noexl_ctx): Likewise.
59220         (libc_feholdsetround_53bit_ctx): Likewise.
59221         (libc_feresetround_53bit_ctx): Likewise.
59222         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
59223         (libc_feholdexcept_setround_sse_ctx): New function.
59224         (libc_fesetenv_sse_ctx): Likewise.
59225         (libc_feupdateenv_sse_ctx): Likewise.
59226         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
59227         (libc_feholdexcept_setround_387_ctx): Likewise.
59228         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
59229         (libc_feholdsetround_387_prec_ctx): Likewise.
59230         (libc_feholdsetround_387_ctx): Likewise.
59231         (libc_feholdsetround_387_53bit_ctx): Likewise.
59232         (libc_feholdsetround_sse_ctx): Likewise.
59233         (libc_feresetround_sse_ctx): Likewise.
59234         (libc_feresetround_387_ctx): Likewise.
59235         (libc_feupdateenv_387_ctx): Likewise.
59236         (libc_feholdexcept_setroundf_ctx): Define macro.
59237         (libc_fesetenvf_ctx): Likewise.
59238         (libc_feupdateenvf_ctx): Likewise.
59239         (libc_feholdsetroundf_ctx): Likewise.
59240         (libc_feresetroundf_ctx): Likewise.
59241         (libc_feholdexcept_setround_ctx): Likewise.
59242         (libc_fesetenv_ctx): Likewise.
59243         (libc_feupdateenv_ctx): Likewise.
59244         (libc_feholdsetround_ctx): Likewise.
59245         (libc_feresetround_ctx): Likewise.
59246         (libc_feholdexcept_setroundl_ctx): Likewise.
59247         (libc_feupdateenvl_ctx): Likewise.
59248         (libc_feholdsetroundl_ctx): Likewise.
59249         (libc_feresetroundl_ctx): Likewise.
59250         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
59251         (libc_feresetround_53bit_ctx): Likewise.
59253 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59255         * locale/iso-639.def: Convert to UTF-8.
59257 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
59259         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
59260         (EXCEPTION_TESTS_double): Likewise.
59261         (EXCEPTION_TESTS_long_double): Likewise.
59262         (EXCEPTION_TESTS): Likewise.
59263         * math/libm-test.inc (test_exceptions): Only test exceptions if
59264         EXCEPTION_TESTS (FLOAT).
59266 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59268         * benchtests/Makefile (string-bench): Add strcpy_chk and
59269         stpcpy_chk.
59270         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
59271         * benchtests/bench-stpcpy_chk.c: New file.
59272         * benchtests/bench-strcpy_chk-ifunc.c: New file.
59273         * benchtests/bench-strcpy_chk.c: New file.
59274         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
59275         code.
59276         (do_test): Likewise.
59278 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59280         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
59281         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
59282         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
59283         with tabs where appropriate.
59284         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
59285         dl-procinfo.h.
59286         [PPC_PLATFORM_PPC440]: Likewise.
59287         [PPC_PLATFORM_PPC464]: Likewise.
59288         [PPC_PLATFORM_PPC476]: Likewise.
59289         (_dl_string_platform): Add support for detecting ppc405, ppc440,
59290         ppc464, and ppc476 platform strings merging from ports/
59291         dl-procinfo.h.
59293 2013-06-11  Andreas Schwab  <schwab@suse.de>
59295         [BZ #14991]
59296         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59297         (from_ucs4_idx): Regenerate.
59298         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59299         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59300         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59301         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59302         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59303         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59304         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59305         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59306         from FROM_LOOP and TO_LOOP specific macros.
59307         (BODY): Handle combining characters.
59308         * iconvdata/BIG5HKSCS.irreversible: Update.
59309         * iconvdata/BIG5HKSCS.precomposed: New file.
59310         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59311         characters.
59312         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59314 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59316         * include/sys/time.h: Fix indentation and add copyright header.
59318         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59319         (do_test): Likewise.
59320         * string/test-memchr.c (do_one_test): Likewise.
59321         (do_test): Likewise.
59322         * string/test-memcmp.c (do_one_test): Likewise.
59323         (do_test): Likewise.
59324         * string/test-memcpy.c (do_one_test): Likewise.
59325         (do_test): Likewise.
59326         * string/test-memmem.c (do_one_test): Likewise.
59327         (do_test): Likewise.
59328         (do_random_tests): Likewise.
59329         * string/test-memmove.c (do_one_test): Likewise.
59330         (do_test): Likewise.
59331         * string/test-memset.c (do_one_test): Likewise.
59332         (do_test): Likewise.
59333         * string/test-rawmemchr.c (do_one_test): Likewise.
59334         (do_test): Likewise.
59335         * string/test-strcasecmp.c (do_one_test): Likewise.
59336         (do_test): Likewise.
59337         * string/test-strcasestr.c (do_one_test): Likewise.
59338         (do_test): Likewise.
59339         * string/test-strcat.c (do_one_test): Likewise.
59340         (do_test): Likewise.
59341         * string/test-strchr.c (do_one_test): Likewise.
59342         (do_test): Likewise.
59343         * string/test-strcmp.c (do_one_test): Likewise.
59344         (do_test): Likewise.
59345         * string/test-strcpy.c (do_one_test): Likewise.
59346         (do_test): Likewise.
59347         * string/test-string.h: Likewise.
59348         (test_init): Likewise.
59349         * string/test-strlen.c (do_one_test): Likewise.
59350         (do_test): Likewise.
59351         * string/test-strncasecmp.c (do_one_test): Likewise.
59352         (do_test): Likewise.
59353         * string/test-strncat.c (do_one_test): Likewise.
59354         (do_test): Likewise.
59355         * string/test-strncmp.c (do_one_test): Likewise.
59356         (do_test_limit): Likewise.
59357         (do_test): Likewise.
59358         * string/test-strncpy.c (do_one_test): Likewise.
59359         (do_test): Likewise.
59360         * string/test-strnlen.c (do_one_test): Likewise.
59361         (do_test): Likewise.
59362         * string/test-strpbrk.c (do_one_test): Likewise.
59363         (do_test): Likewise.
59364         * string/test-strrchr.c (do_one_test): Likewise.
59365         (do_test): Likewise.
59366         * string/test-strspn.c (do_one_test): Likewise.
59367         (do_test): Likewise.
59368         * string/test-strstr.c (do_one_test): Likewise.
59369         (do_test): Likewise.
59371         * benchtests/Makefile (string-bench): Add string benchmarks.
59372         * benchtests/bench-bcopy-ifunc.c: New file.
59373         * benchtests/bench-bcopy.c: New file.
59374         * benchtests/bench-bzero-ifunc.c: New file.
59375         * benchtests/bench-bzero.c: New file.
59376         * benchtests/bench-memccpy-ifunc.c: New file.
59377         * benchtests/bench-memccpy.c: New file.
59378         * benchtests/bench-memchr-ifunc.c: New file.
59379         * benchtests/bench-memchr.c: New file.
59380         * benchtests/bench-memcmp-ifunc.c: New file.
59381         * benchtests/bench-memcmp.c: New file.
59382         * benchtests/bench-memmem-ifunc.c: New file.
59383         * benchtests/bench-memmem.c: New file.
59384         * benchtests/bench-memmove-ifunc.c: New file.
59385         * benchtests/bench-memmove.c: New file.
59386         * benchtests/bench-mempcpy-ifunc.c: New file.
59387         * benchtests/bench-mempcpy.c: New file.
59388         * benchtests/bench-memset-ifunc.c: New file.
59389         * benchtests/bench-memset.c: New file.
59390         * benchtests/bench-rawmemchr-ifunc.c: New file.
59391         * benchtests/bench-rawmemchr.c: New file.
59392         * benchtests/bench-stpcpy-ifunc.c: New file.
59393         * benchtests/bench-stpcpy.c: New file.
59394         * benchtests/bench-stpncpy-ifunc.c: New file.
59395         * benchtests/bench-stpncpy.c: New file.
59396         * benchtests/bench-strcasecmp-ifunc.c: New file.
59397         * benchtests/bench-strcasecmp.c: New file.
59398         * benchtests/bench-strcasestr-ifunc.c: New file.
59399         * benchtests/bench-strcasestr.c: New file.
59400         * benchtests/bench-strcat-ifunc.c: New file.
59401         * benchtests/bench-strcat.c: New file.
59402         * benchtests/bench-strchr-ifunc.c: New file.
59403         * benchtests/bench-strchr.c: New file.
59404         * benchtests/bench-strchrnul-ifunc.c: New file.
59405         * benchtests/bench-strchrnul.c: New file.
59406         * benchtests/bench-strcmp-ifunc.c: New file.
59407         * benchtests/bench-strcmp.c: New file.
59408         * benchtests/bench-strcpy-ifunc.c: New file.
59409         * benchtests/bench-strcpy.c: New file.
59410         * benchtests/bench-strcspn-ifunc.c: New file.
59411         * benchtests/bench-strcspn.c: New file.
59412         * benchtests/bench-strlen-ifunc.c: New file.
59413         * benchtests/bench-strlen.c: New file.
59414         * benchtests/bench-strncasecmp-ifunc.c: New file.
59415         * benchtests/bench-strncasecmp.c: New file.
59416         * benchtests/bench-strncat-ifunc.c: New file.
59417         * benchtests/bench-strncat.c: New file.
59418         * benchtests/bench-strncmp-ifunc.c: New file.
59419         * benchtests/bench-strncmp.c: New file.
59420         * benchtests/bench-strncpy-ifunc.c: New file.
59421         * benchtests/bench-strncpy.c: New file.
59422         * benchtests/bench-strnlen-ifunc.c: New file.
59423         * benchtests/bench-strnlen.c: New file.
59424         * benchtests/bench-strpbrk-ifunc.c: New file.
59425         * benchtests/bench-strpbrk.c: New file.
59426         * benchtests/bench-strrchr-ifunc.c: New file.
59427         * benchtests/bench-strrchr.c: New file.
59428         * benchtests/bench-strspn-ifunc.c: New file.
59429         * benchtests/bench-strspn.c: New file.
59430         * benchtests/bench-strstr-ifunc.c: New file.
59431         * benchtests/bench-strstr.c: New file.
59433         * benchtests/Makefile: Disable parallel execution of targets.
59434         (string-bench): Add memcpy.
59435         (benchset): New variable to store a list of benchmark sets.
59436         (bench-func): Renamed from bench.
59437         (bench-set): New target.
59438         (bench): Depend on bench-func and bench-set.
59439         * benchtests/README: Add section on benchmark sets.
59440         * benchtests/bench-memcpy-ifunc.c: New file.
59441         * benchtests/bench-memcpy.c: New file.
59442         * benchtests/bench-string.h: New file.
59444 2013-06-11  Andreas Schwab  <schwab@suse.de>
59446         [BZ #15577]
59447         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59448         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59449         values in the triple.
59450         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59451         terminator in the group key.
59453 2013-06-11  Andreas Jaeger  <aj@suse.de>
59455         * po/zh_TW.po: Update Chinese (traditional) translation from
59456         translation project.
59458 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59460         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59461         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59462         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59463         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59464         (clock_getcpuclockid): Likewise.
59465         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59466         Add weak_alias and libc_hidden_def.
59467         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59468         * rt/clock_gettime.c (clock_gettime): Rename to
59469         __clock_gettime.  Add weak_alias and libc_hidden_def.
59470         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59471         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59472         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59473         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59474         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59475         Likewise.
59476         * rt/clock_settime.c (clock_settime): Rename to
59477         __clock_settime.  Add weak_alias and libc_hidden_def.
59478         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59480 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59482         * mach/err_boot.sub: Remove trailing whitespace.
59483         * mach/err_ipc.sub: Likewise.
59484         * mach/err_mach.sub: Likewise.
59486         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59487         (ROUNDING_TESTS_double): Likewise.
59488         (ROUNDING_TESTS_long_double): Likewise.
59489         (ROUNDING_TESTS): Likewise.
59490         * math/libm-test.inc: Include <math-tests.h>.
59491         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59492         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59493         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59494         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59496 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59498         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59499         of assigning.
59501 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59503         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59504         otherwise empty TRANS lines.
59505         * sysdeps/gnu/errlist.c: Regenerated.
59507         * catgets/gencat.c (error_print): Use (void) in function
59508         definition.
59509         * crypt/crypt_util.c (__init_des): Likewise.
59510         * crypt/speeds.c (Stop): Likewise.
59511         (main): Likewise.
59512         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59513         * inet/ruserpass.c (token): Likewise.
59514         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59515         * intl/localealias.c (extend_alias_table): Likewise.
59516         * intl/plural-exp.c (init_germanic_plural): Likewise.
59517         * libio/fcloseall.c (__fcloseall): Likewise.
59518         * libio/genops.c (_IO_flush_all): Likewise.
59519         (_IO_flush_all_linebuffered): Likewise.
59520         (_IO_cleanup): Likewise.
59521         (_IO_iter_begin): Likewise.
59522         (_IO_iter_end): Likewise.
59523         (_IO_list_lock): Likewise.
59524         (_IO_list_unlock): Likewise.
59525         (_IO_list_resetlock): Likewise.
59526         * libio/getchar.c (getchar): Likewise.
59527         * libio/getchar_u.c (getchar_unlocked): Likewise.
59528         * libio/getwchar.c (getwchar): Likewise.
59529         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59530         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59531         * login/getpt.c (__getpt): Likewise.
59532         * login/tst-utmp.c (main): Likewise.
59533         * malloc/hooks.c (__malloc_check_init): Likewise.
59534         * malloc/malloc.c (__malloc_stats): Likewise.
59535         * malloc/mtrace.c (tr_break): Likewise.
59536         (mtrace): Likewise.
59537         (muntrace): Likewise.
59538         * misc/fstab.c (endfsent): Likewise.
59539         * misc/getclktck.c (__getclktck): Likewise.
59540         * misc/getdtsz.c (__getdtablesize): Likewise.
59541         * misc/gethostid.c (gethostid): Likewise.
59542         * misc/getpagesize.c (__getpagesize): Likewise.
59543         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59544         (__get_nprocs): Likewise.
59545         (__get_phys_pages): Likewise.
59546         (__get_avphys_pages): Likewise.
59547         * misc/getttyent.c (getttyent): Likewise.
59548         (setttyent): Likewise.
59549         (endttyent): Likewise.
59550         * misc/getusershell.c (getusershell): Likewise.
59551         (endusershell): Likewise.
59552         (setusershell): Likewise.
59553         (initshells): Likewise.
59554         * misc/hsearch.c (__hdestroy): Likewise.
59555         * misc/sync.c (sync): Likewise.
59556         * misc/syslog.c (closelog_internal): Likewise.
59557         (closelog): Likewise.
59558         * misc/ttyslot.c (ttyslot): Likewise.
59559         * misc/vhangup.c (vhangup): Likewise.
59560         * posix/fork.c (__fork): Likewise.
59561         * posix/getegid.c (__getegid): Likewise.
59562         * posix/geteuid.c (__geteuid): Likewise.
59563         * posix/getgid.c (__getgid): Likewise.
59564         * posix/getpid.c (__getpid): Likewise.
59565         * posix/getppid.c (__getppid): Likewise.
59566         * posix/getuid.c (__getuid): Likewise.
59567         * posix/pause.c (pause): Likewise.
59568         * posix/setpgrp.c (setpgrp): Likewise.
59569         * posix/setsid.c (__setsid): Likewise.
59570         * posix/test-vfork.c (noop): Likewise.
59571         * resolv/gethnamaddr.c (_endhtent): Likewise.
59572         (_gethtent): Likewise.
59573         (ht_endhostent): Likewise.
59574         (gethostent): Likewise.
59575         (dns_service): Likewise.
59576         * stdlib/drand48.c (drand48): Likewise.
59577         * stdlib/lrand48.c (lrand48): Likewise.
59578         * stdlib/mrand48.c (mrand48): Likewise.
59579         * stdlib/rand.c (rand): Likewise.
59580         * stdlib/random.c (__random): Likewise.
59581         * stdlib/setenv.c (clearenv): Likewise.
59582         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59583         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59584         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59585         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59586         (__get_nprocs): Likewise.
59587         (__get_phys_pages): Likewise.
59588         (__get_avphys_pages): Likewise.
59589         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59590         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59591         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59592         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59593         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59594         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59595         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59596         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59597         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59598         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59599         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59600         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59601         * sysdeps/posix/clock.c (clock): Likewise.
59602         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59603         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59604         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59605         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59606         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59607         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59608         (__get_nprocs_conf): Likewise.
59609         (__get_phys_pages): Likewise.
59610         (__get_avphys_pages): Likewise.
59611         * time/clock.c (clock): Likewise.
59612         * time/tzset.c (__tzname_max): Likewise.
59614 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59616         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59617         (__bswap_32): Do not use "register".
59618         * crypt/crypt.c (_ufc_doit_r): Likewise.
59619         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59620         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59621         * gmon/gmon.c (__monstartup): Likewise.
59622         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59623         * hurd/hurdmalloc.c (more_memory): Likewise.
59624         (malloc): Likewise.
59625         (free): Likewise.
59626         (realloc): Likewise.
59627         (malloc_fork_prepare): Likewise.
59628         (malloc_fork_parent): Likewise.
59629         (malloc_fork_child): Likewise.
59630         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59631         (_svcauth_des): Likewise.
59632         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59633         * inet/inet_net.c (inet_network): Likewise.
59634         * inet/inet_netof.c (inet_netof): Likewise.
59635         * inet/rcmd.c (__validuser2_sa): Likewise.
59636         * io/fts.c (fts_open): Likewise.
59637         (fts_load): Likewise.
59638         (fts_close): Likewise.
59639         (fts_read): Likewise.
59640         (fts_children): Likewise.
59641         (fts_build): Likewise.
59642         (fts_stat): Likewise.
59643         (fts_sort): Likewise.
59644         (fts_alloc): Likewise.
59645         (fts_lfree): Likewise.
59646         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59647         (_IO_file_xsgetn): Likewise.
59648         (_IO_file_xsgetn_mmap): Likewise.
59649         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59650         (_IO_cookie_write): Likewise.
59651         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59652         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59653         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59654         * malloc/obstack.c (_obstack_begin): Likewise.
59655         (_obstack_begin_1): Likewise.
59656         (_obstack_newchunk): Likewise.
59657         (_obstack_allocated_p): Likewise.
59658         (obstack_free): Likewise.
59659         (_obstack_memory_used): Likewise.
59660         * misc/getttyent.c (getttynam): Likewise.
59661         (getttyent): Likewise.
59662         (skip): Likewise.
59663         (value): Likewise.
59664         * misc/getusershell.c (initshells): Likewise.
59665         * misc/syslog.c (__vsyslog_chk): Likewise.
59666         * misc/ttyslot.c (ttyslot): Likewise.
59667         * nis/nis_hash.c (__nis_hash): Likewise.
59668         * posix/fnmatch_loop.c (FCT): Likewise.
59669         * posix/getconf.c (print_all): Likewise.
59670         (main): Likewise.
59671         * posix/getopt.c (exchange): Likewise.
59672         * posix/glob.c (globfree): Likewise.
59673         (prefix_array): Likewise.
59674         (__glob_pattern_type): Likewise.
59675         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59676         (NS_GET32): Likewise.
59677         (NS_PUT16): Likewise.
59678         (NS_PUT32): Likewise.
59679         * resolv/gethnamaddr.c (getanswer): Likewise.
59680         (gethostbyname2): Likewise.
59681         (gethostbyaddr): Likewise.
59682         (_gethtent): Likewise.
59683         (_gethtbyname2): Likewise.
59684         (_gethtbyaddr): Likewise.
59685         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59686         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59687         * resolv/res_init.c (__res_vinit): Likewise.
59688         (net_mask): Likewise.
59689         * resolv/res_mkquery.c (outchar): Likewise.
59690         (PRINT): Likewise.
59691         * stdio-common/printf_fp.c (outchar): Likewise.
59692         (PRINT): Likewise.
59693         * stdio-common/printf_fphex.c (outchar): Likewise.
59694         (PRINT): Likewise.
59695         * stdio-common/printf_size.c (outchar): Likewise.
59696         (PRINT): Likewise.
59697         * stdio-common/test_rdwr.c (main): Likewise.
59698         * stdio-common/tfformat.c (matches): Likewise.
59699         * stdio-common/vfprintf.c (outchar): Likewise.
59700         (printf_unknown): Likewise.
59701         (buffered_vfprintf): Likewise.
59702         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59703         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59704         (ReadFile): Likewise.
59705         * stdlib/qsort.c (SWAP): Likewise.
59706         (_quicksort): Likewise.
59707         * stdlib/setenv.c (__add_to_environ): Likewise.
59708         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59709         * stdlib/strtol_l.c (__strtol_l): Likewise.
59710         * stdlib/tst-strtod.c (main): Likewise.
59711         * stdlib/tst-strtol.c (main): Likewise.
59712         * stdlib/tst-strtoll.c (main): Likewise.
59713         * string/bits/string2.h (__strcmp_cc): Likewise.
59714         (__strcmp_cg): Likewise.
59715         (__strcspn_c1): Likewise.
59716         (__strcspn_c2): Likewise.
59717         (__strcspn_c3): Likewise.
59718         (__strspn_c1): Likewise.
59719         (__strspn_c2): Likewise.
59720         (__strspn_c3): Likewise.
59721         (__strsep_1c): Likewise.
59722         (__strsep_2c): Likewise.
59723         (__strsep_3c): Likewise.
59724         * string/memccpy.c (__memccpy): Likewise.
59725         * string/stpcpy.c (__stpcpy): Likewise.
59726         * string/strcmp.c (strcmp): Likewise.
59727         * string/strrchr.c (strrchr): Likewise.
59728         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59729         Likewise.
59730         * sysdeps/mach/hurd/getcwd.c
59731         (_hurd_canonicalize_directory_name_internal): Likewise.
59732         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59733         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59734         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59735         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59736         Likewise, in both definitions.
59737         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59738         definitions.
59739         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59740         64] (__bswap_64): Likewise.
59741         * time/test_time.c (main): Likewise.
59742         * time/tzfile.c (__tzfile_read): Likewise.
59743         (__tzfile_compute): Likewise.
59744         * time/tzset.c (__tzset_parse_tz): Likewise.
59745         (tzset_internal): Likewise.
59746         (compute_change): Likewise.
59747         * wcsmbs/wcscat.c (__wcscat): Likewise.
59748         * wcsmbs/wcschr.c (wcschr): Likewise.
59749         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59750         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59751         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59752         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59753         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59754         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59755         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59756         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59757         * wcsmbs/wmemset.c (wmemset): Likewise.
59759 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59761         * scripts/config.guess: Update to version 2013-05-16.
59762         * scripts/config.sub: Update to version 2013-04-24.
59763         * scripts/install-sh: Update to version 2011-11-20.07.
59764         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59765         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59767 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59769         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59770         * elf/sln.c: Likewise.
59771         * hurd/hurd/ioctl.h: Likewise.
59772         * hurd/hurdmalloc.c: Likewise.
59773         * hurd/xattr.c: Likewise.
59774         * include/shlib-compat.h: Likewise.
59775         * inet/ruserpass.c: Likewise.
59776         * libio/iofgets_u.c: Likewise.
59777         * libio/iofgetws_u.c: Likewise.
59778         * locale/programs/ld-identification.c: Likewise.
59779         * locale/programs/ld-time.c: Likewise.
59780         * mach/msg-destroy.c: Likewise.
59781         * nss/nss_files/files-netgrp.c: Likewise.
59782         * resolv/res_data.c: Likewise.
59783         * soft-fp/op-1.h: Likewise.
59784         * soft-fp/op-2.h: Likewise.
59785         * soft-fp/op-4.h: Likewise.
59786         * soft-fp/op-common.h: Likewise.
59787         * stdio-common/printf_fphex.c: Likewise.
59788         * stdlib/strtod_l.c: Likewise.
59789         * sunrpc/rpc/clnt.h: Likewise.
59790         * sysdeps/generic/framestate.c: Likewise.
59791         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59792         * sysdeps/i386/bsd-setjmp.S: Likewise.
59793         * sysdeps/i386/__longjmp.S: Likewise.
59794         * sysdeps/i386/setjmp.S: Likewise.
59795         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59796         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59797         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59798         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59799         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59800         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59801         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59802         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59803         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59804         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59805         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59806         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59807         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59808         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59809         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59810         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59811         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59812         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59813         * sysdeps/ieee754/support.c: Likewise.
59814         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59815         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59816         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59817         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59818         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59819         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59820         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59821         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59822         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59823         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59824         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59825         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59826         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59827         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59828         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59829         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59830         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59833 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59835         * posix/transbug.c: Remove executable mode.
59837 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59839         * crypt/speeds.c: Remove trailing whitespace.
59840         * dlfcn/default.c: Likewise.
59841         * elf/ifuncdep2.c: Likewise.
59842         * elf/ifuncmain1.c: Likewise.
59843         * elf/ifuncmain1vis.c: Likewise.
59844         * elf/testobj.h: Likewise.
59845         * elf/tst-stackguard1.c: Likewise.
59846         * gmon/sys/gmon.h: Likewise.
59847         * hurd/hurdmsg.c: Likewise.
59848         * hurd/new-fd.c: Likewise.
59849         * hurd/ports-get.c: Likewise.
59850         * iconvdata/ibm1008_420.c: Likewise.
59851         * inet/tst-getni1.c: Likewise.
59852         * inet/tst-getni2.c: Likewise.
59853         * libio/ioungetc.c: Likewise.
59854         * libio/wfiledoalloc.c: Likewise.
59855         * manual/libm-err-tab.pl: Likewise.
59856         * math/w_dremf.c: Likewise.
59857         * misc/ftruncate.c: Likewise.
59858         * posix/bug-glob2.c: Likewise.
59859         * posix/tst-pcre.c: Likewise.
59860         * posix/wait4.c: Likewise.
59861         * resolv/README: Likewise.
59862         * resolv/res_debug.h: Likewise.
59863         * resolv/tst-inet_ntop.c: Likewise.
59864         * setjmp/bug269-setjmp.c: Likewise.
59865         * soft-fp/extended.h: Likewise.
59866         * soft-fp/op-1.h: Likewise.
59867         * soft-fp/op-2.h: Likewise.
59868         * soft-fp/op-4.h: Likewise.
59869         * soft-fp/op-8.h: Likewise.
59870         * soft-fp/testit.c: Likewise.
59871         * stdio-common/bug16.c: Likewise.
59872         * stdlib/random.c: Likewise.
59873         * sunrpc/rpcsvc/rquota.x: Likewise.
59874         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59875         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59876         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59877         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59878         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59879         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59880         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59881         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59882         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59883         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59884         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59885         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59886         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59887         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59888         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59889         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59890         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59891         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59892         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59893         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59894         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59895         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59896         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59897         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59898         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59899         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59900         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59901         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59902         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59903         * sysdeps/ieee754/s_lib_version.c: Likewise.
59904         * sysdeps/mach/hurd/check_fds.c: Likewise.
59905         * sysdeps/mach/hurd/getsockname.c: Likewise.
59906         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59907         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59908         * sysdeps/powerpc/bits/link.h: Likewise.
59909         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59910         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59911         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59912         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59913         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59914         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59915         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59916         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59917         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59918         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59919         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59920         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59921         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59922         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59923         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59924         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59925         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59926         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59927         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59928         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59929         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59930         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59931         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59932         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59933         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59934         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59935         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59936         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59937         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59938         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59939         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59940         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59941         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59942         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59943         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59944         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59945         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59946         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59947         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59948         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59949         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59950         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59951         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59952         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59953         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59954         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59955         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59956         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59957         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59958         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59959         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59960         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59961         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59962         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59963         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59964         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59965         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59966         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59967         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59968         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59969         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59970         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59971         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59972         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59973         * sysdeps/powerpc/sysdep.h: Likewise.
59974         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59975         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59976         * sysdeps/sh/dl-trampoline.S: Likewise.
59977         * sysdeps/sh/memset.S: Likewise.
59978         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59979         * sysdeps/sh/strlen.S: Likewise.
59980         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59981         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59982         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59983         * sysdeps/sparc/sparc32/rem.S: Likewise.
59984         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59985         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59986         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59987         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59988         * sysdeps/sparc/sparc32/urem.S: Likewise.
59989         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59990         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59991         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59992         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59993         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59994         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59995         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59996         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59997         * sysdeps/unix/bsd/times.c: Likewise.
59998         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59999         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
60000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
60001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
60002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
60003         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
60004         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60005         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
60006         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
60007         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
60008         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
60009         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60010         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
60011         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60012         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60013         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
60014         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60015         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
60016         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
60017         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
60018         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
60019         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
60020         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60021         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
60022         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
60023         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
60024         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
60025         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60026         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
60027         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
60028         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
60029         * sysdeps/x86_64/strcspn.S: Likewise.
60031 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60033         * locale/C-translit.h: Revert #include <stdint.h> because this is a
60034         generated file.  Regenerate properly from gen-translit.pl.
60035         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
60036         locale/C-translit.h.
60038 2013-06-05  Andreas Schwab  <schwab@suse.de>
60040         [BZ #15100]
60041         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
60042         week as 6 instead of -1.
60043         * time/tst-strptime.c (day_tests): Add test case.
60045 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60047         * sysdeps/generic/math_private.h
60048         (libc_feholdexcept_setround_53bit): Replace with
60049         libc_feholdsetround_53bit.
60050         (libc_feupdateenv_53bit): Replace with
60051         libc_feresetround_53bit.
60052         (SET_RESTORE_ROUND_53BIT): Adjust.
60054 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60056         * string/test-strchrnul.c: Add copyright header.
60058         * posix/tst-getaddrinfo4.c: Increase test timeout.
60060 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
60062         [BZ #15536]
60063         * math/libm-test.inc (MAX_EXP): Remove
60064         (MIN_EXP): Define.
60065         (ulp): Use MIN_EXP - MANT_DIG.
60066         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
60068 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
60070         * po/be.po: Revert last change.
60071         * po/zh_CN.po: Likewise.
60072         * po/header.pot: Likewise.
60074 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
60076         * Makefile ($(common-objpfx)linkobj/libc.so): Define
60077         link-libc-deps to empty as target-specific variable.
60078         * Makerules (link-libc-args): New variable.
60079         (libc-for-link): Likewise.
60080         (link-libc-deps): Likewise.
60081         (lib%.so): Depend on $(link-libc-deps).  Link with
60082         $(link-libc-args).
60083         (build-module): Link with $(link-libc-args).
60084         (build-module-asneeded): Likewise.
60085         (build-module-helper-objlist): Filter out $(link-libc-deps) from
60086         list of objects.
60087         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
60088         target-specific variable.
60089         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
60090         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
60091         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
60092         libc.
60093         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
60094         libc and ld.so.
60095         ($(objpfx)libpcprofile.so): Likewise.
60096         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
60097         libc_nonshared.a.
60098         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
60099         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
60100         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
60101         $(link-libc-deps).
60102         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
60103         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
60104         * login/Makefile ($(objpfx)libutil.so): Likewise.
60105         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
60106         * math/Makefile ($(objpfx)libm.so): Likewise.
60107         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
60108         $(objpfx)libnsl.so): Define libc-for-link as target-specific
60109         variable instead of depending directly on libc.
60110         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
60111         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
60112         $(link-libc-deps).
60113         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
60114         libc.
60115         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
60116         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
60117         ($(objpfx)libanl.so): Likewise.
60118         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
60119         ld.so.
60120         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
60121         $(link-libc-deps).
60122         * sysdeps/i386/fpu/Makefile: Remove file.
60123         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
60124         ($(objpfx)libm.so): Remove dependency on ld.so.
60126 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
60128         [BZ # 15553]
60129         * nis/yp_xdr.c (XDRMAXNAME): Define.
60130         (XDRMAXRECORD): Define.
60131         (xdr_domainname): Use XDRMAXNAME.
60132         (xdr_mapname): Likewise.
60133         (xdr_peername): Likewise.
60134         (xdr_keydat): Use XDRMAXRECORD.
60135         (xdr_valdat): Likewise.
60137 2013-05-30  Jeff Law  <law@redhat.com>
60139         [BZ #14256]
60140         * manual/errno.texi (ESTALE): Update to account for more than
60141         just NFS file systems.
60142         * sysdeps/gnu/errlist.c: Regenerated.
60144 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60146         [BZ #15465]
60147         * elf/Makefile (tests): Add tst-null-argv.
60148         (modules-names):  Add tst-null-argv-lib.
60149         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
60150         (tst-null-argv-ENV): Set environment for tst-null-argv.
60151         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
60152         (RTLD_PROGNAME): New macro.
60153         * elf/tst-null-argv.c: New test case.
60154         * elf/tst-null-argv-lib.c: Library for test case.
60155         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
60156         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
60157         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
60158         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
60159         * elf/dl-init.c (call_init): Likewise.
60160         (_dl_init): Likewise.
60161         * elf/dl-load.c (print_search_path): Likewise.
60162         (_dl_map_object): Likewise.
60163         * elf/dl-lookup.c (do_lookup_x): Likewise.
60164         (add_dependency): Likewise.
60165         (_dl_lookup_symbol_x): Likewise.
60166         (_dl_debug_bindings): Likewise.
60167         * elf/dl-open.c (_dl_show_scope): Likewise.
60168         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
60169         * elf/dl-version.c (match_symbol): Likewise.
60170         (_dl_check_map_versions): Likewise.
60171         * elf/rtld.c (dl_main): Likewise.
60172         (print_unresolved): Use RTLD_PROGNAME.
60173         (print_missing_version): Likewise.
60174         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
60175         (elf_machine_rela): Likewise.
60176         * sysdeps/powerpc/powerpc32/dl-machine.c
60177         (__process_machine_rela): Likewise.
60178         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60179         Likewise.
60180         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60181         Likewise.
60182         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
60183         Likewise.
60184         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60185         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
60186         Likewise.
60187         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
60188         Likewise.
60189         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60191 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
60193         * po/be.po: Add descriptive title.
60194         * po/zh_CN.po: Likewise.
60195         * po/header.pot: Likewise.
60197 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
60199         * locale/programs/locarchive.c (create_archive): Inlucde fname in
60200         error message.
60201         (enlarge_archive): Likewise.
60203 2013-05-28  Ben North  <ben@redfrontdoor.org>
60205         * manual/arith.texi (frexp): It is the magnitude of the return
60206         value which lies in [0.5, 1), not the return value itself.
60208 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60212 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
60214         * stdio-common/bug26.c (main): Correct fscanf template.
60216         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
60217         declare _dl_skip_args.
60219         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
60220         Don't declare.
60222         * manual/platform.texi: Add missing @end deftypefun.
60224 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60226         [BZ #15529]
60227         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
60228         bit of mantissa of 2^16382.
60229         * math/libm-test.inc (hypot_test_data): Add more tests.
60231         * math/libm-test.inc: Add drem and pow10 to list of tested
60232         functions.
60233         (pow10_test): New function.
60234         (drem_test): Likewise.
60235         (drem_test_tonearest): Likewise.
60236         (drem_test_towardzero): Likewise.
60237         (drem_test_downward): Likewise.
60238         (drem_test_upward): Likewise.
60239         (main): Call the new functions.
60241         * math/libm-test.inc (finite_test_data): Remove.
60242         (finite_test): Run tests from isfinite_test_data.
60243         (gamma_test_data): Remove.
60244         (gamma_test): Run tests from lgamma_test_data.
60245         * sysdeps/i386/fpu/libm-test-ulps: Update.
60246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60248 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60250         * manual/platform.texi: Add PowerPC PPR function set documentation.
60251         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
60252         implementation.
60254 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
60256         * math/libm-test.inc (MAX_EXP): Define.
60257         (ULPDIFF): Define.
60258         (ulp): New function.
60259         (check_float_internal): Use ULPDIFF.
60260         (cpow_test): Disable failing test.
60261         (check_ulp): Test ulp() implementation.
60262         (main): Call check_ulp before starting tests.
60264 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60266         * math/gen-libm-test.pl (generate_testfile): Do not handle
60267         START_DATA and END_DATA.
60268         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
60269         END_DATA.
60270         (acos_tonearest_test_data): Likewise.
60271         (acos_towardzero_test_data): Likewise.
60272         (acos_downward_test_data): Likewise.
60273         (acos_upward_test_data): Likewise.
60274         (acosh_test_data): Likewise.
60275         (asin_test_data): Likewise.
60276         (asin_tonearest_test_data): Likewise.
60277         (asin_towardzero_test_data): Likewise.
60278         (asin_downward_test_data): Likewise.
60279         (asin_upward_test_data): Likewise.
60280         (asinh_test_data): Likewise.
60281         (atan_test_data): Likewise.
60282         (atanh_test_data): Likewise.
60283         (atan2_test_data): Likewise.
60284         (cabs_test_data): Likewise.
60285         (cacos_test_data): Likewise.
60286         (cacosh_test_data): Likewise.
60287         (carg_test_data): Likewise.
60288         (casin_test_data): Likewise.
60289         (casinh_test_data): Likewise.
60290         (catan_test_data): Likewise.
60291         (catanh_test_data): Likewise.
60292         (cbrt_test_data): Likewise.
60293         (ccos_test_data): Likewise.
60294         (ccosh_test_data): Likewise.
60295         (ceil_test_data): Likewise.
60296         (cexp_test_data): Likewise.
60297         (cimag_test_data): Likewise.
60298         (clog_test_data): Likewise.
60299         (clog10_test_data): Likewise.
60300         (conj_test_data): Likewise.
60301         (copysign_test_data): Likewise.
60302         (cos_test_data): Likewise.
60303         (cos_tonearest_test_data): Likewise.
60304         (cos_towardzero_test_data): Likewise.
60305         (cos_downward_test_data): Likewise.
60306         (cos_upward_test_data): Likewise.
60307         (cosh_test_data): Likewise.
60308         (cosh_tonearest_test_data): Likewise.
60309         (cosh_towardzero_test_data): Likewise.
60310         (cosh_downward_test_data): Likewise.
60311         (cosh_upward_test_data): Likewise.
60312         (cpow_test_data): Likewise.
60313         (cproj_test_data): Likewise.
60314         (creal_test_data): Likewise.
60315         (csin_test_data): Likewise.
60316         (csinh_test_data): Likewise.
60317         (csqrt_test_data): Likewise.
60318         (ctan_test_data): Likewise.
60319         (ctan_tonearest_test_data): Likewise.
60320         (ctan_towardzero_test_data): Likewise.
60321         (ctan_downward_test_data): Likewise.
60322         (ctan_upward_test_data): Likewise.
60323         (ctanh_test_data): Likewise.
60324         (ctanh_tonearest_test_data): Likewise.
60325         (ctanh_towardzero_test_data): Likewise.
60326         (ctanh_downward_test_data): Likewise.
60327         (ctanh_upward_test_data): Likewise.
60328         (erf_test_data): Likewise.
60329         (erfc_test_data): Likewise.
60330         (exp_test_data): Likewise.
60331         (exp_tonearest_test_data): Likewise.
60332         (exp_towardzero_test_data): Likewise.
60333         (exp_downward_test_data): Likewise.
60334         (exp_upward_test_data): Likewise.
60335         (exp10_test_data): Likewise.
60336         (exp2_test_data): Likewise.
60337         (expm1_test_data): Likewise.
60338         (fabs_test_data): Likewise.
60339         (fdim_test_data): Likewise.
60340         (finite_test_data): Likewise.
60341         (floor_test_data): Likewise.
60342         (fma_test_data): Likewise.
60343         (fma_towardzero_test_data): Likewise.
60344         (fma_downward_test_data): Likewise.
60345         (fma_upward_test_data): Likewise.
60346         (fmax_test_data): Likewise.
60347         (fmin_test_data): Likewise.
60348         (fmod_test_data): Likewise.
60349         (fpclassify_test_data): Likewise.
60350         (frexp_test_data): Likewise.
60351         (gamma_test_data): Likewise.
60352         (hypot_test_data): Likewise.
60353         (ilogb_test_data): Likewise.
60354         (isfinite_test_data): Likewise.
60355         (isgreater_test_data): Likewise.
60356         (isgreaterequal_test_data): Likewise.
60357         (isinf_test_data): Likewise.
60358         (isless_test_data): Likewise.
60359         (islessequal_test_data): Likewise.
60360         (islessgreater_test_data): Likewise.
60361         (isnan_test_data): Likewise.
60362         (isnormal_test_data): Likewise.
60363         (issignaling_test_data): Likewise.
60364         (isunordered_test_data): Likewise.
60365         (j0_test_data): Likewise.
60366         (j1_test_data): Likewise.
60367         (jn_test_data): Likewise.
60368         (ldexp_test_data): Likewise.
60369         (lgamma_test_data): Likewise.
60370         (lrint_test_data): Likewise.
60371         (lrint_tonearest_test_data): Likewise.
60372         (lrint_towardzero_test_data): Likewise.
60373         (lrint_downward_test_data): Likewise.
60374         (lrint_upward_test_data): Likewise.
60375         (llrint_test_data): Likewise.
60376         (llrint_tonearest_test_data): Likewise.
60377         (llrint_towardzero_test_data): Likewise.
60378         (llrint_downward_test_data): Likewise.
60379         (llrint_upward_test_data): Likewise.
60380         (log_test_data): Likewise.
60381         (log10_test_data): Likewise.
60382         (log1p_test_data): Likewise.
60383         (log2_test_data): Likewise.
60384         (logb_test_data): Likewise.
60385         (logb_downward_test_data): Likewise.
60386         (lround_test_data): Likewise.
60387         (llround_test_data): Likewise.
60388         (modf_test_data): Likewise.
60389         (nearbyint_test_data): Likewise.
60390         (nextafter_test_data): Likewise.
60391         (nexttoward_test_data): Likewise.
60392         (pow_test_data): Likewise.
60393         (pow_tonearest_test_data): Likewise.
60394         (pow_towardzero_test_data): Likewise.
60395         (pow_downward_test_data): Likewise.
60396         (pow_upward_test_data): Likewise.
60397         (remainder_test_data): Likewise.
60398         (remainder_tonearest_test_data): Likewise.
60399         (remainder_towardzero_test_data): Likewise.
60400         (remainder_downward_test_data): Likewise.
60401         (remainder_upward_test_data): Likewise.
60402         (remquo_test_data): Likewise.
60403         (rint_test_data): Likewise.
60404         (rint_tonearest_test_data): Likewise.
60405         (rint_towardzero_test_data): Likewise.
60406         (rint_downward_test_data): Likewise.
60407         (rint_upward_test_data): Likewise.
60408         (round_test_data): Likewise.
60409         (scalb_test_data): Likewise.
60410         (scalbn_test_data): Likewise.
60411         (scalbln_test_data): Likewise.
60412         (signbit_test_data): Likewise.
60413         (sin_test_data): Likewise.
60414         (sin_tonearest_test_data): Likewise.
60415         (sin_towardzero_test_data): Likewise.
60416         (sin_downward_test_data): Likewise.
60417         (sin_upward_test_data): Likewise.
60418         (sincos_test_data): Likewise.
60419         (sinh_test_data): Likewise.
60420         (sinh_tonearest_test_data): Likewise.
60421         (sinh_towardzero_test_data): Likewise.
60422         (sinh_downward_test_data): Likewise.
60423         (sinh_upward_test_data): Likewise.
60424         (sqrt_test_data): Likewise.
60425         (tan_test_data): Likewise.
60426         (tan_tonearest_test_data): Likewise.
60427         (tan_towardzero_test_data): Likewise.
60428         (tan_downward_test_data): Likewise.
60429         (tan_upward_test_data): Likewise.
60430         (tanh_test_data): Likewise.
60431         (tgamma_test_data): Likewise.
60432         (trunc_test_data): Likewise.
60433         (y0_test_data): Likewise.
60434         (y1_test_data): Likewise.
60435         (yn_test_data): Likewise.
60436         (significand_test_data): Likewise.
60438         * math/gen-libm-test.pl (@functions): Remove variable.
60439         (generate_testfile): Don't handle START and END lines.
60440         * math/libm-test.inc (START): New macro.
60441         (END): Likewise.
60442         (END_COMPLEX): Likewise.
60443         (acos_test): Use END macro without arguments.
60444         (acos_test_tonearest): Likewise.
60445         (acos_test_towardzero): Likewise.
60446         (acos_test_downward): Likewise.
60447         (acos_test_upward): Likewise.
60448         (acosh_test): Likewise.
60449         (asin_test): Likewise.
60450         (asin_test_tonearest): Likewise.
60451         (asin_test_towardzero): Likewise.
60452         (asin_test_downward): Likewise.
60453         (asin_test_upward): Likewise.
60454         (asinh_test): Likewise.
60455         (atan_test): Likewise.
60456         (atanh_test): Likewise.
60457         (atan2_test): Likewise.
60458         (cabs_test): Likewise.
60459         (cacos_test): Use END_COMPLEX macro without arguments.
60460         (cacosh_test): Likewise.
60461         (carg_test): Use END macro without arguments.
60462         (casin_test): Use END_COMPLEX macro without arguments.
60463         (casinh_test): Likewise.
60464         (catan_test): Likewise.
60465         (catanh_test): Likewise.
60466         (cbrt_test): Use END macro without arguments.
60467         (ccos_test): Use END_COMPLEX macro without arguments.
60468         (ccosh_test): Likewise.
60469         (ceil_test): Use END macro without arguments.
60470         (cexp_test): Use END_COMPLEX macro without arguments.
60471         (cimag_test): Use END macro without arguments.
60472         (clog_test): Use END_COMPLEX macro without arguments.
60473         (clog10_test): Likewise.
60474         (conj_test): Likewise.
60475         (copysign_test): Use END macro without arguments.
60476         (cos_test): Likewise.
60477         (cos_test_tonearest): Likewise.
60478         (cos_test_towardzero): Likewise.
60479         (cos_test_downward): Likewise.
60480         (cos_test_upward): Likewise.
60481         (cosh_test): Likewise.
60482         (cosh_test_tonearest): Likewise.
60483         (cosh_test_towardzero): Likewise.
60484         (cosh_test_downward): Likewise.
60485         (cosh_test_upward): Likewise.
60486         (cpow_test): Use END_COMPLEX macro without arguments.
60487         (cproj_test): Likewise.
60488         (creal_test): Use END macro without arguments.
60489         (csin_test): Use END_COMPLEX macro without arguments.
60490         (csinh_test): Likewise.
60491         (csqrt_test): Likewise.
60492         (ctan_test): Likewise.
60493         (ctan_test_tonearest): Likewise.
60494         (ctan_test_towardzero): Likewise.
60495         (ctan_test_downward): Likewise.
60496         (ctan_test_upward): Likewise.
60497         (ctanh_test): Likewise.
60498         (ctanh_test_tonearest): Likewise.
60499         (ctanh_test_towardzero): Likewise.
60500         (ctanh_test_downward): Likewise.
60501         (ctanh_test_upward): Likewise.
60502         (erf_test): Use END macro without arguments.
60503         (erfc_test): Likewise.
60504         (exp_test): Likewise.
60505         (exp_test_tonearest): Likewise.
60506         (exp_test_towardzero): Likewise.
60507         (exp_test_downward): Likewise.
60508         (exp_test_upward): Likewise.
60509         (exp10_test): Likewise.
60510         (exp2_test): Likewise.
60511         (expm1_test): Likewise.
60512         (fabs_test): Likewise.
60513         (fdim_test): Likewise.
60514         (finite_test): Likewise.
60515         (floor_test): Likewise.
60516         (fma_test): Likewise.
60517         (fma_test_towardzero): Likewise.
60518         (fma_test_downward): Likewise.
60519         (fma_test_upward): Likewise.
60520         (fmax_test): Likewise.
60521         (fmin_test): Likewise.
60522         (fmod_test): Likewise.
60523         (fpclassify_test): Likewise.
60524         (frexp_test): Likewise.
60525         (gamma_test): Likewise.
60526         (hypot_test): Likewise.
60527         (ilogb_test): Likewise.
60528         (isfinite_test): Likewise.
60529         (isgreater_test): Likewise.
60530         (isgreaterequal_test): Likewise.
60531         (isinf_test): Likewise.
60532         (isless_test): Likewise.
60533         (islessequal_test): Likewise.
60534         (islessgreater_test): Likewise.
60535         (isnan_test): Likewise.
60536         (isnormal_test): Likewise.
60537         (issignaling_test): Likewise.
60538         (isunordered_test): Likewise.
60539         (j0_test): Likewise.
60540         (j1_test): Likewise.
60541         (jn_test): Likewise.
60542         (ldexp_test): Likewise.
60543         (lgamma_test): Likewise.
60544         (lrint_test): Likewise.
60545         (lrint_test_tonearest): Likewise.
60546         (lrint_test_towardzero): Likewise.
60547         (lrint_test_downward): Likewise.
60548         (lrint_test_upward): Likewise.
60549         (llrint_test): Likewise.
60550         (llrint_test_tonearest): Likewise.
60551         (llrint_test_towardzero): Likewise.
60552         (llrint_test_downward): Likewise.
60553         (llrint_test_upward): Likewise.
60554         (log_test): Likewise.
60555         (log10_test): Likewise.
60556         (log1p_test): Likewise.
60557         (log2_test): Likewise.
60558         (logb_test): Likewise.
60559         (logb_test_downward): Likewise.
60560         (lround_test): Likewise.
60561         (llround_test): Likewise.
60562         (modf_test): Likewise.
60563         (nearbyint_test): Likewise.
60564         (nextafter_test): Likewise.
60565         (nexttoward_test): Likewise.
60566         (pow_test): Likewise.
60567         (pow_test_tonearest): Likewise.
60568         (pow_test_towardzero): Likewise.
60569         (pow_test_downward): Likewise.
60570         (pow_test_upward): Likewise.
60571         (remainder_test): Likewise.
60572         (remainder_test_tonearest): Likewise.
60573         (remainder_test_towardzero): Likewise.
60574         (remainder_test_downward): Likewise.
60575         (remainder_test_upward): Likewise.
60576         (remquo_test): Likewise.
60577         (rint_test): Likewise.
60578         (rint_test_tonearest): Likewise.
60579         (rint_test_towardzero): Likewise.
60580         (rint_test_downward): Likewise.
60581         (rint_test_upward): Likewise.
60582         (round_test): Likewise.
60583         (scalb_test): Likewise.
60584         (scalbn_test): Likewise.
60585         (scalbln_test): Likewise.
60586         (signbit_test): Likewise.
60587         (sin_test): Likewise.
60588         (sin_test_tonearest): Likewise.
60589         (sin_test_towardzero): Likewise.
60590         (sin_test_downward): Likewise.
60591         (sin_test_upward): Likewise.
60592         (sincos_test): Likewise.
60593         (sinh_test): Likewise.
60594         (sinh_test_tonearest): Likewise.
60595         (sinh_test_towardzero): Likewise.
60596         (sinh_test_downward): Likewise.
60597         (sinh_test_upward): Likewise.
60598         (sqrt_test): Likewise.
60599         (tan_test): Likewise.
60600         (tan_test_tonearest): Likewise.
60601         (tan_test_towardzero): Likewise.
60602         (tan_test_downward): Likewise.
60603         (tan_test_upward): Likewise.
60604         (tanh_test): Likewise.
60605         (tgamma_test): Likewise.
60606         (trunc_test): Likewise.
60607         (y0_test): Likewise.
60608         (y1_test): Likewise.
60609         (yn_test): Likewise.
60610         (significand_test): Likewise.
60612 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60614         [BZ #15381]
60615         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60617 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60619         [BZ #14894]
60620         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60621         __ppc_mdoio and __ppc_mdoom.
60622         * manual/platform.texi: Document new functions __ppc_yield,
60623         __ppc_mdoio and __ppc_mdoom.
60625 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60627         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60628         (main): Mention "tls" pseudo-hwcap is legacy.
60629         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60631 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60633         * math/gen-libm-test.pl (parse_args): Output only string of
60634         arguments as text for test name, not full call or descriptions of
60635         tests for extra outputs.
60636         (generate_testfile): Do not pass function name to parse_args.
60637         Generate this_func variable from START.
60638         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60639         field to arg_str.
60640         (struct test_ff_f_data): Likewise.
60641         (test_ff_f_data_nexttoward): Likewise.
60642         (struct test_fi_f_data): Likewise.
60643         (struct test_fl_f_data): Likewise.
60644         (struct test_if_f_data): Likewise.
60645         (struct test_fff_f_data): Likewise.
60646         (struct test_c_f_data): Likewise.
60647         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60648         (struct test_fF_f1_data): Likewise.
60649         (struct test_ffI_f1_data): Likewise.
60650         (struct test_c_c_data): Rename test_name field to arg_str.
60651         (struct test_cc_c_data): Likewise.
60652         (struct test_f_i_data): Likewise.
60653         (struct test_ff_i_data): Likewise.
60654         (struct test_f_l_data): Likewise.
60655         (struct test_f_L_data): Likewise.
60656         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60657         and extra2_name.
60658         (COMMON_TEST_SETUP): New macro.
60659         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60660         (COMMON_TEST_CLEANUP): Likewise.
60661         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60662         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60663         macros.
60664         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60665         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60666         macros.
60667         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60668         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60669         cleanup macros.
60670         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60671         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60672         macros.
60673         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60674         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60675         macros.
60676         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60677         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60678         cleanup macros.
60679         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60680         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60681         cleanup macros.
60682         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60683         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60684         cleanup macros.
60685         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60686         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60687         macros.
60688         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60689         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60690         macros.
60691         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60692         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60693         macros.
60694         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60695         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60696         cleanup macros.
60697         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60698         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60699         cleanup macros.
60700         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60701         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60702         macros.
60703         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60704         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60705         cleanup macros.
60706         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60707         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60708         macros.
60709         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60710         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60711         macros.
60712         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60713         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60714         cleanup macros.
60715         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60717 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60719         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60720         to _sifields.sigfault.
60721         (si_addr_lsb): Define new macro.
60722         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60723         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60724         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60726 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60728         [BZ #15441]
60729         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60730         returns -1.
60731         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60732         null return -1.
60733         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60734         loading the domain.
60736 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60738         * math/gen-libm-test.pl (parse_args): Do not include expected
60739         result in test name.
60740         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60741         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60742         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60743         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60744         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60747 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60749         * benchtests/Makefile: Sort function entries.
60751         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60752         tanh, asinh, acosh, atanh.
60753         * benchtests/acos-inputs: New file.
60754         * benchtests/acosh-inputs: New file.
60755         * benchtests/asin-inputs: New file.
60756         * benchtests/asinh-inputs: New file.
60757         * benchtests/atanh-inputs: New file.
60758         * benchtests/cosh-inputs: New file.
60759         * benchtests/log-inputs: New file.
60760         * benchtests/sinh-inputs: New file.
60761         * benchtests/tanh-inputs: New file.
60763 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60765         [BZ #15339]
60766         * posix/tst-getaddrinfo4.c: New test.
60767         * posix/Makefile (tests): Add it.
60769 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60771         [BZ #15339]
60772         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60773         when no services were used.
60774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60775         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60777 2013-05-21  Andreas Schwab  <schwab@suse.de>
60779         [BZ #15014]
60780         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60781         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60782         successful.
60783         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60784         redundant variable declarations and reallocation of buffer when
60785         parsing as IPv6 address.  Always set NSS status when called from
60786         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60787         buffer too small.  Correct computation of needed size.
60788         * nss/Makefile (tests): Add test-digits-dots.
60789         * nss/test-digits-dots.c: New test.
60791 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60793         * benchtests/Makefile: Remove instructions for adding
60794         benchmark tests.
60795         * benchtests/README: New file to explain how to execute and
60796         enhance the benchmark tests.
60798 2013-05-21  Andreas Schwab  <schwab@suse.de>
60800         [BZ #15493]
60801         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60802         * setjmp/tst-sigsetjmp.c: New test.
60804 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60806         * sysdeps/x86_64/memset.S (memset): New implementation.
60807         (__bzero): Likewise.
60808         (__memset_tail): New function.
60810 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60812         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60813         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60814         __memcpy_sse2_unaligned ifunc selection.
60815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60816         Add memcpy-sse2-unaligned.S.
60817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60818         Add: __memcpy_sse2_unaligned.
60820 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60822         [BZ #15490]
60823         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60824         math_force_eval before restoring floating-point envrionment.
60825         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60826         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60827         Likewise.
60828         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60829         <math_private.h>.
60830         (__nearbyintl): Use math_force_eval before restoring
60831         floating-point environment.
60832         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60834         * math/gen-libm-test.pl (special_functions): Remove.
60835         (parse_args): Don't handle TEST_extra.  Handle functions with no
60836         return value.
60837         * math/libm-test.inc (struct test_sincos_data): Replace with
60838         struct test_fFF_11_data.
60839         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60840         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60841         (sincos_test_data): Change element type to struct
60842         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60843         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60844         RUN_TEST_LOOP_sincos.
60845         * math/README.libm-test: Don't mention special handling of
60846         individual functions.
60847         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60848         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60849         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60850         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60851         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60854         * math/gen-libm-test.pl (get_variable): Remove function.
60855         (parse_args): Don't show pointer parameters to call in test
60856         names.  Use "extra output N" in test names for extra outputs
60857         rather than naming variables.
60859 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60861         [BZ #15488]
60862         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60863         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60864         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60865         double tests.
60866         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60867         disable.
60868         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60869         check_long_double.
60871         * math/gen-libm-test.pl (@tests): Remove variable.
60872         ($count): Likewise.
60873         (new_test): Remove function.
60874         (show_exceptions): New function.
60875         (special_functions): Use show_exceptions instead of new_test.
60876         (parse_args): Likewise.
60877         (generate_testfile): Pass only function name in generated call to
60878         print_max_error or print_complex_max_error.
60879         (get_ulps): Do not handle complex tests specially.
60880         (output_test): Rename to ...
60881         (get_all_ulps_for_test): ... this.  Return a string rather than
60882         printing to a file.  Require ulps to be present.
60883         (output_ulps): Generate arrays rather than #defines.
60884         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60885         (struct ulp_data): New type.
60886         (BUILD_COMPLEX_ULP): Remove macro.
60887         (compare_ulp_data): New function.
60888         (find_ulps): Likewise.
60889         (find_test_ulps): Likewise.
60890         (find_function_ulps): Likewise.
60891         (find_complex_function_ulps): Likewise.
60892         (print_max_error): Determine allowed ulps using
60893         find_function_ulps.
60894         (print_complex_max_error): Determine allowed ulps using
60895         find_complex_function_ulps.
60896         (check_float_internal): Determine max ulps using find_test_ulps.
60897         (check_float): Do not take max_ulp parameter.  Update call to
60898         check_float_internal.
60899         (check_complex): Likewise.
60900         (check_int): Do not take max_ulp parameter.
60901         (check_long): Likewise.
60902         (check_bool): Likewise.
60903         (check_longlong): Likewise.
60904         (struct test_f_f_data): Remove max_ulp field.
60905         (struct test_ff_f_data): Likewise.
60906         (struct test_ff_f_data_nexttoward): Likewise.
60907         (struct test_fi_f_data): Likewise.
60908         (struct test_fl_f_data): Likewise.
60909         (struct test_if_f_data): Likewise.
60910         (struct test_fff_f_data): Likewise.
60911         (struct test_c_f_data): Likewise.
60912         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60913         (struct test_fF_f1_data): Likewise.
60914         (struct test_ffI_f1_data): Likewise.
60915         (struct test_c_c_data): Remove max_ulp field.
60916         (struct test_cc_c_data): Likewise.
60917         (struct test_f_i_data): Likewise.
60918         (struct test_ff_i_data): Likewise.
60919         (struct test_f_l_data): Likewise.
60920         (struct test_f_L_data): Likewise.
60921         (struct test_sincos_data): Likewise.
60922         (RUN_TEST_f_f): Do not handle ulps.
60923         (RUN_TEST_LOOP_f_f): Likewise.
60924         (RUN_TEST_2_f): Likewise.
60925         (RUN_TEST_LOOP_2_f): Likewise.
60926         (RUN_TEST_fff_f): Likewise.
60927         (RUN_TEST_LOOP_fff_f): Likewise.
60928         (RUN_TEST_c_f): Likewise.
60929         (RUN_TEST_LOOP_c_f): Likewise.
60930         (RUN_TEST_f_f1): Likewise.
60931         (RUN_TEST_LOOP_f_f1): Likewise.
60932         (RUN_TEST_fF_f1): Likewise.
60933         (RUN_TEST_LOOP_fF_f1): Likewise.
60934         (RUN_TEST_fI_f1): Likewise.
60935         (RUN_TEST_LOOP_fI_f1): Likewise.
60936         (RUN_TEST_ffI_f1): Likewise.
60937         (RUN_TEST_LOOP_ffI_f1): Likewise.
60938         (RUN_TEST_c_c): Likewise.
60939         (RUN_TEST_LOOP_c_c): Likewise.
60940         (RUN_TEST_cc_c): Likewise.
60941         (RUN_TEST_LOOP_cc_c): Likewise.
60942         (RUN_TEST_f_i): Likewise.
60943         (RUN_TEST_LOOP_f_i): Likewise.
60944         (RUN_TEST_f_i_tg): Likewise.
60945         (RUN_TEST_LOOP_f_i_tg): Likewise.
60946         (RUN_TEST_ff_i_tg): Likewise.
60947         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60948         (RUN_TEST_f_b): Likewise.
60949         (RUN_TEST_LOOP_f_b): Likewise.
60950         (RUN_TEST_f_b_tg): Likewise.
60951         (RUN_TEST_LOOP_f_b_tg): Likewise.
60952         (RUN_TEST_f_l): Likewise.
60953         (RUN_TEST_LOOP_f_l): Likewise.
60954         (RUN_TEST_f_L): Likewise.
60955         (RUN_TEST_LOOP_f_L): Likewise.
60956         (RUN_TEST_sincos): Likewise.
60957         (RUN_TEST_LOOP_sincos): Likewise.
60959 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60961         [BZ #15480]
60962         [BZ #15485]
60963         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60964         main case of finite arguments, set rounding mode to FE_TONEAREST
60965         and discard exceptions.
60966         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60967         exceptions.
60968         (remainder_tonearest_test_data): New variable.
60969         (remainder_test_tonearest): New function.
60970         (remainder_towardzero_test_data): New variable.
60971         (remainder_test_towardzero): New function.
60972         (remainder_downward_test_data): New variable.
60973         (remainder_test_downward): New function.
60974         (remainder_upward_test_data): New variable.
60975         (remainder_test_upward): New function.
60976         (main): Call the new test functions.
60978         * math/libm-test.inc (struct test_f_f1_data): Remove field
60979         extra_init.
60980         (struct test_fF_f1_data): Likewise.
60981         (struct test_ffI_f1_data): Likewise.
60982         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60983         based on value of EXTRA_EXPECTED.
60984         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60985         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60986         EXTRA_VAR based on value of EXTRA_EXPECTED.
60987         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60988         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60989         EXTRA_VAR based on value of EXTRA_EXPECTED.
60990         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60991         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60992         EXTRA_VAR based on value of EXTRA_EXPECTED.
60993         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60994         * math/gen-libm-test.pl (parse_args): Don't output initializers
60995         for extra output values.
60997         * math/libm-test.inc (check_int): Expect result to be exactly
60998         equal to expected value and do not handle ulps.
60999         (check_long): Likewise.
61000         (check_longlong): Likewise.
61002         * math/libm-test.inc (ceil_test_data): Test for "inexact"
61003         exceptions.
61004         (cimag_test_data): Likewise.
61005         (conj_test_data): Likewise.
61006         (copysign_test_data): Likewise.
61007         (cproj_test_data): Likewise.
61008         (creal_test_data): Likewise.
61009         (fabs_test_data): Likewise.
61010         (fdim_test_data): Likewise.
61011         (finite_test_data): Likewise.
61012         (floor_test_data): Likewise.
61013         (fmax_test_data): Likewise.
61014         (fmin_test_data): Likewise.
61015         (fmod_test_data): Likewise.
61016         (fpclassify_test_data): Likewise.
61017         (frexp_test_data): Likewise.
61018         (ilogb_test_data): Likewise.
61019         (isfinite_test_data): Likewise.
61020         (isgreater_test_data): Likewise.
61021         (isgreaterequal_test_data): Likewise.
61022         (isinf_test_data): Likewise.
61023         (isless_test_data): Likewise.
61024         (islessequal_test_data): Likewise.
61025         (islessgreater_test_data): Likewise.
61026         (isnan_test_data): Likewise.
61027         (isnormal_test_data): Likewise.
61028         (issignaling_test_data): Likewise.
61029         (isunordered_test_data): Likewise.
61030         (ldexp_test_data): Likewise.
61031         (lrint_test_data): Likewise.
61032         (lrint_test_data) [TEST_FLOAT]: Disable one test.
61033         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
61034         (lrint_tonearest_test_data): Test for "inexact" exceptions.
61035         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61036         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
61037         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61038         test input.
61039         (lrint_towardzero_test_data): Test for "inexact" exceptions.
61040         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61041         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
61042         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
61043         that test input.
61044         (lrint_downward_test_data): Test for "inexact" exceptions.
61045         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61046         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
61047         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61048         test input.
61049         (lrint_upward_test_data): Test for "inexact" exceptions.
61050         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
61051         test input.
61052         (llrint_test_data): Test for "inexact" exceptions.
61053         (llrint_test_data) [TEST_FLOAT]: Disable one test.
61054         (llrint_tonearest_test_data): Test for "inexact" exceptions.
61055         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61056         (llrint_towardzero_test_data): Test for "inexact" exceptions.
61057         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61058         (llrint_downward_test_data): Test for "inexact" exceptions.
61059         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61060         (llrint_upward_test_data): Test for "inexact" exceptions.
61061         (logb_test_data): Likewise.
61062         (logb_downward_test_data): Likewise.
61063         (nextafter_test_data): Likewise.
61064         (nexttoward_test_data): Likewise.
61065         (remainder_test_data): Likewise.
61066         (remquo_test_data): Likewise.
61067         (scalbn_test_data): Likewise.
61068         (scalbln_test_data): Likewise.
61069         (signbit_test_data): Likewise.
61070         (sqrt_test_data): Likewise.
61071         (significand_test_data): Likewise.
61073 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61075         [BZ #15424]
61076         * benchtests/bench-modf.c (struct args): Mark arg0 as
61077         volatile.
61078         * scripts/bench.pl: Mark members of struct args as volatile.
61080 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61082         [BZ # 15497]
61083         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
61084         negative infinity on POWER6 or lower.
61085         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
61087 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
61089         [BZ #15442]
61090         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
61091         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
61092         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
61093         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
61094         (_FP_SETQNAN): New macro.
61095         (_FP_SETQNAN_SEMIRAW): Likewise.
61096         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
61097         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
61098         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
61099         (FP_EXTEND): Use _FP_FRAC_SNANP.
61100         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
61101         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
61102         into account.
61103         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61104         New macro.
61105         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61106         Likewise.
61108 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61110         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
61111         with DIVIDE_BY_ZERO_EXCEPTION.
61112         (gamma_test_data): Likewise.
61113         (lgamma_test_data): Likewise.
61114         (log_test_data): Likewise.
61115         (log10_test_data): Likewise.
61116         (log2_test_data): Likewise.
61117         (tgamma_test_data): Likewise.
61119         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
61120         (acos_test_tonearest): Likewise.
61121         (acos_test_towardzero): Likewise.
61122         (acos_test_downward): Likewise.
61123         (acos_test_upward): Likewise.
61124         (acosh_test): Likewise.
61125         (asin_test): Likewise.
61126         (asin_test_tonearest): Likewise.
61127         (asin_test_towardzero): Likewise.
61128         (asin_test_downward): Likewise.
61129         (asin_test_upward): Likewise.
61130         (asinh_test): Likewise.
61131         (atan_test): Likewise.
61132         (atanh_test): Likewise.
61133         (atan2_test): Likewise.
61134         (cabs_test): Likewise.
61135         (cacos_test): Likewise.
61136         (cacosh_test): Likewise.
61137         (casin_test): Likewise.
61138         (casinh_test): Likewise.
61139         (catan_test): Likewise.
61140         (catanh_test): Likewise.
61141         (cbrt_test): Likewise.
61142         (ccos_test): Likewise.
61143         (ccosh_test): Likewise.
61144         (cexp_test): Likewise.
61145         (clog_test): Likewise.
61146         (clog10_test): Likewise.
61147         (cos_test): Likewise.
61148         (cos_test_tonearest): Likewise.
61149         (cos_test_towardzero): Likewise.
61150         (cos_test_downward): Likewise.
61151         (cos_test_upward): Likewise.
61152         (cosh_test): Likewise.
61153         (cosh_test_tonearest): Likewise.
61154         (cosh_test_towardzero): Likewise.
61155         (cosh_test_downward): Likewise.
61156         (cosh_test_upward): Likewise.
61157         (cpow_test): Likewise.
61158         (csin_test): Likewise.
61159         (csinh_test): Likewise.
61160         (csqrt_test): Likewise.
61161         (ctan_test): Likewise.
61162         (ctan_test_tonearest): Likewise.
61163         (ctan_test_towardzero): Likewise.
61164         (ctan_test_downward): Likewise.
61165         (ctan_test_upward): Likewise.
61166         (ctanh_test): Likewise.
61167         (ctanh_test_tonearest): Likewise.
61168         (ctanh_test_towardzero): Likewise.
61169         (ctanh_test_downward): Likewise.
61170         (ctanh_test_upward): Likewise.
61171         (erf_test): Likewise.
61172         (erfc_test): Likewise.
61173         (exp_test): Likewise.
61174         (exp_test_tonearest): Likewise.
61175         (exp_test_towardzero): Likewise.
61176         (exp_test_downward): Likewise.
61177         (exp_test_upward): Likewise.
61178         (exp10_test): Likewise.
61179         (exp2_test): Likewise.
61180         (expm1_test): Likewise.
61181         (fmod_test): Likewise.
61182         (gamma_test): Likewise.
61183         (hypot_test): Likewise.
61184         (j0_test): Likewise.
61185         (j1_test): Likewise.
61186         (jn_test): Likewise.
61187         (lgamma_test): Likewise.
61188         (log_test): Likewise.
61189         (log10_test): Likewise.
61190         (log1p_test): Likewise.
61191         (log2_test): Likewise.
61192         (logb_test_downward): Likewise.
61193         (pow_test): Likewise.
61194         (pow_test_tonearest): Likewise.
61195         (pow_test_towardzero): Likewise.
61196         (pow_test_downward): Likewise.
61197         (pow_test_upward): Likewise.
61198         (remainder_test): Likewise.
61199         (remquo_test): Likewise.
61200         (sin_test): Likewise.
61201         (sin_test_tonearest): Likewise.
61202         (sin_test_towardzero): Likewise.
61203         (sin_test_downward): Likewise.
61204         (sin_test_upward): Likewise.
61205         (sincos_test): Likewise.
61206         (sinh_test): Likewise.
61207         (sinh_test_tonearest): Likewise.
61208         (sinh_test_towardzero): Likewise.
61209         (sinh_test_downward): Likewise.
61210         (sinh_test_upward): Likewise.
61211         (sqrt_test): Likewise.
61212         (tan_test): Likewise.
61213         (tan_test_tonearest): Likewise.
61214         (tan_test_towardzero): Likewise.
61215         (tan_test_downward): Likewise.
61216         (tan_test_upward): Likewise.
61217         (tanh_test): Likewise.
61218         (tgamma_test): Likewise.
61219         (y0_test): Likewise.
61220         (y1_test): Likewise.
61221         (yn_test): Likewise.
61223         * math/gen-libm-test.pl (adjust_arg): Remove function.
61224         (special_function): Remove argument $in_func.  Only handle
61225         generating output for tables of tests, not inside functions.
61226         (parse_args): Likewise.
61227         (generate_testfile): Remove variable $in_func.  Update call to
61228         parse_args.
61229         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
61230         (MINUS_ZERO_INIT): Rename macro to minus_zero.
61231         (PLUS_INFTY_INIT): Rename macro to plus_infty.
61232         (MINUS_INFTY_INIT): Rename macro to minus_infty.
61233         (QNAN_VALUE_INIT): Rename macro to qnan_value.
61234         (MAX_VALUE_INIT): Rename macro to max_value.
61235         (MIN_VALUE_INIT): Rename macro to min_value.
61236         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
61237         (plus_zero): Remove variable.
61238         (minus_zero): Likewise.
61239         (plus_infty): Likewise.
61240         (minus_infty): Likewise.
61241         (qnan_value): Likewise.
61242         (max_value): Likewise.
61243         (min_value): Likewise.
61244         (min_subnorm_value): Likewise.
61246 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61248         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
61249         uint64_t or uint32_t usage.
61250         * crypt/sha256-block.c: Likewise.
61251         * crypt/sha256-crypt.c: Likewise.
61252         * crypt/sha256.c: Likewise.
61253         * crypt/sha512-block.c: Likewise.
61254         * crypt/sha512-crypt.c: Likewise.
61255         * crypt/sha512.c: Likewise.
61256         * debug/backtrace-tst.c: Likewise.
61257         * debug/pcprofiledump.c: Likewise.
61258         * elf/cache.c: Likewise.
61259         * elf/dl-cache.c: Likewise.
61260         * elf/dl-misc.c: Likewise.
61261         * elf/dl-profile.c: Likewise.
61262         * elf/dl-support.c: Likewise.
61263         * elf/ldconfig.c: Likewise.
61264         * elf/sprof.c: Likewise.
61265         * iconv/dummy-repertoire.c: Likewise.
61266         * iconv/iconv_charmap.c: Likewise.
61267         * iconv/skeleton.c: Likewise.
61268         * iconvdata/8bit-generic.c: Likewise.
61269         * iconvdata/cp737.h: Likewise.
61270         * iconvdata/cp775.h: Likewise.
61271         * iconvdata/ibm1008.h: Likewise.
61272         * iconvdata/ibm1025.h: Likewise.
61273         * iconvdata/ibm1046.h: Likewise.
61274         * iconvdata/ibm1097.h: Likewise.
61275         * iconvdata/ibm1112.h: Likewise.
61276         * iconvdata/ibm1122.h: Likewise.
61277         * iconvdata/ibm1123.h: Likewise.
61278         * iconvdata/ibm1124.h: Likewise.
61279         * iconvdata/ibm1129.h: Likewise.
61280         * iconvdata/ibm1130.h: Likewise.
61281         * iconvdata/ibm1132.h: Likewise.
61282         * iconvdata/ibm1133.h: Likewise.
61283         * iconvdata/ibm1137.h: Likewise.
61284         * iconvdata/ibm1140.h: Likewise.
61285         * iconvdata/ibm1141.h: Likewise.
61286         * iconvdata/ibm1142.h: Likewise.
61287         * iconvdata/ibm1143.h: Likewise.
61288         * iconvdata/ibm1144.h: Likewise.
61289         * iconvdata/ibm1145.h: Likewise.
61290         * iconvdata/ibm1146.h: Likewise.
61291         * iconvdata/ibm1147.h: Likewise.
61292         * iconvdata/ibm1148.h: Likewise.
61293         * iconvdata/ibm1149.h: Likewise.
61294         * iconvdata/ibm1153.h: Likewise.
61295         * iconvdata/ibm1154.h: Likewise.
61296         * iconvdata/ibm1155.h: Likewise.
61297         * iconvdata/ibm1156.h: Likewise.
61298         * iconvdata/ibm1157.h: Likewise.
61299         * iconvdata/ibm1158.h: Likewise.
61300         * iconvdata/ibm1160.h: Likewise.
61301         * iconvdata/ibm1161.h: Likewise.
61302         * iconvdata/ibm1162.h: Likewise.
61303         * iconvdata/ibm1163.h: Likewise.
61304         * iconvdata/ibm1164.h: Likewise.
61305         * iconvdata/ibm1166.h: Likewise.
61306         * iconvdata/ibm1167.h: Likewise.
61307         * iconvdata/ibm12712.h: Likewise.
61308         * iconvdata/ibm1390.h: Likewise.
61309         * iconvdata/ibm1399.h: Likewise.
61310         * iconvdata/ibm16804.h: Likewise.
61311         * iconvdata/ibm4517.h: Likewise.
61312         * iconvdata/ibm4899.h: Likewise.
61313         * iconvdata/ibm4909.h: Likewise.
61314         * iconvdata/ibm4971.h: Likewise.
61315         * iconvdata/ibm5347.h: Likewise.
61316         * iconvdata/ibm803.h: Likewise.
61317         * iconvdata/ibm856.h: Likewise.
61318         * iconvdata/ibm901.h: Likewise.
61319         * iconvdata/ibm902.h: Likewise.
61320         * iconvdata/ibm9030.h: Likewise.
61321         * iconvdata/ibm9066.h: Likewise.
61322         * iconvdata/ibm921.h: Likewise.
61323         * iconvdata/ibm922.h: Likewise.
61324         * iconvdata/ibm9448.h: Likewise.
61325         * iconvdata/isiri-3342.h: Likewise.
61326         * iconvdata/jis0201.h: Likewise.
61327         * include/link.h: Likewise.
61328         * include/netdb.h: Likewise.
61329         * inet/check_native.c: Likewise.
61330         * inet/check_pf.c: Likewise.
61331         * inet/getipv4sourcefilter.c: Likewise.
61332         * inet/getnameinfo.c: Likewise.
61333         * inet/getsourcefilter.c: Likewise.
61334         * inet/htonl.c: Likewise.
61335         * inet/setipv4sourcefilter.c: Likewise.
61336         * inet/setsourcefilter.c: Likewise.
61337         * inet/test-inet6_opt.c: Likewise.
61338         * inet/tst-network.c: Likewise.
61339         * locale/C-collate.c: Likewise.
61340         * locale/C-ctype.c: Likewise.
61341         * locale/C-time.c: Likewise.
61342         * locale/C-translit.h: Likewise.
61343         * locale/loadarchive.c: Likewise.
61344         * locale/programs/3level.h: Likewise.
61345         * locale/programs/charmap.c: Likewise.
61346         * locale/programs/charmap.h: Likewise.
61347         * locale/programs/ld-address.c: Likewise.
61348         * locale/programs/ld-collate.c: Likewise.
61349         * locale/programs/ld-ctype.c: Likewise.
61350         * locale/programs/ld-identification.c: Likewise.
61351         * locale/programs/ld-measurement.c: Likewise.
61352         * locale/programs/ld-messages.c: Likewise.
61353         * locale/programs/ld-monetary.c: Likewise.
61354         * locale/programs/ld-name.c: Likewise.
61355         * locale/programs/ld-numeric.c: Likewise.
61356         * locale/programs/ld-paper.c: Likewise.
61357         * locale/programs/ld-telephone.c: Likewise.
61358         * locale/programs/ld-time.c: Likewise.
61359         * locale/programs/linereader.c: Likewise.
61360         * locale/programs/locale.c: Likewise.
61361         * locale/programs/locarchive.c: Likewise.
61362         * locale/programs/locfile.h: Likewise.
61363         * locale/programs/repertoire.c: Likewise.
61364         * locale/programs/simple-hash.c: Likewise.
61365         * locale/programs/simple-hash.h: Likewise.
61366         * malloc/memusage.c: Likewise.
61367         * malloc/memusagestat.c: Likewise.
61368         * nis/nis_defaults.c: Likewise.
61369         * nis/nis_hash.c: Likewise.
61370         * nis/nis_print.c: Likewise.
61371         * nis/nis_xdr.c: Likewise.
61372         * nscd/connections.c: Likewise.
61373         * nscd/hstcache.c: Likewise.
61374         * nscd/nscd_gethst_r.c: Likewise.
61375         * nscd/nscd_getserv_r.c: Likewise.
61376         * nscd/nscd_helper.c: Likewise.
61377         * nscd/servicescache.c: Likewise.
61378         * nss/makedb.c: Likewise.
61379         * nss/nss_db/db-XXX.c: Likewise.
61380         * nss/nss_db/db-initgroups.c: Likewise.
61381         * nss/nss_db/db-netgrp.c: Likewise.
61382         * nss/nss_files/files-network.c: Likewise.
61383         * nss/nss_files/files-parse.c: Likewise.
61384         * posix/bug-regex5.c: Likewise.
61385         * posix/fnmatch_loop.c: Likewise.
61386         * posix/regcomp.c: Likewise.
61387         * posix/regexec.c: Likewise.
61388         * posix/tst-rfc3484-2.c: Likewise.
61389         * posix/tst-rfc3484-3.c: Likewise.
61390         * posix/tst-rfc3484.c: Likewise.
61391         * resolv/nss_dns/dns-canon.c: Likewise.
61392         * resolv/nss_dns/dns-network.c: Likewise.
61393         * resolv/res_init.c: Likewise.
61394         * resolv/res_mkquery.c: Likewise.
61395         * resolv/tst-aton.c: Likewise.
61396         * stdlib/cxa_atexit.c: Likewise.
61397         * stdlib/cxa_finalize.c: Likewise.
61398         * stdlib/gen-fpioconst.c: Likewise.
61399         * stdlib/strtol_l.c: Likewise.
61400         * string/tst-endian.c: Likewise.
61401         * sunrpc/auth_des.c: Likewise.
61402         * sunrpc/clnt_udp.c: Likewise.
61403         * sunrpc/rtime.c: Likewise.
61404         * sunrpc/svcauth_des.c: Likewise.
61405         * sunrpc/xdr.c: Likewise.
61406         * sunrpc/xdr_intXX_t.c: Likewise.
61407         * sunrpc/xdr_rec.c: Likewise.
61408         * sysdeps/generic/ldconfig.h: Likewise.
61409         * sysdeps/generic/ldsodefs.h: Likewise.
61410         * sysdeps/generic/memusage.h: Likewise.
61411         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61412         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61413         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61414         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61415         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61416         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61417         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61418         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61419         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61420         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61421         * sysdeps/posix/getaddrinfo.c: Likewise.
61422         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61423         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61424         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61425         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61426         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61427         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61428         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61429         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61430         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61431         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61432         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61433         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61434         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61435         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61436         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61437         * sysdeps/x86_64/dl-tls.h: Likewise.
61438         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61439         * time/alt_digit.c: Likewise.
61440         * time/era.c: Likewise.
61441         * wcsmbs/tst-c16c32-1.c: Likewise.
61443 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61445         * math/libm-test.inc (struct test_sincos_data): New type.
61446         (RUN_TEST_LOOP_sincos): New macro.
61447         (sincos_test_data): New variable.
61448         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61450 2013-05-16  Richard Henderson  <rth@redhat.com>
61452         * math/atest-exp2.c (LIMB64): New macro.
61453         (CONSTSZ): New macro.
61454         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61455         (hexdig): Move ...
61456         (print_mpn_fp): ... to function scope.
61457         (read_mpn_hex): Remove.
61458         (get_log2): Remove.
61459         (exp2_mpn): Use mp_log2.
61460         (main): Use mp_exp1.
61462 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61464         * math/libm-test.inc: Remove comment about not testing "inexact"
61465         exceptions.
61466         (INEXACT_EXCEPTION): New macro.
61467         (NO_INEXACT_EXCEPTION): Likewise.
61468         (INVALID_EXCEPTION_OK): Update value.
61469         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61470         (OVERFLOW_EXCEPTION_OK): Likewise.
61471         (UNDERFLOW_EXCEPTION_OK): Likewise.
61472         (IGNORE_ZERO_INF_SIGN): Likewise.
61473         (ERRNO_UNCHANGED): Likewise.
61474         (ERRNO_EDOM): Likewise.
61475         (ERRNO_ERANGE): Likewise.
61476         (test_exceptions): Handle testing "inexact" exceptions.
61477         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61478         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61479         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61480         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61481         INEXACT_EXCEPTION.
61482         (rint_towardzero_test_data): Likewise.
61483         (rint_downward_test_data): Likewise.
61484         (rint_upward_test_data): Likewise.
61486         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61487         with OVERFLOW_EXCEPTION.
61488         (exp10_test_data): Likewise.
61489         (exp2_test_data): Likewise.
61490         (expm1_test_data): Likewise.
61491         (lgamma_test_data): Likewise.
61492         (pow_test_data): Likewise.
61493         (tgamma_test_data): Likewise.
61494         (yn_test_data): Remove duplicate test of overflow.
61496         * math/libm-test.inc (struct test_cc_c_data): New type.
61497         (RUN_TEST_LOOP_cc_c): New macro.
61498         (cpow_test_data): New variable.
61499         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61501         * math/libm-test.inc (struct test_f_L_data): New type.
61502         (RUN_TEST_LOOP_f_L): New macro.
61503         (llrint_test_data): New variable.
61504         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61505         (llrint_tonearest_test_data): New variable.
61506         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61507         (llrint_towardzero_test_data): New variable.
61508         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61509         (llrint_downward_test_data): New variable.
61510         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61511         (llrint_upward_test_data): New variable.
61512         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61513         (llround_test_data): New variable.
61514         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61516 2013-05-13  Peter Collingbourne  <pcc@google.com>
61518         * math/atest-exp2.c (get_log2): Remove const attribute.
61520 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61522         * math/libm-test.inc (struct test_f_l_data): New type.
61523         (RUN_TEST_LOOP_f_l): New macro.
61524         (lrint_test_data): New variable.
61525         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61526         (lrint_tonearest_test_data): New variable.
61527         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61528         (lrint_towardzero_test_data): New variable.
61529         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61530         (lrint_downward_test_data): New variable.
61531         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61532         (lrint_upward_test_data): New variable.
61533         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61534         (lround_test_data): New variable.
61535         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61537 2013-05-15  Peter Collingbourne  <pcc@google.com>
61539         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61540         (EXTRACT_WORDS64) Use where appropriate.
61541         (INSERT_WORDS64) Likewise.
61543         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61544         constraints with x constraints.
61545         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61547         * malloc/obstack.c (_obstack_compat): Add initializer.
61549 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61551         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61552         si_trapno and add si_addr_lsb to _sifields.sigfault.
61553         (si_trapno): Remove macro.
61554         (si_addr_lsb): Define new macro.
61555         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61557 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61559         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61560         instead of TEST_f_l.
61561         (llrint_test_tonearest): Likewise.
61562         (llrint_test_towardzero): Likewise.
61563         (llrint_test_downward): Likewise.
61564         (llrint_test_upward): Likewise.
61565         (llround_test): Likewise.
61567         * math/libm-test.inc (struct test_f_i_data): Add comment.
61568         (RUN_TEST_LOOP_f_b): New macro.
61569         (RUN_TEST_LOOP_f_b_tg): Likewise.
61570         (finite_test_data): New variable.
61571         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61572         (isfinite_test_data): New variable.
61573         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61574         (isinf_test_data): New variable.
61575         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61576         (isnan_test_data): New variable.
61577         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61578         (isnormal_test_data): New variable.
61579         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61580         (issignaling_test_data): New variable.
61581         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61582         (signbit_test_data): New variable.
61583         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61585         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61586         with INVALID_EXCEPTION.
61587         (acosh_test_data): Likewise.
61588         (asin_test_data): Likewise.
61589         (atanh_test_data): Likewise.
61590         (fmod_test_data): Likewise.
61591         (log_test_data): Likewise.
61592         (log10_test_data): Likewise.
61593         (log2_test_data): Likewise.
61594         (pow_test_data): Likewise.
61595         (sqrt_test_data): Likewise.
61596         (y0_test_data): Likewise.
61597         (y1_test_data): Likewise.
61598         (yn_test_data): Likewise.
61600         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61601         function contents.
61603         * math/libm-test.inc (struct test_ff_i_data): New type.
61604         (RUN_TEST_LOOP_ff_i_tg): New macro.
61605         (isgreater_test_data): New variable.
61606         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61607         (isgreaterequal_test_data): New variable.
61608         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61609         (isless_test_data): New variable.
61610         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61611         (islessequal_test_data): New variable.
61612         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61613         (islessgreater_test_data): New variable.
61614         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61615         (isunordered_test_data): New variable.
61616         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61618 2013-05-14  David S. Miller  <davem@davemloft.net>
61620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61622 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61624         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61626         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61627         extra_test to int.
61628         (struct test_f_i_data): Change type of max_ulp to int.
61630         * math/libm-test.inc (test_ffI_f1_data): New type.
61631         (RUN_TEST_LOOP_ffI_f1): New macro.
61632         (remquo_test_data): New variable.
61633         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61635         * setjmp/tst-setjmp-fp.c: New file.
61636         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61637         (link-libm): New variable.
61638         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61640         * math/libm-test.inc (struct test_f_i_data): New type.
61641         (RUN_TEST_LOOP_f_i): New macro.
61642         (RUN_TEST_LOOP_f_i_tg): Likewise.
61643         (fpclassify_test_data): New variable.
61644         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61645         (ilogb_test_data): New variable.
61646         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61648         * math/libm-test.inc (scalbln_test): Correct function name in END
61649         call.
61651         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61652         (RUN_TEST_LOOP_fI_f1): New macro.
61653         (frexp_test_data): New variable.
61654         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61656         * math/libm-test.inc (struct test_fF_f1_data): New type.
61657         (RUN_TEST_LOOP_fF_f1): New macro.
61658         (modf_test_data): New variable.
61659         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61661         * math/libm-test.inc (struct test_f_f1_data): New type.
61662         (RUN_TEST_LOOP_f_f1): New macro.
61663         (gamma_test_data): New variable.
61664         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61665         (lgamma_test_data): New variable.
61666         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61668 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61670         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61671         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61672         (main): Comment "tls" pseudo-hwcap.
61674 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61676         * math/libm-test.inc (struct test_fl_f_data): New type.
61677         (RUN_TEST_LOOP_fl_f): New variable.
61678         (scalbln_test_data): New variable.
61679         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61681         * math/libm-test.inc (struct test_fi_f_data): New type.
61682         (RUN_TEST_LOOP_fi_f): New macro.
61683         (ldexp_test_data): New variable.
61684         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61685         (scalbn_test_data): New variable.
61686         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61688         * math/libm-test.inc (struct test_c_f_data): New type.
61689         (RUN_TEST_LOOP_c_f): New macro.
61690         (cabs_test_data): New variable.
61691         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61692         (carg_test_data): New variable.
61693         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61694         (cimag_test_data): New variable.
61695         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61696         (creal_test_data): New variable.
61697         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61699         * math/libm-test.inc (struct test_if_f_data): New type.
61700         (RUN_TEST_LOOP_if_f): New macro.
61701         (jn_test_data): New variable.
61702         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61703         (yn_test_data): New variable.
61704         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61706         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61708 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61710         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61711         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61713 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61715         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61716         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61717         (bench-deps): Add bench-timing.h.
61718         * benchtests-bench-skeleton.c: Include bench-timing.h.
61719         (main): Use TIMING_* macros instead of clock_gettime.
61720         * benchtests/bench-timing.h: New file.
61722         [BZ #14582]
61723         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61724         Renamed from _LIB_VERSION.
61725         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61727 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61729         * math/libm-test.inc (struct test_fff_f_data): New type.
61730         (RUN_TEST_LOOP_fff_f): New macro.
61731         (fma_test_data): New variable.
61732         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61733         (fma_towardzero_test_data): New variable.
61734         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61735         (fma_downward_test_data): New variable.
61736         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61737         (fma_upward_test_data): New variable.
61738         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61740         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61741         (struct test_c_c_data): New type.
61742         (RUN_TEST_LOOP_c_c): New macro.
61743         (cacos_test_data): New variable.
61744         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61745         (cacosh_test_data): New variable.
61746         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61747         (casin_test_data): New variable.
61748         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61749         (casinh_test_data): New variable.
61750         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61751         (catan_test_data): New variable.
61752         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61753         (catanh_test_data): New variable.
61754         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61755         (ccos_test_data): New variable.
61756         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61757         (ccosh_test_data): New variable.
61758         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61759         (cexp_test_data): New variable.
61760         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61761         (clog_test_data): New variable.
61762         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61763         (clog10_test_data): New variable.
61764         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61765         (conj_test_data): New variable.
61766         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61767         (cproj_test_data): New variable.
61768         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61769         (csin_test_data): New variable.
61770         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61771         (csinh_test_data): New variable.
61772         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61773         (csqrt_test_data): New variable.
61774         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61775         (ctan_test_data): New variable.
61776         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61777         (ctan_tonearest_test_data): New variable.
61778         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61779         (ctan_towardzero_test_data): New variable.
61780         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61781         (ctan_downward_test_data): New variable.
61782         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61783         (ctan_upward_test_data): New variable.
61784         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61785         (ctanh_test_data): New variable.
61786         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61787         (ctanh_tonearest_test_data): New variable.
61788         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61789         (ctanh_towardzero_test_data): New variable.
61790         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61791         (ctanh_downward_test_data): New variable.
61792         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61793         (ctanh_upward_test_data): New variable.
61794         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61795         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61796         of BUILD_COMPLEX.
61798         * math/libm-test.inc (struct test_ff_f_data): New type.
61799         (struct test_ff_f_data_nexttoward): Likewise.
61800         (RUN_TEST_LOOP_2_f): New macro.
61801         (RUN_TEST_LOOP_ff_f): Likewise.
61802         (atan2_test_data): New variable.
61803         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61804         (copysign_test_data): New variable.
61805         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61806         (fdim_test_data): New variable.
61807         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61808         (fmax_test_data): New variable.
61809         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61810         (fmin_test_data): New variable.
61811         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61812         (fmod_test_data): New variable.
61813         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61814         (hypot_test_data): New variable.
61815         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61816         (nextafter_test_data): New variable.
61817         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61818         (nexttoward_test_data): New variable.
61819         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61820         (pow_test_data): New variable.
61821         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61822         (pow_tonearest_test_data): New variable.
61823         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61824         (pow_towardzero_test_data): New variable.
61825         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61826         (pow_downward_test_data): New variable.
61827         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61828         (pow_upward_test_data): New variable.
61829         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61830         (remainder_test_data): New variable.
61831         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61832         (scalb_test_data): New variable.
61833         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61834         * sysdeps/i386/fpu/libm-test-ulps: Update.
61836 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61838         * math/libm-test.inc (fma_test): Use max_value instead of local
61839         variable fltmax.
61840         (nextafter_test): Likewise.
61842         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61843         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61844         (acos_downward_test_data): New variable.
61845         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61846         (acos_upward_test_data): New variable.
61847         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61848         (acosh_test_data): New variable.
61849         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61850         (asin_test_data): New variable.
61851         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61852         (asin_tonearest_test_data): New variable.
61853         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61854         (asin_towardzero_test_data): New variable.
61855         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61856         (asin_downward_test_data): New variable.
61857         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61858         (asin_upward_test_data): New variable.
61859         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61860         (asinh_test_data): New variable.
61861         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61862         (atan_test_data): New variable.
61863         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61864         (atanh_test_data): New variable.
61865         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61866         (cbrt_test_data): New variable.
61867         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61868         (ceil_test_data): New variable.
61869         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61870         (cos_test_data): New variable.
61871         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61872         (cos_tonearest_test_data): New variable.
61873         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61874         (cos_towardzero_test_data): New variable.
61875         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61876         (cos_downward_test_data): New variable.
61877         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61878         (cos_upward_test_data): New variable.
61879         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61880         (cosh_test_data): New variable.
61881         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61882         (cosh_tonearest_test_data): New variable.
61883         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61884         (cosh_towardzero_test_data): New variable.
61885         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61886         (cosh_downward_test_data): New variable.
61887         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61888         (cosh_upward_test_data): New variable.
61889         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61890         (erf_test_data): New variable.
61891         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61892         (erfc_test_data): New variable.
61893         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61894         (exp_test_data): New variable.
61895         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61896         (exp_tonearest_test_data): New variable.
61897         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61898         (exp_towardzero_test_data): New variable.
61899         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61900         (exp_downward_test_data): New variable.
61901         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61902         (exp_upward_test_data): New variable.
61903         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61904         (exp10_test_data): New variable.
61905         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61906         (exp2_test_data): New variable.
61907         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61908         (expm1_test_data): New variable.
61909         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61910         (fabs_test_data): New variable.
61911         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61912         (floor_test_data): New variable.
61913         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61914         (j0_test_data): New variable.
61915         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61916         (j1_test_data): New variable.
61917         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61918         (log_test_data): New variable.
61919         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61920         (log10_test_data): New variable.
61921         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61922         (log1p_test_data): New variable.
61923         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61924         (log2_test_data): New variable.
61925         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61926         (logb_test_data): New variable.
61927         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61928         (logb_downward_test_data): New variable.
61929         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61930         (nearbyint_test_data): New variable.
61931         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61932         (rint_test_data): New variable.
61933         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61934         (rint_tonearest_test_data): New variable.
61935         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61936         (rint_towardzero_test_data): New variable.
61937         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61938         (rint_downward_test_data): New variable.
61939         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61940         (rint_upward_test_data): New variable.
61941         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61942         (round_test_data): New variable.
61943         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61944         (sin_test_data): New variable.
61945         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61946         (sin_tonearest_test_data): New variable.
61947         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61948         (sin_towardzero_test_data): New variable.
61949         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61950         (sin_downward_test_data): New variable.
61951         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61952         (sin_upward_test_data): New variable.
61953         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61954         (sinh_test_data): New variable.
61955         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61956         (sinh_tonearest_test_data): New variable.
61957         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61958         (sinh_towardzero_test_data): New variable.
61959         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61960         (sinh_downward_test_data): New variable.
61961         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61962         (sinh_upward_test_data): New variable.
61963         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61964         (sqrt_test_data): New variable.
61965         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61966         (tan_test_data): New variable.
61967         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61968         (tan_tonearest_test_data): New variable.
61969         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61970         (tan_towardzero_test_data): New variable.
61971         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61972         (tan_downward_test_data): New variable.
61973         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61974         (tan_upward_test_data): New variable.
61975         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61976         (tanh_test_data): New variable.
61977         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61978         (tgamma_test_data): New variable.
61979         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61980         (trunc_test_data): New variable.
61981         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61982         (y0_test_data): New variable.
61983         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61984         (y1_test_data): New variable.
61985         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61986         (significand_test_data): New variable.
61987         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61989 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61991         [BZ #12387]
61992         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61994 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61996         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61998 2013-05-10  Andreas Jaeger  <aj@suse.de>
62000         [BZ #15448]
62001         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
62002         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
62004 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62006         * math/gen-libm-test.pl (adjust_arg): New function.
62007         (special_functions): Handle generating output in both functions
62008         and arrays.
62009         (parse_args): Likewise.
62010         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
62011         $in_func argument to parse_args.
62012         * math/libm-test.inc (struct test_f_f_data): New type.
62013         (IF_ROUND_INIT_): New macro.
62014         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
62015         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62016         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62017         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62018         (ROUND_RESTORE_): Likewise.
62019         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
62020         (ROUND_RESTORE_FE_TONEAREST): Likewise.
62021         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
62022         (ROUND_RESTORE_FE_UPWARD): Likewise.
62023         (RUN_TEST_LOOP_f_f): New macro.
62024         (acos_test_data): New variable.
62025         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
62026         (acos_tonearest_test_data): New variable.
62027         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62029 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62031         * benchtests/bench-skeleton.c (startup): Fix coding style.
62033 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62035         [BZ #6809]
62036         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
62037         negative infinity argument.
62038         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
62039         negative infinity argument.
62040         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
62041         negative infinity argument.
62042         * math/libm-test.inc (tgamma_test): Expect errno to be set for
62043         domain errors.
62045 2013-05-10  Florian Weimer  <fweimer@redhat.com>
62047         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
62048         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
62049         * iconv/iconv_prog.c (main): Likewise.
62050         * locale/programs/charmap-dir.c (charmap_readdir)
62051         (fopen_uncompressed): Likewise.
62052         * locale/programs/locfile.c (siblings_uncached)
62053         (write_locale_data): Use lstat64 instead of lstat.
62054         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
62055         stat.
62057 2013-05-10  Andreas Jaeger  <aj@suse.de>
62059         [BZ #15395]
62060         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
62061         localization.
62062         Include <locale.h>.
62064 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
62066         * elf/dl-close.c (_dl_close_worker): Add comments.
62068 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
62070         [BZ #15359]
62071         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
62072         high part of pi/2.
62073         (__ieee754_rem_pio2l): Update comments.
62075         [BZ #15429]
62076         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
62077         high part of pi/2.
62078         (__ieee754_rem_pio2l): Update comments.
62080         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
62081         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
62083         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
62084         M_PI_4l.
62086         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
62087         (M_PI_34_LOG10El): Likewise.
62088         (M_PI2_LOG10El): Likewise.
62089         (M_PI4_LOG10El): Likewise.
62090         (M_PI_LOG10El): Likewise.
62092 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62096 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
62098         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
62099         (MINUS_ZERO_INIT): Likewise.
62100         (PLUS_INFTY_INIT): Likewise.
62101         (MINUS_INFTY_INIT): Likewise.
62102         (QNAN_VALUE_INIT): Likewise.
62103         (MAX_VALUE_INIT): Likewise.
62104         (MIN_VALUE_INIT): Likewise.
62105         (MIN_SUBNORM_VALUE_INIT): Likewise.
62106         (plus_zero): Initialize with PLUS_ZERO_INIT.
62107         (minus_zero): Initialize with MINUS_ZERO_INIT.
62108         (plus_infty): Initialize with PLUS_INFTY_INIT.
62109         (minus_infty): Initialize with MINUS_INFTY_INIT.
62110         (qnan_value): Initialize with QNAN_VALUE_INIT.
62111         (max_value): Initialize with MAX_VALUE_INIT.
62112         (min_value): Initialize with MIN_VALUE_INIT.
62113         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
62115         * math/libm-test.inc (RUN_TEST_if_f): New macro.
62116         (jn_test): Use TEST_if_f instead of TEST_ff_f.
62117         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
62118         (yn_test): Use TEST_if_f instead of TEST_ff_f.
62120         * math/libm-test.inc (RUN_TEST_f_f): New macro.
62121         (RUN_TEST_2_f): Likewise.
62122         (RUN_TEST_ff_f): Likewise.
62123         (RUN_TEST_fi_f): Likewise.
62124         (RUN_TEST_fl_f): Likewise.
62125         (RUN_TEST_fff_f): Likewise.
62126         (RUN_TEST_c_f): Likewise.
62127         (RUN_TEST_f_f1): Likewise.
62128         (RUN_TEST_fF_f1): Likewise.
62129         (RUN_TEST_fI_f1): Likewise.
62130         (RUN_TEST_ffI_f1): Likewise.
62131         (RUN_TEST_c_c): Likewise.
62132         (RUN_TEST_cc_c): Likewise.
62133         (RUN_TEST_f_i): Likewise.
62134         (RUN_TEST_f_i_tg): Likewise.
62135         (RUN_TEST_ff_i_tg): Likewise.
62136         (RUN_TEST_f_b): Likewise.
62137         (RUN_TEST_f_b_tg): Likewise.
62138         (RUN_TEST_f_l): Likewise.
62139         (RUN_TEST_f_L): Likewise.
62140         (RUN_TEST_sincos): Likewise.
62141         * math/gen-libm-test.pl (new_test): Take new argument to indicate
62142         whether to show exceptions.  Do not include ");\n" in return
62143         value.
62144         (special_functions): Output call to RUN_TEST_sincos instead of
62145         check_float calls.  Update calls to new_test.
62146         (parse_args): Output call to single RUN_TEST_* macro instead of
62147         check_* calls and other assignments.  Update calls to new_test.
62149         [BZ #2546]
62150         [BZ #2560]
62151         [BZ #5159]
62152         [BZ #15426]
62153         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
62154         input to result for tgamma overflow.
62155         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
62156         (gamma_coeff): New variable.
62157         (NCOEFF): New macro.
62158         (gamma_positive): New function.
62159         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
62160         underflow here.  Use gamma_positive instead of exp (lgamma) for
62161         other arguments.
62162         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
62163         (gamma_coeff): New variable.
62164         (NCOEFF): New macro.
62165         (gammaf_positive): New function.
62166         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
62167         underflow here.  Use gamma_positive instead of exp (lgamma) for
62168         other arguments.
62169         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
62170         (gamma_coeff): New variable.
62171         (NCOEFF): New macro.
62172         (gammal_positive): New function.
62173         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
62174         underflow here.  Use gamma_positive instead of exp (lgamma) for
62175         other arguments.
62176         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
62177         (gamma_coeff): New variable.
62178         (NCOEFF): New macro.
62179         (gammal_positive): New function.
62180         (__ieee754_gammal_r): Handle positive infinity, overflow and
62181         underflow here.  Handle NaN the same as positive infinity.  Remove
62182         check x < 0xffffffff for negative integers.  Use gamma_positive
62183         instead of exp (lgamma) for other arguments.
62184         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
62185         (gamma_coeff): New variable.
62186         (NCOEFF): New macro.
62187         (gammal_positive): New function.
62188         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
62189         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
62190         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
62191         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
62192         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
62193         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
62194         * sysdeps/generic/math_private.h (__gamma_productf): New
62195         prototype.
62196         (__gamma_product): Likewise.
62197         (__gamma_productl): Likewise.
62198         * math/Makefile (libm-calls): Add gamma_product.
62199         * math/libm-test.inc (tgamma_test): Add more tests.
62200         * sysdeps/i386/fpu/libm-test-ulps: Update.
62201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62203 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
62205         * benchtests/bench-skeleton.c (main): Preheat CPU.
62207 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
62209         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
62211 2013-05-07  Roland McGrath  <roland@hack.frob.com>
62213         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
62214         and _dl_skip_args_internal.
62216 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
62218         * manual/message.texi (Message Translation): Talk about users.
62219         Message to key mapping impacts design.
62221 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62223         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
62225         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
62227         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
62228         * sysdeps/wordsize-64/glob64.c: ... here.
62230         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
62231         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
62232         New macros.
62234         * debug/getlogin_r_chk.c: Moved to ...
62235         * login/getlogin_r_chk.c: ... here.
62236         * debug/Makefile (routines): Move getlogin_r_chk to ...
62237         * login/Makefile (routines): ... here.
62238         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
62239         * login/Versions (libc: GLIBC_2.4): ... here.
62241         * io/poll.c (__poll): Renamed from poll.
62242         Add libc_hidden_def.
62243         (poll): Define as weak alias.
62245         * debug/ptsname_r_chk.c: Moved to ...
62246         * login/ptsname_r_chk.c: ... here.
62247         * debug/Makefile (routines): Move ptsname_r_chk to ...
62248         * login/Makefile (routines): ... here.
62249         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
62250         * login/Versions (libc: GLIBC_2.4): ... here.
62252         * posix/getlogin.c: Moved to ...
62253         * login/getlogin.c: ... here.
62254         * posix/getlogin_r.c: Moved to ...
62255         * login/getlogin_r.c: ... here.
62256         * posix/getlogin_r.c: Moved to ...
62257         * login/getlogin_r.c: ... here.
62258         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
62259         * login/Makefile (routines): ... here.
62260         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
62261         * login/Versions (libc: GLIBC_2.0): ... here.
62263         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
62264         (setrlimit): Define as weak alias.
62266         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
62267         Call __ names for open, ftruncate, and close.
62268         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
62269         (truncate): Define as weak alias.
62271 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
62273         * math/gen-libm-test.pl (parse_args): Initialize x before each
62274         test of frexp, modf and remquo.
62276         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
62277         test signgam value.
62279 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62281         [BZ #15418]
62282         [BZ #15419]
62283         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
62284         internal tests.
62285         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62287 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62289         * elf/dl-writev.h: New file.
62290         * elf/dl-misc.c: Include it.
62291         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
62292         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62294 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62296         * math/libm-test.inc (noXFails): Remove variable.
62297         (noXPasses): Likewise.
62298         (BUILD_COMPLEX_INT): Remove macro.
62299         (print_screen): Remove xfail argument.
62300         (print_screen_max_error): Likewise.
62301         (update_stats): Likewise.
62302         (print_max_error): Likewise.  Update calls to other affected
62303         functions.
62304         (print_complex_max_error): Likewise.
62305         (test_single_exception): Update calls to print_screen.
62306         (test_single_errno): Likewise.
62307         (check_float_internal): Remove xfail argument.  Update calls to
62308         other affected functions.
62309         (check_float): Likewise.
62310         (check_complex): Likewise.
62311         (check_int): Likewise.
62312         (check_long): Likewise.
62313         (check_bool): Likewise.
62314         (check_longlong): Likewise.
62315         (main): Don't print noXFails and noXPasses.
62316         * math/gen-libm-test.pl (top level): Don't mention expected
62317         failure handling in comment.
62318         (new_test): Don't handle expected failures.
62319         (parse_args): Don't mention expected failure handling in comment.
62320         (generate_testfile): Don't handle expected failures.
62321         (parse_ulps): Likewise.
62322         (print_ulps_file): Likewise.
62323         (get_failure): Remove function.
62324         (output_test): Don't handle expected failures.
62325         * make/README.libm-test: Don't mention expected failure handling.
62327         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62328         (minus_zero): Likewise.
62329         (plus_infty): Likewise.
62330         (minus_infty): Likewise.
62331         (qnan_value): Likewise.
62332         (max_value): Likewise.
62333         (min_value): Likewise.
62334         (min_subnorm_value): Likewise.
62335         (initialize): Do not initialize those variables dynamically.
62337 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62339         * io/open.c (__open_2): Moved to ...
62340         * io/open_2.c: ... this new file.
62341         * io/open64.c (__open64_2): Moved to ...
62342         * io/open64_2.c: ... this new file.
62343         * io/openat.c (__openat_2): Moved to ...
62344         * io/openat_2.c: ... this new file.
62345         * io/openat64.c (__openat64_2): Moved to ...
62346         * io/openat64_2.c: ... this new file.
62347         * io/Makefile (routines): Add them.
62348         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62349         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62350         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62351         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62352         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62353         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62354         (__openat64): Add hidden_ver.
62355         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62356         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62358         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62359         Separately conditionalize setting of GLRO(dl_sysinfo) so
62360         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62361         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62363 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62365         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62366         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62367         definition.
62368         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62369         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62370         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62371         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62372         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62374 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62376         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62377         test signgam value.
62379         * math/libm-test.inc (hypot_test): Do not use
62380         IGNORE_ZERO_INF_SIGN.
62382 2013-05-03  Andreas Jaeger  <aj@suse.de>
62384         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62385         Linux 3.9.
62386         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62387         (PF_MAX): Adjust for VSOCK change.
62389 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62393 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62395         [BZ #15264]
62396         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62397         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62398         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62400 2013-05-02  David S. Miller  <davem@davemloft.net>
62402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62404 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62406         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62408 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62410         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62412 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62414         [BZ #14952]
62415         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62416         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62417         Use __attribute__ ((__gnu_inline__)).
62418         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62419         Don't use __attribute__ ((__gnu_inline__)).
62421 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62423         [BZ #15423]
62424         * math/s_catan.c (__catan): Handle small real or imaginary part of
62425         input specially to avoid spurious underflow.
62426         * math/s_catanf.c (__catanf): Likewise.
62427         * math/s_catanh.c (__catanh): Likewise.
62428         * math/s_catanhf.c (__catanhf): Likewise.
62429         * math/s_catanhl.c (__catanhl): Likewise.
62430         * math/s_catanl.c (__catanl): Likewise.
62431         * math/libm-test.inc (catan_test): Add more tests.
62432         (catanh_test): Likewise.
62433         * sysdeps/i386/fpu/libm-test-ulps: Update.
62434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62436 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62440 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62442         [BZ #15416]
62443         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62444         accurately for denominator in atan2.
62445         * math/s_catanf.c (__catanf): Likewise.
62446         * math/s_catanh.c (__catanh): Likewise.
62447         * math/s_catanhf.c (__catanhf): Likewise.
62448         * math/s_catanhl.c (__catanhl): Likewise.
62449         * math/s_catanl.c (__catanl): Likewise.
62450         * math/libm-test.inc (catan_test): Add more tests.
62451         (catanh_test): Likewise.
62452         * sysdeps/i386/fpu/libm-test-ulps: Update.
62453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62455 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62457         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62459         * benchtests/Makefile (bench): Remove slow benchmarks.
62460         * benchtests/atan-inputs: Add slow benchmark inputs.
62461         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62462         (BENCH_FUNC): Accept variant offset.
62463         (VARIANT): Define.
62464         * benchtests/bench-skeleton.c (main): Run benchmark for each
62465         variant.
62466         * benchtests/cos-inputs: Add slow benchmark inputs.
62467         * benchtests/exp-inputs: Likewise.
62468         * benchtests/pow-inputs: Likewise.
62469         * benchtests/sin-inputs: Likewise.
62470         * benchtests/slowatan-inputs: Remove.
62471         * benchtests/slowatan.c: Remove.
62472         * benchtests/slowcos-inputs: Remove.
62473         * benchtests/slowcos.c: Remove.
62474         * benchtests/slowexp-inputs: Remove.
62475         * benchtests/slowexp.c: Remove.
62476         * benchtests/slowpow-inputs: Remove.
62477         * benchtests/slowpow.c: Remove.
62478         * benchtests/slowsin-inputs: Remove.
62479         * benchtests/slowsin.c: Remove.
62480         * benchtests/slowtan-inputs: Remove.
62481         * benchtests/slowtan.c: Remove.
62482         * benchtests/tan-inputs: Add slow benchmark inputs.
62483         * scripts/bench.pl: Parse comments and directives.
62485         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62486         in CPPFLAGS.
62487         ($(objpfx)bench-%.c): Remove *-ITER.
62488         * benchtests/bench-modf.c: Remove definition of ITER.
62489         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62490         (main): Loop for DURATION seconds instead of fixed number of
62491         iterations.
62492         * scripts/bench.pl: Don't expect iterations in parameters.
62494 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62496         * io/fchdir.c (__fchdir): Renamed from fchdir.
62497         (fchdir): Define as weak alias.
62499 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62501         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62502         (ERRNO_EDOM): Likewise.
62503         (ERRNO_ERANGE): Likewise.
62504         (noErrnoTests): New variable.
62505         (init_max_error): Set errno to 0.
62506         (test_single_errno): New function.
62507         (test_errno): Likewise.
62508         (check_float_internal): Call test_errno.  Set errno to 0.
62509         (check_complex): Refer to errno tests in comment.
62510         (check_int): Call test_errno.  Set errno to 0.
62511         (check_long): Likewise.
62512         (check_bool): Likewise.
62513         (check_longlong): Likewise.
62514         (cos_test): Use ERRNO_* flags for errno tests instead of
62515         check_int.
62516         (expm1_test): Likewise.
62517         (fmod_test): Likewise.
62518         (ilogb_test): Likewise.
62519         (lgamma_test): Likewise.
62520         (pow_test): Likewise.
62521         (remainder_test): Likewise.
62522         (sin_test): Likewise.
62523         (tan_test): Likewise.
62524         (yn_test): Likewise.
62525         (initialize): Set errno to 0.
62526         (main): Print number of errno tests.
62527         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62529 2013-04-29  Andreas Jaeger  <aj@suse.de>
62531         [BZ #15084]
62532         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62533         and RES_USEVC.
62535         [BZ #15085]
62536         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62537         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62538         unimplemented.
62540         [BZ #15380]
62541         * stdlib/random.c (__initstate): Return NULL if
62542         __initstate fails.
62544         [BZ #15086]
62545         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62546         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62547         RES_SNGLKUPREOP.
62549 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62553 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62555         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62556         of individual tests.
62557         (casin_test): Likewise.
62558         (casinh_test): Likewise.
62560 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62562         [BZ #15409]
62563         * math/s_catan.c (__catan): Handle arguments with large real or
62564         imaginary part separately without squaring.
62565         * math/s_catanf.c (__catanf): Likewise.
62566         * math/s_catanh.c (__catanh): Likewise.
62567         * math/s_catanhf.c (__catanhf): Likewise.
62568         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62569         and redefine.
62570         (__catanhl): Handle arguments with large real or imaginary part
62571         separately without squaring.
62572         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62573         and redefine.
62574         (__catanl): Handle arguments with large real or imaginary part
62575         separately without squaring.
62576         * math/libm-test.inc (catan_test): Add more tests.
62577         (catanh_test): Likewise.
62578         * sysdeps/i386/fpu/libm-test-ulps: Update.
62579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62581 2013-04-27  Andreas Jaeger  <aj@suse.de>
62583         [BZ #15007]
62584         * stdlib/stdlib.h: Update guards for qecvt.
62585         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62586         <stdlib.h>.
62588 2013-04-27  Allan McRae  <allan@archlinux.org>
62590         * sysdeps/i386/fpu/libm-test-ulps: Update.
62592 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62594         [BZ #15406]
62595         * math/s_catan.c: Include <float.h>.
62596         (__catan): Ensure underflow exception occurs for underflowed
62597         result.
62598         * math/s_catanf.c: Include <float.h>.
62599         (__catanf): Ensure underflow exception occurs for underflowed
62600         result.
62601         * math/s_catanh.c: Include <float.h>.
62602         (__catanh): Ensure underflow exception occurs for underflowed
62603         result.
62604         * math/s_catanhf.c: Include <float.h>.
62605         (__catanhf): Ensure underflow exception occurs for underflowed
62606         result.
62607         * math/s_catanhl.c: Include <float.h>.
62608         (__catanhl): Ensure underflow exception occurs for underflowed
62609         result.
62610         * math/s_catanl.c: Include <float.h>.
62611         (__catanl): Ensure underflow exception occurs for underflowed
62612         result.
62613         * math/libm-test.inc (catan_test): Add more tests.
62614         (catanh_test): Likewise.
62616         [BZ #15405]
62617         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62618         underflowed result.
62619         * math/s_ccoshf.c (__ccoshf): Likewise.
62620         * math/s_ccoshl.c (__ccoshl): Likewise.
62621         * math/s_csin.c (__csin): Likewise.
62622         * math/s_csinf.c (__csinf): Likewise.
62623         * math/s_csinh.c (__csinh): Likewise.
62624         * math/s_csinhf.c (__csinhf): Likewise.
62625         * math/s_csinhl.c (__csinhl): Likewise.
62626         * math/s_csinl.c (__csinl): Likewise.
62627         * math/libm-test.inc (ccos_test): Add more tests.
62628         (ccosh_test): Likewise.
62629         (csin_test): Likewise.
62630         (csinh_test): Likewise.
62632 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62634         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62635         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62636         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62637         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62638         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62639         powerpc/power5+/fpu folders.
62640         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62643 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62647 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62649         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62650         additions to variable.
62651         [$(config-machine) = x86_64] (modules-names): Likewise.
62652         ($(objpfx)tst-audit3): Remove dependency.
62653         ($(objpfx)tst-audit3.out): Likewise.
62654         ($(objpfx)tst-audit4): Likewise.
62655         ($(objpfx)tst-audit4.out): Likewise.
62656         ($(objpfx)tst-audit5): Likewise.
62657         ($(objpfx)tst-audit5.out): Likewise.
62658         ($(objpfx)tst-audit6): Likewise.
62659         ($(objpfx)tst-audit6.out): Likewise.
62660         ($(objpfx)tst-audit7): Likewise.
62661         ($(objpfx)tst-audit7.out): Likewise.
62662         (tst-audit3-ENV): Remove variable.
62663         (tst-audit4-ENV): Likewise.
62664         (tst-audit5-ENV): Likewise.
62665         (tst-audit6-ENV): Likewise.
62666         (tst-audit7-ENV): Likewise.
62667         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62668         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62669         addition to variable.
62670         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62671         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62672         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62673         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62674         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62675         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62676         tst-audit3, tst-audit4 and tst-audit5.
62677         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62678         tst-audit6 and tst-audit7.
62679         [$(subdir) = elf] (modules-names): Add audit modules for those
62680         tests.
62681         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62682         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62683         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62684         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62685         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62686         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62687         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62688         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62689         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62690         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62691         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62692         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62693         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62694         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62695         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62696         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62697         Likewise.
62698         [$(subdir) = elf && $(config-cflags-avx) = yes]
62699         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62700         [$(subdir) = elf && $(config-cflags-avx) = yes]
62701         (CFLAGS-tst-auditmod4a.c): Likewise.
62702         [$(subdir) = elf && $(config-cflags-avx) = yes]
62703         (CFLAGS-tst-auditmod4b.c): Likewise.
62704         [$(subdir) = elf && $(config-cflags-avx) = yes]
62705         (CFLAGS-tst-auditmod6b.c): Likewise.
62706         [$(subdir) = elf && $(config-cflags-avx) = yes]
62707         (CFLAGS-tst-auditmod6c.c): Likewise.
62708         [$(subdir) = elf && $(config-cflags-avx) = yes]
62709         (CFLAGS-tst-auditmod7b.c): Likewise.
62710         * elf/tst-audit3.c: Move to ...
62711         * sysdeps/x86_64/tst-audit3.c: ... here.
62712         * elf/tst-audit4.c: Move to ...
62713         * sysdeps/x86_64/tst-audit4.c: ... here.
62714         * elf/tst-audit5.c: Move to ...
62715         * sysdeps/x86_64/tst-audit5.c: ... here.
62716         * elf/tst-audit6.c: Move to ...
62717         * sysdeps/x86_64/tst-audit6.c: ... here.
62718         * elf/tst-audit7.c: Move to ...
62719         * sysdeps/x86_64/tst-audit7.c: ... here.
62720         * elf/tst-auditmod3a.c: Move to ...
62721         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62722         * elf/tst-auditmod3b.c: Move to ...
62723         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62724         * elf/tst-auditmod4a.c: Move to ...
62725         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62726         * elf/tst-auditmod4b.c: Move to ...
62727         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62728         * elf/tst-auditmod5a.c: Move to ...
62729         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62730         * elf/tst-auditmod5b.c: Move to ...
62731         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62732         * elf/tst-auditmod6a.c: Move to ...
62733         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62734         * elf/tst-auditmod6b.c: Move to ...
62735         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62736         * elf/tst-auditmod6c.c: Move to ...
62737         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62738         * elf/tst-auditmod7a.c: Move to ...
62739         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62740         * elf/tst-auditmod7b.c: Move to ...
62741         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62743 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62745         [BZ #15366]
62746         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62747         define unconditionally.
62748         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62749         define unconditionally.
62750         (INT8_C, INT16_C, etc.): Likewise.
62752 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62754         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62755         __ehdr_start with hidden visibility.
62757         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62759 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62761         * math/libm-test.inc (cos_test): Use accurate hex constants.
62762         (sincost_test): Likewise.
62764 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62766         * math/libm-test.inc (catan_test): Add more tests.
62767         (catanh_test): Likewise.
62769         * math/s_catanf.c (__catanf): Use suffixed floating-point
62770         constants.
62771         * math/s_catanhf.c (__catanhf): Likewise.
62772         * math/s_catanhl.c (__catanhl): Likewise.
62773         * math/s_catanl.c (__catanl): Likewise.
62775         [BZ #15394]
62776         * math/s_catan.c (__catan): Calculate imaginary part of result
62777         with log1p not log unless computing log of number close to 0.
62778         * math/s_catanf.c (__catanf): Likewise.
62779         * math/s_catanl.c (__catanl): Likewise.
62780         * math/s_catanh.c (__catanh): Calculate real part of result with
62781         log1p not log unless computing log of number close to 0.
62782         * math/s_catanhf.c (__catanhf): Likewise.
62783         * math/s_catanhl.c (__catanhl): Likewise.
62784         * math/libm-test.inc (catan_test): Add more tests.
62785         (catanh_test): Likewise.
62786         * sysdeps/i386/fpu/libm-test-ulps: Update.
62787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62789 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62791         * benchtests/Makefile: Mention files in which fast and slow
62792         paths of math functions are implemented.
62794 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62796         * sysdeps/posix/timespec_get.c: New file.
62798 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62800         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62801         POWER.
62802         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62803         for POWER.
62804         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62805         powerpc/power5/fpu folders.
62806         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62807         * benchtests/Makefile: Add modf testcase.
62808         * benchtests/bench-modf.c: New file: Benchmark test for mo
62810 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62812         [BZ #14888]
62813         * time/Makefile (tests): Add tst-strptime-whitespace.
62814         * time/strptime_l.c (get_number): Use ISSPACE.
62815         (__strptime_internal): Likewise.
62816         * time/tst-strptime-whitespace.c: New test case.
62818 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62820         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62821         member.
62822         (_nss_files_init): Set it here.
62824 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62826         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62827         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62828         unsigned.
62830 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62832         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62834 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62836         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62837         size just once.
62839 2013-04-21  David S. Miller  <davem@davemloft.net>
62841         * po/ru.po: Update Russion translation from translation project.
62843 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62845         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62846         and setfsgid.
62848 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62850         * configure.in: Remove i386 configure warning. Remove i386 case.
62851         * configure: Regenerate.
62852         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62853         Add example to error message.
62854         * sysdeps/i386/configure: Regenerate.
62856 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62858         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62859         slowtan.
62860         * benchtests/cos-inputs: New file.
62861         * benchtests/slowcos-inputs: New file.
62862         * benchtests/slowcos.c: New file.
62863         * benchtests/slowtan-inputs: New file.
62864         * benchtests/slowtan.c: New file.
62865         * benchtests/tan-inputs: New file.
62867 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62869         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62870         considered kosher.
62872 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62874         * benchtests/Makefile: Include cppflags-iterator.mk to add
62875         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62877         * Makefile.in (bench-clean): New target.
62878         * benchtests/Makefile (bench-clean): Likewise.
62880 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62882         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62884 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62886         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62888 2013-04-15  Andreas Schwab  <schwab@suse.de>
62890         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62891         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62892         * nscd/pwdcache.c (cache_addpw): Likewise.
62893         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62894         more than recsize.
62896 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62898         * benchtests/Makefile (bench): Write all output to
62899         bench-out.tmp together.
62901 2013-04-15  Andreas Schwab  <schwab@suse.de>
62903         * nscd/nscd.c (main): Don't fork again after closing files.
62905 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62907         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62909         * benchtests/Rules (bench-deps): Collect dependencies into a
62910         single variable.  Add Makefile to dependencies.
62911         ($(objpfx)bench-%.c): Depend on bench-deps.
62913 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62914             Xavier Roche  <roche+kml2@exalead.com>
62916         [BZ #15361]
62917         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62918         just that it's a file descriptor.
62919         * manual/llio.texi (Synchronizing AIO Operations): Update description
62920         for EBADF error from aio_fsync.
62922 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62924         * Rules (bench): Move target definition...
62925         * benchtests/Makefile: ... here.
62927 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62929         * math/libm-test.inc (cos_test): Fix PI/2 test.
62930         (sincos_test): Likewise.
62931         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62932         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62934 2013-04-11  Andreas Schwab  <schwab@suse.de>
62936         [BZ #13988]
62937         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62938         accept exponent character only when digits were seen.
62939         * stdio-common/Makefile (tests): Add bug26.
62940         * stdio-common/bug26.c: New file.
62942         [BZ #14293]
62943         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62944         non-freeable.
62946 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62948         * Makeconfig (rtld-prefix): Define built linker prefix.
62949         * Rules (run-bench): Use it.
62950         * math/Makefile (run-regen-ulps): Likewise.
62952         * Rules (bench): Remove eval.
62954 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62955             Roland McGrath  <roland@hack.frob.com>
62956             Ondrej Bilka  <neleai@seznam.cz>
62958         [BZ #15346]
62959         * time/getdate.c: Include ctype.h and alloca.h.
62960         (__getdate_r): Trim leading and trailing spaces of input.
62961         * time/tst-getdate.c (tests): Add tests with leading and
62962         trailing spaces.
62964 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62966         [BZ #14280]
62967         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62968         when computing value.
62970 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62972         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62973         Use testrun.sh to run libm tests.
62975         [BZ #15309]
62976         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62978 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62980         [BZ #15264]
62981         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62983 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62985         * Makefile.in (regen-ulps): New target.
62986         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62987         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62988         [ifneq (no,$(PERL)] (regen-ulps): New target.
62989         [ifeq (no,$(PERL)] (regen-ulps): New target.
62990         * math/libm-test.inc (ulps_file_name): Define.
62991         (output_dir): New variable.
62992         (options): Add "output-dir" option.
62993         (parse_opt): Handle 'o' case.
62994         (main): If output_dir is non-NULL use it as a prefix
62995         otherwise use "".
62996         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62998 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63000         [BZ #10060, #10062]
63001         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
63002         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
63003         fail configure if __sync_val_compare_and_swap is not inlined.
63004         * sysdeps/i386/configure: Regenerate.
63005         * configure.in: Build for i686 when configured for i386.
63006         * configure: Regenerate.
63007         * README: Remove i386 reference.
63009 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63011         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
63012         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63014 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63016         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
63017         (lmsnanval): New variables.
63018         (F): Add conversion tests.
63019         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
63020         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
63022         * stdio-common/tstdiomisc.c (F): Properly collect individual
63023         tests' results.
63025         [BZ #14686, #15336]
63026         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
63027         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
63028         Instead, use input NaN values or generate a qNaN by arithmetic
63029         operation.  Also fix bugs to comply with the standard.
63030         * math/libm-test.inc (remainder_test): Add more tests.
63032         [BZ #15335, #15342]
63033         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
63034         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
63035         input NaN values or generate a qNaN by arithmetic operation.
63037         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
63038         unreachable code.
63040         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
63041         definitions.
63043 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
63045         [BZ #14478]
63046         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
63047         underflowed result.
63048         * math/s_cexpf.c (__cexpf): Likewise.
63049         * math/s_cexpl.c (__cexpl): Likewise.
63050         * math/libm-test.inc (cexp_test): Add more tests.
63052 2013-04-03  Andreas Schwab  <schwab@suse.de>
63054         [BZ #15330]
63055         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
63056         order arrays from heap if bigger than alloca cutoff.
63058 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
63060         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
63061         (SNAN_TESTS_double): Refer to GCC PR56831.
63062         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
63063         GCC PR56828.
63065 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63067         * Rules (bench): Move bench.out after the run is complete.
63069         * Rules (bench): Echo currently running benchmark.
63071         * benchtests/Makefile (bench): Add atan and slowatan.
63072         * benchtests/atan-inputs: New file.
63073         * benchtests/slowatan-inputs: New file.
63074         * benchtests/slowatan.c: New file.
63076         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
63077         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
63078         its value.
63080         [BZ #15305]
63081         * sysdeps/unix/sysv/linux/kernel-features.h
63082         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
63083         __ASSUME_XFS_RESTRICTED_CHOWN.
63084         * sysdeps/unix/sysv/linux/pathconf.c
63085         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
63086         Save and restore errno.
63088 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
63090         [BZ #15327]
63091         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
63092         arguments using __kernel_casinh.
63093         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
63094         arguments using __kernel_casinhf.
63095         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
63096         arguments using __kernel_casinhl.
63097         * math/libm-test.inc (cacosh_test): Add more tests.
63098         * sysdeps/i386/fpu/libm-test-ulps: Update.
63099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63101 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
63103         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
63104         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
63106         * bench/Makefile (bench): Add sin and slowsin.
63107         * benchtests/sin-inputs: New file.
63108         * benchtests/slowsin-inputs: New file.
63109         * benchtests/slowsin.c: New file.
63111         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
63112         (bench): Add slowexp and slowpow.
63113         (exp-ITER): Increase iterations.
63114         (pow-ITER): Likewise.
63115         * benchtests/exp-inputs: Change input.
63116         * benchtests/pow-inputs: Likewise.
63117         * benchtests/slowexp-inputs: New file.
63118         * benchtests/slowexp.c: New file.
63119         * benchtests/slowpow-inputs: New file.
63120         * benchtests/slowpow.c: New file.
63122 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63124         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
63125         instructions.
63126         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63127         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
63128         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63129         * benchtests/Makefile: Add rint benchtest.
63130         * benchtests/rint-inputs: Input for rint benchtest.
63132 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63134         * Versions.def (libm): Add GLIBC_2.18.
63135         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
63136         hidden libm prototypes.
63137         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
63138         * math/Makefile (libm-calls): Add s_issignaling.
63139         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
63140         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
63141         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
63142         declaration.
63143         * math/math.h [__USE_GNU] (issignaling): New macro.
63144         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
63145         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
63146         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
63147         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
63148         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
63149         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
63150         * manual/arith.texi (issignaling): New section.
63151         * manual/libm-err-tab.pl (@all_functions): Update comment.
63152         * math/gen-libm-test.pl (parse_args): Apply special handling for
63153         issignaling.
63154         * math/libm-test.inc (print_float, issignaling_test): New
63155         functions.
63156         (check_float_internal): Add issignaling checks.
63157         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
63158         default definition.
63159         * sysdeps/powerpc/math-tests.h: New file.
63160         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
63161         tests.
63162         * math/test-snan.c (TEST_FUNC): Likewise.
63164 2013-03-30  David S. Miller  <davem@davemloft.net>
63166         * po/de.po: Update from translation team.
63168 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
63170         [BZ #10357]
63171         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63172         imaginary part less than 1.0 and real part less than 0.5
63173         specially.
63174         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63175         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63176         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
63177         (cacos_test): Add more tests.
63178         (casin_test): Likewise.
63179         (casinh_test): Likewise.
63180         * sysdeps/i386/fpu/libm-test-ulps: Update.
63181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63183 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63185         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
63186         ONE with its value.
63188         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
63189         (__pow_mp): Replace ONE and MONE with their values.
63190         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63191         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
63192         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63193         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
63194         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63195         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63197         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
63199         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
63200         (__pow_mp): Replace ZERO and MZERO with their values.
63201         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63202         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63203         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63205         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63206         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
63207         (__sqr): Likewise.
63209         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
63211         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
63213 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63215         * include/stdlib.h [!SHARED] (__call_tls_dtors):
63216         Declare with __attribute__ ((weak)).
63217         * stdlib/exit.c (__libc_atexit) [!SHARED]:
63218         Call __call_tls_dtors only if it's not NULL.
63220 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63222         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
63223         didn't do it already, then set _dl_phdr and _dl_phnum based on the
63224         magic __ehdr_start linker symbol if it's defined.
63225         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
63226         them up here if it was already done.
63228         * elf/dl-support.c (_dl_phdr): Make pointer to const.
63229         (_dl_aux_init): Use const in cast when setting it.
63230         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
63231         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
63232         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
63234         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
63235         Declare them here.
63236         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
63237         * csu/libc-tls.c: Nor here.
63238         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
63240         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
63241         (__libc_message): Never call vsyslog.
63243 2013-03-28  Alan Modra  <amodra@gmail.com>
63245         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
63246         Define as empty.
63247         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
63248         Likewise.
63250 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63252         [BZ #15214]
63253         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
63254         underflow.
63255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63257 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63259         [BZ #15304]
63260         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
63261         Don't add gid passed as argument.
63263         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
63265 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
63267         [BZ #15307]
63268         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63269         imaginary part between 1.0 and 1.5 and real part less than 0.5
63270         specially.
63271         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63272         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63273         * math/libm-test.inc (cacos_test): Add more tests.
63274         (casin_test): Likewise.
63275         (casinh_test): Likewise.
63276         * sysdeps/i386/fpu/libm-test-ulps: Update.
63277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63279 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63281         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
63282         constants.
63283         (norm): Likewise.
63284         (denorm): Likewise.
63285         (__dbl_mp): Likewise.
63286         (add_magnitudes): Likewise.
63287         (sub_magnitudes): Likewise.
63288         (__add): Likewise.
63289         (__sub): Likewise.
63290         (__mul): Likewise.
63291         (__sqr): Likewise.
63292         (__inv): Likewise.
63293         (__dvd): Likewise.
63295         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63296         commented code.
63297         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63298         (__dubcos): Likewise.
63299         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63300         (__ieee754_acos): Likewise.
63301         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63302         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63303         (__exp1): Likewise.
63304         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63305         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63306         (log1): Likewise.
63307         (my_log2): Likewise.
63308         (checkint): Likewise.
63309         * sysdeps/ieee754/dbl-64/e_remainder.c
63310         (__ieee754_remainder): Likewise.
63311         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63312         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63313         (bsloww): Likewise.
63314         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63316         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63317         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63318         MANTISSA_STORE_T to store computations on mantissa.  Use
63319         macros for rounding and division.
63320         (denorm): Likewise.
63321         (__dbl_mp): Likewise.
63322         (add_magnitudes): Likewise.
63323         (sub_magnitudes): Likewise.
63324         (__mul): Likewise.
63325         (__sqr): Likewise.
63326         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63327         powers of two in terms of TWOPOW macro.
63328         (mp_no): Make type of mantissa as MANTISSA_T.
63329         [!RADIXI]: Define RADIXI.
63330         [!TWO52]: Define TWO52.
63331         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63333 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63335         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63336         llroundl symbol when building for PPC32.
63338 2013-03-24  Mark H Weaver  <mhw@netris.org>
63340         * manual/arith.texi (Normalization Functions): Fix prototypes for
63341         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63343 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63345         [BZ #13889]
63346         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63347         high value to check if expl overflow.
63348         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63349         to check for underflow and overflow.
63350         * math/libm-test.inc: Add exp test.
63352 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63354         [BZ #11120]
63355         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63356         with NOT_IN_libc.
63358 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63360         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63361         symbol.
63363 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63365         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63366         wrap blocks consisting of several statements.
63368         * sysdeps/generic/math-tests.h: New file.
63369         * sysdeps/i386/fpu/math-tests.h: Likewise.
63370         * math/test-snan.c: Include it.
63371         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63373 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63375         [BZ #15285]
63376         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63377         (__ieee754_j0l): Do not improve calculations using cos of twice
63378         input for inputs above LDBL_MAX / 2.0L.
63379         (__ieee754_y0l): Likewise.
63380         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63381         (__ieee754_j1l): Do not improve calculations using cos of twice
63382         input for inputs above LDBL_MAX / 2.0L.
63383         (__ieee754_y1l): Likewise.
63384         * math/libm-test.inc (j0_test): Add another test.
63385         (j1_test): Likewise.
63386         (y0_test): Likewise.
63387         (y1_test): Likewise.
63388         * sysdeps/i386/fpu/libm-test-ulps: Update.
63390 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63392         * Rules ($(objpfx)bench-%.c): Include code from a C source
63393         file.
63395 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63397         [BZ #15287]
63398         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63399         imaginary part 1.0 and real part less than 0.5 specially.
63400         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63401         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63402         * math/libm-test.inc (cacos_test): Add more tests.
63403         (casin_test): Likewise.
63404         (casinh_test): Likewise.
63405         * sysdeps/i386/fpu/libm-test-ulps: Update.
63406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63408 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63410         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63411         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63413 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63415         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63416         * config.make.in (config-cflags-sse4): Remove variable.
63417         (config-cflags-avx): Likewise.
63418         (config-cflags-sse2avx): Likewise.
63419         (config-cflags-novzeroupper): Likewise.
63420         (config-asflags-i686): Likewise.
63421         (have-mfma4): Likewise.
63422         (have-as-vis3): Likewise.
63423         (MIG): Likewise.
63424         * configure.in (MIG): Do not AC_SUBST.
63425         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63426         (libc_cv_cc_sse4): Do not AC_SUBST.
63427         (libc_cv_cc_avx): Likewise.
63428         (libc_cv_cc_sse2avx): Likewise.
63429         (libc_cv_cc_novzeroupper): Likewise.
63430         (libc_cv_cc_fma4): Likewise.
63431         (libc_cv_as_i686): Likewise.
63432         (libc_cv_sparc_as_vis3): Likewise.
63433         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63434         LIBC_CONFIG_VAR.
63435         (config-asflags-i686): Likewise.
63436         (config-cflags-avx): Likewise.
63437         (config-cflags-sse2avx): Likewise.
63438         (have-mfma4): Likewise.
63439         (config-cflags-novzeroupper): Likewise.
63440         * sysdeps/mach/configure.in (MIG): Likewise.
63441         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63442         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63443         LIBC_CONFIG_VAR.
63444         (config-cflags-avx): Likewise.
63445         (config-cflags-sse2avx): Likewise.
63446         (have-mfma4): Likewise.
63447         (config-cflags-novzeroupper): Likewise.
63448         * configure: Regenerated.
63449         * sysdeps/i386/configure: Likewise.
63450         * sysdeps/mach/configure: Likewise.
63451         * sysdeps/sparc/configure: Likewise.
63452         * sysdeps/x86_64/configure: Likewise.
63454 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63456         [BZ #14812]
63457         * locale/programs/localedef.c (options): Put N_ translation marker
63458         on argument names, not just descriptions.
63460 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63462         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63464 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63466         [BZ #14176]
63467         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63469 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63471         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63472         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63473         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63474         [!BEFORE_ABORT] (before_abort): New function.
63475         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63476         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63477         (writev_for_fatal): New function.
63478         (WRITEV_FOR_FATAL): New macro; call that.
63479         (backtrace_and_maps): New function.
63480         (BEFORE_ABORT): New macro; call that.
63481         (struct str_list): Type removed.
63482         (__libc_message, __libc_fatal): Functions removed.
63483         Include <sysdeps/posix/libc_fatal.c> instead.
63485 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63487         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63488         constants.
63489         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63490         double constants.
63492 2013-03-19  Andreas Schwab  <schwab@suse.de>
63494         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63495         * sysdeps/gnu/configure: Regenerate.
63497         * configure.in: Substitute libc_cv_rtlddir.
63498         * configure: Regenerate.
63499         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63500         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63501         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63502         * elf/Makefile (install-others, CFLAGS-interp.c)
63503         (ldso_install, common-ldd-rewrite): Likewise.
63504         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63505         $(inst_slibdir)/$(rtld-installed-name).
63506         * scripts/rellns-sh: Add -p option.
63507         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63508         for source.
63510 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63512         * manual/nptl.texi: Renamed to ...
63513         * manual/threads.texi: ... this.
63514         * manual/Makefile (chapters): Update.
63516 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63518         [BZ #14812]
63519         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63520         on argument names, not just descriptions.
63521         * malloc/memusagestat.c (options): Likewise.
63522         * nss/getent.c (options): Likewise.
63524 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63526         [BZ #14812]
63527         * iconv/iconv_prog.c (options): Put N_ translation marker
63528         on argument names, not just descriptions.
63529         * iconv/iconvconfig.c (options): Likewise.
63531 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63533         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63534         implementation which is faster on all x86_64 architectures.
63535         Tested on AMD, Intel Nehalem, SNB, IVB.
63536         * sysdeps/x86_64/strnlen.S: Likewise.
63538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63539         Remove all multiarch strlen and strnlen versions.
63540         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63541         Remove strlen and strnlen related parts.
63543         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63544         Inline strlen part.
63545         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63547         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63548         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63549         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63550         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63551         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63552         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63554 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63556         * manual/memory.texi (Malloc Tunable Parameters):
63557         Sort parameters alphabetically. Add comments for missing entries.
63559 2013-03-17  David S. Miller  <davem@davemloft.net>
63561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63563 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63565         [BZ #15283]
63566         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63567         for arguments at most half maximum finite value.
63568         * math/libm-test.inc (j0_test): Add more tests.
63569         (j1_test): Likewise.
63570         (y0_test): Likewise.
63571         (y1_test): Likewise.
63572         * sysdeps/i386/fpu/libm-test-ulps: Update.
63573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63575         [BZ #14155]
63576         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63577         1 / x and functions P and Q for arguments above 0x1p256L.
63578         (__ieee754_y0l): Likewise.
63579         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63580         (__ieee754_y1l): Likewise.
63581         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63582         (j1_test): Likewise.
63583         (y0_test): Likewise.
63584         (y1_test): Likewise.
63586 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63588         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63589         variable.
63591 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63593         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63594         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63595         zero since it's initialized to EXEC_PAGESIZE.
63597         * sysdeps/unix/sysv/linux/ldsodefs.h
63598         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63599         * sysdeps/generic/ldsodefs.h: ... here.
63601 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63603         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63605         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63606         math/test-snan.c.
63607         * math/test-snan.c: Renamed from
63608         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63609         * math/Makefile (tests): Add test-snan.
63610         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63611         test-powerpc-snan.
63613         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63614         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63615         functions.
63616         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63617         __builtin_nan family of functions.
63618         * math/libm-test.inc (initialize): Initialize qnan_value with
63619         __builtin_nan family of functions.
63620         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63621         Remove variables.
63622         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63623         Remove functions.
63624         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63625         storage class.  Initialize qNaN_var and sNaN_var with
63626         __builtin_nan and __builtin_nans families of functions,
63627         respectively.
63629         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63630         (sqrt_test): Remove duplicate test with qNaN input.
63631         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63632         (round_test, signbit_test, significand_test): Note missing +/-Inf
63633         as well as qNaN tests.
63635         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63636         qNaN_var.  Fix a few strings, too.
63637         * math/libm-test.inc (nan_value): Rename to qnan_value.
63638         * math/gen-libm-test.pl (%beautify): Adjust to that.
63639         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63640         * math/test-misc.c (main): Likewise.
63641         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63642         to __qnan_bytes, and __qnan_union, respectively.
63643         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63644         Likewise.
63645         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63646         and lqnanval, respectively.
63647         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63648         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63649         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63650         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63652         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63653         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63654         doubles.
63656         * math/test-misc.c (main): Fix copy'n'pastos.
63657         * misc/tst-efgcvt.c (special): Likewise.
63659         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63660         Remove declarations.
63662 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63664         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63665         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63666         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63667         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63669 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63671         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63672         macro to return vdso values correctly in IFUNC implementations.
63673         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63674         Optimization by using IFUNC.
63676 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63677             Richard Henderson  <rth@redhat.com>
63678             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63680         * Makefile.in (bench): New target.
63681         * NEWS: Mention the benchmark framework.
63682         * Rules (bench): Likewise.
63683         (binaries-bench): Generate binaries for functions to
63684         benchmark.
63685         * benchtests/Makefile: New makefile for benchmark tests.
63686         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63687         programs.
63688         * benchtests/exp-inputs: New input file for EXP function.
63689         * benchtests/pow-inputs: New input file for POW function.
63690         * scripts/bench.pl: New script to generate source files for
63691         benchmark programs.
63693 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63695         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63696         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63697         computations on mantissa.  Use macros for rounding and
63698         division.
63699         (denorm): Likewise.
63700         (__dbl_mp): Likewise.
63701         (add_magnitudes): Likewise.
63702         (sub_magnitudes): Likewise.
63703         (__mul): Likewise.
63704         (__sqr): Likewise.
63705         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63706         powers of two in terms of TWOPOW macro.
63707         (mp_no): Make type of mantissa as MANTISSA_T.
63708         [!RADIXI]: Define RADIXI.
63709         [!TWO52]: Define TWO52.
63710         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63712         * manual/nptl.texi (cindex): Modify threads to pthreads.
63714 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63716         * sysdeps/x86_64/preconfigure: Regenerated.
63718 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63720         [BZ #14155]
63721         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63722         0x1p28 and above.
63723         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63724         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63725         0x1p28 and above.
63726         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63727         * math/libm-test.inc (j0_test): Do not allow one spurious
63728         underflow exception.
63729         (y1_test): Likewise.
63731 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63733         * manual/Makefile (chapters): Add nptl.
63734         * manual/debug.texi (Debugging Support): Add link to Threads
63735         chapter.
63736         * manual/nptl.texi: New file.
63738         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63740 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63742         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63743         for non-NULL pointer before the memory validity test. Pointed
63744         out by Holger Brunck <holger.brunck@keymile.com>.
63746 2013-03-13  Andreas Schwab  <schwab@suse.de>
63748         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63749         instead of .os.
63751 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63753         * timezone/zic.c: Update from tzcode 2013b.
63755 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63757         * manual/install.texi (Configuring and compiling):
63758         Mention i686 and i586.
63759         * INSTALL: Regenerate.
63761 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63763         * sysdeps/init_array/elf-init.c: New file.
63764         * csu/elf-init.c
63765         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63766         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63768         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63769         __gmon_start__ as global, but as static with a .preinit_array pointer.
63770         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63771         * sysdeps/init_array/crti.S: New file, empty except for comments.
63772         * sysdeps/init_array/crtn.S: Likewise.
63774 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63776         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63777         definining bcopy.
63778         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63779         Remove Prefer_SSE_for_memop.
63780         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63781         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63782         HAS_PREFER_SSE_FOR_MEMOP.
63783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63784         memset-x86-64.
63785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63786         Remove bzero, memset ifunc support.
63787         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63788         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63789         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63790         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63792 2013-03-11  Andreas Schwab  <schwab@suse.de>
63794         [BZ #15234]
63795         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63796         by SHLIB_COMPAT.
63797         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63798         (GLIBC_2.16): Remove pthread_atfork.
63800 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63802         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63803         (ptestcases.h): Likewise.
63805 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63807         * Makeconfig ($(common-objpfx)config.status): Depend on
63808         sysdeps/*/preconfigure{,.in} too.
63810 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63812         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63813         (__free_hook): Use void * instead of __malloc_ptr_t.
63814         (__malloc_hook): Likewise.
63815         (__realloc_hook): Likewise.
63816         (__memalign_hook): Likewise.
63817         (__after_morecore_hook): Likewise.
63818         * malloc/arena.c (save_malloc_hook): Likewise.
63819         (save_free_hook): Likewise.
63820         * malloc/hooks.c (malloc_hook_ini): Likewise.
63821         (realloc_hook_ini): Likewise.
63822         (memalign_hook_ini): Likewise.
63823         * malloc/malloc.c (malloc_hook_ini): Likewise.
63824         (realloc_hook_ini): Likewise.
63825         (memalign_hook_ini): Likewise.
63826         (__free_hook): Likewise.
63827         (__malloc_hook): Likewise.
63828         (__realloc_hook): Likewise.
63829         (__memalign_hook): Likewise.
63830         (__libc_malloc): Likewise.
63831         (__libc_free): Likewise.
63832         (__libc_realloc): Likewise.
63833         (__libc_memalign): Likewise.
63834         (__libc_valloc): Likewise.
63835         (__libc_pvalloc): Likewise.
63836         (__libc_calloc): Likewise.
63837         (__posix_memalign): Likewise.
63838         * malloc/morecore.c (__sbrk): Likewise.
63839         (__default_morecore): Likewise.
63841         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63843         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63844         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63845         __malloc_ptrdiff_t.
63847         * malloc/malloc.h (__malloc_size_t): Remove macro.
63848         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63849         __malloc_size_t.
63850         (old_memalign_hook): Likewise.
63851         (old_realloc_hook): Likewise.
63852         (struct hdr): Likewise.
63853         (flood): Likewise.
63854         (mallochook): Likewise.
63855         (memalignhook): Likewise.
63856         (reallochook): Likewise.
63857         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63858         (tr_old_realloc_hook): Likewise.
63859         (tr_old_memalign_hook): Likewise.
63860         (tr_mallochook): Likewise.
63861         (tr_reallochook): Likewise.
63862         (tr_memalignhook): Likewise.
63864 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63866         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63867         default_ldbl_pack and using as default implementation.
63868         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63869         implementation.
63870         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63871         redundant definition.
63872         (ldbl_insert_mantissa): Likewise.
63873         (ldbl_canonicalize): Likewise.
63874         (ldbl_nearbyint): Likewise.
63875         (ldbl_pack): Rename to ldbl_pack_ppc.
63876         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63877         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63878         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63880 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63883         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63884         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63885         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63887         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63888         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63889         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63891 2013-03-07  Andreas Jaeger  <aj@suse.de>
63893         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63894         bits/mman-linux.h.
63896 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63898         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63899         Include mpa.h and declare __MPEXP.
63900         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63901         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63902         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63903         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63904         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63905         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63906         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63908         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63909         (__slowpow): Use long double EXPL and LOGL functions to
63910         compute POW.
63911         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63912         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63913         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63914         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63915         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63916         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63919         intermediate variable to calculate exponent.
63920         (__sqr): Likewise.
63921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63922         Likewise.
63923         (__sqr): Likewise.
63925         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63926         [!NO__SQR]: Define __sqr.
63927         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63928         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63929         sysdeps/ieee754/dbl-64/mpa.c.
63930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63932         [BZ #12723]
63933         * posix/Makefile (tests): Add tst-pathconf.
63934         * posix/tst-pathconf.c: New test case.
63935         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63936         _PC_PIPE_BUF.
63937         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63939 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63941         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63943 2013-03-06  Andreas Jaeger  <aj@suse.de>
63945         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63946         definition via __MAP_ANONYMOUS.
63948         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63949         it's not part of Linux headers.
63951         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63952         (MAP_HUGE_MASK): Define.
63954         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63955         Define.
63956         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63957         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63958         Define.
63959         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63960         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63961         Define.
63962         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63963         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63964         Define.
63965         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63967         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63968         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63969         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63970         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63971         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63972         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63974         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63975         Handle f2fs.
63977         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63978         Handle f2fs and efivarfs.
63980         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63981         f2fs.
63983         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63984         (EFIVARFS_MAGIC): Add.
63985         (F2FS_LINK_MAX): Add.
63987 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63989         * stdio-common/vfprintf.c: Replace __builtin_expect with
63990         __glibc_unlikely.
63992 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63994         [BZ #13550]
63995         * sysdeps/generic/bp-sym.h: Remove file.
63996         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63997         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63998         <bp-sym.h> and <bp-asm.h>.
63999         (__longjmp): Don't use BP_SYM.
64000         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
64001         and <bp-asm.h>.
64002         (memcpy): Don't use BP_SYM.
64003         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
64004         <bp-sym.h> and <bp-asm.h>.
64005         (memcpy): Don't use BP_SYM.
64006         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
64007         <bp-asm.h>.
64008         (memcpy): Don't use BP_SYM.
64009         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
64010         <bp-asm.h>.
64011         (memset): Don't use BP_SYM.
64012         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64013         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64014         (__bzero): Don't use BP_SYM.
64015         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64016         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64017         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
64018         <bp-sym.h> and <bp-asm.h>.
64019         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64020         pointers.
64021         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
64022         <bp-sym.h> and <bp-asm.h>.
64023         (memcpy): Don't use BP_SYM.
64024         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
64025         <bp-sym.h> and <bp-asm.h>.
64026         (memset): Don't use BP_SYM.
64027         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64028         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64029         (__bzero): Don't use BP_SYM.
64030         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64031         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64032         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
64033         <bp-sym.h> and <bp-asm.h>.
64034         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64035         pointers.
64036         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
64037         <bp-sym.h> and <bp-asm.h>.
64038         (memcpy): Don't use BP_SYM.
64039         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
64040         <bp-sym.h> and <bp-asm.h>.
64041         (memset): Don't use BP_SYM.
64042         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64043         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64044         (__bzero): Don't use BP_SYM.
64045         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64046         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64047         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
64048         <bp-sym.h> and <bp-asm.h>.
64049         (__memchr): Don't use BP_SYM.
64050         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
64051         <bp-sym.h> and <bp-asm.h>.
64052         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64053         pointers.
64054         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
64055         <bp-sym.h> and <bp-asm.h>.
64056         (memcpy): Don't use BP_SYM.
64057         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
64058         <bp-sym.h> and <bp-asm.h>.
64059         (__mempcpy): Don't use BP_SYM.
64060         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
64061         <bp-sym.h> and <bp-asm.h>.
64062         (__memrchr): Don't use BP_SYM.
64063         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
64064         <bp-sym.h> and <bp-asm.h>.
64065         (memset): Don't use BP_SYM.
64066         (__bzero): Likewise.
64067         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
64068         <bp-sym.h> and <bp-asm.h>.
64069         (__rawmemchr): Don't use BP_SYM.
64070         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
64071         <bp-sym.h> and <bp-asm.h>.
64072         (__STRCMP): Don't use BP_SYM.
64073         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
64074         <bp-sym.h> and <bp-asm.h>.
64075         (strchr): Don't use BP_SYM.
64076         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
64077         <bp-sym.h> and <bp-asm.h>.
64078         (__strchrnul): Don't use BP_SYM.
64079         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
64080         <bp-sym.h> and <bp-asm.h>.
64081         (strlen): Don't use BP_SYM.
64082         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
64083         <bp-sym.h> and <bp-asm.h>.
64084         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64085         pointers.
64086         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
64087         <bp-sym.h> and <bp-asm.h>.
64088         (__strnlen): Don't use BP_SYM.
64089         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
64090         <bp-sym.h> and <bp-asm.h>.
64091         (__GI__setjmp): Don't use BP_SYM.
64092         (_setjmp): Likewise.
64093         (__sigsetjmp): Likewise.
64094         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
64095         (L(start_addresses)): Don't use BP_SYM.
64096         (_start): Likewise.
64097         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
64098         <bp-asm.h>.
64099         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
64100         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
64101         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64102         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64103         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
64104         <bp-asm.h>.
64105         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
64106         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
64107         about bounded pointers.
64108         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64109         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64110         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
64111         <bp-asm.h>.
64112         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64113         about bounded pointers.  Remove GKM FIXME comments.
64114         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64115         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
64116         <bp-asm.h>.
64117         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
64118         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
64119         Remove GKM FIXME comments.
64120         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64121         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64122         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
64123         <bp-asm.h>.
64124         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64125         about bounded pointers.  Remove GKM FIXME comment.
64126         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
64127         and <bp-asm.h>.
64128         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64129         pointers.
64130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
64131         <bp-sym.h> and <bp-asm.h>.
64132         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
64134         <bp-sym.h> and <bp-asm.h>.
64135         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64136         comment.
64138 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64140         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
64141         call free(NULL).
64143 2013-03-05  David S. Miller  <davem@davemloft.net>
64145         * po/es.po: Update from translation team.
64147 2013-03-05  Andreas Jaeger  <aj@suse.de>
64149         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
64150         <bits/mman-linux.h>.
64151         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64152         is fine.
64153         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
64154         <bits/mman-linux.h> to end of file.
64155         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64156         is fine.
64157         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
64158         <bits/mman-linux.h> to end of file.
64159         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64160         is fine.
64161         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
64162         <bits/mman-linux.h> to end of file.
64164         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
64165         (MCL_CURRENT, MCL_FUTURE): Define here.
64167 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64169         [BZ #15232]
64170         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
64171         attribute_hidden.
64172         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64174 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64176         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
64177         fourth parameter needed for rt_sigprocmask syscall.
64178         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
64179         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64180         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
64181         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64182         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64183         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
64185 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
64187         [BZ #13550]
64188         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
64189         comment about bounded pointers.
64190         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
64191         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
64193 2013-03-04  Andreas Jaeger  <aj@suse.de>
64195         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
64196         common definitions.
64198         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
64199         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
64200         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
64201         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64202         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64203         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64205 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64207         [BZ #15055]
64208         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
64209         __ieee754_sqrl instead of __sqrl.
64211 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
64213         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
64214         * sysdeps/powerpc/fpu_control.h: ... here.
64215         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
64216         * sysdeps/powerpc/bits/fenvinline.h: ... here.
64217         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
64218         * sysdeps/powerpc/bits/mathinline.h: ... here.
64220 2013-03-01  Roland McGrath  <roland@hack.frob.com>
64222         * elf/dl-hwcaps.c (_dl_important_hwcaps):
64223         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
64224         to just [NEED_DL_SYSINFO_DSO].
64225         * elf/dl-support.c: Likewise.
64226         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
64227         * elf/rtld.c (dl_main): Likewise.
64228         * elf/setup-vdso.h (setup_vdso): Likewise.
64229         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
64230         * sysdeps/unix/sysv/linux/dl-sysdep.c
64231         (_dl_discover_osversion): Likewise.
64233 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
64235         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
64236         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64238 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
64240         * NEWS: Mention libm performance improvements and non-x86 PI
64241         futex support.
64243         * csu/libc-start.c (__pthread_initialize_minimal): Change
64244         function arguments.
64245         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64247 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
64249         [BZ #13550]
64250         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
64251         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
64252         <bp-sym.h> and <bp-asm.h>.
64253         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64254         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
64255         and <bp-asm.h>.
64256         (memcpy): Don't use BP_SYM.
64257         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
64258         <bp-asm.h>.
64259         (__mpn_add_n): Don't use BP_SYM.
64260         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
64261         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
64262         and <bp-asm.h>.
64263         (__mpn_addmul_1): Don't use BP_SYM.
64264         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64265         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
64266         <bp-sym.h>.
64267         (_setjmp): Don't use BP_SYM.
64268         (__novmx_setjmp): Likewise.
64269         (__GI__setjmp): Likewise.
64270         (__vmx_setjmp): Likewise.
64271         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
64272         <bp-sym.h>.
64273         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
64274         (__bzero): Don't use BP_SYM.
64275         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64276         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64277         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
64278         <bp-sym.h> and <bp-asm.h>.
64279         (memcpy): Don't use BP_SYM.
64280         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
64281         <bp-sym.h> and <bp-asm.h>.
64282         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64283         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
64284         <bp-sym.h> and <bp-asm.h>.
64285         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64286         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
64287         <bp-asm.h>.
64288         (__mpn_lshift): Don't use BP_SYM.
64289         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64290         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
64291         <bp-asm.h>.
64292         (memset): Don't use BP_SYM.
64293         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64294         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64295         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64296         <bp-asm.h>.
64297         (__mpn_mul_1): Don't use BP_SYM.
64298         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64299         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64300         <bp-sym.h> and <bp-asm.h>.
64301         (memcmp): Don't use BP_SYM.
64302         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64303         <bp-sym.h> and <bp-asm.h>.
64304         (memcpy): Don't use BP_SYM.
64305         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64306         <bp-sym.h> and <bp-asm.h>.
64307         (memset): Don't use BP_SYM.
64308         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64309         <bp-sym.h> and <bp-asm.h>.
64310         (strncmp): Don't use BP_SYM.
64311         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64312         <bp-sym.h> and <bp-asm.h>.
64313         (memcpy): Don't use BP_SYM.
64314         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64315         <bp-sym.h> and <bp-asm.h>.
64316         (memset): Don't use BP_SYM.
64317         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64318         <bp-sym.h> and <bp-asm.h>.
64319         (__memchr): Don't use BP_SYM.
64320         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64321         <bp-sym.h> and <bp-asm.h>.
64322         (memcmp): Don't use BP_SYM.
64323         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64324         <bp-sym.h> and <bp-asm.h>.
64325         (memcpy): Don't use BP_SYM.
64326         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64327         <bp-sym.h> and <bp-asm.h>.
64328         (__mempcpy): Don't use BP_SYM.
64329         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64330         <bp-sym.h> and <bp-asm.h>.
64331         (__memrchr): Don't use BP_SYM.
64332         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64333         <bp-sym.h> and <bp-asm.h>.
64334         (memset): Don't use BP_SYM.
64335         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64336         <bp-sym.h> and <bp-asm.h>.
64337         (__rawmemchr): Don't use BP_SYM.
64338         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64339         <bp-sym.h> and <bp-asm.h>.
64340         (__STRCMP): Don't use BP_SYM.
64341         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64342         <bp-sym.h> and <bp-asm.h>.
64343         (strchr): Don't use BP_SYM.
64344         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64345         <bp-sym.h> and <bp-asm.h>.
64346         (__strchrnul): Don't use BP_SYM.
64347         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64348         <bp-sym.h> and <bp-asm.h>.
64349         (strlen): Don't use BP_SYM.
64350         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64351         <bp-sym.h> and <bp-asm.h>.
64352         (strncmp): Don't use BP_SYM.
64353         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64354         <bp-sym.h> and <bp-asm.h>.
64355         (__strnlen): Don't use BP_SYM.
64356         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64357         <bp-asm.h>.
64358         (__mpn_rshift): Don't use BP_SYM.
64359         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64360         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64361         <bp-sym.h> and <bp-asm.h>.
64362         (__sigsetjmp): Don't use BP_SYM.
64363         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64364         (L(start_addresses)): Don't use BP_SYM.
64365         (_start): Likewise.
64366         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64367         <bp-asm.h>.
64368         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64369         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64370         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64371         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64372         <bp-asm.h>.
64373         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64374         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64375         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64376         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64377         <bp-asm.h>.
64378         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64379         comments.
64380         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64381         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64382         <bp-asm.h>.
64383         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64384         FIXME comments.
64385         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64386         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64387         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64388         <bp-asm.h>.
64389         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64390         comment.
64391         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64392         and <bp-asm.h>.
64393         (strncmp): Don't use BP_SYM,
64394         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64395         <bp-asm.h>.
64396         (__mpn_sub_n): Don't use BP_SYM.
64397         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64398         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64399         and <bp-asm.h>.
64400         (__mpn_submul_1): Don't use BP_SYM.
64401         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64403         <bp-sym.h> and <bp-asm.h>.
64404         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64406         <bp-sym.h> and <bp-asm.h>.
64407         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64408         comment.
64410 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64412         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64413         Use ZK to minimize writes to Z.
64414         (sub_magnitudes): Simplify code a bit.
64415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64416         Use ZK to minimize writes to Z.
64417         (sub_magnitudes): Simplify code a bit.
64419 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64421         * csu/gmon-start.c: Add special exception to license text.
64423 2013-02-27  Richard Henderson  <rth@redhat.com>
64425         * scripts/config.guess: Update from config.git.
64426         * scripts/config.sub: Likewise.
64428 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64430         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64432         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64434         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64436         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64438         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64440 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64442         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64443         [$(build-shared = yes].
64445 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64447         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64448         (__mul): Reduce iterations for calculating mantissa.
64450         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64451         MPTWO.
64452         (__mpranred): Likewise.
64454         [BZ #15160]
64455         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64456         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64458 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64460         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64461         Define __attribute__.
64463 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64465         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64466         unused.
64467         * posix/regex_internal.h (__attribute): Remove.
64468         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64469         (re_string_context_at): Likewise.
64470         (bitset_not): Use __attribute__ and mark function as possibly
64471         unused.
64472         (bitset_merge): Likewise.
64473         (bitset_mask): Likewise.
64474         (re_string_char_size_at): Likewise.
64475         (re_string_wchar_at): Likewise.
64476         (re_string_elem_size_at): Likewise.
64478 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64480         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64481         code.
64482         (cc32): Likewise.
64484         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64485         (__acr): Likewise.
64486         (__cpy): Likewise.
64487         (norm): Likewise.
64488         (denorm): Likewise.
64489         (__dbl_mp): Likewise.
64490         (add_magnitudes): Likewise.
64491         (sub_magnitudes): Likewise.
64492         (__mul): Likewise.
64493         (__inv): Likewise.
64495         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64496         style.
64498         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64499         style.
64501         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64502         code.
64504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64505         up changes with default code.
64506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64507         Likewise.
64509 2013-02-24  Allan McRae  <allan@archlinux.org>
64511         * manual/socket.texi (The Internet Namespace): Order menu items
64512         to match that in the file.
64514         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64515         node listing of the info page menu.
64517 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64519         [BZ #13550]
64520         * sysdeps/i386/bp-asm.h: Remove file.
64521         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64522         (PARMS): Do not use macros from bp-asm.h.
64523         (S1): Likewise.
64524         (S2): Likewise.
64525         (SIZE): Likewise.
64526         (__mpn_add_n): Do not use BP_SYM
64527         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64528         "bp-asm.h".
64529         (PARMS): Do not use macros from bp-asm.h.
64530         (S1): Likewise.
64531         (SIZE): Likewise.
64532         (__mpn_addmul_1): Do not use BP_SYM
64533         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64534         "bp-asm.h".
64535         (PARMS): Do not use macros from bp-asm.h.
64536         (SIGMSK): Likewise.
64537         (_setjmp): Likewise.  Do not use BP_SYM.
64538         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64539         "bp-asm.h".
64540         (PARMS): Do not use macros from bp-asm.h.
64541         (SIGMSK): Likewise.
64542         (setjmp): Likewise.  Do not use BP_SYM.
64543         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64544         "bp-asm.h".
64545         (PARMS): Do not use macros from bp-asm.h.
64546         (__frexp): Do not use BP_SYM.
64547         (frexp): Likewise.
64548         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64549         "bp-asm.h".
64550         (PARMS): Do not use macros from bp-asm.h.
64551         (__frexpf): Do not use BP_SYM.
64552         (frexpf): Likewise.
64553         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64554         "bp-asm.h".
64555         (PARMS): Do not use macros from bp-asm.h.
64556         (__frexpl): Do not use BP_SYM.
64557         (frexpl): Likewise.
64558         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64559         "bp-asm.h".
64560         (PARMS): Do not use macros from bp-asm.h.
64561         (__remquo): Do not use BP_SYM.
64562         (remquo): Likewise.
64563         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64564         "bp-asm.h".
64565         (PARMS): Do not use macros from bp-asm.h.
64566         (__remquof): Do not use BP_SYM.
64567         (remquof): Likewise.
64568         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64569         "bp-asm.h".
64570         (PARMS): Do not use macros from bp-asm.h.
64571         (__remquol): Do not use BP_SYM.
64572         (remquol): Likewise.
64573         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64574         "bp-asm.h".
64575         (PARMS): Do not use macros from bp-asm.h.
64576         (DEST): Likewise.
64577         (SRC): Likewise.
64578         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64579         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64580         "bp-asm.h".
64581         (PARMS): Do not use macros from bp-asm.h.
64582         (strlen): Do not use BP_SYM.
64583         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64584         "bp-asm.h".
64585         (PARMS): Do not use macros from bp-asm.h.
64586         (S1): Likewise.
64587         (S2): Likewise.
64588         (SIZE): Likewise.
64589         (__mpn_add_n): Do not use BP_SYM.
64590         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64591         "bp-asm.h".
64592         (PARMS): Do not use macros from bp-asm.h.
64593         (S1): Likewise.
64594         (SIZE): Likewise.
64595         (__mpn_addmul_1): Do not use BP_SYM.
64596         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64597         weak_alias.
64598         (bzero): Likewise.
64599         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64600         "bp-asm.h".
64601         (PARMS): Do not use macros from bp-asm.h.
64602         (S): Likewise.
64603         (SIZE): Likewise.
64604         (__mpn_lshift): Do not use BP_SYM.
64605         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64606         "bp-asm.h".
64607         (PARMS): Do not use macros from bp-asm.h.
64608         (DEST): Likewise.
64609         (SRC): Likewise.
64610         (LEN): Likewise.
64611         (memcpy): Likewise.  Do not use BP_SYM.
64612         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64613         libc_hidden_def and weak_alias.
64614         (mempcpy): Do not use BP_SYM in weak_alias.
64615         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64616         "bp-asm.h".
64617         (PARMS): Do not use macros from bp-asm.h.
64618         (DEST): Likewise.
64619         (LEN): Likewise.
64620         [!BZERO_P] (CHR): Likewise.
64621         (memset): Likewise.  Do not use BP_SYM.
64622         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64623         "bp-asm.h".
64624         (PARMS): Do not use macros from bp-asm.h.
64625         (S1): Likewise.
64626         (SIZE): Likewise.
64627         (__mpn_mul_1): Do not use BP_SYM.
64628         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64629         "bp-asm.h".
64630         (PARMS): Do not use macros from bp-asm.h.
64631         (S): Likewise.
64632         (SIZE): Likewise.
64633         (__mpn_rshift): Do not use BP_SYM.
64634         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64635         "bp-asm.h".
64636         (PARMS): Do not use macros from bp-asm.h.
64637         (STR): Likewise.
64638         (CHR): Likewise.
64639         (strchr): Likewise.  Do not use BP_SYM.
64640         (index): Do not use BP_SYM in weak_alias.
64641         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64642         "bp-asm.h".
64643         (PARMS): Do not use macros from bp-asm.h.
64644         (DEST): Likewise.
64645         (SRC): Likewise.
64646         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64647         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64648         "bp-asm.h".
64649         (PARMS): Do not use macros from bp-asm.h.
64650         (strlen): Do not use BP_SYM.
64651         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64652         "bp-asm.h".
64653         (PARMS): Do not use macros from bp-asm.h.
64654         (S1): Likewise.
64655         (S2): Likewise.
64656         (SIZE): Likewise.
64657         (__mpn_sub_n): Do not use BP_SYM.
64658         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64659         "bp-asm.h".
64660         (PARMS): Do not use macros from bp-asm.h.
64661         (S1): Likewise.
64662         (SIZE): Likewise.
64663         (__mpn_submul_1): Do not use BP_SYM.
64664         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64665         "bp-asm.h".
64666         (PARMS): Do not use macros from bp-asm.h.
64667         (S1): Likewise.
64668         (S2): Likewise.
64669         (SIZE): Likewise.
64670         (__mpn_add_n): Do not use BP_SYM.
64671         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64672         weak_alias.
64673         (bzero): Likewise.
64674         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64675         "bp-asm.h".
64676         (PARMS): Do not use macros from bp-asm.h.
64677         (BLK2): Likewise.
64678         (LEN): Likewise.
64679         (memcmp): Do not use BP_SYM.
64680         (bcmp): Do not use BP_SYM in weak_alias.
64681         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64682         "bp-asm.h".
64683         (PARMS): Do not use macros from bp-asm.h.
64684         (DEST): Likewise.
64685         (SRC): Likewise.
64686         (LEN): Likewise.
64687         (memcpy): Likewise.  Do not use BP_SYM.
64688         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64689         "bp-asm.h".
64690         (PARMS): Do not use macros from bp-asm.h.
64691         (DEST): Likewise.
64692         (SRC): Likewise.
64693         (LEN): Likewise.
64694         (memmove): Likewise.  Do not use BP_SYM.
64695         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64696         "bp-asm.h".
64697         (PARMS): Do not use macros from bp-asm.h.
64698         (DEST): Likewise.
64699         (SRC): Likewise.
64700         (LEN): Likewise.
64701         (__mempcpy): Likewise.  Do not use BP_SYM.
64702         (mempcpy): Do not use BP_SYM in weak_alias.
64703         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64704         "bp-asm.h".
64705         (PARMS): Do not use macros from bp-asm.h.
64706         (DEST): Likewise.
64707         (LEN): Likewise.
64708         [!BZERO_P] (CHR): Likewise.
64709         (memset): Likewise.  Do not use BP_SYM.
64710         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64711         "bp-asm.h".
64712         (PARMS): Do not use macros from bp-asm.h.
64713         (STR2): Likewise.
64714         (strcmp): Do not use BP_SYM.
64715         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64716         "bp-asm.h".
64717         (PARMS): Do not use macros from bp-asm.h.
64718         (STR): Likewise.
64719         (DELIM): Likewise.
64720         [USE_AS_STRTOK_R] (SAVE): Likewise.
64721         (FUNCTION): Likewise.  Do not use BP_SYM.
64722         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64723         aliases.
64724         (strtok_r): Likewise.
64725         (__GI___strtok_r): Likewise.
64726         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64727         (PARMS): Do not use macros from bp-asm.h.
64728         (S): Likewise.
64729         (SIZE): Likewise.
64730         (__mpn_lshift): Do not use BP_SYM.
64731         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64732         (PARMS): Do not use macros from bp-asm.h.
64733         (STR): Likewise.
64734         (CHR): Likewise.
64735         (__memchr): Do not use BP_SYM.
64736         (memchr): Do not use BP_SYM in weak_alias.
64737         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64738         (PARMS): Do not use macros from bp-asm.h.
64739         (BLK2): Likewise.
64740         (LEN): Likewise.
64741         (memcmp): Do not use BP_SYM.
64742         (bcmp): Do not use BP_SYM in weak_alias.
64743         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64744         (PARMS): Do not use macros from bp-asm.h.
64745         (S1): Likewise.
64746         (SIZE): Likewise.
64747         (__mpn_mul_1): Do not use BP_SYM.
64748         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64749         "bp-asm.h".
64750         (PARMS): Do not use macros from bp-asm.h.
64751         (STR): Likewise.
64752         (CHR): Likewise.
64753         (__rawmemchr): Do not use BP_SYM.
64754         (rawmemchr): Do not use BP_SYM in weak_alias.
64755         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64756         (PARMS): Do not use macros from bp-asm.h.
64757         (S): Likewise.
64758         (SIZE): Likewise.
64759         (__mpn_rshift): Do not use BP_SYM.
64760         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64761         (PARMS): Do not use macros from bp-asm.h.
64762         (SIGMSK): Likewise.
64763         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64764         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64765         (_start): Do not use BP_SYM.
64766         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64767         (PARMS): Do not use macros from bp-asm.h.
64768         (DEST): Likewise.
64769         (SRC): Likewise.
64770         (__stpcpy): Likewise.  Do not use BP_SYM.
64771         (stpcpy): Do not use BP_SYM in weak_alias.
64772         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64773         "bp-asm.h".
64774         (PARMS): Do not use macros from bp-asm.h.
64775         (DEST): Likewise.
64776         (SRC): Likewise.
64777         (LEN): Likewise.
64778         (__stpncpy): Likewise.  Do not use BP_SYM.
64779         (stpncpy): Do not use BP_SYM in weak_alias.
64780         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64781         (PARMS): Do not use macros from bp-asm.h.
64782         (STR): Likewise.
64783         (CHR): Likewise.
64784         (strchr): Likewise.  Do not use BP_SYM.
64785         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64786         "bp-asm.h".
64787         (PARMS): Do not use macros from bp-asm.h.
64788         (STR): Likewise.
64789         (CHR): Likewise.
64790         (__strchrnul): Likewise.  Do not use BP_SYM.
64791         (strchrnul): Do not use BP_SYM in weak_alias.
64792         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64793         "bp-asm.h".
64794         (PARMS): Do not use macros from bp-asm.h.
64795         (STOP): Likewise.
64796         (strcspn): Do not use BP_SYM.
64797         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64798         "bp-asm.h".
64799         (PARMS): Do not use macros from bp-asm.h.
64800         (STR): Likewise.
64801         (STOP): Likewise.
64802         (strpbrk): Likewise.  Do not use BP_SYM.
64803         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64804         "bp-asm.h".
64805         (PARMS): Do not use macros from bp-asm.h.
64806         (STR): Likewise.
64807         (CHR): Likewise.
64808         (strrchr): Likewise.  Do not use BP_SYM.
64809         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64810         (PARMS): Do not use macros from bp-asm.h.
64811         (SKIP): Likewise.
64812         (strspn): Do not use BP_SYM.
64813         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64814         (PARMS): Do not use macros from bp-asm.h.
64815         (STR): Likewise.
64816         (DELIM): Likewise.
64817         (SAVE): Likewise.
64818         (FUNCTION): Likewise.  Do not use BP_SYM.
64819         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64820         aliases.
64821         (strtok_r): Likewise.
64822         (__GI___strtok_r): Likewise.
64823         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64824         (PARMS): Do not use macros from bp-asm.h.
64825         (S1): Likewise.
64826         (S2): Likewise.
64827         (SIZE): Likewise.
64828         (__mpn_sub_n): Do not use BP_SYM.
64829         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64830         "bp-asm.h".
64831         (PARMS): Do not use macros from bp-asm.h.
64832         (S1): Likewise.
64833         (SIZE): Likewise.
64834         (__mpn_submul_1): Do not use BP_SYM.
64835         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64836         <bp-sym.h>.
64837         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64838         and <bp-asm.h>.
64839         (PARMS): Do not use macros from bp-asm.h.
64840         (FLAGS): Likewise.
64841         (PTID): Likewise.
64842         (TLS): Likewise.
64843         (CTID): Likewise.
64844         (__clone): Do not use BP_SYM.
64845         (clone): Do not use BP_SYM in weak_alias.
64846         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64847         and <bp-asm.h>.
64848         (PARMS): Do not use macros from bp-asm.h.
64849         (LEN): Likewise.
64850         (__mmap64): Do not use BP_SYM.
64851         (mmap64): Do not use BP_SYM in weak_alias.
64852         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64853         <bp-sym.h> and <bp-asm.h>.
64854         (PARMS): Do not use macros from bp-asm.h.
64855         (__posix_fadvise64_l64): Do not use BP_SYM.
64856         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64857         (PARMS): Do not use macros from bp-asm.h.
64858         (NSOPS): Likewise.
64859         (semtimedop): Do not use BP_SYM.
64860         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64861         and <bp-asm.h>.
64863 2013-02-21  Allan McRae  <allan@archlinux.org>
64865         * manual/message.texi (Charset conversion in gettext):
64866         Move @end statement to beginning of line.
64868 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64871         static.
64872         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64873         Likewise.
64875         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64876         (denorm): Likewise.
64877         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64878         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64880 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64882         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64883         tail-call to the resolved function if pltexit isn't needed.
64885 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64888         or Y being zero as being unlikely.
64889         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64890         Likewise.
64892 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64894         * manual/nss.texi (System Databases and Name Service Switch):
64895         Remove frobnicate @pxref.
64897 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64899         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64900         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64902 2013-02-20  Petr Machata  <pmachata@redhat.com>
64904         * elf/elf.h (R_ARM_TARGET1): New macro.
64905         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64906         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64907         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64908         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64909         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64910         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64911         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64912         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64913         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64914         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64915         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64916         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64917         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64918         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64919         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64920         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64921         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64922         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64923         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64924         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64925         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64926         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64927         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64928         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64929         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64930         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64931         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64932         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64933         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64934         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64935         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64936         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64937         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64938         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64939         (R_ARM_THM_GOT_BREL12): Likewise.
64940         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64941         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64942         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64943         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64944         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64945         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64946         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64947         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64948         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64950 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64952         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64953         __attribute_used__ to __attribute__ ((unused)).
64955 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64957         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64958         powerpc mpa.c.
64959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64960         comment formatting.
64961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64963 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64965         [BZ #13550]
64966         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64967         Remove macro.
64968         (ENTER): Remove both macro definitions.
64969         (LEAVE): Likewise.
64970         (CHECK_BOUNDS_LOW): Likewise.
64971         (CHECK_BOUNDS_HIGH): Likewise.
64972         (CHECK_BOUNDS_BOTH): Likewise.
64973         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64974         (RETURN_BOUNDED_POINTER): Likewise.
64975         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64976         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64977         (POP_ERRNO_LOCATION_RETURN): Likewise.
64978         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64979         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64980         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64981         macros.
64982         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64983         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64984         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64985         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64986         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64987         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64988         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64989         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64990         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64991         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64992         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64993         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64994         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64995         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64996         removed macros.
64997         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64998         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64999         macros.
65000         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65001         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
65002         * sysdeps/i386/i586/memset.S (memset): Likewise.
65003         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
65004         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65005         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
65006         macros.
65007         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65008         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
65009         Change uses of L(2) to L(out).
65010         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
65011         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
65012         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
65013         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65014         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
65015         removed macros.
65016         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65017         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
65018         macros.
65019         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65020         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
65021         (RETURN): Do not use macro LEAVE.
65022         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
65023         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
65024         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
65025         * sysdeps/i386/i686/memset.S (memset): Likewise.
65026         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
65027         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
65028         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65029         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
65030         Likewise.
65031         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65032         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
65033         L(1_2) and L(1_3) into L(1).
65034         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65035         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
65036         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65037         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
65038         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65039         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
65040         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
65041         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65042         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
65043         macros.
65044         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
65045         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65046         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
65047         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
65048         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
65049         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65050         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
65051         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
65052         * sysdeps/i386/strcspn.S (strcspn): Likewise.
65053         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
65054         * sysdeps/i386/strrchr.S (strrchr): Likewise.
65055         * sysdeps/i386/strspn.S (strspn): Likewise.
65056         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
65057         conditional code.
65058         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65059         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
65060         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65061         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
65062         L(1_3) into L(1_1).
65063         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
65064         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65065         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
65066         macros.
65067         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65069 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
65071         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
65072         macro.
65074 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65076         * math/atest-exp.c (exp_mpn): Remove ROUND.
65077         * math/atest-exp2.c (exp_mpn): Likewise.
65078         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
65080         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
65081         * stdlib/tst-tls-atexit-lib.c: Likewise.
65082         * stdlib/tst-tls-atexit.c: Likewise.
65084 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65086         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
65087         and __attribute_alloc_size__.
65089 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65091         * include/programs/xmalloc.h: Change __attribute_alloc_size to
65092         __attribute_alloc_size__.
65093         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
65094         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
65096 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65098         * include/programs/xmalloc.h: New file.
65099         * catgets/gencat.c: Include it.
65100         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
65101         * elf/pldd.c: Likewise.
65102         * iconv/iconv_charmap.c: Likewise.
65103         * iconv/iconvconfig.c: Likewise.
65104         * iconv/strtab.c: Likewise.
65105         * locale/programs/locale.c: Likewise.
65106         * locale/programs/localedef.h: Likewise.
65107         * locale/programs/simple-hash.c: Likewise.
65108         * nscd/nscd.h: Likewise.
65109         * nss/makedb.c: Likewise.
65110         * sysdeps/generic/ldconfig.h: Likewise.
65112 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65114         * Versions.def: Add GLIBC_2.18.
65115         * include/link.h (struct link_map): New member l_tls_dtor_count.
65116         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
65117         (__call_tls_dtors): Likewise.
65118         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
65119         __cxa_thread_atexit_impl.
65120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65121         Likewise.
65122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65123         Likewise.
65124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
65125         Likewise.
65126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
65127         Likewise.
65128         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
65130         Likewise.
65131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
65132         Likewise.
65133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65135         Likewise.
65136         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
65137         (tests): Add test case tst-tls-atexit.
65138         (modules-names): Add shared library for tst-tls-atexit.
65139         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
65140         (GLIBC_PRIVATE): Add __call_tls_dtors.
65141         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
65142         for libstdc++.
65143         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
65144         * stdlib/tst-tls-atexit.c: New test case.
65145         * stdlib/tst-tls-atexit-lib.c: New test case.
65147         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
65149         * elf/Versions (ld): Add _dl_find_dso_for_object.
65150         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
65151         * elf/dl-open.c (_dl_find_dso_for_object): New function.
65152         (dl_open_worker): Use _dl_find_dso_for_object.
65153         * elf/dl-sym.c (do_sym): Likewise.
65154         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
65156 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65158         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
65159         Syntactic changes only.
65160         (_dl_runtime_profile): Do a tail-call to the resolved function.
65162 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
65164         [BZ #13550]
65165         * sysdeps/x86_64/bp-asm.h: Remove file.
65166         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
65167         <bp-sym.h> and <bp-asm.h>.
65168         (__clone): Do not use BP_SYM.
65169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
65170         <bp-sym.h> and <bp-asm.h>.
65171         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65172         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
65173         "bp-asm.h".
65174         (_setjmp): Do not use BP_SYM.
65175         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
65176         "bp-asm.h".
65177         (setjmp): Do not use BP_SYM.
65178         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
65179         libc_hidden_def.
65180         (mempcpy): Do not use BP_SYM in weak_alias.
65181         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
65182         "bp-asm.h".
65183         (strchr): Do not use BP_SYM.
65184         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
65185         "bp-asm.h".
65186         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
65187         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
65188         (_start): Do not use BP_SYM.
65189         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
65190         "bp-asm.h".
65191         (strcat): Do not use BP_SYM.
65192         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
65193         "bp-asm.h".
65194         (STRCMP): Do not use BP_SYM.
65195         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
65196         "bp-asm.h".
65197         (STRCPY): Do not use BP_SYM.
65198         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
65199         "bp-asm.h".
65200         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
65201         "bp-asm.h".
65202         (FUNCTION): Do not use BP_SYM.
65203         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
65204         weak_alias.
65205         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
65207 2013-02-17  Andreas Jaeger  <aj@suse.de>
65209         * time/Versions: Sort entries.
65210         * string/Versions: Likewise.
65211         * resolv/Versions: Likewise.
65212         * posix/Versions: Likewise.
65213         * iconv/Versions: Likewise.
65214         * elf/Versions: Likewise.
65215         * wcsmbs/Versions: Likewise.
65217 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65219         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
65220         loop termination condition.
65222         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
65223         variable to calculate EZ.
65224         (__sqr): Likewise.
65226         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
65227         the lower precision input.
65229 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
65231         [BZ #13550]
65232         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
65233         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
65234         (run-via-rtld-prefix): Do not handle %-bp tests.
65235         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
65236         (all-object-suffixes): Remove .ob.
65237         (bppfx): Remove variable.
65238         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
65239         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
65240         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
65241         [$(build-bounded) = yes] (libtype.ob): Likewise.
65242         * Makerules (elide-routines.ob): Remove variable.
65243         (do-tests-clean): Do not handle *-bp.out.
65244         (common-mostlyclean): Do not handle *-bp and *-bp.out.
65245         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
65246         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
65247         (tests): Do not include $(tests-bp.out).
65248         (xtests): Do not include $(xtests-bp.out).
65249         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
65250         [$(build-bounded) = yes] ($(addprefix
65251         $(objpfx),$(binaries-bounded))): Remove rule.
65252         ($(objpfx)%-bp.out): Remove rule.
65253         * config.make.in (build-bounded): Remove variable.
65254         * crypt/Makefile [$(build-bounded) = yes]
65255         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
65256         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
65257         append to variable.
65258         [$(build-bounded) = yes] (install-lib): Likewise.
65259         [$(build-bounded) = yes] (generated): Likewise.
65260         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
65261         Remove rule.
65262         * intl/Makefile [$(build-bounded) = yes]
65263         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
65264         * math/Makefile [$(build-bounded) = yes]
65265         ($(tests:%=$(objpfx)%-bp): Likewise.
65266         * misc/Makefile [$(build-bounded) = yes]
65267         ($(objpfx)tst-tsearch-bp): Likewise.
65268         * nptl/Makeconfig (bounded-thread-library): Remove variable.
65269         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
65270         Remove dependency.
65271         * string/Makefile (o-objects.ob): Remove variable.
65272         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
65273         (CFLAGS-.ob): Remove variable.
65274         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
65275         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
65276         both definitions of variable.
65277         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
65278         (ASFLAGS-.ob): Remove variable.
65280 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
65282         [BZ #13550]
65283         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
65284         Remove __BOUNDED_POINTERS__ from condition.
65285         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
65286         * string/bits/string2.h [!__NO_STRING_INLINES &&
65287         !__BOUNDED_POINTERS__]: Likewise.
65288         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
65289         Likewise.
65290         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
65291         Remove conditional code.
65292         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
65293         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
65294         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65295         condition.
65297         [BZ #13550]
65298         * csu/libc-start.c: Do not include <bp-sym.h>.
65299         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65300         * elf/dl-open.c: Do not include <bp-sym.h>.
65301         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65302         * math/fegetenv.c: Do not include <bp-sym.h>.
65303         (fegetenv): Do not use BP_SYM in versioned symbols.
65304         * nptl/sysdeps/pthread/bits/libc-lockP.h
65305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65306         <bp-sym.h>.
65307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65308         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65310         (__pthread_mutex_destroy): Likewise.
65311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65312         (__pthread_mutex_lock): Likewise.
65313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65314         (__pthread_mutex_trylock): Likewise.
65315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65316         (__pthread_mutex_unlock): Likewise.
65317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65318         (__pthread_mutexattr_init): Likewise.
65319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65320         (__pthread_mutexattr_destroy): Likewise.
65321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65322         (__pthread_mutexattr_settype): Likewise.
65323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65324         (__pthread_rwlock_init): Likewise.
65325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65326         (__pthread_rwlock_destroy): Likewise.
65327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65328         (__pthread_rwlock_rdlock): Likewise.
65329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65330         (__pthread_rwlock_tryrdlock): Likewise.
65331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65332         (__pthread_rwlock_wrlock): Likewise.
65333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65334         (__pthread_rwlock_trywrlock): Likewise.
65335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65336         (__pthread_rwlock_unlock): Likewise.
65337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65338         (__pthread_key_create): Likewise.
65339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65340         (__pthread_setspecific): Likewise.
65341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65342         (__pthread_getspecific): Likewise.
65343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65344         Likewise.
65345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65346         (_pthread_cleanup_push_defer): Likewise.
65347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65348         (_pthread_cleanup_pop_restore): Likewise.
65349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65350         (pthread_setcancelstate): Likewise.
65351         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65352         <bp-sym.h>.
65353         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65354         (memchr): Do not use BP_SYM in weak_alias.
65355         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65356         (fegetenv): Do not use BP_SYM in versioned symbols.
65357         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65358         (fesetenv): Do not use BP_SYM in versioned symbols.
65359         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65360         (feupdateenv): Do not use BP_SYM in versioned symbols.
65361         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65362         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65363         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65364         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65365         (open64): Do not use BP_SYM in weak_alias.
65366         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65367         (fegetenv): Do not use BP_SYM in versioned symbols.
65368         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65369         (fesetenv): Do not use BP_SYM in versioned symbols.
65370         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65371         (feupdateenv): Do not use BP_SYM in versioned symbols.
65372         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65373         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65374         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65375         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65376         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65377         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65378         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65379         <bp-sym.h>.
65380         (__libc_start_main): Do not use BP_SYM.
65382 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65385         redundant return line.
65386         (norm): Likewise.
65387         (denorm): Likewise.
65388         (dbl_mp): Likewise.
65389         (sub_magnitudes): Likewise.
65390         (__add): Likewise.
65391         (__sub): Likewise.
65392         (__mul): Likewise.
65393         (__inv): Likewise.
65394         (__dvd): Likewise.
65395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65396         (norm): Likewise.
65397         (denorm): Likewise.
65398         (dbl_mp): Likewise.
65399         (sub_magnitudes): Likewise.
65400         (__add): Likewise.
65401         (__sub): Likewise.
65402         (__mul): Likewise.
65403         (__inv): Likewise.
65404         (__dvd): Likewise.
65406         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65407         instead of __mul.
65408         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65409         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65410         (cc32): Likewise.
65412         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65413         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65414         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65415         of __mul for squares.
65416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65417         function
65418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65419         Likewise.
65420         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65421         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65423 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65425         [BZ #13550]
65426         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65427         code.
65428         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65429         prototype or function definition.  Rename ubp_* variables and
65430         parameters.  Remove argv definitions conditional on
65431         [__BOUNDED_POINTERS__].
65432         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65433         * elf/dl-runtime.c (_dl_fixup): Likewise.
65434         * include/set-hooks.h (RUN_HOOK): Likewise.
65435         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65436         definition.
65437         * string/strcpy.c (strcpy): Do not use __unbounded.
65438         * sysdeps/generic/frame.h (struct layout): Likewise.
65439         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65440         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65441         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65442         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65443         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65444         (__backtrace): Likewise.
65445         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65446         use __ptrvalue.
65447         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65448         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65449         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65450         Likewise.
65451         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65452         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65453         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65454         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65455         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65456         Do not use __unbounded.
65457         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65458         Rename __unboundedrlimits parameter to rlimits in prototype.
65459         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65460         Do not use __unbounded.
65461         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65462         not use __ptrvalue.
65463         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65464         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65465         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65466         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65467         __ptrvalue or __unbounded.
65468         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65469         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65470         use __unbounded.
65471         (__new_msgctl): Do not use __ptrvalue.
65472         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65473         __unbounded.
65474         (__libc_msgrcv): Do not use __ptrvalue.
65475         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65476         startup_info): Do not use __unbounded.
65477         (__libc_start_main): Likewise.  Rename ubp_* variables and
65478         parameters.  Remove argv definitions conditional on
65479         [__BOUNDED_POINTERS__].
65480         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65481         __ptrvalue.
65482         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65483         use __unbounded.
65484         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65485         or __ptrvalue.
65486         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65487         use __unbounded.
65488         (__new_shmctl): Do not use __ptrvalue.
65489         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65490         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65491         Likewise.
65492         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65493         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65494         (__libc_sigaction): Likewise.
65495         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65496         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65497         Likewise.
65498         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65500 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65502         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65504         * string/mempcpy.c: Implement by calling memcpy.
65506 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65508         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65510         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65511         evaluation.
65513         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65514         values in the mantissa.
65516         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65517         minimize writes to Z.
65518         (sub_magnitudes): Simplify code a bit.
65520 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65522         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65523         from the message.  The linker prefixes all warnings with that already.
65525 2013-02-12  Andreas Schwab  <schwab@suse.de>
65527         [BZ #15078]
65528         * posix/regexec.c (extend_buffers): Add parameter min_len.
65529         (check_matching): Pass minimum needed length.
65530         (clean_state_log_if_needed): Likewise.
65531         (get_subexp): Likewise.
65532         * posix/Makefile (tests): Add bug-regex34.
65533         (bug-regex34-ENV): Define.
65534         * posix/bug-regex34.c: New file.
65536         [BZ #11561]
65537         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65538         elements compare against the byte sequence of it, not its name.
65539         * posix/Makefile (tests): Add bug-regex35.
65540         (bug-regex35-ENV): Define.
65541         * posix/bug-regex35.c: New file.
65543 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65545         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65546         comment.
65547         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65548         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65549         (CHECK_EOL): Add undef.
65551 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65553         * bits/stdlib-bsearch.h: New file.
65554         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65555         * stdlib/stdlib.h: Likewise.
65557 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65559         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65560         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65561         declaration.
65562         * manual/search.texi (Array Search Function): Add missing const in
65563         lfind prototype.
65564         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65565         declaration to use rlim_t.
65566         (Basic Scheduling Functions): Remove erroneous const from
65567         sched_getparam prototype.  Remove erroneous * from
65568         sched_get_priority_max and sched_get_priority_min prototypes.
65569         (Resource Usage): Fix summary @comment on vtimes to refer to
65570         sys/vtimes.h rather than vtimes.h.
65571         Add missing *s in vtimes prototype.
65572         (Limits on Resources): Fix ulimit prototype to return long int.
65573         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65574         prototypes to use long int rather than double.
65575         (BSD Random): Fix initstate and setstate to use char *, not void *.
65576         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65577         prototype to make second argument 'struct aiocb64 *const[]'.
65578         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65579         (Status of AIO Operations): Remove erroneous const in aio_return and
65580         aio_return64 prototypes.
65581         (Synchronizing I/O): Fix sync prototype to return void.
65582         * manual/startup.texi (Suboptions): Remove an erroneous const in
65583         getsubopt prototype.
65584         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65585         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65586         use size_t rather than int.
65587         (Scanning All Users): Likewise for getpwent_r.
65588         (Setting Groups): Add missing const to setgroups prototype.
65589         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65590         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65591         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65592         'const void *' rather than 'const char *'.
65593         (Host Address Functions): Likewise for inet_ntop.
65594         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65595         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65596         ssize_t for return value.
65597         (Sending Data): Likewise for send, sendto, sendmsg.
65598         (Socket Option Functions): Add a missing const in setsockopt prototype.
65599         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65600         use wchar_t for the argument.
65601         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65602         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65603         take no arguments.
65604         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65605         double/float/long double for second argument.
65606         Fix return types of significand, significandf, significandl.
65607         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65608         argument in fchmod prototype.
65609         (File Owner): Use uid_t and gid_t in fchown prototype.
65610         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65611         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65612         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65613         use 'const struct dirent **' as argument types to CMP function pointer
65614         argument.
65615         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65616         (File Times): Fix summary magic @comment for struct utimbuf and utime
65617         to refer to utime.h, not time.h.
65618         * manual/string.texi (Argz Functions): Add missing const in
65619         argz_extract and argz_next prototypes.
65620         (Finding Tokens in a String): Likewise for basename.
65621         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65622         (Copying and Concatenation): Fix typo in wmemmove prototype.
65623         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65624         (Signal Stack): Remove erroneous const in sigstack prototype.
65625         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65626         prototype.
65627         (Simple Calendar Time): Likewise for stime.
65628         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65629         prototype.
65630         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65631         say sys/sysctl.h instead.
65632         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65633         and vsyslog prototypes.
65635 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65637         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65638         Remove.
65640 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65642         * misc/sys/mman.h: Fix typo in mremap comment.
65644 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65646         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65647         the '\0' terminator.
65649 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65651         [BZ #13550]
65652         * debug/segfault.c: Don't include <bp-checks.h>.
65653         * sysdeps/generic/bp-checks.h: Remove file.
65654         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65655         (__GETDENTS): Don't use CHECK_N.
65656         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65657         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65658         (__getgroups): Don't use CHECK_N.
65659         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65660         (setgroups): Don't use CHECK_N.
65661         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65662         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65663         (__libc_msgrcv): Don't use CHECK_N.
65664         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65665         (__libc_msgsnd): Don't use CHECK_N.
65666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65667         <bp-checks.h>.
65668         (__libc_pread): Don't use CHECK_N.
65669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65670         include <bp-checks.h>.
65671         (__libc_pread64): Don't use CHECK_N.
65672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65673         include <bp-checks.h>.
65674         (__libc_pwrite): Don't use CHECK_N.
65675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65676         include <bp-checks.h>.
65677         (__libc_pwrite64): Don't use CHECK_N.
65678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65679         <bp-checks.h>.
65680         (__libc_pread): Don't use CHECK_N.
65681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65682         include <bp-checks.h>.
65683         (__libc_pread64): Don't use CHECK_N.
65684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65685         include <bp-checks.h>.
65686         (__libc_pwrite): Don't use CHECK_N.
65687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65688         include <bp-checks.h>.
65689         (__libc_pwrite64): Don't use CHECK_N.
65690         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65691         (do_pread): Don't use CHECK_N.
65692         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65693         (do_pread64): Don't use CHECK_N.
65694         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65695         (do_pwrite): Don't use CHECK_N.
65696         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65697         (do_pwrite64): Don't use CHECK_N.
65698         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65699         (__libc_readv): Don't use CHECK_N.
65700         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65701         (semop): Don't use CHECK_N.
65702         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65703         <bp-checks.h>.
65704         (semtimedop): Don't use CHECK_N.
65705         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65706         (__libc_pread): Don't use CHECK_N.
65707         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65708         <bp-checks.h>.
65709         (__libc_pread64): Don't use CHECK_N.
65710         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65711         <bp-checks.h>.
65712         (__libc_pwrite): Don't use CHECK_N.
65713         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65714         <bp-checks.h>.
65715         (__libc_pwrite64): Don't use CHECK_N.
65716         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65717         <bp-checks.h>.
65718         (__libc_msgrcv): Don't use CHECK_N.
65719         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65720         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65721         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65722         (__libc_writev): Don't use CHECK_N.
65724 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65726         * string/strcpy.c: Removed unused variable.
65728         * Makeconfig (+sysdep-includes): Define with := rather than =.
65729         Use an existing include/ subdir of each sysdeps dir before it.
65731 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65733         * nscd/connection.c (register_traced_file): Comment function.
65734         [HAVE_INOTIFY] (union __inev): Define.
65735         [HAVE_INOTIFY] (inotify_check_files): New function.
65736         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65737         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65738         clear_db_cache.
65739         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65741 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65743         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65744         loaded if not already and that a failure is permanent.
65746 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65748         [BZ #15006]
65749         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65750         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65752 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65754         [BZ #13550]
65755         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65756         (CHECK_1_NULL_OK): Likewise.
65757         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65758         (__fxstat): Do not use CHECK_1.
65759         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65760         <bp-checks.h>.
65761         (___fxstat64): Do not use CHECK_1.
65762         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65763         <bp-checks.h>.
65764         (__fxstatat): Do not use CHECK_1.
65765         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65766         <bp-checks.h>.
65767         (__fxstatat64): Do not use CHECK_1.
65768         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65769         <bp-checks.h>.
65770         (__fxstat): Do not use CHECK_1.
65771         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65772         <bp-checks.h>.
65773         (__fxstatat): Do not use CHECK_1.
65774         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65775         <bp-checks.h>.
65776         (__getresgid): Do not use CHECK_1.
65777         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65778         <bp-checks.h>.
65779         (__getresuid): Do not use CHECK_1.
65780         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65781         <bp-checks.h>.
65782         (__lxstat): Do not use CHECK_1.
65783         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65784         <bp-checks.h>.
65785         (__old_msgctl): Do not use CHECK_1.
65786         (__new_msgctl): Likewise.
65787         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65788         <bp-checks.h>.
65789         (__new_setrlimit): Do not use CHECK_1.
65790         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65791         <bp-checks.h>.
65792         (__old_shmctl): Do not use CHECK_1.
65793         (__new_shmctl): Likewise.
65794         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65795         <bp-checks.h>.
65796         (__xstat): Do not use CHECK_1.
65797         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65798         (__lxstat): Do not use CHECK_1.
65799         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65800         <bp-checks.h>.
65801         (___lxstat64): Do not use CHECK_1.
65802         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65803         (__old_msgctl): Do not use CHECK_1.
65804         (__new_msgctl): Likewise.
65805         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65806         <bp-checks.h>.
65807         (__gettimeofday): Do not use CHECK_1.
65808         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65809         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65810         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65811         <bp-checks.h>.
65812         (__gettimeofday): Do not use CHECK_1.
65813         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65814         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65815         (__new_shmctl): Do not use CHECK_1.
65816         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65817         <bp-checks.h>.
65818         (do_sigtimedwait): Do not use CHECK_1.
65819         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65820         <bp-checks.h>.
65821         (do_sigwaitinfo): Do not use CHECK_1.
65822         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65823         <bp-checks.h>.
65824         (msgctl): Do not use CHECK_1.
65825         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65826         <bp-checks.h>.
65827         (shmctl): Do not use CHECK_1.
65828         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65829         (ustat): Do not use CHECK_1.
65830         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65831         <bp-checks.h>.
65832         (__fxstat): Do not use CHECK_1.
65833         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65834         <bp-checks.h>.
65835         (__fxstatat): Do not use CHECK_1.
65836         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65837         <bp-checks.h>.
65838         (__lxstat): Do not use CHECK_1.
65839         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65840         <bp-checks.h>.
65841         (__xstat): Do not use CHECK_1.
65842         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65843         (__xstat): Do not use CHECK_1.
65844         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65845         (___xstat64): Do not use CHECK_1.
65847         [BZ #13550]
65848         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65849         definitions.
65850         (CHECK_BOUNDS_HIGH): Likewise.
65851         * string/strcpy.c: Do not include <bp-checks.h>.
65852         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65854 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65856         * nscd/nscd-client.h (__nscd_drop_map_ref):
65857         Add __attribute__ ((unused)).
65858         * nis/nss-nisplus.h (niserr2nss): Likewise.
65860         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65861         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65863         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65864         Remove inline keyword.
65865         * include/rounding-mode.h (round_away): Likewise.
65866         * libio/wfileops.c (adjust_wide_data): Likewise.
65867         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65868         (__m128i_strloadu_tolower): Likewise.
65869         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65870         (__m128i_strloadu_tolower): Likewise.
65871         * time/mktime.c (ydhms_diff): Likewise.
65872         * locale/elem-hash.h (elem_hash): Likewise.
65873         * locale/setlocale.c (setdata): Likewise.
65874         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65875         (re_string_wchar_at): Likewise.
65876         (bitset_not, bitset_merge, bitset_mask): Likewise.
65877         [!(__GNUC__ > 3)] (inline): Remove macro.
65878         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65879         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65880         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65881         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65882         * string/memcmp.c (memcmp_bytes): Likewise.
65883         * locale/programs/locarchive.c (compute_hashval): Likewise.
65884         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65885         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65886         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65887         * nss/getent.c (print_rpc, print_protocols): Likewise.
65888         (print_passwd, print_group, print_aliases): Likewise.
65889         * nis/nss-nisplus.h (niserr2nss): Likewise.
65890         * nscd/connections.c (restart_p): Likewise.
65891         Change return type to bool.
65893 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65895         * Makeconfig (all-Depend-files): Add existing
65896         $(sorted-subdirs:=/Depend) files.
65897         (all-subdirs): Remove nss.
65898         * sysdeps/unix/inet/Subdirs: Add it here instead.
65899         * hesiod/Depend: New file.
65901         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65902         instead of calling alloca.
65904         * io/lseek.c (__lseek): Rename to __libc_lseek.
65905         Define __lseek as an alias.
65907         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65909 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65911         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65912         else clause and remove check for non-standard endianness.
65914 2013-02-04  David S. Miller  <davem@davemloft.net>
65916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65918 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65920         [BZ #13550]
65921         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65922         (__ubp_memchr): Remove prototype.
65923         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65924         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65925         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65926         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65927         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65928         Remove alias.
65929         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65930         (__ubp_memchr): Likewise.
65931         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65932         (__ubp_memchr): Likewise.
65933         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65934         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65935         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65936         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65937         CHECK_STRING.
65938         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65939         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65940         (__getcwd): Do not use CHECK_STRING.
65941         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65942         <bp-checks.h>.
65943         (__real_chown): Do not use CHECK_STRING.
65944         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65945         <bp-checks.h>.
65946         (fchownat): Do not use CHECK_STRING.
65947         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65948         CHECK_STRING.
65949         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65950         <bp-checks.h>.
65951         (__lchown): Do not use CHECK_STRING.
65952         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65953         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65954         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65955         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65957         include <bp-checks.h>.
65958         (truncate64): Do not use CHECK_STRING.
65959         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65960         <bp-checks.h>.
65961         (__real_chown): Do not use CHECK_STRING.
65962         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65963         <bp-checks.h>.
65964         (__lchown): Do not use CHECK_STRING.
65965         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65966         <bp-checks.h>.
65967         (__chown): Do not use CHECK_STRING.
65968         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65969         <bp-checks.h>.
65970         (truncate64): Do not use CHECK_STRING.
65971         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65972         Likewise.
65973         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65974         (__xmknod): Do not use CHECK_STRING.
65975         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65976         <bp-checks.h>.
65977         (__xmknodat): Do not use CHECK_STRING.
65978         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65979         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65981 2013-02-04  Andreas Schwab  <schwab@suse.de>
65983         [BZ #14142]
65984         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65985         * include/netdb.h: Likewise for h_errno.
65986         * elf/tst-stackguard1.c: Include <tls.h>.
65988 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65990         * elf/link.h (struct link_map): Extend the l_addr comment.
65991         * include/link.h (struct link_map): Likewise.
65993 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65995         [BZ #13550]
65996         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65997         (BOUNDED_1): Remove macro.
65998         * debug/backtrace.c: Don't include <bp-checks.h>.
65999         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
66000         (__backtrace): Likewise.
66001         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
66002         <bp-checks.h>.
66003         (__backtrace): Don't use BOUNDED_1.
66004         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
66005         <bp-checks.h>.
66006         (__backtrace): Don't use BOUNDED_1.
66007         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
66008         (__backtrace): Don't use BOUNDED_1.
66009         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
66010         (shmat): Don't use BOUNDED_N.
66012 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
66014         [BZ #13550]
66015         * sysdeps/generic/bp-start.h: Remove file.
66016         * csu/libc-start.c: Don't include <bp-start.h>.
66017         (LIBC_START_MAIN): Set up __environ directly instead of using
66018         INIT_ARGV_and_ENVIRON.
66019         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
66020         <bp-start.h>.
66022         [BZ #13550]
66023         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
66024         definitions.
66025         (CHECK_FCNTL): Likewise.
66026         (CHECK_N_PAGES): Likewise.
66028         [BZ #13550]
66029         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
66030         definitions.
66031         (CHECK_SIGSET_NULL_OK): Likewise.
66032         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
66033         <bp-checks.h>.
66034         (sigpending): Don't use CHECK_SIGSET.
66035         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
66036         <bp-checks.h>.
66037         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66038         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
66039         <bp-checks.h>.
66040         (do_sigsuspend): Don't use CHECK_SIGSET.
66041         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
66042         use CHECK_SIGSET.
66043         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
66044         (do_sigwait): Don't use CHECK_SIGSET.
66045         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
66046         use CHECK_SIGSET.
66047         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
66048         include <bp-checks.h>.
66049         (sigpending): Don't use CHECK_SIGSET.
66050         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
66051         include <bp-checks.h>.
66052         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66053         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
66054         <bp-checks.h>.
66055         (sigpending): Don't use CHECK_SIGSET.
66056         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
66057         <bp-checks.h>.
66058         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66060         [BZ #13550]
66061         * sysdeps/generic/bp-semctl.h: Remove file.
66062         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
66063         <bp-checks.h> and <bp-semctl.h>.
66064         (__old_semctl): Don't use CHECK_SEMCTL.
66065         (__new_semctl): Likewise.
66066         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
66067         and <bp-semctl.h>.
66068         (__old_semctl): Don't use CHECK_SEMCTL.
66069         (__new_semctl): Likewise.
66070         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
66071         <bp-checks.h> and <bp-semctl.h>.
66072         (__old_semctl): Don't use CHECK_SEMCTL.
66073         (__new_semctl): Likewise.
66074         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
66075         <bp-checks.h> and <bp-semctl.h>.
66076         (semctl): Don't use CHECK_SEMCTL.
66078         [BZ #13550]
66079         * Makerules (elide-bp-thunks): Remove variable.
66080         (elide-routines.oS): Don't use $(elide-bp-thunks).
66081         (elide-routines.os): Likewise.
66082         (elide-routines.o): Likewise.
66083         (elide-routines.op): Likewise.
66084         (elide-routines.og): Likewise.
66085         (objects): Don't use $(bp-thunks).
66086         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
66087         include.
66088         (common-generated): Do not add s-proto-bp.d.
66089         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
66090         (int): Likewise.
66091         (typ): Likewise.
66092         Do not generate makefile rules for bounded-pointer thunks.
66093         * sysdeps/generic/bp-thunks.h: Remove file.
66094         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
66095         * sysdeps/unix/s-proto-bp.S: Likewise.
66097         [BZ #15062]
66098         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
66099         parts of result separately when argument is not close to line from
66100         -i to i and one part of argument is small.
66101         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66102         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66103         * math/libm-test.inc (cacos_test): Add more tests.
66104         (casin_test): Likewise.
66105         (casinh_test): Likewise.
66106         * sysdeps/i386/fpu/libm-test-ulps: Update.
66107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66109 2013-01-31  David S. Miller  <davem@davemloft.net>
66111         * po/de.po: Update from translation team.
66113 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
66115         * time/tzfile.c: Include stdint.h for SIZE_MAX.
66117 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
66119         * configure.in (_AC_PROG_CC_C89): New definition.
66120         * configure: Regenerate.
66122         * configure.in (AC_PROG_CPP): New definition.
66123         * configure: Regenerate.
66125 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66127         * debug/tst-backtrace.h: New file.
66128         * debug/tst-backtrace2.c: Include tst-backtrace.h.
66129         (ret): Remove variable.
66130         (x): Likewise.
66131         (FAIL): Remove macro.
66132         (NO_INLINE): Likewise.
66133         (fn1): Use match function instead of strstr.
66134         * debug/tst-backtrace3.c: Include tst-backtrace.h.
66135         (ret): Remove variable.
66136         (x): Likewise.
66137         (FAIL): Remove macro.
66138         (NO_INLINE): Likewise.
66139         (fn): Use match function instead of strstr.
66140         * debug/tst-backtrace4.c: Include tst-backtrace.h.
66141         (ret): Remove variable.
66142         (x): Likewise.
66143         (FAIL): Remove macro.
66144         (NO_INLINE): Likewise.
66145         (handle_signal): Use match function instead of strstr.
66146         * debug/tst-backtrace5.c: Include tst-backtrace.h.
66147         (ret): Remove variable.
66148         (x): Likewise.
66149         (FAIL): Remove macro.
66150         (NO_INLINE): Likewise.
66151         (handle_signal): Use match function instead of strstr.
66153 2013-01-23  Roland McGrath  <roland@hack.frob.com>
66155         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
66157 2013-01-23  David S. Miller  <davem@davemloft.net>
66159         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
66160         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
66161         argument of CAS if possible.
66162         * sysdeps/sparc/sparc64/bits/atomic.h
66163         (__arch_compare_and_exchange_val_32_acq): Likewise.
66164         (__arch_compare_and_exchange_val_64_acq): Likewise.
66166 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
66168         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
66169         * sysdeps/posix/ulimit.c: ... this.
66170         Include <limits.h>.
66171         * sysdeps/unix/bsd/ulimit.c: Remove file.
66173 2013-01-23  Adam Conrad  <adconrad@0c3.net>
66175         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
66176         (LDFLAGS-tst-array5): Likewise.
66178 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66180         [BZ #15036]
66181         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
66182         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
66183         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
66184         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
66186 2013-01-21  David S. Miller  <davem@davemloft.net>
66188         * sysdeps/sparc/backtrace.c: New file.
66189         * sysdeps/sparc/sparc32/backtrace.h: New file.
66190         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
66191         * sysdeps/sparc/sparc64/backtrace.h: New file.
66192         * sysdeps/sparc/sparc64/backtrace.c: Delete.
66193         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
66194         -funwind-tables.
66196 2013-01-21  Andreas Schwab  <schwab@suse.de>
66198         [BZ #15020]
66199         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
66200         closed its stdout.
66202 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
66204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
66205         "mpa2.h".
66206         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66208 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
66209             Mark Mitchell  <mark@codesourcery.com>
66210             Tom de Vries  <tom@codesourcery.com>
66211             Paul Pluzhnikov  <ppluzhnikov@google.com>
66213         * debug/tst-backtrace2.c: New file.
66214         * debug/tst-backtrace3.c: Likewise.
66215         * debug/tst-backtrace4.c: Likewise.
66216         * debug/tst-backtrace5.c: Likewise.
66217         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
66218         (CFLAGS-tst-backtrace3.c): Likewise.
66219         (CFLAGS-tst-backtrace4.c): Likewise.
66220         (CFLAGS-tst-backtrace5.c): Likewise.
66221         (LDFLAGS-tst-backtrace2): Likewise.
66222         (LDFLAGS-tst-backtrace3): Likewise.
66223         (LDFLAGS-tst-backtrace4): Likewise.
66224         (LDFLAGS-tst-backtrace5): Likewise.
66225         (tests): Add new tests tst-backtrace2, tst-backtrace3,
66226         tst-backtrace4 and tst-backtrace5.
66228 2013-01-18  Anton Blanchard  <anton@samba.org>
66229             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66231         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
66232         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
66233         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
66234         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
66235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66236         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
66237         "+r" and remove output regs list as redundant.  Add explicit inline
66238         asm to specify register of return val to work around compiler codegen
66239         bug.  Remove (int) cast on return value.  Add return type parameter to
66240         use in macro so that this macro does not truncate return value for
66241         64-bit values.
66242         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
66243         pass to INTERNAL_VSYSCALL_NCS.
66244         (INLINE_VSYSCALL): Add 'long int' as return type to
66245         INTERNAL_VSYSCALL_NCS macro invocation.
66246         (INTERNAL_VSYSCALL): Add 'long int' as return type to
66247         INTERNAL_VSYSCALL_NCS macro invocation.
66248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66250 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66252         [BZ #14496]
66253         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
66254         Fix application of SIMD FP exception mask.
66256         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
66257         mp_no from a power of two.
66258         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
66259         __mpexp_twomm1.  Use __pow_mp.
66261         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
66262         multiplication.
66264 2013-01-17  David S. Miller  <davem@davemloft.net>
66266         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66268 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66270         [BZ #15023]
66271         * include/complex.h: Condition contents on [!_COMPLEX_H].
66272         (__kernel_casinhf): New prototype.
66273         (__kernel_casinh): Likewise.
66274         (__kernel_casinhl): Likewise.
66275         * math/Makefile (libm_calls): Add k_casinh.
66276         * math/k_casinh.c: New file.
66277         * math/k_casinhf.c: Likewise.
66278         * math/k_casinhl.c: Likewise.
66279         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
66280         finite nonzero arguments.
66281         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
66282         finite nonzero arguments.
66283         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
66284         finite nonzero arguments.
66285         * math/s_casinh.c: Do not include <float.h>.
66286         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
66287         * math/s_casinhf.c: Do not include <float.h>.
66288         (__casinhf): Move code for finite nonzero arguments to
66289         k_casinhf.c.
66290         * math/s_casinhl.c: Do not include <float.h>.
66291         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
66292         redefine.
66293         (__casinhl): Move code for finite nonzero arguments to
66294         k_casinhl.c.
66295         * math/libm-test.inc (cacos_test): Add more tests.
66296         * sysdeps/i386/fpu/libm-test-ulps: Update.
66297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66299 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66301         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66302         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66303         [!HAVE_MREMAP]: Remove [defined linux] case.
66304         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66306 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66308         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66310 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66312         * elf/elf.h (R_386_SIZE32): New relocation.
66313         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66314         R_386_SIZE32.
66315         (elf_machine_rela): Likewise.
66316         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66317         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66319 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66321         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66322         (FP_FAST_FMA): Do not define.
66323         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66324         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66325         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66326         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66327         !_SOFT_FLOAT]: Likewise.
66328         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66329         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66330         value.
66331         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66332         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66333         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66334         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66335         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66336         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66337         file.
66339 2013-01-16  Andreas Schwab  <schwab@suse.de>
66341         [BZ #14327]
66342         * include/stdlib.h (__mktemp): Add declaration.
66343         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66344         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66346 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66348         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66349         definitions.
66350         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66351         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66352         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66353         definitions here.
66354         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66355         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66356         definitions.
66357         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66358         and ONE.
66359         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66360         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66361         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66362         definitions.
66363         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66364         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66365         definitions.
66366         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66368         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66370 2013-01-15  David S. Miller  <davem@davemloft.net>
66372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66373         trunc{,f} to libm-sysdep_routes.
66374         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66376         file.
66377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66379         file.
66380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66381         file.
66382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66384         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66385         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66386         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66387         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66388         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66389         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66392         nearbyint{,f} to libm-sysdep_routes.
66393         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66395         New file.
66396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66397         file.
66398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66399         New file.
66400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66401         file.
66402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66404         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66405         file.
66406         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66407         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66408         file.
66409         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66410         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66411         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66413         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66414         libc_feholdexcept and libc_fesetenv.
66416 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66418         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66420 2013-01-14  David S. Miller  <davem@davemloft.net>
66422         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66423         (SPARC_ASM_VIS2_IFUNC): Likewise.
66424         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66426         use of 'siam' instruction.
66427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66428         Likewise.
66429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66430         Likewise.
66431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66432         Likewise.
66433         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66434         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66435         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66436         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66438         file.
66439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66440         file.
66441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66442         file.
66443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66444         file.
66445         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66446         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66447         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66450         new VIS2 routines.
66451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66454         Likewise.
66455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66457         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66460         routines to libm-sysdep_routines.
66461         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66464         fdim/fdimf to libm-sysdep_routines.
66465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66466         file.
66467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66469         file.
66470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66473         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66474         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66475         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66476         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66478 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66480         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66481         to optimize copies.
66483         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66484         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66485         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66488         local variable MPTWO.
66489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66490         Likewise.
66492 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66494         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66495         GLOB_NOESCAPE.
66497 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66499         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66501 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66503         * manual/pattern.texi (glob_t): Document gl_flags.
66504         (glob64_t): Likewise.
66506 2013-01-11  David S. Miller  <davem@davemloft.net>
66508         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66509         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66510         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66511         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66512         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66513         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66514         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66515         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66516         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66517         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66518         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66519         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66520         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66522         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66523         sparc V9 rather than using V8 code.
66524         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66525         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66527         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66528         Move to...
66529         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66530         Here.
66532 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66534         [BZ #14941]
66535         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66536         not in the main loop.
66537         * configure: Regenerated.
66539 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66541         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66542         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66543         to just #else.
66544         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66545         [!__GLIBC_HAVE_LONG_LONG] case.
66546         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66547         condition to just #else.
66548         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66549         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66550         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66551         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66552         unconditional.
66553         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66554         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66555         #elif condition to just #else.
66556         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66557         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66558         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66559         #elif condition to just #else.
66561 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66563         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66564         (EF_MIPS_ARCH_64): Fix value.
66565         (EF_MIPS_ARCH_32R2): New.
66566         (EF_MIPS_ARCH_64R2): New.
66568 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66570         * Makeconfig (+link-pie-before-libc): New.
66571         (+link-pie-after-libc): Likewise.
66572         (+link-pie-tests): Likewise.
66573         (+link-pie): Rewritten.
66574         (link-before-libc): Remove $(config-LDFLAGS).
66575         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66576         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66577         (config-LDFLAGS): Renamed to ...
66578         (rtld-LDFLAGS): This.
66579         (rtld-tests-LDFLAGS): New macro.
66580         (link-libc-rpath-link): Likewise.
66581         (link-libc-tests-rpath-link): Likewise.
66582         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66583         (link-libc): Prepand $(link-libc-rpath-link).
66584         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66585         (test-program-prefix): New macro.
66586         (test-via-rtld-prefix): Likewise.
66587         (test-program-cmd): Likewise.
66588         (host-test-program-cmd): Likewise.
66589         * Makefile ($(common-objpfx)testrun.sh): Replace
66590         $(run-program-prefix) with $(test-program-prefix).
66591         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66592         $(rtld-LDFLAGS).
66593         ($(common-objpfx)shlib.lds): Likewise.
66594         (build-module-helper): Likewise.
66595         ($(common-objpfx)format.lds): Likewise.
66596         * Rules (binaries-pie-tests): New.
66597         (binaries-pie-notests): Likewise.
66598         (binaries-pie): Rewritten.
66599         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66600         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66601         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66602         (make-test-out): Replace $(host-built-program-cmd) with
66603         $(host-test-program-cmd).
66604         * config.make.in (build-hardcoded-path-in-tests): New variable.
66605         * configure.in (--enable-hardcoded-path-in-tests): New configure
66606         option.
66607         (hardcoded_path_in_tests): New AC_SUBST.
66608         * configure: Regenerated.
66609         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66610         $(built-program-cmd) with $(test-program-cmd).
66611         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66612         (test_program_cmd): This.
66613         * elf/Makefile ($(objpfx)order.out): Run test with
66614         $(test-program-prefix).
66615         ($(objpfx)order2.out): Likewise.
66616         ($(objpfx)tst-initorder.out): Likewise.
66617         ($(objpfx)tst-initorder2.out): Likewise.
66618         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66619         $(test-program-cmd).
66620         ($(objpfx)tst-array1-static.out): Likewise.
66621         ($(objpfx)tst-array2.out): Likewise.
66622         ($(objpfx)tst-array3.out): Likewise.
66623         ($(objpfx)tst-array4.out): Likewise.
66624         ($(objpfx)tst-array5.out): Likewise.
66625         ($(objpfx)tst-array5-static.out): Likewise.
66626         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66627         $(test-program-cmd).
66628         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66629         $(run-program-prefix) with $(test-program-prefix).
66630         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66631         (test_program_prefix): This.
66632         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66633         $(run-program-prefix) with $(test-program-prefix).
66634         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66635         (test_program_prefix): This.
66636         * iconvdata/tst-tables.sh: Likewise.
66637         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66638         $(run-program-prefix) with $(test-program-prefix).
66639         ($(objpfx)tst-translit.out): Likewise.
66640         ($(objpfx)tst-gettext2.out): Likewise.
66641         ($(objpfx)tst-gettext4.out): Likewise.
66642         ($(objpfx)tst-gettext6.out): Likewise.
66643         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66644         (test_program_prefix): This.
66645         * intl/tst-gettext2.sh: Likewise.
66646         * intl/tst-gettext4.sh  Likewise.
66647         * intl/tst-gettext6.sh: Likewise.
66648         * intl/tst-translit.sh: Likewise.
66649         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66650         with $(test-program-cmd).
66651         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66652         $(run-program-prefix) with $(test-program-prefix).
66653         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66654         (test_program_prefix): This.
66655         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66656         $(run-program-prefix) with $(test-program-prefix).
66657         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66658         (test_program_prefix): This.
66659         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66660         * posix/Makefile ($(objpfx)globtest.out): Replace
66661         $(run-via-rtld-prefix) and $(test-wrapper) with
66662         $(test-program-prefix) and $(test-via-rtld-prefix).
66663         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66664         $(test-program-prefix).
66665         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66666         $(host-test-program-cmd).
66667         (tst-spawn-ARGS): Likewise.
66668         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66669         $(test-program-prefix).
66670         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66671         (test_via_rtld_prefix): This.
66672         (test_wrapper): Renamed to ...
66673         (test_program_prefix): This.
66674         (run_program_prefix): Replaced by test_program_prefix.
66675         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66676         (test_program_prefix): This.
66677         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66678         with $(host-test-program-cmd).
66679         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66680         $(run-program-prefix) with $(test-program-prefix).
66681         ($(objpfx)tst-printf.out): Likewise.
66682         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66683         $(test-program-cmd).
66684         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66685         (test_program_prefix): This.
66686         * stdio-common/tst-unbputc.sh: Likewise.
66687         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66688         $(run-program-prefix) with $(test-program-prefix).
66689         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66690         (test_program_prefix): This.
66691         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66692         $(built-program-cmd) with $(test-program-cmd).
66694 2013-01-11  Andreas Jaeger  <aj@suse.de>
66696         [BZ #15003]
66697         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66698         value. Sync with Linux 3.7.
66700 2013-01-10  David S. Miller  <davem@davemloft.net>
66702         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66703         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66704         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66706 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66708         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66709         never set.
66710         * configure: Regenerated.
66712 2013-01-10  David S. Miller  <davem@davemloft.net>
66714         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66715         sparc V9 rather than using V8 code.
66716         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66717         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66719 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66721         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66722         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66723         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66724         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66725         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66726         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66727         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66728         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66729         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66730         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66731         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66732         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66733         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66734         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66735         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66736         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66737         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66738         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66739         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66740         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66741         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66742         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66743         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66744         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66745         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66746         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66747         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66749 2013-01-10  David S. Miller  <davem@davemloft.net>
66751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66753 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66755         * posix/Makefile (tests-static): New variable.
66756         (tests): Add $(tests-static).
66757         (tst-exec-static-ARGS): New variable.
66758         (tst-spawn-static-ARGS): Likewise.
66759         * posix/tst-exec-static.c: New file.
66760         * posix/tst-spawn-static.c: Likewise.
66761         * posix/tst-exec.c: Support run directly.
66762         * posix/tst-spawn.c: Likewise.
66764 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66766         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66767         long.
66768         * math/bits/mathcalls.h (llrint): Likewise.
66769         (llround): Likewise.
66770         * stdlib/stdlib.h (struct drand48_data): Likewise.
66771         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66772         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66773         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66774         Likewise.
66775         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66776         Likewise.
66777         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66778         (elf_greg_t): Likewise.
66779         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66780         (__jmp_buf): Likewise.
66781         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66782         definitions.
66783         (llrint): Likewise, for all definitions.
66784         (llrintl): Likewise.
66786         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66787         Remove [__GNUC__] condition.
66788         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66789         condition to just [__USE_ISOC99].
66790         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66792 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66794         [BZ #14200]
66795         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66796         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66797         defined.
66798         (_POSIX_V6_ILP32_OFF32): Likewise.
66799         (_XBS5_ILP32_OFF32): Likewise.
66800         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66801         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66803 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66805         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66807         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66808         doubles __mpexp_twomm1.  Adjust usage.
66809         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66810         Remove.
66812 2013-01-10  Andreas Schwab  <schwab@suse.de>
66814         [BZ #14964]
66815         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66816         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66818 2013-01-09  David S. Miller  <davem@davemloft.net>
66820         [BZ #15003]
66821         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66822         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66823         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66824         (TCP_FASTOPEN): Define.
66825         (tcp_repair_opt): New structure.
66826         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66827         enum values.
66828         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66829         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66830         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66831         (tcp_cookie_transactions): New structure.
66833 2013-01-09  Anton Blanchard  <anton@samba.org>
66835         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66836         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66837         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66838         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66840 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66842         * include/features.h (__USE_ANSI): Remove.
66844 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66846         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66848         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66850 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66852         * sysdeps/s390/fpu/libm-test-ulps: Update.
66854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66856         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66857         (__acr): Likewise.
66858         (__cpy): Likewise.
66859         (norm): Likewise.
66860         (denorm): Likewise.
66861         (__mp_dbl): Likewise.
66862         (__dbl_mp): Likewise.
66863         (add_magnitudes): Likewise.
66864         (sub_magnitudes): Likewise.
66865         (__add): Likewise.
66866         (__sub): Likewise.
66867         (__mul): Likewise.
66868         (__inv): Likewise.
66869         (__dvd): Likewise.
66870         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66871         (__acr): Likewise.
66872         (__cpy): Likewise.
66873         (norm): Likewise.
66874         (denorm): Likewise.
66875         (__mp_dbl): Likewise.
66876         (__dbl_mp): Likewise.
66877         (add_magnitudes): Likewise.
66878         (sub_magnitudes): Likewise.
66879         (__add): Likewise.
66880         (__sub): Likewise.
66881         (__mul): Likewise.
66882         (__inv): Likewise.
66883         (__dvd): Likewise.
66884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66885         (__acr): Likewise.
66886         (__cpy): Likewise.
66887         (norm): Likewise.
66888         (denorm): Likewise.
66889         (__mp_dbl): Likewise.
66890         (__dbl_mp): Likewise.
66891         (add_magnitudes): Likewise.
66892         (sub_magnitudes): Likewise.
66893         (__add): Likewise.
66894         (__sub): Likewise.
66895         (__mul): Likewise.
66896         (__inv): Likewise.
66897         (__dvd): Likewise.
66899 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66901         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66902         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66903         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66904         2 && __USE_EXTERN_INLINES]: Likewise.
66906 2013-01-08  Andreas Jaeger  <aj@suse.de>
66908         [BZ #14985]
66909         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66910         Remove.
66911         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66912         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66914 2013-01-07  Anton Blanchard  <anton@samba.org>
66916         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66917         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66918         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66919         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66920         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66921         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66922         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66923         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66925         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66926         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66927         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66928         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66929         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66930         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66931         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66932         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66933         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66934         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66935         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66936         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66937         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66938         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66939         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66940         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66941         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66942         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66943         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66944         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66945         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66946         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66948         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66949         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66950         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66951         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66952         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66953         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66954         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66955         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66956         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66957         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66958         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66960 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66962         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66963         (__MALLOC_PMT): Likewise.
66964         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66965         [__GNUC__], only on [_LIBC].
66966         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66967         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66968         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66969         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66970         forward declaration.
66971         (realloc_hook_ini): Likewise.
66972         (memalign_hook_ini): Likewise.
66973         (__libc_memalign): Do not use __MALLOC_PMT in variable
66974         declaration.
66975         (__libc_valloc): Likewise.
66976         (__libc_pvalloc): Likewise.
66977         (__libc_calloc): Likewise.
66978         (__posix_memalign): Likewise.
66980         [BZ #14996]
66981         * math/s_casinh.c: Include <float.h>.
66982         (__casinh): Do not do computation with squaring and square root
66983         for large arguments.
66984         * math/s_casinhf.c: Include <float.h>.
66985         (__casinhf): Do not do computation with squaring and square root
66986         for large arguments.
66987         * math/s_casinhl.c: Include <float.h>.
66988         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66989         (__casinhl): Do not do computation with squaring and square root
66990         for large arguments.
66991         * math/libm-test.inc (casin_test): Add more tests.
66992         (casinh_test): Likewise.
66993         * sysdeps/i386/fpu/libm-test-ulps: Update.
66994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66996 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66998         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66999         (__x86_64_raw_data_cache_size): Likewise.
67000         (__x86_64_data_cache_size_half): Likewise.
67001         (__x86_64_raw_data_cache_size_half): Likewise.
67002         (__x86_64_shared_cache_size): Likewise.
67003         (__x86_64_raw_shared_cache_size): Likewise.
67004         (__x86_64_shared_cache_size_half): Likewise.
67005         (__x86_64_raw_shared_cache_size_half): Likewise.
67006         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
67007         to ...
67008         (__x86_data_cache_size): This.
67009         (__x86_64_raw_data_cache_size): Renamed to ...
67010         (__x86_raw_data_cache_size): This.
67011         (__x86_64_data_cache_size_half): Renamed to ...
67012         (__x86_data_cache_size_half): This.
67013         (__x86_64_raw_data_cache_size_half): Renamed to ...
67014         (__x86_raw_data_cache_size_half): This.
67015         (__x86_64_shared_cache_size): Renamed to ...
67016         (__x86_shared_cache_size): This.
67017         (__x86_64_raw_shared_cache_size): Renamed to ...
67018         (__x86_raw_shared_cache_size): This.
67019         (__x86_64_shared_cache_size_half): Renamed to ...
67020         (__x86_shared_cache_size_half): This.
67021         (__x86_64_raw_shared_cache_size_half): Renamed to ...
67022         (__x86_raw_shared_cache_size_half): This.
67023         * sysdeps/x86_64/memcpy.S: Updated.
67024         * sysdeps/x86_64/memset.S: Likewise.
67025         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
67026         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67027         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67029 2013-01-04  David S. Miller  <davem@davemloft.net>
67031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67033 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
67035         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
67036         1 to avoid redefinition warning.
67037         (__USE_GNU): Don't define.
67038         (init_signaling_nan): Protoize.
67040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67042 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67044         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
67045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
67046         (__cpymn): Likewise.
67047         (norm): Remove commented code.
67048         (denorm): Likewise.
67049         (__mp_dbl): Likewise.
67050         (__inv): Likewise.
67051         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
67052         (__cpymn): Likewise.
67053         (norm): Remove commented code.
67054         (denorm): Likewise.
67055         (__mp_dbl): Likewise.
67056         (__inv): Likewise.
67058         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
67059         mp_no value for 1.0 and 2.0.
67060         (norm): Use RADIXI instead of radixi.d.
67061         (denorm): Likewise.
67062         (__mul): Use 0.0 instead of zero.d.
67063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
67064         mp_no value for 1.0 and 2.0.
67065         (norm): Use RADIXI instead of radixi.d.
67066         (denorm): Likewise.
67067         (__mul): Use 0.0 instead of zero.d.
67069 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
67071         [BZ #14994]
67072         * math/s_casinh.c (__casinh): Reduce finite argument to first
67073         quadrant then set signs of results at the end.
67074         * math/s_casinhf.c (__casinhf): Likewise.
67075         * math/s_casinhl.c (__casinhl): Likewise.
67076         * math/libm-test.inc (casin_test): Add more tests.
67077         (casinh_test): Likewise.
67078         * sysdeps/i386/fpu/libm-test-ulps: Update.
67079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67081 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67083         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
67085         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
67087         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
67088         declarations.
67089         (denorm): Likewise.
67090         (__mp_dbl): Likewise.
67091         (__inv): Likewise.
67093         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
67094         and adjust the header comment.
67096         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
67097         variable name from declaration.
67099 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
67101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67102         Initialize COMMON_CPUID_INDEX_7 element.
67103         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
67104         (CPUID_RTM): Likewise.
67105         (HAS_RTM): Likewise.
67106         (COMMON_CPUID_INDEX_7): New enum.
67108 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
67110         [BZ #14981]
67111         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
67112         size is zero, record memory as freed.
67114 2013-01-03  Andreas Jaeger  <aj@suse.de>
67116         * po/ia.po: Add new Interlingua translation.
67118 2012-01-03  Allan McRae  <allan@archlinux.org>
67120         * locale/programs/localedef.c: Fix description of '--posix' flag.
67122 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
67124         * NEWS: Update dates in second copyright notice.
67125         * README: Update copyright dates in example.
67126         * manual/libc.texinfo: Update copyright dates.
67127         * scripts/test-installation.pl: Update copyright date in --version
67128         output.
67130         * hurd/ctty-input.c: Fix copyright notice formatting.
67131         * hurd/ctty-output.c: Likewise.
67132         * hurd/dtable.c: Likewise.
67133         * hurd/hurd-raise.c: Likewise.
67134         * hurd/hurdprio.c: Likewise.
67135         * hurd/msgportdemux.c: Likewise.
67136         * misc/sys/file.h: Likewise.
67137         * misc/sys/ioctl.h: Likewise.
67138         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
67139         * sysdeps/mach/hurd/chdir.c: Likewise.
67140         * sysdeps/mach/hurd/fchdir.c: Likewise.
67141         * sysdeps/mach/hurd/rename.c: Likewise.
67142         * sysdeps/mach/hurd/rmdir.c: Likewise.
67143         * sysdeps/mach/hurd/seekdir.c: Likewise.
67144         * sysdeps/mach/hurd/setsid.c: Likewise.
67145         * sysdeps/posix/wait3.c: Likewise.
67147         * All files with FSF copyright notices: Update copyright dates
67148         using scripts/update-copyrights.
67149         * intl/plural.c: Regenerated.
67150         * locale/programs/charmap-kw.h: Likewise.
67151         * locale/programs/locfile-kw.h: Likewise.
67153 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67155         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
67156         four values.
67158         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
67159         calculation loop and add branch prediction.
67161         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
67162         check access beyond bounds of m1np.
67164         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67165         MPTWO.
67166         (__inv): Remove local variable MPTWO to use the global
67167         constant.
67168         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
67169         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67170         variable MPTWO.
67171         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
67172         MP3HALFS static const.
67174 2013-01-01  David S. Miller  <davem@davemloft.net>
67176         * po/ca.po: Update from translation team.
67178 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
67180         * scripts/update-copyrights: New file.
67181         * Makeconfig: Reformat copyright notice.
67182         * ctype/ctype.h: Likewise.
67183         * debug/swprintf_chk.c: Likewise.
67184         * elf/dl-cache.c: Likewise.
67185         * elf/dl-debug.c: Likewise.
67186         * elf/dl-object.c: Likewise.
67187         * grp/initgroups.c: Likewise.
67188         * hurd/Makefile: Likewise.
67189         * hurd/hurd/signal.h: Likewise.
67190         * hurd/hurdfault.c: Likewise.
67191         * hurd/hurdioctl.c: Likewise.
67192         * hurd/hurdlookup.c: Likewise.
67193         * hurd/intr-msg.c: Likewise.
67194         * iconv/gconv_open.c: Likewise.
67195         * libio/swprintf.c: Likewise.
67196         * locale/lc-ctype.c: Likewise.
67197         * locale/nl_langinfo.c: Likewise.
67198         * mach/Machrules: Likewise.
67199         * mach/Makefile: Likewise.
67200         * malloc/obstack.h: Likewise.
67201         * manual/Makefile: Likewise.
67202         * manual/tsort.awk: Likewise.
67203         * misc/bits/stab.def: Likewise.
67204         * nis/nis_print_group_entry.c: Likewise.
67205         * nis/nis_table.c: Likewise.
67206         * nis/nss_compat/compat-pwd.c: Likewise.
67207         * nis/nss_compat/compat-spwd.c: Likewise.
67208         * po/Makefile: Likewise.
67209         * posix/fnmatch.c: Likewise.
67210         * posix/regex.h: Likewise.
67211         * resolv/Makefile: Likewise.
67212         * resolv/nss_dns/dns-network.c: Likewise.
67213         * resolv/res_hconf.c: Likewise.
67214         * scripts/gen-sorted.awk: Likewise.
67215         * soft-fp/soft-fp.h: Likewise.
67216         * stdio-common/printf.h: Likewise.
67217         * stdlib/monetary.h: Likewise.
67218         * stdlib/random.c: Likewise.
67219         * stdlib/random_r.c: Likewise.
67220         * sysdeps/generic/Makefile: Likewise.
67221         * sysdeps/gnu/Makefile: Likewise.
67222         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67223         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67224         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67225         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67226         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67227         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67228         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67229         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67230         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67231         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67232         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67233         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67234         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67235         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67236         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
67237         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67238         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67239         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67240         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67241         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67242         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67243         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67244         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67245         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
67246         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
67247         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67248         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
67249         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
67250         * sysdeps/mach/hurd/errnos.awk: Likewise.
67251         * sysdeps/mach/hurd/fork.c: Likewise.
67252         * sysdeps/mach/hurd/getcwd.c: Likewise.
67253         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
67254         * sysdeps/mach/hurd/mmap.c: Likewise.
67255         * sysdeps/mach/hurd/utimes.c: Likewise.
67256         * sysdeps/mach/hurd/xmknod.c: Likewise.
67257         * sysdeps/posix/profil.c: Likewise.
67258         * sysdeps/posix/readdir_r.c: Likewise.
67259         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67260         * sysdeps/powerpc/bits/setjmp.h: Likewise.
67261         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
67262         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67264         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67265         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67266         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67268         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67269         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67270         * sysdeps/pthread/lio_listio.c: Likewise.
67271         * sysdeps/sparc/dl-procinfo.h: Likewise.
67272         * sysdeps/unix/i386/sysdep.S: Likewise.
67273         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
67274         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
67275         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
67276         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
67277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67278         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
67279         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
67280         * sysdeps/unix/sysv/linux/speed.c: Likewise.
67281         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
67282         * sysdeps/wordsize-32/divdi3.c: Likewise.
67283         * time/sys/time.h: Likewise.
67284         * wcsmbs/Makefile: Likewise.
67286 2013-01-01  David S. Miller  <davem@davemloft.net>
67288         * po/fr.po: Update from translation team.
67290         * catgets/gencat.c: Update copyright year.
67291         * csu/version.c: Likewise.
67292         * debug/catchsegv.sh: Likewise.
67293         * debug/pcprofiledump.c: Likewise.
67294         * debug/xtrace.sh: Likewise.
67295         * elf/ldconfig.c: Likewise.
67296         * elf/ldd.bash.in: Likewise.
67297         * elf/pldd.c: Likewise.
67298         * elf/sotruss.ksh: Likewise.
67299         * elf/sprof.c: Likewise.
67300         * iconv/iconv_prog.c: Likewise.
67301         * iconv/iconvconfig.c: Likewise.
67302         * locale/programs/locale.c: Likewise.
67303         * locale/programs/localedef.c: Likewise.
67304         * login/programs/pt_chown.c: Likewise.
67305         * malloc/memusage.sh: Likewise.
67306         * malloc/memusagestat.c: Likewise.
67307         * malloc/mtrace.pl: Likewise.
67308         * nscd/nscd.c: Likewise.
67309         * nss/getent.c: Likewise.
67310         * nss/makedb.c: Likewise.
67311         * posix/getconf.c: Likewise.
67313 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67315         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67316         numbers.
67318 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67320         * math/bits/mathcalls.h (modf): Use __nonnull.
67322 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67324         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67325         (split): Use macro CN instead of the bare value.
67326         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67327         could be used.
67328         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67329         instead of the bare value.
67330         (power1): Likewise.
67332 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67334         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67335         __ATAN_TWOM.
67336         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67338         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67339         their values.
67340         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67341         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67342         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67343         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67345 2012-12-28  Andreas Jaeger  <aj@suse.de>
67347         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67348         values are from Linux 3.7.
67350         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67351         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67353 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67355         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67356         TRUE case.
67358         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67359         (norm): Likewise.
67360         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67361         variables with preprocessor constants.
67362         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67363         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67364         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67366 2012-12-27  Bruno Haible  <bruno@clisp.org>
67368         [BZ #14317]
67369         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67370         only if needed.
67372 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67374         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67375         and use variable directly.
67376         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67378         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67379         MPONE.
67380         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67381         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67382         variable MPONE.
67383         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67385         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67386         include directive.  Remove local variable MPONE.
67387         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67388         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67389         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67391 2012-12-25  David S. Miller  <davem@davemloft.net>
67393         * version.h (RELEASE): Set to "development".
67394         (VERSION): Set to "2.17.90".
67395         * NEWS: Add 2.18 section.
67397 2012-12-21  David S. Miller  <davem@davemloft.net>
67399         * po/hr.po: Update from translation team.
67401 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67403         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67405 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67407         * NEWS:  Mention new memcpy for MIPS.
67409 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67411         * manual/contrib.texi (Contributors): Spelling correction.
67413 2012-12-15  David S. Miller  <davem@davemloft.net>
67415         * po/ru.po: Update from translation team.
67417 2012-12-13  David S. Miller  <davem@davemloft.net>
67419         * NEWS: Mention IFUNC testsuite enhancements.
67421         * po/pl.po: Update from translation team.
67422         * po/bg.po: Likewise.
67424         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67425         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67427 2012-12-11  David S. Miller  <davem@davemloft.net>
67429         * po/sv.po: Update from translation team.
67431         * po/vi.po: Update from translation team.
67433         * po/cs.po: Update from translation team.
67435         * po/de.po: Update from translation team.
67436         * po/eo.po: Likewise.
67437         * po/nl.po: Likewise.
67439 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67441         [BZ #14246]
67442         * manual/argp.texi (Argp Helper Functions): Move node to follow
67443         Argp Parsing State.
67445         [BZ #14872]
67446         * manual/conf.texi (Limits on File System Capacity): Mention if
67447         terminating null is included in the max size.
67449 2012-12-10  Andreas Jaeger  <aj@suse.de>
67451         * po/cs.po: Update from translation team.
67453 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67455         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67456         void pointer and cast to uintptr_t.
67457         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67458         path.
67459         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67460         * sysdeps/s390/s390-64/memset.S: Likewise.
67462 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67464         [BZ #14833]
67465         * menual/message.texi (Message Translation): Fix typos.
67466         (Helper programs for gettext): Likewise.
67468 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67470         [BZ #14898]
67471         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67472         Change to -1.
67474 2012-12-07  David S. Miller  <davem@davemloft.net>
67476         * po/libc.pot: Update.
67478 2012-12-07  Richard Henderson  <rth@redhat.com>
67480         [BZ #10114]
67481         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67482         normal/normal case to before the switch.
67483         (_FP_DIV): Likewise.
67485 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67486             Mike Frysinger  <vapier@gentoo.org>
67488         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67489         check for __NR_fadvise64_64.
67491 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67493         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67494         0, not just to plain "0" as a statement.
67495         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67496         with cw.
67498 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67500         * NEWS: Use sourceware.org in Bugzilla URL.
67502 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67505         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67507         * stdio-common/tst-put-error.c (do_test): Add newline to the
67508         padded test to ensure flush.
67510 2012-12-05  Jeff Law  <law@redhat.com>
67512         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67514 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67516         * README: Don't refer to ports add-on as distributed separately.
67517         Mention AArch64 in list of systems supported in the ports add-on.
67519         * LICENSES: Add more non-FSF copyright and license notices.
67521         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67522         ((unused)).
67524         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67526         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67527         10000 as width of padded output.
67529 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67531         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67533         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67534         variable LX with __attribute__ ((unused)).
67535         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67536         Likewise.
67537         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67538         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67539         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67540         with __attribute__ ((unused)).
67542 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67544         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67546 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67548         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67549         (CFLAGS-nldbl-acos.c): New variable.
67550         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67551         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67552         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67553         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67554         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67555         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67556         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67557         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67558         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67559         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67560         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67561         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67562         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67563         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67564         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67565         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67566         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67567         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67568         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67569         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67570         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67571         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67572         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67573         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67574         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67575         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67576         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67577         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67578         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67579         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67580         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67581         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67582         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67583         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67584         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67585         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67586         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67587         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67588         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67589         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67590         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67591         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67592         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67593         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67594         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67595         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67596         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67597         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67598         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67599         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67600         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67601         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67602         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67603         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67604         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67605         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67606         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67607         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67608         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67609         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67610         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67611         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67612         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67613         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67614         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67615         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67616         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67617         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67618         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67619         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67620         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67621         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67622         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67623         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67624         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67625         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67626         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67627         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67628         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67629         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67630         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67631         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67632         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67633         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67634         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67635         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67636         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67637         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67638         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67639         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67640         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67641         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67642         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67643         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67644         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67645         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67646         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67649         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67651         [BZ #14914]
67652         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67653         whole low double instead of just low 47 bits when splitting values
67654         into two parts.
67656 2012-12-03  Allan McRae  <allan@archlinux.org>
67658         * manual/stdio.texi (Predefined Printf Handlers): Remove
67659         @hsep and @vsep usage.
67661 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67663         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67664         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67666 2012-12-03  Jeff Law  <law@redhat.com>
67668         * time/sys/time.h (settimeofday): Do not mark TV argument
67669         as __nonnull.
67671 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67673         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67674         when currently writing and seek to current position when not.
67675         * libio/Makefile (tests): Remove bug-fclose1.
67676         * libio/bug-fclose1.c: Delete.
67678 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67680         * manual/arith.texi (feenableexcept): Fix typo.
67681         (fedisableexcept): Likewise.
67683 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67685         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67686         second, differently-typed declaration, rather than a cast.
67688 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67690         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67691         * include/rpc/svc.h: ... here.
67693 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67695         [BZ #13013]
67696         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67697         depending n and resplen2 to catch cases where answer
67698         equals answerp2.
67700 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67702         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67703         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67705 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67707         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67709 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67711         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67713 2012-11-28  Jeff Law  <law@redhat.com>
67715         [BZ #13761]
67716         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67717         dataset_temporary.  Track alloca usage into alloca_used.
67718         If dataset is large allocate and release it via malloc/free.
67720 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67722         [BZ #14197]
67723         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67725 2012-11-28  David S. Miller  <davem@davemloft.net>
67727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67729 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67731         [BZ #14803]
67732         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67733         of pi/2 rounded to nearest to 64 bits.
67734         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67735         nearest to 64 bits.
67736         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67737         bits.
67739 2012-11-28  Jeff Law <law@redhat.com>
67740             Martin Osvald <mosvald@redhat.com>
67742         [BZ #14889]
67743         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67744         * sunrpc/svc.c: Include time.h.
67745         (__svc_accept_failed): New function.
67746         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67747         any reason other than EINTR, call __svc_accept_failed.
67748         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67749         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67751 2012-11-28  Andreas Schwab  <schwab@suse.de>
67753         * scripts/abilist.awk: Also handle indirect functions in .opd
67754         section.
67756 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67758         [BZ #13881]
67759         * sysdeps/x86/fpu/powl_helper.c: New file.
67760         * sysdeps/x86/fpu/Makefile: Likewise.
67761         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67762         (p3): New object.
67763         (__ieee754_powl): Use __powl_helper for finite arguments except
67764         integer exponents below 8.
67765         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67766         (p3): New object.
67767         (__ieee754_powl): Use __powl_helper for finite arguments except
67768         integer exponents below 8.
67769         * math/libm-test.inc (pow_test): Add more tests and enable some
67770         previously disabled tests.
67771         * sysdeps/i386/fpu/libm-test-ulps: Update.
67772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67774 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67775             Carlos O'Donell  <carlos_odonell@mentor.com>
67777         * nss/makedb.c (is_prime): Assert that input is odd and greater
67778         than 4.  Note that fact in a comment too.
67779         (next_prime): Add 4 to input.
67781 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67783         [BZ #11741]
67784         * libio/Makefile (tests): Add test case tst-fwrite-error.
67785         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67786         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67787         * libio/tst-fwrite-error.c: New test case.
67789 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67791         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67792         before casting to void *.
67793         * include/libc-internal.h (__pointer_type): New macro.
67794         (__integer_if_pointer_type_sub): Likewise.
67795         (__integer_if_pointer_type): Likewise.
67796         (cast_to_integer): Likewise.
67797         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67798         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67799         before casting to atomic64_t.
67800         (atomic_exchange_acq): Likewise.
67801         (__arch_exchange_and_add_body): Likewise.
67802         (__arch_add_body): Likewise.
67803         (atomic_add_negative): Likewise.
67804         (atomic_add_zero): Likewise.
67806 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67808         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67809         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67810         (add_fdes): Likewise.
67811         (linear_search_fdes): Likewise.
67812         (binary_search_unencoded_fdes): Likewise.
67814 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67816         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67818 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67820         * configure.in: Autodetect C++ header directories.
67821         * configure: Regenerated.
67823 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67825         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67827 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67831 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67833         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67834         LDBL_MANT_DIG == 106]: Disable some tests.
67835         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67836         Likewise.
67837         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67838         Likewise.
67840         [BZ #14871]
67841         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67842         input for small inputs.  Return +/- pi/2 for large inputs.
67843         * math/libm-test.inc (atan_test): Add more tests.
67845         * sysdeps/generic/unwind-dw2-fde-glibc.c
67846         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67847         __attribute__ ((unused)).
67849         [BZ #14645]
67850         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67851         x * y if x and y are nonzero and z is zero.
67853         [BZ #14811]
67854         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67855         nonzero exponents with absolute value below 0x1p-117 to +/-
67856         0x1p-117.
67858         [BZ #14869]
67859         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67860         up arguments below 2**-450, not just those below 2**-500.
67861         * math/libm-test.inc (hypot_test): Add another test.
67863         [BZ #14868]
67864         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67865         Return a+b for ratio over 2**120, not 2**60.
67866         * math/libm-test.inc (hypot_test): Add another test.
67868         * math/libm-test.inc (clog_test): Use
67869         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67870         (clog10_test): Likewise.
67872         [BZ #6778]
67873         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67875 2012-11-22  Andreas Schwab  <schwab@suse.de>
67877         * sysdeps/i386/fpu/libm-test-ulps: Update.
67879 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67881         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67882         printf output with newline.
67884 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67886         [BZ #14865]
67887         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67888         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67889         -z nodlopen, -z initfirst and -z execstack support.
67890         * configure: Regenerated.
67892         * elf/elf.h (DF_1_NODIRECT): New macro.
67893         (DF_1_IGNMULDEF): Likewise.
67894         (DF_1_NOKSYMS): Likewise.
67895         (DF_1_NOHDR): Likewise.
67896         (DF_1_EDITED): Likewise.
67897         (DF_1_NORELOC): Likewise.
67898         (DF_1_SYMINTPOSE): Likewise.
67899         (DF_1_GLOBAUDIT): Likewise.
67900         (DF_1_SINGLETON): Likewise.
67901         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67902         DT_1_SUPPORTED_MASK bits.
67903         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67905 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67907         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67909 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67911         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67912         macro.
67914         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67915         (sendmmsg): Move declarations...
67916         * socket/sys/socket.h: ... here.
67917         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67918         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67919         include it from...
67920         * socket/recvmmsg.c: ... this new file.
67921         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67922         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67923         definition of __sendmmsg hidden.
67924         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67925         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67926         Move ENOSYS stub into and include it from...
67927         * socket/sendmmsg.c: ... this new file.
67928         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67929         (sysdep_routines): Move recvmmsg and sendmmsg...
67930         * socket/Makefile (routines): ... here.
67931         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67932         (GLIBC_PRIVATE): Add __sendmmsg.
67933         * include/sys/socket.h (__sendmmsg): Add declarations.
67934         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67935         sendmmsg.
67937 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67939         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67940         variable I1 with __attribute__ ((unused)).
67941         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67943 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67945         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67946         DUMMY variables with __attribute__ ((unused)).
67948         * bits/byteswap.h: Include <bits/types.h>.
67949         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67951 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67953         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67954         string_t.  Do not manually set errno.
67955         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67956         length with __strnlen.  Make sure to both set errno and return it on
67957         failure.
67959 2012-11-19  David S. Miller  <davem@davemloft.net>
67961         With help from Joseph Myers.
67962         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67963         very large arguments properly.
67964         * math/libm-test.inc (atan_test): New tests.
67965         (atan2_test): New tests.
67966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67967         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67969 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67971         [BZ #14856]
67972         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67973         Define to 3.
67975         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67976         [POSIX] (EADDRNOTAVAIL): Likewise.
67977         [POSIX] (EAFNOSUPPORT): Likewise.
67978         [POSIX] (EALREADY): Likewise.
67979         [POSIX] (ECONNABORTED): Likewise.
67980         [POSIX] (ECONNREFUSED): Likewise.
67981         [POSIX] (ECONNRESET): Likewise.
67982         [POSIX] (EDESTADDRREQ): Likewise.
67983         [POSIX] (EDQUOT): Likewise.
67984         [POSIX] (EHOSTUNREACH): Likewise.
67985         [POSIX] (EIDRM): Likewise.
67986         [POSIX] (EISCONN): Likewise.
67987         [POSIX] (ELOOP): Likewise.
67988         [POSIX] (EMULTIHOP): Likewise.
67989         [POSIX] (ENETDOWN): Likewise.
67990         [POSIX] (ENETUNREACH): Likewise.
67991         [POSIX] (ENOBUFS): Likewise.
67992         [POSIX] (ENODATA): Likewise.
67993         [POSIX] (ENOLINK): Likewise.
67994         [POSIX] (ENOMSG): Likewise.
67995         [POSIX] (ENOPROTOOPT): Likewise.
67996         [POSIX] (ENOSR): Likewise.
67997         [POSIX] (ENOSTR): Likewise.
67998         [POSIX] (ENOTCONN): Likewise.
67999         [POSIX] (ENOTSOCK): Likewise.
68000         [POSIX] (EOPNOTSUPP): Likewise.
68001         [POSIX] (EOVERFLOW): Likewise.
68002         [POSIX] (EPROTO): Likewise.
68003         [POSIX] (EPROTONOSUPPORT): Likewise.
68004         [POSIX] (EPROTOTYPE): Likewise.
68005         [POSIX] (ESTALE): Likewise.
68006         [POSIX] (ETIME): Likewise.
68007         [POSIX] (ETXTBSY): Likewise.
68008         [POSIX] (EWOULDBLOCK): Likewise.
68009         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
68010         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
68011         [POSIX] (SEEK_CUR): Likewise.
68012         [POSIX] (SEEK_END): Likewise.
68013         [POSIX || UNIX98] (mode_t): Do not require.
68014         [POSIX] (off_t): Likewise.
68015         [POSIX] (pid_t): Likewise.
68016         [POSIX] (sys/stat.h): Do not allow header.
68017         [POSIX] (unistd.h): Likewise.
68018         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
68019         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
68020         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
68021         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
68022         require.
68023         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
68024         sigevent): Specify elements.
68025         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
68026         entry.
68027         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
68028         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
68030         * conform/data/cpio.h-data [POSIX]: Disable whole file.
68031         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
68032         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
68033         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
68034         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
68035         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
68036         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
68037         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
68038         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
68039         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
68040         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
68041         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
68042         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
68043         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
68044         Likewise.
68045         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
68046         Likewise.
68047         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
68048         Likewise.
68049         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
68050         Likewise.
68051         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
68052         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
68053         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
68054         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
68055         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
68056         Specify lower bound on value.
68057         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
68058         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
68059         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
68060         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
68061         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
68062         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
68063         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
68064         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
68065         value.
68066         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
68067         as optional.
68068         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
68069         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
68070         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
68071         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
68072         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
68073         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
68074         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
68075         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
68076         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
68077         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
68078         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
68079         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
68080         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
68081         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
68082         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
68083         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
68084         entry.
68085         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
68086         optional.
68087         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
68088         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
68089         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
68090         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
68091         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
68092         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
68093         Likewise.
68094         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
68095         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
68096         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
68097         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
68098         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
68099         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
68100         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
68101         as optional.
68102         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
68103         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
68104         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
68105         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
68106         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
68107         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
68108         specify as optional.
68109         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
68110         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
68111         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
68112         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
68113         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
68114         [XPG3] (NL_LANGMAX): Likewise.
68115         [POSIX || XPG3] (NL_MSGMAX): Likewise.
68116         [POSIX || XPG3] (NL_NMAX): Likewise.
68117         [POSIX || XPG3] (NL_SETMAX): Likewise.
68118         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
68119         [XPG3] (NZERO): Likewise.
68120         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
68121         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
68122         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
68123         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
68124         (REG_ERANGE): Expect.
68125         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
68126         optional-constant.
68127         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
68128         Use (void) in prototype.
68129         [POSIX] (*_t): Allow.
68130         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
68131         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
68132         (WRDE_BADVAL): Expect.
68134         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
68135         expect.
68136         [XPG3 || XPG4] (O_RSYNC): Likewise.
68137         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
68138         Likewise.
68139         [XPG3 || XPG4] (pthread_sigmask): Likewise.
68140         [XPG3 || XPG4] (sigqueue): Likewise.
68141         [XPG3 || XPG4] (sigtimedwait): Likewise.
68142         [XPG3 || XPG4] (sigwaitinfo): Likewise.
68143         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
68144         [XPG3 || XPG4] (vsnprintf): Likewise.
68145         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
68146         Likewise.
68147         [XPG3 || XPG4] (blksize_t): Likewise.
68148         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
68149         Likewise.
68150         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
68151         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
68152         [XPG3 || XPG4] (struct itimerspec): Likewise.
68153         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
68154         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
68155         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
68156         [XPG3 || XPG4] (clockid_t): Likewise.
68157         [XPG3 || XPG4] (timer_t): Likewise.
68158         [XPG3 || XPG4] (clock_getres): Likewise.
68159         [XPG3 || XPG4] (clock_gettime): Likewise.
68160         [XPG3 || XPG4] (clock_settime): Likewise.
68161         [XPG3 || XPG4] (nanosleep): Likewise.
68162         [XPG3 || XPG4] (timer_create): Likewise.
68163         [XPG3 || XPG4] (timer_delete): Likewise.
68164         [XPG3 || XPG4] (timer_gettime): Likewise.
68165         [XPG3 || XPG4] (timer_getoverrun): Likewise.
68166         [XPG3 || XPG4] (timer_settime): Likewise.
68167         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
68168         [XPG3 || XPG4] (getlogin_r): Likewise.
68169         [XPG3 || XPG4] (pread): Likewise.
68170         [XPG3 || XPG4] (pthread_atfork): Likewise.
68171         [XPG3 || XPG4] (pwrite): Likewise.
68173         [BZ #14835]
68174         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
68175         <bits/siginfo.h>.
68177 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68179         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
68180         finalizing MALLSTREAM.
68182         * sysdeps/mach/hurd/syncfs.c: New file.
68184 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68186         [BZ #14719]
68187         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
68188         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
68189         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
68190         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
68191         (_nss_dns_gethostbyname4_r): Likewise.
68192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
68193         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
68195 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
68197         [BZ #13763]
68198         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
68200 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
68202         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
68203         * elf/cache.c (print_entry): Print ",AArch64" for
68204         FLAG_AARCH64_LIB64
68206         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
68207         * elf/cache.c (print_entry): Print ",hard-float" for
68208         FLAG_ARM_LIBHF.
68210 2012-11-18  David S. Miller  <davem@davemloft.net>
68212         With help from Joseph Myers.
68213         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
68214         cutoff to 2**-13.
68215         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
68216         cutoff to 2**-25.
68217         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
68218         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
68219         small.
68220         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
68221         * math/libm-test.inc (y0_test): New tests.
68222         (y1_test): New tests.
68223         * sysdeps/i386/fpu/libm-test-ulps: Update.
68224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68227 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
68229         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
68230         64-bit targets.
68231         * configure: Regenerated.
68233 2012-11-17  David S. Miller  <davem@davemloft.net>
68235         [BZ #14811]
68236         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
68237         nonzero exponents with absolute value below 0x1p-128 to +/-
68238         0x1p-128.
68240 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
68242         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
68244         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
68246         * posix/getconf-speclist.c: New file.
68247         * posix/posix-envs.def: Likewise.
68248         * posix/confstr.c (START_ENV_GROUP): New macro.
68249         (END_ENV_GROUP): Likewise.
68250         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68251         (KNOWN_PRESENT_ENV_STRING): Likewise.
68252         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68253         (UNKNOWN_ENVIRONMENT): Likewise.
68254         (confstr): Include posix-envs.def instead of handling
68255         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
68256         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
68257         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
68258         (END_ENV_GROUP): Likewise.
68259         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68260         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68261         (UNKNOWN_ENVIRONMENT): Likewise.
68262         (__sysconf): Include posix-envs.def instead of handling associated
68263         cases directly here.
68264         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
68265         preprocessing getconf-speclist.c rather than running getconf or
68266         generating empty file.
68268 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
68270         * scripts/check-local-headers.sh: Ignore 'mach' headers.
68272 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
68274         [BZ #14672]
68275         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
68277 2012-11-16  David S. Miller  <davem@davemloft.net>
68279         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
68280         smaller than LDBL_EPSILON/2.0L, just return xm1.
68282 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
68284         * elf/tst-array1.c (init): Set constructor priority to 1000.
68285         (fini): Set destructor priority to 1000.
68286         * elf/tst-array2dep.c: Likewise.
68288 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68290         [BZ #11741]
68291         * libio/fileops.c (_IO_new_file_write): Correctly return error.
68292         (_IO_new_file_xsputn): Also return EOF if none of the input
68293         data was written when overflow failed.
68294         * libio/iopadn.c (_IO_padn): Likewise.
68295         * libio/iowpadn.c (_IO_wpadn): Likewise.
68296         * stdio-common/tst-put-error.c: Add copyright notice.
68297         (do_test): Add case for printing padded string.
68298         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68299         _IO_padn returned error.
68300         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68301         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68302         return EOF.
68304 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68306         * libio/libioP.h: Add comment note that the references to C++
68307         bits are now obsolete.
68309 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68311         * math/libm-test.inc (check_complex): Use asprintf.
68313 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68315         * debug/pcprofiledump.c (print_version): Update copyright year.
68316         * malloc/memusagestat.c (print_version): Likewise.
68318 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68320         [BZ #14831]
68321         * elf/Makefile (tests): Add tst-audit8.
68322         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68323         ($(objpfx)tst-audit8.out): New target.
68324         (tst-audit8-ENV): New variable.
68325         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68326         audit if l_reloc_result is NULL.
68327         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68328         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68329         * elf/tst-audit8.c: New file.
68331 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68333         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68334         * misc/Makefile (CFLAGS-select.c): Define.
68335         * posix/Makefile (CFLAGS-pause.c): Define.
68337 2012-11-13  David S. Miller  <davem@davemloft.net>
68339         * crypt/Makefile: Move test targets after toplevel Rules
68340         inclusion.  Grab any necessary sysdep routines when linking.
68341         * crypt/md5.c (md5_process_block): Remove define, we will always
68342         name it __md5_process_block.
68343         (md5_finish_ctx): Update md5_process_block call.
68344         (md5_stream): Likewise.
68345         (md5_process_bytes): Likewise.
68346         (md5_process_block): Rename to __md5_process_block and move to ...
68347         * crypt/md5-block.c: ... here.
68348         * crypt/sha256.c (sha256_process_block): Move to ...
68349         * crypt/sha256-block.c: ... here.
68350         * crypt/sha512.c (sha512_process_block): Move to ...
68351         * crypt/sha512-block.c: ... here.
68352         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68353         path.
68354         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68355         * sysdeps/sparc/sparc64/multiarch/Makefile
68356         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68357         crypt subdir.
68358         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68359         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68360         multiarch changes.
68361         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68362         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68363         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68364         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68365         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68366         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68367         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68368         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68369         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68370         file.
68371         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68372         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68373         file.
68374         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68376 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68378         * timezone/tzselect.ksh: Update from tzcode git revision
68379         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68380         * timezone/zdump.c: Likewise.
68381         * timezone/zic.c: Likewise.
68382         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68383         in TZVERSION setting, not $(PKGVERSION).
68384         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68385         REPORT_BUGS_TO settings.
68387         [BZ #14838]
68388         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68389         macro.
68391 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68393         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68394         detection to immediately after _FP_ROUND().
68395         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68396         bits are 0.
68398 2012-11-11  David S. Miller  <davem@davemloft.net>
68400         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68401         inttypes.h
68402         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68403         __close rather than their public counterparts.
68405 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68407         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68408         file.
68409         [UNIX98] (sem_timedwait): Do not expect.
68410         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68411         [XPG4 || UNIX98] (sockatmark): Do not expect.
68412         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68413         (clock_getcpuclockid): Do not expect.
68414         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68415         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68416         Do not expect.
68417         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68418         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68419         [UNIX98] (vwscanf): Likewise.
68420         [UNIX98] (vswscanf): Likewise.
68422 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68424         * timezone/version.h: Remove file.
68425         * timezone/README: Do not refer to version.h.
68426         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68427         $(objpfx)version.h.
68428         ($(objpfx)zdump.o): Likewise.
68429         ($(objpfx)version.h): New target.
68431         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68432         2012i.
68433         * timezone/README: Don't mention modification to tzselect.ksh.
68434         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68435         work on unmodified tzselect.ksh.  Substitute version numbers in
68436         tzselect.ksh.
68438         * Makefile (format-me): Remove.
68439         (INSTALL): Adjust indentation.  Use commands directly instead of
68440         using $(format-me).
68442         * aclocal.m4 (ACX_PKGVERSION): New macro.
68443         (ACX_BUGURL): Likewise.
68444         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68445         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68446         (REPORT_BUGS_TO): Likewise.
68447         * configure: Regenerated.
68448         * config.h.in (PKGVERSION): New macro.
68449         (REPORT_BUGS_TO): Likewise.
68450         * config.make.in (PKGVERSION): New variable.
68451         (PKGVERSION_TEXI): Likewise.
68452         (REPORT_BUGS_TO): Likewise.
68453         (REPORT_BUGS_TEXI): Likewise.
68454         * Makefile (format-me): Use -I$(common-objpfx)manual.
68455         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68456         ($(common-objpfx)manual/%): New target.
68457         (manual/%): Remove target.
68458         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68459         (print_version): Use PKGVERSION.
68460         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68461         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68462         and REPORT_BUGS_TO.
68463         ($(objpfx)xtrace): Likewise.
68464         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68465         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68466         (print_version): Use PKGVERSION.
68467         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68468         (do_version): Use PKGVERSION.
68469         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68470         REPORT_BUGS_TO.
68471         (common-ldd-rewrite): Likewise.
68472         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68473         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68474         (print_version): Use PKGVERSION.
68475         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68476         * elf/pldd.c (argp_program_bug_address): Remove variable.
68477         (more_help): New function.
68478         (argp): Use more_help.
68479         (print_version): Use PKGVERSION.
68480         * elf/sln.c (main): Use PKGVERSION.
68481         (usage): Use REPORT_BUGS_TO.
68482         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68483         (top level): Use PKGVERSION.
68484         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68485         (print_version): Use PKGVERSION.
68486         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68487         (print_version): Use PKGVERSION.
68488         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68489         (print_version): Use PKGVERSION.
68490         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68491         (print_version): Use PKGVERSION.
68492         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68493         (print_version): Use PKGVERSION.
68494         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68495         (print_version): Use PKGVERSION.
68496         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68497         and BUGURL.
68498         ($(objpfx)memusage): Likewise.
68499         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68500         (do_version): Use PKGVERSION.
68501         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68502         (print_version): Use PKGVERSION.
68503         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68504         ($PKGVERSION): New variable.
68505         ($REPORT_BUGS_TO): Likewise.
68506         (usage): Use $REPORT_BUGS_TO.
68507         (top level): Use $PKGVERSION.
68508         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68509         ($(objpfx)pkgvers.texi): New rule.
68510         ($(objpfx)stamp-pkgvers): Likewise.
68511         * manual/install.texi: Include pkgvers.texi.
68512         (--with-pkgversion): Document new configure option.
68513         (--with-bugurl): Likewise.
68514         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68515         than necessarily for this particular distribution.  Use
68516         REPORT_BUGS_TO for where to report bugs.
68517         * INSTALL: Regenerated.
68518         * manual/libc.texinfo: Include pkgvers.texi.
68519         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68520         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68521         (print_version): Use PKGVERSION.
68522         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68523         (print_version): Use PKGVERSION.
68524         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68525         (print_version): Use PKGVERSION.
68526         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68527         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68528         macro.
68529         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68530         (print_version): Use PKGVERSION.
68531         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68532         (print_version): Use PKGVERSION.
68533         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68534         and PKGVERSION.
68536         * timezone/checktab.awk: Update from tzcode 2012i.
68537         * timezone/ialloc.c: Likewise.
68538         * timezone/private.h: Likewise.
68539         * timezone/scheck.c: Likewise.
68540         * timezone/tzfile.h: Likewise.
68541         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68542         (TZVERSION): Hardcode tzcode version number.
68543         * timezone/zdump.c: Update from tzcode 2012i.
68544         * timezone/zic.c: Likewise.
68545         * timezone/version.h: New file.
68546         * timezone/README: Describe version.h.  Update upstream location.
68548         [BZ #14824]
68549         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68550         (mktemp): Enable declaration.
68551         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68552         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68553         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68554         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68555         Likewise.
68556         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68557         Likewise.
68558         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68559         Likewise.
68560         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68561         Likewise.
68562         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68563         Likewise.
68564         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68565         Likewise.
68567         [BZ #14821]
68568         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68569         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68570         for copies of such integer values.
68571         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68572         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68574 2012-11-09  Andreas Jaeger  <aj@suse.de>
68576         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68577         definitions and declarations that are provided by
68578         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68580 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68582         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68583         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68584         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68585         definition.
68587 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68589         * elf/elf.h: Update comment before AArch64 relocations.
68591 2012-11-07  David S. Miller  <davem@davemloft.net>
68593         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68594         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68595         (__start_context): Declare.
68596         (__makecontext_ret): Delete.
68597         (__makecontext): Hook up __start_context instead of
68598         __makecontext_ret.
68599         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68600         (sysdep_routines): Add __start_context when in stdlib.
68602 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68604         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68605         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68606         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68607         hardcoded "nm".
68608         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68609         (READELF): New variable.  Use it instead of hardcoded "readelf".
68611 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68613         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68614         * sysdeps/x86/Makefile: Here.
68615         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68616         * sysdeps/x86/tst-xmmymm.sh: This.
68618 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68620         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68621         expectations.
68622         [UNIX98] (pthread_barrier_t): Do not expect.
68623         [UNIX98] (pthread_barrierattr_t): Likewise.
68624         [UNIX98] (pthread_spinlock_t): Likewise.
68625         [UNIX98] (pthread_barrier_destroy): Likewise.
68626         [UNIX98] (pthread_barrier_init): Likewise.
68627         [UNIX98] (pthread_barrier_wait): Likewise.
68628         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68629         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68630         [UNIX98] (pthread_barrierattr_init): Likewise.
68631         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68632         [UNIX98] (pthread_getcpuclockid): Likewise.
68633         [UNIX98] (pthread_mutex_timedlock): Likewise.
68634         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68635         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68636         [UNIX98] (pthread_sigmask): Likewise.
68637         [UNIX98] (pthread_spin_destroy): Likewise.
68638         [UNIX98] (pthread_spin_init): Likewise.
68639         [UNIX98] (pthread_spin_lock): Likewise.
68640         [UNIX98] (pthread_spin_trylock): Likewise.
68641         [UNIX98] (pthread_spin_unlock): Likewise.
68642         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68643         Do not expect.
68644         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68645         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68646         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68647         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68648         [XPG3 || XPG4] (pthread_key_t): Likewise.
68649         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68650         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68651         [XPG3 || XPG4] (pthread_once_t): Likewise.
68652         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68653         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68654         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68655         [XPG3 || XPG4] (pthread_t): Likewise.
68657         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68658         not expect.
68659         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68661         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68662         Change function return type to int.
68664         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68665         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68666         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68667         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68668         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68669         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68670         [!POSIX] (posix_madvise): Likewise.
68671         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68672         && !UNIX98].
68673         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68674         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68675         (mode_t): Likewise.
68676         (posix_mem_offset): Likewise.
68677         (posix_typed_mem_get_info): Likewise.
68678         (posix_typed_mem_open): Likewise.
68680         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68681         Change condition to [XOPEN2K8].
68683         * conform/conformtest.pl: Preprocess allow-header data with -x c
68684         instead of from stdin.
68685         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68686         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68687         [C99-based standards] (cerfc): Likewise.
68688         [C99-based standards] (cexp2): Likewise.
68689         [C99-based standards] (cexpm1): Likewise.
68690         [C99-based standards] (clog10): Likewise.
68691         [C99-based standards] (clog1p): Likewise.
68692         [C99-based standards] (clog2): Likewise.
68693         [C99-based standards] (clgamma): Likewise.
68694         [C99-based standards] (ctgamma): Likewise.
68695         [C99-based standards] (cerff): Likewise.
68696         [C99-based standards] (cerfcf): Likewise.
68697         [C99-based standards] (cexp2f): Likewise.
68698         [C99-based standards] (cexpm1f): Likewise.
68699         [C99-based standards] (clog10f): Likewise.
68700         [C99-based standards] (clog1pf): Likewise.
68701         [C99-based standards] (clog2f): Likewise.
68702         [C99-based standards] (clgammaf): Likewise.
68703         [C99-based standards] (ctgammaf): Likewise.
68704         [C99-based standards] (cerfl): Likewise.
68705         [C99-based standards] (cerfcl): Likewise.
68706         [C99-based standards] (cexp2l): Likewise.
68707         [C99-based standards] (cexpm1l): Likewise.
68708         [C99-based standards] (clog10l): Likewise.
68709         [C99-based standards] (clog1pl): Likewise.
68710         [C99-based standards] (clog2l): Likewise.
68711         [C99-based standards] (clgammal): Likewise.
68712         [C99-based standards] (ctgammal): Likewise.
68713         * conform/data/inttypes.h-data [C99-based standards]: Include
68714         stdint.h-data.  Remove all expectations for stdint.h contents.
68715         [C99-based standards] (PRI*): Do not allow.
68716         [C99-based standards] (SCN*): Likewise.
68717         [C99-based standards] (*_t): Likewise.
68718         [C99-based-standards] (PRId8): Expect macro.
68719         [C99-based-standards] (PRIi8): Likewise.
68720         [C99-based-standards] (PRIo8): Likewise.
68721         [C99-based-standards] (PRIu8): Likewise.
68722         [C99-based-standards] (PRIx8): Likewise.
68723         [C99-based-standards] (PRIX8): Likewise.
68724         [C99-based-standards] (SCNd8): Likewise.
68725         [C99-based-standards] (SCNi8): Likewise.
68726         [C99-based-standards] (SCNo8): Likewise.
68727         [C99-based-standards] (SCNu8): Likewise.
68728         [C99-based-standards] (SCNx8): Likewise.
68729         [C99-based-standards] (PRIdLEAST8): Likewise.
68730         [C99-based-standards] (PRIiLEAST8): Likewise.
68731         [C99-based-standards] (PRIoLEAST8): Likewise.
68732         [C99-based-standards] (PRIuLEAST8): Likewise.
68733         [C99-based-standards] (PRIxLEAST8): Likewise.
68734         [C99-based-standards] (PRIXLEAST8): Likewise.
68735         [C99-based-standards] (SCNdLEAST8): Likewise.
68736         [C99-based-standards] (SCNiLEAST8): Likewise.
68737         [C99-based-standards] (SCNoLEAST8): Likewise.
68738         [C99-based-standards] (SCNuLEAST8): Likewise.
68739         [C99-based-standards] (SCNxLEAST8): Likewise.
68740         [C99-based-standards] (PRIdFAST8): Likewise.
68741         [C99-based-standards] (PRIiFAST8): Likewise.
68742         [C99-based-standards] (PRIoFAST8): Likewise.
68743         [C99-based-standards] (PRIuFAST8): Likewise.
68744         [C99-based-standards] (PRIxFAST8): Likewise.
68745         [C99-based-standards] (PRIXFAST8): Likewise.
68746         [C99-based-standards] (SCNdFAST8): Likewise.
68747         [C99-based-standards] (SCNiFAST8): Likewise.
68748         [C99-based-standards] (SCNoFAST8): Likewise.
68749         [C99-based-standards] (SCNuFAST8): Likewise.
68750         [C99-based-standards] (SCNxFAST8): Likewise.
68751         [C99-based-standards] (PRId16): Likewise.
68752         [C99-based-standards] (PRIi16): Likewise.
68753         [C99-based-standards] (PRIo16): Likewise.
68754         [C99-based-standards] (PRIu16): Likewise.
68755         [C99-based-standards] (PRIx16): Likewise.
68756         [C99-based-standards] (PRIX16): Likewise.
68757         [C99-based-standards] (SCNd16): Likewise.
68758         [C99-based-standards] (SCNi16): Likewise.
68759         [C99-based-standards] (SCNo16): Likewise.
68760         [C99-based-standards] (SCNu16): Likewise.
68761         [C99-based-standards] (SCNx16): Likewise.
68762         [C99-based-standards] (PRIdLEAST16): Likewise.
68763         [C99-based-standards] (PRIiLEAST16): Likewise.
68764         [C99-based-standards] (PRIoLEAST16): Likewise.
68765         [C99-based-standards] (PRIuLEAST16): Likewise.
68766         [C99-based-standards] (PRIxLEAST16): Likewise.
68767         [C99-based-standards] (PRIXLEAST16): Likewise.
68768         [C99-based-standards] (SCNdLEAST16): Likewise.
68769         [C99-based-standards] (SCNiLEAST16): Likewise.
68770         [C99-based-standards] (SCNoLEAST16): Likewise.
68771         [C99-based-standards] (SCNuLEAST16): Likewise.
68772         [C99-based-standards] (SCNxLEAST16): Likewise.
68773         [C99-based-standards] (PRIdFAST16): Likewise.
68774         [C99-based-standards] (PRIiFAST16): Likewise.
68775         [C99-based-standards] (PRIoFAST16): Likewise.
68776         [C99-based-standards] (PRIuFAST16): Likewise.
68777         [C99-based-standards] (PRIxFAST16): Likewise.
68778         [C99-based-standards] (PRIXFAST16): Likewise.
68779         [C99-based-standards] (SCNdFAST16): Likewise.
68780         [C99-based-standards] (SCNiFAST16): Likewise.
68781         [C99-based-standards] (SCNoFAST16): Likewise.
68782         [C99-based-standards] (SCNuFAST16): Likewise.
68783         [C99-based-standards] (SCNxFAST16): Likewise.
68784         [C99-based-standards] (PRId32): Likewise.
68785         [C99-based-standards] (PRIi32): Likewise.
68786         [C99-based-standards] (PRIo32): Likewise.
68787         [C99-based-standards] (PRIu32): Likewise.
68788         [C99-based-standards] (PRIx32): Likewise.
68789         [C99-based-standards] (PRIX32): Likewise.
68790         [C99-based-standards] (SCNd32): Likewise.
68791         [C99-based-standards] (SCNi32): Likewise.
68792         [C99-based-standards] (SCNo32): Likewise.
68793         [C99-based-standards] (SCNu32): Likewise.
68794         [C99-based-standards] (SCNx32): Likewise.
68795         [C99-based-standards] (PRIdLEAST32): Likewise.
68796         [C99-based-standards] (PRIiLEAST32): Likewise.
68797         [C99-based-standards] (PRIoLEAST32): Likewise.
68798         [C99-based-standards] (PRIuLEAST32): Likewise.
68799         [C99-based-standards] (PRIxLEAST32): Likewise.
68800         [C99-based-standards] (PRIXLEAST32): Likewise.
68801         [C99-based-standards] (SCNdLEAST32): Likewise.
68802         [C99-based-standards] (SCNiLEAST32): Likewise.
68803         [C99-based-standards] (SCNoLEAST32): Likewise.
68804         [C99-based-standards] (SCNuLEAST32): Likewise.
68805         [C99-based-standards] (SCNxLEAST32): Likewise.
68806         [C99-based-standards] (PRIdFAST32): Likewise.
68807         [C99-based-standards] (PRIiFAST32): Likewise.
68808         [C99-based-standards] (PRIoFAST32): Likewise.
68809         [C99-based-standards] (PRIuFAST32): Likewise.
68810         [C99-based-standards] (PRIxFAST32): Likewise.
68811         [C99-based-standards] (PRIXFAST32): Likewise.
68812         [C99-based-standards] (SCNdFAST32): Likewise.
68813         [C99-based-standards] (SCNiFAST32): Likewise.
68814         [C99-based-standards] (SCNoFAST32): Likewise.
68815         [C99-based-standards] (SCNuFAST32): Likewise.
68816         [C99-based-standards] (SCNxFAST32): Likewise.
68817         [C99-based-standards] (PRId64): Likewise.
68818         [C99-based-standards] (PRIi64): Likewise.
68819         [C99-based-standards] (PRIo64): Likewise.
68820         [C99-based-standards] (PRIu64): Likewise.
68821         [C99-based-standards] (PRIx64): Likewise.
68822         [C99-based-standards] (PRIX64): Likewise.
68823         [C99-based-standards] (SCNd64): Likewise.
68824         [C99-based-standards] (SCNi64): Likewise.
68825         [C99-based-standards] (SCNo64): Likewise.
68826         [C99-based-standards] (SCNu64): Likewise.
68827         [C99-based-standards] (SCNx64): Likewise.
68828         [C99-based-standards] (PRIdLEAST64): Likewise.
68829         [C99-based-standards] (PRIiLEAST64): Likewise.
68830         [C99-based-standards] (PRIoLEAST64): Likewise.
68831         [C99-based-standards] (PRIuLEAST64): Likewise.
68832         [C99-based-standards] (PRIxLEAST64): Likewise.
68833         [C99-based-standards] (PRIXLEAST64): Likewise.
68834         [C99-based-standards] (SCNdLEAST64): Likewise.
68835         [C99-based-standards] (SCNiLEAST64): Likewise.
68836         [C99-based-standards] (SCNoLEAST64): Likewise.
68837         [C99-based-standards] (SCNuLEAST64): Likewise.
68838         [C99-based-standards] (SCNxLEAST64): Likewise.
68839         [C99-based-standards] (PRIdFAST64): Likewise.
68840         [C99-based-standards] (PRIiFAST64): Likewise.
68841         [C99-based-standards] (PRIoFAST64): Likewise.
68842         [C99-based-standards] (PRIuFAST64): Likewise.
68843         [C99-based-standards] (PRIxFAST64): Likewise.
68844         [C99-based-standards] (PRIXFAST64): Likewise.
68845         [C99-based-standards] (SCNdFAST64): Likewise.
68846         [C99-based-standards] (SCNiFAST64): Likewise.
68847         [C99-based-standards] (SCNoFAST64): Likewise.
68848         [C99-based-standards] (SCNuFAST64): Likewise.
68849         [C99-based-standards] (SCNxFAST64): Likewise.
68850         [C99-based-standards] (PRIdMAX): Likewise.
68851         [C99-based-standards] (PRIiMAX): Likewise.
68852         [C99-based-standards] (PRIoMAX): Likewise.
68853         [C99-based-standards] (PRIuMAX): Likewise.
68854         [C99-based-standards] (PRIxMAX): Likewise.
68855         [C99-based-standards] (PRIXMAX): Likewise.
68856         [C99-based-standards] (SCNdMAX): Likewise.
68857         [C99-based-standards] (SCNiMAX): Likewise.
68858         [C99-based-standards] (SCNoMAX): Likewise.
68859         [C99-based-standards] (SCNuMAX): Likewise.
68860         [C99-based-standards] (SCNxMAX): Likewise.
68861         [C99-based-standards] (PRIdPTR): Likewise.
68862         [C99-based-standards] (PRIiPTR): Likewise.
68863         [C99-based-standards] (PRIoPTR): Likewise.
68864         [C99-based-standards] (PRIuPTR): Likewise.
68865         [C99-based-standards] (PRIxPTR): Likewise.
68866         [C99-based-standards] (PRIXPTR): Likewise.
68867         [C99-based-standards] (SCNdPTR): Likewise.
68868         [C99-based-standards] (SCNiPTR): Likewise.
68869         [C99-based-standards] (SCNoPTR): Likewise.
68870         [C99-based-standards] (SCNuPTR): Likewise.
68871         [C99-based-standards] (SCNxPTR): Likewise.
68872         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68873         allow.
68874         * conform/data/stdint.h-data: Update comments to clarify
68875         requirements.
68876         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68877         type.
68878         [C99-based standards] (INT8_MAX): Likewise.
68879         [C99-based standards] (INT16_MIN): Likewise.
68880         [C99-based standards] (INT16_MAX): Likewise.
68881         [C99-based standards] (INT32_MIN): Likewise.
68882         [C99-based standards] (INT32_MAX): Likewise.
68883         [C99-based standards] (INT64_MIN): Likewise.
68884         [C99-based standards] (INT64_MAX): Likewise.
68885         [C99-based standards] (UINT8_MAX): Likewise.
68886         [C99-based standards] (UINT16_MAX): Likewise.
68887         [C99-based standards] (UINT32_MAX): Likewise.
68888         [C99-based standards] (UINT64_MAX): Likewise.
68889         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68890         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68891         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68892         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68893         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68894         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68895         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68896         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68897         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68898         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68899         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68900         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68901         [C99-based standards] (INT_FAST8_MIN): Likewise.
68902         [C99-based standards] (INT_FAST8_MAX): Likewise.
68903         [C99-based standards] (INT_FAST16_MIN): Likewise.
68904         [C99-based standards] (INT_FAST16_MAX): Likewise.
68905         [C99-based standards] (INT_FAST32_MIN): Likewise.
68906         [C99-based standards] (INT_FAST32_MAX): Likewise.
68907         [C99-based standards] (INT_FAST64_MIN): Likewise.
68908         [C99-based standards] (INT_FAST64_MAX): Likewise.
68909         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68910         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68911         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68912         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68913         [C99-based standards] (INTPTR_MIN): Likewise.
68914         [C99-based standards] (INTPTR_MAX): Likewise.
68915         [C99-based standards] (UINTPTR_MAX): Likewise.
68916         [C99-based standards] (INTMAX_MIN): Likewise.
68917         [C99-based standards] (INTMAX_MAX): Likewise.
68918         [C99-based standards] (UINTMAX_MAX): Likewise.
68919         [C99-based standards] (PTRDIFF_MIN): Likewise.
68920         [C99-based standards] (PTRDIFF_MAX): Likewise.
68921         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68922         [C99-based standards] (SIZE_MAX): Likewise.
68923         [C99-based standards] (WCHAR_MAX): Likewise.
68924         [C99-based standards] (WINT_MAX): Likewise.
68925         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68926         constraint on value.
68927         [C99-based standards] (WCHAR_MIN): Likewise.
68928         [C99-based standards] (WINT_MIN): Likewise.
68929         [C99-based standards] (*_t): Allow.
68930         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68931         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68932         Include math.h-data and complex.h-data.  Remove all expectations
68933         of math.h and complex.h contents.
68934         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68935         at end of line.
68936         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68937         (struct tm): Expect tag.
68938         [C99-based-standards] (wcstof): Expect function.
68939         [C99-based-standards] (wcstold): Likewise.
68940         [C99-based-standards] (wcstoll): Likewise.
68941         [C99-based-standards] (wcstoull): Likewise.
68942         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68943         macro-int-constant.  Specify type.
68944         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68945         constraint on value.
68946         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68947         Specify type.
68948         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68949         Specify value.
68950         [ISO C standards]: Do not allow headers.
68951         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68952         wcs[abcdefghijklmnopqrstuvwxyz]*.
68953         [ISO C standards] (*_t): Do not allow.
68954         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68955         Expect function.
68956         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68957         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68958         Specify type.
68959         [ISO C standards]: Do not allow headers.
68960         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68961         is[abcdefghijklmnopqrstuvwxyz]*.
68962         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68963         to[abcdefghijklmnopqrstuvwxyz]*.
68964         [ISO C standards] (*_t): Do not allow.
68965         * conform/data/stdalign.h-data: New file.
68966         * conform/data/stdbool.h-data: Likewise.
68967         * conform/data/stdnoreturn.h-data: Likewise.
68969 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68971         [BZ #14815]
68972         * manual/filesys.texi (Directory Entries): Typo fix.
68973         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68975 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68977         * elf/elf.h (EM_AARCH64): New macro.
68978         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68979         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68980         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68981         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68982         (R_AARCH64_TLSDESC): Likewise.
68983         (NT_ARM_TLS): Likewise.
68984         (NT_ARM_HW_BREAK): Likewise.
68985         (NT_ARM_HW_WATCH): Likewise.
68987 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68989         [BZ #14811]
68990         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68991         (__ieee754_powl): Saturate nonzero exponents with absolute value
68992         below 0x1p-79 to +/- 0x1p-79.
68993         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68994         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68995         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68996         nonzero exponents with absolute value below 0x1p-32 to +/-
68997         0x1p-32.
68998         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68999         (__ieee754_powl): Saturate nonzero exponents with absolute value
69000         below 0x1p-79 to +/- 0x1p-79.
69001         * math/libm-test.inc (pow_test): Add more tests.
69003 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69005         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
69006         _dl_s390_cap_flags with kernel. Increase string length.
69007         (_dl_s390_platforms): Add z196 and zEC12.
69009 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69011         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
69012         Change XOPEN21K to XOPEN2K.
69014 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
69016         * string/memmove.c: Use memcpy when possible.
69018 2012-11-06  Andreas Jaeger  <aj@suse.de>
69020         * po/eo.po: Update from translation team.
69022 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
69024         [BZ #14793]
69025         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
69026         exponent and small x and y exponents, scale x or y up.  Increase
69027         by 2 the exponent used in scaling up.
69028         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69029         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69030         * math/libm-test.inc (fma_test): Add more tests.
69031         (fma_test_towardzero): Likewise.
69032         (fma_test_downward): Likewise.
69033         (fma_test_upward): Likewise.
69035 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
69037         [BZ #14805]
69038         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
69039         fenv_t *.
69041         [BZ #14801]
69042         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
69043         namespace for names of struct fields.
69044         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
69045         fenv_t fields.
69046         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
69047         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
69049 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69051         [BZ #3665]
69052         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
69054 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69056         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
69057         PTR_DEMANGLE.
69059         [BZ #5246]
69060         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
69061         PTR_DEMANGLE.
69063 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
69065         [BZ #14797]
69066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
69067         definitely overflow as x * y not x * y + z.
69068         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69069         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69070         * math/libm-test.inc (fma_test): Add more tests.
69071         (fma_test_towardzero): Likewise.
69072         (fma_test_downward): Likewise.
69073         (fma_test_upward): Likewise.
69075 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69077         [BZ #157]
69079         * include/stub-tag.h: Remove file.
69080         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
69081         '#include' of it.
69082         * manual/maint.texi (Porting): Don't reference it.
69083         * Makerules ($(objpfx)stubs): Likewise.
69084         * dirent/closedir.c: Don't include <stub-tag.h>.
69085         * dirent/dirfd.c: Likewise.
69086         * dirent/fdopendir.c: Likewise.
69087         * dirent/getdents.c: Likewise.
69088         * dirent/getdents64.c: Likewise.
69089         * dirent/opendir.c: Likewise.
69090         * dirent/readdir.c: Likewise.
69091         * dirent/readdir64.c: Likewise.
69092         * dirent/readdir64_r.c: Likewise.
69093         * dirent/readdir_r.c: Likewise.
69094         * dirent/rewinddir.c: Likewise.
69095         * dirent/seekdir.c: Likewise.
69096         * dirent/telldir.c: Likewise.
69097         * gmon/profil.c: Likewise.
69098         * grp/setgroups.c: Likewise.
69099         * inet/if_index.c: Likewise.
69100         * io/access.c: Likewise.
69101         * io/chdir.c: Likewise.
69102         * io/chmod.c: Likewise.
69103         * io/chown.c: Likewise.
69104         * io/close.c: Likewise.
69105         * io/dup.c: Likewise.
69106         * io/dup2.c: Likewise.
69107         * io/dup3.c: Likewise.
69108         * io/euidaccess.c: Likewise.
69109         * io/faccessat.c: Likewise.
69110         * io/fchdir.c: Likewise.
69111         * io/fchmod.c: Likewise.
69112         * io/fchmodat.c: Likewise.
69113         * io/fchown.c: Likewise.
69114         * io/fchownat.c: Likewise.
69115         * io/fcntl.c: Likewise.
69116         * io/flock.c: Likewise.
69117         * io/fstatfs.c: Likewise.
69118         * io/fstatfs64.c: Likewise.
69119         * io/fstatvfs.c: Likewise.
69120         * io/fstatvfs64.c: Likewise.
69121         * io/futimens.c: Likewise.
69122         * io/fxstat.c: Likewise.
69123         * io/fxstat64.c: Likewise.
69124         * io/fxstatat.c: Likewise.
69125         * io/fxstatat64.c: Likewise.
69126         * io/getcwd.c: Likewise.
69127         * io/isatty.c: Likewise.
69128         * io/lchmod.c: Likewise.
69129         * io/lchown.c: Likewise.
69130         * io/link.c: Likewise.
69131         * io/linkat.c: Likewise.
69132         * io/lseek.c: Likewise.
69133         * io/lseek64.c: Likewise.
69134         * io/lxstat64.c: Likewise.
69135         * io/mkdir.c: Likewise.
69136         * io/mkdirat.c: Likewise.
69137         * io/mkfifo.c: Likewise.
69138         * io/mkfifoat.c: Likewise.
69139         * io/open.c: Likewise.
69140         * io/open64.c: Likewise.
69141         * io/openat.c: Likewise.
69142         * io/openat64.c: Likewise.
69143         * io/pipe.c: Likewise.
69144         * io/pipe2.c: Likewise.
69145         * io/poll.c: Likewise.
69146         * io/posix_fadvise.c: Likewise.
69147         * io/posix_fadvise64.c: Likewise.
69148         * io/posix_fallocate.c: Likewise.
69149         * io/posix_fallocate64.c: Likewise.
69150         * io/read.c: Likewise.
69151         * io/readlink.c: Likewise.
69152         * io/readlinkat.c: Likewise.
69153         * io/rmdir.c: Likewise.
69154         * io/sendfile.c: Likewise.
69155         * io/sendfile64.c: Likewise.
69156         * io/statfs.c: Likewise.
69157         * io/statfs64.c: Likewise.
69158         * io/statvfs.c: Likewise.
69159         * io/statvfs64.c: Likewise.
69160         * io/symlink.c: Likewise.
69161         * io/symlinkat.c: Likewise.
69162         * io/ttyname.c: Likewise.
69163         * io/ttyname_r.c: Likewise.
69164         * io/umask.c: Likewise.
69165         * io/unlink.c: Likewise.
69166         * io/unlinkat.c: Likewise.
69167         * io/utime.c: Likewise.
69168         * io/utimensat.c: Likewise.
69169         * io/write.c: Likewise.
69170         * io/xmknod.c: Likewise.
69171         * io/xmknodat.c: Likewise.
69172         * io/xstat.c: Likewise.
69173         * io/xstat64.c: Likewise.
69174         * login/getpt.c: Likewise.
69175         * login/grantpt.c: Likewise.
69176         * login/unlockpt.c: Likewise.
69177         * math/e_acoshl.c: Likewise.
69178         * math/e_acosl.c: Likewise.
69179         * math/e_asinl.c: Likewise.
69180         * math/e_atan2l.c: Likewise.
69181         * math/e_atanhl.c: Likewise.
69182         * math/e_coshl.c: Likewise.
69183         * math/e_expl.c: Likewise.
69184         * math/e_fmodl.c: Likewise.
69185         * math/e_gammal_r.c: Likewise.
69186         * math/e_hypotl.c: Likewise.
69187         * math/e_j0l.c: Likewise.
69188         * math/e_j1l.c: Likewise.
69189         * math/e_jnl.c: Likewise.
69190         * math/e_lgammal_r.c: Likewise.
69191         * math/e_log10l.c: Likewise.
69192         * math/e_log2l.c: Likewise.
69193         * math/e_logl.c: Likewise.
69194         * math/e_powl.c: Likewise.
69195         * math/e_rem_pio2l.c: Likewise.
69196         * math/e_sinhl.c: Likewise.
69197         * math/e_sqrtl.c: Likewise.
69198         * math/fclrexcpt.c: Likewise.
69199         * math/fedisblxcpt.c: Likewise.
69200         * math/feenablxcpt.c: Likewise.
69201         * math/fegetenv.c: Likewise.
69202         * math/fegetexcept.c: Likewise.
69203         * math/fegetround.c: Likewise.
69204         * math/feholdexcpt.c: Likewise.
69205         * math/fesetenv.c: Likewise.
69206         * math/fesetround.c: Likewise.
69207         * math/feupdateenv.c: Likewise.
69208         * math/fgetexcptflg.c: Likewise.
69209         * math/fraiseexcpt.c: Likewise.
69210         * math/fsetexcptflg.c: Likewise.
69211         * math/ftestexcept.c: Likewise.
69212         * math/k_cosl.c: Likewise.
69213         * math/k_rem_pio2l.c: Likewise.
69214         * math/k_sinl.c: Likewise.
69215         * math/k_tanl.c: Likewise.
69216         * math/s_asinhl.c: Likewise.
69217         * math/s_atanl.c: Likewise.
69218         * math/s_cbrtl.c: Likewise.
69219         * math/s_erfl.c: Likewise.
69220         * math/s_expm1l.c: Likewise.
69221         * math/s_log1pl.c: Likewise.
69222         * math/s_tanhl.c: Likewise.
69223         * misc/acct.c: Likewise.
69224         * misc/brk.c: Likewise.
69225         * misc/chflags.c: Likewise.
69226         * misc/chroot.c: Likewise.
69227         * misc/fchflags.c: Likewise.
69228         * misc/fgetxattr.c: Likewise.
69229         * misc/flistxattr.c: Likewise.
69230         * misc/fremovexattr.c: Likewise.
69231         * misc/fsetxattr.c: Likewise.
69232         * misc/fsync.c: Likewise.
69233         * misc/ftruncate.c: Likewise.
69234         * misc/futimes.c: Likewise.
69235         * misc/futimesat.c: Likewise.
69236         * misc/getdomain.c: Likewise.
69237         * misc/getdtsz.c: Likewise.
69238         * misc/gethostid.c: Likewise.
69239         * misc/gethostname.c: Likewise.
69240         * misc/getloadavg.c: Likewise.
69241         * misc/getpagesize.c: Likewise.
69242         * misc/getsysstats.c: Likewise.
69243         * misc/getxattr.c: Likewise.
69244         * misc/gtty.c: Likewise.
69245         * misc/ioctl.c: Likewise.
69246         * misc/lgetxattr.c: Likewise.
69247         * misc/listxattr.c: Likewise.
69248         * misc/llistxattr.c: Likewise.
69249         * misc/lremovexattr.c: Likewise.
69250         * misc/lsetxattr.c: Likewise.
69251         * misc/lutimes.c: Likewise.
69252         * misc/madvise.c: Likewise.
69253         * misc/mincore.c: Likewise.
69254         * misc/mlock.c: Likewise.
69255         * misc/mlockall.c: Likewise.
69256         * misc/mmap.c: Likewise.
69257         * misc/mprotect.c: Likewise.
69258         * misc/msync.c: Likewise.
69259         * misc/munlock.c: Likewise.
69260         * misc/munlockall.c: Likewise.
69261         * misc/munmap.c: Likewise.
69262         * misc/preadv.c: Likewise.
69263         * misc/preadv64.c: Likewise.
69264         * misc/ptrace.c: Likewise.
69265         * misc/pwritev.c: Likewise.
69266         * misc/pwritev64.c: Likewise.
69267         * misc/readv.c: Likewise.
69268         * misc/reboot.c: Likewise.
69269         * misc/remap_file_pages.c: Likewise.
69270         * misc/removexattr.c: Likewise.
69271         * misc/revoke.c: Likewise.
69272         * misc/select.c: Likewise.
69273         * misc/setdomain.c: Likewise.
69274         * misc/setegid.c: Likewise.
69275         * misc/seteuid.c: Likewise.
69276         * misc/sethostid.c: Likewise.
69277         * misc/sethostname.c: Likewise.
69278         * misc/setregid.c: Likewise.
69279         * misc/setreuid.c: Likewise.
69280         * misc/setxattr.c: Likewise.
69281         * misc/sstk.c: Likewise.
69282         * misc/stty.c: Likewise.
69283         * misc/swapoff.c: Likewise.
69284         * misc/swapon.c: Likewise.
69285         * misc/sync.c: Likewise.
69286         * misc/syncfs.c: Likewise.
69287         * misc/syscall.c: Likewise.
69288         * misc/truncate.c: Likewise.
69289         * misc/ualarm.c: Likewise.
69290         * misc/usleep.c: Likewise.
69291         * misc/ustat.c: Likewise.
69292         * misc/utimes.c: Likewise.
69293         * misc/vhangup.c: Likewise.
69294         * misc/writev.c: Likewise.
69295         * posix/_exit.c: Likewise.
69296         * posix/alarm.c: Likewise.
69297         * posix/execve.c: Likewise.
69298         * posix/fexecve.c: Likewise.
69299         * posix/fork.c: Likewise.
69300         * posix/fpathconf.c: Likewise.
69301         * posix/getaddrinfo.c: Likewise.
69302         * posix/getegid.c: Likewise.
69303         * posix/geteuid.c: Likewise.
69304         * posix/getgid.c: Likewise.
69305         * posix/getgroups.c: Likewise.
69306         * posix/getlogin.c: Likewise.
69307         * posix/getlogin_r.c: Likewise.
69308         * posix/getpgid.c: Likewise.
69309         * posix/getpid.c: Likewise.
69310         * posix/getppid.c: Likewise.
69311         * posix/getresgid.c: Likewise.
69312         * posix/getresuid.c: Likewise.
69313         * posix/getsid.c: Likewise.
69314         * posix/getuid.c: Likewise.
69315         * posix/glob64.c: Likewise.
69316         * posix/nanosleep.c: Likewise.
69317         * posix/pathconf.c: Likewise.
69318         * posix/pause.c: Likewise.
69319         * posix/posix_madvise.c: Likewise.
69320         * posix/pread.c: Likewise.
69321         * posix/pread64.c: Likewise.
69322         * posix/pwrite.c: Likewise.
69323         * posix/pwrite64.c: Likewise.
69324         * posix/sched_getaffinity.c: Likewise.
69325         * posix/sched_getp.c: Likewise.
69326         * posix/sched_gets.c: Likewise.
69327         * posix/sched_primax.c: Likewise.
69328         * posix/sched_primin.c: Likewise.
69329         * posix/sched_rr_gi.c: Likewise.
69330         * posix/sched_setaffinity.c: Likewise.
69331         * posix/sched_setp.c: Likewise.
69332         * posix/sched_sets.c: Likewise.
69333         * posix/sched_yield.c: Likewise.
69334         * posix/setgid.c: Likewise.
69335         * posix/setlogin.c: Likewise.
69336         * posix/setpgid.c: Likewise.
69337         * posix/setresgid.c: Likewise.
69338         * posix/setresuid.c: Likewise.
69339         * posix/setsid.c: Likewise.
69340         * posix/setuid.c: Likewise.
69341         * posix/sleep.c: Likewise.
69342         * posix/spawni.c: Likewise.
69343         * posix/sysconf.c: Likewise.
69344         * posix/times.c: Likewise.
69345         * posix/wait.c: Likewise.
69346         * posix/wait3.c: Likewise.
69347         * posix/wait4.c: Likewise.
69348         * posix/waitpid.c: Likewise.
69349         * resolv/gai_sigqueue.c: Likewise.
69350         * resource/getpriority.c: Likewise.
69351         * resource/getrlimit.c: Likewise.
69352         * resource/getrusage.c: Likewise.
69353         * resource/nice.c: Likewise.
69354         * resource/setpriority.c: Likewise.
69355         * resource/setrlimit.c: Likewise.
69356         * resource/ulimit.c: Likewise.
69357         * rt/aio_cancel.c: Likewise.
69358         * rt/aio_fsync.c: Likewise.
69359         * rt/aio_read.c: Likewise.
69360         * rt/aio_sigqueue.c: Likewise.
69361         * rt/aio_suspend.c: Likewise.
69362         * rt/aio_write.c: Likewise.
69363         * rt/clock_getres.c: Likewise.
69364         * rt/clock_gettime.c: Likewise.
69365         * rt/clock_nanosleep.c: Likewise.
69366         * rt/clock_settime.c: Likewise.
69367         * rt/lio_listio.c: Likewise.
69368         * rt/mq_close.c: Likewise.
69369         * rt/mq_getattr.c: Likewise.
69370         * rt/mq_notify.c: Likewise.
69371         * rt/mq_open.c: Likewise.
69372         * rt/mq_receive.c: Likewise.
69373         * rt/mq_send.c: Likewise.
69374         * rt/mq_setattr.c: Likewise.
69375         * rt/mq_timedreceive.c: Likewise.
69376         * rt/mq_timedsend.c: Likewise.
69377         * rt/mq_unlink.c: Likewise.
69378         * rt/shm_open.c: Likewise.
69379         * rt/shm_unlink.c: Likewise.
69380         * rt/timer_create.c: Likewise.
69381         * rt/timer_delete.c: Likewise.
69382         * rt/timer_getoverr.c: Likewise.
69383         * rt/timer_gettime.c: Likewise.
69384         * rt/timer_settime.c: Likewise.
69385         * setjmp/__longjmp.c: Likewise.
69386         * setjmp/setjmp.c: Likewise.
69387         * signal/kill.c: Likewise.
69388         * signal/killpg.c: Likewise.
69389         * signal/raise.c: Likewise.
69390         * signal/sigaction.c: Likewise.
69391         * signal/sigaltstack.c: Likewise.
69392         * signal/sigblock.c: Likewise.
69393         * signal/sigignore.c: Likewise.
69394         * signal/sigintr.c: Likewise.
69395         * signal/signal.c: Likewise.
69396         * signal/sigpause.c: Likewise.
69397         * signal/sigpending.c: Likewise.
69398         * signal/sigqueue.c: Likewise.
69399         * signal/sigreturn.c: Likewise.
69400         * signal/sigset.c: Likewise.
69401         * signal/sigsetmask.c: Likewise.
69402         * signal/sigstack.c: Likewise.
69403         * signal/sigsuspend.c: Likewise.
69404         * signal/sigtimedwait.c: Likewise.
69405         * signal/sigvec.c: Likewise.
69406         * signal/sigwait.c: Likewise.
69407         * signal/sigwaitinfo.c: Likewise.
69408         * signal/sysv_signal.c: Likewise.
69409         * socket/accept.c: Likewise.
69410         * socket/accept4.c: Likewise.
69411         * socket/bind.c: Likewise.
69412         * socket/connect.c: Likewise.
69413         * socket/getpeername.c: Likewise.
69414         * socket/getsockname.c: Likewise.
69415         * socket/getsockopt.c: Likewise.
69416         * socket/isfdtype.c: Likewise.
69417         * socket/listen.c: Likewise.
69418         * socket/recv.c: Likewise.
69419         * socket/recvfrom.c: Likewise.
69420         * socket/recvmsg.c: Likewise.
69421         * socket/send.c: Likewise.
69422         * socket/sendmsg.c: Likewise.
69423         * socket/sendto.c: Likewise.
69424         * socket/setsockopt.c: Likewise.
69425         * socket/shutdown.c: Likewise.
69426         * socket/sockatmark.c: Likewise.
69427         * socket/socket.c: Likewise.
69428         * socket/socketpair.c: Likewise.
69429         * stdio-common/ctermid.c: Likewise.
69430         * stdio-common/cuserid.c: Likewise.
69431         * stdio-common/remove.c: Likewise.
69432         * stdio-common/rename.c: Likewise.
69433         * stdio-common/renameat.c: Likewise.
69434         * stdio-common/tempname.c: Likewise.
69435         * stdlib/getcontext.c: Likewise.
69436         * stdlib/makecontext.c: Likewise.
69437         * stdlib/setcontext.c: Likewise.
69438         * stdlib/swapcontext.c: Likewise.
69439         * stdlib/system.c: Likewise.
69440         * streams/fattach.c: Likewise.
69441         * streams/fdetach.c: Likewise.
69442         * streams/getmsg.c: Likewise.
69443         * streams/getpmsg.c: Likewise.
69444         * streams/putmsg.c: Likewise.
69445         * streams/putpmsg.c: Likewise.
69446         * sysdeps/unix/bsd/getpt.c: Likewise.
69447         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69448         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69449         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69451         Likewise.
69452         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69453         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69454         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69455         * sysvipc/msgctl.c: Likewise.
69456         * sysvipc/msgget.c: Likewise.
69457         * sysvipc/msgrcv.c: Likewise.
69458         * sysvipc/msgsnd.c: Likewise.
69459         * sysvipc/semctl.c: Likewise.
69460         * sysvipc/semget.c: Likewise.
69461         * sysvipc/semop.c: Likewise.
69462         * sysvipc/semtimedop.c: Likewise.
69463         * sysvipc/shmat.c: Likewise.
69464         * sysvipc/shmctl.c: Likewise.
69465         * sysvipc/shmdt.c: Likewise.
69466         * sysvipc/shmget.c: Likewise.
69467         * termios/tcdrain.c: Likewise.
69468         * termios/tcflow.c: Likewise.
69469         * termios/tcflush.c: Likewise.
69470         * termios/tcgetattr.c: Likewise.
69471         * termios/tcgetpgrp.c: Likewise.
69472         * termios/tcsendbrk.c: Likewise.
69473         * termios/tcsetattr.c: Likewise.
69474         * termios/tcsetpgrp.c: Likewise.
69475         * time/adjtime.c: Likewise.
69476         * time/clock.c: Likewise.
69477         * time/getitimer.c: Likewise.
69478         * time/gettimeofday.c: Likewise.
69479         * time/setitimer.c: Likewise.
69480         * time/settimeofday.c: Likewise.
69481         * time/stime.c: Likewise.
69482         * time/time.c: Likewise.
69484 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69486         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69487         /usr/old/bin.
69489         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69490         instead of spaces.
69491         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69493 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69495         [BZ #14796]
69496         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69497         FE_TONEAREST before applying Dekker multiplication and Knuth
69498         addition.  Clear inexact exceptions and check for exact zero
69499         results afterwards.
69500         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69501         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69502         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69503         * math/libm-test.inc (fma_test): Add more tests.
69504         (fma_test_towardzero): Likewise.
69505         (fma_test_downward): Likewise.
69506         (fma_test_upward): Likewise.
69507         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69508         function.
69509         (libc_fesetround): New macro.
69510         (libc_fesetroundf): Likewise.
69511         (libc_fesetroundl): Likewise.
69512         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69513         function.
69514         (libc_fesetround_387): Likewise.
69515         (libc_fesetroundf): New macro.
69516         (libc_fesetround): Likewise.
69517         (libc_fesetroundl): Likewise.
69518         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69519         function.
69520         (libc_fesetroundf): New macro.
69521         (libc_fesetround): Likewise.
69522         (libc_fesetroundl): Likewise.
69523         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69524         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69525         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69526         libm_hidden_ver.
69527         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69528         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69529         libm_hidden_def.
69530         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69531         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69532         libm_hidden_ver.
69533         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69534         libm_hidden_def.
69536         [BZ #3439]
69537         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69538         integer constant usable in #if and use that to give value to enum
69539         constant.
69540         (FE_DIVBYZERO): Likewise.
69541         (FE_UNDERFLOW): Likewise.
69542         (FE_OVERFLOW): Likewise.
69543         (FE_INVALID): Likewise.
69544         (FE_INVALID_SNAN): Likewise.
69545         (FE_INVALID_ISI): Likewise.
69546         (FE_INVALID_IDI): Likewise.
69547         (FE_INVALID_ZDZ): Likewise.
69548         (FE_INVALID_IMZ): Likewise.
69549         (FE_INVALID_COMPARE): Likewise.
69550         (FE_INVALID_SOFTWARE): Likewise.
69551         (FE_INVALID_SQRT): Likewise.
69552         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69553         (FE_TONEAREST): Likewise.
69554         (FE_TOWARDZERO): Likewise.
69555         (FE_UPWARD): Likewise.
69556         (FE_DOWNWARD): Likewise.
69557         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69558         (FE_DIVBYZERO): Likewise.
69559         (FE_OVERFLOW): Likewise.
69560         (FE_UNDERFLOW): Likewise.
69561         (FE_INEXACT): Likewise.
69562         (FE_TONEAREST): Likewise.
69563         (FE_DOWNWARD): Likewise.
69564         (FE_UPWARD): Likewise.
69565         (FE_TOWARDZERO): Likewise.
69566         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69567         (FE_UNDERFLOW): Likewise.
69568         (FE_OVERFLOW): Likewise.
69569         (FE_DIVBYZERO): Likewise.
69570         (FE_INVALID): Likewise.
69571         (FE_TONEAREST): Likewise.
69572         (FE_TOWARDZERO): Likewise.
69573         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69574         (FE_OVERFLOW): Likewise.
69575         (FE_UNDERFLOW): Likewise.
69576         (FE_DIVBYZERO): Likewise.
69577         (FE_INEXACT): Likewise.
69578         (FE_TONEAREST): Likewise.
69579         (FE_TOWARDZERO): Likewise.
69580         (FE_UPWARD): Likewise.
69581         (FE_DOWNWARD): Likewise.
69582         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69583         (FE_DIVBYZERO): Likewise.
69584         (FE_OVERFLOW): Likewise.
69585         (FE_UNDERFLOW): Likewise.
69586         (FE_INEXACT): Likewise.
69587         (FE_TONEAREST): Likewise.
69588         (FE_DOWNWARD): Likewise.
69589         (FE_UPWARD): Likewise.
69590         (FE_TOWARDZERO): Likewise.
69592 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69594         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69596 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69598         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69599         commands.  Quote $PWD.
69600         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69601         -x" by "export".
69602         (remove_newlines): Remove.
69604 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69606         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69607         * stdlib/stdlib.h (atof): Moved to ...
69608         * include/bits/stdlib-float.h: Here.  New file.
69609         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69610         * stdlib/bits/stdlib-float.h: New file.
69611         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69612         -mno-sse -mno-mmx.
69613         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69614         <xmmintrin.h>.
69616 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69618         * conform/conformtest.pl (@headers): Add fenv.h.
69619         * conform/data/fenv.h-data: New file.
69620         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69621         include of <math/fenv.h>.
69623         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69624         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69625         && !UNIX98].  Enables tests for XOPEN2K8.
69626         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69627         POSIX2008]: Likewise.
69629         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69630         (struct rusage): Do not expect type or its members.
69632         [BZ #3439]
69633         * math/math.h (FP_NAN): Define macro to integer constant usable in
69634         #if and use that to give value to enum constant.
69635         (FP_INFINITE): Likewise.
69636         (FP_ZERO): Likewise.
69637         (FP_SUBNORMAL): Likewise.
69638         (FP_NORMAL): Likewise.
69640 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69642         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69643         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69644         arguments.
69646 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69648         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69649         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69650         autoconf-time if not.
69651         * configure.in: Remove AC_PREREQ.
69653 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69655         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69656         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69657         of the internal implementation.
69659 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69661         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69662         except include of <misc/sys/syslog.h>.
69664 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69667         function returns with a NULL context exit with zero.
69669 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69671         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69673 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69675         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69676         (run_program_cmd): This.
69677         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69678         (tst_langinfo): New variable.  Use it.
69680 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69682         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69683         floating point opcodes.
69685 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69687         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69688         variable.
69690         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69692         * sysdeps/mach/hurd/powerpc: Remove directory.
69693         * sysdeps/mach/powerpc: Likewise.
69695 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69697         * scripts/check-local-headers.sh: Ignore c++ headers.
69699 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69701         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69702         __libc_cleanup_region_start argument.
69704 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69706         [BZ #14784]
69707         [BZ #14785]
69708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69709         x * y using scaling, not as x * y + z.
69710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69712         * math/libm-test.inc (fma_test): Add more tests.
69713         (fma_test_towardzero): Likewise.
69714         (fma_test_downward): Likewise.
69715         (fma_test_upward): Likewise.
69717 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69719         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69721 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69723         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69724         New variable.
69726 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69728         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69730 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69733         Fix sort order.
69734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69735         Likewise.
69737 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69740         Fix the order of the list for glibc 2.17.
69741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69742         Likewise.
69744 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69748 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69750         [BZ #14610]
69751         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69752         for low part of x being zero before using __atanl (y).
69753         * math/libm-test.inc (atan2_test): Add another test.
69755         * manual/install.texi (Configuring and compiling): Document
69756         general use of test-wrapper and test-wrapper-env.
69757         * INSTALL: Regenerated.
69759         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69760         (__fma): Do not extract and scale down low bits on after-rounding
69761         systems when result rounded to normal precision would have normal
69762         exponent.
69763         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69764         (__fmal): Do not extract and scale down low bits on after-rounding
69765         systems when result rounded to normal precision would have normal
69766         exponent.
69767         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69768         (__fmal): Do not extract and scale down low bits on after-rounding
69769         systems when result rounded to normal precision would have normal
69770         exponent.
69771         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69772         macro.
69773         (fma_test): Add more tests.
69774         (fma_test_towardzero): Likewise.
69775         (fma_test_downward): Likewise.
69776         (fma_test_upward): Likewise.
69778 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69780         * sysdeps/i386/tininess.h: Renamed to ...
69781         * sysdeps/x86/tininess.h: This.
69782         * sysdeps/x86_64/tininess.h: Removed.
69784 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69786         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69787         input.  Use $(build-program-cmd).
69788         ($(objpfx)tst-array1-static.out): Likewise.
69789         ($(objpfx)tst-array2.out): Likewise.
69790         ($(objpfx)tst-array3.out): Likewise.
69791         ($(objpfx)tst-array4.out): Likewise.
69792         ($(objpfx)tst-array5.out): Likewise.
69793         ($(objpfx)tst-array5-static.out): Likewise.
69795 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69797         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69798         if defined.
69800         * nss/nsswitch.h (nss_interface_function): Provide new
69801         macro for use with NSS functions.
69802         * grp/initgroups.c: Use new macro.
69803         * nss/getXXbyYY.c: Likewise.
69804         * nss/getXXbyYY_r.c: Likewise.
69805         * nss/getXXent.c: Likewise.
69806         * nss/getXXent_r.c: Likewise.
69807         * sysdeps/posix/getaddrinfo.c: Likewise.
69809 2012-10-30  Andreas Jaeger  <aj@suse.de>
69811         * po/ru.po: Update Russion translation from translation project.
69813 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69815         [BZ #14152]
69816         [BZ #14783]
69817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69818         result and shift together with sticky bit instead of replicating
69819         round-to-nearest rounding.
69820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69821         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69822         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69823         missing underflow exceptions.
69824         (fma_test_towardzero): Add more tests.
69825         (fma_test_downward): Likewise.
69826         (fma_test_upward): Likewise.
69828         [BZ #14047]
69829         * sysdeps/generic/tininess.h: New file.
69830         * sysdeps/i386/tininess.h: Likewise.
69831         * sysdeps/sh/tininess.h: Likewise.
69832         * sysdeps/x86_64/tininess.h: Likewise.
69833         * stdlib/tst-strtod-underflow.c: Likewise.
69834         * stdlib/tst-tininess.c: Likewise.
69835         * stdlib/strtod_l.c: Include <tininess.h>.
69836         (round_and_return): Do not set errno for exact underflow cases.
69837         Force an underflow exception when setting errno for underflow.
69838         Determine underflow based on rounding to normal precision if
69839         TININESS_AFTER_ROUNDING.
69840         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69841         ERANGE for exact underflow cases.
69842         * stdlib/Makefile (tests): Add tst-tininess and
69843         tst-strtod-underflow.
69844         ($(objpfx)tst-tininess): Use $(link-libm).
69845         ($(objpfx)tst-strtod-underflow): Likewise.
69847 2012-10-30  Andreas Jaeger  <aj@suse.de>
69849         [BZ #14767]
69850         * elf/Makefile (tests): Remove conditional for have-initfini-array
69851         since this is now always required and the variable does not exist
69852         anymore.
69853         (tests-static): Likewise.
69854         (modules-names): Likewise.
69856         * po/eo.po: Add Esperanto translation from translation project.
69858         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69859         merged with constructor/destructor.
69860         (init_array): Likewise.
69861         * elf/tst-array2dep.c (fini_array): Likewise.
69862         (init_array): Likewise.
69864 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69866         * manual/message.texi: Delete @cartouche tags.
69868 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69870         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69871         EOPNOTSUPP.
69872         * sysdeps/mach/hurd/fsync.c: Likewise.
69874         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69875         [_POSIX_REALTIME_SIGNALS]: Change condition to
69876         [_POSIX_REALTIME_SIGNALS > 0].
69878 2012-10-27  Andreas Jaeger  <aj@suse.de>
69880         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69881         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69882         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69883         [__WORDSIZE != 64]: Likewise.
69885 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69887         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69888         *  iconvdata/tst-tables.sh: Likewise.
69890 2012-10-25  David S. Miller  <davem@davemloft.net>
69892         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69893         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69894         of strtoull.
69896         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69897         ifunc-impl-list.c
69898         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69899         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69900         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69901         file.
69903 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69905         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69906         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69907         __getdirentries.
69909 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69910             Jim Blandy  <jimb@codesourcery.com>
69912         * scripts/cross-test-ssh.sh: New file.
69913         * manual/install.texi (Configuring and compiling): Document use of
69914         cross-test-ssh.sh.
69915         * INSTALL: Regenerated.
69917 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69919         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69920         EOPNOTSUPP.
69922 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69924         * Makeconfig (run-program-prefix): Fix comment.
69926 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69927             Jim Blandy  <jimb@codesourcery.com>
69929         * Makeconfig (test-wrapper): New variable,
69930         (test-wrapper-env): Likewise.
69931         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69932         (run-built-tests): Define to yes.
69933         (run-program-prefix): Use $(test-wrapper).
69934         (built-program-cmd): Likewise.
69935         * Rules (make-test-out): Use $(test-wrapper-env) and
69936         $(host-built-program-cmd).
69937         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69938         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69939         tst-pathopt.sh.
69940         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69941         $(test-wrapper-env) to tst-rtld-load-self.sh.
69942         ($(objpfx)order2.out): Use $(test-wrapper).
69943         ($(objpfx)tst-initorder.out): Likewise.
69944         ($(objpfx)tst-initorder2.out): Likewise.
69945         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69946         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69947         (test_wrapper_env): New variable.  Use it to run ld.so.
69948         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69949         Use it to run ld.so.
69950         (test_wrapper_env): Likewise.
69951         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69952         $(test-wrapper) to run-iconv-test.sh.
69953         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69954         (ICONV): Use $test_wrapper.
69955         * posix/Makefile ($(objpfx)globtest.out): Pass
69956         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69957         globtest.sh, not $(run-program-prefix).
69958         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69959         (test_wrapper): Likewise.
69960         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69961         set together with run_via_rtld_prefix.
69962         (run_program_prefix): Define in terms of test_wrapper and
69963         run_via_rtld_prefix.
69965 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69967         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69968         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69969         Targets removed.
69971         [BZ #14743]
69972         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69973         Declare __clock_getres, __clock_gettime, __clock_settime,
69974         __clock_nanosleep, and __clock_getcpuclockid.
69975         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69976         Remove librt_hidden_def (clock_gettime).
69977         * sysdeps/unix/clock_gettime.c: Likewise.
69978         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69979         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69980         * rt/clock_getres.c: Define __clock_getres as an alias.
69981         * sysdeps/posix/clock_getres.c: Likewise.
69982         * rt/clock_settime.c: Define __clock_settime as an alias.
69983         * sysdeps/unix/clock_settime.c: Likewise.
69984         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69985         * sysdeps/unix/clock_nanosleep.c: Likewise.
69986         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69987         * rt/clock-compat.c: New file.
69988         * rt/Makefile (librt-routines): Add clock-compat and move
69989         $(clock-routines) to ...
69990         (routines): ... here, new variable.
69991         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69992         Don't add get_clockfreq here.
69993         * rt/Versions (libc: GLIBC_2.17): New version set.
69994         Add clock_* symbols here.
69995         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69996         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69997         (GLIBC_2.17): Add clock_* symbols.
69998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70000         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70002         Likewise.
70003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70004         Likewise.
70005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70008         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70009         * NEWS: Mention the move.
70011         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
70012         Use __open, __read, __close rather than their public counterparts.
70013         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70014         (__get_clockfreq_via_cpuinfo): Likewise.
70015         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
70016         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
70018         * config.h.in (HAVE_IFUNC): New #undef.
70019         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
70020         was successful.
70021         * configure: Regenerated.
70023 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70025         * configure.in: Move READELF check to start of file.
70026         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
70027         libc_cv_asm_gnu_indirect_function in the process.
70028         * configure: Regenerated.
70030 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70032         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
70033         send the output to /dev/null.
70034         (libc_cv_cc_with_libunwind): Likewise.
70035         (libc_cv_as_noexecstack): Likewise.
70036         * configure: Regenerate.
70038 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70040         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
70042         * posix/globtest.sh (TMPDIR): Do not set.
70043         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
70044         (testout): Likewise.
70046 2012-10-24  Andreas Jaeger  <aj@suse.de>
70048         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
70049         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
70050         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
70051         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
70052         posix_fadvise64, posix_fallocate64.
70054         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
70055         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
70056         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
70057         Likewise.
70058         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
70059         Likewise.
70060         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
70062         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
70063         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
70064         <bits/fcntl-linux.h>.
70065         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
70067         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
70068         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
70069         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
70070         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
70071         [__WORDSIZE != 64]: Likewise.
70073 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70075         * Makeconfig (run-built-tests): New variable.
70076         * Rules [$(cross-compiling) = yes]: Change condition to
70077         [$(run-built-tests) = no].
70078         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
70079         to [$(run-built-tests) = yes].
70080         * elf/Makefile [$(cross-compiling) = no]: Likewise.
70081         * grp/Makefile [$(cross-compiling) = no]: Likewise.
70082         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
70083         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
70084         * intl/Makefile [$(cross-compiling) = no]: Likewise.
70085         * io/Makefile [$(cross-compiling) = no]: Likewise.
70086         * libio/Makefile [$(cross-compiling) = no]: Likewise.
70087         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
70088         * misc/Makefile [$(cross-compiling) = no]: Likewise.
70089         * posix/Makefile [$(cross-compiling) = no]: Likewise.
70090         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
70091         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
70092         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
70093         * string/Makefile [$(cross-compiling) = no]: Likewise.
70095         * posix/Makefile ($(objpfx)globtest.out): Pass
70096         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
70097         $(rtld-installed-name).
70098         * posix/globtest.sh (elf_objpfx): Remove variable.
70099         (rtld_installed_name): Likewise.
70100         (library_path): Likewise.
70101         (run_program_prefix): New variable.  Use for running globtest
70102         binary.
70104 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
70105             Joseph Myers  <joseph@codesourcery.com>
70107         * Makeconfig (host-built-program-cmd): New variable.
70108         * elf/Makefile (tst-stackguard1-ARGS): Use
70109         $(host-built-program-cmd).
70110         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
70111         (tst-spawn-ARGS): Likewise.
70112         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
70114 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70115             Jim Blandy  <jimb@codesourcery.com>
70117         * Makeconfig (run-via-rtld-prefix): New variable.
70118         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
70119         (built-program-cmd): Likewise.
70121 2012-10-22  Andreas Jaeger  <aj@suse.de>
70123         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
70124         __O_RSYNC if it exists, otherwise to O_SYNC.
70126 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
70127             Joseph Myers  <joseph@codesourcery.com>
70129         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
70130         /dev/null.
70131         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
70132         from /dev/null
70133         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
70134         /dev/null.
70136 2012-10-22  Andreas Jaeger  <aj@suse.de>
70138         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
70139         Define always.
70140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
70142         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70143         bits/fcntl-linux.h.
70145         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
70146         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
70148         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
70149         to __O_LARGEFILE.
70150         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
70151         to __O_LARGEFILE.
70153 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
70154             Joseph Myers  <joseph@codesourcery.com>
70156         * config.make.in (NM): New variable.
70158 2012-10-21  Andreas Jaeger  <aj@suse.de>
70160         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
70161         definitions and declarations that are provided by
70162         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70164 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70166         [BZ #14683]
70167         * elf/Makefile (tests-static): Add tst-leaks1-static.
70168         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
70169         ($(objpfx)tst-leaks1-static): New rule.
70170         ($(objpfx)tst-leaks1-static-mem): Likewise.
70171         (tst-leaks1-static-ENV): New macro.
70172         * elf/dl-open.c (dl_open_worker): Check the main application
70173         only if SHARED is defined.
70174         * elf/tst-leaks1-static.c: New file.
70176 2012-10-20  Andreas Jaeger  <aj@suse.de>
70178         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
70179         generic values for Linux.
70180         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
70181         and declarations that are provided by <bits/fcntl-linux.h> and
70182         include <bits/fcntl-linux.h>.
70183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70184         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70186 2012-10-20  Roland McGrath  <roland@hack.frob.com>
70188         * io/fcntl.h: Move include of <bits/types.h> to the top and
70189         include it unconditionally.
70191 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70193         * wcsmbs/Makefile (tests-ifunc): New variable.
70194         (tests): Add $(tests-ifunc).
70195         * wcsmbs/test-wcschr-ifunc.c: New file.
70196         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
70197         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
70198         * wcsmbs/test-wcslen-ifunc.c: Likewise.
70199         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
70200         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
70202         * string/Makefile (tests-ifunc): New variable.
70203         (tests): Add $(tests-ifunc).
70204         * string/test-memccpy.c (TEST_NAME): New macro.
70205         * string/test-memchr.c (TEST_NAME): Likewise.
70206         * string/test-memcmp.c (TEST_NAME): Likewise.
70207         * string/test-memcpy.c (TEST_NAME): Likewise.
70208         * string/test-memmem.c (TEST_NAME): Likewise.
70209         * string/test-memmove.c (TEST_NAME): Likewise.
70210         * string/test-memset.c (TEST_NAME): Likewise.
70211         * string/test-rawmemchr.c (TEST_NAME): Likewise.
70212         * string/test-stpcpy.c (TEST_NAME): Likewise.
70213         * string/test-stpncpy.c (TEST_NAME): Likewise.
70214         * string/test-strcasecmp.c (TEST_NAME): Likewise.
70215         * string/test-strcasestr.c (TEST_NAME): Likewise.
70216         * string/test-strcat.c (TEST_NAME): Likewise.
70217         * string/test-strchr.c (TEST_NAME): Likewise.
70218         * string/test-strcmp.c(TEST_NAME): Likewise.
70219         * string/test-strcpy.c (TEST_NAME): Likewise.
70220         * string/test-strcspn.c (TEST_NAME): Likewise.
70221         * string/test-strlen.c (TEST_NAME): Likewise.
70222         * string/test-strncasecmp.c (TEST_NAME): Likewise.
70223         * string/test-strncmp.c (TEST_NAME): Likewise.
70224         * string/test-strncpy.c (TEST_NAME): Likewise.
70225         * string/test-strnlen.c (TEST_NAME): Likewise.
70226         * string/test-strpbrk.c (TEST_NAME): Likewise.
70227         * string/test-strrchr.c (TEST_NAME): Likewise.
70228         * string/test-strspn.c (TEST_NAME): Likewise.
70229         * string/test-strstr.c (TEST_NAME): Likewise.
70230         * string/test-bcopy-ifunc.c: New file.
70231         * string/test-bzero-ifunc.c: Likewise.
70232         * string/test-memccpy-ifunc.c: Likewise.
70233         * string/test-memchr-ifunc.c: Likewise.
70234         * string/test-memcmp-ifunc.c: Likewise.
70235         * string/test-memcpy-ifunc.c: Likewise.
70236         * string/test-memmem-ifunc.c: Likewise.
70237         * string/test-memmove-ifunc.c: Likewise.
70238         * string/test-mempcpy-ifunc.c: Likewise.
70239         * string/test-memset-ifunc.c: Likewise.
70240         * string/test-rawmemchr-ifunc.c: Likewise.
70241         * string/test-stpcpy-ifunc.c: Likewise.
70242         * string/test-stpncpy-ifunc.c: Likewise.
70243         * string/test-strcasecmp-ifunc.c: Likewise.
70244         * string/test-strcasestr-ifunc.c: Likewise.
70245         * string/test-strcat-ifunc.c: Likewise.
70246         * string/test-strchr-ifunc.c: Likewise.
70247         * string/test-strchrnul-ifunc.c: Likewise.
70248         * string/test-strcmp-ifunc.c: Likewise.
70249         * string/test-strcpy-ifunc.c: Likewise.
70250         * string/test-strcspn-ifunc.c: Likewise.
70251         * string/test-strlen-ifunc.c: Likewise.
70252         * string/test-strncasecmp-ifunc.c: Likewise.
70253         * string/test-strncat-ifunc.c: Likewise.
70254         * string/test-strncmp-ifunc.c: Likewise.
70255         * string/test-strncpy-ifunc.c: Likewise.
70256         * string/test-strnlen-ifunc.c: Likewise.
70257         * string/test-strpbrk-ifunc.c: Likewise.
70258         * string/test-strrchr-ifunc.c: Likewise.
70259         * string/test-strspn-ifunc.c: Likewise.
70260         * string/test-strstr-ifunc.c: Likewise.
70262         * debug/Makefile (tests-ifunc): New variable.
70263         (tests): Add $(tests-ifunc).
70264         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
70265         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
70266         * debug/test-stpcpy_chk-ifunc.c: New file.
70267         * debug/test-strcpy_chk-ifunc.c: Likewise.
70269 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70271         [BZ #13601]
70272         * elf/dl-load.c (open_verify): Retry read if the entire ELF
70273         header is not read in.
70275 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
70277         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
70278         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
70279         directly.  Pass built executable to script as
70280         $(built-program-cmd).
70281         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
70282         $testprogram without using LD_LIBRARY_PATH and $ldso.
70284         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
70285         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
70286         $(rtld-installed-name).
70287         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
70288         (rtld_installed_name): Likewise.
70289         (library_path): Likewise.
70290         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
70291         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
70292         $(run-program-prefix) to tst-tables.sh.
70293         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
70294         it to run tst-table-from and tst-table-to.
70295         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70296         Pass it to tst-table.sh.
70297         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70298         $(run-program-prefix) to tst-gettext.sh.
70299         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70300         tst-translit.sh.
70301         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70302         tst-gettext2.sh.
70303         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70304         to run tst-gettext.
70305         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70306         to run tst-gettext2.
70307         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70308         to run tst-translit.
70309         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70310         $(run-program-prefix) to tst-mtrace.sh.
70311         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70312         to run tst-mtrace.
70313         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70314         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70315         $(rtld-installed-name).
70316         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70317         (rtld_installed_name): Likewise.
70318         (run_program_prefix): New variable.  Use it to run wordexp-test.
70320         * Makeconfig (ARCH): Remove all definitions.
70321         (machine): Likewise.
70322         [ARCH]: Remove conditional code.
70323         [!objdir]: Give error.
70324         [!objdir] (objpfx): Remove.
70325         [!objdir] (common-objpfx): Likewise.
70326         [!objdir] (common-objdir): Likewise.
70327         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70328         AC_CONFIG_FILES call.
70329         * configure: Regenerated.
70331         [BZ #13888]
70332         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70333         or TMPDIR.
70334         (testout): Likewise.
70336         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70337         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70338         $(rtld-installed-name).
70339         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70340         (rtld_installed_name): Likewise.
70341         (runit): Remove function.
70342         (run_getconf): New variable,  Use it for running getconf binary.
70344 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70346         [BZ #14716]
70347         * string/test-memmem.c (check_result): New function.
70348         (do_one_test): Use it.
70349         (check1): New function.
70350         (test_main): Use it.
70352 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70354         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70356 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70358         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70359         (_G_LSEEK64): Likewise.
70360         (_G_MMAP64): Likewise.
70361         (_G_FSTAT64): Likewise.
70362         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70363         (_G_LSEEK64): Likewise.
70364         (_G_MMAP64): Likewise.
70365         (_G_FSTAT64): Likewise.
70366         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70367         unconditional.  Call __mmap64 directly.
70368         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70369         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70370         __lseek64 directly.
70371         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70372         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70373         __mmap64 directly.
70374         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70375         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70376         __lseek64 directly.
70377         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70378         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70379         __lseek64 directly.
70380         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70381         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70382         __lseek64 directly.
70383         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70384         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70385         __fxstat64 directly.
70386         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70387         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70388         unconditional.
70389         (freopen64) [!_G_OPEN64]: Remove conditional code.
70390         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70391         unconditional.
70392         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70393         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70394         unconditional.
70395         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70396         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70397         unconditional.
70398         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70399         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70400         unconditional.
70401         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70402         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70403         unconditional.
70404         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70405         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70406         unconditional.
70407         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70408         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70409         unconditional.
70410         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70412 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70414         [BZ #12140]
70415         * manual/memory.texi (Malloc Tunable Parameters): Add note
70416         about free list pointers overwriting some perturb bytes.
70417         Wording suggested by Roland McGrath.
70419 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70421         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70422         (lgamma_test): Likewise.
70423         (tgamma_test): Likewise.
70425 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70427         [BZ #14700]
70428         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70429         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70431 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70433         * NEWS: Mention BZ #14716.
70434         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70435         when removing AVAILABLE1_USES_J macro.
70437 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70439         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70440         (__bswap_64): __uint64_t for unsigned 64-bit int.
70442 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70444         * include/string.h (memmem): Declare libc hidden alias.
70445         * string/memmem.c (memmem): Define libc hidden alias.
70446         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70447         __read, __close instead of open, read, close.
70449 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70451         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70452         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70453         global and hidden.
70454         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70455         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70456         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70457         Likewise.
70458         (__rawmemchr_sse2): Likewise.
70459         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70460         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70461         (__strchr_sse2): Likewise.
70462         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70463         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70464         (__strcasecmp_sse2): Likewise.
70465         (__strncasecmp_sse2): Likewise.
70466         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70467         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70468         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70469         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70470         (__strrchr_sse2): Likewise.
70471         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70472         ifunc-impl-list.c.
70473         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70474         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70475         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70476         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70477         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70478         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70479         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70480         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70481         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70482         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70483         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70484         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70485         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70486         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70487         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70488         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70489         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70490         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70491         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70492         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70493         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70494         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70495         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70496         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70497         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70498         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70499         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70500         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70501         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70502         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70504         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70505         global and hidden.
70506         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70507         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70508         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70509         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70510         Likewise.
70511         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70512         Likewise.
70513         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70514         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70515         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70516         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70517         ifunc-impl-list.c.
70518         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70519         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70520         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70521         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70522         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70523         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70524         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70525         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70526         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70527         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70528         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70529         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70530         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70531         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70532         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70533         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70534         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70535         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70536         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70537         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70538         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70539         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70540         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70541         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70542         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70543         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70544         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70545         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70546         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70547         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70548         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70549         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70550         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70551         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70552         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70553         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70554         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70555         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70556         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70557         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70558         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70560         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70561         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70562         * include/ifunc-impl-list.h: New file.
70563         * misc/ifunc-impl-list.c: Likewise.
70564         * misc/Makefile (routines): Add ifunc-impl-list.
70565         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70566         * string/test-string.h: Include <ifunc-impl-list.h>.
70567         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70568         TEST_NAME]: New variables.
70569         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70570         are defined.
70571         (test_init): Call __libc_ifunc_impl_list to initialize
70572         func_list if TEST_IFUNC and TEST_NAME are defined.
70574         * string/Makefile (strop-tests): Add bcopy and bzero.
70575         * string/test-bcopy.c: New file.
70576         * string/test-bzero.c: Likewise.
70577         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70578         defined.
70579         * string/test-memset.c: Support bzero test if TEST_BZERO is
70580         defined.
70581         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70582         __libc_memmove.
70583         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70584         __libc_memset.
70585         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70586         of memset.
70588 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70590         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70591         * configure: Regenerated.
70593         * Makeconfig (+link-static-before-libc): Don't include
70594         $(link-static-libc).
70596         * libio/libio.h (_IO_pos_t): Remove.
70598 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70600         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70601         McGrath.
70603 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70605         * crypt/crypt-entry.c: Include fips-private.h.
70606         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70607         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70608         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70609         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70611 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70613         * crypt/crypt-private.h: Include stdbool.h.
70614         (_ufc_setup_salt_r): Return bool.
70615         * crypt/crypt-entry.c: Include errno.h.
70616         (__crypt_r): Return NULL with EINVAL for bad salt.
70617         * crypt/crypt_util.c (bad_for_salt): New.
70618         (_ufc_setup_salt_r): Check that salt is long enough and within
70619         the specified alphabet.
70620         * crypt/badsalttest.c: New file.
70621         * crypt/Makefile (tests): Add it.
70622         ($(objpfx)badsalttest): New.
70624 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70626         * NEWS: Add entry for BZ #14602.
70628 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70630         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70631         type-generic.
70632         * math/libm-test.inc: Update comment listing what functions and
70633         macros are tested.
70634         (isgreater_test): New function.
70635         (isgreaterequal_test): Likewise.
70636         (isless_test): Likewise.
70637         (islessequal_test): Likewise.
70638         (islessgreater_test): Likewise.
70639         (isunordered_test): Likewise.
70640         (main): Call the new functions.
70642 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70644         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70645         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70646         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70647         * sysdeps/i386/configure: Regenerated.
70648         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70649         * sysdeps/mach/configure: Regenerated.
70650         * sysdeps/mach/hurd/configure: Regenerated.
70651         * sysdeps/powerpc/configure: Regenerated.
70652         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70653         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70654         * sysdeps/s390/s390-32/configure: Regenerated.
70655         * sysdeps/s390/s390-64/configure: Regenerated.
70656         * sysdeps/sh/configure: Regenerated.
70657         * sysdeps/sparc/configure: Regenerated.
70658         * sysdeps/unix/sysv/linux/configure: Regenerated.
70659         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70660         * sysdeps/x86_64/configure: Regenerated.
70662         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70663         defined.  Don't check if MAP is NULL.
70665 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70667         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70668         (_G_stat64): Likewise.
70669         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70670         (_G_stat64): Likewise.
70671         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70672         instead of struct _G_stat64.
70673         * libio/fileops.c (mmap_remap_check): Likewise.
70674         (decide_maybe_mmap): Likewise.
70675         (_IO_new_file_seekoff): Likewise.
70676         (_IO_file_stat): Likewise.
70677         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70678         _G_off64_t.
70679         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70680         instead of struct _G_stat64.
70681         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70683 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70685         [BZ #14602]
70686         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70687         Replace with ...
70688         (CHECK_EOL): New macro.
70689         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70690         CHECK_EOL.
70691         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70692         Replace with CHECK_EOL.
70693         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70694         Replace with CHECK_EOL.
70696 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70698         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70699         type-generic.
70700         * math/libm-test.inc: Update comment listing what functions and
70701         macros are tested.
70702         (finite_test): New function.
70703         (isinf_test): Likewise.
70704         (isnan_test): Likewise.
70705         (fpclassify_test): Test subnormal input.
70706         (isfinite_test): Likewise.
70707         (isnormal_test): Likewise.
70708         (main): Call the new functions.
70710 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70712         [BZ #14660]
70713         * Makerules (%.dynsym): Force C locale when running
70714         $(OBJDUMP) --dynamic-syms.
70716 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70718         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70719         <stdint.h>.
70721 2012-10-06  David S. Miller  <davem@davemloft.net>
70723         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70724         upper 32-bits of the length value in %o2 since we use branch-on-register
70725         tests which consider the entire 64-bit register.
70727 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70729         * string/test-strstr.c (check2): Add a test for page boundary.
70731 2012-10-05  David S. Miller  <davem@davemloft.net>
70733         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70734         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70735         file.
70736         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70737         sysdep_routines.
70738         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70739         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70740         and bzero when HWCAP_SPARC_CRYPTO is present.
70742 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70744         [BZ #14602]
70745         * string/test-strstr.c (check2): New function.
70746         (test_main): Call check2.
70748         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70749         and bug-strchr1.
70750         * string/bug-strcasestr1.c (do_test): Moved to ...
70751         * string/test-strcasestr.c (check1): Here.  New function.
70752         (do_one_test): Break out result checking code into ...
70753         (check_result): This.  New function.
70754         (do_one_test): Call check_result.
70755         (test_main): Call check1.
70756         * string/bug-strchr1.c (do_test): Moved to ...
70757         * string/test-strchr.c (check1): Here.  New function.
70758         (do_one_test): Break out result checking code into ...
70759         (check_result): This.  New function.
70760         (do_one_test): Call check_result.
70761         (test_main): Call check1.
70762         * string/bug-strstr1.c (main): Moved to ...
70763         * string/test-strstr.c (check1): Here.  New function.
70764         (do_one_test): Break out result checking code into ...
70765         (check_result): This.  New function.
70766         (do_one_test): Call check_result.
70767         (test_main): Call check1.
70768         * string/bug-strcasestr1.c: Removed.
70769         * string/bug-strchr1.c: Likewise.
70770         * string/bug-strstr1.c: Likewise.
70772         * elf/Makefile (dl-routines): Add hwcaps.
70773         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70774         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70775         (_dl_important_hwcaps): Moved to ...
70776         * elf/dl-hwcaps.c: Here.  New file.
70777         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70779         [BZ #14557]
70780         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70781         if IS_IN_rtld isn't defined.
70783         * elf/dl-support.c (_dl_sysinfo_map): New.
70784         Include "get-dynamic-info.h" and "setup-vdso.h".
70785         (_dl_non_dynamic_init): Call setup_vdso.
70786         * elf/dynamic-link.h: Don't include <assert.h>.
70787         (elf_get_dynamic_info): Moved to ...
70788         * elf/get-dynamic-info.h: Here.  New file.
70789         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70790         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70791         * elf/setup-vdso.h: Here.  New file.
70792         * elf/rtld.c: Include "setup-vdso.h".
70793         (dl_main): Call setup_vdso.
70795 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70797         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70798         creal in comment listing functions tested.  List finite, isinf,
70799         isnan, isless, islessequal, isgreater, isgreaterequal,
70800         islessgreater, isunordered, lgamma_r and pow10 as functions and
70801         macros not tested.  Mention which functions not tested are aliases
70802         for other functions.  Fix typo.  Note that signs of NaNs are not
70803         tested.
70805         * scripts/config.guess: Update from config.git.
70806         * scripts/config.sub: Likewise.
70808 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70810         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70811         * misc/madvise.c (madvise): Renamed to __madvise.
70812         Make madvise a weak alias.
70813         * include/sys/mman.h: Declare __madvise.
70814         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70815         * sysdeps/unix/syscalls.list
70816         (madvise): Make __madvise the strong name, and madvise a weak alias.
70817         * sysdeps/unix/sysv/linux/syscalls.list
70818         (madvise, mmap): Remove redundant entries.
70819         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70820         * malloc/malloc.c (mtrim): Likewise.
70821         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70823 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70825         * sysdeps/mach/hurd/dl-cache.c: File removed.
70826         * config.h.in (USE_LDCONFIG): New #undef.
70827         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70828         * configure: Regenerated.
70829         * elf/Makefile (dl-routines): Add dl-cache only under
70830         [$(use-ldconfig) = yes].
70831         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70832         cache on [USE_LDCONFIG].
70833         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70834         [USE_LDCONFIG].
70835         * elf/rtld.c (dl_main): Likewise.
70837 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70839         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70840         _SC_LEVEL4_CACHE_LINESIZE.
70842 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70844         * sysdeps/unix/bsd/confstr.h: File removed.
70846 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70848         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70849         sys/sdt-config.h.
70851 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70853         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70854         Make 'mapoff' field ElfW(Off) rather than off_t.
70856 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70858         * nscd/Makefile: Remove nscd-cflags and all its users.
70859         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70860         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70862         [BZ #10631]
70863         * malloc.c (malloc_printerr): Clarify error message.
70865 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70867         [BZ #14648]
70868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70869         Set bit_FMA_Usable if FMA is supported.
70870         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70871         macro.
70872         (bit_FMA4_Usable): Updated.
70873         (index_FMA_Usable): New macro.
70874         (CPUID_FMA): Likewise.
70875         (HAS_FMA): Defined with bit_FMA_Usable.
70877 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70879         * bits/types.h (__swblk_t): Type removed.
70880         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70881         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70882         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70883         (__SWBLK_T_TYPE): Likewise.
70884         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70885         (__SWBLK_T_TYPE): Likewise.
70886         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70887         (__SWBLK_T_TYPE): Likewise.
70888         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70889         (__SWBLK_T_TYPE): Likewise.
70891 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70892             Honza Horak <hhorak@redhat.com>
70894         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70895         (xdr_mapname): Use YPMAXMAP as maxsize.
70896         (xdr_peername): Use YPMAXPEER as maxsize.
70897         (xdr_keydat): Use YPAXRECORD as maxsize.
70898         (xdr_valdat): Use YPMAXRECORD as maxsize.
70900 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70902         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70904         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70905         * csu/init-first.c: ... here.
70906         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70907         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70908         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70909         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70910         * sysdeps/i386/init-first.c: File removed.
70911         * sysdeps/sh/init-first.c: File removed.
70913 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70915         [BZ #14645]
70916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70917         if x * y might underflow to zero and z is zero.
70918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70919         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70920         * math/libm-test.inc (min_subnorm_value): New variable.
70921         (fma_test): Add more tests.
70922         (fma_test_towardzero): Likewise.
70923         (fma_test_downward): Likewise.
70924         (fma_test_upward): Likewise.
70925         (initialize): Set min_subnorm_value.
70927 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70929         [BZ #14638]
70930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70931         0 + 0.
70932         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70933         mode for addition resulting in exact zero.
70934         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70935         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70936         exact 0 + 0.
70937         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70938         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70939         * math/libm-test.inc (fma_test): Add more tests.
70940         (fma_test_towardzero): New function.
70941         (fma_test_downward): Likewise.
70942         (fma_test_upward): Likewise.
70943         (main): Call the new functions.
70945 2012-09-28  David S. Miller  <davem@davemloft.net>
70947         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70949 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70951         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70952         instead of SIGALRM.
70954         * sysdeps/gnu/_G_config.h: Moved to ...
70955         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70956         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70957         * sysdeps/generic/_G_config.h: ... here.
70959         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70961         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70963         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70964         Conditionalize target on [libnss_test1.so-version].
70966         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70968         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70969         (elfobjdir): Move out of conditionals.
70971         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70972         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70973         (__nss_lookup_function): Conditionalize label remove_from_tree on
70974         [!DO_STATIC_NSS || SHARED], matching its only use.
70976 2012-09-28  David S. Miller  <davem@davemloft.net>
70978         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70979         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70980         file.
70981         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70982         sysdep_routines.
70983         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70984         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70985         when HWCAP_SPARC_CRYPTO is present.
70987 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70989         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70991 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70993         [BZ #6530]
70994         * stdio-common/vfprintf.c (process_string_arg): Revert
70995         2000-07-22 change.
70997 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70999         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
71000         for testcase.
71001         * stdio-common/tst-sprintf.c: Include <locale.h>
71002         (main): Test sprintf's handling of incomplete multibyte
71003         characters.
71005 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
71007         * elf/dl-runtime.c (VERSYMIDX): Removed.
71008         * elf/dl-version.c (VERSYMIDX): Likewise.
71009         * elf/do-rel.h (VERSYMIDX): Likewise.
71010         (VALIDX): Likewise.
71011         * elf/dynamic-link.h (VERSYMIDX): Likewise.
71012         * elf/rtld.c (VALIDX): Likewise.
71013         (ADDRIDX): Likewise.
71014         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
71015         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
71016         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
71017         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
71018         (VALIDX): Likewise.
71019         (ADDRIDX): Likewise.
71021 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71023         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
71025 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
71027         [BZ #11438]
71028         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
71029         to global scope.
71030         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
71031         addresses are in the same scope as 192.0.2/24.
71032         * posix/gai.conf: Document new scope table defaults.
71034 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71036         [BZ #5298]
71037         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
71038         for ftell.  Compute offsets from write pointers instead.
71039         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71041 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71043         [BZ #14543]
71044         * libio/Makefile (tests): New test case tst-fseek.
71045         * libio/tst-fseek.c: New test case to verify that fseek/ftell
71046         combination works in wide mode.
71047         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
71048         state when the external buffer state changes.
71050 2012-09-27  David S. Miller  <davem@davemloft.net>
71052         [BZ #14376]
71053         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
71054         pass reloc->r_addend in as the 'high' argument to
71055         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
71057         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71059 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71061         * rt/tst-aio2.c: Include <pthread.h>.
71062         * rt/tst-aio3.c: Likewise.
71064 2012-09-27  Steve Ellcey  <sellcey@mips.com>
71066         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
71068 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
71070         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
71071         contents on [SHARED].
71073 2012-09-26  Marek Polacek  <polacek@redhat.com>
71075         [BZ #14530]
71076         [BZ #13741]
71077         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
71078         for C++ and GCC <4.3 as well as for non GCC compilers.
71080 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
71082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71084 2012-09-25  Roland McGrath  <roland@hack.frob.com>
71086         * Makefile.in (all, install): Declare with .PHONY.
71087         Reported by Michael Hope <michael.hope@linaro.org>.
71089 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71091         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
71092         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
71093         system header.
71094         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
71095         Likewise.
71096         (sydep_routines): Add the new and the internal functions.
71097         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
71098         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
71099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
71100         (GLIBC_2.17): Add the new function.
71101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71102         (GLIBC_2.17): Likewise.
71103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
71104         (GLIBC_2.17): Likewise.
71105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
71106         (GLIBC_2.17): Likewise.
71107         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
71109 2012-09-25  Alan Modra  <amodra@gmail.com>
71111         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
71112         Add release barrier before setting once_control to say
71113         initialisation is done.  Add hints on lwarx.  Use macro in
71114         place of isync.
71115         (clear_once_control): Add release barrier.
71117 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71119         [BZ #13629]
71120         * math/s_clog.c (__clog): Handle more values close to |z| = 1
71121         specially.
71122         * math/s_clog10.c (__clog10): Likewise.
71123         * math/s_clog10f.c (__clog10f): Likewise.
71124         * math/s_clog10l.c (__clog10l): Likewise.
71125         * math/s_clogf.c (__clogf): Likewise.
71126         * math/s_clogl.c (__clogl): Likewise.
71127         * math/Makefile (libm-calls): Add x2y2m1.
71128         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
71129         (__x2y2m1): Likewise.
71130         (__x2y2m1l): Likewise.
71131         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
71132         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
71133         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
71134         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
71135         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
71136         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
71137         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
71138         * sysdeps/i386/fpu/libm-test-ulps: Update.
71139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71141         [BZ #14621]
71142         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
71143         int as type of variable DEPTH.
71144         (glob): Use size_t instead of int as type of variables NEWCOUNT
71145         and OLD_PATHC.
71147 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71149         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71150         Add s_sincosf-sse2.
71151         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
71152         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
71153         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
71154         macros for using routine as __sincosf_ia32.
71155         Use macro for function declaration and weak_alias.
71156         * sysdeps/i386/fpu/libm-test-ulps: Update.
71158         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
71159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71161         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
71162         subnormal argument.
71163         * math/s_cexpf.c (__cexpf): Likewise.
71164         * math/s_csinf.c (__csinf): Likewise.
71165         * math/s_csinhf.c (__csinhf): Likewise.
71166         * math/s_ctanf.c (__ctanf): Likewise.
71167         * math/s_ctanhf.c (__ctanhf): Likewise.
71168         * math/s_ccosh.c (__ccoshf): Likewise.
71169         * math/s_cexp.c (__cexpl): Likewise.
71170         * math/s_csin.c (__csin): Likewise.
71171         * math/s_csinh.c (__csinh): Likewise.
71172         * math/s_ctan.c (__ctan): Likewise.
71173         * math/s_ctanh.c (ctanh): Likewise.
71174         * math/s_ccoshl.c (__ccoshl): Likewise.
71175         * math/s_cexpl.c (__cexpl): Likewise.
71176         * math/s_csinl.c (__csinl): Likewise.
71177         * math/s_csinhl.c (__csinhl): Likewise.
71178         * math/s_ctanl.c (__ctanl): Likewise.
71179         * math/s_ctanhl.c (__ctanhl): Likewise.
71181 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71183         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
71184         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
71185         (_IO_off_t): Define to __off_t, not _G_off_t.
71186         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
71187         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
71188         (_IO_wint_t): Define to wint_t, not _G_wint_t.
71189         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
71190         type of __dummy and __dummy2 fields.
71191         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
71192         (_G_ssize_t): Likewise.
71193         (_G_off_t): Likewise.
71194         (_G_pid_t): Likewise.
71195         (_G_uid_t): Likewise.
71196         (_G_wchar_t): Likewise.
71197         (_G_wint_t): Likewise.
71198         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
71199         (_G_ssize_t): Likewise.
71200         (_G_off_t): Likewise.
71201         (_G_pid_t): Likewise.
71202         (_G_uid_t): Likewise.
71203         (_G_wchar_t): Likewise.
71204         (_G_wint_t): Likewise.
71205         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
71206         (_G_ssize_t): Likewise.
71207         (_G_off_t): Likewise.
71208         (_G_pid_t): Likewise.
71209         (_G_uid_t): Likewise.
71210         (_G_wchar_t): Likewise.
71211         (_G_wint_t): Likewise.
71213 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71215         * malloc/arena.c: Include malloc-sysdep.h.
71216         (shrink_heap): Use check_may_shrink_heap to decide if madvise
71217         is sufficient to shrink the heap or an unmap is needed.
71218         * sysdeps/generic/malloc-sysdep.h: New file.  Define
71219         new function check_may_shrink_heap.
71220         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
71221         new function check_may_shrink_heap.
71223 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71225         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
71226         comments.
71228 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
71230         * catgets/test-gencat.sh: Add "set -e".
71231         * elf/tst-pathopt.sh: Likewise.
71232         * grp/tst_fgetgrent.sh: Likewise.
71233         * iconvdata/run-iconv-test.sh: Likewise.
71234         * intl/tst-gettext.sh: Likewise.
71235         * intl/tst-gettext2.sh: Likewise.
71236         * intl/tst-gettext4.sh: Likewise.
71237         * intl/tst-gettext6.sh: Likewise.
71238         * intl/tst-translit.sh: Likewise.
71239         * io/ftwtest-sh: Likewise.
71240         * libio/test-freopen.sh: Likewise.
71241         * malloc/tst-mtrace.sh: Likewise.
71242         * posix/globtest.sh: Likewise.
71243         * posix/tst-getconf.sh: Likewise.
71244         * posix/wordexp-tst.sh: Likewise.
71245         * stdio-common/tst-printf.sh: Likewise.
71246         * stdio-common/tst-unbputc.sh: Likewise.
71247         * stdlib/tst-fmtmsg.sh: Likewise.
71248         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71249         * catgets/Makefile: Do not specify -e option when running
71250         testsuite shell scripts.
71251         * elf/Makefile: Likewise.
71252         * grp/Makefile: Likewise.
71253         * iconvdata/Makefile: Likewise.
71254         * intl/Makefile: Likewise.
71255         * io/Makefile: Likewise.
71256         * libio/Makefile: Likewise.
71257         * malloc/Makefile: Likewise.
71258         * posix/Makefile: Likewise.
71259         * stdio-common/Makefile: Likewise.
71260         * stdlib/Makefile: Likewise.
71261         * sysdeps/x86_64/Makefile: Likewise.
71263         * io/ftwtest-sh: Add copyright header.
71264         * posix/globtest.sh: Likewise.
71265         * posix/tst-getconf.sh: Likewise.
71266         * posix/wordexp-tst.sh: Likewise.
71267         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71269 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
71271         [BZ #13679]
71272         * Makeconfig (+link): Defined as $(+link-static) if
71273         $(build-shared) isn't yes.
71274         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
71275         isn't yes.
71276         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
71278         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
71280         [BZ #14562]
71281         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
71282         new chunk size with MALLOC_ALIGN_MASK.
71284 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
71286         [BZ #5044]
71287         * stdio-common/printf_fphex.c: Include <stdbool.h> and
71288         <rounding-mode.h>.
71289         (__printf_fphex): Determine rounding using get_rounding_mode and
71290         round_away.
71291         * stdio-common/tst-printf-round.c (struct hex_test): New
71292         structure.
71293         (hex_tests): New variable.
71294         (test_hex_in_one_mode): New function.
71295         (do_test): Also run tests for hex float output.
71297 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71299         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71300         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71301         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71302         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71303         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71304         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71305         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71306         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71308 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71310         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71311         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71312         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71313         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71315 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71317         [BZ #14579]
71318         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71319         mode only.
71320         * elf/tst-rtld-load-self.sh: New test.
71321         * elf/Makefile: Run it.
71323 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71325         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71326         (tst-writev-ENV): Remove.
71327         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71329 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71331         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71333 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71335         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71336         unconditional.
71337         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71338         Likewise.
71339         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71340         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71341         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71342         Likewise.
71344 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71346         [BZ #14587]
71347         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71348         * config.make.in (have-cpp-asm-debuginfo): Removed.
71349         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71350         * configure: Regenerated.
71352 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71354         [BZ #5044]
71355         * stdio-common/printf_fp.c: Include <stdbool.h> and
71356         <rounding-mode.h>.
71357         (___printf_fp): Determine rounding using get_rounding_mode and
71358         round_away.
71359         * stdio-common/tst-printf-round.c: New file.
71360         * stdio-common/Makefile (tests): Add tst-printf-round.
71361         (link-libm): New variable.
71362         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71364 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71366         [BZ #14576]
71367         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71368         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71369         Likewise.
71370         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71371         Likewise.
71373 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71375         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71376         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71377         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71378         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71380 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71382         [BZ #14518]
71383         * include/rounding-mode.h: New file.
71384         * sysdeps/generic/get-rounding-mode.h: Likewise.
71385         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71386         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71387         (MAX_VALUE): New macro.
71388         (MIN_VALUE): Likewise.
71389         (overflow_value): New function.
71390         (underflow_value): Likewise.
71391         (round_and_return): Use overflow_value and underflow_value to
71392         determine return values in overflow and underflow cases.  Use
71393         round_away to determine rounding depending on rounding mode.
71394         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71395         determine return values in overflow and underflow cases.
71396         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71397         (struct test_results): New structure.
71398         (struct test): Use struct test_results to store expected results
71399         for all rounding modes.
71400         (TEST): Include expected results for all rounding modes.
71401         (test_in_one_mode): New function.
71402         (do_test): Use test_in_one_mode to compute and check results.
71403         Check results for all rounding modes.
71404         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71405         $(link-libm).
71407 2012-12-09  Allan McRae  <allan@archlinux.org>
71409         * sysdeps/i386/fpu/libm-test-ulps: Update
71411 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71413         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71414         (_G_int32_t): Likewise.
71415         (_G_uint16_t): Likewise.
71416         (_G_uint32_t): Likewise.
71417         (_G_HAVE_BOOL): Likewise.
71418         (_G_HAVE_ATEXIT): Likewise.
71419         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71420         (_G_HAVE_IO_FILE_OPEN): Likewise.
71421         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71422         (_G_int32_t): Likewise.
71423         (_G_uint16_t): Likewise.
71424         (_G_uint32_t): Likewise.
71425         (_G_HAVE_BOOL): Likewise.
71426         (_G_HAVE_ATEXIT): Likewise.
71427         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71428         (_G_HAVE_IO_FILE_OPEN): Likewise.
71429         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71430         (_G_int32_t): Likewise.
71431         (_G_uint16_t): Likewise.
71432         (_G_uint32_t): Likewise.
71433         (_G_HAVE_BOOL): Likewise.
71434         (_G_HAVE_ATEXIT): Likewise.
71435         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71436         (_G_HAVE_IO_FILE_OPEN): Likewise.
71438 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71440         * csu/libc-tls.c: Update copyright years.
71442 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71444         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71445         [!_G_USING_THUNKS]: Remove conditional code.
71446         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71447         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71449         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71450         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71451         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71452         (_G_VTABLE_LABEL_PREFIX): Likewise.
71453         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71454         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71455         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71456         (_G_VTABLE_LABEL_PREFIX): Likewise.
71457         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71458         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71459         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71460         (_G_VTABLE_LABEL_PREFIX): Likewise.
71461         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71463 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71465         * libio/Makefile: Include ../Makeconfig before tests.
71466         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71467         only if $(build-shared) is yes.
71469         * iconv/gconv_db.c: Update copyright years.
71471 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71473         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71474         unwind info if defined PIC. Fix special cases description.
71475         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71477         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71478         DP_HI_MASK entry.
71479         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71481 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71483         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71485         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71486         is NULL.
71488         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71489         (LDLIBS-tst-chk4): This.
71490         (LDFLAGS-tst-chk5): Renamed to ...
71491         (LDLIBS-tst-chk5): This.
71492         (LDFLAGS-tst-chk6): Renamed to ...
71493         (LDLIBS-tst-chk6): This.
71494         (LDFLAGS-tst-lfschk4): Renamed to ...
71495         (LDLIBS-tst-lfschk4): This.
71496         (LDFLAGS-tst-lfschk5): Renamed to ...
71497         (LDLIBS-tst-lfschk5): This.
71498         (LDFLAGS-tst-lfschk6): Renamed to ...
71499         (LDLIBS-tst-lfschk6): This.
71501         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71502         on $(common-objpfx)soversions.mk.
71504 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71506         [BZ #10014]
71507         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71508         example host name.
71510 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71512         * malloc/arena.c (arena_get_retry): New function that gets
71513         another arena for the caller to try its request on.
71514         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71515         current arena cannot fulfill the request.
71516         (__libc_memalign): Likewise.
71517         (__libc_memalign): Likewise.
71518         (__libc_pvalloc): Likewise.
71519         (__libc_calloc): Likewise.
71521 2012-09-05  John Tobey  <john.tobey@gmail.com>
71523         [BZ #13542]
71524         * manual/arith.texi (Operations on Complex): Fix description
71525         of carg branch cut.
71527 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71529         [BZ #10014]
71530         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71531         host name.
71533         [BZ #10038]
71534         * manual/memory.texi (Memory): Make order of menu items match
71535         order of sections.
71537 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71539         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71540         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71541         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71543 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71545         * csu/libc-tls.c (static_dtv): Renamed to ...
71546         (_dl_static_dtv): This.  Make it global.
71547         (_dl_initial_dtv): Removed.
71548         (__libc_setup_tls): Updated.
71549         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71550         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71551         DL_INITIAL_DTV.
71553 2012-09-06  Petr Machata  <pmachata@redhat.com>
71555         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71556         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71557         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71558         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71560 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71562         [BZ #14545]
71563         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71564         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71565         freeing dtv[-1].
71567 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71569         [BZ #14544]
71570         * Makeconfig (link-static-before-libc): Replace $(+prector)
71571         with $(+prectorT).
71572         (link-static-after-libc): Replace $(+postctor) with
71573         $(+postctorT).
71574         (link-bounded): Replace $(+prector)/$(+postctor) with
71575         $(+prectorT)/$(+postctorT).
71576         (+prectorT): New macro.
71577         (+postctorT): Likewise.
71579 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71581         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71582         (round_str): Handle values above the maximum for IBM long double
71583         as inexact.
71584         * stdlib/tst-strtod-round.c (tests): Regenerated.
71586 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71588         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71589         assembler flag.
71590         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71591         zarch_nohighgprs around the zarch optimized routines.
71592         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71593         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71594         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71595         for zarch.
71597 2012-09-05  David S. Miller  <davem@davemloft.net>
71599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71601         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71602         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71603         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71604         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71605         entries.
71607 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71609         * malloc/arena.c: Fold copyright years.
71610         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71612 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71614         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71616 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71618         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71620 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71622         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71623         change internal state upon failure.
71625 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71627         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71628         * malloc/memusage.c (mmap): Likewise.
71629         (mmap64, mremap): Likewise.  Adjust name in comment.
71631 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71633         * libio/fileops.c: Fix typos in comments.
71634         * libio/oldfileops.c: Likewise.
71635         * libio/wfileops.c: Likewise.
71637 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71639         [BZ #1349]
71640         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71641         (tst-malloc-usable-ENV): Set environment for test case.
71642         * malloc/hooks.c (malloc_check_get_size): New function to get
71643         requested size.
71644         * malloc/malloc.c (musable): Use malloc_check_get_size.
71645         * malloc/tst-malloc-usable.c: New test case.
71647 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71649         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71651 2012-09-05  Allan McRae  <allan@archlinux.org>
71653         [BZ #13966]
71654         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71655         determine header location.
71656         * configure: Regenerated.
71658 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71660         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71661         float format.
71662         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71663         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71664         format.
71665         (test): Regenerate.
71667 2012-09-04  David S. Miller  <davem@davemloft.net>
71669         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71670         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71671         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71673 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71675         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71676         failures.
71678         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71680 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71682         [BZ #9914]
71683         * libio/iogetdelim.c: Include <limits.h>.
71684         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71685         + len + 1 would overflow.
71687 2012-09-03  Andreas Jaeger  <aj@suse.de>
71689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71690         * sysdeps/i386/fpu/libm-test-ulps: Update.
71692 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71694         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71695         Add s_sinf-sse2, s_conf-sse2.
71697         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71698         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71699         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71700         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71702         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71703         for using routine as __sinf_ia32.
71704         Use macro for function declaration and weak_alias.
71705         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71706         for using routine as __cosf_ia32.
71707         Use macro for function declaration and weak_alias.
71709         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71710         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71712         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71713         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71716         * math/libm-test.inc (cos_test): Add more test cases.
71717         (sin_test): Likewise.
71718         (sincos_test): Likewise.
71720 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71722         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71723         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71724         hidden.
71725         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71727 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71729         [BZ #14538]
71730         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71731         first element of the GOT.
71732         (elf_machine_load_address): Return the difference between
71733         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71735 2012-09-01  Allan McRae  <allan@archlinux.org>
71737         [BZ #13412]
71738         * configure.in (AWK): Require gawk version 3.0 or later.
71739         * configure: Regenerated.
71741 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71743         * sysdeps/unix/sysv/linux/kernel-features.h
71744         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71745         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71746         [__NR_clock_getres]: Make code unconditional.
71747         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71748         (clock_getcpuclockid): Remove code left unreachable by removal of
71749         conditionals.
71750         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71751         code unconditional.
71752         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71753         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71754         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71755         Make code unconditional.
71756         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71757         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71758         * sysdeps/unix/sysv/linux/clock_settime.c
71759         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71760         conditional code.
71761         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71762         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71764 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71766         [BZ #14476]
71767         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71768         scripts/test-installation.pl.
71770         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71771         and $ld_so_version if it is set.
71773 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71775         [BZ #14516]
71776         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71777         failure if reading from procfs failed.
71778         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71780 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71782         * sysdeps/unix/sysv/linux/kernel-features.h
71783         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71784         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71785         Remove conditional code.
71786         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71787         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71788         Remove conditional code.
71789         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71790         * sysdeps/unix/sysv/linux/i386/fxstat.c
71791         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71792         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71793         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71794         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71796         * sysdeps/unix/sysv/linux/i386/lxstat.c
71797         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71798         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71799         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71800         Remove conditional code.
71801         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71802         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71803         Remove conditional code.
71804         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71805         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71806         <kernel-features.h>.
71807         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71808         Remove.
71809         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71810         Remove conditional code.
71811         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71812         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71813         Remove conditional.
71815 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71817         [BZ #5400]
71818         * NEWS: Add fixed bug number.
71820 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71822         [BZ #14519]
71823         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71824         underflowing exponent in case of negative sign.
71825         * stdlib/tst-strtod-round-data: Add more tests.
71826         * stdlib/tst-strtod-round.c (tests): Regenerated.
71828         [BZ #3479]
71829         * stdlib/strtod_l.c (NDIG): Remove.
71830         (HEXNDIG): Likewise.
71831         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71832         smallest representable value.
71833         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71834         lie within an exact representation of 1/2 ulp of the result.
71835         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71836         unconditionally.
71837         (TENS_P9_IDX): Define unconditionally.
71838         (TENS_P9_SIZE): Likewise.
71839         (TENS_P10_IDX): Likewise.
71840         (TENS_P10_SIZE): Likewise.
71841         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71842         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71843         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71844         entries for 10^2^13 and 10^2^14.
71845         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71846         (TENS_P13_IDX): Define.
71847         (TENS_P13_SIZE): Likewise.
71848         (TENS_P14_IDX): Likewise.
71849         (TENS_P14_SIZE): Likewise.
71850         (_fpioconst_pow10): Change array size to
71851         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71852         unconditional.
71853         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71854         1024]: Add entries for 10^2^13 and 10^2^14.
71855         [LAST_POW10 > _LAST_POW10]: Remove #error.
71856         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71857         (_fpioconst_pow10): Change array size to
71858         FPIOCONST_POW10_ARRAY_SIZE.
71859         * stdlib/gen-fpioconst.c: New file.
71860         * stdlib/gen-tst-strtod-round.c: Likewise.
71861         * stdlib/tst-strtod-round-data: Likewise.
71862         * stdlib/tst-strtod-round.c: Likewise.
71863         * stdlib/Makefile (tests): Add tst-strtod-round.
71865         [BZ #14459]
71866         * stdlib/strtod_l.c: Include <stdint.h>.
71867         (NDEBUG): Do not define.
71868         (round_and_return): Change EXPONENT parameter to type intmax_t.
71869         Rearrange calculations to avoid internal overflow possibilities.
71870         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71871         Rearrange calculations to avoid internal overflow possibilities.
71872         Assert that number fits inside MPNSIZE limbs.
71873         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71874         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71875         calculations and add assertions to avoid internal overflow
71876         possibilities.  Add casts to avoid signed/unsigned operations.
71877         * stdlib/tst-strtod-overflow.c: New file.
71878         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71880 2012-08-25  Marek Polacek  <polacek@redhat.com>
71882         * time/time.h: Fix some typos in comments.
71884 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71886         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71887         * posix/tst-rfc3484-2.c: Likewise.
71888         * posix/tst-rfc3484-3.c: Likewise.
71890 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71892         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71893         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71895 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71897         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71898         #include of fxstatat64.c.
71900 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71902         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71903         * shadow/getspent_r.c: Likewise.
71904         * shadow/getspnam.c: Likewise.
71905         * shadow/getspnam_r.c: Likewise.
71906         * gshadow/getsgent.c: Likewise.
71907         * gshadow/getsgent_r.c: Likewise.
71908         * gshadow/getsgnam.c: Likewise.
71909         * gshadow/getsgnam_r.c: Likewise.
71910         * inet/getnetbyad.c: Likewise.
71911         * inet/getnetbyad_r.c: Likewise.
71912         * inet/getnetbynm.c: Likewise.
71913         * inet/getnetbynm_r.c: Likewise.
71914         * inet/getnetent.c: Likewise.
71915         * inet/getnetent_r.c: Likewise.
71916         * inet/getproto.c: Likewise.
71917         * inet/getproto_r.c: Likewise.
71918         * inet/getprtent.c: Likewise.
71919         * inet/getprtent_r.c: Likewise.
71920         * inet/getprtname.c: Likewise.
71921         * inet/getprtname_r.c: Likewise.
71922         * inet/getrpcbyname.c: Likewise.
71923         * inet/getrpcbyname_r.c: Likewise.
71924         * inet/getrpcbynumber.c: Likewise.
71925         * inet/getrpcbynumber_r.c: Likewise.
71926         * inet/getrpcent.c: Likewise.
71927         * inet/getrpcent_r.c: Likewise.
71928         * inet/getaliasent.c: Likewise.
71929         * inet/getaliasent_r.c: Likewise.
71930         * inet/getaliasname.c: Likewise.
71931         * inet/getaliasname_r.c: Likewise.
71932         * nscd/getgrgid_r.c: Likewise.
71933         * nscd/getgrnam_r.c: Likewise.
71934         * nscd/gethstbyad_r.c: Likewise.
71935         * nscd/gethstbynm3_r.c: Likewise.
71936         * nscd/getpwnam_r.c: Likewise.
71937         * nscd/getpwuid_r.c: Likewise.
71938         * nscd/getsrvbynm_r.c: Likewise.
71939         * nscd/getsrvbypt_r.c: Likewise.
71940         * nscd/gai.c: Likewise.
71942         * configure.in (build_nscd): New substituted variable, set
71943         by --disable-build-nscd and defaults to $use_nscd.
71944         * configure: Regenerated.
71945         * config.make.in (build-nscd): New substituted variable.
71946         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71947         Change conditional to require [$(build-nscd) = yes] as well.
71948         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71950         [BZ #13696]
71951         * configure.in (use_nscd): New substituted variable, set by
71952         --disable-nscd.  If enabled, define USE_NSCD.
71953         * configure: Regenerated.
71954         * config.h.in: Add USE_NSCD.
71955         * config.make.in (use-nscd): New substituted variable.
71956         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71957         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71958         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71959         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71960         (CFLAGS-getgrnam_r.c): Likewise.
71961         (CFLAGS-initgroups.c): Likewise.
71962         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71963         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71964         Variables removed.
71965         * inet/getnetgrent_r.c
71966         (nscd_setnetgrent): New function, broken out of ...
71967         (setnetgrent): ... here.  Call it.
71968         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71969         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71970         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71971         * nscd/Makefile (routines, aux): Move definitions after include of
71972         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71973         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71974         Conditionalize on [USE_NSCD].
71975         (is_nscd, nscd_init_cb): Likewise.
71976         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71977         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71978         * nss/nss_db/db-init.c: Likewise.
71979         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71980         [USE_NSCD].
71981         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71982         (make_request): Use it.
71983         (cache_valid_p): New function.
71984         (__check_pf): Use it.
71985         * NEWS: Add item for --disable-nscd.
71987 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71989         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71990         to support sed >= 4.2.1-20-ga9bf076.
71991         * configure: Regenerated.
71993 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71995         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71996         Conditionalize whole body on [IREL].
71998 2012-08-22  Jeff Law <law@redhat.com>
72000         [BZ #14505]
72001         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
72002         if the family is PF_UNSPEC.
72004 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
72006         * Makerules (lib-version): Rename from V.
72007         (install-lib-nosubdir): Change V to lib-version.
72009 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
72011         [BZ #14252]
72012         * powerpc32/power6/wcschr.c: New file.
72013         * powerpc32/power6/wcscpy.c: New file.
72014         * powerpc32/power6/wcsrchr.c: New file.
72015         * powerpc64/power6/wcschr.c: New file.
72016         * powerpc64/power6/wcscpy.c: New file.
72017         * powerpc64/power6/wcsrchr.c: New file.
72019 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72021         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
72022         (two_way_short_needle): Use it.
72023         * string/strstr.c (AVAILABLE1_USES_J): Define.
72024         * string/strcasestr.c: Likewise.
72026         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
72027         array references.
72028         * string/strcasestr.c (TOLOWER): Make side-effect safe.
72030         [BZ #11607]
72031         * NEWS: Add an entry.
72032         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
72033         define their defaults.
72034         (two_way_short_needle): Detect end-of-string on-the-fly.
72035         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
72036         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
72037         * string/bug-strcasestr1.c: New test.
72038         * string/Makefile: Run it.
72040 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72042         [BZ #11607]
72043         * string/str-two-way.h (two_way_short_needle): Optimize matching of
72044         the first character.
72046 2012-08-21  Roland McGrath  <roland@hack.frob.com>
72048         * csu/elf-init.c (__libc_csu_irel): Function removed.
72049         * csu/libc-start.c (apply_irel): New function.
72050         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
72052 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
72054         * sysdeps/unix/sysv/linux/kernel-features.h
72055         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
72056         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
72057         <kernel-features.h>.
72058         [__NR_fadvise64_64]: Make code unconditional.
72059         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
72060         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72061         !__NR_fadvise64_64)]: Likewise.
72062         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72063         !__NR_fadvise64_64))]: Likewise.
72064         [__NR_fadvise64]: Make code unconditional.
72065         [!__NR_fadvise64]: Remove conditional code.
72066         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
72067         <kernel-features.h>.
72068         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72069         unconditional.
72070         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72071         conditional code.
72072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
72073         not include <kernel-features.h>.
72074         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72075         unconditional.
72076         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72077         conditional code.
72078         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
72079         include <kernel-features.h>.
72080         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72081         unconditional.
72082         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72083         conditional code.
72085 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72087         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
72088         slight instruction rearrangements per scrollpipe analysis.
72089         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72091 2012-08-20  Roland McGrath  <roland@hack.frob.com>
72093         * manual/syslog.texi (syslog; vsyslog, closelog):
72094         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
72095         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
72097         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
72098         DSOCAPS to match condition on defining it.
72100 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
72102         * sysdeps/unix/sysv/linux/kernel-features.h
72103         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
72104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
72105         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72106         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
72108         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72109         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
72111         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72112         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72114         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
72115         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
72117         * sysdeps/unix/sysv/linux/kernel-features.h
72118         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
72119         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
72120         unconditional.
72121         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72122         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
72123         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72124         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72125         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
72126         Make code unconditional.
72127         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72128         (__mmap64) [!__NR_mmap2]: Likewise.
72129         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
72130         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72131         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72132         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
72133         [__NR_mmap2]: Make code unconditional.
72134         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72135         (__mmap64) [!__NR_mmap2]: Likewise.
72137 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72139         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
72141 2012-08-18  Andreas Jaeger  <aj@suse.de>
72143         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
72145 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72147         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
72148         * include/unistd.h (__have_sock_cloexec): Likewise.
72149         (__have_pipe2): Likewise.
72150         (__have_dup3): Likewise.
72152 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72154         [BZ #9685]
72155         * include/unistd.h (__have_pipe2): Change define into an extern int.
72156         (__have_dup3): Likewise.
72157         * socket/have_sock_cloexec.c: Include fcntl.h.
72158         (__have_pipe2): New variable.
72159         (__have_dup3): Likewise.
72161 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
72163         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
72165 2012-08-17  Marek Polacek  <polacek@redhat.com>
72167         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
72168         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
72170 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72172         * configure.in: Add AC_SUBST for sysheaders.
72173         * configure: Regenerated.
72174         * config.make.in (sysheaders): New substituted variable.
72176         * sysdeps/unix/mkfifo.c: Moved ...
72177         * sysdeps/posix/mkfifo.c: ... here.
72178         * sysdeps/unix/mkfifoat.c: Moved ...
72179         * sysdeps/posix/mkfifoat.c: ... here.
72181         * sysdeps/unix/utime.c: Moved ...
72182         * sysdeps/posix/utime.c: ... here.
72184         * sysdeps/unix/time.c: Moved ...
72185         * sysdeps/posix/time.c: ... here.
72186         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
72187         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
72189         * sysdeps/unix/nice.c: Moved ...
72190         * sysdeps/posix/nice.c: ... here.
72192         * sysdeps/unix/alarm.c: Moved ...
72193         * sysdeps/posix/alarm.c: ... here.
72195         * intl/Makefile ($(codeset_mo)): Depend on the input file.
72197 2012-08-17  Jeff Law <law@redhat.com>
72199         * intl/Makefile (codeset_mo): New variable.
72200         ($(codeset_mo)): New target.
72201         (tst-codeset.out): Depend on that.  Remove explicit rule.
72202         (tst-gettext3.out, tst-gettext5.out): Likewise.
72203         (LOCPATH-ENV, tst-codeset-ENV): New variables.
72204         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
72205         * intl/tst-codeset.sh: Remove.
72206         * intl/tst-gettext3.sh: Likewise.
72207         * intl/tst-gettext5.sh: Likewise.
72209 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72211         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
72212         * sysdeps/unix/syscalls.list: ... here.
72214         * sysdeps/posix/getaddrinfo.c
72215         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
72216         (gaiconf_init, gaiconf_reload): Use them.
72217         [!_STATBUF_ST_NSEC]
72218         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
72219         Define using time_t rather than struct timespec.
72221         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
72222         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
72223         Macros removed.
72224         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
72225         [!NO_THREADS].
72226         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
72227         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
72228         Likewise.
72230         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
72231         __libc_cleanup_push argument.
72233         * bits/param.h: New file.
72234         * misc/sys/param.h: New file.
72235         * include/sys/param.h: New file.
72236         * misc/Makefile (headers): Add bits/param.h.
72237         * sysdeps/generic/sys/param.h: File removed.
72238         * sysdeps/unix/sysv/linux/bits/param.h: New file.
72239         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
72240         * sysdeps/mach/hurd/bits/param.h: New file.
72241         * sysdeps/mach/hurd/sys/param.h: File removed.
72243         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
72244         last change.
72246         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
72247         [_IO_MTSAFE_IO].
72248         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
72249         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
72250         New macros.
72252         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
72253         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
72254         rather than -D_IO_MTSAFE_IO conditionally.
72255         * stdio-common/Makefile (CPPFLAGS): Likewise.
72256         * wcsmbs/Makefile (CPPFLAGS): Likewise.
72257         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
72258         Use $(libio-mtsafe).
72259         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
72260         of -D_IO_MTSAFE_IO.
72261         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
72262         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
72263         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
72264         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
72265         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
72266         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
72267         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
72268         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
72269         (CFLAGS-fread_u_chk.c): Likewise.
72270         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
72271         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
72272         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
72273         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
72274         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
72275         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
72276         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
72277         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
72278         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
72280         * libio/Makefile: Test [$(libc-reentrant) = yes]
72281         instead of [$(filter %REENTRANT, $(defines)) nonempty].
72283         * Makeconfig
72284         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
72285         * sysdeps/pthread/configure: File removed.
72286         * sysdeps/pthread/Makeconfig: New file.
72287         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
72288         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
72290 2012-08-16  Gary Benson  <gbenson@redhat.com>
72292         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
72293         unmapping the first object in a namespace.
72295 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72297         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72298         (__internal_setnetgrent): ... this.  Add internal_function to
72299         definition.  Add libc_hidden_def.
72300         (setnetgrent): Update caller.
72301         (internal_endnetgrent): Renamed to ...
72302         (__internal_endnetgrent): ... this.  Add internal_function to
72303         definition.  Add libc_hidden_def.
72304         (endnetgrent): Update caller.
72305         (internal_getnetgrent_r): Renamed to ...
72306         (__internal_getnetgrent_r): ... this.  Add internal_function to
72307         definition.  Add libc_hidden_def.
72308         (__getnetgrent_r): Update caller.
72309         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72311 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72313         * stdlib/longlong.h: Update from GCC.
72315 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72317         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72318         on _QL, which is set by umul_ppmm but never used.
72319         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72320         variables, which are set by GMP macros but never used.
72321         * stdio-common/_itowa.c (_itowa): Likewise.
72322         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72323         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72325 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72327         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72328         struct La_sh_regs is not constant.
72329         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72330         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72331         and struct La_sparc64_regs are not constant.
72333 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72335         * sysdeps/unix/sysv/linux/kernel-features.h
72336         (__ASSUME_POSIX_TIMERS): Remove.
72337         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72338         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72339         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72340         Make code unconditional.
72341         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72342         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72343         Make code unconditional.
72344         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72345         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72346         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72347         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72348         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72349         Make code unconditional.
72350         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72351         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72352         (__libc_missing_posix_timers): Remove.
72354 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72356         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72357         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72359         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72361         * elf/dl-sym.c: Include <stdlib.h>.
72363         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72364         constants, which avoids warnings in 32-bit builds.
72366         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72367         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72369         * misc/lseek.c: File moved to ...
72370         * io/lseek.c: ... here.
72372         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72374         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72375         shifting LEN more than 31 bits at once.
72377 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72379         [BZ #14195]
72380         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72381         segmentation fault for a case of two empty input strings.
72382         * string/test-strncasecmp.c (check1): Renamed to...
72383         (bz12205): ...this.
72384         (bz14195): Add new testcase for two empty input strings and N > 0.
72385         (test_main): Call new testcase, adapt for renamed function.
72387 2012-08-15  Andreas Jaeger  <aj@suse.de>
72389         [BZ #14090]
72390         * crypt/md5test2.c: New test, based on test supplied by Serge
72391         Belyshev <belyshev@depni.sinp.msu.ru>.
72392         * crypt/Makefile (xtests): Add md5test-giant..
72393         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72395 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72397         [BZ #14090]
72398         * crypt/md5.c (md5_process_block): Don't assume the buffer
72399         length is less than 2**32.
72400         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72401         length is less than 2**64.
72403 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72405         * string/str-two-way.h: Include <sys/param.h>.
72406         (MAX): Macro removed.
72408         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72409         Move #define and #undef of memmove to just before and after
72410         including <string.h>.
72412         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72413         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72414         and after including <string.h>.  Move declarations of
72415         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72416         to before #include "string/memmove.c".
72418         * include/dirent.h: Declare __getdirentries.
72420         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72421         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72423 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72425         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72426         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72427         * sysdeps/i386/configure: Regenerated.
72428         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72429         STABS_CURRENT_FILE, and STABS_FUN.
72430         (END): Remove call to STABS_FUN_END.
72431         (STABS_CURRENT_FILE1): Delete.
72432         (STABS_CURRENT_FILE): Likewise.
72433         (STABS_FUN): Likewise.
72434         (STABS_FUN_END): Likewise.
72435         (STABS_FUN2): Likewise.
72436         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72437         * sysdeps/x86_64/configure: Regenerated.
72439 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72441         * elf/dl-open.c: Include <atomic.h>.
72442         * elf/dl-lookup.c: Likewise.
72444 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72446         * sysdeps/unix/sysv/linux/kernel-features.h
72447         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72448         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72449         unconditionally.
72450         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72451         unconditionally.
72452         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72453         condition on __ASSUME_CLONE_THREAD_FLAGS.
72455 2012-08-14  Andreas Jaeger  <aj@suse.de>
72457         * sysdeps/i386/fpu/libm-test-ulps: Update.
72459 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72461         * include/atomic.h (atomic_exchange_and_add): Split into ...
72462         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72463         New atomic macros.
72465 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72469 2012-08-13  Jeff Law <law@redhat.com>
72471         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72472         null byte in the output string.
72474 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72476         * sysdeps/unix/sysv/linux/kernel-features.h
72477         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72478         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72479         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72480         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72481         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72482         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72483         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72485 2012-08-09  Jeff Law <law@redhat.com>
72487         [BZ #13939]
72488         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72489         When avoid_arena is set, don't retry in the that arena.  Pick the
72490         next one, whatever it might be.
72491         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72492         (arena_lock): Pass in new parameter to arena_get2.
72493         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72494         arena_get2.
72495         (__libc_malloc): Unify retrying after main arena failure with
72496         __libc_memalign version.
72497         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72499 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72501         [BZ #14166]
72502         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72503         to __redirect_strstr.
72504         (__strstr_sse42): Use typeof __redirect_strstr.
72505         (__strstr_ia32): Likewise.
72506         (__libc_strstr): New prototype.
72507         (strstr): Renamed to ...
72508         (__libc_strstr): This.
72509         (strstr): New strong alias of __libc_strstr.
72510         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72511         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72512         __redirect_time.
72513         Include <time.h>.
72514         (__libc_time): New prototype.
72515         (time_ifunc): Replace time with __libc_time.
72516         (time): New strong alias and hidden definition of __libc_time.
72517         (__GI_time): Remove strong alias.
72518         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72519         Include <stddef.h>.
72520         (memmove): Redefined to __redirect_memmove.
72521         (__memmove_sse2): Use typeof __redirect_memmove.
72522         (__memmove_ssse3): Likewise.
72523         (__memmove_ssse3_back): Likewise.
72524         (__libc_memmove): New prototype.
72525         (memmove): Renamed to ...
72526         (__libc_memmove): This.
72527         (memmove): New strong alias of __libc_memmove.
72529 2012-08-08  Mark Salter  <msalter@redhat.com>
72531         * elf/elf.h
72532         (R_MN10300_TLS_GD): Define.
72533         (R_MN10300_TLS_LD): Likewise.
72534         (R_MN10300_TLS_LDO): Likewise.
72535         (R_MN10300_TLS_GOTIE): Likewise.
72536         (R_MN10300_TLS_IE): Likewise.
72537         (R_MN10300_TLS_LE): Likewise.
72538         (R_MN10300_TLS_DTPMOD): Likewise.
72539         (R_MN10300_TLS_DTPOFF): Likewise.
72540         (R_MN10300_TLS_TPOFF): Likewise.
72541         (R_MN10300_SYM_DIFF): Likewise.
72542         (R_MN10300_ALIGN): Likewise.
72543         (R_MN10300_NUM): Update.
72545 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72547         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72548         Remove.
72550 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72552         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72554         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72555         sysdeps/unix -> sysdeps/posix move.
72556         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72558 2012-08-07      Allan McRae     <allan@archlinux.org>
72560         [BZ #14303]
72561         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72562         (SUNOS_CPP): Likewise.
72563         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72564         not found.
72565         (open_input): Call CPP using execvp.
72567 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72569         * sysdeps/unix/sysv/linux/kernel-features.h
72570         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72571         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72572         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72573         (__ASSUME_WAITID_SYSCALL): Likewise.
72574         * sysdeps/unix/sysv/linux/dl-execstack.c
72575         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72576         code unconditional.
72577         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72578         conditional code.
72579         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72580         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72581         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72582         code.
72583         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72584         unconditional.
72585         [__ASSUME_WAITID_SYSCALL]: Likewise.
72586         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72588 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72590         * sysdeps/unix/closedir.c: Renamed to ...
72591         * sysdeps/posix/closedir.c: ... here.
72592         * sysdeps/unix/dirfd.c: Renamed to ...
72593         * sysdeps/posix/dirfd.c: ... here.
72594         * sysdeps/unix/dirstream.h: Renamed to ...
72595         * sysdeps/posix/dirstream.h: ... here.
72596         * sysdeps/unix/fdopendir.c: Renamed to ...
72597         * sysdeps/posix/fdopendir.c: ... here.
72598         * sysdeps/unix/opendir.c: Renamed to ...
72599         * sysdeps/posix/opendir.c: ... here.
72600         * sysdeps/unix/readdir.c: Renamed to ...
72601         * sysdeps/posix/readdir.c: ... here.
72602         * sysdeps/unix/readdir_r.c: Renamed to ...
72603         * sysdeps/posix/readdir_r.c: ... here.
72604         * sysdeps/unix/rewinddir.c: Renamed to ...
72605         * sysdeps/posix/rewinddir.c: ... here.
72606         * sysdeps/unix/seekdir.c: Renamed to ...
72607         * sysdeps/posix/seekdir.c: ... here.
72608         * sysdeps/unix/telldir.c: Renamed to ...
72609         * sysdeps/posix/telldir.c: ... here.
72610         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72611         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72612         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72613         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72615         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72616         * bits/fcntl.h: ... here.
72618         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72619         not 0.
72620         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72621         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72622         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72623         (struct flock): Move l_start, l_len to the beginning.
72624         Use __pid_t for l_pid.
72625         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72626         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72627         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72628         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72629         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72630         [__USE_LARGEFILE64] (struct flock64): New type.
72631         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72633         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72634         * bits/dirent.h: ... here.
72636         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72637         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72639 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72641         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72642         Change from 2.6.0 to 2.6.16.
72643         * sysdeps/unix/sysv/linux/configure: Regenerated.
72644         * sysdeps/unix/sysv/linux/kernel-features.h
72645         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72646         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72647         version.
72648         (__ASSUME_UTIMES): Likewise.
72649         (__ASSUME_CLONE_STOPPED): Remove.
72650         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72651         architectures, not kernel version.
72652         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72653         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72654         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72655         (__ASSUME_WAITID_SYSCALL): Likewise.
72656         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72657         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72658         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72659         refer to older versions.
72661 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72663         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72664         Define alphasort64 as an alias.
72665         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72666         Define versionsort64 as an alias.
72667         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72668         Define scandir64 as an alias.
72669         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72670         Define scandirat64 as an alias.
72671         * dirent/alphasort64.c (alphasort64):
72672         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72673         * dirent/versionsort64.c: Likewise.
72674         * dirent/scandir64.c: Likewise.
72675         * dirent/scandirat64.c: Likewise.
72676         * sysdeps/wordsize-64/alphasort.c: File removed.
72677         * sysdeps/wordsize-64/alphasort64.c: File removed.
72678         * sysdeps/wordsize-64/scandir.c: File removed.
72679         * sysdeps/wordsize-64/scandir64.c: File removed.
72680         * sysdeps/wordsize-64/scandirat.c: File removed.
72681         * sysdeps/wordsize-64/scandirat64.c: File removed.
72682         * sysdeps/wordsize-64/versionsort.c: File removed.
72683         * sysdeps/wordsize-64/versionsort64.c: File removed.
72684         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72685         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72686         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72687         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72688         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72689         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72690         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72691         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72693         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72694         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72695         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72696         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72697         [defined __arch64__ || defined __sparcv9]
72698         (__INO_T_MATCHES_INO64_T): New macro.
72699         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72700         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72701         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72702         * sysdeps/unix/sysv/linux/bits/dirent.h
72703         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72704         (_DIRENT_MATCHES_DIRENT64): New macro.
72706         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72707         Define lockf64 as an alias.
72708         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72709         Define fseeko64 as an alias.
72710         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72711         Define ftello64 as an alias.
72712         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72713         Define _IO_fgetpos64 and fgetpos64 as aliases.
72714         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72715         Define _IO_fsetpos64 and fsetpos64 as aliases.
72716         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72717         Conditionalize body on this.
72718         * libio/fseeko64.c: Likewise.
72719         * libio/ftello64.c: Likewise.
72720         * libio/iofgetpos64.c: Likewise.
72721         * libio/iofsetpos64.c: Likewise.
72722         * sysdeps/wordsize-64/lockf.c: File removed.
72723         * sysdeps/wordsize-64/lockf64.c: File removed.
72724         * sysdeps/wordsize-64/fseeko.c: File removed.
72725         * sysdeps/wordsize-64/fseeko64.c: File removed.
72726         * sysdeps/wordsize-64/ftello.c: File removed.
72727         * sysdeps/wordsize-64/ftello64.c: File removed.
72728         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72729         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72730         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72731         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72732         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72733         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72734         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72735         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72736         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72737         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72738         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72739         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72740         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72741         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72743         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72744         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72745         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72746         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72747         [defined __arch64__ || defined __sparcv9]
72748         (__OFF_T_MATCHES_OFF64_T): New macro.
72749         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72750         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72752         (__OFF_T_MATCHES_OFF64_T): New macro.
72754 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72756         * stdlib/secure-getenv.c (__secure_getenv): Replace
72757         GLIBC_2_16 with GLIBC_2_17.
72759 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72761         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72762         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72764 2012-08-03  David S. Miller  <davem@davemloft.net>
72766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72768 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72770         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72771         Remove.
72772         (__ASSUME_CORRECT_SI_PID): Likewise.
72773         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72774         (__ASSUME_TMPFS_NAME): Likewise.
72775         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72776         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72777         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72778         (HAVE_AUX_SECURE): Make definition unconditional.
72779         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72780         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72782 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72784         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72785         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72786         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72787         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72788         __eloop_threshold instead of SYMLOOP_MAX.
72790         * sysdeps/generic/eloop-threshold.h: New file.
72791         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72792         of MAXSYMLINKS.
72793         * elf/chroot_canon.c (chroot_canon): Likewise.
72795 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72797         [BZ #13717]
72798         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72799         Change to 2.6.0 everywhere.
72800         * sysdeps/unix/sysv/linux/configure: Regenerated.
72801         * sysdeps/unix/sysv/linux/kernel-features.h
72802         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72803         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72804         kernel versions.
72805         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72806         (__ASSUME_FUTEX_REQUEUE): Remove.
72807         (__ASSUME_STATFS64): Define unconditionally.
72808         (__ASSUME_AT_SECURE): Likewise.
72809         (__ASSUME_CORRECT_SI_PID): Likewise.
72810         (__ASSUME_TGKILL): Define without depending on kernel version for
72811         i386.
72812         (__ASSUME_UTIMES): Likewise.
72813         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72814         kernel version.
72815         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72816         (__ASSUME_TMPFS_NAME): Likewise.
72817         * README: Update reference to Linux kernel versions.
72819 2012-08-02  Marek Polacek  <polacek@redhat.com>
72821         [BZ #14150]
72822         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72823         libc_cv_asm_type_prefix with %.
72824         * configure: Regenerated.
72825         * include/libc-symbols.h: Remove comment about
72826         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72827         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72828         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72829         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72830         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72831         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72832         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72833         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72834         * elf/tst-unique2mod1.c: Likewise.
72835         * elf/tst-unique1mod2.c: Likewise.
72836         * elf/tst-unique1mod1.c: Likewise.
72837         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72838         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72839         Replace ASM_TYPE_DIRECTIVE with .type.
72840         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72841         * sysdeps/i386/sysdep.h: Likewise.
72842         * sysdeps/x86_64/sysdep.h: Likewise.
72843         * sysdeps/sh/sysdep.h: Likewise.
72844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72845         Do not define ASM_TYPE_DIRECTIVE.
72846         * sysdeps/powerpc/sysdep.h: Likewise.
72847         * sysdeps/powerpc/powerpc32/sysdep.h:
72848         Replace ASM_TYPE_DIRECTIVE with .type.
72849         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72850         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72851         * sysdeps/i386/fpu/e_powf.S: Likewise.
72852         * sysdeps/i386/fpu/e_expl.S: Likewise.
72853         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72854         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72855         * sysdeps/i386/fpu/e_pow.S: Likewise.
72856         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72857         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72858         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72859         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72860         * sysdeps/i386/fpu/e_log2.S: Likewise.
72861         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72862         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72863         * sysdeps/i386/fpu/e_powl.S: Likewise.
72864         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72865         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72866         * sysdeps/i386/fpu/e_logl.S: Likewise.
72867         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72868         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72869         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72870         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72871         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72872         * sysdeps/i386/fpu/e_log.S: Likewise.
72873         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72874         * sysdeps/i386/fpu/e_logf.S: Likewise.
72875         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72876         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72877         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72878         * sysdeps/i386/fpu/e_log10.S: Likewise.
72879         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72880         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72881         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72882         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72883         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72884         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72885         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72886         * sysdeps/i386/i686/strtok.S: Likewise.
72887         * sysdeps/i386/i386-mcount.S: Likewise.
72888         * sysdeps/i386/strtok.S: Likewise.
72889         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72890         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72891         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72892         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72893         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72894         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72895         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72896         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72897         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72898         * sysdeps/x86_64/_mcount.S: Likewise.
72899         * sysdeps/x86_64/strtok.S: Likewise.
72900         * sysdeps/sh/_mcount.S: Likewise.
72902 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72904         * libio/iofopen.c: Include <fcntl.h>.
72905         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72906         (_IO_fopen64, fopen64): Define as aliases.
72907         * libio/iofopen64.c: Include <fcntl.h>.
72908         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72909         Conditionalize body on this.
72910         * sysdeps/wordsize-64/iofopen.c: File removed.
72911         * sysdeps/wordsize-64/iofopen64.c: File removed.
72913 2012-08-01  Marek Polacek  <polacek@redhat.com>
72915         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72916         Use dlfcn directly instead of a variable.
72917         (binfmt-subdir): Do not define.
72918         (dlfcn): Likewise.
72920 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72922         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72923         Remove all definitions.
72924         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72925         <kernel-features.h>.
72926         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72927         (miss_F_GETOWN_EX): Remove all definitions.
72928         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72929         macro definition.
72930         [!__ASSUME_FCNTL64]: Remove conditional code.
72931         [__ASSUME_FCNTL64]: Make code unconditional.
72932         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72933         <kernel-features.h>.
72934         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72935         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72936         (lockf64) [__NR_fcntl64]: Make code unconditional.
72937         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72939         * sysdeps/unix/sysv/linux/kernel-features.h
72940         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72941         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72942         Make code unconditional.
72943         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72944         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72946         [__NR_vfork]: Make code unconditional.
72947         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72948         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72950         [__NR_vfork]: Make code unconditional.
72951         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72952         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72954 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72956         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72957         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72959         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72960         Define mkstemp64 as an alias.
72961         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72962         Define mkstemps64 as an alias.
72963         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72964         Define mkostemp64 as an alias.
72965         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72966         Define mkostemps64 as an alias.
72967         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72968         Conditionalize body on this.
72969         * misc/mkostemp64.c: Likewise.
72970         * misc/mkostemps64.c: Likewise.
72971         * misc/mkstemps64.c: Likewise.
72972         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72973         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72974         * sysdeps/wordsize-64/mkostemp.c: File removed.
72975         * sysdeps/wordsize-64/mkstemp.c: File removed.
72976         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72977         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72978         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72979         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72981         [BZ #14138]
72982         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72983         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72984         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72985         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72987         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72988         compat_symbol macros from <shlib-compat.h> rather than the underlying
72989         default_symbol_version and symbol_version macros, so that DEFAULT
72990         lines in shlib-versions are respected.
72991         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72993 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72995         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72996         Declare with warn_unused_result.
72997         (setgid, setregid, setegid, setresgid): Likewise.
72998         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72999         Likewise.
73000         * WUR-REPORT: Remove set*id functions.
73002 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
73004         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
73006 2012-07-31  Roland McGrath  <roland@hack.frob.com>
73008         [BZ #10191]
73009         * include/sys/socket.h (__libc_accept, __libc_accept4):
73010         Add attribute_hidden.
73011         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
73013         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
73014         use of PTR_MANGLE.
73015         * inet/getnetgrent_r.c (setup): Likewise.
73017         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
73019 2012-07-31  David S. Miller  <davem@davemloft.net>
73021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73023 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
73025         [BZ #13629]
73026         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
73027         value between 1.0 and 2.0 and smaller part has absolute value less
73028         than 1.0.
73029         * math/s_clog10.c (__clog10): Likewise.
73030         * math/s_clog10f.c (__clog10f): Likewise.
73031         * math/s_clog10l.c (__clog10l): Likewise.
73032         * math/s_clogf.c (__clogf): Likewise.
73033         * math/s_clogl.c (__clogl): Likewise.
73034         * math/libm-test.inc (clog_test): Add more tests.
73035         (clog10_test): Likewise.
73036         * sysdeps/i386/fpu/libm-test-ulps: Update.
73037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73039 2012-07-31  Florian Weimer  <fweimer@redhat.com>
73041         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
73042         Exit with zero in case no suitable GID is found, and write a
73043         message to standard error.
73045 2012-07-30  Roland McGrath  <roland@hack.frob.com>
73047         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
73048         rather than to 1.
73049         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
73050         (MAXPATHLEN): Removed.
73051         (NOGROUP, NODEV): New macros.
73052         (setbit, clrbit, isset, isclr): New macros.
73053         (howmany, roundup, powerof2): New macros.
73054         (DEV_BSIZE): New macro.
73056         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
73057         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
73059         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
73060         definition on [!__NO_LONG_DOUBLE_MATH].
73062         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
73063         PTR_MANGLE and PTR_DEMANGLE.
73065         * socket/accept4.c (accept4): Rename to __libc_accept4.
73066         Define accept4 as a weak alias.
73068         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
73069         on [_DIRENT_HAVE_D_TYPE].
73070         * io/ftw.c (ftw_dir): Likewise.
73072         * io/xmknod.c (__xmknod): Don't check PATH for being null.
73074         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
73076         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
73077         Use the BSD numbers rather than the arbitrary ones we had.
73078         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
73079         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
73080         (SIGXCPU, SIGXFSZ): New macros.
73081         (_NSIG): Now 32.
73083         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
73084         initializer on [_LIBC_REENTRANT].
73086         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
73087         definitions inside [_POSIX_MAPPED_FILES].
73089         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
73091         * dirent/opendir.c: Include <fcntl.h>.
73093         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
73094         (__libc_getspecific): Likewise.
73095         (__libc_key_create): Likewise.
73097         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
73098         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
73099         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
73100         (tmpfile64): Define as alias.
73101         * sysdeps/wordsize-64/tmpfile.c: File removed.
73102         * sysdeps/wordsize-64/tmpfile64.c: File removed.
73103         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
73104         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
73106         * stdio-common/vfscanf.c: Include <stdbool.h>.
73107         * nss/makedb.c: Likewise.
73108         * stdio-common/_i18n_number.h: Likewise.
73109         * argp/argp-help.c: Likewise.
73110         * posix/wordexp.c: Likewise.
73111         * sysdeps/posix/spawni.c: Likewise.
73112         * nss/nss_files/files-initgroups.c: Likewise.
73113         * stdio-common/reg-modifier.c: Include <stdlib.h>.
73114         * nss/nss_files/files-initgroups.c: Likewise.
73115         * nss/nss_db/db-netgrp.c: Likewise.
73116         * nss/nss_db/db-initgroups.c: Likewise.
73117         * io/fchmodat.c: Include <sys/stat.h>.
73119         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
73120         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
73122         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
73123         [HAVE_MMAP].
73125         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
73126         Add multiple inclusion protection.
73128 2012-07-27  David S. Miller  <davem@davemloft.net>
73130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73132 2012-07-27  Gary Benson  <gbenson@redhat.com>
73134         [BZ #14298]
73135         * elf/rtld.c: Include <stap-probe.h>.
73136         (dl_main): Added static probes "init_start" and "init_complete".
73137         * elf/dl-load.c: Include <stap-probe.h>.
73138         (lose): Take new parameter "nsid".
73139         Added static probe "map_failed".
73140         (_dl_map_object_from_fd): Pass namespace id to lose.
73141         Added static probe "map_start".
73142         (open_verify): Pass namespace id to lose.
73143         * elf/dl-open.c: Include <stap-probe.h>.
73144         (dl_open_worker) Added static probes "map_complete", "reloc_start"
73145         and "reloc_complete".
73146         * elf/dl-close.c: Include <stap-probe.h>.
73147         (_dl_close_worker): Added static probes "unmap_start" and
73148         "unmap_complete".
73149         * elf/rtld-debugger-interface.txt: New file documenting the above.
73151 2012-07-26  Roland McGrath  <roland@hack.frob.com>
73153         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
73154         rather than a string variable.
73155         * sunrpc/rpc_main.c (h_output): Likewise.
73156         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
73158 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
73160         * inet/check_native.c: New file.
73162 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
73164         [BZ #13629]
73165         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
73166         if larger part has absolute value 1.0.
73167         * math/s_clog10.c (__clog10): Likewise.
73168         * math/s_clog10f.c (__clog10f): Likewise.
73169         * math/s_clog10l.c (__clog10l): Likewise.
73170         * math/s_clogf.c (__clogf): Likewise.
73171         * math/s_clogl.c (__clogl): Likewise.
73172         * math/libm-test.inc (clog_test): Add more tests.
73173         (clog10_test): Likewise.
73174         * sysdeps/i386/fpu/libm-test-ulps: Update.
73175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73177         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
73178         (pltexit): Likewise.
73179         (La_regs): Likewise.
73180         (La_retval): Likewise.
73181         (int_retval): Likewise.
73182         Update #error for removed macros to refer only to definitions in
73183         tst-audit.h.
73184         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
73185         macro.
73186         (pltexit): Likewise.
73187         (La_regs): Likewise.
73188         (La_retval): Likewise.
73189         (int_retval): Likewise.
73190         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
73191         macro.
73192         (pltexit): Likewise.
73193         (La_regs): Likewise.
73194         (La_retval): Likewise.
73195         (int_retval): Likewise.
73196         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
73197         macro.
73198         (pltexit): Likewise.
73199         (La_regs): Likewise.
73200         (La_retval): Likewise.
73201         (int_retval): Likewise.
73202         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
73203         macro.
73204         (pltexit): Likewise.
73205         (La_regs): Likewise.
73206         (La_retval): Likewise.
73207         (int_retval): Likewise.
73208         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
73209         macro.
73210         (pltexit): Likewise.
73211         (La_regs): Likewise.
73212         (La_retval): Likewise.
73213         (int_retval): Likewise.
73214         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
73215         macro.
73216         (pltexit): Likewise.
73217         (La_regs): Likewise.
73218         (La_retval): Likewise.
73219         (int_retval): Likewise.
73220         * sysdeps/generic/tst-audit.h: Update comment to refer only to
73221         macro definitions in tst-audit.h.
73222         * sysdeps/i386/tst-audit.h: New file.
73223         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
73224         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
73225         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
73226         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
73227         * sysdeps/sh/tst-audit.h: Likewise.
73228         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
73229         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
73230         * sysdeps/x86_64/tst-audit.h: Likewise.
73232 2012-07-26  Andreas Jaeger  <aj@suse.de>
73234         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
73235         ptrace.
73237         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
73238         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
73239         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
73240         PTRACE_O_MASK.
73241         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
73242         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
73243         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
73245         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
73246         value.
73248         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
73249         _sigsys.
73250         (si_call_addr, si_syscall, si_arch): Define new macro.
73251         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
73252         _sigsys.
73253         (si_call_addr, si_syscall, si_arch): Define new marcro.
73254         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
73255         _sigsys.
73256         (si_call_addr, si_syscall, si_arch): Define new macro.
73257         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
73258         _sigsys.
73259         (si_call_addr, si_syscall, si_arch): Define new macro.
73261 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73263         [BZ #13717]
73264         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73265         Change to 2.4.21 where previously 2.4.1.
73266         * sysdeps/unix/sysv/linux/configure: Regenerated.
73267         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
73268         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
73269         Linux kernel version.
73270         (__ASSUME_STD_AUXV): Remove.
73271         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
73272         kernel version.
73273         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
73274         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
73275         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
73276         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
73277         (__ASSUME_NETLINK_SUPPORT): Likewise.
73278         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
73279         (__no_netlink_support): Remove conditional definition.
73280         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
73281         Remove.
73282         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73283         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
73284         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
73285         (if_nameindex_ioctl): Remove.
73286         (if_nameindex_netlink): Do not handle __no_netlink_support.
73287         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73288         code.
73289         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
73290         Remove conditional code.
73291         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73292         code.
73293         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
73294         unconditional.
73295         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73296         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73297         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73298         Remove.
73299         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73300         [!__ASSUME_STD_AUXV]: Remove conditional code.
73301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73302         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73303         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73305         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73306         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73307         code.
73308         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73310         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73311         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73312         conditional code.
73313         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73315         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73316         code.
73317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73318         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73319         conditional code.
73320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73321         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73322         code unconditional.
73323         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73324         conditional code.
73325         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73326         unconditional.
73327         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73328         conditional code.
73329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73330         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73331         unconditional.
73332         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73333         conditional code.
73334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73335         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73336         code unconditional.
73337         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73338         conditional code.
73339         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73340         unconditional.
73341         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73342         conditional code.
73343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73344         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73345         code unconditional.
73346         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73347         conditional code.
73348         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73349         unconditional.
73350         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73351         conditional code.
73353 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73355         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73356         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73357         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73358         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73359         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73360         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73361         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73362         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73363         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73364         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73365         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73366         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73367         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73368         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73369         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73370         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73371         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73372         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73373         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73374         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73375         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73376         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73377         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73379 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73381         * Versions.def: Add GLIBC_2.17.
73382         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73383         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73384         Introduce __libc_secure_getenv.
73385         * stdlib/Versions (2.17): Add secure_getenv
73386         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73387         * stdlib/secure-getenv.c: Rename __secure_getenv to
73388         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73389         symbol __secure_getenv for GLIBC_2.0.
73390         * stdlib/tst-secure-getenv.c: New.
73391         * stdlib/Makefile (tests): Add testcase.
73392         * manual/startup.texi (Environment Access): Document
73393         secure_getenv.
73394         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73395         __libc_secure_getenv.
73396         * inet/ruserpass.c (ruserpass): Likewise.
73397         * malloc/mtrace.c (mtrace): Likewise.
73398         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73399         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73400         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73401         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73402         HAVE_SECURE_GETENV.
73403         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73404         __secure_getenv to __libc_secure_getenv.
73405         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73407         Likewise.
73408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73409         Likewise.
73410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73412         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73413         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73418 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73420         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73421         (struct La_i86_retval): Likewise.
73422         (struct La_x86_64_regs): Likewise.
73423         (struct La_x86_64_retval): Likewise.
73424         (struct La_x32_regs): Likewise.
73425         (struct La_x32_retval): Likewise.
73426         (struct La_ppc32_regs): Likewise.
73427         (struct La_ppc32_retval): Likewise.
73428         (struct La_ppc64_regs): Likewise.
73429         (struct La_ppc64_retval): Likewise.
73430         (struct La_sh_regs): Likewise.
73431         (struct La_sh_retval): Likewise.
73432         (struct La_s390_32_regs): Likewise.
73433         (struct La_s390_32_retval): Likewise.
73434         (struct La_s390_64_regs): Likewise.
73435         (struct La_s390_64_retval): Likewise.
73436         (struct La_sparc32_regs): Likewise.
73437         (struct La_sparc32_retval): Likewise.
73438         (struct La_sparc64_regs): Likewise.
73439         (struct La_sparc64_retval): Likewise.
73440         (struct audit_ifaces): Remove architecture-specific pltenter and
73441         pltexit members.
73442         * sysdeps/i386/ldsodefs.h: New file.
73443         * sysdeps/powerpc/ldsodefs.h: Likewise.
73444         * sysdeps/s390/ldsodefs.h: Likewise.
73445         * sysdeps/sh/ldsodefs.h: Likewise.
73446         * sysdeps/sparc/ldsodefs.h: Likewise.
73447         * sysdeps/x86_64/ldsodefs.h: Likewise.
73449 2012-07-25  Marek Polacek  <polacek@redhat.com>
73451         [BZ #6808]
73452         * math/libm-test.inc (yn_test): Add another test.
73453         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73454         to ERANGE when the result is +-Inf.
73455         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73456         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73457         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73458         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73460 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73462         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73463         equal to 0.
73464         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73465         clock_t.
73466         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73468 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73470         * configure.in <sysdeps resolving>: Correct printing
73471         Implies_before.
73472         * configure: Regenerate.
73474 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73476         * math/w_ilogb.c: Include <limits.h>.
73477         * math/w_ilogbl.c: Likewise.
73479 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73481         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73482         va_copy.  Document allowing for unavailable va_copy only as
73483         pre-C99 compatibility.
73484         * manual/string.texi (Copying and Concatenation): Use va_copy
73485         instead of __va_copy in concat example.
73487 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73489         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73490         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73491         it if not null.
73493         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73494         with O_NOLINK passed to __file_name_lookup.
73496         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73497         with O_NOLINK passed to __file_name_lookup.
73499         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73500         negative N or less than NGIDS.
73502         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73503         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73504         enough.  Use memcpy instead of strncpy.
73506 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73508         * elf/Makefile (check-data): Remove.
73509         (localplt.data): New vpath directive.
73510         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73511         instead of $(check-data).
73512         * scripts/data/localplt-generic.data: Move to ...
73513         * sysdeps/generic/localplt.data: ... here.
73514         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73515         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73516         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73518         ... here.
73519         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73521         ... here.
73522         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73524         ... here.
73525         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73527         ... here.
73528         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73530         ... here.
73531         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73533         ... here.
73535 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73537         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73538         PPC32 and PPC64 files.
73539         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73540         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73542 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73544         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73545         __makecontext_ret to ...
73546         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73547         ... here and call exit if uc_link is NULL.  New file.
73548         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73549         __makecontext_ret.S.
73550         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73551         __makecontext_ret to ...
73552         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73553         ... here and call exit if uc_link is NULL.  New file.
73554         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73555         __makecontext_ret.S.
73557 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73559         * elf/elf.h (R_390_IRELATIVE): New definition.
73560         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73561         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73562         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73563         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73564         (elf_machine_lazy_rel): Likewise.
73565         * sysdeps/s390/dl-irel.h: New file.
73566         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73567         * sysdeps/s390/s390-64/memset.S: New asm code.
73568         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73569         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73570         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73571         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73572         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73573         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73574         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73575         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73576         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73577         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73578         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73579         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73580         * sysdeps/s390/s390-32/memset.S: New asm code.
73581         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73583 2012-07-17  Marek Polacek  <polacek@redhat.com>
73585         [BZ #14349]
73586         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73587         * sysdeps/s390/s390-64/configure.in: Likewise.
73588         * sysdeps/sparc/configure.in: Likewise.
73589         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73590         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73591         * sysdeps/i386/configure.in: Likewise.
73592         * sysdeps/x86_64/configure.in: Likewise.
73593         * sysdeps/sh/configure.in: Likewise.
73594         * sysdeps/s390/s390-32/configure: Regenerated.
73595         * sysdeps/s390/s390-64/configure: Likewise.
73596         * sysdeps/x86_64/configure: Likewise.
73597         * sysdeps/sh/configure: Likewise.
73598         * sysdeps/powerpc/powerpc64/configure: Likewise.
73599         * sysdeps/powerpc/powerpc32/configure: Likewise.
73600         * sysdeps/sparc/configure: Likewise.
73601         * sysdeps/i386/configure: Likewise.
73603         * elf/dl-open.c: Comment fixes.
73605 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73607         * Makefile [CXX] (check-data): Remove.
73608         [CXX] (c++-types.data): New vpath directive.
73609         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73610         vpath.  Do not allow for C++ type data being missing.
73611         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73612         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73613         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73614         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73615         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73616         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73617         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73619         ... here.
73620         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73622         ... here.
73623         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73625         ... here.
73626         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73627         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73628         ... here.
73629         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73631         ... here.
73632         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73634         ... here.
73635         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73637         ... here.
73638         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73641         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73642         definitions to architecture-specific files.
73643         (TLS_IE): Likewise.
73644         (TLS_LD): Likewise.
73645         (TLS_GD): Likewise.
73646         * sysdeps/i386/tls-macros.h: New file.
73647         * sysdeps/powerpc/tls-macros.h: Likewise.
73648         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73649         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73650         * sysdeps/sh/tls-macros.h: Likewise.
73651         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73652         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73653         * sysdeps/x86_64/tls-macros.h: Likewise.
73655 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73657         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73658         zero value for regular exit case.
73660         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73661         (__start_context): Preserve zero value for regular exit case.
73663 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73664             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73666         * manual/setjmp.texi (setcontext): Clarify normal process
73667         termination when uc_link is the null pointer.
73668         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73669         exit call.
73671 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73673         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73674         preprocessor.  Test for each exception mask separately.
73676 2012-07-16  Andreas Jaeger  <aj@suse.de>
73678         * po/ru.po: Update from translation team.
73680 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73682         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73683         equal to 0.
73684         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73685         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73686         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73687         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73688         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73690 2012-07-13  Andreas Jaeger  <aj@suse.de>
73692         * po/fr.po: Update from translation team.
73694 2012-07-12  Marek Polacek  <polacek@redhat.com>
73696         [BZ #14173]
73697         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73698         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73699         loop condition.
73701 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73703         [BZ #13717]
73704         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73705         Change to 2.4.1 where previously 2.4.0.
73706         * sysdeps/unix/sysv/linux/configure: Regenerated.
73707         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73708         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73709         version.
73710         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73711         (__ASSUME_AT_CLKTCK): Remove.
73712         (__ASSUME_AT_PAGESIZE): Likewise.
73713         (__ASSUME_AT_XID): Likewise.
73714         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73715         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73716         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73717         unconditionally.
73718         (HAVE_AUX_PAGESIZE): Likewise.
73719         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73720         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73721         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73723 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73725         [BZ #14307]
73726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73727         the temporary buffer used to invoke __gethostbyname2_r,
73728         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73729         host_data / struct gaih_addrtuple.
73730         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73731         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73732         header file nss/nsswitch.h.
73733         * nss/nsswitch.h (global scope): Add definition of implementation
73734         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73735         resolv/nss_dns/dns-host.c).
73737 2012-07-11  Andreas Jaeger  <aj@suse.de>
73739         * po/fr.po: Update from translation team.
73741         * po/sv.po: Update from translation team
73742         * po/fr.po: Another update from translation team.
73744 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73746         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73747         for subnormals or multiply small sinh result by itself.
73748         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73749         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73751 2012-07-11  David S. Miller  <davem@davemloft.net>
73753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73755 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73757         [BZ #14347]
73758         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73759         (INTERNAL_MARK): Shift it here.
73761 2012-07-10  Marek Polacek  <polacek@redhat.com>
73763         [BZ #14151]
73764         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73765         libc_cv_asm_global_directive with .globl.
73766         * configure: Regenerated.
73767         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73768         with .globl.
73769         * sysdeps/i386/configure: Regenerated.
73770         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73771         with .globl.
73772         * sysdeps/x86_64/configure: Regenerated.
73773         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73774         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73775         * elf/tst-unique2mod2.c: Likewise.
73776         * elf/tst-unique2mod1.c: Likewise.
73777         * elf/tst-unique1mod2.c: Likewise.
73778         * elf/tst-unique1mod1.c: Likewise.
73779         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73780         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73781         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73782         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73783         * sysdeps/mach/sysdep.h: Likewise.
73784         * sysdeps/i386/sysdep.h: Likewise.
73785         * sysdeps/i386/i386-mcount.S: Likewise.
73786         * sysdeps/x86_64/_mcount.S: Likewise.
73787         * sysdeps/x86_64/sysdep.h: Likewise.
73788         * sysdeps/sh/_mcount.S: Likewise.
73789         * sysdeps/sh/sysdep.h: Likewise.
73790         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73791         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73792         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73793         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73794         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73795         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73796         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73797         * locale/localeinfo.h: Likewise.
73798         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73799         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73801 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73803         [BZ #14336]
73804         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73805         system".
73806         * manual/message.texi (The Uniforum approach): Likewise.
73807         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73808         (glibc iconv Implementation): Likewise.
73810 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73812         [BZ #14337]
73813         * math/s_clog.c (__clog): Avoid scaling a value down where that
73814         could result in underflow.
73815         * math/s_clog10.c (__clog10): Likewise.
73816         * math/s_clog10f.c (__clog10f): Likewise.
73817         * math/s_clog10l.c (__clog10l): Likewise.
73818         * math/s_clogf.c (__clogf): Likewise.
73819         * math/s_clogl.c (__clogl): Likewise.
73820         * math/libm-test.inc (clog_test): Add more tests.
73821         (clog10_test): Likewise.
73822         * sysdeps/i386/fpu/libm-test-ulps: Update.
73823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73825 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73827         [BZ #14283]
73828         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73829         by 7 not 8 to examine high bit of fractional part.
73831         [BZ #14042]
73832         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73833         for call to __mcount_internal.
73834         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73835         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73836         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73838 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73840         [BZ #14154]
73841         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73842         approximation for values within 0x1p-13f of an odd multiple of
73843         pi/4.
73844         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73845         exception.  Add more tests.
73846         * sysdeps/i386/fpu/libm-test-ulps: Update.
73848         [BZ #6778]
73849         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73850         inputs and return -1 for them.  Do not check for +Inf in case not
73851         reachable for +Inf.
73852         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73853         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73854         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73855         and return -1 for them.  Do not check for +Inf in case not
73856         reachable for +Inf.
73857         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73858         define.
73859         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73860         and return -1 for them.  Do not check for +Inf in case not
73861         reachable for +Inf.
73862         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73863         spurious underflow.
73864         * sysdeps/i386/fpu/libm-test-ulps: Update.
73865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73867 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73869         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73871 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73873         [BZ #14157]
73874         [BZ #14331]
73875         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73876         could result in spurious underflow.  Scale down values above
73877         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73878         * math/s_csqrtf.c (__csqrtf): Likewise.
73879         * math/s_csqrtl.c (__csqrtl): Likewise.
73880         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73881         spurious underflow.
73882         * sysdeps/i386/fpu/libm-test-ulps: Update.
73883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73885 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73887         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73888         xopen-msg.sed.
73889         * catgets/xopen-msg.awk: New file.
73890         * catgets/xopen-msg.sed: Removed.
73892         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73893         po2text.sed.
73894         * intl/po2test.awk: New file.
73895         * intl/po2test.sed: Removed.
73897 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73899         [BZ #14328]
73900         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73901         or multiply small sinh result by itself.
73902         * math/s_ctanf.c (__ctanf): Likewise.
73903         * math/s_ctanh.c (__ctanh): Likewise.
73904         * math/s_ctanhf.c (__ctanhf): Likewise.
73905         * math/s_ctanhl.c (__ctanhl): Likewise.
73906         * math/s_ctanl.c (__ctanl): Likewise.
73907         * math/libm-test.inc (ctan_test_tonearest): New function.
73908         (ctan_test_towardzero): Likewise.
73909         (ctan_test_downward): Likewise.
73910         (ctan_test_upward): Likewise.
73911         (ctanh_test_tonearest): Likewise.
73912         (ctanh_test_towardzero): Likewise.
73913         (ctanh_test_downward): Likewise.
73914         (ctanh_test_upward): Likewise.
73915         (main): Call these new functions.
73916         * sysdeps/i386/fpu/libm-test-ulps: Update.
73917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73919 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73921         * .gitignore: Delete /ports entry.
73923 2012-07-03  Andreas Jaeger  <aj@suse.de>
73925         * po/bg.po: Update from translation team.
73926         * po/cs.po: Likewise.
73927         * po/de.po: Likewise.
73928         * po/hr.po: Likewise.
73929         * po/nl.pl: Likewise.
73930         * po/pl.po: Likewise.
73931         * po/vi.po: Likewise.
73933 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73935         * Makeconfig [!+link] (+link-before-libc): New variable.
73936         [!+link] (+link-after-libc): Likewise.
73937         [!+link] (+link-tests): Likewise.
73938         [!+link] (+link): Define in terms of $(+link-before-libc) and
73939         $(+link-after-libc).
73940         [!+link-static] (+link-static-before-libc): New variable.
73941         [!+link-static] (+link-static-after-libc): Likewise.
73942         [!+link-static] (+link-static-tests): Likewise.
73943         [!+link-static] (+link-static): Define in terms of
73944         $(+link-static-before-libc) and $(+link-static-after-libc).
73945         [build-shared] (link-libc-before-gnulib): New variable.
73946         [build-shared] (link-libc-tests): Likewise.
73947         [build-shared] (link-libc): Define in terms of
73948         $(link-libc-before-gnulib).
73949         [!build-shared] (link-libc-tests): New variable.
73950         (link-libc-static-tests): New variable.
73951         [!gnulib] (gnulib-arch): New variable.
73952         [!gnulib] (gnulib-tests): Likewise.
73953         [!gnulib] (static-gnulib-arch): Likewise.
73954         [!gnulib] (static-gnulib-tests): Likewise.
73955         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73956         Define with "=" instead of ":=".
73957         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73958         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73959         * Rules (binaries-all-notests): New variable.
73960         (binaries-all-tests): Likewise.
73961         (binaries-static-notests): Likewise.
73962         (binaries-static-tests): Likewise.
73963         (binaries-all): Define using $(binaries-all-notests) and
73964         $(binaries-all-tests).
73965         (binaries-static): Define using $(binaries-static-notests) and
73966         $(binaries-static-tests).
73967         (binaries-shared-tests): New variable.
73968         (binaries-shared-notests): Likewise.
73969         (binaries-shared): Remove variable.
73970         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73971         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73972         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73973         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73974         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73975         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73976         * elf/Makefile (sln-modules): New variable.
73977         (extra-objs): Add $(sln-modules:=.o).
73978         (ldconfig-modules): Add static-stubs.
73979         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73980         * elf/static-stubs.c: New file.
73982         [BZ #14283]
73983         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73984         by 7 not 8 to examine high bit of fractional part.  Use volatile
73985         variables when splitting into final array of floats if
73986         __FLT_EVAL_METHOD__ != 0.
73987         * math/libm-test.inc (cos_test): Add another test.
73988         (sin_test): Likewise.
73989         * sysdeps/i386/fpu/libm-test-ulps: Update.
73991         [BZ #14273]
73992         * math/libm-test.inc (cosh_test): Add more tests.
73994         * version.h (RELEASE): Set to "development".
73995         (VERSION): Set to "2.16.90".
73997 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73999         * NEWS: Update copyright. Remove last-updated date.
74000         Mention math library bug fixes and timezone data changes.
74001         * README: Mention GNU/Hurd, x32, and HPPA support status.
74003 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
74005         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
74007 2012-06-27  Andreas Jaeger  <aj@suse.de>
74009         * manual/contrib.texi (Contributors): Add Samuel Thibault.
74011 2012-06-25  Andreas Jaeger  <aj@suse.de>
74013         * sysdeps/s390/fpu/libm-test-ulps: Update.
74015 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
74016             Thomas Schwinge  <thomas@codesourcery.com>
74018         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
74019         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
74020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
74021         fanotify_mark.
74023 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
74025         * sysdeps/mach/start.c: Remove file.
74026         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
74027         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
74028         * sysdeps/sh/init-first.c: Likewise.
74030         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
74031         registers for frame unwinding purposes, add CFI directives.
74032         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74033         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
74034         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
74035         Likewise.
74037         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
74038         __fortify_fail returning.
74039         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74041         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
74042         sysdeps/sh/____longjmp_chk.S.
74043         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
74044         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
74045         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
74046         (gen-as-const-headers): Append sigaltstack-offsets.sym.
74048         * sysdeps/sh/abort-instr.h: New file.
74049         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
74050         process in case exit returns.
74052         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
74053         initialize the GOT register before use.
74055         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
74056         calculation of ARGC > 4.
74058         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
74059         meaningful names to some local labels.
74061 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74062             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74064         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
74065         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
74066         (__arch_compare_and_exchange_val_16_acq): Likewise.
74067         (__arch_compare_and_exchange_val_32_acq): Likewise.
74068         (atomic_exchange_and_add): Fix gUSA sequence.
74069         (atomic_add): Likewise.
74070         (atomic_add_negative): Likewise.
74071         (atomic_add_zero): Likewise.
74072         (atomic_bit_test_set): Likewise.
74074 2012-06-22  Andreas Schwab  <schwab@redhat.com>
74076         [BZ #13579]
74077         * include/link.h (struct link_map): Add l_free_initfini.
74078         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
74079         l_initfini.
74080         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
74081         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
74082         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
74083         set.
74085 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
74087         * configure.in: Use AC_LANG_SOURCE.
74088         * configure: Regenerate.
74090 2012-06-22  Roland McGrath  <roland@hack.frob.com>
74092         * configure.in (libc_cv_localstatedir): New substituted variable.
74093         * configure: Regenerated.
74094         * config.make.in (localstatedir): New variable, substituted from
74095         libc_cv_localstatedir.
74096         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
74097         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
74098         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
74099         * sysdeps/gnu/configure: Regenerated.
74101 2012-06-21  Jeff Law  <law@redhat.com>
74103         [BZ #14277]
74104         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
74105         free.  Simplify list management for _LIBC case.
74107 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
74109         [BZ #14273]
74110         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
74111         Clear sign bit of 64-bit integer value before comparing against
74112         overflow value.
74114         * sysdeps/mach/configure: Regenerated.
74116 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
74118         [BZ #14278]
74119         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
74121 2012-06-21  Jeff Law  <law@redhat.com>
74123         [BZ #13882]
74124         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
74125         uint16_t for elements in the "seen" array to avoid char overflows.
74126         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74127         * elf/dl-open.c (dl_open_worker): Likewise.
74129 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
74131         * scripts/list-sources.sh: Scan PORTS for translations.
74132         * po/libc.pot: Regenerated.
74134 2012-06-21  Andreas Jaeger  <aj@suse.de>
74136         [BZ #12194]
74137         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
74138         warning.
74139         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
74140         * bits/byteswap-16.h (__bswap_16): Likewise.
74141         * bits/byteswap.h (__bswap_constant_16): Likewise.
74143 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
74145         [BZ #14117]
74146         * sysdeps/i386/fpu_control.h: Removed.
74147         * sysdeps/x86_64/fpu_control.h: Moved to ...
74148         * sysdeps/x86/fpu_control.h: Here.
74150         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
74151         (_FPU_SETCW): Likewise.
74153 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
74155         [BZ #14117]
74156         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
74157         * sysdeps/x86/fpu/bits/mathinline.h: This.
74158         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
74160         [BZ #14050]
74161         [BZ #14117]
74162         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
74163         functions if __x86_64__ is defined.
74165 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
74167         * string/endian.h: Add !__ASSEMBLER__ condition for including
74168         conversion interfaces.
74170 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
74172         [BZ #14241]
74173         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
74174         of ABS(x) in calculating zero to negative powers other than odd
74175         integers.
74176         * math/libm-test.inc (pow_test): Add more tests.
74178 2012-06-15  Andreas Jaeger  <aj@suse.de>
74180         * manual/contrib.texi (Contributors): Update entry of Liubov
74181         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
74182         Machado Filho.
74184 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
74186         * string/string.h: Add __wur to GNU version of strerror_r.
74188 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
74190         [BZ #14229]
74191         * string/Makefile (tests): Add tst-strtok_r.
74192         * string/tst-strtok_r.c: New file.
74193         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
74194         RAX_LP/RDX_LP on SAVE_PTR.
74196 2012-06-14  Roland McGrath  <roland@hack.frob.com>
74198         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
74200 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
74202         * libm_test.inc (csqrt_test): Allow more spurious underflow
74203         exceptions.
74204         (j0_test): Likewise.
74205         (j1_test): Likewise.
74206         (y0_test): Likewise.
74207         (y1_test): Likewise.
74209 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
74211         * po/Makefile (libc.pot): Use UTF-8 charset.
74213 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
74215         [BZ #14210]
74216         Suppress sign-conversion warning from FD_SET.
74217         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
74218         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
74219         not unsigned long int.
74220         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
74222 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
74224         [BZ #14050]
74225         [BZ #14117]
74226         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
74227         __extern_always_inline instead of __extern_inline.
74228         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
74229         (__signbit): Likewise.
74230         (__signbitl): Support C++ namespace.
74231         (lrintf): New inline function.
74232         (lrint): Likewise.
74233         (llrintf): Likewise.
74234         (llrint): Likewise.
74235         (fmaxf): Likewise.
74236         (fmax): Likewise.
74237         (fminf): Likewise.
74238         (fmin): Likewise.
74239         (rint): Likewise.
74240         (rintf): Likewise.
74241         (ceil): Likewise.
74242         (ceilf): Likewise.
74243         (floor): Likewise.
74244         (floorf): Likewise.
74245         (nearbyint): Likewise.
74246         (nearbyintf): Likewise.
74248 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
74250         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
74251         non-default versions.
74253 2012-06-11  Roland McGrath  <roland@hack.frob.com>
74255         [BZ #14218]
74256         * manual/argp.texi (Argp): Reword argp_parse description slightly.
74258 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
74260         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
74261         (FE_UPWARD, FE_DOWNWARD): Don't define.
74262         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
74263         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74265         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
74266         reading it.
74267         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74268         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74270 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74272         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74273         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
74274         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
74275         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
74277 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
74279         [BZ #14117]
74280         * sysdeps/i386/fpu/bits/fenv.h: Removed.
74281         * sysdeps/i386/fpu/Implies: New file.
74282         * sysdeps/x86_64/fpu/Implies: Likewise.
74283         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
74284         * sysdeps/x86/fpu/bits/fenv.h: This.
74286         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
74287         __SSE_MATH__.
74289 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
74291         [BZ #14134]
74292         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
74293         character 0xffff that matches the last element of the
74294         conversion table.
74296 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74298         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74299         fmodl commit.
74301 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74304         values higher than 25.6283.
74306 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74308         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74309         subnormal exponent extraction and add some __builtin_expect.
74310         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74311         Fix for subnormal mantissa calculation.
74313 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74315         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74316         cpu2 is -1 and errno is not ENOSYS.
74318 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74320         [BZ #14117]
74321         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74322         * sysdeps/x86/bits/string.h: This.
74323         * sysdeps/x86_64/bits/string.h: Removed.
74325         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74326         if not compiling for x86-64, but compiling for >= i486.
74328         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74329         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74331         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74332         New macro from Linux kernel 3.4.0.
74333         (FP_XSTATE_MAGIC2): Likewise.
74334         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74335         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74336         (struct _fpx_sw_bytes): New struct.
74337         (struct _xsave_hdr): Likewise.
74338         (struct _ymmh_state): Likewise.
74339         (struct _xstate): Likewise.
74341         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74342         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74343         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74344         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74345         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74346         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74348         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74349         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74350         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74351         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74352         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74353         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74355 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74357         [BZ #13743]
74358         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74359         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74360         (sysdep_headers): Include sys/platform/ppc.h.
74361         * sysdeps/powerpc/test-gettimebase.c: Test for
74362         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74363         * manual/Makefile (appendices): Include platform.texi.
74364         * manual/contrib.texi (Contributors): Update @node pointers.
74365         * manual/maint.texi (Maintenance): Likewise.
74366         (Platform): New node.
74367         * manual/platform.texi: New file.  Document the new features.
74369 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74370             Jakub Jelinek  <jakub@redhat.com>
74372         [BZ #14188]
74373         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74374         where __builtin_expect is unavailable.
74376 2012-06-03  David S. Miller  <davem@davemloft.net>
74378         * stdlib/longlong.h: Updated from GCC.
74380 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74382         [BZ #14042]
74383         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74384         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74385         __mcount_internal.
74386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74387         (GLIBC_2.16): Likewise.
74389 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74391         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74393 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74396         (default-abi): New variable.
74397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74398         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74399         variable.
74400         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74401         Likewise.
74402         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74403         Likewise.
74404         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74405         Likewise.
74407         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74408         definition.  Document in comment.
74410 2012-06-01  David S. Miller  <davem@davemloft.net>
74412         * stdlib/longlong.h: Updated from GCC.
74414 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74416         [BZ #14117]
74417         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74418         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74419         sys/debugreg.h sys/io.h here.
74420         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74421         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74422         sys/io.h.
74423         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74424         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74425         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74426         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74427         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74428         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74430         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74431         Define only if __x86_64__ is defined.
74433 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74435         [BZ #14048]
74436         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74437         Use int64_t for variable i.
74438         * math/libm-test.inc (fmod_test): Add more tests.
74440         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74441         z computation is not scheduled after fetestexcept.
74442         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74443         Use math_force_eval instead of asm to ensure calculation scheduled
74444         before exception test.
74445         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74446         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74448 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74451         computation is not scheduled after fetestexcept.
74453 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74455         [BZ #14117]
74456         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74457         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74459 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74461         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74462         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74464 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74466         [BZ #14117]
74467         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74468         <bits/wordsize.h>.
74469         (__WCHAR_MIN): Support __WORDSIZE == 64.
74470         (__WCHAR_MAX): Likewise.
74472         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74473         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74475         [BZ #14183]
74476         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74477         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74479         [BZ #14117]
74480         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74481         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74483         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74484         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74486         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74487         Defined to 1 if __x86_64__ isn't defined.
74488         (_STAT_VER_LINUX_OLD): New.
74489         (st_atime): Remove duplicate.
74490         (st_mtime): Likewise.
74491         (st_ctime): Likewise.
74493 2012-05-31  David S. Miller  <davem@davemloft.net>
74495         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74496         entries.
74498 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74500         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74501         gen-libm-test.pl.
74503         [BZ #14132]
74504         * elf/dl-reloc.c: Include <_itoa.h>.
74505         (_dl_reloc_bad_type): Remove use of INTUSE.
74506         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74507         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74508         * stdio-common/psiginfo.c (psiginfo): Likewise.
74509         * stdio-common/psignal.c (psignal): Likewise.
74510         * string/strsignal.c (strsignal): Likewise.
74511         * include/signal.h (_sys_siglist): Declare hidden proto.
74512         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74513         INTVARDEF with libc_hidden_data_def.
74514         * stdio-common/itoa-udigits.c: Likewise.
74515         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74516         (_itoa_lower_digits_internal): Remove declaration.
74517         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74518         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74519         (_sys_sigabbrev_internal): Remove aliases.
74520         (_sys_siglist): Define hidden alias.
74522 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74524         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74525         bits/sysctl.h.
74527 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74529         [BZ #14117]
74530         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74531         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74533         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74534         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74535         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74536         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74537         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74538         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74540         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74541         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74542         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74544         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74545         with __addr.
74546         (insw): Likewise.
74547         (insl): Likewise.
74548         (outsb): Likewise.
74549         (outsw): Likewise.
74550         (outsl): Likewise.
74552         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74553         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74554         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74556         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74557         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74558         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74559         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74560         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74561         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74563         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74564         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74566         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74567         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74569         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74570         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74571         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74573         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74574         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74575         to ...
74576         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74578         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74579         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74580         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74582         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74583         for x86-64.
74584         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74586 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74588         * math/math.h (M_El): Use two more decimal places.
74589         (M_LOG2El): Likewise.
74590         (M_LOG10El): Likewise.
74591         (M_LN2l): Likewise.
74592         (M_LN10l): Likewise.
74593         (M_PIl): Likewise.
74594         (M_PI_2l): Likewise.
74595         (M_PI_4l): Likewise.
74596         (M_1_PIl): Likewise.
74597         (M_2_PIl): Likewise.
74598         (M_2_SQRTPIl): Likewise.
74599         (M_SQRT2l): Likewise.
74600         (M_SQRT1_2l): Likewise.
74602 2012-05-31  David S. Miller  <davem@davemloft.net>
74604         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74605         values between float registers.
74606         * sysdeps/sparc/sparc64/memset.S: Likewise.
74607         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74609 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74611         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74612         -D_FORTIFY_SOURCE=1.
74613         (CPPFLAGS-tst-longjmp_chk.c): Define.
74614         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74615         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74616         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74617         CFLAGS-tst-wchar-h.c.
74619 2012-05-31  Marek Polacek  <polacek@redhat.com>
74621         [BZ #14132]
74622         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74623         __endmntent_internal): Remove declaration.
74624         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74625         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74626         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74628 2012-05-30  David S. Miller  <davem@davemloft.net>
74630         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74631         (___Q_simulate_exceptions): Use real FP ops rather than writing
74632         into the %fsr.
74633         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74634         Likewise.
74636 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74638         [BZ #14117]
74639         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74640         * sysdeps/x86/bits/xtitypes.h: This.
74642         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74643         * sysdeps/x86/bits/wordsize.h: This.
74645         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74646         * sysdeps/x86/bits/huge_vall.h: This.
74648         * sysdeps/i386/bits/select.h: Removed.
74649         * sysdeps/x86_64/bits/select.h: Renamed to ...
74650         * sysdeps/x86/bits/select.h: This.
74652         * sysdeps/i386/bits/setjmp.h: Removed.
74653         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74654         * sysdeps/x86/bits/setjmp.h: This.
74656         * sysdeps/i386/bits/mathdef.h: Removed.
74657         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74658         * sysdeps/x86/bits/mathdef.h: This.
74660 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74662         [BZ #14132]
74663         * include/sys/socket.h (__connect_internal)
74664         (__libc_sa_len_internal): Remove declaration.
74665         (__connect, __libc_sa_len): Declare hidden_proto.
74666         (SA_LEN): Remove use of INTUSE.
74667         * socket/connect.c: Add libc_hidden_def.
74668         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74669         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74670         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74671         alias.
74672         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74673         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74674         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74675         of adding _internal alias.
74677 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74679         [BZ #14117]
74680         * sysdeps/i386/bits/link.h: Removed.
74681         * sysdeps/i386/bits/linkmap.h: Likewise.
74682         * sysdeps/x86_64/bits/link.h: Renamed to ...
74683         * sysdeps/x86/bits/link.h: This.
74684         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74685         * sysdeps/x86/bits/linkmap.h: This.
74687         * sysdeps/i386/bits/endian.h: Removed.
74688         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74689         * sysdeps/x86/bits/endian.h: This.
74691         * sysdeps/i386/bits/byteswap.h: Removed.
74692         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74693         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74694         * sysdeps/x86/bits/byteswap.h: This.
74695         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74696         * sysdeps/x86/bits/byteswap-16.h: This.
74697         * sysdeps/i386/Implies: Add x86.
74698         * sysdeps/x86_64/Implies: Likewise.
74700 2012-05-30  David S. Miller  <davem@davemloft.net>
74702         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74703         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74704         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74705         (FP_TRAPPING_EXCEPTIONS): Define.
74706         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74707         (FP_TRAPPING_EXCEPTIONS): Define.
74708         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74709         subnormals only when inexact has been signalled or underflow
74710         exceptions are enabled.
74711         (_FP_PACK_CANONICAL): Likewise.
74713 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74715         [BZ #14183]
74716         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74717         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74719 2012-05-30  Richard Henderson  <rth@twiddle.net>
74721         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74722         with #ifndef NOT_IN_libc.
74724         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74725         marked to avoid plt entry.
74727 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74729         [BZ #14112]
74730         * Makeconfig (default-abi): New macro.
74731         (abi-includes): Likewise.
74732         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74733         $(abi-$(default-abi)-lib-soname) for soname if defined.
74734         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74735         abi-variants.
74736         * Makefile (installed-stubs): Likewise.
74737         * include/stubs-biarch.h: Removed.
74738         * scripts/lib-names.awk: Only handle one library at a time.
74739         * scripts/soversions.awk: Remove WORDSIZE support.
74740         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74741         entries.
74742         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74743         Removed.
74744         (syscall-list-default-condition): Likewise.
74745         (syscall-list-default-condition): Likewise.
74746         (syscall-list-includes): Likewise.
74747         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74748         syscall-list-* with abi-*.  Handle undefined abi-variants.
74749         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74750         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74751         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74752         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74753         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74754         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74755         Removed.
74756         (syscall-list-32-options): Likewise.
74757         (syscall-list-32-condition): Likewise.
74758         (syscall-list-64-options): Likewise.
74759         (syscall-list-64-condition): Likewise.
74760         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74761         macro.
74762         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74763         Renamed to ...
74764         (abi-*): This.
74765         (abi-64-ld-soname): New macro.
74766         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74767         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74768         Renamed to ...
74769         (abi-*): This.
74770         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74771         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74773 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74775         * sysdeps/unix/sysv/linux/kernel-features.h
74776         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74777         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74778         include <kernel-features.h>.
74779         [!__NR_ftruncate64]: Remove conditional code.
74780         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74781         [__NR_ftruncate64]: Make code unconditional.
74782         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74783         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74784         include <kernel-features.h>.
74785         [!__NR_ftruncate64]: Remove conditional code.
74786         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74787         [__NR_ftruncate64]: Make code unconditional.
74788         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74790         include <kernel-features.h>.
74791         [!__NR_ftruncate64]: Remove conditional code.
74792         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74793         [__NR_ftruncate64]: Make code unconditional.
74794         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74796         include <kernel-features.h>.
74797         [!__NR_ftruncate64]: Remove conditional code.
74798         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74799         [__NR_ftruncate64]: Make code unconditional.
74800         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74802         * configure.in (libc_cv_fpie): Weaken to a compile test using
74803         LIBC_TRY_CC_OPTION.
74804         * configure: Regenerated.
74806 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74812         Refreshed.
74813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74819         Refreshed.
74821 2012-05-27  David S. Miller  <davem@davemloft.net>
74823         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74824         (___Q_zero): New.
74825         (__Q_simulate_exceptions): Return void.  Change to simulate
74826         exceptions by writing into the %fsr.
74827         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74828         (__Qp_handle_exceptions): Likewise.
74829         (numbers): Delete.
74830         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74831         __Qp_handle_exceptions.
74832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74833         __Qp_handle_exceptions.
74834         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74835         as unused and give dummy FP_RND_NEAREST initializer.
74836         (FP_INHIBIT_RESULTS): Define.
74837         (___Q_simulate_exceptions): Update declaration.
74838         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74839         formatting.
74840         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74841         as unused and give dummy FP_RND_NEAREST initializer.
74842         (__Qp_handle_exceptions): Update declaration.
74843         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74844         formatting.
74846 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74848         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74849         the temporary FPU control word.
74850         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74851         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74852         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74853         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74854         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74855         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74856         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74857         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74858         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74859         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74860         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74862 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74864         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74865         fields.
74867 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74869         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74870         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74871         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74872         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74873         Likewise.
74874         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74875         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74876         Likewise.
74878 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74880         * po/h.po: Update from translation team.
74882 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74884         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74886         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74887         handling of denormals.
74888         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74889         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74890         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74891         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74892         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74893         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74894         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74895         Likewise.
74897 2012-05-26  Marek Polacek  <polacek@redhat.com>
74899         [BZ #14152]
74900         * math/libm-test.inc (fma_test): Don't always expect underflow
74901         exception.
74903 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74905         [BZ #12416]
74906         * elf/tst-execstack.c: Include stackinfo.h.
74907         (do_test): Adjust test case to ensure that pthread_getattr_np
74908         behaviour remains the same after marking stack executable.
74910 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74912         * sysdeps/unix/sysv/linux/kernel-features.h
74913         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74914         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74915         kernel-features.h.
74916         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74917         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74918         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74919         kernel-features.h.
74920         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74921         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74923 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74925         * configure.in: Define the default includes to being none.
74926         * configure: Regenerated.
74928 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74930         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74931         * sysdeps/x86_64/setjmp.S: Likewise.
74932         * sysdeps/i386/bsd-setjmp.S: Likewise.
74933         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74934         * sysdeps/i386/setjmp.S: Likewise.
74935         * sysdeps/i386/__longjmp.S: Likewise.
74936         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74937         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74939         * include/stap-probe.h: New file.
74940         * configure.in: Handle --enable-systemtap.
74941         * configure: Regenerated.
74942         * config.h.in (USE_STAP_PROBE): New #undef.
74943         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74944         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74945         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74947 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74949         [BZ #13717]
74950         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74951         to 2.4.0 where earlier.
74952         * sysdeps/unix/sysv/linux/configure: Regenerated.
74953         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74954         <kernel-features.h>.
74955         [__ASSUME_32BITUIDS]: Make code unconditional.
74956         [!__ASSUME_32BITUIDS]: Remove conditional code.
74957         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74958         <kernel-features.h>.
74959         [__ASSUME_32BITUIDS]: Make code unconditional.
74960         [!__ASSUME_32BITUIDS]: Remove conditional code.
74961         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74962         [__ASSUME_32BITUIDS]: Make code unconditional.
74963         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74964         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74965         <kernel-features.h>.
74966         [__ASSUME_32BITUIDS]: Make code unconditional.
74967         [!__ASSUME_32BITUIDS]: Remove conditional code.
74968         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
74969         <kernel-features.h>.
74970         [__ASSUME_32BITUIDS]: Make code unconditional.
74971         [!__ASSUME_32BITUIDS]: Remove conditional code.
74972         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
74973         <kernel-features.h>.
74974         [__ASSUME_32BITUIDS]: Make code unconditional.
74975         [!__ASSUME_32BITUIDS]: Remove conditional code.
74976         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
74977         <kernel-features.h>.
74978         [__ASSUME_32BITUIDS]: Make code unconditional.
74979         [!__ASSUME_32BITUIDS]: Remove conditional code.
74980         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
74981         <kernel-features.h>.
74982         [__ASSUME_32BITUIDS]: Make code unconditional.
74983         [!__ASSUME_32BITUIDS]: Remove conditional code.
74984         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
74985         <kernel-features.h>.
74986         [__ASSUME_32BITUIDS]: Make code unconditional.
74987         [!__ASSUME_32BITUIDS]: Remove conditional code.
74988         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74989         <kernel-features.h>.
74990         [__ASSUME_32BITUIDS]: Make code unconditional.
74991         [!__ASSUME_32BITUIDS]: Remove conditional code.
74992         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
74993         <kernel-features.h>.
74994         [__ASSUME_32BITUIDS]: Make code unconditional.
74995         [!__ASSUME_32BITUIDS]: Remove conditional code.
74996         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
74997         <kernel-features.h>.
74998         [__ASSUME_32BITUIDS]: Make code unconditional.
74999         [!__ASSUME_32BITUIDS]: Remove conditional code.
75000         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
75001         <kernel-features.h>.
75002         [__ASSUME_32BITUIDS]: Make code unconditional.
75003         [!__ASSUME_32BITUIDS]: Remove conditional code.
75004         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
75005         <kernel-features.h>.
75006         [__NR_setresgid] (__setresgid): Do not declare.
75007         [__ASSUME_32BITUIDS]: Make code unconditional.
75008         [!__ASSUME_32BITUIDS]: Remove conditional code.
75009         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
75010         <kernel-features.h>.
75011         [__NR_setresuid] (__setresuid): Do not declare.
75012         [__ASSUME_32BITUIDS]: Make code unconditional.
75013         [!__ASSUME_32BITUIDS]: Remove conditional code.
75014         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
75015         <kernel-features.h>.
75016         [__ASSUME_32BITUIDS]: Make code unconditional.
75017         [!__ASSUME_32BITUIDS]: Remove conditional code.
75018         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
75019         <kernel-features.h>.
75020         [__ASSUME_32BITUIDS]: Make code unconditional.
75021         [!__ASSUME_32BITUIDS]: Remove conditional code.
75022         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
75023         <kernel-features.h>.
75024         [__ASSUME_32BITUIDS]: Make code unconditional.
75025         [!__ASSUME_32BITUIDS]: Remove conditional code.
75026         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
75027         <kernel-features.h>.
75028         [__ASSUME_32BITUIDS]: Make code unconditional.
75029         [!__ASSUME_32BITUIDS]: Remove conditional code.
75030         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
75031         <kernel-features.h>.
75032         [__ASSUME_32BITUIDS]: Make code unconditional.
75033         [!__ASSUME_32BITUIDS]: Remove conditional code.
75034         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
75035         <kernel-features.h>.
75036         [__ASSUME_32BITUIDS]: Make code unconditional.
75037         [!__ASSUME_32BITUIDS]: Remove conditional code.
75038         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
75039         <kernel-features.h>.
75040         [__ASSUME_32BITUIDS]: Make code unconditional.
75041         [!__ASSUME_32BITUIDS]: Remove conditional code.
75042         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
75043         <kernel-features.h>.
75044         [__ASSUME_32BITUIDS]: Make code unconditional.
75045         [!__ASSUME_32BITUIDS]: Remove conditional code.
75046         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
75047         <kernel-features.h>.
75048         [__ASSUME_32BITUIDS]: Make code unconditional.
75049         [!__ASSUME_32BITUIDS]: Remove conditional code.
75050         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
75051         <kernel-features.h>.
75052         [__ASSUME_32BITUIDS]: Make code unconditional.
75053         [!__ASSUME_32BITUIDS]: Remove conditional code.
75054         * sysdeps/unix/sysv/linux/kernel-features.h
75055         (__ASSUME_SETRESUID_SYSCALL): Remove.
75056         (__ASSUME_SETRESGID_SYSCALL): Likewise.
75057         (__ASSUME_32BITUIDS): Likewise.
75058         (__ASSUME_LDT_WORKS): Likewise.
75059         (__ASSUME_O_DIRECTORY): Likewise.
75060         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
75061         architecture but not kernel version.
75062         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
75063         (__ASSUME_MMAP2_SYSCALL): Likewise.
75064         (__ASSUME_STAT64_SYSCALL): Likewise.
75065         (__ASSUME_IPC64): Likewise.
75066         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
75067         <kernel-features.h>.
75068         [__ASSUME_32BITUIDS]: Make code unconditional.
75069         [!__ASSUME_32BITUIDS]: Remove conditional code.
75070         * sysdeps/unix/sysv/linux/opendir.c: Do not include
75071         <kernel-features.h>.
75072         [__ASSUME_O_DIRECTORY]: Make code unconditional.
75073         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
75074         132096]: Remove conditional code.
75075         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
75076         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
75077         <kernel-features.h>.
75078         [__ASSUME_32BITUIDS]: Make code unconditional.
75079         [!__ASSUME_32BITUIDS]: Remove conditional code.
75080         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
75081         <kernel-features.h>.
75082         [__ASSUME_32BITUIDS]: Make code unconditional.
75083         [!__ASSUME_32BITUIDS]: Remove conditional code.
75084         * sysdeps/unix/sysv/linux/setegid.c: Do not include
75085         <kernel-features.h>.
75086         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
75087         unconditional.
75088         (__setresgid): Do not declare.
75089         [__ASSUME_32BITUIDS]: Make code unconditional.
75090         [!__ASSUME_32BITUIDS]: Remove conditional code.
75091         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
75092         <kernel-features.h>.
75093         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
75094         unconditional.
75095         (__setresuid): Do not declare.
75096         [__ASSUME_32BITUIDS]: Make code unconditional.
75097         [!__ASSUME_32BITUIDS]: Remove conditional code.
75098         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
75099         <kernel-features.h>.
75100         [__ASSUME_32BITUIDS]: Make code unconditional.
75101         [!__ASSUME_32BITUIDS]: Remove conditional code.
75102         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
75103         <kernel-features.h>.
75104         [__ASSUME_32BITUIDS]: Make code unconditional.
75105         [!__ASSUME_32BITUIDS]: Remove conditional code.
75107 2012-05-25  Richard Henderson  <rth@twiddle.net>
75109         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
75110         dl_hwcap to ifunc resolver.
75111         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
75112         elf_ifunc_invoke.
75113         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
75114         dl_hwcap to ifunc resolver.
75115         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
75117 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75119         [BZ #14153]
75120         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
75121         for |x| <= 2**-26, not 2**-57.
75122         * math/libm-test.inc (acos_test): Do not allow spurious underflow
75123         exception.
75125 2012-05-24  Jeff Law  <law@redhat.com>
75127         * stdio-common/Makefile (tests): Add bug25.
75128         * stdio-common/bug25.c: New test.
75130 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75132         [BZ #13576]
75133         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
75134         multiple of MALLOC_ALIGNMENT in size.
75135         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
75137 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75139         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
75140         Require >= 256.
75141         (FILENAME_MAX): Use macro-int-constant.
75142         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
75143         (_IOFBF): Use macro-int-constant.
75144         (_IOLBF): Likewise.
75145         (_IONBF): Likewise.
75146         (SEEK_CUR): Likewise.
75147         (SEEK_END): Likewise.
75148         (SEEK_SET): Likewise.
75149         (TMP_MAX): Likewise.
75150         (EOF): Use macro-int-constant.  Require < 0.
75151         (NULL): Use macro-constant.  Require == 0.
75152         (stdin): Require type to be FILE *.
75153         (stdout): Likewise.
75154         (stderr): Likewise.
75155         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
75156         macro-int-constant.
75157         (EXIT_SUCCESS): Likewise.
75158         (NULL): Use macro-constant.  Require == 0.
75159         (RAND_MAX): Use macro-int-constant.
75160         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
75161         [C99-based standards] (strtof): Require function.
75162         [C99-based standards] (strtold): Likewise.
75163         [C99-based standards] (strtoll): Likewise.
75164         [C99-based standards] (strtoull): Likewise.
75165         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75166         [ISO || ISO99 || ISO11] (limits.h): Likewise.
75167         [ISO || ISO99 || ISO11] (math.h): Likewise.
75168         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
75169         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75170         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75172 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
75174         [BZ #14132]
75175         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
75176         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
75177         * intl/dgettext.c (DCGETTEXT): Likewise.
75178         * intl/gettext.c (DCGETTEXT): Likewise.
75179         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
75180         * posix/regex_internal.h (gettext): Likewise.
75181         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
75182         Remove declaration.
75183         * include/argz.h (__argz_count_internal)
75184         (__argz_stringify_internal): Remove declaration.
75185         (__argz_count, __argz_stringify): Declare hidden proto.
75186         * intl/dcgettext.c: Remove use of INTDEF.
75187         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
75188         * string/argz-stringify.c: Likewise.
75189         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75190         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75191         Declare hidden proto.
75192         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75193         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75194         Declare hidden proto.
75195         * include/stdio.h (__asprintf_internal): Don't declare.
75196         (__asprintf): Don't define as macro.  Declare hidden proto.
75197         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
75198         (__fsetlocking): Declare hidden proto.
75199         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
75200         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
75201         hidden proto.
75202         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
75203         (_IO_setlinebuf): Remove use of INTUSE.
75204         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
75205         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
75206         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
75207         Remove declaration.
75208         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
75209         (_IO_do_flush): Remove use of INTUSE.
75210         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
75211         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
75212         (_IO_adjust_column, _IO_least_wmarker)
75213         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
75214         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
75215         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
75216         (_IO_default_doallocate, _IO_wdefault_doallocate)
75217         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
75218         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
75219         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
75220         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
75221         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
75222         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
75223         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
75224         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
75225         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
75226         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
75227         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
75228         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
75229         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
75230         proto.
75231         (_IO_flush_all_internal, _IO_adjust_column_internal)
75232         (_IO_default_uflow_internal, _IO_default_finish_internal)
75233         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
75234         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
75235         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
75236         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
75237         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
75238         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
75239         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
75240         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
75241         (_IO_file_close_internal, _IO_file_close_it_internal)
75242         (_IO_file_underflow_internal, _IO_file_overflow_internal)
75243         (_IO_file_init_internal, _IO_file_attach_internal)
75244         (_IO_file_fopen_internal, _IO_file_read_internal)
75245         (_IO_file_sync_internal, _IO_file_seek_internal)
75246         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
75247         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
75248         (_IO_str_underflow_internal, _IO_str_overflow_internal)
75249         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
75250         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
75251         (_IO_list_all_internal, _IO_link_in_internal)
75252         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
75253         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
75254         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
75255         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
75256         (_IO_do_write_internal, _IO_padn_internal)
75257         (_IO_getline_info_internal, _IO_getline_internal)
75258         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
75259         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
75260         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
75261         (_IO_vfscanf_internal, _IO_vfprintf_internal)
75262         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
75263         (_IO_init_internal, _IO_un_link_internal): Don't declare.
75264         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
75265         with libc_hidden_ver, remove use of INTUSE.
75266         * libio/genops.c: Likewise.
75267         * libio/freopen.c: Likewise.
75268         * libio/freopen64.c: Likewise.
75269         * libio/iofclose.c: Likewise.
75270         * libio/iofdopen.c: Likewise.
75271         * libio/iofflush.c: Likewise.
75272         * libio/iofflush_u.c: Likewise.
75273         * libio/iofgets.c: Likewise.
75274         * libio/iofgets_u.c: Likewise.
75275         * libio/iofopen.c: Likewise.
75276         * libio/iofopncook.c: Likewise.
75277         * libio/iofread.c: Likewise.
75278         * libio/iofread_u.c: Likewise.
75279         * libio/ioftell.c: Likewise.
75280         * libio/iofwrite.c: Likewise.
75281         * libio/iogetline.c: Likewise.
75282         * libio/iogets.c: Likewise.
75283         * libio/iogetwline.c: Likewise.
75284         * libio/iopadn.c: Likewise.
75285         * libio/iopopen.c: Likewise.
75286         * libio/ioseekoff.c: Likewise.
75287         * libio/ioseekpos.c: Likewise.
75288         * libio/iosetbuffer.c: Likewise.
75289         * libio/iosetvbuf.c: Likewise.
75290         * libio/ioungetc.c: Likewise.
75291         * libio/ioungetwc.c: Likewise.
75292         * libio/iovdprintf.c: Likewise.
75293         * libio/iovsprintf.c: Likewise.
75294         * libio/iovsscanf.c: Likewise.
75295         * libio/memstream.c: Likewise.
75296         * libio/obprintf.c: Likewise.
75297         * libio/oldfileops.c: Likewise.
75298         * libio/oldiofclose.c: Likewise.
75299         * libio/oldiofdopen.c: Likewise.
75300         * libio/oldiofopen.c: Likewise.
75301         * libio/oldiopopen.c: Likewise.
75302         * libio/oldstdfiles.c: Likewise.
75303         * libio/putc.c: Likewise.
75304         * libio/setbuf.c: Likewise.
75305         * libio/setlinebuf.c: Likewise.
75306         * libio/stdfiles.c: Likewise.
75307         * libio/strops.c: Likewise.
75308         * libio/vasprintf.c: Likewise.
75309         * libio/vscanf.c: Likewise.
75310         * libio/vsnprintf.c: Likewise.
75311         * libio/vswprintf.c: Likewise.
75312         * libio/wfiledoalloc.c: Likewise.
75313         * libio/wfileops.c: Likewise.
75314         * libio/wgenops.c: Likewise.
75315         * libio/wmemstream.c: Likewise.
75316         * libio/wstrops.c: Likewise.
75317         * libio/__fpurge.c: Likewise.
75318         * libio/__fsetlocking.c: Likewise.
75319         * assert/assert.c: Likewise.
75320         * debug/fgets_chk.c: Likewise.
75321         * debug/fgets_u_chk.c: Likewise.
75322         * debug/fread_chk.c: Likewise.
75323         * debug/fread_u_chk.c: Likewise.
75324         * debug/gets_chk.c: Likewise.
75325         * debug/obprintf_chk.c: Likewise.
75326         * debug/vasprintf_chk.c: Likewise.
75327         * debug/vdprintf_chk.c: Likewise.
75328         * debug/vsnprintf_chk.c: Likewise.
75329         * debug/vsprintf_chk.c: Likewise.
75330         * malloc/mtrace.c: Likewise.
75331         * misc/error.c: Likewise.
75332         * misc/syslog.c: Likewise.
75333         * stdio-common/asprintf.c: Likewise.
75334         * stdio-common/fxprintf.c: Likewise.
75335         * stdio-common/getw.c: Likewise.
75336         * stdio-common/isoc99_fscanf.c: Likewise.
75337         * stdio-common/isoc99_scanf.c: Likewise.
75338         * stdio-common/isoc99_vfscanf.c: Likewise.
75339         * stdio-common/isoc99_vscanf.c: Likewise.
75340         * stdio-common/isoc99_vsscanf.c: Likewise.
75341         * stdio-common/printf-prs.c: Likewise.
75342         * stdio-common/printf_fp.c: Likewise.
75343         * stdio-common/printf_fphex.c: Likewise.
75344         * stdio-common/printf_size.c: Likewise.
75345         * stdio-common/putw.c: Likewise.
75346         * stdio-common/scanf.c: Likewise.
75347         * stdio-common/sprintf.c: Likewise.
75348         * stdio-common/tmpfile.c: Likewise.
75349         * stdio-common/vfprintf.c: Likewise.
75350         * stdio-common/vfscanf.c: Likewise.
75351         * stdlib/strfmon_l.c: Likewise.
75352         * sunrpc/openchild.c: Likewise.
75353         * sunrpc/xdr_stdio.c: Likewise.
75354         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75355         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75357 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75359         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75361         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75362         in the third column, to generate for the shared library an IFUNC
75363         that uses _dl_vdso_vsym.
75364         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75365         * Makeconfig (object-suffixes-noshared): New variable.
75367         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75368         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75369         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75370         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75372         [BZ #14132]
75373         * include/sys/time.h (__gettimeofday): Remove macro.
75374         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75375         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75376         Remove INTDEF.
75377         (__gettimeofday): Add libc_hidden_def.
75378         (gettimeofday): Add libc_hidden_weak.
75379         * sysdeps/mach/gettimeofday.c: Likewise.
75380         * sysdeps/posix/gettimeofday.c: Likewise.
75381         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75382         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75383         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75384         (__gettimeofday_internal): Remove strong_alias.
75385         (__gettimeofday): Add libc_hidden_def.
75386         (gettimeofday): Add libc_hidden_weak.
75387         * sysdeps/unix/syscalls.list (gettimeofday):
75388         Remove __gettimeofday_internal alias.
75390 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75391             H.J. Lu  <hongjiu.lu@intel.com>
75393         [BZ #12495]
75394         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75395         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75396         (largebin_index_32_big): New.
75397         (largebin_index): Use it for 16-byte alignment.
75398         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75399         correction with front_misalign.
75401 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75405         Likewise.
75406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75407         Likewise.
75408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75409         Likewise.
75410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75411         Likewise.
75412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75413         Likewise.
75414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75415         Likewise.
75416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75417         Likewise.
75418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75419         Likewise.
75420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75421         Likewise.
75422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75423         Likewise.
75424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75425         Likewise.
75426         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75427         Likewise.
75429         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75430         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75432 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75434         [BZ #10846]
75435         [BZ #14036]
75436         * math/libm-test.inc (exp_test): Add test from bug 14036.
75437         (pow_test): Add test from bug 10846.
75439         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75440         and other flags.
75441         (special_function): Do not include flags in test name.
75442         (parse_args): Likewise.
75443         * sysdeps/i386/fpu/libm-test-ulps: Update.
75444         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75445         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75446         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75449         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75450         exceptions.
75451         * math/libm-test.inc ("Philosophy"): Update comment about
75452         exception testing.
75453         (UNDERFLOW_EXCEPTION): New macro.
75454         (UNDERFLOW_EXCEPTION_OK): Likewise.
75455         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75456         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75457         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75458         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75459         (INVALID_EXCEPTION_OK): Update value.
75460         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75461         (OVERFLOW_EXCEPTION_OK): Likewise.
75462         (IGNORE_ZERO_INF_SIGN): Likewise.
75463         (test_exceptions): Handle underflow exceptions.
75464         (acos_test): Update for underflow exception expectations.
75465         (cexp_test): Likewise.
75466         (clog_test): Likewise.
75467         (clog10_test): Likewise.
75468         (csqrt_test): Likewise.
75469         (ctan_test): Likewise.
75470         (ctanh_test): Likewise.
75471         (exp_test): Likewise.
75472         (exp10_test): Likewise.
75473         (exp2_test): Likewise.
75474         (expm1_test): Likewise.
75475         (fma_test): Likewise.
75476         (j0_test): Likewise.
75477         (jn_test): Likewise.
75478         (nexttoward_test): Likewise.
75479         (pow_test): Likewise.
75480         (scalbn_test): Likewise.
75481         (scalbln_test): Likewise.
75482         (tan_test): Likewise.
75483         (y1_test): Likewise.
75484         * sysdeps/i386/fpu/libm-test-ulps: Update.
75485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75487 2012-05-23  David S. Miller  <davem@davemloft.net>
75489         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75490         (__libc_sigaction): Remove unused local variables.
75492 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75494         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75496 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75498         mktime: avoid signed integer overflow
75499         * time/mktime.c (__mktime_internal): Do not mishandle the case
75500         where diff == INT_MIN.
75502         mktime: simplify computation of average
75503         * time/mktime.c (ranged_convert): Use new time_t_avg function
75504         instead of rolling our own (probably-slower) code.
75506         mktime: do not assume signed right shift propagates sign bit
75507         * time/mktime.c (isdst_differ): New static function.
75508         (__mktime_internal): No need to normalize tm_isdst now.
75509         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75510         tm_isdst values.
75512         mktime: merge another wrapv change from gnulib
75513         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75514         from some compilers.
75516         mktime: remove incorrect attempt at unusual arithmetics
75517         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75518         The code didn't really work on such machines anyway.
75519         (TYPE_MINIMUM): Assume two's complement.
75520         (twos_complement_arithmetic): Verify that long_int and time_t
75521         are two's complement (or unsigned, in the latter case).
75523         mktime: check signed shifts on long_int and time_t, too
75524         * time/mktime.c (SHR): Check that shifts work as desired
75525         on the types long_int and time_t too, as SHR is used on
75526         such types.
75528         mktime: do not assume 'long' is wide enough
75529         * time/mktime.c (verify): Move decl up.
75530         (long_int): New type.
75531         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75532         to remove assumption in the code that 'long' is wide enough to
75533         store year values.  This assumption is not true on x32 and on
75534         some non-glibc platforms.
75536         mktime: merge wrapv change from gnulib
75537         * time/mktime.c (WRAPV): New macro.
75538         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75539         (guess_time_tm, __mktime_internal): Do not assume that signed
75540         integer overflow wraps around; modern compilers generate code
75541         where this assumption is no longer valid.
75543 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75545         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75546         Replace "jmp L(pseudo_end)" with "ret".
75547         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75548         Likewise.
75550 2012-05-23  Andreas Jaeger  <aj@suse.de>
75552         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75553         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75555 2012-05-23  Andreas Jaeger  <aj@suse.de>
75556             Maximilian Attems  <max@stro.at>
75558         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75559         New macros.
75561 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75563         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75564         code so that pseudo_end is just ret and the stack pointer is
75565         correct also for static library in error case.
75567 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75569         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75570         move to syscalls.list.
75571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75576         * manual/install.texi (Running make install): Do not mention Linux
75577         kernel version for which pt_chown is not needed.
75578         (Linux): Do not mention problems with nscd with 2.0 kernels.
75579         * INSTALL: Regenerated.
75581 2012-05-23  Andreas Jaeger  <aj@suse.de>
75583         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75584         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75585         macro.
75586         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75587         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75588         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75589         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75590         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75591         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75592         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75593         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75594         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75595         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75596         * sysdeps/unix/sysv/linux/bits/in.h
75597         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75599 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75601         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75602         (PREPARE_VERSION): Just use assert instead, it will be elided
75603         under [NDEBUG] anyway.
75605 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75607         * sysdeps/unix/sysv/linux/Makefile: Include
75608         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75609         (sysdep_routines): Remove sysctl.
75610         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75611         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75612         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75613         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75614         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75616 2012-05-22  Andreas Jaeger  <aj@suse.de>
75618         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75619         that pseudo_end is just ret and the stack pointer is correct also
75620         for static library in error case.
75622 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75624         [BZ #14122]
75625         * nss/nsswitch.c (defconfig_entries): New variable.
75626         (__nss_database_lookup): Don't leak defconfig entries.
75627         (nss_parse_service_list): Don't leak on error paths.
75628         (free_database_entries): New function.
75629         (free_defconfig): New function.
75630         (free_mem): Move common code to free_database_entries.
75632 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75634         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75635         Add arch_prctl.
75636         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75638         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75639         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75640         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75641         New macro.
75642         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75643         (INTERNAL_SYSCALL_TYPES): Likewise.
75644         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75645         (LOAD_REGS_TYPES_[1-6]): Likewise.
75646         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75647         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75649 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75651         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75652         copysignl for GLIBC_2_0.
75653         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75654         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75655         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75656         logbl for GLIBC_2_0.
75657         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75658         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75660 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75662         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75663         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75665         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75666         Use "neg %eax".
75668         * time/mktime.c: Update copyright years.
75670 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75672         mktime: merge comment-quoting-style change from gnulib
75673         * time/mktime.c: Quote 'like this' in comments.
75674         The GNU coding standards suggest that we no longer quote `like this',
75675         as "`" and "'" are typically rendered asymmetrically nowadays.
75676         The typical gnulib style is to quote 'like this' when quoting
75677         code, and "like this" when quoting English.
75679         * time/mktime.c (compile-command): Add "-I.".
75681         mktime: merge mktime-internal.h change from gnulib
75682         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75684         mktime: merge time_r change from gnulib
75685         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75687         mktime: merge DEBUG change from gnulib
75688         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75689         case system <time.h> has a #define.
75691         mktime: merge <sys/types.h> change from gnulib
75692         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75693         since <time.t> is now guaranteed to define time_t.
75695         mktime: merge HAVE_CONFIG_H change from gnulib
75696         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75698 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75701         Use "neg %eax".
75703         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75704         __rlim_t cast.
75705         (struct rusage): Use anonymous union to pad each field to
75706         __syscall_slong_t.
75708 2012-05-21  David S. Miller  <davem@davemloft.net>
75710         * Makefules (o-iterator): Remove .s cases.
75711         (compile-command.s): Delete.
75712         (COMPILE.s): Delete.
75713         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75715 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75717         * configure.in (libc_cv_predef_stack_protector): Only consider
75718         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75719         * configure: Regenerated.
75721 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75723         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75724         New macro.  Use R*LP on int and pointer.
75725         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75726         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75727         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75728         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75730         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75731         [__WORDSIZE_TIME64_COMPAT32] instead of
75732         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75733         (struct utmp): Likewise.
75734         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75735         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75736         Renamed to ...
75737         (__WORDSIZE_TIME64_COMPAT32): This.
75738         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75739         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75740         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75741         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75742         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75743         (__WORDSIZE_TIME64_COMPAT32): New macro.
75745 2012-05-21  Andreas Jaeger  <aj@suse.de>
75747         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75748         only if [SHARED]. Add prototype for __wcschr_ia32.
75750 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75752         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75753         of %rbp unmolested in the jmp_buf while mangling the low bits.
75754         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75755         unmolested high bits of %rbp while demangling the low bits.
75756         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75758 2012-05-21  Andreas Jaeger  <aj@suse.de>
75760         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75761         * sunrpc/svc_simple.c: Use it for registerrpc.
75762         * sunrpc/xcrypt.c: Use it for passwd2des.
75764         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75766 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75768         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75769         Don't define if [__SYSCALL_WORDSIZE != 32].
75770         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75771         New macro.
75773 2012-05-21  Bruno Haible  <bruno@clisp.org>
75774             Andreas Jaeger  <aj@suse.de>
75776         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75777         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75778         inptr and inend for must_buffer_ch.
75779         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75780         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75781         * stdio-common/Makefile (tests): Remove bug15.
75782         (bug15-ENV): Remove macro.
75783         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75784         anymore.
75786 2012-05-19  Andreas Jaeger  <aj@suse.de>
75787             Roland McGrath  <roland@hack.frob.com>
75789         * manual/contrib.texi: Completely rewritten. It contains now an
75790         alphabetical list of contributors and their contributions.
75792 2012-05-21  Richard Henderson  <rth@twiddle.net>
75794         * misc/getauxval.c (__getauxval): Use unsigned long int.
75795         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75796         (getauxval): Use unsigned long int.
75798 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75800         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75802 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75804         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75805         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75806         __alignof__ (long double).
75808 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75812 2012-05-20  Richard Henderson  <rth@twiddle.net>
75814         * misc/getauxval.c: New file.
75815         * misc/sys/auxv.h: New file.
75816         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75817         (routines): Add getauxval.
75818         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75819         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75820         * elf/dl-sysdep.c (_dl_auxv): Remove.
75821         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75822         * elf/dl-support.c (_dl_auxv): New variable.
75823         (_dl_aux_init): Initialize it.
75824         * manual/startup.texi (Auxiliary Vector): New node.
75825         * sysdeps/generic/bits/hwcap.h: New file.
75826         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75827         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75828         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75829         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75830         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75831         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75833         Update.
75834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75837         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75839         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75843 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75847 2012-05-19  David S. Miller  <davem@davemloft.net>
75849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75851 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75853         [BZ #14123]
75854         * math/s_ccosh.c: Include <float.h>
75855         (__ccosh): Avoid internal overflow calculating sinh and cosh
75856         values before multiplying by sin and cos values.
75857         * math/s_ccoshf.c: Likewise.
75858         * math/s_ccoshl.c: Likewise.
75859         * math/s_csin.c: Likewise.
75860         * math/s_csinf.c: Likewise.
75861         * math/s_csinl.c: Likewise.
75862         * math/s_csinh.c: Likewise.
75863         * math/s_csinhf.c: Likewise.
75864         * math/s_csinhl.c: Likewise.
75865         * math/libm-test.inc (ccos_test): Add more tests.
75866         (ccosh_test): Likewise.
75867         (csin_test): Likewise.
75868         (csinh_test): Likewise.
75869         * sysdeps/i386/fpu/libm-test-ulps: Update.
75870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75872 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75874         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75875         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75877         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75879 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75881         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75882         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75883         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75884         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75885         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75886         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75887         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75888         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75889         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75890         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75891         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75892         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75893         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75894         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75895         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75896         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75897         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75898         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75899         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75900         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75901         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75902         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75903         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75904         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75905         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75906         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75907         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75908         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75909         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75910         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75911         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75913 2012-05-18  Andreas Jaeger  <aj@suse.de>
75915         * csu/.gitignore: Delete.
75917 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75919         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75920         (timex): Use __syscall_slong_t.
75922 2012-05-18  Andreas Jaeger  <aj@suse.de>
75923             Carlos O'Donell  <carlos_odonell@mentor.com>
75925         * manual/install.texi (Configuring and compiling): Update
75926         description about files modified in the source directory.
75927         * INSTALL: Regenerated.
75929 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75931         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75932         value.  Use "or" to set return value to -1.
75933         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75934         negate return value.
75936 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75938         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75939         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75940         failure if the compiler has Graphite support disabled.
75941         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75942         Likewise.
75943         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75944         (CFLAGS-memmove.c): Likewise.
75945         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75946         Likewise.
75948 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75950         * sysdeps/x86_64/x32/_itoa.h: New file.
75952         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75953         getdents system call only if kernel and user dirents have the
75954         same d_ino and d_off.
75956         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75957         LLONG_MAX != LONG_MAX.
75958         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75959         (_fitoa_word): Likewise.
75961         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75962         years.
75963         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75964         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75965         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75967         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75968         include <bits/wordsize.h>.  Check __x86_64__ instead of
75969         __WORDSIZE.
75970         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75971         if __x86_64__ is defined.  Use anonymous union on fpstate.
75973         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75974         anonymous union.
75976 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75978         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75979         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75980         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75981         Refer to _rtld_local_ro instead of _rtld_global_ro.
75982         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75983         Likewise.
75984         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75985         Likewise.
75986         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75987         Likewise.
75988         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75989         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75990         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75992         [BZ #10882]
75993         * sysdeps/powerpc/powerpc32/dl-machine.c
75994         (__elf_machine_runtime_setup) [PROF]: Don't reference
75995         _dl_prof_resolve.
75997 2012-05-18  Andreas Jaeger  <aj@suse.de>
75999         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
76000         function only available for GCCs before 3.4 since GCC 3.4
76001         introduced a builtin.
76002         (lrint): Likewise.
76003         (llrintf): Likewise.
76004         (llrint): Likewise.
76005         (fmaxf): Likewise.
76006         (fmax): Likewise.
76007         (fminf): Likewise.
76008         (fmin): Likewise.
76009         (rint): Likewise.
76010         (rintf): Likewise.
76011         (nearbyint): Likewise.
76012         (nearbyintf): Likewise.
76013         (ceil): Likewise.
76014         (ceilf): Likewise.
76015         (floor): Likewise.
76016         (floorf): Likewise.
76018 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76020         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
76021         on both fields and cast pointer to __syscall_ulong_t.
76023         * bits/types.h (__fsword_t): New type.
76024         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
76025         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
76026         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76027         (__FSWORD_T_TYPE): Likewise.
76028         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76029         (__FSWORD_T_TYPE): Likewise.
76030         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76031         (__FSWORD_T_TYPE): Likewise.
76032         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
76033         (__FSWORD_T_TYPE): Likewise.
76034         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
76035         __SWORD_TYPE with __fsword_t.
76036         (statfs64): Likewise.
76038 2012-05-17  David S. Miller  <davem@davemloft.net>
76040         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
76042 2012-05-17  Andreas Jaeger  <aj@suse.de>
76044         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
76045         warning.
76047 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76049         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
76051 2012-05-17  Andreas Jaeger  <aj@suse.de>
76053         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
76054         when it is used.
76056 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76058         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
76060 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76062         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
76063         * sysdeps/x86_64/tst-mallocalign1.c: New file.
76065 2012-05-17  Andreas Jaeger  <aj@suse.de>
76066             Carlos O'Donell  <carlos_odonell@mentor.com>
76068         [BZ #14059]
76069         * sysdeps/x86_64/multiarch/init-arch.h
76070         (bit_YMM_Usable): Rename to...
76071         (bit_AVX_Usable): ... this.
76072         (bit_FMA4_Usable): New macro.
76073         (bit_XMM_state): New macro.
76074         (bit_YMM_state): New macro.
76075         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
76076         [__ASSEMBLER__] (index_AVX_Usable): ... this.
76077         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
76078         (CPUID_OSXSAVE): New macro.
76079         (CPUID_AVX): New macro.
76080         (CPUID_FMA4): New macro.
76081         (index_YMM_Usable): Rename to...
76082         (index_AVX_Usable): ... this.
76083         (HAS_AVX): Use HAS_ARCH_FEATURE.
76084         (HAS_FMA4): Likewise.
76085         (HAS_YMM_USABLE): Remove.
76086         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76087         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
76088         are present.
76089         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
76090         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
76091         * sysdeps/x86_64/multiarch/Makefile: Likewise.
76092         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
76093         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
76095 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76097         * math/libm-test.c: Support platforms without multiple rounding modes.
76098         * math/bug-nextafter.c: Support platforms without FP exceptions.
76099         * math/bug-nexttoward.c: Likewise.
76100         * math/test-fenv.c: Likewise.
76101         * math/test-misc.c: Likewise.
76102         * stdlib/bug-getcontext.c: Likewise.
76104 2012-05-17  Andreas Jaeger  <aj@suse.de>
76106         * manual/examples/search.c (critter_cmp): Change signature to
76107         avoid warnings.
76108         * manual/string.texi (Collation Functions): Likewise.
76110 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76112         * bits/types.h: Fold copyright years.
76113         * bits/typesizes.h: Likewise.
76114         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
76115         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
76116         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
76117         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
76118         * time/time.h: Likewise.
76120 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
76122         [BZ #208]
76123         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
76124         in instead of returning them.  Return void.
76125         (__libc_mallinfo): Accumulate over all arenas.
76126         (__malloc_stats): Adjust for change in int_mallinfo interface.
76128 2012-05-16  Roland McGrath  <roland@hack.frob.com>
76130         [BZ #10375]
76131         * configure.in (NM): Add AC_CHECK_TOOL for it.
76132         (libc_extra_cflags): New substituted variable.
76133         Check for -fstack-protector being used implicitly.
76134         * configure: Regenerated.
76135         * config.make.in (config-extra-cflags): New variable,
76136         gets @libc_extra_cflags@.
76137         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
76139         [BZ #10375]
76140         * configure.in: Check for _FORTIFY_SOURCE being predefined.
76141         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
76142         * configure: Regenerated.
76143         * config.make.in (CPPUNDEFS): New substituted variable.
76144         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
76145         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
76146         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
76148 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76150         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
76151         (mq_attr): Use __syscall_slong_t.
76153 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76155         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
76156         Check __x86_64__ instead of __WORDSIZE.
76157         (_STAT_VER_LINUX): Likewise.
76158         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
76159         __syscall_ulong_t and __syscall_slong_t.
76160         (stat64): Likewise.
76162 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76164         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
76166 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76168         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
76170 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76172         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
76173         __syscall_ulong_t.
76175         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
76176         include <bits/wordsize.h>.  Check __x86_64__ instead of
76177         __WORDSIZE.
76178         (greg_t): Use "__extension__ long long int" if __x86_64__ is
76179         defined.
76180         (mcontext_t): Replace "unsigned long" with "unsigned long long".
76182         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
76183         include <bits/wordsize.h>.  Check __x86_64__ instead of
76184         __WORDSIZE.
76185         (user_regs_struct): Use "__extension__ unsigned long long"
76186         instead of "unsigned long" if __x86_64__ is defined.
76187         (user): Likewise.  Pad after pointer field if __ILP32__ is
76188         defined.
76190 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
76192         * configure.in (makeinfo): Require version 4.5 or later.  Allow
76193         versions 5 to 9.
76194         * configure: Regenerated.
76195         * manual/install.texi (texinfo): Increase version requirement to
76196         4.5 or later.
76197         * INSTALL: Regenerated.
76199         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
76201 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76203         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
76205         * sysdeps/x86_64/x32/ffs.c: New file.
76207         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
76208         __syscall_ulong_t.
76209         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
76210         defined.  Use __syscall_ulong_t.
76211         (shminfo): Use __syscall_ulong_t.
76212         (shm_info): Likewise.
76214         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
76215         __syscall_ulong_t.
76217         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
76218         <bits/wordsize.h>.
76219         (msgqnum_t): Use __syscall_ulong_t.
76220         (msglen_t): Likewise.
76221         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
76222         __syscall_ulong_t.
76224         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
76225         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76227         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
76229         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
76230         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
76232         * sysvipc/sys/msg.h (msgbuf): Replace long int with
76233         __syscall_slong_t.
76235         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
76236         include <bits/wordsize.h>.  Check __x86_64__ instead of
76237         __WORDSIZE.
76239         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
76240         "unsigned long long int" if __x86_64__ is defined.
76241         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
76243         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
76244         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76245         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
76247         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
76248         <stdint.h>.
76249         (GET_PC): Cast to uintptr_t first.
76250         (GET_FRAME): Likewise.
76251         (GET_STACK): Likewise.
76253         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
76254         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
76255         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
76256         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
76257         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
76258         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
76259         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
76260         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
76261         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
76262         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
76263         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
76264         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
76265         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76266         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
76267         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
76268         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
76269         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
76270         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
76271         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
76272         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
76273         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
76274         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
76275         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
76276         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
76277         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
76278         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
76279         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
76280         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
76281         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
76283 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
76285         * Makerules (+depfiles): Also collect depfiles from .oS in
76286         $(extra-objs).
76287         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
76288         .oS, $(libnldbl-routines)).
76290         * Makerules (native-compile-mkdep-flags): Define.
76291         * sunrpc/Makefile (extra-objs): Add $(addprefix
76292         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
76293         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
76294         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76295         calling $(make-target-directory).
76297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76299         * bits/types.h (__snseconds_t): Removed.
76300         * time/time.h (struct timespec): Replace __snseconds_t with
76301         __syscall_slong_t.
76302         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76303         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76304         Likewise.
76305         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76306         (__SNSECONDS_T_TYPE): Likewise.
76307         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76308         (__SNSECONDS_T_TYPE): Likewise.
76309         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76310         (__SNSECONDS_T_TYPE): Likewise.
76312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76314         * sysdeps/mach/hurd/bits/typesizes.h
76315         (__SYSCALL_SLONG_TYPE): New macro.
76316         (__SYSCALL_ULONG_TYPE): Likewise.
76318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76320         * bits/types.h (__syscall_slong_t): New type.
76321         (__syscall_ulong_t): Likewise.
76323         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76324         (__SYSCALL_ULONG_TYPE): Likewise.
76325         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76326         (__SYSCALL_SLONG_TYPE): Likewise.
76327         (__SYSCALL_ULONG_TYPE): Likewise.
76328         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76329         (__SYSCALL_SLONG_TYPE): Likewise.
76330         (__SYSCALL_ULONG_TYPE): Likewise.
76331         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76332         (__SYSCALL_SLONG_TYPE): Likewise.
76333         (__SYSCALL_ULONG_TYPE): Likewise.
76335 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76337         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76338         Add sigaltstack-offsets.sym.
76339         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76340         <sigaltstack-offsets.h>.
76341         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76342         longjmp_msg pointer.
76343         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76344         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76345         signal stack.
76346         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76348 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76350         * elf/stackguard-macros.h: Remove file.
76351         * sysdeps/generic/stackguard-macros.h: New file.
76352         * sysdeps/i386/stackguard-macros.h: Likewise.
76353         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76354         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76355         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76356         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76357         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76358         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76359         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76360         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76361         <elf/stackguard-macros.h>.
76363         [BZ #14109]
76364         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76365         __aligned__ in attribute.
76366         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76367         (gregset_t): Likewise.
76369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76371         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76372         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76373         * sysdeps/x86_64/x32/Implies-after: New file.
76375 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76377         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76378         and access return value for _dl_profile_fixup.  Use R10_LP to
76379         load frame size.
76381 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76383         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76387         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76388         * sysdeps/x86_64/x32/sysdep.h: New file.
76390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76392         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76393         * sysdeps/x86_64/setjmp.S: Likewise.
76395 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76397         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76398         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76399         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76400         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76401         remove unused global constant.
76403 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76405         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76406         include of <not-cancel.h>.
76408 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76410         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76412 2012-05-15  Jeff Law  <law@redhat.com>
76413             Andreas Jaeger  <aj@suse.de>
76415         [BZ #13594]
76416         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76417         out from...
76418         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76419         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76420         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76421         code changing __hst_map_handle.map.
76423 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76425         * configure.in (sysnames): Look for Implies-before and Implies-after
76426         files.
76427         * configure: Regenerated.
76429 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76431         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76432         8-byte data alignment with LP_SIZE alignment.
76434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76436         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76437         into R10_LP.
76439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76441         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76445         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76446         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76447         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76448         Likewise.
76449         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76453         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76454         (stackinfo_sub_sp): Likewise.
76456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76458         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76459         RAX_LP.
76461 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76463         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76464         into R*_LP.
76466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76468         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76469         sizes into R*_LP.
76471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76473         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76477         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76478         into R11_LP and load __x86_64_shared_cache_size_half into
76479         R8_LP.
76481 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76483         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76484         R8_LP.
76486 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76488         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76489         logb for POWER7.
76490         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76491         logbf for POWER7.
76492         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76493         logbl for POWER7.
76494         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76495         powerpc32/power7/fpu/s_logb.c via #include.
76496         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76497         powerpc32/power7/fpu/s_logbf.c via #include.
76498         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76499         powerpc32/power7/fpu/s_logbl.c via #include.
76501 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76503         * README.libm: Remove file.
76505 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76507         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76508         count for x32.  Use R*_LP and omit operand-size suffix.
76510 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76512         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76513         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76514         * sysdeps/x86_64/x32/shlib-versions: New file.
76516 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76518         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76519         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76520         Use _dl_fatal_printf instead.
76522 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76524         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76525         set if not set by the user.  Do not allow for being unset.
76526         * sysdeps/unix/sysv/linux/configure: Regenerated.
76528 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76530         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76531         the `q' suffix from lea and replace .quad with ASM_ADDR.
76533 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76536         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76537         instead of $17.
76538         (PTR_DEMANGLE): Likewise.
76540 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76542         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76543         (LP_OP): Likewise.
76544         (ASM_ADDR): Likewise.
76545         (RAX_LP): Likewise.
76546         (RBP_LP): Likewise.
76547         (RBX_LP): Likewise.
76548         (RCX_LP): Likewise.
76549         (RDI_LP): Likewise.
76550         (RSI_LP): Likewise.
76551         (RSP_LP): Likewise.
76552         (R8_LP): Likewise.
76553         (R9_LP): Likewise.
76554         (R10_LP): Likewise.
76555         (R10_LP): Likewise.
76556         (R11_LP): Likewise.
76557         (R12_LP): Likewise.
76558         (R13_LP): Likewise.
76559         (R14_LP): Likewise.
76560         (R15_LP): Likewise.
76562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76564         * sysdeps/x86_64/x32/dl-machine.h: New file.
76566 2012-05-14  Andreas Jaeger  <aj@suse.de>
76568         * manual/Makefile (subdir): Remove export of subdir.
76569         (all): Remove target.
76570         (.PHONY): Remove all from list.
76571         (mkinstalldirs): Remove.
76572         (.PHONY): Remove installdirs from list.
76573         ($(inst_infodir)/libc.info): Use make-target-directory.
76574         (installdirs): Remove.
76575         (subdir_%): Remove.
76576         (glibc-targets): Remove.
76577         (lib): Remove.
76578         (stubs): Remove.
76579         ($(objpfx)stubs ../po/manual.pot): Remove.
76580         ($(objpfx)stamp%): Remove.
76581         (make-target-directory): Remove.
76582         (subdir_install): Remove.
76583         (routines): Remove.
76584         (aux): Remove.
76585         (sources): Remove.
76586         (objects): Remove.
76587         (headers): Remove.
76589         [BZ #13750]
76590         * manual/.gitignore: Remove, it's not needed anymore.
76591         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76592         all files in it.
76593         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76594         directory.
76595         (texis): Renamed to $(objpfx)texis.
76596         (texis-path): New, contains path to generated files.
76597         (chapters.%): Use texis-path for complete path, add extra argument
76598         libc-texinfo.sh.
76599         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76600         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76601         (summary,texi, stamp-summary): Use complete path of
76602         files. Generate files in build dir.
76603         (dir-add.texi): Build in build dir.
76604         (libm-err.texi,stamp-libm-err): Likewise.
76605         (version.texi, stamp-version): Likewise.
76606         (.%c.texi): Likewise.
76607         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76608         (mostlyclean): Remove target.
76609         (realclean): Remove target.
76610         (generated): Add new variable with contents from mostlyclean and
76611         realclean, remove entries duplicated in common-mostlyclean, add
76612         stamp-libm-err and stamp-version.
76613         (generated-dirs): Add libc directory.
76614         ($(inst_infodir)/libc.info): Install files from build dir.
76616         * manual/install.texi (Configuring and compiling): Adjust since
76617         the info files are not part of the tar ball anymore.
76619 2012-05-14  Andreas Jaeger  <aj@suse.de>
76621         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76622         variable.
76624 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76626         [BZ #13717]
76627         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76628         to 2.2.0 where earlier.
76629         * sysdeps/unix/sysv/linux/configure: Regenerated.
76630         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76631         Remove conditional code.
76632         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76633         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76634         Remove conditional code.
76635         [!__NR_lchown]: Likewise.
76636         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76637         [__NR_lchown]: Likewise.
76638         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76639         comment referencing __ASSUME_LCHOWN_SYSCALL.
76640         * sysdeps/unix/sysv/linux/i386/sigaction.c
76641         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76642         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76643         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76644         Remove conditional code.
76645         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76646         (__protocol_available): Remove #if 0 code.
76647         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76648         conditional code.
76649         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76650         * sysdeps/unix/sysv/linux/kernel-features.h
76651         (__ASSUME_GETCWD_SYSCALL): Don't define.
76652         (__ASSUME_REALTIME_SIGNALS): Likewise.
76653         (__ASSUME_PREAD_SYSCALL): Likewise.
76654         (__ASSUME_PWRITE_SYSCALL): Likewise.
76655         (__ASSUME_POLL_SYSCALL): Likewise.
76656         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76657         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76658         non-SPARC.
76659         (__ASSUME_SIOCGIFNAME): Don't define.
76660         (__ASSUME_MSG_NOSIGNAL): Likewise.
76661         (__ASSUME_SENDFILE): Define unconditionally.
76662         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76663         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76664         conditional code.
76665         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76666         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76667         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76668         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76669         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76670         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76671         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76673         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76674         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76676         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76677         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76679         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76680         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76682         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76683         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76685         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76686         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76688         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76689         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76691         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76692         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76694         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76695         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76696         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76697         Remove conditional code.
76698         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76699         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76700         Remove conditional code.
76701         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76702         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76703         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76704         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76705         Remove conditional code.
76706         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76707         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76708         Remove conditional code.
76709         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76710         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76711         Remove conditional code.
76712         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76713         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76714         Remove conditional code.
76715         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76716         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76717         Remove conditional code.
76718         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76719         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76720         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76721         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76722         * sysdeps/unix/sysv/linux/sigaction.c
76723         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76724         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76725         * sysdeps/unix/sysv/linux/sigpending.c
76726         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76727         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76728         * sysdeps/unix/sysv/linux/sigprocmask.c
76729         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76730         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76731         * sysdeps/unix/sysv/linux/sigsuspend.c
76732         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76733         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76734         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76735         (__libc_missing_rt_sigs): Remove.
76736         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76737         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76738         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76739         Remove conditional code.
76740         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76741         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76742         return 1.
76743         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76744         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76745         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76746         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76748 2012-05-14  Andreas Jaeger  <aj@suse.de>
76750         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76751         it's not used in glibc.
76752         (__coshm1): Likewise.
76753         (__acosh1p): Likewise.
76754         (__sgn): Likewise.
76756         * manual/string.texi (Copying and Concatenation): Add missing
76757         variable in concat example.
76758         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76760 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76762         [BZ #14103]
76763         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76764         __builtin_clzl with __builtin_clzll.
76766 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76768         [BZ #14104]
76769         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76770         libc_freeres_ptr.
76772 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76774         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76775         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76776         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76777         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76779 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76781         * NEWS: Update ia64 info.
76783 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76785         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76786         used as bcopy.
76788 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76790         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76791         * sysdeps/unix/syscalls.list (dup3): Likewise.
76792         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76793         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76795 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76797         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76798         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76800 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76802         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76803         thread pointer.
76804         (TLS_IE): Use mov/add instead of movq/addq to load thread
76805         pointer.
76806         (TLS_GD_PREFIX): New.
76807         (TLS_GD): Use it.
76809 2012-05-11  David S. Miller  <davem@davemloft.net>
76811         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76812         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76813         (_FPU_SETCW): Likewise.
76815 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76817         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76818         is 32-byte aligned.
76820 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76822         [BZ #11837]
76823         * iconvdata/gb18030.c: Update tables.
76824         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76825         characters specially.
76826         (BODY for TO_LOOP): Add encoding of missing ranges.
76828 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76830         [BZ #13673]
76831         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76832         * sysdeps/mach/hurd/dup3.c: Likewise.
76833         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76834         * sysdeps/powerpc/memmove.c:: Likewise.
76836 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76838         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76839         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76841 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76843         * elf/elf.h (R_X86_64_RELATIVE64): New.
76844         (R_X86_64_NUM): Updated.
76845         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76846         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76847         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76848         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76849         tst-quad1pie tst-quad2pie
76850         (modules-names): Add tst-quadmod1 tst-quadmod2.
76851         ($(objpfx)tst-quad1): New dependency.
76852         ($(objpfx)tst-quad2): Likewise.
76853         ($(objpfx)tst-quad1pie): Likewise.
76854         ($(objpfx)tst-quad2pie): Likewise.
76855         * sysdeps/x86_64/tst-quad1.c: New file.
76856         * sysdeps/x86_64/tst-quad1pie.c: New file.
76857         * sysdeps/x86_64/tst-quad2.c: Likewise.
76858         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76859         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76860         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76861         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76862         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76864 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76866         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76867         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76868         * streams/stropts.h (t_scalar_t): Define type.
76870         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76871         (_PATH_PRESERVE): Set to "/var/lib".
76872         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76874         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76875         instead of int.
76877         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76878         if __dir_mkfile succeeded.
76880         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76881         checking for _hurd_dtablesize.  Unlock it right after having
76882         finished _hurd_dtable allocation.
76884 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76886         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76887         * sysdeps/mach/hurd/configure: Regenerated.
76888         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76889         special-casing to...
76890         * sysdeps/gnu/configure.in: ... this new file.
76891         * sysdeps/unix/sysv/linux/configure: Regenerated.
76892         * sysdeps/gnu/configure: New generated file.
76894         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76895         for Linux: use nsec instead of usec, as well as:
76896         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76897         members of type struct timespec.
76898         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76899         New macros.
76900         (struct stat64): Likewise.
76901         (_STATBUF_ST_NSEC): New macro.
76902         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76904         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76905         __strtoul_internal rather than strtoul.
76907 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76909         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76910         and reject them.
76912 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76914         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76915         which preserves existing values.
76916         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76918 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76920         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76921         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76922         greater than FD_SETSIZE.
76924 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76926         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76927         allocated, call __vm_protect to finish enabling the existing space, and
76928         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76929         allocate the remainder.
76931 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76933         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76934         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76936 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76938         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76939         sysdeps/mach/hurd/readlink.c.
76941         * posix/tst-sysconf.c (posix_options): Only use
76942         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76943         _POSIX_SYNCHRONIZED_IO when they are defined
76944         * sysdeps/mach/hurd/bits/posix_opt.h:
76945         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76946         (_XOPEN_REALTIME): Undefine macro.
76947         (_XOPEN_REALTIME_THREADS): Undefine macro.
76948         (_XOPEN_SHM): Undefine macro.
76949         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76950         macro to -1.
76951         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76952         macro to -1.
76953         (_POSIX_ASYNC_IO): Undefine macro.
76954         (_POSIX_PRIORITIZED_IO): Undefine macro.
76955         (_POSIX_SPIN_LOCKS): Define macro to -1.
76957         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76958         SA_NODEFER, SA_RESETHAND.
76959         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76960         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76961         F_DUPFD_CLOEXEC.
76963 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76965         * elf/Makefile (pldd-modules): Define unconditionally.
76967 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76969         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76971 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76973         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76974         Return ENOENT when name is empty.
76975         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76979         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76981         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76983 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76985         Fix mlock in all cases except non-readable pages.
76986         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76987         instead of VM_PROT_ALL as parameter to __vm_wire function.
76989         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76990         (__mkdir): When path is `/', just fail with EEXIST.
76991         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76993 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76995         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76996         <sys/uio.h> (for writev).
76997         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76998         and <sys/param.h> (for MIN).
77000 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77002         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
77003         REQUESTED_TIME.  Properly set the remaining time and return EINTR
77004         if interrupted.
77006 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77008         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
77009         Depend on against $(link-rpcuserlibs).
77011 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77013         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
77014         (__libc_stack_end): Do not use attribute_relro.
77015         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
77016         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
77017         to libthread-provided value.
77018         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
77019         attribute_relro.
77021 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77023         [BZ #3748]
77024         * bits/libc-lock.h (__libc_once_get): New macro.
77025         * sysdeps/mach/bits/libc-lock.h: Likewise.
77026         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
77027         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
77028         instead of using implementation details.
77030         * libio/fileops.c: Unconditionally include <kernel-features.h>.
77031         * libio/freopen.c: Likewise.
77032         * libio/freopen64.c: Likewise.
77033         * misc/syslog.c: Likewise.
77034         * nscd/connections.c: Likewise.
77035         * nscd/netgroupcache.c: Likewise.
77036         * sysdeps/posix/getcwd.c: Likewise.
77038 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77040         * math/w_ilogbf.c: Add #include <limits.h>.
77042 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77044         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
77045         path instead of returning without unlocking.
77047         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
77048         immediate-write ioctls.
77049         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
77051 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77053         * sysdeps/mach/hurd/i386/init-first.c (init): Use
77054         __builtin_frame_address instead of making assumptions about the
77055         location of the return address relative to DATA.  Force early load of
77056         the return address.
77057         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
77058         __builtin_frame_address.
77060         dup3 for GNU Hurd.
77061         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
77062         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
77063         implement dup3 and do some further code clean-ups.
77064         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
77065         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
77067 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77069         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
77071         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
77072         HURD_CRITICAL_END around holding _hurd_dtable_lock.
77073         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
77074         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
77075         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
77076         d->port.lock.
77078         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
77079         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
77080         when handler == SIG_ERR, not when handler != SIG_ERR.
77082 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77084         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
77085         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
77086         definitions.
77088         accept4 for GNU Hurd.
77089         * include/sys/socket.h (__libc_accept4): New prototype.
77090         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
77091         to implement __libc_accept4.
77092         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
77093         __libc_accept4.
77094         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
77096         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
77097         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
77098         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
77099         signal-defines.sym.
77101 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77103         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
77105 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77107         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
77108         assertion on O_CLOEXEC flag.
77109         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
77110         * hurd/intern-fd.c: Likewise.
77111         * hurd/port2fd.c: Likewise.
77113 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77115         [BZ #3906]
77116         * bits/in.h (IPV6_PKTINFO): Define new macro.
77117         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
77119 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77121         [BZ #13954]
77122         [BZ #13955]
77123         [BZ #13956]
77124         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
77125         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77126         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
77127         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77128         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77129         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77130         * math/libm-test.inc (logb_test) : Additional logb tests.
77132 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
77133             Andreas Jaeger  <aj@suse.de>
77135         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
77136         * configure: Regenerated.
77137         * config.h.in (LINK_OBSOLETE_RPC): New macro.
77138         * config.make.in (link-obsolete-rpc): New substituted variable.
77139         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
77140         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
77141         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77142         (shared-only-routines): Don't set it under [link-obsolete-rpc],
77143         so that libc.a contains the symbols.
77144         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77145         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
77146         * sunrpc/auth_none.c: Likewise.
77147         * sunrpc/auth_unix.c: Likewise.
77148         * sunrpc/authdes_prot.c: Likewise.
77149         * sunrpc/authuxprot.c: Likewise.
77150         * sunrpc/clnt_gen.c: Likewise.
77151         * sunrpc/clnt_perr.c: Likewise.
77152         * sunrpc/clnt_raw.c: Likewise.
77153         * sunrpc/clnt_simp.c: Likewise.
77154         * sunrpc/clnt_tcp.c: Likewise.
77155         * sunrpc/clnt_udp.c: Likewise.
77156         * sunrpc/clnt_unix.c: Likewise.
77157         * sunrpc/des_crypt.c: Likewise.
77158         * sunrpc/des_soft.c: Likewise.
77159         * sunrpc/get_myaddr.c: Likewise.
77160         * sunrpc/key_call.c: Likewise.
77161         * sunrpc/key_prot.c: Likewise.
77162         * sunrpc/netname.c: Likewise.
77163         * sunrpc/pm_getmaps.c: Likewise.
77164         * sunrpc/pm_getport.c: Likewise.
77165         * sunrpc/pmap_clnt.c: Likewise.
77166         * sunrpc/pmap_prot.c: Likewise.
77167         * sunrpc/pmap_prot2.c: Likewise.
77168         * sunrpc/pmap_rmt.c: Likewise.
77169         * sunrpc/publickey.c: Likewise.
77170         * sunrpc/rpc_cmsg.c: Likewise.
77171         * sunrpc/rpc_common.c: Likewise.
77172         * sunrpc/rpc_dtable.c: Likewise.
77173         * sunrpc/rpc_prot.c: Likewise.
77174         * sunrpc/rpc_thread.c: Likewise.
77175         * sunrpc/rtime.c: Likewise.
77176         * sunrpc/svc.c: Likewise.
77177         * sunrpc/svc_auth.c: Likewise.
77178         * sunrpc/svc_raw.c: Likewise.
77179         * sunrpc/svc_run.c: Likewise.
77180         * sunrpc/svc_tcp.c: Likewise.
77181         * sunrpc/svc_udp.c: Likewise.
77182         * sunrpc/svc_unix.c: Likewise.
77183         * sunrpc/svcauth_des.c: Likewise.
77184         * sunrpc/xcrypt.c: Likewise.
77185         * sunrpc/xdr.c: Likewise.
77186         * sunrpc/xdr_array.c: Likewise.
77187         * sunrpc/xdr_float.c: Likewise.
77188         * sunrpc/xdr_intXX_t.c: Likewise.
77189         * sunrpc/xdr_mem.c: Likewise.
77190         * sunrpc/xdr_rec.c: Likewise.
77191         * sunrpc/xdr_ref.c: Likewise.
77192         * sunrpc/xdr_sizeof.c: Likewise.
77193         * sunrpc/xdr_stdio.c: Likewise.
77195 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77197         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
77198         change.  Update copyright years.
77200 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77202         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
77204 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
77205             Joseph Myers  <joseph@codesourcery.com>
77206             Paul Pluzhnikov  <ppluzhnikov@google.com>
77208         [BZ #14012]
77209         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
77210         requiring rpcgen.
77211         [cross-compiling] (extra-libs): Likewise.
77212         [cross-compiling] (extra-libs-others): Likewise.
77213         [cross-compiling] (librpcsvc-routines): Likewise.
77214         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
77215         [cross-compiling] (omit-deps): Likewise.
77216         (sunrpc-CPPFLAGS): New variable.
77217         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
77218         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
77219         (cross-rpcgen-objs): New variable.
77220         (extra-objs): Append $(cross-rpcgen-objs).
77221         ($(cross-rpcgen-objs)): New rule.
77222         ($(objpfx)cross-rpcgen): Likewise.
77223         (rpcgen-cmd): Define to use $(built-program-file).  Expand
77224         comment.
77225         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
77226         ($(objpfx)x%.stmp): Likewise.
77227         * sunrpc/proto.h [IS_IN_build] (_): Define.
77228         [IS_IN_build] (_libc_intl_domainname): Likewise.
77230 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77232         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
77233         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
77234         and R_X86_64_TPOFF64.
77236 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77238         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
77239         sysdeps/unix/sysv/syscalls.list.
77240         (stime): Likewise.
77241         (utime): Likewise.
77242         * sysdeps/unix/sysv/syscalls.list: Remove file.
77244 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
77246         [BZ #3440]
77247         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
77248         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
77249         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
77250         (__LC_IDENTIFICATION): Make these macros useful in #if
77251         expressions, as required by C99.
77253 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
77255         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
77256         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
77257         after this.
77259 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
77261         * stdlib/longlong.h: Updated from GCC.
77263 2012-05-09  Andreas Jaeger  <aj@suse.de>
77265         * nscd/nscd.c (run_modes): Make named enum, reorder so that
77266         default is first entry.
77267         (run_mode): Set type.
77268         (main): Remove informal message about syslog.
77269         (options): Fix typo.
77271         [BZ #14053]
77272         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
77273         to asm.
77274         (lrint): Likewise.
77275         (llrintf): Likewise.
77276         (llrint): Likewise.
77277         (rint): Likewise.
77278         (rintf): Likewise.
77279         (nearbyint): Likewise.
77280         (nearbyintf): Likewise.
77282 2012-05-09  Andreas Jaeger  <aj@suse.de>
77283             Pedro Alves  <palves@redhat.com>
77285         * nscd/nscd.c (run_mode): Use enum.
77286         (main): Cleanup coding style issue.
77288 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
77289             Andreas Jaeger  <aj@suse.de>
77291         * nscd/nscd.c (go_background): Replaced with...
77292         (run_mode): ... this.
77293         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
77294         (options): Add -F --foreground.
77295         (main): Implement it.
77296         (parse_opt): Parse it.
77298 2012-05-09  Andreas Jaeger  <aj@suse.de>
77300         [BZ #14083]
77301         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77302         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77303         -Wconversion warning.
77304         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77305         Likewise.
77307 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77309         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77310         == 0.
77311         (LC_ALL): Use macro-int-constant.
77312         (LC_COLLATE): Likewise.
77313         (LC_CTYPE): Likewise.
77314         (LC_MESSAGES): Likewise.
77315         (LC_MONETARY): Likewise.
77316         (LC_NUMERIC): Likewise.
77317         (LC_TIME): Likewise.
77318         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77319         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77321         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77322         Specify type.
77323         [C99-based standards] (float_t): Expect type.
77324         [C99-based standards] (double_t): Expect type.
77325         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77326         type.
77327         [C99-based standards] (HUGE_VALL): Likewise.
77328         [C99-based standards] (INFINITY): Likewise.
77329         [C99-based standards] (NAN): Likewise.
77330         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77331         [C99-based standards] (FP_NAN): Likewise.
77332         [C99-based standards] (FP_NORMAL): Likewise.
77333         [C99-based standards] (FP_SUBNORMAL): Likewise.
77334         [C99-based standards] (FP_ZERO): Likewise.
77335         [C99-based standards] (FP_FAST_FMA): Use
77336         optional-macro-int-constant.  Specify type.  Require == 1.
77337         [C99-based standards] (FP_FAST_FMAF): Likewise.
77338         [C99-based standards] (FP_FAST_FMAL): Likewise.
77339         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77340         [C99-based standards] (FP_ILOGBNAN): Likewise.
77341         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77342         Specify type.
77343         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77344         [C99-based standards] (math_errhandling): Specify type.
77345         [ISO99 || ISO11] (signgam): Do not allow.
77346         [non-C99-based standards] (copysignf): Do not allow.
77347         [non-C99-based standards] (exp2f): Likewise.
77348         [non-C99-based standards] (log2f): Likewise.
77349         [non-C99-based standards] (modff): Allow.
77350         [non-C99-based standards] (erff): Do not allow.
77351         [non-C99-based standards] (erfcf): Likewise.
77352         [non-C99-based standards] (gammaf): Likewise.
77353         [non-C99-based standards] (hypotf): Likewise.
77354         [non-C99-based standards] (j0f): Likewise.
77355         [non-C99-based standards] (j1f): Likewise.
77356         [non-C99-based standards] (jnf): Likewise.
77357         [non-C99-based standards] (lgammaf): Likewise.
77358         [non-C99-based standards] (tgammaf): Likewise.
77359         [non-C99-based standards] (y0f): Likewise.
77360         [non-C99-based standards] (y1f): Likewise.
77361         [non-C99-based standards] (ynf): Likewise.
77362         [non-C99-based standards] (isnanf): Likewise.
77363         [non-C99-based standards] (acoshf): Likewise.
77364         [non-C99-based standards] (asinhf): Likewise.
77365         [non-C99-based standards] (atanhf): Likewise.
77366         [non-C99-based standards] (cbrtf): Likewise.
77367         [non-C99-based standards] (expm1f): Likewise.
77368         [non-C99-based standards] (ilogbf): Likewise.
77369         [non-C99-based standards] (log1pf): Likewise.
77370         [non-C99-based standards] (logbf): Likewise.
77371         [non-C99-based standards] (nextafterf): Likewise.
77372         [non-C99-based standards] (remainderf): Likewise.
77373         [non-C99-based standards] (rintf): Likewise.
77374         [non-C99-based standards] (scalbf): Likewise.
77375         [non-C99-based standards] (copysignl): Likewise.
77376         [non-C99-based standards] (exp2l): Likewise.
77377         [non-C99-based standards] (log2l): Likewise.
77378         [non-C99-based standards] (modfl): Allow.
77379         [non-C99-based standards] (erfl): Do not allow.
77380         [non-C99-based standards] (erfcl): Likewise.
77381         [non-C99-based standards] (gammal): Likewise.
77382         [non-C99-based standards] (hypotl): Likewise.
77383         [non-C99-based standards] (j0l): Likewise.
77384         [non-C99-based standards] (j1l): Likewise.
77385         [non-C99-based standards] (jnl): Likewise.
77386         [non-C99-based standards] (lgammal): Likewise.
77387         [non-C99-based standards] (tgammal): Likewise.
77388         [non-C99-based standards] (y0l): Likewise.
77389         [non-C99-based standards] (y1l): Likewise.
77390         [non-C99-based standards] (ynl): Likewise.
77391         [non-C99-based standards] (isnanl): Likewise.
77392         [non-C99-based standards] (acoshl): Likewise.
77393         [non-C99-based standards] (asinhl): Likewise.
77394         [non-C99-based standards] (atanhl): Likewise.
77395         [non-C99-based standards] (cbrtl): Likewise.
77396         [non-C99-based standards] (expm1l): Likewise.
77397         [non-C99-based standards] (ilogbl): Likewise.
77398         [non-C99-based standards] (log1pl): Likewise.
77399         [non-C99-based standards] (logbl): Likewise.
77400         [non-C99-based standards] (nextafterl): Likewise.
77401         [non-C99-based standards] (remainderl): Likewise.
77402         [non-C99-based standards] (rintl): Likewise.
77403         [non-C99-based standards] (scalbl): Likewise.
77404         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77405         [non-C99-based standards] (FP_*): Do not allow.
77406         [C99-based standards] (FP_*): Change to
77407         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77408         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77409         allow.
77410         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77411         (SIG_ERR): Likewise.
77412         [X/Open-based standards] (SIG_HOLD): Likewise.
77413         (SIG_IGN): Likewise.
77414         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77415         positive value.
77416         (SIGFPE): Likewise.
77417         (SIGILL): Likewise.
77418         (SIGINT): Likewise.
77419         (SIGSEGV): Likewise.
77420         (SIGTER): Likewise.
77421         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77422         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77423         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77424         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77425         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77426         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77427         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77428         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77429         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77430         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77431         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77432         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77433         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77434         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77435         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77436         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77437         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77438         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77439         [X/Open-based standards] (SIGTRAP): Likewise.
77440         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77441         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77442         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77443         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77444         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77445         allow.
77447 2012-05-08  Ian Wienand  <ianw@vmware.com>
77449         [BZ #14080]
77450         * time/tzset.c (__tzset_parse_tz): Update default rules for
77451         daylight time changes in the Energy Policy Act of 2005.
77453 2012-05-09  Andreas Jaeger  <aj@suse.de>
77455         [BZ #13983]
77456         * elf/ldconfig.c (parse_conf): Change string to make clear that
77457         ldconfig only issued a warning if ld.so.conf does not exist.
77459 2012-05-08  David S. Miller  <davem@davemloft.net>
77461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77462         movxtod instead of popping the value on the stack.
77464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77466 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77468         * config.h.in: Add HAVE_ARM_PCS_VFP.
77470 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77472         [BZ #13979]
77473         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77474         checking but the checks are disabled for any reason.
77476 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77478         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77479         and ELF64_R_TYPE with ELFW(R_TYPE).
77481 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77483         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77484         (ulimit): Likewise.
77486         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77487         (settimeofday): Likewise.
77489 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77491         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77492         a struct th_u2 inside the union, and move tu_block/tu_code into
77493         a new th_u3 union of tu_block/tu_code inside of that.  Move
77494         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77495         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77496         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77497         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77498         (th_stuff): Change to th_u1.tu_stuff.
77499         (th_data): Define.
77500         (th_msg): Change to th_u1.th_u2.tu_data.
77502 2012-05-07  David S. Miller  <davem@davemloft.net>
77504         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77506         [BZ #14074]
77507         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77508         (SETUP_PIC_REG): Use it.
77509         (SETUP_PIC_REG_LEAF): Use it.
77511 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77513         [BZ #13885]
77514         [BZ #13923]
77515         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77516         USE_AS_EXPM1L.
77517         (EXPL_FINITE): Likewise.
77518         (FLDLOG): Likewise.
77519         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77520         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77521         e_expl.S.
77522         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77523         USE_AS_EXPM1L.
77524         (EXPL_FINITE): Likewise.
77525         (FLDLOG): Likewise.
77526         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77527         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77528         e_expl.S.
77529         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77530         test of -max_value argument for long double.
77531         * sysdeps/i386/fpu/libm-test-ulps: Update.
77532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77534 2012-05-06  David S. Miller  <davem@davemloft.net>
77536         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77537         quad soft-float symbols whose references which are compiler
77538         generated.
77539         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77541 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77543         [BZ #13884]
77544         [BZ #13914]
77545         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77546         USE_AS_EXP10L.
77547         (EXPL_FINITE): Likewise.
77548         (FLDLOG): Likewise.
77549         (c0): Likewise.
77550         (c1): Likewise.
77551         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77552         Adjust comments for base varying.
77553         (__expl_finite): Change alias to EXPL_FINITE.
77554         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77555         e_expl.S.
77556         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77557         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77558         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77559         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77560         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77561         USE_AS_EXP10L.
77562         (EXPL_FINITE): Likewise.
77563         (FLDLOG): Likewise.
77564         (c0): Likewise.
77565         (c1): Likewise.
77566         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77567         Adjust comments for base varying.
77568         (__expl_finite): Change alias to EXPL_FINITE.
77569         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77570         tests for bugs.
77571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77573         [BZ #14064]
77574         * math/libm-test.inc (check_float_internal): Correct ulp
77575         calculation for subnormal expected results.
77577 2012-05-06  Andreas Jaeger  <aj@suse.de>
77579         * Makeconfig (+math-flags): New, set to -frounding-math.
77580         (+cflags): Add +math-flags so that all of glibc gets compiled with
77581         it.
77583         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77585 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77587         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77588         Disable one test.
77590         [BZ #13787]
77591         [BZ #13922]
77592         [BZ #14036]
77593         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77594         (__ieee754_expl): Allow for and saturate large arguments.
77595         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77596         (u_threshold): Likewise.
77597         (__exp): Call __ieee754_exp before checking for overflow and
77598         underflow.
77599         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77600         (u_threshold): Likewise.
77601         (__expf): Call __ieee754_expf before checking for overflow and
77602         underflow.
77603         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77604         (u_threshold): Likewise.
77605         (__expl): Call __ieee754_expl before checking for overflow and
77606         underflow.
77607         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77608         (__ieee754_expl): Allow for and saturate large arguments.
77609         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77610         missing overflow exception on overflow.
77611         (expm1_test): Do not allow missing overflow exception on overflow.
77613         * sysdeps/i386/fpu/e_expl.c: Move to ...
77614         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77615         rather than using inline asm.
77616         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77617         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77618         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77620         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77621         (nice): Likewise.
77622         (poll): Likewise.
77623         (signal): Likewise.
77624         (time): Likewise.
77625         (times): Likewise.
77627 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77629         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77630         sysdeps/unix/common/syscalls.list.
77631         (fchmod): Likewise.
77632         (fchown): Likewise.
77633         (ftruncate): Likewise.
77634         (getrusage): Likewise.
77635         (gettimeofday): Likewise.
77636         (setpgid): Likewise.
77637         (setregid): Likewise.
77638         (setreuid): Likewise.
77639         (sigaction): Likewise.
77640         (truncate): Likewise.
77641         (vhangup): Likewise.
77642         * sysdeps/unix/common/syscalls.list: Remove file.
77643         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77644         * sysdeps/unix/sysv/linux/Implies: Likewise.
77646 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77648         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77650         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77651         Moved to ...
77652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77653         Here.
77654         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77655         to ...
77656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77657         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77658         to ...
77659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77660         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77661         to ...
77662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77663         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77664         to ...
77665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77666         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77667         to ...
77668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77669         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77670         to ...
77671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77672         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77673         to ...
77674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77675         Here.
77676         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77677         to ...
77678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77679         Here.
77680         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77681         to ...
77682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77683         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77684         Moved to ...
77685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77686         Here.
77687         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77688         to ...
77689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77691 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77693         * sysdeps/unix/common/bits/dirent.h: Remove file.
77694         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77696         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77697         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77698         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77699         * sysdeps/unix/bsd/isatty.c: Likewise.
77700         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77701         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77702         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77704 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77706         [BZ #13563]
77707         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77708         long double comparison inaccuracies.
77709         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77712 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77714         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77715         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77717 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77719         [BZ #14049]
77720         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77721         nonzero digits before rounding a hex value.
77722         * stdlib/tst-strtod.c (tests): Add another test.
77724 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77726         * sysdeps/s390/fpu/libm-test-ulps: Update.
77728 2012-05-03  Andreas Jaeger  <aj@suse.de>
77730         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77731         does not get optimized out.
77732         (malloc_opt_barrier): New.
77734 2012-05-03  Andreas Jaeger  <aj@suse.de>
77735             Roland McGrath  <roland@hack.frob.com>
77737         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77738         intermediate file deletion.
77739         (generated): Add .symlist files.
77741 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77743         [BZ #13775]
77744         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77745         Redirect under this condition.
77746         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77747         [__USE_GNU] (__dprintf_chk): Not under this condition.
77748         [__USE_GNU] (__vdprintf_chk): Likewise.
77749         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77750         under this condition.
77751         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77752         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77753         [__USE_XOPEN2K8] (vdprintf): Likewise.
77754         [__USE_GNU] (__dprintf_chk): Not under this condition.
77755         [__USE_GNU] (__vdprintf_chk): Likewise.
77756         [__USE_GNU] (dprintf): Likewise.
77757         [__USE_GNU] (vdprintf): Likewise.
77759 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77761         * elf/Makefile (common-generated): Set this instead of generated for
77762         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77763         $(all-built-dso)-derived lists.
77765 2012-05-03  Andreas Jaeger  <aj@suse.de>
77767         * sysdeps/i386/fpu/libm-test-ulps: Update.
77769         * FAQ: Removed.
77770         * FAQ.in: Likewise.
77771         * scripts/gen-FAQ.pl: Likewise.
77772         * manual/install.texi (Installation): Point to online location of
77773         FAQ.
77774         * Makefile (files-for-dist): Remove FAQ.
77775         (FAQ): Remove.
77777 2012-05-02  Allan McRae  <allan@archlinux.org>
77779         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77780         (LDFLAGS-reldepmod5.so): Likewise.
77781         (LDFLAGS-reldep6mod1.so): Likewise.
77782         (LDFLAGS-reldep6mod4.so): Likewise.
77783         (LDFLAGS-reldep8mod3.so): Likewise.
77784         (LDFLAGS-unload4mod1.so): Likewise.
77785         (LDFLAGS-unload4mod2.so): Likewise.
77786         (LDFLAGS-tst-initorder): Likewise.
77787         (LDFLAGS-tst-initordera2.so): Likewise.
77788         (LDFLAGS-tst-initordera3.so): Likewise.
77789         (LDFLAGS-tst-initordera4.so): Likewise.
77790         (LDFLAGS-tst-initorderb2.so): Likewise.
77791         (LDFLAGS-noload): Likewise.
77792         (LDFLAGS-next): Likewise.
77793         (LDFLAGS-order2mod1.so): Likewise.
77794         (LDFLAGS-order2mod2.so): Likewise.
77795         (LDFLAGS-tst-initorder2): Likewise.
77796         (LDFLAGS-tst-initorder2a.so): Likewise.
77797         (LDFLAGS-tst-initorder2b.so): Likewise.
77798         (LDFLAGS-tst-initorder2c.so): Likewise.
77799         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77801 2012-05-02  David S. Miller  <davem@davemloft.net>
77803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77805 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77807         [BZ #14055]
77808         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77810 2012-05-02  Andreas Jaeger  <aj@suse.de>
77812         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77813         since we manipulate rounding mode.
77814         (CPPFLAGS-test-idouble.c): Likewise.
77815         (CPPFLAGS-test-ifloat.c): Likewise.
77816         (CFLAGS-test-ldouble.c): Likewise.
77817         (CFLAGS-test-double.c): Likewise.
77818         (CFLAGS-test-float.c): Likewise.
77819         (CFLAGS-test-misc.c): Likewise.
77820         (CFLAGS-test-test-fenv.c): Likewise.
77822 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77824         [BZ #2550]
77825         [BZ #2570]
77826         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77827         comparisons to determine direction to adjust input.
77829 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77831         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77832         output to the target.
77834         * scripts/localplt.awk: New file.
77835         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77836         (check-localplt-CFLAGS): Variable removed.
77837         ($(all-built-dso:=.jmprel)): New static pattern rule.
77838         (generated): Add those targets.
77839         (localplt-built-dso): New variable.
77840         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77842         * elf/check-localplt.c: File removed.
77844         * scripts/check-execstack.awk: New file.
77845         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77846         (check-execstack-CFLAGS): Variable removed.
77847         ($(objpfx)check-execstack.h): Target removed.
77848         ($(objpfx)execstack-default): New target.
77849         (generated): Add that instead of check-execstack.h.
77850         ($(all-built-dso:=.phdr)): New static pattern rule.
77851         (generated): Add those targets.
77852         * elf/check-execstack.c: File removed.
77854         * scripts/check-textrel.awk: New file.
77855         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77856         (check-textrel-CFLAGS): Variable removed.
77857         (all-built-dso): Use := to define.o
77858         ($(all-built-dso:=.dyn)): New static pattern rule.
77859         (generated): Add those targets.
77860         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77861         * config.make.in (READELF): New substituted variable.
77862         * elf/check-textrel.c: File removed.
77864 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77866         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77867         allow.
77868         * conform/data/ctype.h-data [C99-based standards] (isblank):
77869         Expect function.
77870         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77871         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77872         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77873         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77874         Specify type.  Require positive value.
77875         (EILSEQ): Likewise.
77876         (ERANGE): Likewise.
77877         [ISO || POSIX] (EILSEQ): Do not expect.
77878         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77879         Specify type.  Require positive value.
77880         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77881         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77882         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77883         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77884         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77885         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77886         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77887         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77888         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77889         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77890         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77891         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77892         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77893         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77894         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77895         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77896         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77897         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77898         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77899         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77900         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77901         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77902         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77903         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77904         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77905         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77906         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77907         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77908         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77909         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77910         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77911         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77912         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77913         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77914         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77915         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77916         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77917         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77918         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77919         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77920         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77921         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77922         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77923         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77924         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77925         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77926         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77927         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77928         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77929         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77930         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77931         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77932         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77933         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77934         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77935         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77936         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77937         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77938         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77939         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77940         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77941         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77942         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77943         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77944         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77945         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77946         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77947         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77948         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77949         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77950         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77951         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77952         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77953         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77954         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77955         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77956         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77957         Require >= 2.
77958         (FLT_ROUNDS): Expect as macro, not constant.
77959         (FLT_MANT_DIG): Use macro-int-constant.
77960         (DBL_MANT_DIG): Likewise.
77961         (LDBL_MANT_DIG): Likewise.
77962         (FLT_DIG): Likewise.
77963         (DBL_DIG): Likewise.
77964         (LDBL_DIG): Likewise.
77965         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77966         (DBL_MIN_EXP): Likewise.
77967         (LDBL_MIN_EXP): Likewise.
77968         (FLT_MAX_EXP): Use macro-int-constant.
77969         (DBL_MAX_EXP): Likewise.
77970         (LDBL_MAX_EXP): Likewise.
77971         (FLT_MAX_10_EXP): Likewise.
77972         (DBL_MAX_10_EXP): Likewise.
77973         (LDBL_MAX_10_EXP): Likewise.
77974         (FLT_MAX): Use macro-constant.
77975         (DBL_MAX): Likewise.
77976         (LDBL_MAX): Likewise.
77977         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77978         (DBL_EPSILON): Likewise.
77979         (LDBL_EPSILON): Likewise.
77980         (FLT_MIN): Likewise.
77981         (DBL_MIN): Likewise.
77982         (LDBL_MIN): Likewise.
77983         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77984         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77985         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77986         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77987         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77988         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77989         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77990         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77991         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77992         [ISO11] (FLT_TRUE_MIN): Likewise.
77993         [ISO11] (LDBL_TRUE_MIN): Likewise.
77994         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77995         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77996         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77997         (SCHAR_MAX): Likewise.
77998         (UCHAR_MAX): Likewise.
77999         (CHAR_MIN): Likewise.
78000         (CHAR_MAX): Likewise.
78001         (MB_LEN_MAX): Use macro-int-constant.
78002         (SHRT_MIN): Use macro-int-constant.  Specify type.
78003         (SHRT_MAX): Likewise.
78004         (USHRT_MAX): Likewise.
78005         (INT_MAX): Likewise.
78006         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
78007         bound negative.
78008         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78009         bound with "U".
78010         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78011         bound with "L".
78012         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
78013         bound negative.  Suffix upper bound with "L".
78014         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78015         bound with "UL".
78016         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
78017         Specify type.
78018         [C99-based standards] (LLONG_MAX): Likewise.
78019         [C99-based standards] (ULLONG_MAX): Likewise.
78020         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
78021         == 0.
78022         [ISO11] (max_align_t): Require type.
78023         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78025         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
78026         from $CFLAGS, without defining away __attribute__ calls.
78027         (checknamespace): Use $CFLAGS_namespace.
78029         * conform/conformtest.pl (@keywords): Only include C99 keywords
78030         for standards based on C99 or C11.
78032         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
78033         Disable tests.
78034         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
78035         UNIX98]: Likewise.
78037         * conform/conformtest.pl: Handle "macro-int-constant" and test for
78038         usability of symbols in #if.
78040         * conform/conformtest.pl: If macro or constant types start
78041         "promoted:", expect the symbol to be of the following type
78042         promoted by the integer promotions.
78044         * conform/conformtest.pl: Parse all "constant" and "macro" lines
78045         in one place.  Also handle "macro-constant".
78047         * conform/conformtest.pl: Only accept expected macro values with
78048         "==".  Parse all "macro" lines in one place.
78049         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
78051         * conform/conformtest.pl: Handle braced types on "constant" lines
78052         instead of handling "typed-constant".
78053         * conform/data/signal.h-data: Use "constant" instead of
78054         "typed-constant".
78056         * conform/conformtest.pl: Handle "optional-" at start of lines in
78057         one place rather than duplicating several cases.  Handle each
78058         format of "macro" line with initial "optional-".
78060         * conform/conformtest.pl: Only accept expected constant or
78061         optional-constant values with "==".  Parse all "constant" lines in
78062         one place.  Parse all "optional-constant" lines in one place.
78063         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
78064         * conform/data/fmtmsg.h-data: Likewise.
78065         * conform/data/netinet/in.h-data: Likewise.
78066         * conform/data/tar.h-data: Likewise.
78067         * conform/data/limits.h-data: Use "==" form on "constant" and
78068         "optional-constant" lines.
78070         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
78071         Use -std=c99 for XOPEN2K.
78072         (@knownproblems): Remove.
78073         (newtoken): Don't check %isknown.
78075         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
78076         Do not expect macro.
78077         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
78078         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
78079         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
78080         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
78081         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
78082         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
78083         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
78084         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
78085         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
78086         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
78087         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
78088         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
78089         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
78090         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
78091         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
78092         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
78093         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
78094         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
78095         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
78096         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
78097         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
78098         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
78099         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
78100         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
78101         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
78102         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
78103         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
78104         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
78105         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
78106         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
78107         [XPG3] (acosh): Likewise.
78108         [XPG3] (asinh): Likewise.
78109         [XPG3] (atanh): Likewise.
78110         [XPG3] (cbrt): Likewise.
78111         [XPG3] (expm1): Likewise.
78112         [XPG3] (ilogb): Likewise.
78113         [XPG3] (log1p): Likewise.
78114         [XPG3] (logb): Likewise.
78115         [XPG3] (nextafter): Likewise.
78116         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
78117         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
78118         [XPG3] (remainder): Likewise.
78119         [XPG3] (rint): Likewise.
78120         [XPG3 || XPG4 || UNIX98] (round): Likewise.
78121         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
78122         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
78123         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
78124         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
78125         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
78126         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
78127         [UNIX98 || XOPEN2K] (scalb): Expect.
78128         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
78129         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
78130         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
78131         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
78132         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
78133         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
78134         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
78135         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
78136         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
78137         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
78138         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
78139         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
78140         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
78141         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
78142         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
78143         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
78144         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
78145         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
78146         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
78147         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
78148         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
78149         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
78150         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
78151         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
78152         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
78153         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
78154         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
78155         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
78156         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
78157         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
78158         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
78159         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
78160         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
78161         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
78162         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
78163         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
78164         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
78165         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
78166         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
78167         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
78168         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
78169         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
78170         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
78171         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
78172         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
78173         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
78174         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
78175         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
78176         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
78177         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
78178         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
78179         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
78180         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
78181         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
78182         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
78183         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
78184         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
78185         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
78186         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
78187         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
78188         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
78189         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
78190         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
78191         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
78192         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
78193         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
78194         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
78195         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
78196         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
78197         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
78198         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
78199         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
78200         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
78201         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
78202         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
78203         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
78204         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
78205         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
78206         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
78207         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
78208         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
78209         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
78210         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
78211         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
78212         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
78213         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
78214         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
78215         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
78216         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
78217         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
78218         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
78219         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
78220         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
78221         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
78222         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
78223         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
78224         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
78225         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
78226         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
78227         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
78228         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
78229         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
78230         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
78231         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
78232         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
78233         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
78234         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
78235         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
78236         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
78237         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
78238         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
78239         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
78240         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
78241         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
78242         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
78243         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
78244         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
78245         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
78246         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
78247         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
78248         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
78249         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
78250         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
78251         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
78252         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
78253         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
78254         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
78255         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
78256         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
78257         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
78258         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
78259         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
78260         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
78261         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
78262         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
78263         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
78264         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
78266         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
78267         _XOPEN_SOURCE_EXTENDED for XPG4.
78269         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
78271         * Makeconfig (localtime): Remove variable.
78272         (inst_localtime-file): Likewise.
78274 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
78277         Update.
78278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78279         Update.
78280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
78281         Update.
78282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
78283         Update.
78284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
78285         Update.
78286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
78287         Update.
78288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78289         Update.
78290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
78291         Update.
78292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78293         Update.
78295 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78297         [BZ #2550]
78298         [BZ #2570]
78299         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78300         comparisons to determine direction to adjust input.
78301         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78302         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78303         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78304         Likewise.
78305         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78306         Likewise.
78307         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78308         Likewise.
78309         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78310         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78311         Likewise.
78312         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78313         Likewise.
78314         * math/libm-test.inc (nexttoward_test): Add more tests.
78316 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78318         [BZ #14040]
78319         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78320         in version GLIBC_2.1, not GLIBC_2.0.
78321         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78322         Likewise.
78324 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78326         [BZ #13942]
78327         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78328         (1 - x) * (1 + x).
78329         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78330         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78331         * math/libm-test.inc (acos_test): Add more tests.
78332         (asin_test): Likewise.
78333         * sysdeps/i386/fpu/libm-test-ulps: Update.
78334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78336         [BZ #14034]
78337         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78338         of square root.
78339         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78340         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78341         * math/libm-test.inc (acos_test_tonearest): New function.
78342         (acos_test_towardzero): Likewise.
78343         (acos_test_downward): Likewise.
78344         (acos_test_upward): Likewise.
78345         (asin_test_tonearest): Likewise.
78346         (asin_test_towardzero): Likewise.
78347         (asin_test_downward): Likewise.
78348         (asin_test_upward): Likewise.
78349         (main): Call the new functions.
78350         * sysdeps/i386/fpu/libm-test-ulps: Update.
78351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78353         [BZ #13884]
78354         [BZ #13924]
78355         * math/e_exp10.c: Include <float.h>.
78356         (__ieee754_exp10): Handle underflow here rather than multiplying
78357         large negative argument by M_LN10.
78358         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78359         of __ieee754_expf.
78360         * math/e_exp10l.c: Include <float.h>.
78361         (__ieee754_exp10l): Handle underflow here rather than multiplying
78362         large negative argument by M_LN10l.
78363         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78364         spurious overflow exception on underflow.
78366 2012-04-29  Marek Polacek  <polacek@redhat.com>
78368         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78369         (__fortify_function): New macro.
78370         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78371         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78372         __extern_always_inline.
78373         * libio/bits/stdio2.h: Likewise.
78374         * libio/bits/stdio.h: Likewise.
78375         * string/string.h: Likewise.
78376         * string/bits/string3.h: Likewise.
78377         * include/stdio.h: Likewise.
78378         * stdlib/bits/stdlib.h: Likewise.
78379         * stdlib/stdlib.h: Likewise.
78380         * rt/bits/mqueue2.h: Likewise.
78381         * rt/mqueue.h: Likewise.
78382         * posix/bits/unistd.h: Likewise.
78383         * posix/unistd.h: Likewise.
78384         * io/bits/poll2.h: Likewise.
78385         * io/bits/fcntl2.h: Likewise.
78386         * io/fcntl.h: Likewise.
78387         * io/sys/poll.h: Likewise.
78388         * misc/bits/syslog.h: Likewise.
78389         * misc/bits/syslog-ldbl.h: Likewise.
78390         * misc/sys/syslog.h: Likewise.
78391         * socket/bits/socket2.h: Likewise.
78392         * socket/sys/socket.h: Likewise.
78393         * debug/tst-chk1.c: Likewise.
78394         * wcsmbs/bits/wchar2.h: Likewise.
78395         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78396         * wcsmbs/wchar.h: Likewise.
78398 2012-04-29  Andreas Jaeger  <aj@suse.de>
78400         * Makerules (tests): Remove enable-check-abi protection.
78401         (check-abi-warn): Remove.
78402         (check-abi-%): Remove check-abi-warn usage.
78404         * configure.in: Remove check-abi configure option.
78405         * configure: Regenerated.
78406         * config.make.in (enable-check-abi): Remove.
78408 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78410         [BZ #14033]
78411         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78412         double functions to double *_finite functions.
78414         [BZ #13941]
78415         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78416         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78417         LDBL_MIN_EXP.
78418         * stdio-common/Makefile (tests): Add tst-sprintf3.
78419         * stdio-common/tst-sprintf3.c: New file.
78421         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78422         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78424 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78426         * conform/conformtest.pl: Remove duplicate typed-constant
78427         handling.
78429 2012-04-28  David S. Miller  <davem@davemloft.net>
78431         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78432         (check-abi-%): Remove AWK script prerequisite and explicit
78433         abilist directory.
78434         (check-abi): Rewrite to just diff the symlist with the abilist.
78435         (config-tls, config-abi-config): Delete, no longer used.
78436         (update-abi-%): Remove AWK script and explicit abilist directory.
78437         (update-abi): Rewrite to simply compare and conditionally copy the
78438         symlist and the sysdep abilist file.  Remove update-abi-config
78439         checks.
78440         * abilist/ld.abilist: Remove.
78441         * abilist/libBrokenLocale.abilist: Remove.
78442         * abilist/libanl.abilist: Remove.
78443         * abilist/libcrypt.abilist: Remove.
78444         * abilist/libdl.abilist: Remove.
78445         * abilist/librt.abilist: Remove.
78446         * abilist/libthread_db.abilist: Remove.
78447         * abilist/libutil.abilist: Remove.
78448         * scripts/extract-abilist.awk: Remove.
78449         * scripts/merge-abilist.awk: Remove.
78450         * sysdeps/generic/libcidn.abilist: New file.
78451         * sysdeps/generic/libnss_compat.abilist: New file.
78452         * sysdeps/generic/libnss_db.abilist: New file.
78453         * sysdeps/generic/libnss_dns.abilist: New file.
78454         * sysdeps/generic/libnss_files.abilist: New file.
78455         * sysdeps/generic/libnss_hesiod.abilist: New file.
78456         * sysdeps/generic/libnss_nis.abilist: New file.
78457         * sysdeps/generic/libnss_nisplus.abilist: New file.
78458         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78459         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78460         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78461         file.
78462         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78463         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78464         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78465         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78466         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78467         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78468         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78469         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78470         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78471         file.
78472         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78473         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78474         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78475         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78476         file.
78477         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78478         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78479         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78480         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78481         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78482         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78483         file.
78484         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78485         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78486         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78487         file.
78488         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78490         New file.
78491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78492         New file.
78493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78494         New file.
78495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78496         New file.
78497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78498         New file.
78499         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78500         New file.
78501         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78502         New file.
78503         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78504         New file.
78505         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78506         New file.
78507         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78508         New file.
78509         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78510         New file.
78511         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78512         New file.
78513         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78514         New file.
78515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78516         file.
78517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78518         New file.
78519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78520         New file.
78521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78522         file.
78523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78524         New file.
78525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78526         New file.
78527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78528         file.
78529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78530         New file.
78531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78532         New file.
78533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78534         New file.
78535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78536         New file.
78537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78538         New file.
78539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78540         New file.
78541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78543         file.
78544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78545         New file.
78546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78547         file.
78548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78549         file.
78550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78551         file.
78552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78553         file.
78554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78555         file.
78556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78557         New file.
78558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78559         file.
78560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78561         file.
78562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78563         New file.
78564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78565         file.
78566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78568         file.
78569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78570         New file.
78571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78572         file.
78573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78574         file.
78575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78576         file.
78577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78578         file.
78579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78580         file.
78581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78582         New file.
78583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78584         file.
78585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78586         file.
78587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78588         New file.
78589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78590         file.
78591         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78592         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78593         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78594         file.
78595         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78596         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78597         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78598         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78599         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78600         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78601         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78602         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78603         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78604         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78607         file.
78608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78609         New file.
78610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78611         file.
78612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78613         file.
78614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78615         file.
78616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78617         file.
78618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78619         file.
78620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78621         New file.
78622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78623         New file.
78624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78625         file.
78626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78627         New file.
78628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78629         file.
78630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78632         file.
78633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78634         New file.
78635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78636         file.
78637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78638         file.
78639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78640         file.
78641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78642         file.
78643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78644         file.
78645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78646         New file.
78647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78648         New file.
78649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78650         file.
78651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78652         New file.
78653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78654         file.
78656 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78658         * conform/conformtest.pl: Fix typo in handling typed-constant from
78659         allow-header.
78661 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78663         * README: Cut down references to pre-2.6 Linux kernels and
78664         Linuxthreads.  Update lists of configurations in libc and ports
78665         and sort alphabetically.  Say "or newer" with Linux kernel version
78666         requirements.
78668         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78670 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78672         [BZ #887]
78673         * math/libm-test.inc (logb_test_downward): New test to expose
78674         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78675         rounding mode.
78677 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78679         [BZ #14027]
78680         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78681         to be done.
78682         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78683         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78685 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78687         * sysdeps/unix/i386/brk.S: Remove file.
78688         * sysdeps/unix/i386/dl-brk.S: Likewise.
78689         * sysdeps/unix/i386/pipe.S: Likewise.
78690         * sysdeps/unix/i386/sigreturn.S: Likewise.
78691         * sysdeps/unix/i386/syscall.S: Likewise.
78692         * sysdeps/unix/i386/vfork.S: Likewise.
78693         * sysdeps/unix/i386/wait.S: Likewise.
78695         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78696         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78698         * configure.in (arm*-none*): Do not allow without
78699         --enable-hacker-mode.
78700         (netbsd*): Remove case setting base_os.
78701         (386bsd*): Likewise.
78702         (freebsd*): Likewise.
78703         (bsdi*): Likewise.
78704         (osf*): Likewise.
78705         (sunos*): Likewise.
78706         (ultrix*): Likewise.
78707         (newsos*): Likewise.
78708         (dynix*): Likewise.
78709         (*bsd*): Likewise.
78710         (sysv*): Likewise.
78711         (isc*): Likewise.
78712         (esix*): Likewise.
78713         (sco*): Likewise.
78714         (minix*): Likewise.
78715         (irix4*): Likewise.
78716         (irix6*): Likewise.
78717         (solaris[2-9]*): Likewise.
78718         (none): Likewise.
78719         * configure: Regenerated.
78721 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78723         [BZ #11521]
78724         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78725         overflow or cancellation in calculating denominator.
78726         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78727         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78728         down expression to avoid unexpected rounding in newer GCCs.
78729         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78731 2012-04-26  David S. Miller  <davem@davemloft.net>
78733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78734         long-double compat symbols.
78735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78746         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78747         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78749 2012-04-25  David S. Miller  <davem@davemloft.net>
78751         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78752         HWCAP_* values only after the memory barriers have been defined.
78753         (atomic_full_barrier): Define.
78754         (atomic_read_barrier): Define.
78755         (atomic_write_barrier): Define.
78757 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78759         * shlib-versions: Add libgcc_s version information.
78760         * sysdeps/generic/libgcc_s.h: Remove.
78761         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78762         libgcc_s.h.
78763         * sysdeps/gnu/unwind-resume.c: Likewise.
78764         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78766 2012-04-25  David S. Miller  <davem@davemloft.net>
78768         * sysdeps/unix/sparc/brk.S: Delete.
78769         * sysdeps/unix/sparc/dl-brk.S: Delete.
78770         * sysdeps/unix/sparc/pipe.S: Delete.
78771         * sysdeps/unix/sparc/sysdep.S: Delete.
78772         * sysdeps/unix/sparc/sysdep.h: Delete.
78773         * sysdeps/unix/sparc/vfork.S: Delete.
78774         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78775         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78776         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78777         (ret_ERRVAL, r0, r1, MOVE): Define.
78778         (JUMPTARGET): Remove.
78779         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78780         sysdeps/unix/sparc/sysdep.h
78781         (ENTRY, END): Remove.
78782         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78784 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78786         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78787         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78788         -DIS_IN_build.
78790         * timezone/README: Update upstream location and email address for
78791         tzcode and tzdata.
78792         * timezone/zdump.c: Update from tzcode 2012b.
78793         * timezone/zic.c: Likewise.
78795         * configure.in (libc_cv_as_needed): Remove test.
78796         * configure: Regenerated.
78797         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78798         conditional definition.
78799         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78800         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78801         * config.make.in (have-as-needed): Remove variable.
78803 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78804             Paul Pluzhnikov  <ppluzhnikov@google.com>
78806         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78807         strings correctly.
78809 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78811         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78812         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78813         * sysdeps/sh/strlen.S: Likewise.
78815 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78817         * sysdeps/unix/fork.S: Remove file.
78818         * sysdeps/unix/i386/fork.S: Likewise.
78819         * sysdeps/unix/sparc/fork.S: Likewise.
78821         * sysdeps/unix/system.c: Remove file.
78822         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78824         * sysdeps/unix/getegid.S: Remove file.
78825         * sysdeps/unix/geteuid.S: Likewise.
78827 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78829         * scripts/check-localplt.awk: New file.
78830         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78831         of diff.
78832         * scripts/data/localplt-generic.data: Add a comment.
78834         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78835         NODE when __dir_mkfile failed.
78836         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78837         Reported by Ludovic Courtès <ludo@gnu.org>.
78839 2012-04-24  Andreas Jaeger  <aj@suse.de>
78841         * Makerules (common-clean): Also remove gen-as-const-headers
78842         files.
78844 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78846         * Makerules (native-compile): Do not change working directory for
78847         build.  Use $(OUTPUT_OPTION) in command.
78848         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78850 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78852         [BZ #13886]
78853         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78854         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78855         * math/libm-test.inc (floor_test): Add more tests.
78856         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78858 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78860         * sysdeps/unix/getdents.c: Remove file.
78861         * sysdeps/unix/sysv/getdents.c: Likewise.
78862         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78864         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78865         sysdeps/unix/mman/syscalls.list.
78866         (mmap): Likewise.
78867         (mprotect): Likewise.
78868         (msync): Likewise.
78869         (munmap): Likewise.
78870         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78871         * sysdeps/unix/mman/syscalls.list: Remove.
78872         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78874         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78875         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78876         * configure: Regenerated.
78877         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78878         $(libgcc_s_suffix).
78879         * config.make.in (libgcc_s_suffix): Remove variable.
78881 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78883         * sysdeps/unix/sysv/gethostname.c: Move to ...
78884         * sysdeps/posix/gethostname.c: ... here.
78886         * sysdeps/unix/execve.S: Remove file.
78888         * sysdeps/unix/_exit.S: Remove file.
78890 2012-04-23  Andreas Jaeger  <aj@suse.de>
78892         [BZ #13739]
78893         * manual/Makefile: Remove make dist support, there's no
78894         need for a stand-alone documentation tar ball.
78895         (TEXI2DVI): Define always, it's not in Makeconfig.
78896         (dist): Removed.
78897         (tar-it): Removed.
78898         (edition): Removed.
78899         (glibc-doc-$(edition).tar): Removed
78900         (%.Z): Removed.
78901         (%.gz): Removed.
78902         (%.uu): Removed.
78903         (ETAGS): Remove, it's in Makeconfig.
78904         (move-if-change): Remove, it's in Makeconfig.
78906 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78908         [BZ #13970]
78909         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78910         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78911         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78912         (strtod_l, strtof_l, strtold_l): Remove __wur.
78913         It is not necessarily an error to ignore strtol's return value.
78914         One can reliably look at the stored endptr to decide whether
78915         the number had valid syntax.
78917 2012-04-21  Andreas Jaeger  <aj@suse.de>
78919         [BZ #13739]
78920         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78922 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78924         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78925         * sysdeps/unix/sysv/Versions: Remove file.
78927 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78929         [BZ #13927]
78930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78932 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78934         [BZ #7064]
78935         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78936         version from __vm86.
78938 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78940         * sysdeps/unix/common/lxstat.c: Remove file.
78941         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78943         * sysdeps/unix/sysv/Makefile: Remove file.
78945         * sysdeps/unix/sysv/direct.h: Remove file.
78947         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78948         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78949         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78950         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78951         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78952         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78953         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78955         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78957         * sysdeps/unix/xmknod.c: Remove file.
78958         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78960         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78962         * sysdeps/unix/sysv/i386/time.S: Remove file.
78964         * sysdeps/unix/fxstat.c: Remove file.
78965         * sysdeps/unix/xstat.c: Likewise.
78966         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78968         * sysdeps/unix/sysv/sigaction.c: Remove file.
78970         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78971         (sysdep_headers): Remove variable.
78972         [termio.h not in sysdep_headers] (generated): Likewise.
78973         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78974         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78975         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78976         * sysdeps/unix/sysv/tcflow.c: Likewise.
78977         * sysdeps/unix/sysv/tcflush.c: Likewise.
78978         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78979         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78980         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78981         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78982         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78984         * sysdeps/unix/siglist.c: Remove file.
78986         * sysdeps/unix/getppid.S: Remove file.
78988         * sysdeps/unix/mkdir.c: Remove file.
78989         * sysdeps/unix/rmdir.c: Likewise.
78991 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78993         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78994         ERR_MAX value.
78995         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78996         errlist-compat value.
78998 2012-04-18  David S. Miller  <davem@davemloft.net>
79000         * sysdeps/generic/memcopy.h (reg_char): Delete.
79001         * debug/strcat_chk.c: Use char, not reg_char.
79002         * debug/strcpy_chk.c: Likewise.
79003         * debug/strncat_chk.c: Likewise.
79004         * debug/strncpy_chk.c: Likewise.
79005         * string/memchr.c: Likewise.
79006         * string/memrchr.c: Likewise.
79007         * string/rawmemchr.c: Likewise.
79008         * string/strcat.c: Likewise.
79009         * string/strchr.c: Likewise.
79010         * string/strchrnul.c: Likewise.
79011         * string/strcmp.c: Likewise.
79012         * string/strcpy.c: Likewise.
79013         * string/strncat.c: Likewise.
79014         * string/strncmp.c: Likewise.
79015         * string/strncpy.c: Likewise.
79017 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79019         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
79020         __builtin_memcopy is called when src and dest ranges are known to not
79021         overlap.
79023 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79025         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
79026         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
79027         fwd_align_merge macro call.
79028         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
79029         bwd_align_merge macro call.
79030         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79032 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79034         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
79035         bwd_align_merge macros.
79036         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
79037         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
79038         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79040 2012-04-18  David S. Miller  <davem@davemloft.net>
79042         * sysdeps/sparc/sparc64/memcopy.h: Delete.
79044 2012-04-18  Andreas Jaeger  <aj@suse.de>
79046         [BZ #6794]
79047         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
79048         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
79049         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79051         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
79052         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
79053         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79055         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
79056         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
79057         Adjust for changed ldbl-128 files.
79059         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
79060         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
79061         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79063 2012-04-17  David S. Miller  <davem@davemloft.net>
79065         * sysdeps/sparc/sparc32/memcopy.h: Delete.
79067 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
79069         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
79070         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
79071         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
79072         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
79073         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
79074         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
79076 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79078         [BZ #6794]
79079         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
79080         * math/libm-test.inc: Add ilogb errno and exception tests.
79081         * math/w_ilogb.c: New file: ilogb wrapper.
79082         * math/w_ilogbf.c: New file: ilogbf wrapper.
79083         * math/w_ilogbl.c: New file: ilogbl wrapper.
79084         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
79085         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
79086         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
79087         exception being thrown with 0.0 as argument.
79088         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
79089         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
79090         exception being thrown with 0.0 as argument.
79091         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
79092         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79093         exception being thrown with 0.0 as argument.
79094         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
79095         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79096         exception being thrown with 0.0 as argument.
79097         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
79098         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
79099         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
79100         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
79101         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
79102         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
79103         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
79104         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
79105         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
79107 2012-04-17  Petr Baudis  <pasky@ucw.cz>
79109         * include/sys/uio.h: Change __vector to __iovec to avoid clash
79110         with altivec.
79112 2012-04-16  Marek Polacek  <polacek@redhat.com>
79114         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
79116 2012-04-16  Marek Polacek  <polacek@redhat.com>
79118         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
79119         operands of fdivp instruction.
79121 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79123         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
79124         * elf/tst-auditmod3b.c: Likewise.
79125         * elf/tst-auditmod4b.c: Likewise.
79126         * elf/tst-auditmod5b.c: Likewise.
79127         * elf/tst-auditmod6b.c: Likewise.
79128         * elf/tst-auditmod6c.c: Likewise.
79129         * elf/tst-auditmod7b.c: Likewise.
79130         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
79131         * sysdeps/x86_64/preconfigure.in: Likewise.
79132         * sysdeps/x86_64/preconfigure: Regenerated.
79134 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79136         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
79137         __ILP32__.
79139 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
79141         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79142         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
79144 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
79146         [BZ #13973]
79147         * locale/iso-639.def: Fix gl language name. Spotted by
79148         Yaron Shahrabani.
79150 2012-04-12  Roland McGrath  <roland@hack.frob.com>
79152         [BZ #2074]
79153         * libio/libio.h (__io_write_fn): Update comment.
79155 2012-04-12  Petr Baudis  <pasky@ucw.cz>
79157         [BZ #2074]
79158         * stdio.texi (Hook Functions): The user provided writer function
79159         is not allowed to return -1.
79161 2012-04-11  David S. Miller  <davem@davemloft.net>
79163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79165 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
79167         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
79168         Add a leading slash to rtkaio.
79170 2012-04-11  Jim Meyering  <meyering@redhat.com>
79172         [BZ #11959]
79173         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
79174         It is not necessarily an error to ignore fwrite's return
79175         value.  One can reliably use ferror to test for errors after
79176         the fact.
79178 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79180         * bits/types.h (__snseconds_t): New type.
79181         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
79183         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
79184         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79185         (__SNSECONDS_T_TYPE): Likewise.
79186         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79187         (__SNSECONDS_T_TYPE): Likewise.
79188         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79189         (__SNSECONDS_T_TYPE): Likewise.
79191 2012-04-10  Andreas Jaeger  <aj@suse.de>
79193         [BZ #2636]
79194         * manual/time.texi (Processor Time): Return type of times is
79195         elapsed real time since an arbitrary point in the past.
79196         (CPU Time): Move CLK_TCK from here...
79197         (Processor Time): ...to here.  Correct description.
79198         * manual/conf.texi (Constants for Sysconf): Correct description of
79199         _SC_CLK_TCK.
79201 2012-04-10  David S. Miller  <davem@davemloft.net>
79203         [BZ #13967]
79204         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
79205         where the is a gap between DT_REL(A) and DT_JMPREL.
79207 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79209         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
79210         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79211         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79213 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
79215         * elf/dl-support.c (_dl_inhibit_cache): New variable.
79216         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
79217         (dl_main): Handle --inhibit-cache.
79218         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
79219         _dl_inhibit_cache.
79220         * elf/dl-load.c (_dl_map_object): Use it.
79221         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
79223 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79225         [BZ #13872]
79226         * sysdeps/i386/fpu/e_powl.S (p78): New object.
79227         (__ieee754_powl): Saturate large exponents rather than testing for
79228         overflow of y*log2(x).
79229         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79230         * math/libm-test.inc (pow_test): Do not permit spurious overflow
79231         exceptions.
79233         [BZ #11521]
79234         * math/s_ctan.c: Include <float.h>.
79235         (__ctan): Avoid internal overflow or cancellation in calculating
79236         denominator.
79237         * math/s_ctanf.c: Likewise.
79238         * math/s_ctanl.c: Likewise.
79239         * math/s_ctanh.c: Likewise.
79240         * math/s_ctanhf.c: Likewise.
79241         * math/s_ctanhl.c: Likewise.
79242         * math/libm-test.inc (ctan_test): Add more tests.
79243         (ctanh_test): Likewise.
79244         * sysdeps/i386/fpu/libm-test-ulps: Update.
79245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79247 2012-04-09  Andreas Jaeger  <aj@suse.de>
79249         [BZ #6894]
79250         * manual/filesys.texi (Directory Entries): Mention that d_namlen
79251         is an optional BSD extension.
79253         [BZ #10254]
79254         * manual/stdio.texi (Opening Streams): Document additional fopen
79255         parameters.
79257 2012-04-09  Roland McGrath  <roland@hack.frob.com>
79259         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
79260         %eax without telling the compiler.
79262 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
79264         [BZ # 13963]
79265         * manual/install.texi: Use sourceware.org.
79267 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79269         [BZ #13873]
79270         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
79271         (__ieee754_pow): Generate overflow and underflow using huge*huge
79272         and tiny*tiny rather than just returning constant infinity or zero
79273         for large exponents.
79274         * math/libm-test.inc (pow_test): Require overflow exceptions for
79275         applicable cases of large exponents.
79277         [BZ #706]
79278         * sysdeps/i386/fpu/e_pow.S (p10): New object.
79279         (__ieee754_pow): Use iterative multiplication algorithm only for
79280         integer exponents with absolute value below 1024.  Check for odd
79281         integer exponents when using algorithm for real exponents.
79282         * math/libm-test.inc (pow_test): Add more tests.
79283         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79285 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
79287         [BZ #13705]
79288         * math/libm-test.inc (exp_test): Do not allow overflow exception
79289         on underflow test.
79291 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
79293         [BZ #13705]
79294         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79295         instead of __kernel_standard_f.
79297 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79299         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79300         * sysdeps/x86_64/memset_chk.S: Likewise.
79302 2012-04-08  Andreas Jaeger  <aj@suse.de>
79304         [BZ #10153]
79305         * manual/startup.texi (Environment Access): Describe return value
79306         for putenv and setenv.
79308         [BZ #6895]
79309         * manual/filesys.texi (Directory Entries): Add description for
79310         DT_LNK.
79312         [BZ #6890]
79313         * manual/filesys.texi (Directory Entries): Clarify that it's file
79314         system not operating system in the description of DT_UNKNOWN.
79316         [BZ #6578]
79317         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79319 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79321         [BZ #6649]
79322         * manual/llio.texi (Opening and Closing Files): Add cross
79323         reference to explain mode argument.
79325 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79327         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79328         * sysdeps/x86_64/memset_chk.S: Likewise.
79330 2012-04-07  David S. Miller  <davem@davemloft.net>
79332         * elf/elf.h (R_SPARC_WDISP10): Define.
79333         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79334         R_SPARC_SIZE32.
79335         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79336         R_SPARC_SIZE64 and R_SPARC_H34.
79338 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79340         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79341         conditions and remove no longer applicable assertion.
79343 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79345         * bits/byteswap.h: Include <features.h>.
79346         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79347         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79349 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79351         * bits/byteswap.h (__bswap_16): Removed.
79352         Include <bits/byteswap-16.h> to get __bswap_16.
79353         * sysdeps/i386/bits/byteswap.h: Likewise.
79354         * sysdeps/s390/bits/byteswap.h: Likewise.
79355         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79356         * bits/byteswap-16.h: New file.
79357         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79358         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79359         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79360         * string/Makefile (headers): Add bits/byteswap-16.h.
79362 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79364         [BZ #13895]
79365         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79366         extra indirection.
79367         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79368         * nss/tst-nss-static.c: New.
79370 2012-04-06  Robert Millan  <rmh@gnu.org>
79372         [BZ #6486]
79373         * manual/llio.texi (File Position Primitive): lseek
79374         refers to WHENCE when it really means OFFSET.
79376 2012-04-06  Andreas Jaeger  <aj@suse.de>
79378         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79379         strncmp declarations.
79381         * abilist/libc.abilist: Add __poll and __ppoll.
79383 2012-04-05  David S. Miller  <davem@davemloft.net>
79385         * scripts/check-local-headers.sh: Accept a host triplet in the
79386         path matched by the exclude regexp.
79388         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79389         definition.
79390         * sysdeps/powerpc/powerpc32/dl-machine.h
79391         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79392         * sysdeps/s390/s390-32/dl-machine.h
79393         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79394         * sysdeps/sparc/sparc32/dl-machine.h
79395         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79396         * sysdeps/sparc/sparc64/dl-machine.h
79397         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79399         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79400         lazy binding.
79401         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79402         undefined symbol errors.
79404         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79405         DT_NEEDED entries.
79407 2012-04-05  Michael Matz  <matz@suse.de>
79409         [BZ #13592]
79410         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79412 2012-04-05  Andreas Jaeger  <aj@suse.de>
79414         [BZ #13908]
79415         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79416         comment.
79418 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79420         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79421         which ROUND is no valid rounding mode.
79423 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79425         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79426         read again.
79427         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79429 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79431         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79432         an exception using FPU order intentionally.
79434 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79436         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79437         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79438         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79439         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79441 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79443         [BZ #12340]
79444         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79445         EINVAL when BUFLEN is too smal.
79447 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79449         [BZ #13553]
79450         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79451         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79453 2012-04-03  Andreas Jaeger  <aj@suse.de>
79455         [BZ #13938]
79456         * manual/setjmp.texi (System V contexts): Fix sentence.
79458         [BZ #13926]
79459         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79460         New macro for this case.
79461         [!__GNUC__] (__bswap_64): New inline function for this case.
79462         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79463         * bits/byteswap.h: Likewise.
79464         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79465         ull, guard with __GLIBC_HAVE_LONG_LONG.
79467         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79468         __GLIBC_HAVE_LONG_LONG.
79470         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79471         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79473 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79475         [BZ #13691]
79476         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79477         inptr and inend, rather than using last_ch.
79479 2012-04-02  David S. Miller  <davem@davemloft.net>
79481         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79482         * stdio-common/printf-parse.h (read_int): Change return type to
79483         'int', return -1 on INT_MAX overflow.
79484         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79485         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79486         overflows INT_MAX.  Check for overflow of in-format-string precision
79487         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79488         SIZE_MAX not INT_MAX for integer overflow test.
79489         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79490         skip the construct in the format string but do not record anything.
79491         * stdio-common/bug22.c: Adjust to test both width/prevision
79492         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79493         explicitly for proper errno values.
79495 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79497         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79498         CHAR_MAX.
79499         * string/test-strcmp.c [! WIDE]: Likewise.
79500         * time/tst-mktime2.c: Likewise for INT_MAX.
79501         * string/test-string.h: #include <sys/param.h> for MIN.
79503         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79504         * sysdeps/i386/init-first.c (init): Likewise.
79505         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79506         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79507         * sysdeps/sh/init-first.c (init): Likewise.
79509 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79511         * po/ru.po: Update from translation team.
79512         * po/vi.po: Likewise.
79514 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79516         * resolv/nss_dns/dns-host.c: Merge copyright years.
79518 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79520         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79521         Optimize memcpy with prefetch if
79522         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79523         src, dst pointers have unequal 16 byte alignments.
79525 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79527         [BZ #13928]
79528         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79529         from a CNAME entry and return the minimum ttl for the query.
79530         (gaih_getanswer_slice): Likewise.
79532 2012-03-30  Jeff Law  <law@redhat.com>
79534         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79535         due to long keys.
79536         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79537         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79539         * resolv/nss_dns/dns-host.c: Update copyright year.
79541 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79543         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79544         requests to save a system call.  Fix check that all bytes are sent.
79546         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79547         comments for sendmmsg.
79549 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79551         [BZ #13691]
79552         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79553         with only 1 character between 0x0041 and 0x01b0.
79554         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79555         * wcsmbs/tst-mbsnrtowcs.c: New file.
79557 2012-03-29  David S. Miller  <davem@davemloft.net>
79559         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79560         small copies by hand.
79562 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79564         [BZ #13761]
79565         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79566         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79567         group memberships.
79569 2012-03-28  David S. Miller  <davem@davemloft.net>
79571         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79572         that branches into memcpy.
79573         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79574         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79575         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79576         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79577         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79578         bits.
79579         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79580         implementation too.
79581         * sysdeps/sparc/mempcpy.S: New file.
79583         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79584         the IFUNC routine in the libc case.
79585         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79587         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79588         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79589         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79590         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79591         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79592         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79593         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79594         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79596         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79597         loop to 256 bytes instead of 64 bytes and fix test signedness.
79599         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79600         * sysdeps/sparc/sparc32/Makefile: rather than here...
79601         * sysdeps/sparc/sparc64/Makefile: and here.
79603 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79605         * malloc/mallocbug.c: Avoid warnings about unused variables.
79607 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79609         [BZ #13760]
79610         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79611         in the right place. Discard and retry query if response is
79612         larger than input buffer size.
79614 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79616         [BZ #369]
79617         [BZ #2678]
79618         [BZ #3866]
79619         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79620         x for large integer exponent.
79621         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79622         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79623         sign of result as needed afterwards.
79624         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79625         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79626         result for underflowing pow the same as for overflow.
79627         (__kernel_standard_l): Handle powl overflow and underflow here
79628         rather than calling __kernel_standard.
79629         * math/libm-test.inc (pow_test): Add more tests.
79631         [BZ #3868]
79632         [BZ #13879]
79633         [BZ #13910]
79634         [BZ #13911]
79635         [BZ #13912]
79636         [BZ #13913]
79637         [BZ #13915]
79638         [BZ #13916]
79639         [BZ #13917]
79640         [BZ #13918]
79641         [BZ #13919]
79642         [BZ #13920]
79643         [BZ #13921]
79644         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79645         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79646         (__kernel_standard_l): New function.
79647         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79648         __kernel_standard.
79649         * math/w_acosl.c (__acosl): Likewise.
79650         * math/w_asinl.c (__asinl): Likewise.
79651         * math/w_atan2l.c (__atan2l): Likewise.
79652         * math/w_atanhl.c (__atanhl): Likewise.
79653         * math/w_coshl.c (__coshl): Likewise.
79654         * math/w_exp10l.c (__exp10l): Likewise.
79655         * math/w_exp2l.c (__exp2l): Likewise.
79656         * math/w_fmodl.c (__fmodl): Likewise.
79657         * math/w_hypotl.c (__hypotl): Likewise.
79658         * math/w_j0l.c (__j0l, __y0l): Likewise.
79659         * math/w_j1l.c (__j1l, __y1l): Likewise.
79660         * math/w_jnl.c (__jnl, __ynl): Likewise.
79661         * math/w_lgammal.c (__lgammal): Likewise.
79662         * math/w_log10l.c (__log10l): Likewise.
79663         * math/w_log2l.c (__log2l): Likewise.
79664         * math/w_logl.c (__logl): Likewise.
79665         * math/w_powl.c (__powl): Likewise.
79666         * math/w_remainderl.c (__remainderl): Likewise.
79667         * math/w_scalbl.c (sysv_scalbl): Likewise.
79668         * math/w_sinhl.c (__sinhl): Likewise.
79669         * math/w_sqrtl.c (__sqrtl): Likewise.
79670         * math/w_tgammal.c (__tgammal): Likewise.
79671         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79672         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79673         * math/libm-test.inc (acos_test): Add more tests.
79674         (acosh_test): Likewise.
79675         (asin_test): Likewise.
79676         (atanh_test): Likewise.
79677         (exp_test): Likewise.
79678         (exp10_test): Likewise.
79679         (exp2_test): Likewise.
79680         (expm1_test): Likewise.
79681         (lgamma_test): Likewise.
79682         (log_test): Likewise.
79683         (log10_test): Likewise.
79684         (log1p_test): Likewise.
79685         (log2_test): Likewise.
79686         (pow_test): Do not allow some spurious overflow exceptions.
79687         (sqrt_test): Add more tests.
79688         (tgamma_test): Likewise.
79689         (y0_test): Likewise.
79690         (y1_test): Likewise.
79691         (yn_test): Likewise.
79693 2012-03-27  Anton Blanchard  <anton@samba.org>
79695         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79696         MAP_HUGETLB.
79697         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79698         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79699         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79701 2012-03-27  David S. Miller  <davem@davemloft.net>
79703         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79705         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79706         have-as-vis3 check.
79708 2012-03-27  Andreas Jaeger  <aj@suse.de>
79710         * sysdeps/x86_64/elf/configure.in: Moved to ...
79711         * sysdeps/x86_64/configure.in: ... here.
79712         * sysdeps/x86_64/elf/start.S: Moved to ...
79713         * sysdeps/x86_64/start.S: ... here.
79714         * sysdeps/x86_64/elf/configure: Delete.
79716         * sysdeps/x86_64/configure.in: Merge contents from
79717         sysdeps/i386/configure.in (without i686 check).
79719         * sysdeps/i386/elf/Versions: Merge into ...
79720         * sysdeps/i386/Versions: ... this.
79721         * sysdeps/i386/elf/Versions: Delete file.
79722         * sysdeps/i386/elf/start.S: Moved to ...
79723         * sysdeps/i386/start.S: ...here.
79724         * sysdeps/i386/elf/configure.in: Merge into...
79725         * sysdeps/i386/configure.in: ...here.
79726         * sysdeps/i386/elf/configure.in: Delete file.
79727         * sysdeps/i386/elf/configure: Delete file.
79729         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79730         * debug/backtracesyms.c: ... here.
79731         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79732         * debug/backtracesymsfd.c: ... here.
79733         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79734         * sysdeps/generic/ifunc-sel.h: ... here.
79736         * sysdeps/unix/i386/start.c: Delete file.
79737         * sysdeps/unix/sparc/start.c: Delete file.
79738         * sysdeps/unix/start.c: Delete file.
79740         * sysdeps/sh/elf/configure.in: Moved to ...
79741         * sysdeps/sh/configure.in: ... here.
79742         * sysdeps/sh/elf/start.S: Moved to ...
79743         * sysdeps/sh/start.S: ... here.
79744         * sysdeps/sh/elf/configure: Delete file.
79746         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79747         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79748         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79749         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79750         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79751         * sysdeps/powerpc/powerpc64/start.S: here.
79752         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79753         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79754         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79755         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79756         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79758         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79759         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79760         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79761         * sysdeps/powerpc/powerpc32/start.S: ... here.
79762         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79763         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79764         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79766         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79767         * sysdeps/powerpc/ifunc-sel.h: ... here.
79768         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79769         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79771         * sysdeps/sparc/elf/configure.in: Moved to ...
79772         * sysdeps/sparc/configure.in: ... here.
79773         * sysdeps/sparc/elf/configure: Delete file.
79774         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79775         * sysdeps/sparc/sparc32/start.S: ... here.
79776         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79777         * sysdeps/sparc/sparc64/start.S: ... here.
79778         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79779         * sysdeps/sparc/sparc32/Makefile: ... this.
79780         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79781         * sysdeps/sparc/sparc64/Makefile: ... this.
79783         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79784         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79785         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79786         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79787         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79788         * sysdeps/s390/s390-32/setjmp.S: ... here.
79789         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79790         * sysdeps/s390/s390-32/configure.in: ... here.
79791         * sysdeps/s390/s390-32/elf/configure: Delete file.
79792         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79793         * sysdeps/s390/s390-32/start.S: ... here.
79795         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79796         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79797         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79798         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79799         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79800         * sysdeps/s390/s390-64/setjmp.S: ... here.
79801         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79802         * sysdeps/s390/s390-64/configure.in: ... here
79803         * sysdeps/s390/s390-64/elf/configure: Delete file.
79804         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79805         * sysdeps/s390/s390-64/start.S: ... here.
79806         * sysdeps/s390/s390-64/elf/configure: Delete.
79808         * configure.in: Remove support for elf directories in sysdeps.
79810         * configure: Regenerated.
79811         * sysdeps/i386/configure: Regenerated.
79812         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79813         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79814         * sysdeps/s390/s390-32/configure: Regenerated.
79815         * sysdeps/s390/s390-64/configure: Regenerated.
79816         * sysdeps/sh/configure: Regenerated.
79817         * sysdeps/sparc/configure: Regenerated.
79818         * sysdeps/x86_64/configure: Regenerated.
79820 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79824         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79825         denormal result into account.
79827 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79829         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79830         Reported by Allan McRae <allan@archlinux.org>.
79832 2012-03-23  Jeff Law  <law@redhat.com>
79834         * nss/getnssent.c (__nss_getent): Fix typo.
79836 2012-03-23  David S. Miller  <davem@davemloft.net>
79838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79840 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79842         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79843         to pad to uint64_t for each field.
79844         (dl_tls_index): Replace unsigned long with uint64_t.
79846 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79847         Paul Pluzhnikov  <ppluzhnikov@google.com>
79849         [BZ #6528]
79850         * grp/Makefile (otherlibs): Don't set it.
79851         * inet/Makefile (otherlibs): Likewise.
79852         * login/Makefile (otherlibs): Likewise.
79853         * nscd/Makefile (otherlibs): Likewise.
79854         * posix/Makefile (otherlibs): Likewise.
79855         * pwd/Makefile (otherlibs): Likewise.
79856         * rt/Makefile (otherlibs): Likewise.
79857         * sunrpc/Makefile (otherlibs): Likewise.
79858         * nss/Makefile (otherlibs): Likewise.
79859         Add libnss_files to routines and static-only-routines.
79860         ($(objpfx)getent): Remove rule.
79861         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79862         static-only-routines.
79864 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79866         [BZ #13892]
79867         * math/s_cexp.c: Include <float.h>.
79868         (__cexp): Handle exp result overflowing not necessarily
79869         overflowing both real and imaginary parts of result.
79870         * math/s_cexpf.c: Likewise.
79871         * math/s_cexpl.c: Likewise.
79872         * math/libm-test.inc (cexp_test): Add more tests.
79873         * sysdeps/i386/fpu/libm-test-ulps: Update.
79874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79876 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79878         * include/link.h (ELFW): New macro.
79879         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79880         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79882 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79884         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79885         with uint64_t.
79887 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79889         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79890         declaration.
79891         (struct La_x32_retval): Likewise.
79893 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79895         * sysdeps/x86_64/preconfigure.in: New file.
79896         * sysdeps/x86_64/preconfigure: New generated file.
79898 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79900         [BZ #13824]
79901         * math/e_exp2l.c: Include <float.h>.
79902         (__ieee754_exp2l): Handle overflow and underflow cases
79903         separately.  Only pass fractional part of argument to
79904         __ieee754_expl.
79905         * math/libm-test.inc (exp2_test): Add more tests.
79907         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79908         negating x to take absolute value.
79909         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79910         Likewise.
79911         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79912         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79913         Likewise.
79914         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79915         computing low part if x was negated.
79916         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79918 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79920         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79921         la_x32_gnu_pltexit.
79922         (pltexit): Cast int_retval to ptrdiff_t.
79923         * elf/tst-auditmod3b.c: Likewise.
79924         * elf/tst-auditmod4b.c: Likewise.
79925         * elf/tst-auditmod5b.c: Likewise.
79926         * elf/tst-auditmod6b.c: Likewise.
79927         * elf/tst-auditmod6c.c: Likewise.
79928         * elf/tst-auditmod7b.c: Likewise.
79930         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79931         and x32_gnu_pltexit.
79933         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79934         __ELF_NATIVE_CLASS.
79935         (La_x32_regs): New macro.
79936         (La_x32_retval): Likewise.
79937         (la_x32_gnu_pltenter): New function prototype.
79938         (la_x32_gnu_pltexit): Likewise.
79940 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79942         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79943         exponent.
79945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79947         * configure.in (libc_cv_cc_nofma): Check for option to disable
79948         generation of FMA instructions.
79949         * configure: Regenerate.
79950         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79951         * sysdeps/ieee754/dbl-64/Makefile: New file.
79952         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79953         Remove brandred-fma4.
79954         (CFLAGS-brandred-fma4.c): Remove.
79955         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79956         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79957         define.
79958         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79959         define.
79961 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79963         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79964         LLONG_MAX != LONG_MAX.
79965         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79966         (_fitoa_word): Likewise.
79967         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79968         LLONG_MAX != LONG_MAX.
79969         * stdio-common/_itowa.h: Include <_itoa.h>.
79970         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79971         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79972         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79973         only if not defined.
79974         (_ITOA_WORD_TYPE): Likewise.
79975         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79976         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79978 2012-03-21  David S. Miller  <davem@davemloft.net>
79980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79982 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79984         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79985         of x86_64 when setting libc_cv_slibdir, libdir and
79986         libc_cv_localedir.
79987         * sysdeps/unix/sysv/linux/configure: Regenerated.
79989 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79991         * manual/lang.texi (Old Varargs): Remove section.
79992         (How Variadic): Update menu.
79993         (va_start): Do not mention varargs.h.
79995 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79996             Joseph Myers  <joseph@codesourcery.com>
79998         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79999         link test.
80000         * configure: Regenerated.
80002 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80004         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
80005         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
80006         conformtest.pl
80008 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80010         * NOTES: Remove.
80011         * Makefile (files-for-dist): Remove NOTES.
80012         (NOTES): Remove rule.
80013         * README: Don't refer to NOTES.
80014         * manual/creature.texi: Don't include macros.texi.
80015         * manual/intro.texi (creature.texi): Remove comment referring to
80016         NOTES.
80018         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
80019         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
80020         * configure: Regenerated.
80021         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
80022         LIBC_TRY_CC_OPTION.
80023         (libc_cv_as_i686): Likewise.
80024         (libc_cv_cc_avx): Likewise.
80025         (libc_cv_cc_sse2avx): Likewise.
80026         (libc_cv_cc_fma4): Likewise.
80027         (libc_cv_cc_novzeroupper): Likewise.
80028         * sysdeps/i386/configure: Regenerated.
80030         [BZ #13883]
80031         * sysdeps/i386/fpu/s_cexp.S: Remove.
80032         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80033         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80034         * math/libm-test.inc (cexp_test): Add more tests.
80035         * sysdeps/i386/fpu/libm-test-ulps: Update.
80036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80038 2012-03-21  Allan McRae  <allan@archlinux.org>
80040         * timezone/Makefile: Do not install iso3166.tab and zone.tab
80042 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80044         [BZ #13871]
80045         * math/w_exp2.c: Do not include <float.h>.
80046         (o_threshold, u_threshold): Remove.
80047         (__exp2): Calculate result before checking finiteness and calling
80048         __kernel_standard.
80049         * math/w_exp2f.c: Likewise.
80050         * math/w_exp2l.c: Likewise.
80051         * math/libm-test.inc (exp2_test): Require overflow exception for
80052         1e6 input.
80054         [BZ #3866]
80055         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
80056         range of signed 64-bit integers before using fistpll.  Remove
80057         checks for whether integers fit in mantissa bits.
80058         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
80059         the range of signed 32-bit integers before using fistpl.  Remove
80060         checks for whether integers fit in mantissa bits.
80061         * sysdeps/i386/fpu/e_powl.S (p64): New object.
80062         (__ieee754_powl): Test for y outside the range of signed 64-bit
80063         integers before using fistpll.  Reduce 64-bit values to 63-bit
80064         ones as needed.
80065         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
80066         divide-by-zero is raised for zero to large negative powers.
80067         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
80068         (__ieee754_powl): Test for y outside the range of signed 64-bit
80069         integers before using fistpll.  Reduce 64-bit values to 63-bit
80070         ones as needed.
80071         * math/libm-test.inc (pow_test): Add more tests.
80073 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80075         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
80076         <stdio-common/_itoa.h>.
80077         * debug/segfault.c: Likewise.
80078         * elf/dl-cache.c: Likewise.
80079         * elf/dl-minimal.c: Likewise.
80080         * elf/dl-misc.c: Likewise.
80081         * elf/dl-sysdep.c: Likewise.
80082         * elf/dl-version.c: Likewise.
80083         * elf/rtld.c: Likewise.
80084         * hurd/hurdsock.c: Likewise.
80085         * hurd/lookup-retry.c: Likewise.
80086         * malloc/malloc.c: Likewise.
80087         * malloc/mtrace.c: Likewise.
80088         * nscd/nscd_getgr_r.c: Likewise.
80089         * nscd/nscd_getpw_r.c: Likewise.
80090         * nscd/nscd_getserv_r.c: Likewise.
80091         * posix/getopt_init.c: Likewise.
80092         * posix/wordexp.c: Likewise.
80093         * stdio-common/_itoa.c: Likewise.
80094         * stdio-common/printf_fphex.c: Likewise.
80095         * stdio-common/vfprintf.c: Likewise.
80096         * string/_strerror.c: Likewise.
80097         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
80098         * sysdeps/i386/i686/hp-timing.h: Likewise.
80099         * sysdeps/mach/_strerror.c: Likewise.
80100         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
80101         * sysdeps/mach/hurd/sethostid.c: Likewise.
80102         * sysdeps/mach/hurd/xmknodat.c: Likewise.
80103         * sysdeps/mach/xpg-strerror.c: Likewise.
80104         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
80105         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
80106         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
80107         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
80108         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
80109         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
80110         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
80111         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
80112         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
80113         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
80114         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
80115         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
80116         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
80117         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
80118         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
80119         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
80120         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
80121         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
80122         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
80123         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
80124         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
80126         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
80128         * stdio-common/_itoa.h: Moved to ...
80129         * sysdeps/generic/_itoa.h: Here.
80131         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
80133         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
80134         instead of "_itoa.h" and "_itowa.h".
80135         * stdio-common/vfprintf.: Likewise.
80137 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80139         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
80140         <bits/wordsize.h>.
80141         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
80142         (__signbit): Likewise.
80143         (llrintf): Likewise.
80144         (llrint): Likewise.
80146 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80148         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
80149         __WORDSIZE != 64.
80151 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
80153         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
80154         OVERFLOW_EXCEPTION_OK.
80155         * math/libm-test.inc ("Philosophy"): Update comment about
80156         exception testing.
80157         (OVERFLOW_EXCEPTION): Define.
80158         (OVERFLOW_EXCEPTION_OK): Likewise.
80159         (INVALID_EXCEPTION_OK): Renumber.
80160         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80161         (IGNORE_ZERO_INF_SIGN): Likewise.
80162         (test_exceptions): Handle FE_OVERFLOW.
80163         (exp10_test): Expect overflow exceptions.
80164         (exp2_test): Likewise.
80165         (expm1_test): Likewise.
80166         (nextafter_test): Likewise.
80167         (pow_test): Likewise.
80168         (scalbn_test): Likewise.
80169         (scalbln_test): Likewise.
80171 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80173         * sysdeps/x86_64/bits/atomic.h
80174         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
80175         64bit integer.
80176         (atomic_exchange_acq): Likewise.
80177         (__arch_exchange_and_add_body): Likewise.
80178         (__arch_add_body): Likewise.
80179         (atomic_add_negative): Likewise.
80180         (atomic_add_zero): Likewise.
80182 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80184         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
80185         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
80187 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80189         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
80190         Check __x86_64__ instead of __WORDSIZE.
80192 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80194         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
80196 2012-03-19  David S. Miller  <davem@davemloft.net>
80198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80200         * sysdeps/sparc/fpu/fenv_private.h: New file.
80201         * sysdeps/sparc/fpu/math_private.h: Use it.
80202         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
80203         Remove.
80204         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
80205         (libc_feholdexcept_setroundl): Remove.
80206         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
80207         Remove.
80208         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
80209         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
80211 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80213         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
80214         int64_t instead of long int.
80215         (INSERT_WORDS64): Likewise.
80217 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80219         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
80220         _Unwind_GetCFA return to _Unwind_Ptr first.
80222 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
80224         [BZ #13629]
80225         * math/s_clog.c: Include <float.h>.
80226         (__clog): Scale large or subnormal inputs.
80227         * math/s_clogf.c: Likewise.
80228         * math/s_clogl.c: Likewise.
80229         * math/s_clog10.c: Include <float.h>.
80230         (M_LOG10_2): Define.
80231         (__clog10): Scale large or subnormal inputs.
80232         * math/s_clog10f.c: Likewise.
80233         * math/s_clog10l.c: Likewise.
80234         * math/libm-test.inc (clog_test): Add more tests.
80235         (clog10_test): Likewise.
80236         * sysdeps/i386/fpu/libm-test-ulps: Update.
80237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80239         [BZ #11451]
80240         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
80241         x and y.
80242         * math/libm-test.inc (atan2_test): Add another test.
80244         * Makerules (common-objdir-compile): Remove.
80245         * sysdeps/unix/Makefile (config-generated): Do not add
80246         $(unix-generated) to variable.
80247         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
80248         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
80249         Remove rule.
80250         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
80251         Likewise.
80252         [generic bits/local_lim.h] (before-compile): Do not append to
80253         variable.
80254         [generic bits/local_lim.h] (common-generated): Likewise.
80255         [generic sys/param.h] (before-compile): Do not append to variable.
80256         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
80257         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
80258         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
80259         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
80260         include.
80261         [generic sys/param.h] (sys/param.h-includes): Remove variable.
80262         [generic sys/param.h] (sys/param.h-includes): Remove rule.
80263         [generic sys/param.h] ($(addprefix
80264         $(common-objpfx),$(sys/param.h-includes))): Likewise.
80265         [generic sys/param.h] (common-generated): Do not append to
80266         variable.
80267         [generic sys/param.h] (sysdep_headers): Likewise.
80268         [generic bits/errno.h] (before-compile): Do not append to
80269         variable.
80270         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
80271         rule.
80272         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
80273         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
80274         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
80275         [generic bits/errno.h] (common-generated): Do not append to
80276         variable.
80277         [generic bits/ioctls.h] (before-compile): Do not append to
80278         variable.
80279         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
80280         rule.
80281         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
80282         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
80283         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
80284         rule.
80285         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
80286         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
80287         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
80288         [generic bits/ioctls.h] (common-generated): Do not append to
80289         variable.
80290         [generic sys/syscall.h] (syscall.h): Remove variable.
80291         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
80292         rule.
80293         [generic sys/syscall.h] (before-compile): Do not append to
80294         variable.
80295         [generic sys/syscall.h] (common-generated): Likewise.
80296         * sysdeps/unix/errnos-tmpl.c: Remove file.
80297         * sysdeps/unix/errnos.awk: Likewise.
80298         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80299         * sysdeps/unix/ioctls.awk: Likewise.
80300         * sysdeps/unix/mk-local_lim.c: Likewise.
80301         * sysdeps/unix/snarf-ioctls: Likewise.
80303 2012-03-19  Richard Henderson  <rth@twiddle.net>
80305         * sysdeps/i386/fpu/fenv_private.h: New file.
80306         * sysdeps/i386/fpu/math_private.h: Use it.
80307         (math_opt_barrier, math_force_eval): Remove.
80308         (libc_feholdexcept_setround_53bit): Remove.
80309         (libc_feupdateenv_53bit): Remove.
80310         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80311         (math_opt_barrier, math_force_eval): Remove.
80312         (libc_feholdexcept): Remove.
80313         (libc_feholdexcept_setround): Remove.
80314         (libc_fetestexcept, libc_fesetenv): Remove.
80315         (libc_feupdateenv_test): Remove.
80316         (libc_feupdateenv, libc_feholdsetround): Remove.
80317         (libc_feresetround): Remove.
80319         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80320         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80322         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80323         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80324         (libc_feupdateenv_testl): New.
80325         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80326         (libc_feupdateenv_testf): New.
80327         (libc_feupdateenv): Use libc_feupdateenv_test.
80328         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80329         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80331         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80332         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80333         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80334         (libc_feresetround_noex): New.
80335         (libc_feresetround_noexf): New.
80336         (libc_feresetround_noexl): New.
80337         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80338         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80339         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80340         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80341         SET_RESTORE_ROUND.
80342         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80343         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80344         (__cos): Likewise.
80345         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80346         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80347         SET_RESTORE_ROUND_NOEX.
80348         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80349         SET_RESTORE_ROUND_NOEXF.
80350         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80351         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80352         (libc_feholdsetroundf): New.
80353         (libc_feresetround, libc_feresetroundf): New.
80355         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80356         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80357         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80359         * sysdeps/generic/math_private.h: Include <fenv.h>.
80360         (default_libc_feholdexcept): New.
80361         (default_libc_feholdexcept_setround): New.
80362         (default_libc_fesetenv, default_libc_feupdateenv): New.
80363         (libc_feholdexcept): Only define if undefined.
80364         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80365         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80366         (libc_feholdexcept_setroundl): Likewise.
80367         (libc_feholdexcept_setround_53bit): Likewise.
80368         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80369         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80370         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80371         (libc_feupdateenv_53bit): Likewise.
80372         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80373         (libc_feholdexcept): Convert from macro to inline function.
80374         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80375         (libc_fesetenv, libc_feupdateenv): Likewise.
80377         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80378         not previously defined.
80379         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80380         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80381         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80382         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80383         * sysdeps/ieee754/flt-32/math_private.h: New file.
80384         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80385         math_private.h below SET_FLOAT_WORD.
80386         (__isnan, __isinf_ns, __finite): Remove.
80387         (__isnanf, __isinf_nsf, __finitef): Remove.
80389 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80393 2012-03-17  David S. Miller  <davem@davemloft.net>
80395         [BZ #6471]
80396         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80397         for 2.16.
80399 2012-03-16  David S. Miller  <davem@davemloft.net>
80401         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80402         warnings.
80404         [BZ #6471]
80405         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80406         properly.
80407         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80408         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80409         sysdep_routines when subdir is sysvipc.
80410         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80411         __getshmlba helper.
80413         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80415 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80417         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80418         [__LP64__].
80420 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80422         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80423         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80424         (__lround): Renamed to ...
80425         (__llround): This.  Replace long int with long long int.
80426         Define lround functions as aliases of llround functions.
80427         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80429 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80431         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80432         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80433         adresses to uintptr_t.  Replace "long int" and "unsigned long
80434         int" with "greg_t" on va_arg.
80436 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80438         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80439         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80441         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80442         Move e_machine check before EI_CLASS check.  Handle x32
80443         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80444         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80445         SKIP_EM_IA_64 and include
80446         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80448         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80449         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80450         (add_system_dir): New macro.
80452         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80453         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80455 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80457         [BZ #2551]
80458         [BZ #2552]
80459         [BZ #2553]
80460         [BZ #2554]
80461         [BZ #2562]
80462         [BZ #2563]
80463         [BZ #2565]
80464         [BZ #2566]
80465         [BZ #2576]
80466         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80467         (y0): Likewise.
80468         * math/w_j0f.c (j0f): Likewise.
80469         (y0f): Likewise.
80470         * math/w_j0l.c (__j0l): Likewise.
80471         (__y0l): Likewise.
80472         * math/w_j1.c (j1): Likewise.
80473         (y1): Likewise.
80474         * math/w_j1f.c (j1f): Likewise.
80475         (y1f): Likewise.
80476         * math/w_j1l.c (__j1l): Likewise.
80477         (__y1l): Likewise.
80478         * math/w_jn.c (jn): Likewise.
80479         (yn): Likewise.
80480         * math/w_jnf.c (jnf): Likewise.
80481         (ynf): Likewise.
80482         * math/w_jnl.c (__jnl): Likewise.
80483         (__ynl): Likewise.
80484         * math/libm-test.inc (j0_test): Add more tests.
80485         (j1_test): Likewise.
80486         (jn_test): Likewise.  Add trailing semicolon to existing test.
80487         (y0_test): Likewise.
80488         (y1_test): Likewise.
80489         * sysdeps/i386/fpu/libm-test-ulps: Update.
80490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80492         [BZ #13851]
80493         [BZ #13854]
80494         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80495         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80496         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80497         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80498         (__tanl): Set errno for infinite argument.
80499         * sysdeps/i386/fpu/mptan.c: Remove.
80500         * sysdeps/i386/fpu/s_tan.S: Likewise.
80501         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80502         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80503         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80504         * math/libm-test.inc (tan_test): Add more tests and enable more
80505         tests for double and long double.
80506         * sysdeps/i386/fpu/libm-test-ulps: Update.
80507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80509 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80511         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80512         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80514 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80516         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80517         * configure.in: Use it for both main tree and add-ons.
80518         * configure: Regenerated.
80520 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80522         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80524 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80526         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80527         in comment.
80529         [BZ #13851]
80530         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80531         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80532         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80533         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80534         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80535         infinite argument.
80536         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80537         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80538         != 0 for prec == 2.
80539         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80540         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80541         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80542         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80543         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80544         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80545         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80546         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80547         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80548         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80549         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80550         * math/libm-test.inc (cos_test): Add more tests and enable more
80551         tests for long double.
80552         (sin_test): Likewise.
80553         (sincos_test): Likewise.
80554         * sysdeps/i386/fpu/libm-test-ulps: Update.
80555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80557 2012-03-16  David S. Miller  <davem@davemloft.net>
80559         * sysdeps/sparc/fpu/math_private.h: New file.
80561 2012-03-15  David S. Miller  <davem@davemloft.net>
80563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80564         file.
80565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80567         file.
80568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80571         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80572         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80573         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80574         sysdep routines.
80575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80577         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80578         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80580         * sysdeps/sparc/sparc-ifunc.h: New file.
80581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80582         sparc-ifunc.h
80583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80585         Likewise.
80586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80587         Likewise.
80588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80592         Likewise.
80593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80598         Likewise.
80599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80600         Likewise.
80601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80607         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80608         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80610         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80612         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80613         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80614         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80616         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80617         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80618         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80619         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80620         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80621         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80622         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80623         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80624         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80626 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80628         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80629         scaling.
80630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80632 2012-03-15  Andreas Jaeger  <aj@suse.de>
80634         [BZ #13852]
80635         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80636         ieee754/flt-32 implementation for sin, cos and sincos.
80637         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80638         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80639         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80640         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80641         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80642         ieee754/flt-32 implementation for tan.
80644         * math/libm-test.inc (cos_test): Enable some large input tests for
80645         float as well
80646         (sin_test): Likewise.
80647         (sincos_test): Likewise.
80648         (tan_test): Add tests for large input.
80650         * sysdeps/i386/fpu/libm-test-ulps: Update.
80652 2012-03-15  Andreas Jaeger  <aj@suse.de>
80654         [BZ #13658]
80655         * math/libm-test.inc (cos_test): Add more test cases.
80656         (sin_test): Likewise.
80657         (sincos_test): Likewise.
80659 2012-03-15  Andreas Jaeger  <aj@suse.de>
80661         [BZ #13837]
80662         * math/libm-test.inc (cos_test): Add a test case for large input
80663         value.
80664         (sin_test): Likewise.
80665         (sincos_test): Likewise.
80667 2012-03-15  Andreas Jaeger  <aj@suse.de>
80668             Joseph Myers  <joseph@codesourcery.com>
80670         [BZ #13658]
80671         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80672         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80673         * sysdeps/i386/fpu/branred.c: Likewise.
80674         * sysdeps/i386/fpu/dosincos.c: Likewise.
80675         * sysdeps/i386/fpu/mpa.c: Likewise.
80676         * sysdeps/i386/fpu/s_cos.S: Likewise.
80677         * sysdeps/i386/fpu/s_sin.S: Likewise.
80678         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80679         * sysdeps/i386/fpu/sincos32.c: Likewise.
80681         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80682         Define.
80683         (libc_feupdateenv_53bit): Define.
80684         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80685         Define.
80686         (libc_feupdateenv_53bit): Define.
80688         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80689         53 bit (without extend i386 double precision).
80691         * math/libm-test.inc (sincos_test): Add tests for large input.
80692         (sin): Likewise.
80693         (cos): Likewise.
80695         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80697 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80701 2012-03-15  David S. Miller  <davem@davemloft.net>
80703         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80704         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80705         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80706         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80711         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80712         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80713         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80714         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80715         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80716         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80717         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80719         file.
80720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80722         file.
80723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80725         file.
80726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80728         file.
80729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80730         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80731         fmin/fmax sysdep routines.
80732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80734 2012-03-14  David S. Miller  <davem@davemloft.net>
80736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80737         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80740         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80741         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80742         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80743         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80745         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80747         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80748         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80749         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80750         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80753         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80754         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80755         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80756         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80757         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80758         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80759         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80760         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80761         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80762         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80763         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80764         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80765         routines.
80766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80767         file.
80768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80770         file.
80771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80773         file.
80774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80776         file.
80777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80779         file.
80780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80782         file.
80783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80784         file.
80785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80786         file.
80787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80788         file.
80789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80790         New file.
80791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80792         file.
80793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80794         file.
80795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80797         file.
80798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80800         file.
80801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80803         file.
80804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80806         VIS3 routines.
80808         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80809         New file.
80811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80813         * sysdeps/sparc/configure.in: New file.
80814         * sysdeps/sparc/configure: Generate.
80815         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80816         * configure: Regenerate.
80817         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80818         * config.make.in (have-as-vis3): New.
80819         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80820         available use -Av9d instead of -Av9a.
80821         * sysdeps/sparc/sparc64/Makefile: Likewise.
80822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80824         New file.
80825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80826         file.
80827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80828         New file.
80829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80830         file.
80831         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80832         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80833         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80834         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80835         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80837         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80838         fzeros/fnegs to load 0x80000000 into a float register instead of
80839         using the stack.
80840         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80842 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80844         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80845         bits/syscall.h.
80846         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80847         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80848         ($(inst_includedir)/bits/syscall.h): Remove rule.
80849         ($(objpfx)bits/syscall.d): Include instead of
80850         $(objpfx)syscall-list.d.
80851         (generated): Change syscall-list.h and syscall-list.d to
80852         bits/syscall.h and bits/syscall.d.
80854 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80856         [BZ #13846]
80857         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80859 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80861         [BZ #13841]
80862         * math/s_csqrt.c: Include <float.h>.
80863         (__csqrt): Scale large or subnormal inputs.
80864         * math/s_csqrtf.c: Likewise.
80865         * math/s_csqrtl.c: Likewise.
80866         * math/libm-test.inc (csqrt_test): Add more tests.
80867         * sysdeps/i386/fpu/libm-test-ulps: Update.
80868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80870         [BZ #13840]
80871         * math/libm-test.inc (hypot_test): Add more tests.
80873 2012-03-13  David S. Miller  <davem@davemloft.net>
80875         [BZ #13840]
80876         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80877         double-precision for the calculation instead of scaling.
80879 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80881         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80882         manipulate bits before adding and subtracting TWO52[sx].
80883         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80884         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80885         Likewise.
80886         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80888 2012-03-13  David S. Miller  <davem@davemloft.net>
80890         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80891         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80892         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80893         rtld-global-offsets.h
80894         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80896         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80897         large parameters.
80899         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80901         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80902         'err' in the ifdef scope in which it is actually used.
80904         * nss/nss_db/db-init.c: Include string.h
80906 2012-03-12  David S. Miller  <davem@davemloft.net>
80908         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80909         masking out of the most significant byte of random value used.
80910         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80911         Fix coding style in previous change.
80913         * sysdeps/unix/sysv/linux/kernel-features.h
80914         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80915         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80916         expression.
80917         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80918         later.
80920 2012-03-11  David S. Miller  <davem@davemloft.net>
80922         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80923         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80924         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80925         for 'resultvar' otherwise things get truncated on 64-bit.
80927         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80928         Fix masking out of the most significant byte of random value used.
80930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80932 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80936 2012-03-09  David S. Miller  <davem@davemloft.net>
80938         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80939         variables with appropriate CPP guards.
80940         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80941         from the frame pointer, not the stack pointer.  Correct layout
80942         comments.  Fix test on resulting framesize and the management of
80943         the outregs buffer for pltexit.  Preserve floating point return
80944         values across _dl_call_pltexit call.
80945         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80946         framesize and the management of the outregs buffer for pltexit.
80947         Preserve floating point return values across _dl_call_pltexit
80948         call.
80949         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80950         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80951         (la_sparc64_gnu_pltexit): New functions.
80952         (print_exit): Fix format string for return register value.
80954 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80956         * sunrpc/Makefile (others): Add rpcgen.
80957         ($(objpfx)rpcgen): Remove special build rule and dependency on
80958         libc.
80959         * sunrpc/rpcgen.c: New file.
80961 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80963         [BZ #13673]
80964         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80965         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80966         * sysdeps/i386/crti.S: Likewise.
80967         * sysdeps/i386/crtn.S: Likewise.
80968         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80969         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80970         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80971         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80972         * sysdeps/sh/crti.S: Likewise.
80973         * sysdeps/sh/crtn.S: Likewise.
80974         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80976         [BZ #13673]
80977         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80978         with URL.
80979         * locale/programs/locfile-kw.gperf: Likewise.
80980         * locale/programs/charmap-kw.h: Regenerated.
80981         * locale/programs/locfile-kw.h: Likewise.
80983         [BZ #13673]
80984         * intl/plural.y: Replace FSF snail mail address with URL.
80985         * intl/plural.c: Regenerated.
80987 2012-03-09  Richard Henderson  <rth@twiddle.net>
80989         * include/math_private.h: Remove file.
80990         * math/math_private.h: Move file ...
80991         * sysdeps/generic/math_private.h: ... here.
80993         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80994         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80995         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80997         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80998         and <math_private.h>.
80999         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81000         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81001         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81002         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81003         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81004         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
81005         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81006         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81007         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81008         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81009         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81010         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81011         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81012         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81013         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81014         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81015         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81016         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81017         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81018         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81019         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81020         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81021         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81022         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81023         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
81024         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81025         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81026         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81027         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81028         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81029         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81030         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81031         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
81032         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81033         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81034         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81035         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81036         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81037         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81038         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81039         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
81040         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81041         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81042         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
81043         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
81044         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81045         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
81046         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
81047         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81048         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81049         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
81050         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
81051         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
81052         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81053         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
81054         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
81055         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81056         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
81057         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
81058         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
81059         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81060         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
81061         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81062         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81063         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
81064         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81065         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81066         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81067         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
81068         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
81069         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
81070         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81071         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
81072         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81073         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
81074         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
81075         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
81076         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81077         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
81078         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
81079         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
81080         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
81081         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
81082         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
81083         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81084         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
81085         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
81086         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
81087         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81088         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81089         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81090         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81091         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81092         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81093         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81094         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81095         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81096         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81097         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81098         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81099         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81100         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81101         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81102         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81103         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81104         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81105         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81106         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81107         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81108         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81109         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81110         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81111         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81112         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81113         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
81114         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81115         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81116         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81117         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81118         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81119         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81120         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81121         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81122         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
81123         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81124         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81125         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81126         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
81127         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81128         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
81129         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
81130         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81131         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81132         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
81133         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
81134         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81135         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81136         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81137         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
81138         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
81139         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81140         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81141         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81142         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
81143         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
81144         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81145         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81146         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81147         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
81148         * sysdeps/ieee754/k_standard.c: Likewise.
81149         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81150         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81151         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81152         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81153         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81154         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81155         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81156         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81157         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81158         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81159         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81160         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81161         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81162         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81163         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81164         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81165         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
81166         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81167         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81168         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
81169         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
81170         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
81171         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81172         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81173         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
81174         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
81175         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81176         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81177         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81178         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81179         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
81180         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81181         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81182         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81183         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
81184         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81185         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81186         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
81187         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
81188         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81189         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
81190         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
81191         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
81192         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81193         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
81194         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
81195         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81196         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81197         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81198         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81199         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81200         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
81201         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81202         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
81203         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81204         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81205         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
81206         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
81207         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81208         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81209         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81210         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
81211         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81212         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81213         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81214         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81215         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81216         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81217         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81218         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81219         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81220         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81221         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81222         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81223         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81224         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81225         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
81226         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81227         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81228         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
81229         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
81230         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
81231         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81232         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81233         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
81234         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81235         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81236         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
81237         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
81238         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81239         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
81240         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81241         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
81242         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
81243         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81244         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81245         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
81246         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
81247         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
81248         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
81249         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81250         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81251         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81252         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81253         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
81254         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81255         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81256         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
81257         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
81258         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81259         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81260         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81261         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81262         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81263         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81264         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81265         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81266         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81267         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81268         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81269         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81270         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81271         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81272         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81273         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81274         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
81275         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81276         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81277         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81278         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81279         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81280         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81281         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81282         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
81283         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81284         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81285         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
81286         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
81287         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81288         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
81289         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
81290         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81291         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
81292         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
81293         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81294         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81295         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81296         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81297         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81298         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81299         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81300         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81301         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81302         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81303         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81304         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81305         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81306         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81307         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81308         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81309         * sysdeps/ieee754/s_lib_version.c: Likewise.
81310         * sysdeps/ieee754/s_matherr.c: Likewise.
81311         * sysdeps/ieee754/s_signgam.c: Likewise.
81312         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81313         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81314         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81315         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81316         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81317         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81318         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81319         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81320         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81321         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81322         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81323         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81324         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81325         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81326         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81327         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81328         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81329         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81330         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81331         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81332         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81334 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81336         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81337         * sunrpc/rpc_main.c: Likewise.
81338         * sunrpc/rpc_svcout.c: Likewise.
81340 2012-03-09  David S. Miller  <davem@davemloft.net>
81342         * include/math_private.h: New file.
81344 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81346         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81347         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81348         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81349         from <bits/socket_type.h>.
81350         (enum __socket_type): Don't define here.
81351         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81353         bits/socket_type.h.
81355         [BZ #13566]
81356         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81357         checking __USE_GNU.
81359         * Makerules ($(inst_includedir)/%.h): New rule.
81360         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81361         (install-others): Remove variable setting.
81362         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81364 2012-03-08  Richard Henderson  <rth@twiddle.net>
81366         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81367         from macro to inline function; merge with the
81368         !__LIBC_INTERNAL_MATH_INLINES version.
81369         (__ieee754_sqrtf): Likewise.
81371         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81372         to inline function.
81373         (__rintf, __floor, __floorf): Likewise.
81375         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81376         macro to inline function.
81377         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81379         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81380         not <math/math_private.h>.
81382 2012-03-08  David S. Miller  <davem@davemloft.net>
81384         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81385         copyright year.
81386         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81388 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81390         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81391         normalization.
81392         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81393         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81395 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81397         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81398         be defined individually, they must be defined as a block.  Define
81399         S for printing a string instead of hidint the different by using a
81400         macro for adding the 'l'.
81401         * stdio-common/tst-fphex-wide.c: Adjust.
81403 2012-03-07  Marek Polacek  <polacek@redhat.com>
81405         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81407 2012-03-08  Marek Polacek  <polacek@redhat.com>
81409         [BZ #13806]
81410         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81411         * stdio-common/tst-fphex.c: Define a few macros to make the
81412         test reusable.  Use them.
81413         * stdio-common/tst-fphex-wide.c: New file.
81415 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81417         [BZ #6911]
81418         * manual/macros.texi (gnusystems): New macro.
81419         (nongnusystems): Likewise.
81420         (gnulinuxhurdsystems): Likewise.
81421         (gnuhurdsystems): Likewise..
81422         (gnulinuxsystems): Likewise.
81423         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81424         variants of the GNU system, not "GNU system".
81425         * manual/conf.texi: Likewise.
81426         * manual/errno.texi: Likewise.  Update example of errno macro
81427         expansion.
81428         * manual/filesys.texi: Likewise.
81429         (getumask): Document as specific to GNU/Hurd.
81430         * manual/install.texi: Likewise.  Reword some references to
81431         GNU/Linux.
81432         * manual/intro.texi: Likewise.
81433         * manual/io.texi: Likewise.
81434         (File Name Portability): Detail which constraints are inapplicable
81435         to all GNU systems and which are only inapplicable to GNU/Hurd.
81436         * manual/job.texi: Likewise.
81437         * manual/llio.texi: Likewise.
81438         (O_NOCTTY): Document as present on GNU/Linux.
81439         * manual/maint.texi: Likewise.
81440         * manual/memory.texi: Likewise.
81441         * manual/pattern.texi: Likewise.
81442         * manual/pipe.texi: Likewise.
81443         * manual/process.texi: Likewise.
81444         * manual/resource.texi: Likewise.
81445         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81446         child on GNU/Hurd.
81447         * manual/setjmp.texi: Likewise.
81448         * manual/signal.texi: Likewise.
81449         * manual/startup.texi: Likewise.
81450         * manual/stdio.texi: Likewise.
81451         * manual/terminal.texi: Likewise.
81452         (ONLCR): Document as POSIX.
81453         (OXTABS): Document availability on GNU/Linux as XTABS.
81454         (ONOEOT): Document availability separately from other bits.
81455         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81456         * manual/time.texi: Likewise.
81457         * manual/users.texi: Likewise.
81458         * INSTALL: Regenerated.
81459         * sysdeps/gnu/errlist.c: Regenerated.
81461         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81462         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81463         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81464         puts.
81465         * configure: Regenerated.
81467 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81469         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81470         default includes instead of AC_HEADER_CHECK.
81471         * sysdeps/i386/configure: Regenerated.
81473         [BZ #10716]
81474         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81475         * math/s_cacoshf.c (__cacoshf): Likewise.
81476         * math/s_cacoshl.c (__cacoshl): Likewise.
81477         * math/s_casinh.c (__casinh): Set signs of result from argument.
81478         * math/s_casinhf.c (__casinhf): Likewise.
81479         * math/s_casinhl.c (__casinhl): Likewise.
81480         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81481         (casinh_test): Add more tests.
81482         * sysdeps/i386/fpu/libm-test-ulps: Update.
81483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81485 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81487         * po/zh_TW.po: Update from translation team.
81489         * login/Makefile (distribute): Remove variable.
81490         * catgets/Makefile: Likewise.
81491         * mach/Makefile: Likewise.
81492         * malloc/Makefile: Likewise.
81493         * misc/Makefile: Likewise.
81494         * iconv/Makefile: Likewise.
81495         * nscd/Makefile: Likewise.
81496         * hurd/Makefile: Likewise.
81497         * manual/Makefile: Likewise.
81498         * locale/Makefile: Likewise.
81499         * intl/Makefile: Likewise.
81500         * conform/Makefile: Likewise.
81501         * nss/Makefile: Likewise.
81502         * time/Makefile: Likewise.
81503         * soft-fp/Makefile: Likewise.
81504         * dirent/Makefile: Likewise.
81505         * gmon/Makefile: Likewise.
81506         * po/Makefile: Likewise.
81507         * rt/Makefile: Likewise.
81508         * socket/Makefile: Likewise.
81509         * math/Makefile: Likewise.
81510         * signal/Makefile: Likewise.
81511         * debug/Makefile: Likewise.
81512         * elf/Makefile: Likewise.
81513         * timezone/Makefile: Likewise.
81514         * stdlib/Makefile: Likewise.
81515         * iconvdata/Makefile: Likewise.
81516         * sunrpc/Makefile: Likewise.
81517         * io/Makefile: Likewise.
81518         * argp/Makefile: Likewise.
81519         * inet/Makefile: Likewise.
81520         * hesiod/Makefile: Likewise.
81521         * grp/Makefile: Likewise.
81522         * csu/Makefile: Likewise.
81523         * wctype/Makefile: Likewise.
81524         * crypt/Makefile: Likewise.
81525         * libio/Makefile: Likewise.
81526         * string/Makefile: Likewise.
81527         * nis/Makefile: Likewise.
81528         * resolv/Makefile: Likewise.
81529         * stdio-common/Makefile: Likewise.
81530         * wcsmbs/Makefile: Likewise.
81531         * dlfcn/Makefile: Likewise.
81532         * posix/Makefile: Likewise.
81534         [BZ #6959]
81535         * timezone/Makefile: Don't install timezone files, just the programs
81536         and scripts.
81538 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81540         * nss/databases.def: Add missing gshadow entry.
81542         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81544 2012-03-06  Marek Polacek  <polacek@redhat.com>
81546         [BZ #13726]
81547         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81548         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81549         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81550         * stdio-common/tst-long-dbl-fphex.c: New file.
81552 2012-03-06  David S. Miller  <davem@davemloft.net>
81554         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81555         (set_obp_int): New function.
81556         (get_obp_int): New function.
81557         (__get_clockfreq_via_dev_openprom): Likewise.
81558         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81559         Avoid unused variable warnings on 'val' and use builtin_expect.
81560         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81561         __builtin_expect.
81562         (INLINE_CLONE_SYSCALL): Likewise.
81564 2012-03-05  David S. Miller  <davem@davemloft.net>
81566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81568 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81572         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81573         only for |x| >= 40.
81574         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81576 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81578         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81579         Replace gettimeofday with __vdso_gettimeofday.
81581         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81582         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81583         __vdso_clock_gettime and __vdso_getcpu.
81585         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81586         time with __vdso_time.
81588 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81590         * manual/lang.texi (size_t): Note types to which size_t may be
81591         equivalent with the GNU C Library, but do not describe when
81592         differences between them are significant.
81594 2012-03-05  Andreas Jaeger  <aj@suse.de>
81596         * sysdeps/i386/fpu/libm-test-ulps: Update.
81598 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81600         [BZ #3976]
81601         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81602         (__ieee754_pow): Save and restore rounding mode and use
81603         round-to-nearest for main computations.
81604         * math/libm-test.inc (pow_test_tonearest): New function.
81605         (pow_test_towardzero): Likewise.
81606         (pow_test_downward): Likewise.
81607         (pow_test_upward): Likewise.
81608         (main): Call the new functions.
81609         * sysdeps/i386/fpu/libm-test-ulps: Update.
81610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81612         [BZ #3976]
81613         * math/libm-test.inc (cosh_test_tonearest): New function.
81614         (cosh_test_towardzero): Likewise.
81615         (cosh_test_downward): Likewise.
81616         (cosh_test_upward): Likewise.
81617         (sinh_test_tonearest): Likewise.
81618         (sinh_test_towardzero): Likewise.
81619         (sinh_test_downward): Likewise.
81620         (sinh_test_upward): Likewise.
81621         (main): Call the new functions.
81622         * sysdeps/i386/fpu/libm-test-ulps: Update.
81623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81625 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81627         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81628         default stack guard is set in last bytes.
81629         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81631 2012-03-05  Kees Cook  <keescook@chromium.org>
81633         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81635         [BZ #13656]
81636         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81637         possibly allocate from heap instead of stack.
81638         * stdio-common/bug-vfprintf-nargs.c: New file.
81639         * stdio-common/Makefile (tests): Add nargs overflow test.
81641 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81645 2012-03-03  Marek Polacek  <polacek@redhat.com>
81647         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81648         * math/math_private.h: Likewise.
81649         * stdlib/tst-strtod.c: Likewise.
81650         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81651         * sysdeps/x86_64/bits/atomic.h: Likewise.
81653 2012-03-02  David S. Miller  <davem@davemloft.net>
81655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81659         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81660         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81661         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81662         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81664 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81666         [BZ #13792]
81667         * manual/examples/README: New file, says the example source files
81668         can be used under GPL>=2.
81669         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81670         line containing just "*/".
81671         * manual/examples/add.c: Add copyright header (GPL>=2).
81672         * manual/examples/argp-ex1.c: Likewise.
81673         * manual/examples/argp-ex2.c: Likewise.
81674         * manual/examples/argp-ex3.c: Likewise.
81675         * manual/examples/argp-ex4.c: Likewise.
81676         * manual/examples/atexit.c: Likewise.
81677         * manual/examples/db.c: Likewise.
81678         * manual/examples/dir.c: Likewise.
81679         * manual/examples/dir2.c: Likewise.
81680         * manual/examples/execinfo.c: Likewise.
81681         * manual/examples/filecli.c: Likewise.
81682         * manual/examples/filesrv.c: Likewise.
81683         * manual/examples/fmtmsgexpl.c: Likewise.
81684         * manual/examples/genpass.c: Likewise.
81685         * manual/examples/inetcli.c: Likewise.
81686         * manual/examples/inetsrv.c: Likewise.
81687         * manual/examples/isockad.c: Likewise.
81688         * manual/examples/longopt.c: Likewise.
81689         * manual/examples/memopen.c: Likewise.
81690         * manual/examples/memstrm.c: Likewise.
81691         * manual/examples/mkfsock.c: Likewise.
81692         * manual/examples/mkisock.c: Likewise.
81693         * manual/examples/mygetpass.c: Likewise.
81694         * manual/examples/pipe.c: Likewise.
81695         * manual/examples/popen.c: Likewise.
81696         * manual/examples/rprintf.c: Likewise.
81697         * manual/examples/search.c: Likewise.
81698         * manual/examples/select.c: Likewise.
81699         * manual/examples/setjmp.c: Likewise.
81700         * manual/examples/sigh1.c: Likewise.
81701         * manual/examples/sigusr.c: Likewise.
81702         * manual/examples/stpcpy.c: Likewise.
81703         * manual/examples/strdupa.c: Likewise.
81704         * manual/examples/strftim.c: Likewise.
81705         * manual/examples/strncat.c: Likewise.
81706         * manual/examples/subopt.c: Likewise.
81707         * manual/examples/swapcontext.c: Likewise.
81708         * manual/examples/termios.c: Likewise.
81709         * manual/examples/testopt.c: Likewise.
81710         * manual/examples/testpass.c: Likewise.
81711         * manual/examples/timeval_subtract.c: Likewise.
81713         [BZ #13792]
81714         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81715         function to ...
81716         * manual/timeval_subtract.c.texi: ... here, new file.
81718 2012-03-02  David S. Miller  <davem@davemloft.net>
81720         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81722 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81724         [BZ #3976]
81725         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81726         (__sin): Save and restore rounding mode and use round-to-nearest
81727         for all computations.
81728         (__cos): Save and restore rounding mode and use round-to-nearest
81729         for all computations.
81730         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81731         <fenv.h>.
81732         (tan): Save and restore rounding mode and use round-to-nearest for
81733         all computations.
81734         * math/libm-test.inc (cos_test_tonearest): New function.
81735         (cos_test_towardzero): Likewise.
81736         (cos_test_downward): Likewise.
81737         (cos_test_upward): Likewise.
81738         (sin_test_tonearest): Likewise.
81739         (sin_test_towardzero): Likewise.
81740         (sin_test_downward): Likewise.
81741         (sin_test_upward): Likewise.
81742         (tan_test_tonearest): Likewise.
81743         (tan_test_towardzero): Likewise.
81744         (tan_test_downward): Likewise.
81745         (tan_test_upward): Likewise.
81746         (main): Call the new functions.
81747         * sysdeps/i386/fpu/libm-test-ulps: Update.
81748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81750         [BZ #10135]
81751         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81752         small n, then large n, before computing and testing k+n.
81753         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81754         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81755         Likewise.
81756         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81757         Likewise.
81758         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81759         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81760         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81761         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81762         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81763         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81764         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81765         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81766         * math/libm-test.inc (scalbn_test): Add more tests.
81767         (scalbln_test): Likewise.
81769         * manual/filesys.texi (mode_t): Describe constraints on size and
81770         signedness, not exact equivalence to a particular type.
81771         (ino_t): Likewise.
81772         (ino64_t): Likewise.
81773         (dev_t): Likewise.
81774         (nlink_t): Likewise.
81775         (blkcnt_t): Likewise.
81776         (blkcnt64_t): Likewise.
81777         * manual/llio.texi (off_t): Likewise.
81779         [BZ #3976]
81780         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81781         (__ieee754_exp): Save and restore rounding mode and use
81782         round-to-nearest for all computations.
81783         * math/libm-test.inc (exp_test_tonearest): New function.
81784         (exp_test_towardzero): Likewise.
81785         (exp_test_downward): Likewise.
81786         (exp_test_upward): Likewise.
81787         (main): Call the new functions.
81788         * sysdeps/i386/fpu/libm-test-ulps: Update.
81789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81791 2012-03-01  Chris Demetriou  <cgd@google.com>
81793         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81794         have predictable order.
81796 2012-03-01  David S. Miller  <davem@davemloft.net>
81798         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81800         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81801         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81802         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81803         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81805         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81806         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81807         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81809         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81810         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81811         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81812         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81813         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81817         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81818         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81819         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81821         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81822         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81823         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81824         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81825         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81826         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81827         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81828         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81829         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81830         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81831         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81832         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81833         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81834         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81835         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81836         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81837         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81838         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81839         * sysdeps/sparc/elf/configure: Regenerated.
81841 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81843         * configure.in (AS, LD): Require binutils 2.20 or later.
81844         * configure: Regenerated.
81845         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81846         as required minimum version.
81847         * INSTALL: Regenerated.
81849         [BZ #2541]
81850         [BZ #4108]
81851         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81852         before squaring exponent.
81853         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81854         bottom long double and 27 bits of top long double before squaring
81855         exponent.
81856         * math/libm-test.inc (erfc_test): Add more tests.
81857         * sysdeps/i386/fpu/libm-test-ulps: Update.
81858         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81861 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81863         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81864         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81865         containing bit-fields.
81866         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81867         * soft-fp/single.h (_FP_UNION_S): Likewise.
81868         * soft-fp/double.h (_FP_UNION_D): Likewise.
81870 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81872         [BZ #13786]
81873         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81874         not include ../strcmp.S.
81875         [USE_AS_STRNCASECMP_L]: Likewise.
81876         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81877         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81878         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81879         (__strncasecmp_l_ia32): Define as alias to
81880         __strncasecmp_l_nonascii.
81882         [BZ #5794]
81883         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81884         * sysdeps/i386/fpu/libm-test-ulps: Update.
81885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81887         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81890 2012-02-29  Jeff Law  <law@redhat.com>
81892         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81893         out of bounds read.
81895 2012-02-29  Marek Polacek  <polacek@redhat.com>
81897         [BZ #13706]
81898         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81899         * elf/Makefile: Add rules to run tst-unused-dep.out.
81901 2012-02-28  David S. Miller  <davem@davemloft.net>
81903         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81904         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81905         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81906         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81907         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81908         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81910 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81912         * math/libm-test.inc (llround_test): Move one test from
81913         lround_test.  Use TEST_f_L in moved test.
81914         (lround_test): Move misplaced test to llround_test.  Add testcase
81915         from bug 2561.
81917 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81919         * sysdeps/x86_64/fpu/e_expf.S: New file.
81920         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81922 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81924         [BZ #13637]
81925         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81926         of remain_len that may cause incomplete multi-byte character and
81927         false match.
81928         * posix/bug-regex33.c: New file.
81929         * posix/Makefile (tests): Add bug-regex33.
81931 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81933         * manual/macros.texi: New file.
81934         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81935         * manual/libc.texinfo: Include macros.texi.
81936         * manual/creatute.texi: Likewise.
81937         * manual/install.texi: Likewise.
81938         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81939         @glibcadj{} in references to the GNU C Library.
81940         * manual/charset.texi: Likewise.
81941         * manual/conf.texi: Likewise.
81942         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81943         when not using those macros.
81944         * manual/creature.texi: Likewise.
81945         * manual/crypt.texi: Likewise.
81946         * manual/errno.texi: Likewise.
81947         * manual/filesys.texi: Likewise.
81948         * manual/header.texi: Likewise.
81949         * manual/install.texi: Likewise.
81950         * manual/intro.texi: Likewise.
81951         * manual/io.texi: Likewise.
81952         * manual/job.texi: Likewise.
81953         * manual/lang.texi: Likewise.
81954         * manual/libc.texiinfo: Likewise.
81955         * manual/llio.texi: Likewise.
81956         * manual/locale.texi: Likewise.
81957         * manual/maint.texi: Likewise.
81958         * manual/math.texi: Likewise.
81959         * manual/memory.texi: Likewise.
81960         * manual/message.texi: Likewise.
81961         * manual/nss.texi: Likewise.
81962         * manual/pattern.texi: Likewise.
81963         * manual/process.texi: Likewise.
81964         * manual/resource.texi: Likewise.
81965         * manual/search.texi: Likewise.
81966         * manual/setjmp.texi: Likewise.
81967         * manual/signal.texi: Likewise.
81968         * manual/socket.texi: Likewise.
81969         * manual/startup.texi: Likewise.
81970         * manual/stdio.texi: Likewise.
81971         * manual/string.texi: Likewise.
81972         * manual/sysinfo.texi: Likewise.
81973         * manual/syslog.texi: Likewise.
81974         * manual/terminal.texi: Likewise.
81975         * manual/time.texi: Likewise.
81976         * manual/users.texi: Likewise.
81977         * INSTALL: Regenerated.
81978         * NOTES: Regenerated.
81979         * sysdeps/gnu/errlist.c: Regenerated.
81981 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81983         * include/dirent.h: Include <dirstream.h> before
81984         <dirent/dirent.h>.
81986 2012-02-28  David S. Miller  <davem@davemloft.net>
81988         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81989         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81990         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81991         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81993 2012-02-27  David S. Miller  <davem@davemloft.net>
81995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81997         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81998         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
82000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
82001         frame pointer instead of stack pointer relative arg slot.
82002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82003         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82004         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82006 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
82008         [BZ #3992]
82009         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
82011 2012-02-27  David S. Miller  <davem@davemloft.net>
82013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
82014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
82017         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82018         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82019         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
82020         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
82022 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82024         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
82025         later.  Allow versions 5-9.
82026         * configure: Regenerated.
82027         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
82028         required minimum version and 4.6 as recommended version.  Do not
82029         mention bugs in GCC 2.7 and 2.8.
82030         * INSTALL: Regenerated.
82032 2012-02-27  David S. Miller  <davem@davemloft.net>
82034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
82035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
82036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
82037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
82038         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
82039         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
82040         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
82041         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
82043         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
82044         manipulate bits before adding and subtracting TWO112[sx].
82045         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
82047 2012-02-27  Roland McGrath  <roland@hack.frob.com>
82049         [BZ #13775]
82050         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
82051         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
82052         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
82053         being in POSIX, because they are in 1003.1-2008.
82055         * rt/tst-aio.c: Include <fcntl.h>.
82056         * rt/tst-aio7.c: Likewise.
82057         * rt/tst-aio64.c: Likewise.
82059         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
82061 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82063         * manual/install.texi (--with-headers): Describe headers as
82064         interface headers, not private headers.
82065         (Specific advice for GNU/Linux systems): Describe use of headers
82066         from "make headers_install", not private headers from older
82067         kernels.
82068         * INSTALL: Regenerated.
82069         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
82070         Change to 2.6.19.
82071         * sysdeps/unix/sysv/linux/configure: Regenerated.
82073         * manual/llio.texi (fclean): Remove documentation.
82075         * manual/Makefile (libc-texi-generated): New variable.  Include
82076         version.texi.
82077         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
82078         $(libc-texi-generated), not duplicated list of files.
82079         (version.texi, stamp-version): New rules.
82080         (realclean): Remove $(libc-texi-generated), not individual files
82081         from that list.  Do not remove dir-add.texinfo.
82082         * manual/libc.texinfo: Comment out uses of edition numbers and
82083         references to printed manual.  Remove last-updated dates.
82084         (EDITION): Comment out.
82085         (ISBN): Likewise.
82086         (VERSION, UPDATED): Remove.
82087         (version.texi): Include.
82089 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
82091         * sysdeps/posix/spawni.c: Include <signal.h>.
82092         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
82093         * sysdeps/pthread/aio_fsync.c: Likewise.
82095 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
82097         * conform/Makefile (tests): Run only when not cross-compiling and
82098         when fast-check is not defined.
82100         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
82101         * conform/data/limits.h-data: Fixes for POSIX2008.
82102         * conform/run-conformtest.sh: Run all tests.
82103         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
82104         headers.
82105         * include/bits/dlfcn.h: Likewise.
82106         * include/langinfo.h: Likewise.
82107         * include/monetary.h: Likewise.
82108         * include/sys/poll.h: Likewise.
82110         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
82111         for __USE_GNU.
82112         * posix/spawn.h: Define __need_sigset_t.
82113         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
82114         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
82115         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
82116         to get sigevent_t only.
82117         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
82118         only for __USE_GNU.
82119         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82120         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82121         process_vm_writev only for __USE_GNU.
82122         * termios/termios.h: Declare tcgetsid also for POSIX2008.
82124         * conform/Makefile: For now ignore errors from run-conformtest.
82125         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
82126         POSIX to avoid namespace pollution.  Don't prepend headers.
82127         * conform/data/aio.h-data: Fixes for POSIX testing.
82128         * conform/data/fcntl.h-data: Likewise.
82129         * conform/data/glob.h-data: Likewise.
82130         * conform/data/grp.h-data: Likewise.
82131         * conform/data/pthread.h-data: Likewise.
82132         * conform/data/pwd.h-data: Likewise.
82133         * conform/data/signal.h-data: Likewise.
82134         * conform/data/spawn.h-data: Likewise.
82135         * conform/data/stdio.h-data: Likewise.
82136         * conform/data/stdlib.h-data: Likewise.
82137         * conform/data/stropts.h-data: Likewise.
82138         * conform/data/sys/mman.h-data: Likewise.
82139         * conform/data/sys/stat.h-data: Likewise.
82140         * conform/data/sys/types.h-data: Likewise.
82141         * conform/data/sys/wait.h-data: Likewise.
82142         * conform/data/time.h-data: Likewise.
82143         * conform/data/unistd.h-data: Likewise.
82144         * conform/data/utime.h-data: Likewise.
82146         * io/sys/stat.h: fchmod was always in POSIX.
82147         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
82148         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
82149         * rt/aio.h: Define __need_timespec before including <time.h>.
82150         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
82151         struct.  Add forward declaration of pthread_attr_t and use it in
82152         sigevent.
82153         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82154         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82155         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
82156         always remove CLK_TCK definition.
82158 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
82160         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
82162 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
82164         * conform/run-conformtest.sh: New file.
82165         * conform/Makefile: Run run-conformtest for tests.
82166         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
82167         support.
82169         * conform/data/uchar.h-data: New file.
82170         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
82171         * conform/data/arpa/inet.h-data: Likewise.
82172         * conform/data/assert.h-data: Likewise.
82173         * conform/data/complex.h-data: Likewise.
82174         * conform/data/cpio.h-data: Likewise.
82175         * conform/data/ctype.h-data: Likewise.
82176         * conform/data/dirent.h-data: Likewise.
82177         * conform/data/dlfcn.h-data: Likewise.
82178         * conform/data/errno.h-data: Likewise.
82179         * conform/data/fcntl.h-data: Likewise.
82180         * conform/data/float.h-data: Likewise.
82181         * conform/data/fmtmsg.h-data: Likewise.
82182         * conform/data/fnmatch.h-data: Likewise.
82183         * conform/data/ftw.h-data: Likewise.
82184         * conform/data/glob.h-data: Likewise.
82185         * conform/data/grp.h-data: Likewise.
82186         * conform/data/iconv.h-data: Likewise.
82187         * conform/data/inttypes.h-data: Likewise.
82188         * conform/data/langinfo.h-data: Likewise.
82189         * conform/data/libgen.h-data: Likewise.
82190         * conform/data/limits.h-data: Likewise.
82191         * conform/data/locale.h-data: Likewise.
82192         * conform/data/math.h-data: Likewise.
82193         * conform/data/monetary.h-data: Likewise.
82194         * conform/data/mqueue.h-data: Likewise.
82195         * conform/data/ndbm.h-data: Likewise.
82196         * conform/data/net/if.h-data: Likewise.
82197         * conform/data/netdb.h-data: Likewise.
82198         * conform/data/netinet/in.h-data: Likewise.
82199         * conform/data/nl_types.h-data: Likewise.
82200         * conform/data/poll.h-data: Likewise.
82201         * conform/data/pthread.h-data: Likewise.
82202         * conform/data/pwd.h-data: Likewise.
82203         * conform/data/regex.h-data: Likewise.
82204         * conform/data/sched.h-data: Likewise.
82205         * conform/data/search.h-data: Likewise.
82206         * conform/data/semaphore.h-data: Likewise.
82207         * conform/data/setjmp.h-data: Likewise.
82208         * conform/data/signal.h-data: Likewise.
82209         * conform/data/spawn.h-data: Likewise.
82210         * conform/data/stdarg.h-data: Likewise.
82211         * conform/data/stdio.h-data: Likewise.
82212         * conform/data/stdlib.h-data: Likewise.
82213         * conform/data/string.h-data: Likewise.
82214         * conform/data/strings.h-data: Likewise.
82215         * conform/data/stropts.h-data: Likewise.
82216         * conform/data/sys/ipc.h-data: Likewise.
82217         * conform/data/sys/mman.h-data: Likewise.
82218         * conform/data/sys/msg.h-data: Likewise.
82219         * conform/data/sys/resource.h-data: Likewise.
82220         * conform/data/sys/select.h-data: Likewise.
82221         * conform/data/sys/sem.h-data: Likewise.
82222         * conform/data/sys/shm.h-data: Likewise.
82223         * conform/data/sys/socket.h-data: Likewise.
82224         * conform/data/sys/stat.h-data: Likewise.
82225         * conform/data/sys/statvfs.h-data: Likewise.
82226         * conform/data/sys/time.h-data: Likewise.
82227         * conform/data/sys/timeb.h-data: Likewise.
82228         * conform/data/sys/times.h-data: Likewise.
82229         * conform/data/sys/types.h-data: Likewise.
82230         * conform/data/sys/uio.h-data: Likewise.
82231         * conform/data/sys/un.h-data: Likewise.
82232         * conform/data/sys/utsname.h-data: Likewise.
82233         * conform/data/sys/wait.h-data: Likewise.
82234         * conform/data/syslog.h-data: Likewise.
82235         * conform/data/tar.h-data: Likewise.
82236         * conform/data/termios.h-data: Likewise.
82237         * conform/data/utime.h-data: Likewise.
82238         * conform/data/utmpx.h-data: Likewise.
82239         * conform/data/varargs.h-data: Likewise.
82240         * conform/data/wchar.h-data: Likewise.
82241         * conform/data/wctype.h-data: Likewise.
82242         * conform/data/wordexp.h-data: Likewise.
82244         * include/stropts.h: New file.
82245         * include/uchar.h: New file.
82246         * include/aio.h: Changes to allow conformtest.pl to use the headers.
82247         * include/assert.h: Likewise.
82248         * include/ctype.h: Likewise.
82249         * include/dirent.h: Likewise.
82250         * include/dlfcn.h: Likewise.
82251         * include/fcntl.h: Likewise.
82252         * include/fnmatch.h: Likewise.
82253         * include/glob.h: Likewise.
82254         * include/grp.h: Likewise.
82255         * include/libio.h: Likewise.
82256         * include/locale.h: Likewise.
82257         * include/math.h: Likewise.
82258         * include/net/if.h: Likewise.
82259         * include/netdb.h: Likewise.
82260         * include/netinet/in.h: Likewise.
82261         * include/pthread.h: Likewise.
82262         * include/pwd.h: Likewise.
82263         * include/regex.h: Likewise.
82264         * include/sched.h: Likewise.
82265         * include/search.h: Likewise.
82266         * include/setjmp.h: Likewise.
82267         * include/signal.h: Likewise.
82268         * include/stdio.h: Likewise.
82269         * include/stdlib.h: Likewise.
82270         * include/string.h: Likewise.
82271         * include/sys/cdefs.h: Likewise.
82272         * include/sys/mman.h: Likewise.
82273         * include/sys/msg.h: Likewise.
82274         * include/sys/resource.h: Likewise.
82275         * include/sys/select.h: Likewise.
82276         * include/sys/socket.h: Likewise.
82277         * include/sys/stat.h: Likewise.
82278         * include/sys/statvfs.h: Likewise.
82279         * include/sys/time.h: Likewise.
82280         * include/sys/times.h: Likewise.
82281         * include/sys/uio.h: Likewise.
82282         * include/sys/utsname.h: Likewise.
82283         * include/sys/wait.h: Likewise.
82284         * include/termios.h: Likewise.
82285         * include/time.h: Likewise.
82286         * include/ulimit.h: Likewise.
82287         * include/unistd.h: Likewise.
82288         * include/utime.h: Likewise.
82289         * include/wchar.h: Likewise.
82290         * include/wctype.h: Likewise.
82291         * include/wordexp.h: Likewise.
82293         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82295         * time/time.h: TIME_UTC must be a macro.
82296         Make timespec_get available for ISO C11 only as well.
82298 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82300         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82301         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82303 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82305         * configure.in: Use -o not -a in test for unsupported multi-arch.
82307 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82309         * manual/texinfo.tex: Update to version 2012-01-19.16.
82311 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82313         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82315 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82317         [BZ #13738]
82318         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82319         * manual/fdl-1.3.texi: New file.
82320         * manual/fdl-1.1.texi: File removed.
82322         [BZ #13738]
82323         * manual/libc.texinfo (FDL_VERSION): New @set.
82324         Use it for mention of FDL in cover text.
82325         (Documentation License): Use it in @include file name.
82327 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82328             Roland McGrath  <roland@hack.frob.com>
82330         [BZ #5461]
82331         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82332         (not LONG_LONG_MAX and LONG_LONG_MIN.
82333         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82334         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82335         name.
82336         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82338 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82340         [BZ #2547]
82341         [BZ #11365]
82342         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82343         manipulate bits before adding and subtracting TWO23[sx].
82344         * math/libm-test.inc (nearbyint_test): Add more tests.
82346 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82348         [BZ #2548]
82349         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82350         bits before adding and subtracting TWO23[sx].
82351         * math/libm-test.inc (rint_test): Add more tests.
82352         (rint_test_tonearest): Likewise.
82353         (rint_test_towardzero): Likewise.
82354         (rint_test_downward): Likewise.
82355         (rint_test_upward: Likewise.
82357 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82359         [BZ #10110]
82360         * include/stdc-predef.h: New file.  Extracted from features.h.
82361         * include/features.h: Include stdc-predef.h.
82362         * Makefile (headers): Add stdc-predef.h.
82363         * CONFORMANCE (Compiler limitations): Update.
82365 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82367         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82369 2012-02-21  David S. Miller  <davem@davemloft.net>
82371         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82372         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82374 2012-02-20  David S. Miller  <davem@davemloft.net>
82376         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82377         using a normal save/restore sequence, rather than allocating a
82378         dummy stack frame just to store a frame pointer and restore.
82379         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82381 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82383         * manual/install.texi: Fix stray word in line-wrapped comment.
82385 2012-02-20  David S. Miller  <davem@davemloft.net>
82387         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82388         both binutils and gcc support GOTDATA.
82390         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82391         "rd %pc" in the PIC register setup sequences.
82393         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82394         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82395         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82396         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82397         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82398         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82399         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82400         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82401         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82402         (SYSCALL_ERROR_HANDLER): Likewise.
82403         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82404         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82405         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82406         (SYSCALL_ERROR_HANDLER): Likewise.
82408         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82409         (HAVE_GCC_GOTDATA): New.
82410         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82411         relocation support in both binutils and gcc.
82412         * sysdeps/sparc/elf/configure: Regenerate.
82414         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82415         * sysdeps/sparc/sparc32/elf/configure: Delete.
82416         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82417         * sysdeps/sparc/sparc64/elf/configure: Delete.
82418         * sysdeps/sparc/elf/configure.in: New file.
82419         * sysdeps/sparc/elf/configure: Generate.
82421         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82422         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82423         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82424         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82425         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82427 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82429         * manual/install.texi: Do not mention specific glibc version
82430         numbers.
82431         * manual/libc.texinfo (VERSION, UPDATED): Update.
82432         (@copying): Use @copyright{} and range of years.
82434 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82436         [BZ #13695]
82437         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82438         [crti.S not in sysdirs] (generated): Do not append.
82439         [crti.S not in sysdirs] (omit-deps): Likewise.
82440         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82441         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82442         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82443         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82444         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82445         Likewise.
82446         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82447         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82448         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82449         * csu/defs.awk: Remove file.
82450         * sysdeps/generic/initfini.c: Likewise.
82451         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82452         variable.
82453         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82454         Likewise.
82456 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82458         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82459         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82460         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82461         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82462         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82463         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82464         <bits/epoll.h>.
82465         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82466         (__EPOLL_PACKED): Define to empty if not defined by
82467         <bits/epoll.h>.
82468         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82469         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82470         bits/epoll.h.
82472 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82474         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82475         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82476         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82477         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82478         <bits/timerfd.h>.
82479         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82480         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82481         bits/timerfd.h.
82483 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82485         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82486         in C locale.
82487         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82488         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82489         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82492 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82494         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82495         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82497 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82499         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82500         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82501         defined.
82502         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82503         Likewise.
82504         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82505         entry for 2.16.
82507 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82509         * math/w_acos.c: Use non-signaling floating-point comparisons.
82510         * math/w_acosf.c: Likewise.
82511         * math/w_acosh.c: Likewise.
82512         * math/w_acoshf.c: Likewise.
82513         * math/w_acoshl.c: Likewise.
82514         * math/w_acosl.c: Likewise.
82515         * math/w_asin.c: Likewise.
82516         * math/w_asinf.c: Likewise.
82517         * math/w_asinl.c: Likewise.
82518         * math/w_atanh.c: Likewise.
82519         * math/w_atanhf.c: Likewise.
82520         * math/w_atanhl.c: Likewise.
82521         * math/w_exp2.c: Likewise.
82522         * math/w_exp2f.c: Likewise.
82523         * math/w_exp2l.c: Likewise.
82524         * math/w_j0.c: Likewise.
82525         * math/w_j0f.c: Likewise.
82526         * math/w_j0l.c: Likewise.
82527         * math/w_j1.c: Likewise.
82528         * math/w_j1f.c: Likewise.
82529         * math/w_j1l.c: Likewise.
82530         * math/w_jn.c: Likewise.
82531         * math/w_jnf.c: Likewise.
82532         * math/w_log.c: Likewise.
82533         * math/w_log10.c: Likewise.
82534         * math/w_log10f.c: Likewise.
82535         * math/w_log10l.c: Likewise.
82536         * math/w_log2.c: Likewise.
82537         * math/w_log2f.c: Likewise.
82538         * math/w_log2l.c: Likewise.
82539         * math/w_logf.c: Likewise.
82540         * math/w_logl.c: Likewise.
82541         * math/w_sqrt.c: Likewise.
82542         * math/w_sqrtf.c: Likewise.
82543         * math/w_sqrtl.c: Likewise.
82544         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82545         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82546         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82547         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82548         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82550 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82552         [BZ #9739]
82553         * manual/string.texi (strnlen): Use correct parameter name in
82554         equivalent expression.
82556 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82558         [BZ #11174]
82559         * manual/users.texi (seteuid): Consistently use neweuid for
82560         argument name.
82562 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82564         [BZ #13704]
82565         * manual/nss.texi (Services in the NSS configuration): Correct
82566         list of services in example configuration file.
82568 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82570         [BZ #11322]
82571         * manual/arith.texi: Remove statements about negative zero
82572         behaving identically to zero.
82574 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82576         [BZ #5993]
82577         * manual/install.texi: Do not document upgrading from libc5.
82579 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82581         [BZ #4596]
82582         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82584 2012-02-18  David S. Miller  <davem@davemloft.net>
82586         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82587         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82588         %o7 across the call.
82589         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82590         instead.
82591         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82592         SETUP_PIC_REG_LEAF.
82593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82594         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82595         * sysdeps/sparc/crtn.S: Likewise.
82597 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82599         * aout/Makefile: Remove.
82601 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82603         [BZ #13058]
82604         * manual/examples/argp-ex1.c (main): Format definition in GNU
82605         style.
82606         * manual/examples/argp-ex2.c (main): Likewise.
82607         * manual/examples/argp-ex3.c (main): Likewise.
82608         * manual/examples/argp-ex4.c (main): Likewise.
82609         * manual/examples/longopt.c (main): Use new-style prototype
82610         definition.
82611         * manual/examples/strncat.c (main): Specify return type and use
82612         (void) for arguments.
82613         * manual/examples/subopt.c (main): Use char **argv argument.
82615 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82617         [BZ #5077]
82618         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82619         rounding modes.
82621 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82623         [BZ #6907]
82624         * manual/string.texi (strchr): Change when strchrnul is
82625         recommended.
82627 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82629         [BZ #174]
82630         * manual/locale.texi (setlocale): Document LOCPATH.
82632 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82634         [BZ #10210]
82635         * manual/process.texi (execle): Move @dots{} before last argument.
82637 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82639         [BZ #12047]
82640         * manual/charset.texi (Generic Charset Conversion): Fix typo
82641         (LC_TYPE -> LC_CTYPE).
82643 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82645         [BZ #5805]
82646         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82647         (scalbnf): Likewise.
82648         (scalbnl): Likewise.
82649         (scalbln): Likewise.
82650         (scalblnf): Likewise.
82651         (scalblnl): Likewise.
82652         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82653         (vwarnx): Likewise.
82654         (verr): Likewise.
82655         (verrx): Likewise.
82656         * manual/filesys.texi (telldir): Use braces around return type.
82657         * manual/llio.texi (mmap): Add space after comma.
82658         (mmap64): Likewise.
82659         * manual/math.texi (jn): Use @var{} on parameter names.
82660         (jnf): Likewise.
82661         (jnl): Likewise.
82662         (yn): Likewise.
82663         (ynf): Likewise.
82664         (ynl): Likewise.
82665         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82666         line.
82667         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82668         "...".
82669         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82670         (sched_get_priority_max): Likewise.
82671         * manual/signal.texi (sigvec): Add space after comma.
82672         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82673         names.
82674         (if_indextoname): Likewise.
82675         (if_freenameindex): Likewise.
82676         (sendto): Use ',' instead of '.' in prototype.
82677         * manual/startup.texi (syscall): Use @dots{} instead of literal
82678         "...".
82679         * manual/stdio.texi (__fpending): Separate initial words of
82680         paragraph from @deftypefun line.
82681         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82682         "...".
82683         (vsyslog): Use @var{} on parameter names.
82684         * manual/terminal.texi (stty): Use @var{} on parameter names.
82685         * manual/users.texi (getutmp): Use @var{} on parameter names.
82686         (getutmpx): Likewise.
82688 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82690         [BZ #6884]
82691         * manual/stdio.texi (fopen): Fix typos in description of
82692         ",ccs=STRING".
82694 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82696         [BZ #4026]
82697         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82698         get clock_id definition.
82700 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82702         [BZ #4822]
82703         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82704         (madvise): Cast every argument to void on its own.
82706 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82708         [BZ #9902]
82709         * manual/startup.texi (Exit Status): Fix typo.
82711 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82713         [BZ #10140]
82714         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82715         * manual/examples/argp-ex2.c: Likewise.
82716         * manual/examples/argp-ex3.c: Likewise.
82718 2012-02-16  Richard Henderson  <rth@redhat.com>
82720         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82721         * sysdeps/s390/s390-32/initfini.c: Remove.
82722         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82723         * sysdeps/s390/s390-64/initfini.c: Remove.
82725 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82727         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82728         compiler output for sysdeps/generic/initfini.c.
82729         * sysdeps/sh/elf/initfini.c: Remove file.
82731 2012-02-16  David S. Miller  <davem@davemloft.net>
82733         [BZ #11494]
82734         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82736         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82737         * sysdeps/sparc/crti.S: New file.
82738         * sysdeps/sparc/crtn.S: New file.
82739         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82740         * sysdeps/sparc/sparc64/Makefile: Likewise.
82742 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82744         [BZ #3335]
82745         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82747 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82749         [BZ #4822]
82750         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82752         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82753         (write, read, close): Likewise.
82754         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82756 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82758         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82759         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82760         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82761         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82762         <bits/signalfd.h>.
82763         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82764         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82765         bits/signalfd.h.
82767 2012-02-14  Marek Polacek  <polacek@redhat.com>
82769         * sysdeps/x86_64/crti.S: New file.
82770         * sysdeps/x86_64/crtn.S: New file.
82771         * sysdeps/x86_64/elf/initfini.c: Remove file.
82773 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82775         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82776         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82777         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82778         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82779         <bits/inotify.h>.
82780         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82781         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82782         bits/inotify.h.
82784 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82786         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82787         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82788         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82789         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82790         <bits/eventfd.h>.
82791         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82792         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82793         bits/eventfd.h.
82795 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82797         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82798         __feraiseexcept instead of feraiseexcept.
82800         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82801         nanosleep invocations.
82802         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82803         strings, and add error checking for a nanosleep invocations.
82805 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82807         Replace FSF snail mail address with URLs, as per GNU coding standards.
82808         Most of the snail mail addresses were wrong anyway, and omitting
82809         them makes the source code easier to maintain.  Almost all of the
82810         changes are to license notices and to locale LC_IDENTIFICATION
82811         addresses, except for this one:
82812         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82813         not its snail mail address.
82815 2012-02-09  Richard Henderson  <rth@twiddle.net>
82817         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82818         of kernel-features.h.
82820         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82822 2012-02-08  Marek Polacek  <polacek@redhat.com>
82824         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82825         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82826         * sysdeps/gnu/_G_config.h: Likewise.
82827         * sysdeps/generic/_G_config.h: Likewise.
82829 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82831         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82832         tests.
82833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82835         * sysdeps/powerpc/powerpc32/crti.S: New file.
82836         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82837         * sysdeps/powerpc/powerpc64/crti.S: New file.
82838         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82840         * Makeconfig (have-initfini): Don't set.
82841         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82842         * configure.in (nopic_initfini): Don't substitute.
82843         * config.h.in (HAVE_INITFINI): Don't #undef.
82844         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82845         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82847 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82849         Support crti.S and crtn.S provided directly by architectures.
82850         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82851         [crti.S in sysdirs] (omit-deps): Likewise.
82852         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82853         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82854         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82855         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82856         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82857         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82858         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82859         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82860         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82861         compiler output for sysdeps/generic/initfini.c.
82862         * sysdeps/i386/elf/Makefile: Remove file.
82863         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82865 2012-02-07  Marek Polacek  <polacek@redhat.com>
82867         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82868         * sysdeps/gnu/_G_config.h: Likewise.
82869         * sysdeps/mach/hurd/_G_config.h: Likewise.
82871 2012-02-07  Marek Polacek  <polacek@redhat.com>
82873         * math/Makefile (tests): Add tst-CMPLX2.
82874         * math/tst-CMPLX2.c: New file.
82876 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82878         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82880         * math/libm-test.inc (jn_test): Add missing L suffix.
82882 2012-02-06  Marek Polacek  <polacek@redhat.com>
82884         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82885         * sysdeps/i386/fpu/e_powf.S: Likewise.
82886         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82887         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82888         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82889         * sysdeps/i386/fpu/e_pow.S: Likewise.
82890         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82891         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82892         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82893         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82894         * sysdeps/i386/fpu/e_log2.S: Likewise.
82895         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82896         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82897         * sysdeps/i386/fpu/e_powl.S: Likewise.
82898         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82899         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82900         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82901         * sysdeps/i386/fpu/e_logl.S: Likewise.
82902         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82903         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82904         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82905         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82906         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82907         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82908         * sysdeps/i386/fpu/e_log.S: Likewise.
82909         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82910         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82911         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82912         * sysdeps/i386/fpu/e_logf.S: Likewise.
82913         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82914         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82915         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82916         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82917         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82918         * sysdeps/i386/fpu/e_log10.S: Likewise.
82919         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82920         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82921         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82922         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82923         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82924         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82925         * sysdeps/i386/asm-syntax.h: Likewise.
82926         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82927         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82928         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82929         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82930         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82931         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82932         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82933         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82934         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82935         * sysdeps/powerpc/sysdep.h: Likewise.
82936         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82937         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82939 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82941         [BZ #411]
82942         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82944 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82946         * sysdeps/i386/sysdep.h: Include <features.h>.
82947         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82948         version.
82950 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82952         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82953         Define.
82954         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82955         LOAD_PIC_REG_STR.
82957 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82959         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82960         (SETUP_PIC_REG): Use GET_PC_THUNK.
82961         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82962         macro.
82964 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82966         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82967         for non-PIC compilation.
82968         (SETUP_PIC_REG): Add .p2align directive.
82969         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82970         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82971         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82972         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82973         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82974         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82975         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82976         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82977         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82978         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82979         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82980         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82981         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82982         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82983         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82984         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82985         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82986         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82987         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82988         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82989         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82990         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82991         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82992         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82993         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82994         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82995         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82996         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82997         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82998         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82999         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
83000         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83001         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
83002         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
83003         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
83004         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
83005         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
83006         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
83007         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
83008         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
83009         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
83011 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83013         * math/tst-CMPLX.c: Include <stdio.h>.
83015 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
83017         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
83018         float.
83019         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83020         * sysdeps/sparc/bits/mathdef.h: Likewise.
83022 2012-01-31  Marek Polacek  <polacek@redhat.com>
83024         * libio/libio.h: Don't define _PARAMS.
83025         * locale/programs/config.h: Don't define PARAMS.
83026         * stdlib/strtol_l.c: Likewise.
83027         (__strtol_l): Remove PARAMS from the prototype.
83029 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
83031         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
83032         names.  Just use the correct names.  Remove unnecessary wrapper
83033         functions.
83034         * malloc/arena.c: Likewise.
83035         * malloc/hooks.c: Likewise.
83037         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
83038         ARENA_TEST says not to.  Simplify test for creation of a new arena.
83039         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
83041 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
83043         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
83044         into tail calls.
83045         (update_get_addr): New function.
83046         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
83047         GET_ADDR_MODULE parameter.
83049 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83051         * crypt/cert.c: Remove __STDC__ conditionals.
83052         * crypt/crypt-entry.c: Likewise.
83053         * crypt/crypt_util.c: Likewise.
83054         * libio/filedoalloc.c: Likewise.
83055         * libio/fileops.c: Likewise.
83056         * libio/genops.c: Likewise.
83057         * libio/iofclose.c: Likewise.
83058         * libio/iofdopen.c: Likewise.
83059         * libio/iofopen.c: Likewise.
83060         * libio/iofopen64.c: Likewise.
83061         * libio/iogetdelim.c: Likewise.
83062         * libio/iopopen.c: Likewise.
83063         * libio/obprintf.c: Likewise.
83064         * libio/oldfileops.c: Likewise.
83065         * libio/oldiofclose.c: Likewise.
83066         * libio/oldiofdopen.c: Likewise.
83067         * libio/oldiofopen.c: Likewise.
83068         * libio/oldiopopen.c: Likewise.
83069         * libio/wfiledoalloc.c: Likewise.
83070         * libio/wgenops.c: Likewise.
83071         * locale/programs/xmalloc.c: Likewise.
83072         * misc/syslog.c: Likewise.
83073         * stdio-common/xbug.c: Likewise.
83074         * string/memchr.c: Likewise.
83075         * string/memcmp.c: Likewise.
83076         * string/memrchr.c: Likewise.
83077         * string/rawmemchr.c: Likewise.
83078         * sysdeps/posix/getcwd.c: Likewise.
83079         * time/strftime_l.c: Likewise.
83081 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83083         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
83084         * config.make.in (config-cflags-sse2avx): Define.
83085         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
83086         Fix typo.
83088 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
83090         * scripts/config.guess: Update from upstream config git repository.
83091         * scripts/config.sub: Likewise.
83093 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
83095         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
83096         (EM_NUM): Update.
83097         (R_TILEPRO_*, R_TILEGX_*): New macros.
83099         * scripts/firstversions.awk: Fix bug in version range handling.
83101         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
83103         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
83105         * include/sys/epoll.h: New file.
83106         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
83107         libc_hidden_def.
83109 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
83111         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
83112         Avoid unnecessary __WORDSIZE == 64 test.
83113         (fmaxf): Use VEX format if possible.
83114         (fmax): Likewise.
83115         (fminf): Likewise.
83116         (fmin): Likewise.
83118         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
83119         * math/math_private.h: Remove libc_fegetround* and
83120         libc_fesetround*.
83121         * sysdeps/i386/configure.in: Check for -msse2avx.
83122         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
83123         also if SSE2AVX is defined.
83124         Remove libc_fegetround* and libc_fesetround*.
83125         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
83126         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
83127         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
83128         of HAS_YMM_USABLE.
83129         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83130         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83131         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83132         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83133         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83135         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
83137 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83139         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
83140         size is not set.
83141         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83143 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
83145         [BZ #13618]
83146         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
83147         relocation.
83148         * Makeconfig (libm): Define.
83149         * elf/Makefile: Add rules to build and run tst-relsort1.
83150         * elf/tst-relsort1.c: New file.
83151         * elf/tst-relsort1mod1.c: New file.
83152         * elf/tst-relsort1mod2.c: New file.
83154 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
83156         * math/s_ldexp.c: Remove __STDC__ conditionals.
83157         * math/s_ldexpf.c: Likewise.
83158         * math/s_ldexpl.c: Likewise.
83159         * math/s_nextafter.c: Likewise.
83160         * math/s_nexttowardf.c: Likewise.
83161         * math/s_significand.c: Likewise.
83162         * math/s_significandf.c: Likewise.
83163         * math/s_significandl.c: Likewise.
83164         * math/w_jnl.c: Likewise.
83165         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83166         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83167         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83168         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83169         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83170         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83171         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
83172         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83173         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83174         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83175         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83176         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83177         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83178         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83179         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83180         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83181         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83182         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83183         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83184         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83185         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83186         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83187         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83188         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83189         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83190         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83191         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83192         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83193         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83194         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83195         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83196         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83197         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83198         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83199         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83200         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83201         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83202         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83203         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83204         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83205         * sysdeps/ieee754/k_standard.c: Likewise.
83206         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83207         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83208         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83209         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83210         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83211         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83212         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83213         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83214         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83215         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83216         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83217         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83218         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83219         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83220         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83221         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83222         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83223         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83224         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83225         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83226         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83227         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83228         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83229         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83230         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83231         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83232         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83233         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83234         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83235         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83236         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83237         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
83238         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83239         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83240         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83241         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83242         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
83243         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83244         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83245         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
83246         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
83247         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83248         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
83249         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
83250         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83251         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
83252         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
83253         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83254         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83255         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
83256         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
83257         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83258         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83259         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83260         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83261         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83262         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
83263         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83264         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83265         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83266         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83267         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83268         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83269         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83270         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83271         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83272         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83273         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83274         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83275         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83276         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83277         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83278         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83279         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83280         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83281         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83282         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83283         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83284         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83285         * sysdeps/ieee754/s_matherr.c: Likewise.
83286         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83287         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83288         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83289         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83291 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83293         * crypt/md5.h: Remove __STDC__ conditionals.
83294         * libio/libioP.h: Likewise.
83295         * locale/programs/config.h: Likewise.
83296         * sysdeps/generic/sysdep.h: Likewise.
83297         * sysdeps/i386/asm-syntax.h: Likewise.
83298         * sysdeps/s390/asm-syntax.h: Likewise.
83299         * sysdeps/unix/sysdep.h: Likewise.
83300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83303 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83305         * libio/libio.h: Remove __STDC__ conditionals.
83306         * malloc/obstack.h: Likewise.
83307         * math/complex.h: Likewise.
83308         * math/math.h: Likewise.
83309         * sysdeps/generic/_G_config.h: Likewise.
83310         * sysdeps/gnu/_G_config.h: Likewise.
83311         * sysdeps/mach/hurd/_G_config.h: Likewise.
83312         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83313         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83314         * sysdeps/sparc/bits/mathdef.h: Likewise.
83316 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83318         [BZ #13583]
83319         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83320         Clean up HAS_* macros.
83321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83322         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83323         possible.
83324         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83325         HAS_AVX.
83326         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83327         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83328         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83329         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83330         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83332 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83334         * elf/tst-unique3.cc (gets): Remove declaration.
83335         * elf/tst-unique3lib.cc (gets): Likewise.
83336         * elf/tst-unique3lib2.cc (gets): Likewise.
83337         * elf/tst-unique4.cc (gets): Likewise.
83339 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83341         * include/stdio.h: Add C++ protection.  Add gets declarations and
83342         definitions.
83343         * debug/tst-chk1.c: Don't declare gets here.
83344         * stdio-common/tst-gets.c: Likewise.
83346 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83348         * posix/glob: Remove directory.
83350 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83352         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83354 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83356         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83357         of the non-standard EPFNOSUPPORT.
83359 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83361         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83362         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83363         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83365 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83367         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83369 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83371         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83372         transient errors.
83373         * nscd/grpcache.c (cache_addgr): Likewise.
83374         * nscd/hstcache.c (cache_addhst): Likewise.
83375         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83376         * nscd/pwdcache.c (cache_addpw): Likewise.
83377         * nscd/servicescache.c (cache_addserv): Likewise.
83379 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83381         * malloc/malloc.c: Various cleanups.
83382         * malloc/hooks.c: Likewise.
83384         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83385         * stdlib/bug-fmtmsg1.c: New file.
83387         * stdlib/fmtmsg.c (init): Add missing unlock.
83388         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83390 2012-01-12  Marek Polacek  <polacek@redhat.com>
83392         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83393         and _GNU_SOURCE.
83395 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83397         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83398         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83399         macro to ensure uniqueness of label name.
83400         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83401         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83403 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83405         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83407         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83408         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83409         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83410         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83412 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83414         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83416         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83417         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83418         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83420         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83422         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83423         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83424         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83425         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83427         * math/bits/math-finite.h: Add ldexp support.
83429 2012-01-10  Marek Polacek  <polacek@redhat.com>
83431         * locale/programs/localedef.h (show_archive_content): Add noreturn
83432         attribute.
83434 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83436         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83438 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83440         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83442         * io/Makefile (headers): Add bits/poll2.h.
83444 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83447         typo #include statement.
83449 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83451         * include/sys/cdefs.h: Define __attribute_alloc_size.
83452         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83453         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83454         * elf/pldd.c: Likewise.
83455         * iconv/iconv_charmap.c: Likewise.
83456         * iconv/iconvconfig.c: Likewise.
83457         * iconv/strtab.c: Likewise.
83458         * locale/programs/locale.c: Likewise.
83459         * locale/programs/localedef.h: Likewise.
83460         * locale/programs/simple-hash.c: Likewise.
83461         * nscd/nscd.h: Likewise.
83462         * nss/makedb.c: Likewise.
83463         * sysdeps/generic/ldconfig.h: Likewise.
83464         * locale/programs/localedef.c: Remove xmalloc prototype.
83465         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83467 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83469         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83470         appropriate.
83472 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83474         * math/Makefile (tests): Add tst-CMPLX.
83475         * math/tst-CMPLX.c: New file.
83477         * math/complex.h (CMPLXL): Fix typo.
83479         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83480         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83481         GLIBC_2.16.
83482         * debug/tst-chk1.c: Add poll and ppoll tests.
83483         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83484         * include/sys/poll.h: Add hidden proto for ppoll.
83485         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83486         * sysdeps/mach/hurd/ppoll.c: Likewise.
83487         * io/ppoll.c: Likewise.
83488         * debug/poll_chk.c: New file.
83489         * debug/ppoll_chk.c: New file.
83490         * include/bits/poll2.h: New file.
83491         * io/bits/poll2.h: New file.
83493         [BZ #1350]
83494         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83496         * configure.in: static is always set to yes.  Remove.
83497         * config.make.in: Don't set build-static.
83498         * Makeconfig: Remove use of build-static.
83499         * dlfcn/Makefile: Likewise.
83500         * elf/Makefile: Likewise.
83501         * math/Makefile: Likewise.
83502         * misc/Makefile: Likewise.
83503         * nptl/Makefile: Likewise.
83504         * sysdeps/mach/hurd/Makefile: Likewise.
83506         * configure.in: PWD_P is not used anymore.
83507         * config.make.in: Remove PWD_P entry.
83509         * configure.in: Remove last remnants of RANLIB.
83510         No need to check for signed size_t anymore.
83511         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83512         and IA-64.
83513         Remove __builtin_expect test because we require at least gcc 3.4.
83514         * aclocal.m4: Likewise.
83516         * wcsmbs/mbrtoc16.c: Implement using towc function.
83517         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83518         * wcsmbs/wcsmbsload.c: Likewise.
83519         * iconv/gconv_simple.c: Likewise.
83520         * iconv/gconv_int.h: Likewise.
83521         * iconv/gconv_builtin.h: Likewise.
83522         * iconv/iconv_prog.c: Remove CHAR16 handling.
83524         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83526         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83528         * configure.in: Remove --with-elf and --enable-bounded options.
83529         Dont set base_machine for ia64.  More non-ELF conditions removed.
83530         Remove testing and setting of leading underscore information.
83531         * config.make.in (build-bounded): Set to no.
83532         * config.h.in: Remove NO_UNDERSCORES entry.
83533         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83534         them.
83535         * csu/start.c: Remove !NO_UNDERSCORE code.
83536         * locale/localeinfo.h: Likewise.
83537         * sysdeps/generic/machine-gmon.h: Likewise.
83538         * sysdeps/generic/sysdep.h: Likewise.
83539         * sysdeps/i386/sysdep.h: Likewise.
83540         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83541         * sysdeps/mach/sysdep.h: Likewise.
83542         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83543         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83544         * sysdeps/sh/sysdep.h: Likewise.
83545         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83546         * sysdeps/unix/i386/sysdep.S: Likewise.
83547         * sysdeps/unix/sparc/start.c: Likewise.
83548         * sysdeps/unix/sparc/sysdep.S: Likewise.
83549         * sysdeps/unix/sparc/sysdep.h: Likewise.
83550         * sysdeps/unix/start.c: Likewise.
83551         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83552         * sysdeps/x86_64/sysdep.h: Likewise.
83554 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83556         [BZ #13553]
83557         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83558         for non-gcc.
83559         * argp/argp-fmtstream.h: Use const instead __const.
83560         * argp/argp.h: Likewise.
83561         * assert/assert.h: Likewise.
83562         * bits/fenv.h: Likewise.
83563         * bits/sched.h: Likewise.
83564         * bits/sigset.h: Likewise.
83565         * bits/sigthread.h: Likewise.
83566         * catgets/nl_types.h: Likewise.
83567         * conform/data/pthread.h-data: Likewise.
83568         * crypt/crypt-private.h: Likewise.
83569         * crypt/crypt.h: Likewise.
83570         * crypt/crypt_util.c: Likewise.
83571         * ctype/ctype.h: Likewise.
83572         * debug/execinfo.h: Likewise.
83573         * debug/mbsnrtowcs_chk.c: Likewise.
83574         * debug/mbsrtowcs_chk.c: Likewise.
83575         * debug/wcsnrtombs_chk.c: Likewise.
83576         * debug/wcsrtombs_chk.c: Likewise.
83577         * debug/wcstombs_chk.c: Likewise.
83578         * dirent/dirent.h: Likewise.
83579         * dlfcn/dlfcn.h: Likewise.
83580         * elf/neededtest4.c: Likewise.
83581         * grp/grp.h: Likewise.
83582         * gshadow/gshadow.h: Likewise.
83583         * iconv/gconv.h: Likewise.
83584         * iconv/gconv_int.h: Likewise.
83585         * iconv/gconv_simple.c: Likewise.
83586         * iconv/iconv.h: Likewise.
83587         * iconv/loop.c: Likewise.
83588         * iconv/skeleton.c: Likewise.
83589         * include/aio.h: Likewise.
83590         * include/aliases.h: Likewise.
83591         * include/argz.h: Likewise.
83592         * include/arpa/inet.h: Likewise.
83593         * include/assert.h: Likewise.
83594         * include/dirent.h: Likewise.
83595         * include/dlfcn.h: Likewise.
83596         * include/execinfo.h: Likewise.
83597         * include/fcntl.h: Likewise.
83598         * include/fenv.h: Likewise.
83599         * include/glob.h: Likewise.
83600         * include/grp.h: Likewise.
83601         * include/libintl.h: Likewise.
83602         * include/mntent.h: Likewise.
83603         * include/netdb.h: Likewise.
83604         * include/pwd.h: Likewise.
83605         * include/rpc/netdb.h: Likewise.
83606         * include/sched.h: Likewise.
83607         * include/search.h: Likewise.
83608         * include/shadow.h: Likewise.
83609         * include/signal.h: Likewise.
83610         * include/stdio.h: Likewise.
83611         * include/stdlib.h: Likewise.
83612         * include/string.h: Likewise.
83613         * include/sys/socket.h: Likewise.
83614         * include/sys/stat.h: Likewise.
83615         * include/sys/statfs.h: Likewise.
83616         * include/sys/statvfs.h: Likewise.
83617         * include/sys/syslog.h: Likewise.
83618         * include/sys/time.h: Likewise.
83619         * include/sys/uio.h: Likewise.
83620         * include/time.h: Likewise.
83621         * include/unistd.h: Likewise.
83622         * include/utmp.h: Likewise.
83623         * include/wchar.h: Likewise.
83624         * include/wctype.h: Likewise.
83625         * inet/aliases.h: Likewise.
83626         * inet/arpa/inet.h: Likewise.
83627         * inet/netinet/ether.h: Likewise.
83628         * inet/netinet/in.h: Likewise.
83629         * intl/libintl.h: Likewise.
83630         * io/bits/fcntl2.h: Likewise.
83631         * io/fcntl.h: Likewise.
83632         * io/ftw.h: Likewise.
83633         * io/sys/poll.h: Likewise.
83634         * io/sys/stat.h: Likewise.
83635         * io/sys/statfs.h: Likewise.
83636         * io/sys/statvfs.h: Likewise.
83637         * io/utime.h: Likewise.
83638         * libio/bits/stdio.h: Likewise.
83639         * libio/bits/stdio2.h: Likewise.
83640         * libio/libio.h: Likewise.
83641         * libio/libioP.h: Likewise.
83642         * libio/stdio.h: Likewise.
83643         * locale/lc-ctype.c: Likewise.
83644         * locale/locale.h: Likewise.
83645         * login/utmp.h: Likewise.
83646         * malloc/arena.c: Likewise.
83647         * malloc/malloc.c: Likewise.
83648         * malloc/malloc.h: Likewise.
83649         * malloc/mcheck.c: Likewise.
83650         * malloc/mtrace.c: Likewise.
83651         * math/bits/mathcalls.h: Likewise.
83652         * math/fenv.h: Likewise.
83653         * math/math_private.h: Likewise.
83654         * misc/bits/error.h: Likewise.
83655         * misc/bits/syslog.h: Likewise.
83656         * misc/err.h: Likewise.
83657         * misc/error.h: Likewise.
83658         * misc/fstab.h: Likewise.
83659         * misc/mntent.h: Likewise.
83660         * misc/regexp.h: Likewise.
83661         * misc/search.h: Likewise.
83662         * misc/sgtty.h: Likewise.
83663         * misc/sys/mman.h: Likewise.
83664         * misc/sys/syslog.h: Likewise.
83665         * misc/sys/uio.h: Likewise.
83666         * misc/sys/xattr.h: Likewise.
83667         * misc/ttyent.h: Likewise.
83668         * nis/rpcsvc/ypclnt.h: Likewise.
83669         * nss/nss.h: Likewise.
83670         * posix/bits/unistd.h: Likewise.
83671         * posix/fnmatch.h: Likewise.
83672         * posix/glob.h: Likewise.
83673         * posix/sched.h: Likewise.
83674         * posix/spawn.h: Likewise.
83675         * posix/sys/wait.h: Likewise.
83676         * posix/unistd.h: Likewise.
83677         * posix/wordexp.h: Likewise.
83678         * pwd/pwd.h: Likewise.
83679         * resolv/netdb.h: Likewise.
83680         * resource/sys/resource.h: Likewise.
83681         * rt/aio.h: Likewise.
83682         * rt/bits/mqueue2.h: Likewise.
83683         * rt/mqueue.h: Likewise.
83684         * shadow/shadow.h: Likewise.
83685         * signal/signal.h: Likewise.
83686         * socket/send.c: Likewise.
83687         * socket/sendto.c: Likewise.
83688         * socket/sys/socket.h: Likewise.
83689         * stdio-common/printf.h: Likewise.
83690         * stdlib/bits/stdlib.h: Likewise.
83691         * stdlib/fmtmsg.h: Likewise.
83692         * stdlib/monetary.h: Likewise.
83693         * stdlib/stdlib.h: Likewise.
83694         * stdlib/ucontext.h: Likewise.
83695         * streams/stropts.h: Likewise.
83696         * string/argz.h: Likewise.
83697         * string/bits/string2.h: Likewise.
83698         * string/string.h: Likewise.
83699         * string/strings.h: Likewise.
83700         * sunrpc/rpc/auth.h: Likewise.
83701         * sunrpc/rpc/auth_des.h: Likewise.
83702         * sunrpc/rpc/clnt.h: Likewise.
83703         * sunrpc/rpc/netdb.h: Likewise.
83704         * sunrpc/rpc/pmap_clnt.h: Likewise.
83705         * sunrpc/rpc/xdr.h: Likewise.
83706         * sysdeps/generic/inttypes.h: Likewise.
83707         * sysdeps/generic/net/if.h: Likewise.
83708         * sysdeps/generic/sys/swap.h: Likewise.
83709         * sysdeps/gnu/net/if.h: Likewise.
83710         * sysdeps/gnu/utmpx.h: Likewise.
83711         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83712         * sysdeps/i386/i486/bits/string.h: Likewise.
83713         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83714         * sysdeps/s390/bits/string.h: Likewise.
83715         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83716         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83717         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83718         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83719         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83720         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83721         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83722         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83723         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83724         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83725         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83726         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83727         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83728         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83729         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83730         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83731         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83732         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83733         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83734         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83735         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83736         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83737         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83738         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83739         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83740         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83741         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83742         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83743         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83744         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83745         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83746         * sysvipc/sys/ipc.h: Likewise.
83747         * sysvipc/sys/msg.h: Likewise.
83748         * sysvipc/sys/sem.h: Likewise.
83749         * sysvipc/sys/shm.h: Likewise.
83750         * termios/termios.h: Likewise.
83751         * time/sys/time.h: Likewise.
83752         * time/time.h: Likewise.
83753         * wcsmbs/bits/wchar2.h: Likewise.
83754         * wcsmbs/uchar.h: Likewise.
83755         * wcsmbs/wchar.h: Likewise.
83756         * wctype/wctype.h: Likewise.
83758         [BZ #13551]
83759         * Makeconfig: Remove all but ELF support including AIX support.
83760         * Makerules: Likewise.
83761         * config.h.in: Likewise.
83762         * config.make.in: Likewise.
83763         * configure: Likewise.
83764         * configure.in: Likewise.
83765         * csu/Makefile: Likewise.
83766         * csu/version.c: Likewise.
83767         * debug/Makefile: Likewise.
83768         * dlfcn/Makefile: Likewise.
83769         * elf/Makefile: Likewise.
83770         * extra-lib.mk: Likewise.
83771         * iconv/Makefile: Likewise.
83772         * include/libc-symbols.h: Likewise.
83773         * include/shlib-compat.h: Likewise.
83774         * resolv/Makefile: Likewise.
83775         * resolv/res_libc.c: Likewise.
83776         * rt/Makefile: Likewise.
83777         * sysdeps/i386/asm-syntax.h: Likewise.
83778         * sysdeps/i386/sysdep.h: Likewise.
83779         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83780         * sysdeps/mach/sysdep.h: Likewise.
83781         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83782         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83783         * sysdeps/s390/asm-syntax.h: Likewise.
83784         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83785         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83786         * sysdeps/sh/sysdep.h: Likewise.
83787         * sysdeps/unix/sparc/sysdep.h: Likewise.
83788         * sysdeps/wordsize-32/divdi3.c: Likewise.
83789         * sysdeps/x86_64/sysdep.h: Likewise.
83791         * argp/Versions: Remove _argp_unlock_xxx.
83793         [BZ #13559]
83794         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83795         * abilist/libBrokenLocale.abilist: Likewise.
83796         * abilist/libanl.abilist: Likewise.
83797         * abilist/libc.abilist: Likewise.
83798         * abilist/libcrypt.abilist: Likewise.
83799         * abilist/libdl.abilist: Likewise.
83800         * abilist/libm.abilist: Likewise.
83801         * abilist/libnsl.abilist: Likewise.
83802         * abilist/libpthread.abilist: Likewise.
83803         * abilist/libresolv.abilist: Likewise.
83804         * abilist/librt.abilist: Likewise.
83805         * abilist/libthread_db.abilist: Likewise.
83806         * abilist/libutil.abilist: Likewise.
83807         * abilist/libnss_db.abilist: New file.
83809         * scripts/abilist.awk: Add support for indirect functions.
83811         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83813         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83815         * shlib-versions: Remove entries for ports architectures.
83817         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83818         files in ports.
83819         * elf/stackguard-macros.h: Remove support for IA-64.
83820         * elf/tst-auditmod1.c: Likewise.
83821         * sysdeps/generic/ldsodefs.h: Likewise.
83823         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83824         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83825         configure files.
83827         [BZ #13552]
83828         * configure.in: Remove --enable-omitfp support.
83829         * FAQ.in: Adjust.
83830         * config.make.in: Likewise.
83831         * Makeconfig: Likewise.
83832         * manual/install.texi: Likewise.
83834         In case anyone cares, the IA-64 architecture could move to ports.
83835         * sysdeps/ia64/*: Removed.
83836         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83837         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83839         [BZ #13555]
83840         * configure.in: Remove entries for unsupported architectures.
83842         [BZ #13533]
83843         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83844         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83845         routines.
83846         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83847         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83848         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83849         fall back to using wcrtomb.
83850         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83851         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83852         renaming.
83853         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83854         * wcsmbs/tst-c16c32-1.c: New file.
83856         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83857         local variable.
83859         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83861         * elf/tst-unique3.cc: Add explicit declaration of gets.
83862         * elf/tst-unique3lib.cc: Likewise.
83863         * elf/tst-unique3lib2.cc: Likewise.
83864         * elf/tst-unique4.cc: Likewise.
83866         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83868 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83870         [BZ #13566]
83871         * assert/assert.h (static_assert): Don't define for C++.
83872         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83873         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83875 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83877         * iconv/loop.c (single loop): Fix assertion in storing of
83878         remaining bytes.
83880         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83882 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83884         * posix/getconf.c: Update copyright year.
83885         * nss/getent.c: Likewise.
83886         * nss/makedb.c: Likewise.
83887         * iconv/iconvconfig.c: Likewise.
83888         * iconv/iconv_prog.c: Likewise.
83889         * elf/ldconfig.c: Likewise.
83890         * elf/pldd.c: Likewise.
83891         * elf/sotruss.ksh: Likewise.
83892         * catgets/gencat.c: Likewise.
83893         * csu/version.c: Likewise.
83894         * elf/ldd.bash.in: Likewise.
83895         * elf/sprof.c (print_version): Likewise.
83896         * locale/programs/locale.c: Likewise.
83897         * locale/programs/localedef.c: Likewise.
83898         * login/programs/pt_chown.c: Likewise.
83899         * nscd/nscd.c (print_version): Likewise.
83900         * debug/xtrace.sh: Likewise.
83901         * malloc/memusage.sh: Likewise.
83902         * malloc/mtrace.pl: Likewise.
83903         * debug/catchsegv.sh: Likewise.
83905 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83907         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83908         pure attribute.
83910 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83912         [BZ #13533]
83913         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83914         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83915         transformations.
83916         * iconv/gconv_int.h: Likewise.
83917         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83918         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83919         from libc for GLIBC_2.16.
83920         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83921         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83922         * wcsmbs/uchar.h: Really define mbstate_t.
83923         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83924         * wcsmbs/c16rtomb.c: New file.
83925         * wcsmbs/mbrtoc16.c: New file.
83926         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83927         for C/POSIX locale.
83928         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83929         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83931         * wcsmbs/wchar.h: Add missing __restrict.
83933 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83935         [BZ #13532]
83936         * time/Makefile (routines): Add timespec_get.
83937         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83938         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83939         timespec for ISO C11.
83940         * time/timespec_get.c: New file.
83941         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83942         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83944         [BZ #13531]
83945         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83946         * stdlib/stdlib.h: Declare aligned_alloc.
83947         * Versions.def: Add GLIBC_2.16 for libc.
83948         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83950         [BZ 13527]
83951         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83952         ISO C11.
83954         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83955         code.
83957         [BZ #13528]
83958         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83960         [BZ #13529]
83961         * assert/assert.h (static_assert): Define.
83963         * version.h: Update for 2.16 development version.
83965         [BZ #13526]
83966         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83967         _ISOC11_SOURCE.
83969         * version.h (RELEASE): Bump for 2.15 release.
83970         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83972         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83973         Patch by Marek Polacek <mpolacek@redhat.com>.
83975         * bits/byteswap.h: Protect long long constants with __extension__.
83976         * sysdeps/i386/bits/byteswap.h: Likewise.
83977         * sysdeps/ia64/bits/byteswap.h: Likewise.
83978         * sysdeps/s390/bits/byteswap.h: Likewise.
83979         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83981 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83983         [BZ #13540]
83984         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83985         destination buffer.
83986         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83988 2011-12-23  Marek Polacek  <polacek@redhat.com>
83990         * elf/dl-addr.c (determine_info): Add inline keyword.
83991         * elf/tst-auditmod4b.c (check_avx): Likewise.
83992         * elf/tst-auditmod6b.c (check_avx): Likewise.
83993         * elf/tst-auditmod6c.c (check_avx): Likewise.
83994         * elf/tst-auditmod7b.c (check_avx): Likewise.
83996 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83998         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83999         !__SSE_MATH__.
84001 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84003         [BZ #13540]
84004         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
84005         processing for last bytes.
84007 2011-08-06  Bruno Haible  <bruno@clisp.org>
84009         [BZ #13061]
84010         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
84011         U+0385, not to U+1FEE.
84013         [BZ #13062]
84014         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
84015         entry for U+00A5 U+0301.
84017 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84019         [BZ #13166]
84020         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
84021         buffer for the output is too small.
84023         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
84024         optimization.
84026         [BZ #13185]
84027         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
84028         SSE flags if possible.
84030 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84032         [BZ #13540]
84033         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
84034         processing for last bytes.
84036 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
84038         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
84039         (syscall-list-default-options, syscall-list-default-condition)
84040         (syscall-list-includes): Define.
84041         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
84042         list of ABIs and options and #if conditions for each ABI.  Do not
84043         handle common syscalls between ABIs specially.
84044         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
84045         Remove.
84046         (syscall-list-variants, syscall-list-32bit-options)
84047         (syscall-list-32bit-condition, syscall-list-64bit-options)
84048         (syscall-list-64bit-condition): Define.
84049         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
84050         (syscall-list-variants, syscall-list-32bit-options)
84051         (syscall-list-32bit-condition, syscall-list-64bit-options)
84052         (syscall-list-64bit-condition): Define.
84053         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
84054         Remove.
84055         (syscall-list-variants, syscall-list-32bit-options)
84056         (syscall-list-32bit-condition, syscall-list-64bit-options)
84057         (syscall-list-64bit-condition): Define.
84058         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
84059         Remove.
84060         (syscall-list-variants, syscall-list-32bit-options)
84061         (syscall-list-32bit-condition, syscall-list-64bit-options)
84062         (syscall-list-64bit-condition): Define.
84064 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84066         * locale/iso-639.def: Add brx entry.
84068         [BZ #13328]
84069         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
84070         Proposed by Mariusz_Cukr <marcukr@op.pl>.
84072         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
84073         __feraiseexcept_renamed.
84075 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84077         [BZ #13538]
84078         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
84079         EPOLLET with unsigned values.
84080         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84081         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84083         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
84084         to large cancellation.
84085         * math/s_cacoshf.c: Likewise.
84086         * math/s_cacoshl.c: Likewise.
84088 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
84090         [BZ #13305]
84091         [BZ #12786]
84092         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
84093         * math/s_cacoshf.c: Likewise.
84094         * math/s_cacoshl.c: Likewise.
84096 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84098         [BZ #13439]
84099         * iconv/gconv.h: Define __GCONV_SWAP.
84100         * iconvdata/unicode.c: The swap bit must be stored in __flags.
84101         * iconvdata/utf-16.c: Likewise.
84102         * iconvdata/utf-32.c: Likewise.
84104 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
84106         [BZ #13524]
84107         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
84108         numerator after shifting it by one limb.
84110 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
84112         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
84113         under [__USE_EXTERN_INLINES].
84115 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84117         [BZ #13446]
84118         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
84120 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84122         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
84123         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
84124         optimized code.
84125         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
84126         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
84127         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
84128         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
84129         for strncasecmp/strncasecmp_l compilation.
84130         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
84131         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
84133 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
84135         [BZ #13484]
84136         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
84137         of __asm__.
84139 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84141         [BZ #13506]
84142         * time/tzfile.c (__tzfile_read): Check values from file header.
84144 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
84146         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
84147         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
84148         * powerpc/powerpc32/dl-start.S: Likewise.
84149         * powerpc/powerpc32/elf/start.S: Likewise.
84150         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
84151         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
84152         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
84153         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
84154         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
84155         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
84156         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
84157         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
84158         * powerpc/powerpc32/fpu/s_round.S: Likewise.
84159         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
84160         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
84161         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
84162         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
84163         * powerpc/powerpc32/memset.S: Likewise.
84164         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
84165         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
84166         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
84167         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
84168         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
84169         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
84170         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
84171         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
84172         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
84173         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
84174         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
84175         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84176         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84178 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84180         * math/libm-test.inc: Added more nearbyint tests.
84181         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
84182         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
84183         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
84184         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
84186 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
84188         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
84189         FD_CLOEXEC.
84191 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84193         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
84194         Add wcscpy-ssse3 wcscpy-c.
84195         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
84196         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
84197         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
84198         * sysdeps/x86_64/wcschr.S: New file.
84199         * sysdeps/x86_64/wcsrchr.S: New file.
84200         * string/test-strcmp.c: Remove checking of wcscmp function for
84201         wrong alignments.
84202         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
84203         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
84204         wcsrchr-sse2 wcsrchr-c.
84205         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
84206         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
84207         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
84208         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
84209         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
84210         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
84211         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
84212         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
84213         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
84214         * wcsmbc/wcschr.c (WCSCHR): New macro.
84216 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84218         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
84219         * wcsmbs/test-wcsrchr.c: New file.
84220         * string/test-strrchr.c: Add wcsrchr support.
84221         (WIDE): New macro.
84222         * wcsmbs/test-wcscpy.c: New file.
84223         * string/test-strcpy.c: Add wcscpy support.
84224         (WIDE): New macro.
84226 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
84228         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
84229         the inner loop.
84231 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
84233         [BZ #13472]
84234         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
84236 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
84238         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
84239         Minor optimizations.
84241         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
84242         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
84243         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
84245 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
84247         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
84248         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
84249         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
84250         for gcc to avoid warnings.
84251         * inet/Makefile (tests): Add tst-checks.
84252         * inet/tst-checks.c: New file.
84254         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
84255         warning.
84257         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
84258         __wmemcmp_sse2.
84260         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
84261         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
84263         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
84265 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
84267         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
84268         problem.
84270         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
84272 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
84274         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
84275         conditional on GCC version.
84276         (__arch_compare_and_exchange_val_8_acq)
84277         (__arch_compare_and_exchange_val_16_acq)
84278         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
84279         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
84280         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
84282 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
84284         * sysdeps/sh/backtrace.c: New file.
84286 2011-12-02  Andreas Schwab  <schwab@redhat.com>
84288         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
84289         parenthesis.
84291 2011-12-01  Andreas Schwab  <schwab@redhat.com>
84293         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
84294         falling back to utime.
84296 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84298         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84299         expectations for float.
84301 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84303         * locale/weight.h (findidx): Add parameter len.
84304         * locale/weightwc.h (findidx): Likewise.
84305         * posix/fnmatch_loop.c (FCT): Adjust caller.
84306         * posix/regcomp.c (build_equiv_class): Likewise.
84307         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84308         * posix/regexec.c (check_node_accept_bytes): Likewise.
84309         * string/strcoll_l.c (STRCOLL): Likewise.
84310         * string/strxfrm_l.c (STRXFRM): Likewise.
84312 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84314         * Makefile.in: Remove CVSOPT handling.
84315         * configure.in: Remove use of AC_REVISION.
84316         * iconvdata/Makefile (distribute): No need to filter out CVS.
84317         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84318         handling.
84320 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84322         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84323         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84324         [USE_AS_STRNCASECMP_L]: Likewise.
84325         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84326         NO_TLS_DIRECT_SEG_REFS.
84327         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84328         Fix argument offsets for non-PIC.
84329         [USE_AS_STRNCASECMP_L]: Likewise.
84330         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84331         NO_TLS_DIRECT_SEG_REFS.
84333 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84335         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84336         O_CLOEXEC.
84337         * locale/loadlocale.c (_nl_load_locale): Likewise.
84339 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84341         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84342         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84343         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84344         (SYSCALL_GETTIME): Set errno on error.
84346         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84347         count references to noai6ai_cached.
84349 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84351         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84353         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84354         FD_CLOEXEC for /proc/self/maps.
84356         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84357         FD_CLOEXEC for /proc/meminfo.
84359         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84360         gai.conf.
84362         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84363         FD_CLOEXEC for given file.
84365         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84367         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84368         FD_CLOEXEC for /etc/hosts.
84369         (_gethtent): Likewise.
84371         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84373         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84374         cancellation and set FD_CLOEXEC for /etc/netgroup.
84376         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84377         reading /etc/publickey.
84379         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84380         allow cancellation when reading /etc/group.
84382         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84383         cancellation.
84384         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84386         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84387         when using data file.
84389         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84391         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84392         (write_nis_obj): Use "c" and "e" in fopen.
84394         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84396         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84398         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84400         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84402         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84403         locale.alias.
84405         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84407         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84409         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84411         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84412         file parsing and set FD_CLOEXEC.
84414 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84416         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84418 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84420         * malloc/arena.c (arena_get2): Don't call reused_arena when
84421         _int_new_arena failed.
84423 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84425         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84426         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84427         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84428         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84429         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84430         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84431         to compile strcasecmp and strncasecmp.
84432         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84433         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84435         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84437 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84439         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84440         locale-defines.sym to gen-as-const-headers.
84441         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84442         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84443         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84444         to compile strcasecmp and strncasecmp.
84445         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84446         strcasecmp_l and strncasecmp_l.
84447         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84448         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84449         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84450         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84451         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84452         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84453         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84454         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84455         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84456         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84457         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84459 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84461         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84462         result of SYSDEP_GETTIME_CPU to retval.
84463         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84464         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84466         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84467         variable.
84469         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84470         mantissa words.
84471         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84473         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84474         from unused variable.
84476         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84477         DWARF definitions.
84478         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84479         for assembling.
84481         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84482         over namespaces.
84484         * sunrpc/rpc_prot.c (rejected): Fix case value.
84486         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84487         unsigned long long int to avoid warnings in shift.
84489         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84490         of use of trans.
84491         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84492         variable tmp.
84494         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84495         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84496         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84498         * nis/nis_table.c (nis_list): Use variable of correct type for
84499         result of __follow_path call.
84501 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84503         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84504         of math functions ceil, trunc, floor, round, and sqrt, when
84505         avaliable on the platform.
84506         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84507         name clash.
84508         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84509         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84510         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84512 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84514         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84515         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84517 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84519         * include/unistd.h: Fix __readlink return type.
84520         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84522 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84524         * stdlib/ucontext.h: Undo last change for makecontext.
84526 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84528         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84530         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84531         * setjmp/setjmp.h: Mark functions as non-leaf.
84532         * setjmp/bits/setjmp2.h: Likewise.
84533         * stdlib/ucontext.h: Likewise.
84535 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84537         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84538         (reused_arena): Don't check arena limit.
84539         (arena_get2): Atomically check arena limit.
84541 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84543         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84544         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84546         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84547         instructions.
84549 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84551         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84552         handler when locking.
84554         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84555         Fix size of allocated buffer.
84557 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84559         [BZ #10103]
84560         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84561         declarations for long double functions.
84562         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84564         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84566 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84568         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84569         installed.
84571         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84572         is disabled.
84574 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84576         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84578 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84580         * include/alloca.h (stackinfo_alloca_round): Define.
84581         (extend_alloca): Use it.
84582         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84583         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84584         here.
84586         * scripts/check-local-headers.sh: Ignore libaudit.h.
84588         * nscd/Makefile (extra-objs): Make recursively expanded.
84590 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84592         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84593         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84595         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84596         * posix/tst-rfc3484-2.c: Likewise.
84597         * posix/tst-rfc3484-3.c: Likewise.
84599         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84600         process_vm_writev.
84601         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84602         process_vm_writev.
84603         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84604         process_vm_writev from libc using GLIBC_2.15 version.
84606         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84608 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84610         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84611         stack usage.
84613 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84615         [BZ #13367]
84616         * nss/getent.c (initgroups_keys): Show error message in case no group
84617         names are given.
84619         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84620         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84621         __bump_nl_timestamp.
84622         * nscd/connections (nscd_init): When host database is served open
84623         netlink socket and request notification about configuration changes.
84624         (main_loop_poll): Track netlink file descriptor and bump timestamp
84625         in case data becomes available.
84626         (main_loop_epoll): Likewise.
84627         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84628         (database_pers_head): Add extra_data fileds.
84629         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84630         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84631         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84632         Adjust caller.
84633         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84634         in6ai data, call __free_in6ai.
84635         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84636         Add -DHAVE_NETLINK.
84637         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84638         interface information.  Reuse previous data if netlink timestamp
84639         is not changed.
84640         (__bump_nl_timestamp): New function.
84641         (__free_in6ai): New function.
84643 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84645         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84646         close_not_cancel_no_status here.
84647         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84649 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84651         [BZ #13276]
84652         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84653         return value.
84655         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84656         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84657         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84659 2011-07-03  Andreas Jaeger  <aj@suse.de>
84661         [BZ #10709]
84662         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84663         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84664         * math/libm-test.inc (sin_test): Add test case.
84666 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84668         [BZ #13337]
84669         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84670         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84672         * elf/chroot_canon.c (chroot_canon): Cleanups.
84674         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84676         [BZ #13335]
84677         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84678         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84680         * string/test-strchr.c: Make usable for strchrnul testing.
84681         * string/test-strchrnul.c: New file.
84682         * string/Makefile (strop-tests): Add strchrnul.
84684         * po/it.po: Update from translation team.
84685         * po/es.po: Likewise.
84687 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84689         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84690         the three constants needed as parameters.  Drop the others.
84691         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84692         __m128i_strloadu_tolower.
84693         Create and initialize variable zero and use it in all the places
84694         where _mm_setzero_si128 was used.
84696         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84697         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84698         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84699         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84700         anymore.
84701         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84702         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84703         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84704         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84705         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84706         __mpranred, __mptan.
84707         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84708         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84709         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84710         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84711         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84712         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84713         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84714         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84715         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84717 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84719         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84720         redefine if SHARED.
84721         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84723         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84724         wide char related routines to wcsmbs subdir.
84726 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84728         [BZ #13344]
84729         * misc/sys/cdefs.h (__THROWNL): Define.
84730         * posix/unistd.h: Use __THREADNL instead of __THREAD
84731         for memory synchronization functions.
84733 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84735         [BZ #13349]
84736         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84737         doesn't exist.
84738         * manual/stdio.texi (Obstack Streams): Node removed.
84740 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84742         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84743         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84744         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84746         * math/math_private.h (math_force_eval): Allow non-addressable
84747         arguments.
84748         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84750 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84752         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84753         file is not needed.
84755         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84756         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84757         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84758         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84759         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84760         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84761         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84762         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84763         Add AVX variants.
84764         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84765         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84766         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84767         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84768         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84769         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84770         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84771         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84772         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84773         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84774         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84775         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84776         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84777         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84778         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84779         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84780         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84781         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84782         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84784         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84785         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84787         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84788         place.  Use VEX encoding when compiling for AVX.
84790 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84792         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84793         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84795         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84797 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84799         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84800         useless if() expression.
84801         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84802         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84803         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84804         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84805         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84806         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84807         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84808         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84809         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84810         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84811         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84812         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84813         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84814         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84815         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84816         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84817         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84818         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84819         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84821         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84823 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84825         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84826         condition.
84827         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84829 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84831         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84832         .text section.  Avoid duplicate constants.
84833         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84834         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84835         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84836         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84837         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84838         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84839         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84840         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84841         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84842         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84843         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84844         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84845         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84846         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84847         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84848         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84849         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84850         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84851         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84852         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84853         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84854         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84855         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84856         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84857         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84858         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84859         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84860         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84861         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84862         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84863         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84864         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84865         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84866         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84867         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84868         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84869         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84870         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84871         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84872         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84873         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84874         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84875         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84876         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84877         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84879 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84881         * sysdeps/x86_64/dla.h: Move to ...
84882         * sysdeps/x86_64/fpu/dla.h: ...here.
84883         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84884         situations.  Use __builtin_fma only for gcc 4.6 and up.
84886         * config.make.in: Add have-mfma4 entry.
84887         * configure.in: Substitute libc_cv_cc_fma4.
84888         * math/Makefile (dbl-only-routines): Add sincostab.
84889         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84890         Use __sincostab not sincos.
84891         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84892         name is a macro.
84893         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84894         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84895         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
84897         using __copysign.
84898         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84899         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84900         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84901         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84902         and __inv.
84903         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84904         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84905         __copysign.
84906         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84907         define aliases when function name is a macro.
84908         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84909         sysdeps/ieee754/dbl-64/sincos.tbl.
84910         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84911         fma4-enabled routines.
84912         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84913         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84914         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84915         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84916         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84917         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84918         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84919         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84920         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84921         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84922         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84923         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84924         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84925         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84926         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84927         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84928         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84929         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84930         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84931         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84932         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84933         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84934         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84935         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84936         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84937         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84938         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84939         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84940         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84941         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84943         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84944         rename.
84945         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84946         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84947         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84948         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84949         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84950         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84951         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84952         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84954 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84956         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84958 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84960         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84962         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84963         prediction.
84964         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84966         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84967         Remove unused variable magic_bits.
84968         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84970         * string/strnlen.c: Define and use STRNLEN macro.
84971         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84972         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84973         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84974         * wcsmbs/wcslen.c: Define and use WCSLEN.
84975         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84976         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84977         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84978         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84979         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84980         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84981         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84983 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84986         strnlen-sse2-no-bsf.
84987         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84988         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84989         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84990         Add strnlen support.
84991         (USE_AS_STRNLEN): New macro.
84992         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84993         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84994         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84995         * sysdeps/x86_64/wcslen.S: New file.
84997 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84999         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85000         XMM-moves are used for copying on small sizes.
85002 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85004         * wcsmbs/Makefile (strop-tests): Add wcschr.
85005         * wcsmbs/test-wcschr.c: New file.
85006         * string/test-strchr.c: Update.
85007         Add wcschr support.
85008         (WIDE): New macro.
85010 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85012         * wcsmbs/Makefile (strop-tests): Add wcslen.
85013         * wcsmbs/test-wcslen.c: New file.
85014         * string/test-strlen.c: Update.
85015         Add wcslen support.
85016         (WIDE): New macro.
85018 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85020         * po/it.po: Update from translation team.
85022 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85024         * sysdeps/x86_64/wcscmp.S: Update.
85025         Fix wrong comparison semantics.
85026         wcscmp shall use signed comparison not unsigned.
85027         Don't use substraction to avoid overflow bug.
85028         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
85029         * wcsmbc/wcscmp.c: Likewise.
85030         * string/test-strcmp.c: Likewise.
85031         Add new tests to check cases with negative values.
85033 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85035         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
85036         * sysdeps/x86_64/dla.h: ...here.  New file.
85037         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
85038         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85039         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85040         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85041         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85042         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85043         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85044         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85045         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85047 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
85049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
85050         __ynl_finite aliases.
85052 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85056         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
85057         define DLA_FMA.
85058         [DLA_FMA] (EMULV): Use DLA_FMA.
85059         [DLA_FMA] (MUL12): Use EMULV.
85060         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
85061         that are not needed.
85062         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85063         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85064         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85065         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85066         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85067         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85068         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85070 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
85072         * math/s_nan.c: Undef __nan.
85073         * math/s_nanf.c: Undef __nanf.
85074         * math/s_nanl.c: Undef __nanl.
85075         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
85076         "math_private.h".
85078 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85080         * math/s_catan.c: Add branch predictions.
85081         * math/s_catanf.c: Likewise.
85082         * math/s_catanh.c: Likewise.
85083         * math/s_catanhf.c: Likewise.
85084         * math/s_catanhl.c: Likewise.
85085         * math/s_catanl.c: Likewise.
85086         * math/s_cexp.c: Likewise.
85087         * math/s_cexpf.c: Likewise.
85088         * math/s_cexpl.c: Likewise.
85089         * math/s_clog.c: Likewise.
85090         * math/s_clog10.c: Likewise.
85091         * math/s_clog10f.c: Likewise.
85092         * math/s_clog10l.c: Likewise.
85093         * math/s_clogf.c: Likewise.
85094         * math/s_clogl.c: Likewise.
85095         * math/s_csqrt.c: Likewise.
85096         * math/s_csqrtf.c: Likewise.
85097         * math/s_csqrtl.c: Likewise.
85098         * math/s_ctanf.c: Likewise.
85099         * math/s_ctanh.c: Likewise.
85100         * math/s_ctanhf.c: Likewise.
85101         * math/s_ctanhl.c: Likewise.
85102         * math/s_ctanl.c: Likewise.
85104         * math/math_private.h: Define __nan, __nanf, __nanl.
85105         * math/s_cacosh.c: Include <math_private.h>.
85106         * math/s_cacoshl.c: Likewise.
85107         * math/s_casinh.c: Likewise.
85108         * math/s_casinhf.c: Likewise.
85109         * math/s_casinhl.c: Likewise.
85110         * math/s_ccos.c: Rely entire on ccosh.
85111         * math/s_ccosf.c: Rely entire on ccoshf.
85112         * math/s_ccosl.c: Rely entirely on ccoshl.
85113         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
85114         Remove tests for FE_INVALID.
85115         * math/s_ccoshf.c: Likewise.
85116         * math/s_ccoshl.c: Likewise.
85117         * math/s_csin.c: Likewise.
85118         * math/s_csinf.c: Likewise.
85119         * math/s_csinh.c Likewise.
85120         * math/s_csinhf.c: Likewise.
85121         * math/s_csinhl.c: Likewise.
85122         * math/s_csinl.c: Likewise.
85123         * math/s_ctan.c: Likewise.
85124         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
85125         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
85126         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
85128 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
85130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
85131         compilation problems.
85133         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
85134         __builtin_expect.
85136 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
85138         * sysdeps/i386/configure.in: Test for -mfma4 option.
85139         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
85140         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
85141         COMMON_CPUID_INDEX_80000001.
85142         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
85143         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
85144         use it if FMA3 is not supported.
85145         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
85147         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
85148         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85150 2011-10-20  Andreas Schwab  <schwab@redhat.com>
85152         [BZ #12892]
85153         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
85154         it would create a cycle with a link time dependency.
85156 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
85158         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
85159         instruction.
85160         * string/Makefile (strop-tests): Add rawmemchr.
85161         * string/test-rawmemchr.c: New file.
85163         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
85164         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
85165         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
85166         when compiling str{,n}casecmp and when AVX is available.  Hook up
85167         new optimized code in initializers.
85169 2011-10-19  Andreas Schwab  <schwab@redhat.com>
85171         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
85172         __feraiseexcept instead of feraiseexcept.
85174 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
85176         * math/math_private.h: Define defaults for libc_fetestexcept and
85177         libc_feupdateenv.
85178         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
85179         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
85180         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85181         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85182         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85183         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85184         libc_fetestexcept and libc_feupdateenv.
85186         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
85187         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
85188         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
85189         * sysdeps/x86_64/fpu/math_private.h: Define special version of
85190         libc_feholdexcept_setround.
85192         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
85193         Add s_nearbyint-c and s_nearbyintf-c.
85194         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
85195         nearbyintf inlines.
85196         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
85197         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
85198         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
85199         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
85201         * math/math_private.h: Define defaults for libc_fegetround,
85202         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
85203         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
85204         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
85205         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
85206         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
85207         standard functions.
85208         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85209         Remove comments and hacks for old compiler versions.
85210         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85211         libc_fegetround, libc_fesetround, libc_feholdexcept, and
85212         libc_feholdexceptl.
85214 2011-10-18  Andreas Schwab  <schwab@redhat.com>
85216         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
85217         (__feraiseexcept_renamed): Add __NTH.
85218         (feraiseexcept): Add __NTH.  Rename local variables to fix
85219         namespace violations.
85221 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
85223         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
85225         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
85227         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
85228         recently added interfaces.
85229         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
85231         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
85232         about macro parameter expansion.
85234         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
85235         __NO_MATH_INLINES is defined.  Cleanups.
85237         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
85238         and __floorf is target has SSE4.1.
85239         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
85240         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
85241         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
85242         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
85244         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
85245         name.
85246         (floorf): Likewise.
85248         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
85250 2011-10-17  Andreas Schwab  <schwab@redhat.com>
85252         * misc/sys/cdefs.h: Fix last change.
85254         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
85255         database lookup.
85257 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
85259         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
85261         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
85262         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85263         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85264         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85265         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85266         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85267         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85268         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85269         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85270         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
85271         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
85272         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
85273         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
85274         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
85275         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
85276         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
85277         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
85278         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
85279         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
85280         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
85281         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
85282         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
85284         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
85285         ceil, ceilf, floor, floorf.
85287         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
85288         Perform IRELATIVE relocations last.
85290         * elf/do-rel.h: Add another parameter nrelative, replacing the
85291         local variable with the same name.  Change name of the function
85292         to end in Rel or Rela (uppercase).
85293         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
85294         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85295         elf_dynamic_do_##reloc function.
85297 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85299         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85300         is sufficient, at least on modern CPUs.
85302         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85304         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85305         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85307         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85308         __expl_finite.
85309         * math/bits/math-finite.h: Add entries for exp.
85310         * math/e_expl.c: Add __*_finite alias.
85311         * sysdeps/i386/fpu/e_exp.S: Likewise.
85312         * sysdeps/i386/fpu/e_expf.S: Likewise.
85313         * sysdeps/i386/fpu/e_expl.c: Likewise.
85314         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85315         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85316         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85317         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85318         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85319         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85320         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85322         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85323         is sufficient, at least on modern CPUs.
85325         * ctype/ctype-info.c (__ctype_init): Define.
85326         * include/ctype.h (__ctype_init): Declare.
85327         (__ctype_b_loc): The variable is always initialized.
85328         (__ctype_toupper_loc): Likewise.
85329         (__ctype_tolower_loc): Likewise.
85330         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85331         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85333 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85335         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85337         * configure.in: Also look in $cxxmachine/include for C++ system
85338         headers.
85340 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85342         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85343         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85344         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85345         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85346         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85347         (USE_AS_WMEMCMP): New macro.
85348         Fixing indents.
85349         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85350         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85351         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85352         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85353         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85354         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85355         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85356         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85357         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85358         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85359         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85360         (USE_AS_WMEMCMP): New macro.
85361         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85362         * sysdeps/string/test-memcmp.c: Update.
85363         Fix simple_wmemcmp.
85364         Add new tests.
85365         * wcsmbs/wmemcmp.c: Update.
85366         (WMEMCMP): New macro.
85367         Fix overflow bug.
85369 2011-10-12  Andreas Jaeger  <aj@suse.de>
85371         [BZ #13268]
85372         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85374 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85376         * libio/iofwide.c (do_length): Avoid warning.
85378         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85380 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85382         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85384         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85385         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85386         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85387         * sysdeps/i386/i686/fpu/e_log.S: New file.
85388         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85389         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85391         * ctype/ctype.h: Add support for inlined isXXX functions when
85392         compiling C++ code.
85394 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85396         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85398         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85400 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85402         [BZ #13291]
85403         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85405 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85407         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85408         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85409         feraiseexcept.
85411         * sysdeps/x86_64/memrchr.S: Check for zero size.
85413         * string/stratcliff.c: Add memrchr tests.
85415 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85417         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85418         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85419         rawmemchr-sse2 rawmemchr-sse2-bsf.
85420         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85421         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85422         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85423         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85424         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85425         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85426         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85427         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85428         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85429         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85430         * string/memrchr.c (MEMRCHR): New macro.
85432 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85434         Add integration with gcc's -ffinite-math-only and optimize wrapper
85435         functions in libm.
85436         * Versions.def: Define GLIBC_2.15 version for libm.
85437         * math/Makefile (headers): Add bits/math-finite.h.
85438         * math/bits/math-finite.h: New file.
85439         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85440         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85441         * math/e_acoshl.c: Add __*_finite alias.
85442         * math/e_acosl.c: Likewise.
85443         * math/e_asinl.c: Likewise.
85444         * math/e_atan2l.c: Likewise.
85445         * math/e_atanhl.c: Likewise.
85446         * math/e_coshl.c: Likewise.
85447         * math/e_exp10.c: Likewise.
85448         * math/e_exp10f.c: Likewise.
85449         * math/e_exp10l.c: Likewise.
85450         * math/e_exp2l.c: Likewise.
85451         * math/e_fmodl.c: Likewise.
85452         * math/e_gammal_r.c: Likewise.
85453         * math/e_hypotl.c: Likewise.
85454         * math/e_j0l.c: Likewise.
85455         * math/e_j1l.c: Likewise.
85456         * math/e_jnl.c: Likewise.
85457         * math/e_lgammal_r.c: Likewise.
85458         * math/e_log10l.c: Likewise.
85459         * math/e_log2l.c: Likewise.
85460         * math/e_logl.c: Likewise.
85461         * math/e_powl.c: Likewise.
85462         * math/e_sinhl.c: Likewise.
85463         * math/e_sqrtl.c: Likewise.
85464         * math/e_scalb.c: Completely rewritten and optimized.
85465         * math/e_scalbf.c: Likewise.
85466         * math/e_scalbl.c: Likewise.
85467         * math/w_acos.c: Likewise.
85468         * math/w_acosf.c: Likewise.
85469         * math/w_acosl.c: Likewise.
85470         * math/w_acosh.c: Likewise.
85471         * math/w_acoshf.c: Likewise.
85472         * math/w_acoshl.c: Likewise.
85473         * math/w_asin.c: Likewise.
85474         * math/w_asinf.c: Likewise.
85475         * math/w_asinl.c: Likewise.
85476         * math/w_atan2.c: Likewise.
85477         * math/w_atan2f.c: Likewise.
85478         * math/w_atan2l.c: Likewise.
85479         * math/w_atanh.c: Likewise.
85480         * math/w_atanhf.c: Likewise.
85481         * math/w_atanhl.c: Likewise.
85482         * math/w_exp10.c: Likewise.
85483         * math/w_exp10f.c: Likewise.
85484         * math/w_exp10l.c: Likewise.
85485         * math/w_fmod.c: Likewise.
85486         * math/w_fmodf.c: Likewise.
85487         * math/w_fmodl.c: Likewise.
85488         * math/w_j0.c: Likewise.
85489         * math/w_j0f.c: Likewise.
85490         * math/w_j0l.c: Likewise.
85491         * math/w_j1.c: Likewise.
85492         * math/w_j1f.c: Likewise.
85493         * math/w_j1l.c: Likewise.
85494         * math/w_jn.c: Likewise.
85495         * math/w_jnf.c: Likewise.
85496         * math/w_log.c: Likewise.
85497         * math/w_logf.c: Likewise.
85498         * math/w_logl.c: Likewise.
85499         * math/w_log10.c: Likewise.
85500         * math/w_log10f.c: Likewise.
85501         * math/w_log10l.c: Likewise.
85502         * math/w_log2.c: Likewise.
85503         * math/w_log2f.c: Likewise.
85504         * math/w_log2l.c: Likewise.
85505         * math/w_pow.c: Likewise.
85506         * math/w_powf.c: Likewise.
85507         * math/w_powl.c: Likewise.
85508         * math/w_remainder.c: Likewise.
85509         * math/w_remainderf.c: Likewise.
85510         * math/w_remainderl.c: Likewise.
85511         * math/w_scalb.c: Likewise.
85512         * math/w_scalbf.c: Likewise.
85513         * math/w_scalbl.c: Likewise.
85514         * math/w_sqrt.c: Likewise.
85515         * math/w_sqrtf.c: Likewise.
85516         * math/w_sqrtl.c: Likewise.
85517         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85518         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85519         used.
85520         * math/math_private.h: Declare __kernel_standard_f.
85521         * math/w_cosh.c: Remove cruft and optimize a bit.
85522         * math/w_coshf.c: Likewise.
85523         * math/w_coshl.c: Likewise.
85524         * math/w_exp2.c: Likewise.
85525         * math/w_exp2f.c: Likewise.
85526         * math/w_exp2l.c: Likewise.
85527         * math/w_hypot.c: Likewise.
85528         * math/w_hypotf.c: Likewise.
85529         * math/w_hypotl.c: Likewise.
85530         * math/w_lgamma.c: Likewise.
85531         * math/w_lgamma_r.c: Likewise.
85532         * math/w_lgammaf.c: Likewise.
85533         * math/w_lgammaf_r.c: Likewise.
85534         * math/w_lgammal.c: Likewise.
85535         * math/w_lgammal_r.c: Likewise.
85536         * math/w_sinh.c: Likewise.
85537         * math/w_sinhf.c: Likewise.
85538         * math/w_sinhl.c: Likewise.
85539         * math/w_tgamma.c: Likewise.
85540         * math/w_tgammaf.c: Likewise.
85541         * math/w_tgammal.c: Likewise.
85542         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85543         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85544         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85545         Minor optimizations.  Pretty printing.  Remove cruft.
85546         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85547         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85548         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85549         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85550         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85551         * sysdeps/i386/fpu/e_asin.S: Likewise.
85552         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85553         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85554         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85555         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85556         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85557         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85558         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85559         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85560         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85561         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85562         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85563         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85564         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85565         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85566         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85567         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85568         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85569         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85570         * sysdeps/i386/fpu/e_log.S: Likewise.
85571         * sysdeps/i386/fpu/e_log10.S: Likewise.
85572         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85573         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85574         * sysdeps/i386/fpu/e_log2.S: Likewise.
85575         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85576         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85577         * sysdeps/i386/fpu/e_logf.S: Likewise.
85578         * sysdeps/i386/fpu/e_logl.S: Likewise.
85579         * sysdeps/i386/fpu/e_pow.S: Likewise.
85580         * sysdeps/i386/fpu/e_powf.S: Likewise.
85581         * sysdeps/i386/fpu/e_powl.S: Likewise.
85582         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85583         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85584         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85585         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85586         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85587         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85588         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85589         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85590         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85591         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85592         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85593         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85594         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85595         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85596         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85597         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85598         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85599         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85600         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85601         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85602         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85603         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85604         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85605         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85606         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85607         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85608         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85609         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85610         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85611         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85612         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85613         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85614         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85615         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85616         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85617         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85618         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85619         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85620         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85621         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85622         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85623         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85624         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85625         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85626         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85627         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85628         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85629         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85630         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85631         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85632         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85633         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85634         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85635         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85636         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85637         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85638         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85639         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85640         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85641         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85642         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85643         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85644         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85645         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85646         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85647         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85648         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85649         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85650         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85651         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85652         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85653         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85654         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85655         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85656         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85657         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85658         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85659         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85660         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85661         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85662         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85663         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85664         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85665         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85666         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85667         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85668         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85669         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85670         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85671         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85672         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85673         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85674         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85675         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85676         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85677         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85678         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85679         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85680         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85681         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85682         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85683         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85684         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85685         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85686         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85687         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85688         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85689         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85690         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85691         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85692         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85693         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85694         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85695         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85696         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85697         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85698         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85699         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85700         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85701         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85702         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85703         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85704         (__isnanf): Likewise.
85705         (__isinf_ns): Likewise.
85706         (__isinf_nsf): Likewise.
85707         (__finite): Likewise.
85708         (__finitef): Likewise.
85709         (__ieee754_sqrt): Define as macro.
85710         (__ieee754_sqrtf): Define as macro.
85711         (__ieee754_sqrtl): Define as macro.
85712         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85713         inlined copy.
85714         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85715         __FINITE_MATH_ONLY__ consistent.
85716         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85718 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85720         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85721         of rawmemchr.
85723         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85725 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85727         * po/ja.po: Update from translation team.
85729 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85731         * locale/programs/locarchive.c (prepare_address_space): New function.
85732         (create_archive, enlarge_archive, open_archive): Use it.
85734         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85735         inside [SHARED], where it is used.
85737         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85739         * nss/getent.c (netgroup_keys): Remove unused variable.
85740         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85742 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85744         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85745         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85746         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85747         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85748         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85749         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85750         * math/Makefile (libm-calls): Add s_isinf_ns.
85751         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85752         * math/multc3.c: Likewise.
85753         * math/s_casin.c: Likewise.
85754         * math/s_casinf.c: Likewise.
85755         * math/s_casinl.c: Likewise.
85756         * math/s_ccos.c: Likewise.
85757         * math/s_ccosf.c: Likewise.
85758         * math/s_ccosl.c: Likewise.
85759         * math/s_ctan.c: Likewise.
85760         * math/s_ctanf.c: Likewise.
85761         * math/s_ctanh.c: Likewise.
85762         * math/s_ctanhf.c: Likewise.
85763         * math/s_ctanhl.c: Likewise.
85764         * math/s_ctanl.c: Likewise.
85765         * math/w_fmod.c: Likewise.
85766         * math/w_fmodf.c: Likewise.
85767         * math/w_fmodl.c: Likewise.
85768         * math/w_remainder.c: Likewise.
85769         * math/w_remainderf.c: Likewise.
85770         * math/w_remainderl.c: Likewise.
85771         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85772         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85773         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85774         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85775         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85776         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85777         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85778         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85780         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85781         of the number.
85782         * stdio-common/printf_fphex.c: Likewise.
85783         * stdio-common/printf_size.c: Likewise.
85785         * math/e_exp10.c: Include math_private.h using <...> not "...".
85786         * math/e_exp10f.c: Likewise.
85787         * math/e_exp10l.c: Likewise.
85788         * math/e_exp2l.c: Likewise.
85789         * math/e_j0l.c: Likewise.
85790         * math/e_j1l.c: Likewise.
85791         * math/e_jnl.c: Likewise.
85792         * math/e_lgammal_r.c: Likewise.
85793         * math/e_rem_pio2l.c: Likewise.
85794         * math/e_scalb.c: Likewise.
85795         * math/e_scalbf.c: Likewise.
85796         * math/e_scalbl.c: Likewise.
85797         * math/k_cosl.c: Likewise.
85798         * math/k_sinl.c: Likewise.
85799         * math/k_tanl.c: Likewise.
85800         * math/s_cacoshf.c: Likewise.
85801         * math/s_catan.c: Likewise.
85802         * math/s_catanf.c: Likewise.
85803         * math/s_catanh.c: Likewise.
85804         * math/s_catanhf.c: Likewise.
85805         * math/s_catanhl.c: Likewise.
85806         * math/s_catanl.c: Likewise.
85807         * math/s_ccosh.c: Likewise.
85808         * math/s_ccoshf.c: Likewise.
85809         * math/s_ccoshl.c: Likewise.
85810         * math/s_cexp.c: Likewise.
85811         * math/s_cexpf.c: Likewise.
85812         * math/s_cexpl.c: Likewise.
85813         * math/s_clog.c: Likewise.
85814         * math/s_clog10.c: Likewise.
85815         * math/s_clog10f.c: Likewise.
85816         * math/s_clog10l.c: Likewise.
85817         * math/s_clogf.c: Likewise.
85818         * math/s_clogl.c: Likewise.
85819         * math/s_csin.c: Likewise.
85820         * math/s_csinf.c: Likewise.
85821         * math/s_csinh.c: Likewise.
85822         * math/s_csinhf.c: Likewise.
85823         * math/s_csinhl.c: Likewise.
85824         * math/s_csinl.c: Likewise.
85825         * math/s_csqrt.c: Likewise.
85826         * math/s_csqrtf.c: Likewise.
85827         * math/s_csqrtl.c: Likewise.
85828         * math/s_ctan.c: Likewise.
85829         * math/s_ctanf.c: Likewise.
85830         * math/s_ctanh.c: Likewise.
85831         * math/s_ctanhf.c: Likewise.
85832         * math/s_ctanhl.c: Likewise.
85833         * math/s_ctanl.c: Likewise.
85834         * math/s_ldexp.c: Likewise.
85835         * math/s_ldexpf.c: Likewise.
85836         * math/s_ldexpl.c: Likewise.
85837         * math/s_significand.c: Likewise.
85838         * math/s_significandf.c: Likewise.
85839         * math/s_significandl.c: Likewise.
85840         * math/w_acos.c: Likewise.
85841         * math/w_acosf.c: Likewise.
85842         * math/w_acosh.c: Likewise.
85843         * math/w_acoshf.c: Likewise.
85844         * math/w_acoshl.c: Likewise.
85845         * math/w_acosl.c: Likewise.
85846         * math/w_asin.c: Likewise.
85847         * math/w_asinf.c: Likewise.
85848         * math/w_asinl.c: Likewise.
85849         * math/w_atan2.c: Likewise.
85850         * math/w_atan2f.c: Likewise.
85851         * math/w_atan2l.c: Likewise.
85852         * math/w_atanh.c: Likewise.
85853         * math/w_atanhf.c: Likewise.
85854         * math/w_atanhl.c: Likewise.
85855         * math/w_cosh.c: Likewise.
85856         * math/w_coshf.c: Likewise.
85857         * math/w_coshl.c: Likewise.
85858         * math/w_dremf.c: Likewise.
85859         * math/w_exp10.c: Likewise.
85860         * math/w_exp10f.c: Likewise.
85861         * math/w_exp10l.c: Likewise.
85862         * math/w_exp2.c: Likewise.
85863         * math/w_exp2f.c: Likewise.
85864         * math/w_fmod.c: Likewise.
85865         * math/w_fmodf.c: Likewise.
85866         * math/w_fmodl.c: Likewise.
85867         * math/w_hypot.c: Likewise.
85868         * math/w_hypotf.c: Likewise.
85869         * math/w_hypotl.c: Likewise.
85870         * math/w_j0.c: Likewise.
85871         * math/w_j0f.c: Likewise.
85872         * math/w_j0l.c: Likewise.
85873         * math/w_j1.c: Likewise.
85874         * math/w_j1f.c: Likewise.
85875         * math/w_j1l.c: Likewise.
85876         * math/w_jn.c: Likewise.
85877         * math/w_jnf.c: Likewise.
85878         * math/w_jnl.c: Likewise.
85879         * math/w_lgamma.c: Likewise.
85880         * math/w_lgamma_r.c: Likewise.
85881         * math/w_lgammaf.c: Likewise.
85882         * math/w_lgammaf_r.c: Likewise.
85883         * math/w_lgammal.c: Likewise.
85884         * math/w_lgammal_r.c: Likewise.
85885         * math/w_log.c: Likewise.
85886         * math/w_log10.c: Likewise.
85887         * math/w_log10f.c: Likewise.
85888         * math/w_log10l.c: Likewise.
85889         * math/w_log2.c: Likewise.
85890         * math/w_log2f.c: Likewise.
85891         * math/w_log2l.c: Likewise.
85892         * math/w_logf.c: Likewise.
85893         * math/w_logl.c: Likewise.
85894         * math/w_pow.c: Likewise.
85895         * math/w_powf.c: Likewise.
85896         * math/w_powl.c: Likewise.
85897         * math/w_remainder.c: Likewise.
85898         * math/w_remainderf.c: Likewise.
85899         * math/w_remainderl.c: Likewise.
85900         * math/w_scalb.c: Likewise.
85901         * math/w_scalbf.c: Likewise.
85902         * math/w_scalbl.c: Likewise.
85903         * math/w_sinh.c: Likewise.
85904         * math/w_sinhf.c: Likewise.
85905         * math/w_sinhl.c: Likewise.
85906         * math/w_sqrt.c: Likewise.
85907         * math/w_sqrtf.c: Likewise.
85908         * math/w_sqrtl.c: Likewise.
85909         * math/w_tgamma.c: Likewise.
85910         * math/w_tgammaf.c: Likewise.
85911         * math/w_tgammal.c: Likewise.
85913         * po/ja.po: Update from translation team.
85915 2011-09-29  Andreas Jaeger  <aj@suse.de>
85917         [BZ #13179]
85918         * sunrpc/netname.c (netname2host): Fix logic.
85920         [BZ #6779]
85921         [BZ #6783]
85922         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85923         correctly.
85924         * math/w_remainder.c (__remainder): Likewise.
85925         * math/w_remainderf.c (__remainderf): Likewise.
85926         * math/libm-test.inc (remainder_test): Add test cases.
85928 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85930         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85931         sdiv_qrnnd.
85933 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85935         * string/test-memcmp.c: Avoid unncessary #defines.
85936         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85938 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85940         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85941         Use new sse2 version for core i3 - i7 as it's faster
85942         than sse42 version.
85943         (bit_Prefer_PMINUB_for_stringop): New.
85944         * sysdeps/x86_64/rawmemchr.S: Update.
85945         Replace with faster SSE2 version.
85946         * sysdeps/x86_64/memrchr.S: New file.
85947         * sysdeps/x86_64/memchr.S: Update.
85948         Replace with faster SSE2 version.
85950 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85952         * elf/dl-load.c (lose): Add cast to avoid warning.
85954 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85956         * po/ca.po: Update from translation team.
85958         * inet/getnetgrent_r.c: Hook up nscd.
85959         * nscd/Makefile (routines): Add nscd_netgroup.
85960         (nscd-modules): Add netgroupcache.
85961         (CFLAGS-netgroupcache.c): Define.
85962         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85963         (cache_search): Add const to second parameter.
85964         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85965         INNETGR.
85966         (dbs): Add netgrdb entry.
85967         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85968         (verify_persistent_db): Handle netgrdb.
85969         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85970         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85971         GETFDNETGR.
85972         (netgroup_response_header): Define.
85973         (innetgroup_response_header): Define.
85974         (datahead): Add netgroup_response_header and innetgroup_response_header
85975         elements.
85976         * nscd/nscd.conf: Add entries for netgroup cache.
85977         * nscd/nscd.h (dbtype): Add netgrdb.
85978         (_PATH_NSCD_NETGROUP_DB): Define.
85979         (netgroup_iov_disabled): Declare.
85980         (xmalloc, xcalloc, xrealloc): Move declarations here.
85981         (cache_search): Adjust prototype.
85982         Add netgroup-related prototypes.
85983         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85984         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85985         (__nscd_innetgr): Declare.
85986         * nscd/selinux.c (perms): Use access_vector_t as element type and
85987         add netgroup-related initializers.
85988         * nscd/netgroupcache.c: New file.
85989         * nscd/nscd_netgroup.c: New file.
85990         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85991         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85992         For four parameters use innetgr.
85993         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85994         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85995         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85996         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85998         * nscd/connections.c (register_traced_file): Don't register file
85999         for disabled databases.
86001 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
86003         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
86005         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
86006         from tree and freeing node.
86008 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
86010         * nss/nsswitch.c (__nss_database_lookup): Handle
86011         nss_parse_service_list out of memory case.
86013 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
86015         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
86016         out of memory case.
86018 2011-10-04  Andreas Schwab  <schwab@redhat.com>
86020         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
86021         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
86022         pass it down.
86023         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
86024         elf_machine_rela, elf_machine_lazy_rel.
86025         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
86026         (ELF_DYNAMIC_DO_REL): Likewise.
86027         (ELF_DYNAMIC_DO_RELA): Likewise.
86028         (ELF_DYNAMIC_RELOCATE): Likewise.
86029         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
86030         to ELF_DYNAMIC_DO_REL.
86031         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
86032         (dl_main): In trace mode always set __RTLD_NOIFUNC.
86033         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
86034         elf_machine_rela.
86035         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
86036         skip_ifunc, don't call ifunc function if non-zero.
86037         (elf_machine_rela): Likewise.
86038         (elf_machine_lazy_rel): Likewise.
86039         (elf_machine_lazy_rela): Likewise.
86040         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
86041         (elf_machine_lazy_rel): Likewise.
86042         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
86043         Likewise.
86044         (elf_machine_lazy_rel): Likewise.
86045         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86046         Likewise.
86047         (elf_machine_lazy_rel): Likewise.
86048         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
86049         (elf_machine_lazy_rel): Likewise.
86050         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
86051         (elf_machine_lazy_rel): Likewise.
86052         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
86053         (elf_machine_lazy_rel): Likewise.
86054         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
86055         (elf_machine_lazy_rel): Likewise.
86056         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
86057         (elf_machine_lazy_rel): Likewise.
86058         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
86059         (elf_machine_lazy_rel): Likewise.
86061 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
86063         * nss/nss_files/files-init.c (_nss_files_init): Use static
86064         initialization for all the *_traced_file variables.
86066 2011-09-28  Andreas Schwab  <schwab@redhat.com>
86068         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86070 2011-09-27  Roland McGrath  <roland@hack.frob.com>
86072         [BZ #13226]
86073         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
86075 2011-09-27  Andreas Schwab  <schwab@redhat.com>
86077         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86078         Reread the line before reparsing it.
86080 2011-09-26  Andreas Schwab  <schwab@redhat.com>
86082         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
86084 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
86085             Maxim Kuvyrkov  <maxim@codesourcery.com>
86086             Joseph Myers  <joseph@codesourcery.com>
86088         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
86089         if needed for __stack_chk_guard.
86091 2011-09-19  Roland McGrath  <roland@hack.frob.com>
86093         * sysdeps/posix/spawni.c (script_execute): Always define it.
86094         It will be optimized away if unused.
86095         (maybe_script_execute): New function.
86096         (__spawni): Call it.
86098         * Makerules: Don't include tls.make.
86099         (config-tls): Always set to thread.
86100         * tls.make.c: File removed.
86102 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
86104         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
86105         * config.make.in (CPPFLAGS-config): New substituted variable.
86107 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86109         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
86111         [BZ #13192]
86112         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
86113         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
86115 2011-09-15  Roland McGrath  <roland@hack.frob.com>
86117         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
86118         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
86119         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86120         (CALL_FAIL): Likewise.
86121         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
86122         (CALL_FAIL): Macro removed.
86123         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
86125 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86127         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
86128         for __FINITE_MATH_ONLY__ == 1.
86130 2011-09-15  Andreas Schwab  <schwab@redhat.com>
86132         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
86133         __ieee754_sqrt instead of sqrt.
86134         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
86135         __ieee754_sqrtf instead of sqrtf.
86136         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
86137         __floorf instead of floorf.
86138         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
86139         __floorf, __truncf instead of floorf, truncf.
86141 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
86143         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
86145         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
86146         __extern_always_inline.
86147         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
86148         32-bit.
86150 2011-09-14  Andreas Schwab  <schwab@redhat.com>
86152         * elf/rtld.c (dl_main): Also relocate in dependency order when
86153         doing symbol dependency testing.
86155 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
86157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86158         Always define `refsym'.
86160 2011-09-13  Andreas Schwab  <schwab@redhat.com>
86162         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
86163         (__FD_ELT): Renamed from __FDELT.
86164         * misc/bits/select2.h (__FD_ELT): Likewise.
86165         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
86166         __FD_MASK instead of __FDELT, __FDMASK.
86167         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86168         Likewise.
86169         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86170         Likewise.
86172         * elf/Makefile (gen-ldd): Fix pattern.
86174         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
86175         (init_tls): Likewise.
86177 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
86179         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
86181 2011-09-12  Andreas Schwab  <schwab@redhat.com>
86183         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
86184         `struct cmsghdr *' instead of `void *'.
86185         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
86186         Likewise.
86188 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
86190         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
86191         if non-absolute.
86192         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
86193         ldd_rewrite_script.
86195 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
86197         * configure.in: Remove --with-tls option.
86198         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
86199         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
86200         out in case it is missing.
86201         * sysdeps/ia64/elf/configure.in: Likewise.
86202         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
86203         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
86204         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
86205         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
86206         * sysdeps/sh/elf/configure.in: Likewise.
86207         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
86208         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86209         * sysdeps/x86_64/elf/configure.in: Likewise.
86210         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
86211         * sysdeps/mach/hurd/tls.h: Likewise.
86213         [BZ #13067]
86214         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
86216         [BZ #13090]
86217         * configure.in: Fix use of AC_INIT.
86219         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
86221 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
86223         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
86224         __set_errno.
86225         * malloc/hooks.c: Likewise.
86227         [BZ #11929]
86228         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
86229         variables statically.
86230         (narenas): Initialize.
86231         (list_lock): Initialize.
86232         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
86233         initializtion of main_arena and list_lock.  Small cleanups.
86234         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
86235         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
86236         Add initializers to main_arena and mp_.
86237         (malloc_state): Remove pagesize member.  Change all users to use
86238         GLRO(dl_pagesize).
86240         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
86241         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
86242         is always initialized.
86244         * malloc/malloc.c: Removed unused configurations and dead code.
86245         * malloc/arena.c: Likewise.
86246         * malloc/hooks.c: Likewise.
86247         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
86249         * include/tls.h: Removed.  USE___THREAD must always be defined.
86250         * bits/libc-tsd.h: Don't handle !USE___THREAD.
86251         * elf/dl-libc.c: Likewise.
86252         * elf/dl-tsd.c: Likewise.
86253         * include/errno.h: Likewise.
86254         * include/netdb.h: Likewise.
86255         * include/resolv.h: Likewise.
86256         * inet/herrno-loc.c: Likewise.
86257         * inet/herrno.c: Likewise.
86258         * malloc/arena.c: Likewise.
86259         * malloc/hooks.c: Likewise.
86260         * malloc/malloc.c: Likewise.
86261         * resolv/res-state.c: Likewise.
86262         * resolv/res_libc.c: Likewise.
86263         * sysdeps/i386/dl-machine.h: Likewise.
86264         * sysdeps/ia64/dl-machine.h: Likewise.
86265         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
86266         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
86267         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
86268         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
86269         * sysdeps/sh/dl-machine.h: Likewise.
86270         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86271         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86272         * sysdeps/unix/i386/sysdep.S: Likewise.
86273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86274         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
86275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
86276         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
86278         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
86279         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
86280         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86281         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
86283         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86284         * sysdeps/x86_64/dl-machine.h: Likewise.
86285         * tls.make.c: Likewise.
86287         * configure.in: Remove --with-__thread option.  Make tests for
86288         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
86289         tls_model attribute fail if no support is available.  Remove
86290         USE_IN_LIBIO.
86291         * Makeconfig: Adjust for dropped configure option.  All features are
86292         now mandatory.
86293         * Makerules: Likewise.
86294         * Versions.def: Likewise.
86295         * argp/argp-fmtstream.c: Likewise.
86296         * argp/argp-fmtstream.h: Likewise.
86297         * argp/argp-help.c: Likewise.
86298         * assert/assert.c: Likewise.
86299         * config.h.in: Likewise.
86300         * config.make.in: Likewise.
86301         * configure: Likewise.
86302         * configure.in: Likewise.
86303         * csu/Versions: Likewise.
86304         * csu/init.c: Likewise.
86305         * elf/tst-audit2.c: Likewise.
86306         * elf/tst-tls10.c: Likewise.
86307         * elf/tst-tls10.h: Likewise.
86308         * elf/tst-tls11.c: Likewise.
86309         * elf/tst-tls12.c: Likewise.
86310         * elf/tst-tls14.c: Likewise.
86311         * elf/tst-tlsmod11.c: Likewise.
86312         * elf/tst-tlsmod12.c: Likewise.
86313         * elf/tst-tlsmod13.c: Likewise.
86314         * elf/tst-tlsmod13a.c: Likewise.
86315         * elf/tst-tlsmod14a.c: Likewise.
86316         * elf/tst-tlsmod15b.c: Likewise.
86317         * elf/tst-tlsmod16a.c: Likewise.
86318         * elf/tst-tlsmod16b.c: Likewise.
86319         * elf/tst-tlsmod7.c: Likewise.
86320         * elf/tst-tlsmod8.c: Likewise.
86321         * elf/tst-tlsmod9.c: Likewise.
86322         * gmon/gmon.c: Likewise.
86323         * grp/fgetgrent_r.c: Likewise.
86324         * grp/putgrent.c: Likewise.
86325         * hurd/fopenport.c: Likewise.
86326         * include/libc-symbols.h: Likewise.
86327         * include/tls.h: Likewise.
86328         * intl/gettextP.h: Likewise.
86329         * intl/loadinfo.h: Likewise.
86330         * locale/global-locale.c: Likewise.
86331         * locale/localeinfo.h: Likewise.
86332         * mach/devstream.c: Likewise.
86333         * malloc/arena.c: Likewise.
86334         * malloc/set-freeres.c: Likewise.
86335         * misc/err.c: Likewise.
86336         * misc/getttyent.c: Likewise.
86337         * misc/mntent_r.c: Likewise.
86338         * posix/getopt.c: Likewise.
86339         * posix/wordexp.c: Likewise.
86340         * pwd/fgetpwent_r.c: Likewise.
86341         * resolv/Versions: Likewise.
86342         * resolv/res_hconf.c: Likewise.
86343         * shadow/fgetspent_r.c: Likewise.
86344         * shadow/putspent.c: Likewise.
86345         * stdio-common/printf_fphex.c: Likewise.
86346         * stdio-common/tmpfile.c: Likewise.
86347         * stdlib/abort.c: Likewise.
86348         * stdlib/fmtmsg.c: Likewise.
86349         * sunrpc/auth_unix.c: Likewise.
86350         * sunrpc/clnt_perr.c: Likewise.
86351         * sunrpc/clnt_tcp.c: Likewise.
86352         * sunrpc/clnt_udp.c: Likewise.
86353         * sunrpc/clnt_unix.c: Likewise.
86354         * sunrpc/openchild.c: Likewise.
86355         * sunrpc/svc_simple.c: Likewise.
86356         * sunrpc/svc_tcp.c: Likewise.
86357         * sunrpc/svc_udp.c: Likewise.
86358         * sunrpc/svc_unix.c: Likewise.
86359         * sunrpc/xdr.c: Likewise.
86360         * sunrpc/xdr_array.c: Likewise.
86361         * sunrpc/xdr_rec.c: Likewise.
86362         * sunrpc/xdr_ref.c: Likewise.
86363         * sunrpc/xdr_stdio.c: Likewise.
86365 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86367         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86369 2011-07-03  Andreas Jaeger  <aj@suse.de>
86371         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86372         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86373         regenerate with gen-libm-tests.pl.
86375 2010-05-12  Petr Baudis  <pasky@suse.cz>
86377         [BZ #11589]
86378         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86379         around j0() zero points by switching to j1().
86380         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86381         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86383         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86385 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86387         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86388         instead of 0.
86389         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86390         instead of 0.
86391         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86392         Patch in part by Pavel Roskin <proski@gnu.org>.
86394         [BZ #13138]
86395         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86396         realloc.
86397         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86398         Free memory block if necessary.
86400         [BZ #12847]
86401         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86402         be NULL.  Don't lock in this case.
86404 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86406         * elf/elf.h (ELFOSABI_GNU): New macro.
86407         (ELFOSABI_LINUX): Define to that.
86409 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86411         * string/strncat.c (strncat): Undef the symbol in case it has been
86412         defined in bits/string.h.
86414 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86416         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86418         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86419         link map.
86421 2011-08-17  Andreas Jaeger  <aj@suse.de>
86423         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86425 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86426             Ian Lance Taylor  <iant@google.com>
86428         * math/libm-test.inc (lround_test): New testcase.
86429         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86431 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86433         * Makefile: Remove support for automatic cvs check-ins.
86434         * Makerules: Likewise.
86435         * config.make.in: Likewise.
86436         * configure.in: Likewise.
86437         * intl/Makefile: Likewise.
86438         * locale/Makefile: Likewise.
86439         * po/Makefile: Likewise.
86440         * posix/Makefile: Likewise.
86441         * sysdeps/gnu/Makefile: Likewise.
86442         * sysdeps/mach/hurd/Makefile: Likewise.
86443         * sysdeps/sparc/sparc32/Makefile: Likewise.
86445         [BZ #13118]
86446         * posix/Makefile (bug-regex32-ENV): Define.
86447         Patch by John Stanley <jpsinthemix@verizon.net>.
86449         * misc/Makefile (headers): Add bits/select2.h.
86450         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86451         * misc/bits/select2.h: New file.
86452         * include/bits/select2.h: New file.
86453         * debug/Makefile (routines): Add fdelt_chk.
86454         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86455         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86456         FD_ISSET.
86457         * debug/fdelt_chk.c: New file.
86459         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86460         * wcsmbs/test-wmemcmp.c: Likewise.
86461         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86462         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86464 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86466         * string/Makefile (strop-tests): Add memcmp.
86467         * string/test-wmemcmp.c: New file.
86468         * string/test-memcmp.c: Add wmemcmp support.
86470 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86472         [BZ #13153]
86473         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86474         2011-07-19 change.
86476         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86477         garbage value in a __mach_port_mod_refs call in the cases of the
86478         task-self and thread-self ports.
86480 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86482         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86484 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86486         * elf/dl-load.c (lose): Check for non-null L.
86488 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86490         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86492         * elf/dl-libc.c (dlerror_run): Pass back error code from
86493         dl_catch_error.
86495         [BZ #13123]
86496         * elf/dl-load.c (lose): Free l_origin if it is valid.
86498         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86499         names.
86500         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86501         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86502         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86503         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86504         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86505         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86507 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86509         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86510         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86511         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86512         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86513         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86514         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86515         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86516         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86517         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86518         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86520 2011-08-15  Alan Modra  <amodra@gmail.com>
86522         [BZ #13092]
86523         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86524         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86525         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86526         ppc_mcount to static-only-routines.
86527         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86528         __mcount_internal.
86529         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86530         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86532 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86534         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86535         for finite and infinity parameters.
86537 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86539         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86540         and add nop instructions for throughput optimization.
86541         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86543 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86545         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86546         aligned copy for power7 with vector-scalar instructions.
86547         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86549 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86551         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86552         AVX check.
86554 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86556         [BZ #13144]
86557         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86558         last change.
86560 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86562         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86563         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86564         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86565         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86566         clock_gettime.
86568 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86570         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86571         Forgot to demangle the pointer.
86573         * sysdeps/i386/sysdep.h: Define atom_text_section.
86574         * sysdeps/x86_64/sysdep.h: Likewise.
86575         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86576         section with atom_text_section.
86577         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86578         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86579         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86580         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86581         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86583         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86584         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86585         already be defined.  Change to take two parameters and don't assign
86586         result to variable.  Adjust all users.
86587         Define INTERNAL_GETTIME if not already defined.
86588         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86589         call.
86590         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86591         HAVE_CLOCK_GETTIME_VSYSCALL.
86592         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86594         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86595         gettimeofday vsyscall, just use time.
86597 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86599         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86600         <errno.h>.
86602 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86604         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86605         syscall on x86-64.
86606         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86607         syscall.
86608         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86609         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86610         syscall if possible.
86612 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86614         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86615         e_ident.  Don't pass to find_mapsXX.
86616         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86618 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86621         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86622         * sysdeps/x86_64/multiarch/strchr.S: Update.
86623         Check bit_slow_BSF bit.
86624         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86625         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86626         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86628 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86630         [BZ #13134]
86631         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86632         before glibc 2.15.
86633         (tryshell): Define.
86634         (__spawni): Change last parameter to be flag.  Test
86635         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86636         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86637         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86638         * posix/spawni.c: Likewise.
86639         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86640         * posix/spawnp.c: Likewise.  Change normal version to use
86641         SPAWN_XFLAGS_USE_PATH.
86642         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86643         SPAWN_XFLAGS_TRY_SHELL.
86645         [BZ #13150]
86646         * posix/glob.h: Remove gcc 1.x support.
86648         [BZ #13068]
86649         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86651 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86653         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86654         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86655         strrchr-sse2-bsf
86656         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86657         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86658         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86659         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86660         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86661         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86663 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86665         * sysdeps/x86_64/wcscmp.S: New file.
86667         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86668         wcscmp-c wcscmp-sse2
86669         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86670         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86671         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86672         * wcsmbs/wcscmp.c: Allow renaming.
86674 2011-09-05  David S. Miller  <davem@davemloft.net>
86676         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86677         stack slot, rather than the struct return pointer slot.
86678         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86679         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86681         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86683 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86685         * po/ja.po: Update from translation team.
86687         [BZ #13144]
86688         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86689         kernel in 64-bit binaries.
86691 2011-09-01  David S. Miller  <davem@davemloft.net>
86693         * elf/elf.h (HWCAP_SPARC_*): Move to..
86694         * sysdeps/sparc/sysdep.h: this new file and add new values.
86695         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86696         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86697         _DL_HWCAP_COUNT to 24.
86698         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86699         entries.
86700         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86701         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86702         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86703         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86704         instead of magic constants.
86705         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86707 2011-08-31  David S. Miller  <davem@davemloft.net>
86709         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86710         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86711         Reimplement to do errno handling inline.
86712         (SYSCALL_ERROR_HANDLER): New macro.
86713         (__SYSCALL_STRING): Do not do errno handling in asm.
86714         (__CLONE_SYSCALL_STRING): Delete.
86715         (__INTERNAL_SYSCALL_STRING): Delete.
86716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86717         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86718         (PSEUDO): Reimplement to do errno handling inline.
86719         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86720         (SYSCALL_ERROR_HANDLER): New macro.
86721         (__SYSCALL_STRING): Do not do errno handling in asm.
86722         (__CLONE_SYSCALL_STRING): Delete.
86723         (__INTERNAL_SYSCALL_STRING): Delete.
86724         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86725         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86726         i386.
86727         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86728         (inline_syscall*): Add 'err' argument.
86729         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86730         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86731         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86732         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86734         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86735         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86737 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86739         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86741 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86743         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86744         directive.
86746 2011-08-24  David S. Miller  <davem@davemloft.net>
86748         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86750 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86752         * elf/Makefile: Add rules to build and run unload8 test.
86753         * elf/unload8.c: New file.
86754         * elf/unload8mod1.c: New file.
86755         * elf/unload8mod1x.c: New file.
86756         * elf/unload8mod2.c: New file.
86757         * elf/unload8mod3.c: New file.
86759         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86760         it wasn't used.
86762 2011-08-23  David S. Miller  <davem@davemloft.net>
86764         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86765         subtract stack bias.
86766         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86767         %sp not %fp in calculations.
86768         (_JMPBUF_UNWINDS_ADJ): Likewise.
86770         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86771         (aio_suspend): Call it to force an exception region around the
86772         AIO_MISC_WAIT() invocation.
86774 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86776         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86777         backslash.
86779 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86781         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86782         protection macro.
86783         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86784         and <dl-machine.h>.
86785         (Elf64_FuncDesc): Remove.
86787 2011-08-22  David S. Miller  <davem@davemloft.net>
86789         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86790         sigaltstack check, add missing cfi directives.
86791         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86792         missing cfi directives, and sigaltstack handling.
86794 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86796         [BZ #11724]
86797         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86798         object is seen twice.
86799         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86801         * elf/Makefile (distribute): Add tst-initorder2.c.
86802         (tests): Add tst-initorder2.
86803         (modules-names): Add tst-initorder2a tst-initorder2b
86804         tst-initorder2c tst-initorder2d.  Add rules to build them.
86805         ($(objpfx)tst-initorder2.out): New rule.
86806         * elf/tst-initorder2.c: New file.
86807         * elf/tst-initorder2.exp: New file.
86809 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86811         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86813         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86814         dependencies back to end of function.
86816         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86817         $(elfobjdir)/ld.so.
86819 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86821         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86822         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86823         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86824         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86825         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86826         of __vdso_gettimeofday.
86827         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86828         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86829         attribute_hidden.
86830         (_libc_vdso_platform_setup): Remove initialization of
86831         __vdso_gettimeofday and __vdso_time.
86833 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86835         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86836         and fgetc_unlocked.
86837         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86838         getc_unlocked.
86840         * elf/dl-open.c (add_to_global): Report additions to the global scope
86841         for LD_DEBUG=scopes.
86842         (dl_open_worker): Also print scope of newly loaded dependencies.
86843         (_dl_show_scope): Indicate if there is no scope.
86845         [BZ #13114]
86846         * stdio-common/Makefile (tests): Add bug24.
86847         * stdio-common/bug24.c: New file.
86849 2011-08-19  Andreas Jaeger  <aj@suse.de>
86851         [BZ #13114]
86852         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86853         non-existant file when using close-on-exec mode.
86855 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86857         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86858         the very first instruction.
86860         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86861         the CFI state in the end.
86862         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86863         inclusion of dl-trampoline.h.
86864         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86866 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86868         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86869         expectations for long double.
86871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86872         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86874 2011-08-14  David S. Miller  <davem@davemloft.net>
86876         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86877         artificual limit depends upon the system page size.
86879 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86881         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86882         * resolv/Makefile: Define CFLAGS-libresolv.
86884 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86886         * nss/makedb.c (compute_tables): Make variables used in nested
86887         function static.
86889 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86891         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86892         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86893         if buffer was too small.
86895         * elf/pldd.c (main): Attach to all threads in the process.
86896         Rewrite /proc handling to use *at functions.
86898 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86900         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86901         specifies first scope to show.
86902         (dl_open_worker): Update callers.  Move printing scope of new
86903         object to before the relocation.
86904         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86905         * sysdeps/generic/ldsodefs.h: Update declaration.
86907         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86908         string for the scope number.
86910 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86912         * nscd/servicescache.c (cache_addserv): Make sure written is always
86913         initialized.
86915 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86917         * sysdeps/i386/i486/bits/atomic.h
86918         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86919         statement expression, so as to suppress "set but not used" warning.
86920         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86922         * string/strncat.c (STRNCAT): Use prototype definition.
86924         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86925         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86926         -Iprograms here.
86927         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86928         (localedef-modules): Add localedef.
86929         (locale-modules): Add locale.
86931         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86932         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86933         to avoid a warning.
86935 2011-08-14  David S. Miller  <davem@davemloft.net>
86937         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86938         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86940 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86942         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86943         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86944         * elf/rtld.c (dl_main): Set l_name of vDSO.
86945         Call _dl_show_scope when DL_DEBUG_SCOPES.
86946         (process_dl_debug): Recognize scopes flag and also set it for all.
86947         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86948         Declare _dl_show_scope.
86950         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86951         (do_dlopen): Pass caller_dlopen to dl_open.
86952         (__libc_dlopen_mode): Initialize caller_dlopen.
86954         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86955         of libc.  Make tolower call locale-independent.  Optimize a bit by
86956         using isdigit instead of isalnum.
86957         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86959 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86961         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86962         was a dependency or dynamically loaded.
86964 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86966         * intl/l10nflist.c: Allow architecture-specific pop function.
86967         * sysdeps/x86_64/l10nflist.c: New file.
86969         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86970         classification.
86972 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86974         * include/dirent.h: Add libc_hidden_proto for scandirat and
86975         scandirat64.  Don't declare __scandirat64.
86976         * dirent/scandirat.c: Add libc_hidden_def.
86977         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86978         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86980 2011-08-10  David S. Miller  <davem@davemloft.net>
86982         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86983         enum.
86984         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86985         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86986         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86988 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86990         * Versions.def [libc]: Add GLIBC_2.15.
86991         * dirent/Makefile (routines): Add scandirat and scandirat64.
86992         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86993         GLIBC_2.15.
86994         * dirent/dirent.h: Declare scandirat and scandirat64.
86995         * dirent/scandirat.c: New file.
86996         * dirent/scandirat64.c: New file.
86997         * sysdeps/wordsize-64/scandirat.c: New file.
86998         * sysdeps/wordsize-64/scandirat64.c: New file.
86999         * dirent/opendir.c: Define opendirat.
87000         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
87001         using scandirat.
87002         * dirent/scandir64.c: Adjust for scandir.c change.
87003         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
87004         __scandirat64, and __scandir_cancel_handler.
87005         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
87006         additional parameter and use openat instead of open (outside of ld.so).
87007         Add new __opendir as wrapper around __opendirat.
87008         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
87009         here without requiring old scandirat implementation.
87011 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
87013         * dirent/scandir.c (cancel_handler): Renamed to
87014         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
87015         defined.  Adjust users.
87016         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
87017         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
87019 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
87021         * string/test-string.h (IMPL): Use __STRING to expand name and then
87022         stringify it.
87024         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
87025         of cleanups.
87027 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87029         * string/Makefile: Update.
87030         (strop-tests): Append strncat.
87031         * string/test-wcscmp.c: New file.
87032         New comprehensive test for wcscmp.
87033         * string/test-strcmp.c: Update.
87034         (WIDE): New define.
87036 2011-07-22  Andreas Schwab  <schwab@redhat.com>
87038         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
87039         line.
87041 2011-07-26  Andreas Schwab  <schwab@redhat.com>
87043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87044         encoding to ACE if AI_IDN.
87046 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
87048         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
87049         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
87051 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87053         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
87054         Fix overflow bug in strncat.
87055         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
87057         * string/test-strncat.c: Update.
87058         Add new tests for checking overflow bugs.
87060 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87062         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87063         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
87064         * sysdeps/i386/i686/multiarch/strcat.S: New file.
87065         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
87066         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
87067         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
87068         * sysdeps/i386/i686/multiarch/strncat.S: New file.
87069         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
87070         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
87072         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
87073         (USE_AS_STRCAT): Define.
87074         Add strcat and strncat support.
87075         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87077 2011-07-25  Andreas Schwab  <schwab@redhat.com>
87079         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
87080         __n bigger than INT_MAX+1.
87081         (__strncmp_g): Likewise.
87083 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
87085         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
87086         * libio/stido.h: Likewise.
87088         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
87089         (AF_NFC): Define.
87090         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
87091         (AF_NFC): Define.
87093         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
87094         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87095         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87096         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
87097         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87099         [BZ #13021]
87100         * scripts/test-installation.pl: Don't expect libnss_test1 to be
87101         installed.
87103         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
87104         typo.
87105         (_dl_x86_64_save_sse): Likewise.
87107 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
87109         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
87110         OSXSAVE.
87111         (_dl_x86_64_save_sse): Likewise.
87113         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
87115         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
87117 2011-07-21  Andreas Schwab  <schwab@redhat.com>
87119         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
87120         change.
87121         (_dl_x86_64_save_sse): Use correct AVX check.
87123 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87125         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
87126         bug in strncpy/strncat.
87127         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
87129 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
87131         * string/tester.c (test_strcat): Add tests for different alignments
87132         of source and destination.
87133         (test_strncat): Likewise.
87135 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87137         [BZ #12852]
87138         * posix/glob.c (glob): Check passed in values before using them in
87139         expressions to avoid some overflows.
87140         (glob_in_dir): Likewise.
87142         [BZ #13007]
87143         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
87144         check for AVX enablement so that we don't crash with old kernels and
87145         new hardware.
87146         * elf/tst-audit4.c: Add same checks here.
87147         * elf/tst-audit6.c: Likewise.
87149         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
87151 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
87153         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
87155 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87157         * po/cs.po: Update from translation team.
87158         * po/bg.po: Likewise.
87160 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
87162         * misc/sys/cdefs.h: Add support for const attribute.
87163         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
87164         to gnu_dev_{major,minor,makedev} functions.
87166 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
87168         * intl/dcigettext.c (get_output_charset): Add missing bracket.
87170 2011-07-20  Andreas Schwab  <schwab@redhat.com>
87172         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
87173         strlen results.
87175 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87177         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
87178         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
87179         register in order to avoid conflicts with the soft frame pointer
87180         being held in r11 when necessary.
87181         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
87182         (INTERNAL_VSYSCALL_NCS): Likewise.
87184 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
87186         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
87187         * elf/dl-fini.c (_dl_fini): Adjust caller.
87188         * elf/dl-close.c (_dl_close_worker): Likewise.
87189         * sysdeps/generic/ldsodefs.h: Adjust declaration.
87191 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87193         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
87194         "aux_cache->nlibs < 0".
87196         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
87197         in the reload-count case.
87199 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87202         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
87203         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
87204         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
87205         * sysdeps/x86_64/multiarch/strcat.S: New file.
87206         * sysdeps/x86_64/multiarch/strncat.S: New file.
87207         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
87208         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
87209         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
87210         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
87211         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
87212         (USE_AS_STRCAT): Define.
87213         Add strcat and strncat support.
87214         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
87215         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
87216         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
87217         * string/strncat.c: Update.
87218         (USE_AS_STRNCAT): Define.
87219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87220         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
87221         and i7.
87222         * sysdeps/x86_64/multiarch/init-arch.h
87223         (bit_Prefer_PMINUB_for_stringop): New.
87224         (index_Prefer_PMINUB_for_stringop): Likewise.
87225         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
87226         bit_Prefer_PMINUB_for_stringop.
87228 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87230         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
87231         buffer64.
87232         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
87233         of casting of buffer.
87234         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
87235         buffer32 and buffer64.
87236         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
87237         writes instead of casting of buffer.
87238         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
87239         buffer32.
87240         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
87241         casting of buffer.
87243 2011-07-19  Andreas Schwab  <schwab@redhat.com>
87245         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
87247 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87249         * nscd/nscd.c (termination_handler): Don't do anything for a database
87250         if it has not yet been initialized.
87252 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87254         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87256 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87258         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87260 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87262         * po/nl.po: Update from translation team.
87263         * po/sv.po: Likewise.
87265 2011-07-16  Roland McGrath  <roland@hack.frob.com>
87267         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
87268         now disallowed by GCC.
87270         * configure.in (use-default-link): Default to yes if a test -shared
87271         link meets our qualifications.
87272         * configure: Regenerated.
87274         * config.make.in (output-format): New variable.
87275         * configure.in: Check for ld --print-output-format support.
87276         * configure: Regenerated.
87277         * Makerules ($(common-objpfx)format.lds)
87278         [$(output-format) != unknown]: Just use $(output-format),
87279         instead of the linker-script munging.
87281 2011-07-14  Roland McGrath  <roland@hack.frob.com>
87283         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
87284         of $(common-objpfx)shlib.lds.
87285         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
87287         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
87288         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
87290         * configure.in (-z relro check): Adjust test code to add a large
87291         writable data section after it.
87292         * configure: Regenerated.
87294 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87296         * configure.in (-z relro check): Fix test code to make the variable
87297         truly const.
87298         * configure: Regenerated.
87300 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87302         * nscd/nscd.h (struct traced_file): Define.
87303         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87304         elements.  Add traced_files.
87305         (inotify_fd): Declare.
87306         (register_traced_file): Declare.
87307         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87308         (inotify_fd): Export.
87309         (resolv_conf_descr): Remove.
87310         (nscd_init): Move inotify descriptor creation to main.
87311         Don't register files for notification here.
87312         (register_traced_file): New function.
87313         (invalidate_cache): Don't use reset_res to determine whether to call
87314         res_init, go through the list of registered files.
87315         (main_loop_poll): The inotify descriptors are now stored in the
87316         structures for the traced files.
87317         (main_loop_epoll): Likewise.
87318         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87319         to __nss_disable_nscd.
87320         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87321         for a database anymore.  Check the records for all the registered
87322         files instead.
87323         * nss/Makefile (libnss_files-routines): Add files-init.
87324         (libnss_db-routines): Add db-init.
87325         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87326         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87327         * nss/nss_db/db-init.c: New file.
87328         * nss/nss_files/files-init.c: New file.
87329         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87330         __nss_lookup_function.
87331         (__nss_lookup_function): Call nss_load_library.
87332         (nss_load_all_libraries): New function.
87333         (__nss_disable_nscd): Take parameter with callback function for files
87334         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87335         used for the cached services.
87336         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87337         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87338         options for features to all the files in nscd.
87340         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87342 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87344         * csu/elf-init.c (__libc_csu_init): Comment typo.
87346 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87348         * po/pl.po: Update from translation team.
87349         * po/ja.po: Likewise.
87350         * po/ru.po: Likewise.
87351         * po/ko.po: Likewise.
87352         * po/fr.po: Likewise.
87354 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87356         * configure.in (.ctors/.dtors header and trailer check):
87357         Use an empirical test on a built program.
87358         * configure: Regenerated.
87360         * configure.in (-z relro check): Use an empirical test on a built DSO.
87361         Detect, but do not require, on ia64.
87362         * configure: Regenerated.
87364         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87365         Update tests that use readelf to use $READELF instead.
87366         * configure: Regenerated.
87368 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87370         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87371         if the result is not used.
87373 2011-07-05  Andreas Jaeger  <aj@suse.de>
87375         [BZ #9696]
87376         * stdlib/tst-strtod.c: Add testcase.
87378 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87380         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87381         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87382         The latter has a higher limit.  Take additional parameter to pass to
87383         the new function.
87384         (__pathconf): Pass file to __statfs_link_max.
87385         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87386         __statfs_link_max.
87387         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87388         __statfs_link_max.
87390         [BZ #12868]
87391         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87392         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87393         Handle Lustre.
87394         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87395         (__statfs_filesize_max): Likewise.
87396         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87398 2011-07-05  Andreas Jaeger  <aj@suse.de>
87400         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87402 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87404         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87405         `status' variable.
87406         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87407         Likewise.
87409 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87411         * Makefile (strop-tests): Add strncat.
87412         * string/test-strncat.c: New file.
87414 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87416         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87418 2011-06-21  Andreas Jaeger  <aj@suse.de>
87420         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87421         Copy rule from iconvdata/Makefile.
87423 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87425         [BZ #12922]
87426         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87427         but no long options are defined, just return 'W'.
87429 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87431         [BZ #9696]
87432         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87434 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87436         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87437         netgroups to read.
87438         (innetgr): Likewise.
87440 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87442         * config.make.in (install_root): Default to $(DESTDIR).
87444 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87446         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87448 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87450         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87452         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87453         containing directory rather than embedding absolute directory names.
87455         * scripts/check-local-headers.sh: Rewritten using awk.
87456         Match by word, not by line.  Print error messages for matches.
87457         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87459         * Makerules [shlib-lds-flags empty]:
87460         ($(common-objpfx)libc_pic.opts): New target.
87461         ($(common-objpfx)libc_pic.os.clean): New target.
87462         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87464         * config.make.in (OBJCOPY): New variable.
87465         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87466         * configure: Regenerated.
87468         * config.make.in (use-default-link): New variable.
87469         * configure.in (use_default_link): Grok --with-default-link to set it.
87470         * configure: Regenerated.
87471         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87472         (shlib-lds, shlib-lds-flags): Define to empty.
87474         * Makerules (shlib-lds): New variable.
87475         (shlib-lds-flags): New variable.
87476         (build-shlib, build-moduile, build-module-asneeded): Use it.
87477         ($(common-objpfx)libc.so): Use $(shlib-lds).
87478         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87479         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87481         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87482         DT_FLAGS/DT_FLAGS_1 with zero flags.
87484         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87485         linker script munging.
87487 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87489         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87490         as 128-bit value.
87491         * crypt/sha512.c (sha512_process_block): Perform total addition using
87492         128-bit if possible.
87493         (__sha512_finish_ctx): Likewise.
87494         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87495         as 64-bit value.
87496         * crypt/sha256.c (SWAP64): Define.
87497         (sha256_process_block): Perform total addition using 64-bit if
87498         possible.
87499         (__sha256_finish_ctx): Likewise.
87501 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87503         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87504         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87505         * nscd/hstcache.c (cache_addhst): Likewise.
87506         * nscd/grpcache.c (cache_addgr): Likewise.
87507         * nscd/aicache.c (addhstaiX): Likewise.
87508         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87510 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87512         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87513         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87514         * nscd/hstcache.c (cache_addhst): Likewise.
87515         * nscd/grpcache.c (cache_addgr): Likewise.
87516         * nscd/aicache.c (addhstaiX): Likewise.
87518 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87520         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87521         domain only when needed.
87523 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87526         is always restored.
87528 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87530         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87531         are re-adding the entry.
87532         * nscd/servicescache.c (cache_addserv): Likewise.
87534 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87536         * sysdeps/generic/dl-irel.h: fix protection against multiple
87537         inclusions.
87538         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87540 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87542         [BZ #12935]
87543         * malloc/memusage.sh: Fix quoting in message.
87544         * debug/xtrace.sh: Likewise.
87546         * configure.in: Remove support for --experimental-malloc option, make
87547         it the default.
87548         * config.make.in: Likewise.
87549         * malloc/Makefile: Likewise.
87551 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87553         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87554         two-byte characters.
87556 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87558         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87559         AC_CACHE_CHECK invocation.
87560         * configure: Regenerated.
87562         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87564 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87566         [BZ #12350]
87567         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87568         bit from old_res_options.
87570         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87572         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87573         value type for setfct.
87575 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87577         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87578         __gettimeofday instead of gettimeofday.
87580 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87582         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87584 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87586         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87588         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87589         info.
87591 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87594         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87595         strcpy-sse2-unaligned strncpy-sse2-unaligned
87596         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87597         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87598         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87599         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87600         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87601         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87602         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87603         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87604         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87605         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87606         (STRCPY): Support SSE2 and SSSE3 versions.
87608 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87610         [BZ #12874]
87611         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87612         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87613         kernels which artificially limit size of requests.
87615 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87617         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87618         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87619         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87620         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87621         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87622         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87623         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87624         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87625         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87626         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87627         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87628         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87629         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87630         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87631         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87633         Enable unaligned load optimization for Intel Core i3, i5 and i7
87634         processors.
87635         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87636         Define.
87637         (index_Fast_Unaligned_Load): Define.
87638         (HAS_FAST_UNALIGNED_LOAD): Define.
87640 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87642         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87644 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87646         [BZ #12907]
87647         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87648         until it is clear that the information is realy needed.
87649         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87651 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87655 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87657         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87658         /sys/devices/system/cpu/online if it is usable.
87660         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87661         reading the information from the /proc filesystem to once a second.
87663 2011-06-21  Andreas Jaeger  <aj@suse.de>
87665         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87666         NULL after inclusion of kernel headers.
87668 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87670         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87671         calls to internal_setent.
87673         [BZ #12885]
87674         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87675         addresses using gethostbyname4_r ignore IPv4 addresses.
87677         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87678         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87680         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87682 2011-06-20  David S. Miller  <davem@davemloft.net>
87684         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87685         inclusions.
87686         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87688         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87689         (elf_irel): Use it.
87690         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87691         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87692         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87693         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87694         * sysdeps/x86_64/dl-irel.h: Likewise.
87696         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87697         * elf/dl-sym.c: Likewise.
87699 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87701         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87702         need to dereference resplen2.
87704 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87706         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87708 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87710         * Makeconfig: Define vardbdir and inst_vardbdir.
87711         * nss/Makefile: Add rules to install db-Makefile.
87713         * nss/nss_db/db-XXX.c: Cleanup.
87715         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87716         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87717         GLIBC_PRIVATE.
87718         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87719         * nss/makedb.c: Implement -g option to specify that value strings
87720         are generated and should not be added to table iterated over for
87721         get*ent calls.
87722         * nss/nss_db/db-initgroups.c: New file.
87724         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87725         interface.
87727         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87728         (internal_getgrouplist): Adjust to name change.
87729         Update use_initgroups_entry if this is not the first call.
87730         * nss/databases.def: Add initgroups entry.
87732         * nss/makedb.c (compute_tables): Check result of multiple hash table
87733         sizes to minimize maximum chain length.
87735 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87737         * Versions.def: Add entry for libnss_db.
87738         * shlib-versions: Likewise.
87739         * nss/Makefile: Add rules to build libnss_db.
87740         * nss/Versions: Add libnss_db information.  Organize libnss_files
87741         entries better.
87742         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87743         makedb progra.  Some minor improvements to generate smaller files.
87744         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87745         here from...
87746         * nss/makedb.c: ...here.
87747         Improve database format to be smaller and require less memory at
87748         runtime.
87749         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87750         db anymore.
87751         * nss/nss_db/db-netgrp.c: Likewise.
87752         * nss/nss_db/db-open.c: Likewise.
87753         * nss/nss_files/flies-XXX.x: Adjust comments.
87754         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87755         * nss/nss_files/files-grp.c: Likewise.
87756         * nss/nss_files/files-hosts.c: Likewise.
87757         * nss/nss_files/files-network.c: Likewise.
87758         * nss/nss_files/files-proto.c: Likewise.
87759         * nss/nss_files/files-pwd.c: Likewise.
87760         * nss/nss_files/files-rpc.c: Likewise.
87761         * nss/nss_files/files-service.c: Likewise.
87762         * nss/nss_files/files-sgrp.c: Likewise.
87763         * nss/nss_files/files-spwd.c: Likewise.
87764         * nss/nss_db/db-alias.c: Removed.
87765         * nss/nss_db/dummy-db.h: Removed.
87767 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87769         * nss/makedb.c: Rewritten to not use database library.
87770         * nss/Makefile: Update to build new makedb program.
87772 2011-06-14  Andreas Jaeger  <aj@suse.de>
87774         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87775         memset declaration.
87777 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87780         tmpbuf.
87782 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87784         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87785         * elf/Makefile ($(objpfx)ld.so): Likewise.
87787         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87788         Don't list ld.so twice in dependencies.
87790         * posix/bug-regex31.c: Include <stdlib.h>.
87792         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87794         * nis/nss_compat/compat-spwd.c
87795         (getspent_next_nss_netgr): Remove unused variable.
87796         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87798         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87799         nonmembers" output to use the right array.
87801         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87803         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87805         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87806         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87807         * catgets/gencat.c (read_input_file): Likewise.
87808         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87810         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87811         variable definition inside #if's controlling its use.
87813         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87815         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87817         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87819         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87820         unreachable code.
87822         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87824         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87825         * configure: Regenerated.
87827         * Makerules: Revert last change.
87828         * elf/Makefile: Likewise.
87830 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87832         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87833         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87834         (reloc-link): Likewise.
87836 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87838         * elf/Makefile: Add rules to build pldd.
87839         * elf/pldd.c: New file.
87840         * elf/pldd-xx.c: New file.
87842 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87844         * version.h: Update for 2.15 development version.
87846 2011-06-07  David S. Miller  <davem@davemloft.net>
87848         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87849         ifuncs.
87850         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87851         elf_machine_lazy_rel): Likewise.
87852         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87853         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87854         elf_machine_lazy_rel): Likewise.
87855         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87856         dl_hwcap via passed in argument.
87857         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87858         Likewise.
87860 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87862         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87864 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87866         [BZ #12849]
87867         * manual/fdl-1.1.texi: New file, verbatim from:
87868         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87869         * manual/lgpl-2.1.texi: New file, verbatim from:
87870         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87871         * manual/Makefile (licenses): New variable, list those new file names.
87872         (texis): Use it.
87873         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87875         * manual/fdl.texi: File removed.
87876         * manual/lesser.texi: File removed.
87877         * manual/libc.texinfo (Copying, Documentation License):
87878         Use new @include file names, put @appendix directive before @include.
87880 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87882         [BZ #12841]
87883         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87884         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87885         (mq_open): Add __NTH.
87887 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87890         Assume Intel Core i3/i5/i7 processor if AVX is available.
87892 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87894         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87895         typo.
87897 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87899         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87900         memory.  Use alloca_account.  Fix memory leak when retrying.
87902 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87904         * version.h (RELEASE): Bump for 2.14 release.
87905         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87907         * config.make.in (RANLIB): Remove entry.
87909 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87911         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87912         (libc.pot): Work around missing support for .ksh extension in xgettext.
87914         [BZ #12684]
87915         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87916         if both request failed.
87917         (send_dg): In case of server errors clear resplen or *resplen2.
87919         [BZ #12454]
87920         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87921         when there are multiple maps.
87922         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87923         (_dl_fini): Remove test here.
87925         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87927 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87929         [BZ #12350]
87930         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87931         bit from old_res_options.
87932         (gaih_inet): Likewise.
87934         [BZ #11099]
87935         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87936         as signed.
87938         * resolv/res_init.c (res_setoptions): Make the code more compact.
87940         [BZ #11558]
87941         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87942         set RES_USEVC.
87944         [BZ #11634]
87945         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87947         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87949         [BZ #11781]
87950         * malloc/malloc.h: Declare malloc hook variables as volatile.
87952         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87953         in last patch.
87955         [BZ #11799]
87956         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87957         raise in the comment.
87958         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87959         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87960         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87962 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87964         [BZ #12811]
87965         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87966         grow the buffers more if it already has to be sufficient.
87967         (build_wcs_upper_buffer): Likewise.
87968         * posix/regexec.c (check_matching): Likewise.
87969         (clean_state_log_if_needed): Likewise.
87970         (extend_buffers): Don't enlarge buffers beyond size of the input
87971         buffer.
87972         Patches mostly by Emil Wojak <emil@wojak.eu>.
87973         * posix/bug-regex32.c: New file.
87974         * posix/Makefile (tests): Add bug-regex32.
87976         * locale/findlocale.c (_nl_find_locale): Return right away if
87977         _nl_explode_name failed.
87978         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87980         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87982         * debug/xtrace.sh: Unify messages.
87983         * malloc/memusage.sh: Likewise.
87985         [BZ #12813]
87986         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87987         time symbol from vDSO.  Substitute with vsyscall if not available.
87988         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87989         __vdso_time.
87991         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87992         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87993         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87994         Add sendmmsg and internal_sendmmsg.
87995         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87996         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87997         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87999         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
88000         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
88001         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
88003 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
88005         [BZ #12813]
88006         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
88007         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
88008         available.
88009         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
88010         __vdso_getcpu.
88012         [BZ #12814]
88013         * iconvdata/Makefile (tests): Add bug-iconv9.
88014         * iconvdata/bug-iconv9.c: New file.
88016 2011-05-27  Andreas Schwab  <schwab@redhat.com>
88018         [BZ #12814]
88019         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
88021 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
88023         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88024         (struct user_regs_struct): Change intcs field back to cs.
88026 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
88028         * po/ja.po: Update from translation team.
88030 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
88032         [BZ #12795]
88033         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
88034         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
88036 2011-05-20  Andreas Schwab  <schwab@redhat.com>
88038         * stdlib/longlong.h: Update from GCC.
88040 2011-05-23  Andreas Schwab  <schwab@redhat.com>
88042         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
88043         parameter name.
88044         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
88045         Add parameter name.
88046         (__sysconf): Pass it down.
88048 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
88050         [BZ #12671]
88051         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
88052         some situations.
88053         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
88054         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
88055         add in in __libc_use_alloca calls.  Adjust callers.
88056         (glob): Use malloc in some situations.
88058         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
88059         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
88060         pltexit.
88062 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
88064         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
88065         and CLOCK_BOOTTIME_ALARM.
88067         [BZ #12782]
88068         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
88069         is returned.
88071         * string/_strerror.c (__strerror_r): Print negative errors as signed
88072         numbers.
88074         [BZ #12777]
88075         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
88076         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
88077         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
88079         * configure.in: Fix typo in redirection and correct removal of test
88080         files in two cases.
88082         [BZ #12788]
88083         * locale/setlocale.c (new_composite_name): Fix test to check for
88084         identical name of all categories.
88086         [BZ #12792]
88087         * libio/filedoalloc.c (local_isatty): New function.
88088         (_IO_file_doallocate): Use local_isatty.
88089         * stdio-common/perror.c (perror): In case a new stream is used
88090         forward the stream error.
88091         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
88092         error flag.
88094 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
88096         [BZ #11884]
88097         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
88098         alloca.
88099         * include/alloca.h (extend_alloca_account): Define.
88101         [BZ #11857]
88102         * posix/regex.h: Fix comments with documentation of user-accessible
88103         fields after compilation and describe correct free'ing of pattern
88104         after re_compile_pattern.
88105         Patch by Reuben Thomas <rrt@sc3d.org>.
88107 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
88109         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
88110         and -mno-altivec to prevent the compiler from using Altivec and/or
88111         VSX instructions when the corresponding registers are not available.
88113 2011-05-19  Andreas Schwab  <schwab@redhat.com>
88115         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
88117 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
88119         * libio/freopen.c (freopen): Use __dup2, not dup2.
88120         * libio/freopen64.c (freopen64): Likewise.
88122 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
88124         [BZ #12775]
88125         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
88126         * math/Makefile (tests): Add test-powl.
88127         (CFLAGS-test-powl.c): Define.
88128         * math/test-powl.c: New file.
88130 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
88132         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
88134 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
88136         [BZ #11837]
88137         * iconvdata/gb18030.c: Update to GB18020-2005.
88139 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
88141         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
88142         RE_SYNTAX_POSIX_AWK): Update to match recent development.
88143         Patch by Aharon Robbins <arnold@skeeve.com>.
88145         [BZ #11892]
88146         * stdlib/putenv.c (putenv): Don't always create copy of the variable
88147         on the stack.
88149         [BZ #11895]
88150         * misc/pselect.c (__pselect): Handle timeout value errors hidden
88151         through underflows.
88153         [BZ #12766]
88154         * misc/error.c (error_at_line): Ensure file_name and old_file_name
88155         point to strings before performing equality test for error_one_per_line
88156         mode.
88158         [BZ #11697]
88159         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
88161         [BZ #11820]
88162         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88163         (struct user_fpregs_struct): Avoid __uint*_t types.
88165         [BZ #6420]
88166         * malloc/mtrace.c (tr_where): Add additional parameter to point to
88167         symbol info.  Use it instead of calling _dl_addr locally.
88168         (lock_and_info): New function.
88169         (tr_freehook): Call lock_and_info and pass symbol info as additional
88170         parameter to tr_where.
88171         (tr_mallochook): Likewise.
88172         (tr_reallochook): Likewise.
88173         (tr_memalignhook): Likewise.
88175         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
88176         used and couldn't be at all thread-safe.
88178 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
88180         * libio/freopen.c (freopen): Don't close old file descriptor
88181         before the new one is opened.  Instead dup the new file descriptor
88182         to the old one after the new stream is created.
88183         * libio/freopen64.c (freopen64): Likewise.
88184         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
88185         * libio/fileops.c (_IO_new_file_close_it): Handle new
88186         _IO_FLAGS2_NOCLOSE flag.
88187         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
88188         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
88189         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
88190         _IO_FLAGS2_NOCLOSE flag.
88191         * include/unistd.h: Add hidden_proto for dup3.
88192         Define __have_dup3.
88193         * io/dup3.c: Define hidden symbol.
88194         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
88196         [BZ #7101]
88197         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
88198         when an incomplete long option is used.
88199         * posix/tst-getopt_long1.c: New file.
88200         * posix/Makefile (tests): Add tst-getopt_long1.
88202         [BZ #10138]
88203         * scripts/config.guess: Update from autoconf-2.68.
88204         * scripts/config.sub: Likewise.
88206         [BZ #10157]
88207         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
88208         tests into ...
88209         (has_cpuclock): ...this.  New function.
88210         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
88211         macro here based on has_cpuclock code.
88213         [BZ #10149]
88214         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88215         First byte (not low byte) is now always NUL.
88216         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
88218         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88219         Use non-cancelable interfaces.
88221         [BZ #9809]
88222         * locale/iso-639.def: Add entry for Sorani.
88224         [BZ #11901]
88225         * include/stdlib.h: Move include protection to the right place.
88226         Define abort_msg_s.  Declare __abort_msg with it.
88227         * stdlib/abort.c (__abort_msg): Adjust type.
88228         * assert/assert.c (__assert_fail_base): New function.  Majority
88229         of code from __assert_fail.  Allocate memory for __abort_msg with
88230         mmap.
88231         (__assert_fail): Now call __assert_fail_base.
88232         * assert/assert-perr.c: Remove bulk of implementation.  Use
88233         __assert_fail_base.
88234         * include/assert.hL Declare __assert_fail_base.
88235         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
88236         mmap.
88237         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
88239 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
88241         [BZ #11952]
88242         [BZ #12453]
88243         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
88244         until all modules are registered in the DTV.
88245         * elf/Makefile: Add rules to build and run tst-tls19.
88246         * elf/tst-tls19.c: New file.
88247         * elf/tst-tls19mod1.c: New file.
88248         * elf/tst-tls19mod2.c: New file.
88249         * elf/tst-tls19mod3.c: New file.
88250         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
88252         [BZ #12083]
88253         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
88254         correctly.
88256         [BZ #12601]
88257         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
88258         two-byte sequence errors.
88259         * iconvdata/Makefile (tests): Add bug-iconv8.
88260         * iconvdata/bug-iconv8.c: New file.
88262         [BZ #12626]
88263         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
88264         buf2 definition.
88266         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
88268         [BZ #12432]
88269         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
88270         (dummy_getcfa): New function.
88271         (init): Get _Unwind_GetCFA address, use dummy if not found.
88272         (backtrace_helper): In recursion check, also check whether CFA changes.
88273         (__backtrace): Completely initialize arg.
88275         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
88276         storing incomplete byte sequence in state object.  Avoid testing for
88277         guaranteed too small input if we know there is enough data available.
88279 2011-05-11  Andreas Schwab  <schwab@redhat.com>
88281         * Makeconfig (+link-pie): Indent.
88282         * Rules (binaries-pie): Define if $(have-fpie) and
88283         $(build-shared).
88284         (binaries-shared): Also filter out $(binaries-pie).
88285         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
88286         * nscd/Makefile (others-pie): Add nscd.
88287         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
88288         ($(objpfx)nscd): Remove command override.
88289         * login/Makefile (others-pie): Add pt_chown.
88290         ($(objpfx)pt_chown): Remove command override.
88291         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
88292         remove command overrides.
88294 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88296         * libio/tst_putwc.c: Fix error messages.
88298         [BZ #12724]
88299         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88300         currently writing and seek to current position when not.
88301         * libio/Makefile (tests): Add bug-fclose1.
88302         * libio/bug-fclose1.c: New file.
88304 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88306         [BZ #12511]
88307         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88308         don't set DF_1_NODELETE here.
88309         (do_lookup_x): When entering new entry test for copy relocation
88310         and if necessary set DF_1_NODELETE flag.
88311         * elf/tst-unique4.cc: New file.
88312         * elf/tst-unique4.h: New file.
88313         * elf/tst-unique4lib.cc: New file.
88314         * elf/Makefile: Add rules to build and run tst-unique4.
88315         Patch by Piotr Bury <pbury@goahead.com>.
88317 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88319         [BZ #12052]
88320         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88322         [BZ #12625]
88323         * misc/mntent_r.c (addmntent): Flush the stream after the output
88325         [BZ #12393]
88326         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88327         (is_trusted_path_normalize): Skip initial colon.  Append slash
88328         to empty buffer.  Duplicate is_trusted_path code but allow
88329         constructed patch to be prefix.
88330         (is_dst): Allow $ORIGIN followed by /.
88331         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88332         Correct testing of result of is_trusted_path_normalize
88333         (decompose_rpath): Fix warning.
88335 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88337         [BZ #11257]
88338         * grp/initgroups.c (internal_getgrouplist): When we found the service
88339         list through the initgroups entry in nsswitch.conf do not always
88340         continue on a successful lookup.  Don't always use the
88341         __nss_group_database value if it is set.
88342         * nss/nsswitch.conf (initgroups): Change action for successful db
88343         lookup to continue for compatibility.
88345 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88347         [BZ #11532]
88348         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88349         and CP774 modules.
88350         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88351         and CP774 modules.
88352         * iconvdata/tst-tables.sh: Likewise.
88353         * iconvdata/cp770.c: New file.
88354         * iconvdata/cp771.c: New file.
88355         * iconvdata/cp772.c: New file.
88356         * iconvdata/cp773.c: New file.
88357         * iconvdata/cp774.c: New file.
88358         * iconvdata/testdata/CP770: New file.
88359         * iconvdata/testdata/CP770..UTF8: New file.
88360         * iconvdata/testdata/CP771: New file.
88361         * iconvdata/testdata/CP771..UTF8: New file.
88362         * iconvdata/testdata/CP772: New file.
88363         * iconvdata/testdata/CP772..UTF8: New file.
88364         * iconvdata/testdata/CP773: New file.
88365         * iconvdata/testdata/CP773..UTF8: New file.
88366         * iconvdata/testdata/CP774: New file.
88367         * iconvdata/testdata/CP774..UTF8: New file.
88369         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88370         END CHARMAP line.
88371         * iconvdata/gen-8bit-gap.sh: Likewise.
88372         * iconvdata/gen-8bit.sh: Likewise.
88374         * locale/iso-639.def: Add ary entry.
88376         [BZ #11258]
88377         * locale/C-translit.h.in: Add U20A1 transliteration.
88379         [BZ #12178]
88380         * locale/iso-639.def: Add wae entry.
88381         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88383         [BZ #12545]
88384         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88385         for n.
88387         [BZ #12711]
88388         * locale/C-translit.h.in: Add entry for U20B9.
88389         Patch by pravin.d.s@gmail.com.
88391 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88393         [BZ #12713]
88394         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88395         ENAMETOOLONG use generic getcwd.
88396         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88397         in rtld.  Use *stat64.
88398         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88399         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88400         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88401         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88402         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88403         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88404         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88405         __fstatat64 macros.
88406         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88407         * dirent/rewinddir.c: Add libc_hidden_def.
88408         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88409         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88411         * include/dirent.h (__alloc_dir): Add flags parameter.
88412         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88413         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88414         __alloc_dir.
88415         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88416         from fdopendir if O_CLOEXEC is already set.
88418 2011-03-15  Alan Modra  <amodra@gmail.com>
88420         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88421         l_tls_firstbyte_offset non-zero.  Save padding offset in
88422         l_tls_firstbyte_offset for later use.
88423         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88424         freeing static tls block.
88426 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88428         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88429         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88430         being defined by the kernel headers.
88432 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88434         [BZ #12734]
88435         * resolv/resolv.h: Define RES_NOTLDQUERY.
88436         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88437         no-tld-query and set RES_NOTLDQUERY.
88438         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88439         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88440         modern BIND to search name as TLD unless forbidden.
88442 2011-05-07  Petr Baudis  <pasky@suse.cz>
88443             Ulrich Drepper  <drepper@gmail.com>
88445         [BZ #12393]
88446         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88447         (is_trusted_path): ...to here.
88448         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88449         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88450         using is_trusted_path_normalize() in setuid scripts.
88452 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88454         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88455         __BEGIN/__END_DECLS.
88457 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88459         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88460         NSS_STATUS_NOTFOUND if no record was found.
88462 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88464         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88465         (headers-not-in-tirpc): Remove rpc/netdb.h
88466         * resolv/netdb.h: Revert last change.
88468 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88470         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88471         circular dependency between libgcc.a and libc.a.
88473 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88475         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88476         * nis/Makefile: Don't install rpcsvc/*.
88477         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88478         instead of <rpc/types.h>.
88479         (MAXHOSTNAMELEN): Define.
88481 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88483         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88485 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88487         [BZ #12714]
88488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88489         gethostbyname4_r when IPv6 results are possible.
88491 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88493         [BZ #12723]
88494         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88495         _PC_PIPE_BUF handling.
88497 2011-04-30  Bruno Haible  <bruno@clisp.org>
88499         [BZ #12717]
88500         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88501         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88502         to 'int'.
88503         * inet/getnameinfo.c (getnameinfo): Likewise.
88505 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88507         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88508         to groups setting in database lookup.
88509         * nss/nsswitch.conf: Add initgroups entry.
88511 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88513         [BZ #12685]
88514         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88515         mode string.
88516         Patch by Eric Blake <eblake@redhat.com>.
88518 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88520         * sunrpc/Makefile (need-export-routines): Add svc_run.
88521         (routines): Remove svc_run.
88522         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88523         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88524         * sunrpc/svc_run.c (svc_run): Likewise.
88525         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88527 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88529         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88530         problem in reallocation in last patch.
88532 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88534         * sunrpc/Makefile: Move inclusion of Rules.
88536 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88538         * nss/nss_files/files-initgroups.c: New file.
88539         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88540         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88541         _nss_files_initgroups_dyn.
88543 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88545         * elf/elf.h (R_ARM_IRELATIVE): Define.
88547 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88549         * po/ru.po: Update from translation team.
88551 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88553         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88554         dependencies.
88556 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88558         [BZ #12653]
88559         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88560         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88561         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88562         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88563         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88565 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88567         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88568         differing bytes.
88569         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88570         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88571         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88573 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88575         [BZ #12420]
88576         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88577         storing it.
88578         * stdlib/bug-getcontext.c: New file.
88579         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88581 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88583         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88584         instructions into .machine "z9-109".
88585         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88586         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88588 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88590         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88591         between environment variables and auxiliary vector.
88593 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88595         * Makefile: Add rules to build linkobj/libc.so.
88596         * include/libc-symbols.h: Define libc_hidden_nolink.
88597         * include/rpc/auth.h: Mark functions which are to be hidden.
88598         * include/rpc/auth_des.h: Likewise.
88599         * include/rpc/auth_unix.h: Likewise.
88600         * include/rpc/clnt.h: Likewise.
88601         * include/rpc/des_crypt.h: Likewise.
88602         * include/rpc/key_prot.h: Likewise.
88603         * include/rpc/pmap_clnt.h: Likewise.
88604         * include/rpc/pmap_prot.h: Likewise.
88605         * include/rpc/pmap_rmt.h: Likewise.
88606         * include/rpc/rpc_msg.h: Likewise.
88607         * include/rpc/svc.h: Likewise.
88608         * include/rpc/svc_auth.h: Likewise.
88609         * include/rpc/xdr.h: Likewise.
88610         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88611         * nss/Makefile: Likewise.
88612         * sunrpc/Makefile: Don't install headers.  Build library with normal
88613         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88614         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88615         for the compat linking library.  Remove use of INTDEF/INTUSE.
88616         * sunrpc/auth_none.c: Likewise.
88617         * sunrpc/auth_unix.c: Likewise.
88618         * sunrpc/authdes_prot.c: Likewise.
88619         * sunrpc/authuxprot.c: Likewise.
88620         * sunrpc/clnt_gen.c: Likewise.
88621         * sunrpc/clnt_perr.c: Likewise.
88622         * sunrpc/clnt_raw.c: Likewise.
88623         * sunrpc/clnt_simp.c: Likewise.
88624         * sunrpc/clnt_tcp.c: Likewise.
88625         * sunrpc/clnt_udp.c: Likewise.
88626         * sunrpc/clnt_unix.c: Likewise.
88627         * sunrpc/des_crypt.c: Likewise.
88628         * sunrpc/des_soft.c: Likewise.
88629         * sunrpc/get_myaddr.c: Likewise.
88630         * sunrpc/key_call.c: Likewise.
88631         * sunrpc/key_prot.c: Likewise.
88632         * sunrpc/netname.c: Likewise.
88633         * sunrpc/pm_getmaps.c: Likewise.
88634         * sunrpc/pm_getport.c: Likewise.
88635         * sunrpc/pmap_clnt.c: Likewise.
88636         * sunrpc/pmap_prot.c: Likewise.
88637         * sunrpc/pmap_prot2.c: Likewise.
88638         * sunrpc/pmap_rmt.c: Likewise.
88639         * sunrpc/publickey.c: Likewise.
88640         * sunrpc/rpc_cmsg.c: Likewise.
88641         * sunrpc/rpc_common.c: Likewise.
88642         * sunrpc/rpc_dtable.c: Likewise.
88643         * sunrpc/rpc_prot.c: Likewise.
88644         * sunrpc/rpc_thread.c: Likewise.
88645         * sunrpc/rtime.c: Likewise.
88646         * sunrpc/svc.c: Likewise.
88647         * sunrpc/svc_auth.c: Likewise.
88648         * sunrpc/svc_authux.c: Likewise.
88649         * sunrpc/svc_raw.c: Likewise.
88650         * sunrpc/svc_run.c: Likewise.
88651         * sunrpc/svc_simple.c: Likewise.
88652         * sunrpc/svc_tcp.c: Likewise.
88653         * sunrpc/svc_udp.c: Likewise.
88654         * sunrpc/svc_unix.c: Likewise.
88655         * sunrpc/svcauth_des.c: Likewise.
88656         * sunrpc/xcrypt.c: Likewise.
88657         * sunrpc/xdr.c: Likewise.
88658         * sunrpc/xdr_array.c: Likewise.
88659         * sunrpc/xdr_float.c: Likewise.
88660         * sunrpc/xdr_intXX_t.c: Likewise.
88661         * sunrpc/xdr_mem.c: Likewise.
88662         * sunrpc/xdr_rec.c: Likewise.
88663         * sunrpc/xdr_ref.c: Likewise.
88664         * sunrpc/xdr_sizeof.c: Likewise.
88665         * sunrpc/xdr_stdio.c: Likewise.
88667 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88669         [BZ #12650]
88670         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88671         * sysdeps/ia64/dl-tls.h: Likewise.
88672         * sysdeps/powerpc/dl-tls.h: Likewise.
88673         * sysdeps/s390/dl-tls.h: Likewise.
88674         * sysdeps/sh/dl-tls.h: Likewise.
88675         * sysdeps/sparc/dl-tls.h: Likewise.
88676         * sysdeps/x86_64/dl-tls.h: Likewise.
88677         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88679 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88681         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88682         rpath element also skip the following colon.
88683         (expand_dynamic_string_token): Add is_path parameter and pass
88684         down to DL_DST_REQUIRED and _dl_dst_substitute.
88685         (decompose_rpath): Call expand_dynamic_string_token with
88686         non-zero is_path.  Ignore empty rpaths.
88687         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88688         with zero is_path.
88690 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88693         Make cancelable.
88695 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88697         [BZ #12655]
88698         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88699         Patch by Filipe David Manana <fdmanana@apache.org>.
88701 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88703         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88704         Maintain aligned stack.
88705         (CHECK_RSP): Remove unused macro.
88707 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88709         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88710         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88712 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88714         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88716         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88718 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88720         [BZ #12518]
88721         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88722         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88723         * sysdeps/x86_64/memmove.c: New file.
88724         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88725         (memcpy): Renamed to ...
88726         (__new_memcpy): This.
88727         (memcpy): Provide GLIBC_2_14 memcpy.
88728         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88729         (memcpy): Provide GLIBC_2_2_5 memcpy.
88731 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88733         [BZ #12631]
88734         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88736 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88738         * misc/syncfs.c: New file.
88739         * misc/Makefile (routines): Add syncfs.
88740         * posix/unistd.h: Declare syncfs.
88741         * sysdeps/unix/syscalls.list: Add syncfs.
88743 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88745         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88746         open_by_handle_at.
88747         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88748         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88749         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88750         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88751         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88752         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88753         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88755 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88757         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88758         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88759         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88760         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88761         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88762         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88763         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88765         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88766         sync_file_range.c with -fexceptions.
88767         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88768         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88769         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88770         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88771         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88772         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88773         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88774         sync_file_range as cancellation point
88775         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88776         now a wrapper around __call_sync_file_range with cancellation handling.
88777         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88778         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88779         function name to __call_sync_file_range.
88780         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88781         Add call_sync_file_range.
88783 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88785         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88786         bits/timex.h.
88788 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88790         * iconv/iconv.h: Fix typo in comment.
88791         * io/fcntl.h: Likewise.
88792         * libio/stdio.h: Likewise.
88793         * posix/spawn.h: Likewise.
88794         * posix/unistd.h: Likewise.
88795         * stdlib/stdlib.h: Likewise.
88796         * time/time.h: Likewise.
88797         * wcsmbs/wchar.h: Likewise.
88799         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88800         open_by_handle): Add.
88801         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88802         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88803         Augment a few comments.
88804         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88805         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88806         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88808         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88809         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88810         open_by_handle.
88812         * io/fcntl.h (AT_EMPTY_PATH): Define.
88814 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88816         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88817         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88818         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88819         to...
88820         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88821         * Versions.def: Add GLIBC_2.14.
88822         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88823         Export.
88825 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88827         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88828         round counter.
88829         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88831 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88833         [BZ #12597]
88834         * string/test-strncmp.c (do_page_test): New function.
88835         (check2): Likewise.
88836         (test_main): Call check2.
88837         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88839 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88841         [BZ #12587]
88842         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88843         Handle cache information in CPU leaf 4.
88844         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88846 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88848         [BZ #12583]
88849         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88850         character representation.
88851         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88853 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88855         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88856         END(__isnan) to END(__isnanf) to match function entry point/label
88857         EALIGN(__isnanf,...).
88859 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88861         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88863 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88865         [BZ #12510]
88866         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88867         copy from the symbol referenced in the relocation to initialize the
88868         used variable.
88869         Patch by Piotr Bury <pbury@goahead.com>.
88870         * elf/Makefile: Add rules to build and tst-unique3.
88871         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88872         * elf/tst-unique3.cc: New file.
88873         * elf/tst-unique3.h: New file.
88874         * elf/tst-unique3lib.cc: New file.
88875         * elf/tst-unique3lib2.cc: New file.
88877         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88879 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88881         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88882         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88883         to _start.
88885 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88887         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88888         to-be-loaded object along a path to loader is ld.so.
88890 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88891             Ulrich Drepper  <drepper@gmail.com>
88893         * sysdeps/x86_64/memset.S: After aligning destination, code
88894         branches to different locations depending on the value of
88895         misalignment, when multiarch is enabled. Fix this.
88897 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88899         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88900         Set _x86_64_preferred_memory_instruction for AMD processsors.
88901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88902         Set bit_Prefer_SSE_for_memop for AMD processors.
88904 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88906         * libio/fmemopen.c (fmemopen): Optimize a bit.
88908 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88910         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88912 2011-03-03  Roland McGrath  <roland@redhat.com>
88914         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88916 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88918         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88919         __bzero_ultra1 instead of __memset_ultra1.
88921 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88922             Ulrich Drepper  <drepper@gmail.com>
88924         [BZ #12509]
88925         * include/link.h (struct link_map): Add l_orig_initfini.
88926         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88927         returning unsuccessfully.
88928         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88929         close of a file loaded at startup, restore the original l_initfini
88930         list.
88931         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88932         list, store the pointer.
88933         * elf/Makefile ($(objpfx)noload-mem): New rule.
88934         (noload-ENV): Define.
88935         (tests): Add $(objpfx)noload-mem.
88936         * elf/noload.c: Include <memcheck.h>.
88937         (main): Call mtrace.  Close all opened handles.
88939 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88941         [BZ #12454]
88942         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88943         dependencies are missing.
88945 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88947         Fix __if_freereq crash: Unlike the generic version which uses free,
88948         Hurd needs munmap.
88949         * sysdeps/mach/hurd/ifreq.h: New file.
88951 2011-01-27  Petr Baudis  <pasky@suse.cz>
88952             Ulrich Drepper  <drepper@gmail.com>
88954         [BZ 12445]#
88955         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88956         to extend_alloca().
88957         * stdio-common/bug23.c: New file.
88958         * stdio-common/Makefile (tests): Add bug23.
88960 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88961             Ulrich Drepper  <drepper@gmail.com>
88963         [BZ #12489]
88964         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88965         before performing relro protection.  At old place add assertion
88966         to make sure nothing changed.
88968 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88969             Glauber de Oliveira Costa  <glommer@gmail.com>
88971         * elf/elf.h: Add new ARM TLS relocs.
88973 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88976         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88977         cast from r3.
88978         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88979         'tests' variable.
88980         * sysdeps/wordsize-64/tst-writev.c: New file.
88982 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88984         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88985         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88986         insns in _dl_start to prevent a TOC reference before relocs are
88987         resolved.
88989 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88991         [BZ #12469]
88992         * Makeconfig: Remove RANLIB definition.
88993         * Makerules: Don't use RANLIB.
88994         * aclocal.m4: Remove ranlib test.
88995         * configure.in: No need to check for ranlib.
88996         * elf/rtld-Rules: Don't use RANLIB.
88998 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89000         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
89001         protection macro.
89002         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
89003         inclusion protection macro.
89005         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
89006         SIGRTMIN and SIGRTMAX and print information in that case only when
89007         SIGRTMIN is defined.
89009 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
89011         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
89012         arginfo fn returning -1.
89014         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
89015         and thousands string is zero terminated.
89017 2011-02-03  Andreas Schwab  <schwab@redhat.com>
89019         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
89020         sysdeps/unix/sysv/linux/bits/socket.h.
89022 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89024         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
89025         (__CPU_COUNT): Remove old macros.
89026         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
89027         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
89028         (__CPU_ALLOC, __CPU_FREE): Add macros.
89029         (__sched_cpualloc, __sched_cpufree): Add declarations.
89031 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
89033         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
89034         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
89035         * nscd/aicache.c (addhstaiX): Return timeout of added value.
89036         (readdhstai): Return value of addhstaiX call.
89037         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
89038         (addgrbyX): Return value returned by cache_addgr.
89039         (readdgrbyname): Return value returned by addgrbyX.
89040         (readdgrbygid): Likewise.
89041         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
89042         (addpwbyX): Return value returned by cache_addpw.
89043         (readdpwbyname): Return value returned by addhstbyX.
89044         (readdpwbyuid): Likewise.
89045         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
89046         (addservbyX): Return value returned by cache_addserv.
89047         (readdservbyname): Return value returned by addservbyX:
89048         (readdservbyport): Likewise.
89049         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
89050         (addhstbyX): Return value returned by cache_addhst.
89051         (readdhstbyname): Return value returned by addhstbyX.
89052         (readdhstbyaddr): Likewise.
89053         (readdhstbynamev6): Likewise.
89054         (readdhstbyaddrv6): Likewise.
89055         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
89056         (readdinitgroups): Return value returned by addinitgroupsX.
89057         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
89058         (prune_cache): Keep track of timeout value of re-added entries.
89059         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
89060         * nscd/nscd.h: Adjust prototypes of readd* functions.
89062 2011-02-04  Roland McGrath  <roland@redhat.com>
89064         * nis/nis_server.c (nis_servstate): Use the right name for 0.
89065         (nis_stats): Likewise.
89066         * nis/nis_modify.c (nis_modify): Likewise.
89067         * nis/nis_remove.c (nis_remove): Likewise.
89068         * nis/nis_add.c (nis_add): Likewise.
89070         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
89072         * posix/fnmatch_loop.c: Add some consts.
89074         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
89076 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
89078         [BZ #12460]
89079         * config.make.in (config-cflags-novzeroupper): Define.
89080         * configure.in: Substitute libc_cv_cc_novzeroupper.
89081         * elf/Makefile (AVX-CFLAGS): Define.
89082         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
89083         (CFLAGS-tst-auditmod4a.c): Likewise.
89084         (CFLAGS-tst-auditmod4b.c): Likewise.
89085         (CFLAGS-tst-auditmod6b.c): Likewise.
89086         (CFLAGS-tst-auditmod6c.c): Likewise.
89087         (CFLAGS-tst-auditmod7b.c): Likewise.
89088         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
89090 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
89092         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
89093         function to the callback.
89094         Patch partly by Jiri Olsa <jolsa@redhat.com>.
89096 2011-02-02  Andreas Schwab  <schwab@redhat.com>
89098         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
89099         of errno.
89101 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
89103         [BZ #11724]
89104         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
89105         of constructors.
89106         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
89107         of destructors.
89108         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
89110         [BZ #11724]
89111         * elf/Makefile: Add rules to build and run new test.
89112         * elf/tst-initorder.c: New file.
89113         * elf/tst-initorder.exp: New file.
89114         * elf/tst-initordera1.c: New file.
89115         * elf/tst-initordera2.c: New file.
89116         * elf/tst-initordera3.c: New file.
89117         * elf/tst-initordera4.c: New file.
89118         * elf/tst-initorderb1.c: New file.
89119         * elf/tst-initorderb2.c: New file.
89120         * elf/tst-order-a1.c: New file.
89121         * elf/tst-order-a2.c: New file.
89122         * elf/tst-order-a3.c: New file.
89123         * elf/tst-order-a4.c: New file.
89124         * elf/tst-order-b1.c: New file.
89125         * elf/tst-order-b2.c: New file.
89126         * elf/tst-order-main.c: New file.
89127         New test case by George Gensure <werkt0@gmail.com>.
89129 2010-10-01  Andreas Schwab  <schwab@redhat.com>
89131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89132         decoding ACE if AI_CANONIDN.
89134 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
89136         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
89138 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
89140         * version.h (RELEASE): Bump for 2.13 release.
89141         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
89143         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
89145         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
89146         MADV_NOHUGEPAGE.
89147         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
89148         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
89149         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
89150         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
89151         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
89152         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89154         * posix/getconf.c: Update copyright year.
89155         * catgets/gencat.c: Likewise.
89156         * csu/version.c: Likewise.
89157         * debug/catchsegv.sh: Likewise.
89158         * debug/xtrace.sh: Likewise.
89159         * elf/ldconfig.c: Likewise.
89160         * elf/ldd.bash.in: Likewise.
89161         * elf/sprof.c (print_version): Likewise.
89162         * iconv/iconv_prog.c: Likewise.
89163         * iconv/iconvconfig.c: Likewise.
89164         * locale/programs/locale.c: Likewise.
89165         * locale/programs/localedef.c: Likewise.
89166         * malloc/memusage.sh: Likewise.
89167         * malloc/mtrace.pl: Likewise.
89168         * nscd/nscd.c (print_version): Likewise.
89169         * nss/getent.c: Likewise.
89171         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
89172         PF_CAIF, and PF_ALG.
89173         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89175 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
89177         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
89178         (modules-names): Use them.
89179         (ifunc-test-modules, ifunc-pie-tests): Define.
89180         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
89181         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
89182         (test-extras): Likewise.
89183         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
89184         $(compile-command.c).
89185         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
89186         (all-built-dso): Define.
89187         (check-textrel.out, check-execstack.out): Depend on it.
89189         * configure.in: Don't override --enable-multi-arch.
89191 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
89193         [BZ #6812]
89194         * nscd/hstcache.c (tryagain): Define.
89195         (cache_addhst): Return tryagain not notfound for temporary errors.
89196         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
89197         failed.
89199 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
89201         [BZ #10563]
89202         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
89203         to make the syscall.
89204         * sysdeps/unix/sysv/linux/setgroups.c: New file.
89206         [BZ #12378]
89207         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
89208         and fall back to matching as normal character if the string ends before
89209         the matching ']' is found.  This is what POSIX requires.
89210         * posix/testfnm.c: Adjust test result.
89211         * posix/globtest.sh: Adjust test result.  Add new test.
89212         * posix/tst-fnmatch.input: Likewise.
89213         * posix/tst-fnmatch2.c: Add new test.
89215 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
89217         * elf/Makefile (check-execstack): Revert last change.  Depend on
89218         check-execstack.h.
89219         (check-execstack.h): New target.
89220         (generated): Add check-execstack.h.
89221         * elf/check-execstack.c: Include "check-execstack.h".
89222         (main): Revert last change.
89223         (handle_file): Return zero if GNU_STACK is absent and
89224         DEFAULT_STACK_PERMS doesn't include PF_X.
89226 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
89228         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
89229         in child fails because the descriptor is already closed.
89230         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
89231         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
89232         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
89234         [BZ #12397]
89235         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
89236         syscall.
89238         [BZ #10484]
89239         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
89240         temporary buffer used to handle multi lookups locally.
89241         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
89243 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89245         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
89246         loader is ld.so.
89248 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
89250         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
89251         alignment for SSE2.
89253 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89255         [BZ #12394]
89256         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
89257         characters.  When rounding increased number of integer digits recompute
89258         number of groups.
89259         * stdio-common/tst-grouping.c: New file.
89260         * stdio-common/Makefile: Add rules to build and run tst-grouping.
89262 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
89264         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
89265         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
89267         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
89268         void.
89269         * bits/select.h: Likewise.
89271 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
89273         * po/ja.po: Update from translation team.
89275 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
89277         [BZ #11155]
89278         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
89279         implementation just like for lxstat, fxstatat, et al.
89281 2010-12-27  Jim Meyering  <meyering@redhat.com>
89283         [BZ #12348]
89284         * posix/regexec.c (build_trtable): Return failure indication upon
89285         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
89287 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
89289         [BZ #12201]
89290         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
89291         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89292         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
89293         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89295         [BZ #12207]
89296         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89298         [BZ #12204]
89299         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89300         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89302 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89304         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89305         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89306         script has SORT_BY_INIT_PRIORITY.
89307         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89308         NO_CTORS_DTORS_SECTIONS is defined.
89309         * elf/soinit.c: Likewise.
89310         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89311         NO_CTORS_DTORS_SECTIONS is defined.
89312         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89313         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89314         * sysdeps/sh/init-first.c: Likewise.
89315         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89317 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89319         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89320         always use the slow path.
89322 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89324         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89325         similar rule which adds the sysdep directories to the header search in
89326         order to pick up the correct platform stackinfo.h.
89327         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89328         perform test if it is, otherwise return successfully without testing.
89329         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89330         DEFAULT_STACK_PERMS define in stackinfo.h.
89331         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89332         defined in stackinfo.h.
89333         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89334         DEFAULT_STACK_PERMS defined in stackinfo.h.
89335         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89336         * sysdeps/ia64/stackinfo.h: Likewise.
89337         * sysdeps/s390/stackinfo.h: Likewise.
89338         * sysdeps/sh/stackinfo.h: Likewise.
89339         * sysdeps/sparc/stackinfo.h: Likewise.
89340         * sysdeps/x86_64/stackinfo.h: Likewise.
89341         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89342         PF_X for powerpc64.  Retain PF_X for powerpc32.
89344 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89346         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89347         accurately.
89348         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89349         GETDENTS_64BIT_ALIGNED.
89351 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89353         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89355 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89357         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89358         _GNU_SOURCE.
89360         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89361         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89362         Remove __restrict.
89363         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89364         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89366 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89368         [BZ #11655]
89369         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89370         are initialized.
89372 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89374         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89376 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89378         * po/it.po: Update from translation team.
89380 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89382         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89383         unused codes.
89385 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89387         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89389 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89391         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89392         specially.
89393         (gaih_getanswer_slice): Likewise.
89395 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89399 2010-05-31  Petr Baudis  <pasky@suse.cz>
89401         [BZ #11149]
89402         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89403         silently even in the chroot mode.
89405 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89407         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89408         last patch a bit.  Pretty printing
89410 2010-05-31  Petr Baudis <pasky@suse.cz>
89412         [BZ #10085]
89413         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89414         initialization of skip_initgroups_dyn.
89416 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89418         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89419         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89421 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89423         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89425 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89427         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89428         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89429         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89430         ($(objpfx)tst-fnmatch-mem): New rule.
89431         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89432         * posix/tst-fnmatch.c (main): Call mtrace.
89434 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89436         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89437         Support Intel processor model 6 and model 0x2c.
89439 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89441         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89442           signed comparison.
89444 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89446         [BZ #12205]
89447         * string/test-strncasecmp.c (check_result): New function.
89448         (do_one_test): Use it.
89449         (check1): New function.
89450         (test_main): Use it.
89451         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89452         Support strcasecmp and strncasecmp.
89454 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89456         [BZ #12194]
89457         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89458         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89460 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89462         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89463         IFUNC support.
89464         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89465         memset-x86-64.
89466         * sysdeps/x86_64/multiarch/bzero.S: New file.
89467         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89468         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89469         * sysdeps/x86_64/multiarch/memset.S: New file.
89470         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89472         Set bit_Prefer_SSE_for_memop for Intel processors.
89473         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89474         Define.
89475         (index_Prefer_SSE_for_memop): Define.
89476         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89478 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89480         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89481         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89483 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89485         [BZ #12191]
89486         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89487         (__x86_64_raw_data_cache_size_half): Likewise.
89488         (__x86_64_raw_shared_cache_size): Likewise.
89489         (__x86_64_raw_shared_cache_size_half): Likewise.
89491         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89492         (__x86_64_raw_data_cache_size_half): Likewise.
89493         (__x86_64_raw_shared_cache_size): Likewise.
89494         (__x86_64_raw_shared_cache_size_half): Likewise.
89495         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89496         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89497         and __x86_64_raw_shared_cache_size_half.  Round
89498         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89499         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89500         to multiple of 256 bytes.
89502 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89504         [BZ #12167]
89505         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89506         of inacessible symlinks.  Verify result of symlink before returning it.
89507         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89508         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89510 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89512         * math/math.h (isinf): Fix typo in comment.
89514 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89516         * po/da.po: Update from translation team.
89518 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89520         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89521         is added to the list.
89523 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89524             Ulrich Drepper  <drepper@gmail.com>
89526         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89527         the global list here.  Move code to...
89528         (_dl_add_to_namespace_list): ...here.  New function.
89529         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89530         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89531         * elf/dl-load.c (lose): Don't remove the element from the list.
89532         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89533         (_dl_map_object): Likewise.
89535 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89537         [BZ #12159]
89538         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89539         into all bytes of SSE register.
89540         Patch by Richard Li <richardpku@gmail.com>.
89542 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89544         [BZ #12140]
89545         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89546         perturbing.
89548 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89550         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89551         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89552         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89553         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89555         submachine.
89556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89558 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89560         * include/dlfcn.h (__RTLD_SECURE): Define.
89561         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89562         mode & __RTLD_SECURE instead.
89563         (open_path): Rename preloaded parameter to secure.
89564         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89565         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89566         * elf/dl-deps.c (openaux): Likewise.
89567         * elf/rtld.c (struct map_args): Remove is_preloaded.
89568         (map_doit): Don't use it.
89569         (dl_main): Likewise.
89570         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89571         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89573 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89575         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89576         (sysd-rules-targets): Remove duplicates.
89577         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89578         rtld-%.$o dependency.
89580 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89582         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89583         _dl_map_object do it.
89585 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89587         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89588         fast fma builtins, define the macros in the C99 standard.
89589         (FP_FAST_FMAF): Likewise.
89590         (FP_FAST_FMAL): Likewise.
89591         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89593         * bits/mathdef.h: Update copyright year.
89594         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89596 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89598         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89599         builtins, define the macros in the C99 standard.
89600         (FP_FAST_FMAF): Likewise.
89601         (FP_FAST_FMAL): Likewise.
89602         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89603         multiply/add.
89604         (FP_FAST_FMAF): Likewise.
89606 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89608         [BZ #3268]
89609         * math/libm-test.inc (fma_test): Some new testcases.
89610         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89611         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89612         y and infinite z.  Do multiplication by C already in long double.
89613         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89614         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89615         y and infinite z.  Do bitwise or of inexact bit into u.d.
89616         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89617         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89618         * sysdeps/i386/fpu/s_fma.S: Removed.
89619         * sysdeps/i386/fpu/s_fmal.S: Removed.
89621 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89623         [BZ #3268]
89624         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89625         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89626         computation is not scheduled after fetestexcept.  Fix value
89627         of minimum denormal long double.
89629 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89631         [BZ #3268]
89632         * math/libm-test.inc (fma_test): Add some more tests.
89633         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89634         correctly.
89636 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89638         * scripts/data/localplt-s390-linux-gnu.data: New file.
89639         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89641 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89643         [BZ #3268]
89644         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89645         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89646         instead of dbl-64.
89647         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89648         inlines.
89649         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89650         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89651         if one of x and y is very large and the other is subnormal.
89652         * sysdeps/s390/fpu/s_fmaf.c: New file.
89653         * sysdeps/s390/fpu/s_fma.c: New file.
89654         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89655         * sysdeps/powerpc/fpu/s_fma.S: New file.
89656         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89657         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89658         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89660 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89662         [BZ #3268]
89663         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89664         fma tests.
89665         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89666         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89667         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89668         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89669         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89670         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89671         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89673 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89675         [BZ #12078]
89676         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89677         * posix/bug-regex31.input: Add test case.
89679 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89681         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89682         * posix/bug-regex31.input: New file.
89684         [BZ #12078]
89685         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89686         (parse_sub_exp): Fix last change, use postorder.
89688         * posix/bug-regex31.c: New file.
89689         * posix/Makefile: Add rules to build and run bug-regex31.
89691         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89693         [BZ #12078]
89694         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89696         [BZ #12108]
89697         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89698         to have entries in sys_siglist.
89700         [BZ #12093]
89701         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89702         be NULL.
89704 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89706         [BZ #3268]
89707         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89708         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89709         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89710         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89711         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89712         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89713         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89714         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89715         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89716         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89717         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89718         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89719         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89720         * math/ftestexcept.c (fetestexcept): Likewise.
89721         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89722         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89723         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89724         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89725         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89726         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89727         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89729 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89731         [BZ #12107]
89732         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89733         newline.
89735 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89737         * string/bug-strstr1.c: New file.
89738         * string/Makefile: Add rules to build and run bug-strstr1.
89740 2010-10-05  Eric Blake  <eblake@redhat.com>
89742         [BZ #12092]
89743         * string/str-two-way.h (two_way_long_needle): Always clear memory
89744         when skipping input due to the shift table.
89746 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89748         [BZ #12005]
89749         * malloc/mcheck.c: Handle large requests.
89751         [BZ #12077]
89752         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89753         for strncmp and strncasecmp.
89754         * string/stratcliff.c: Add tests for strcmp and strncmp.
89755         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89757 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89759         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89760         __set_fpscr.
89762 2010-09-30  Andreas Jaeger  <aj@suse.de>
89764         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89765         (CGROUP_SUPER_MAGIC): Define.
89766         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89767         Handle btrfs and cgroup file systems.
89768         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89769         Likewise.
89771 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89773         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89774         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89776 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89778         [BZ #12067]
89779         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89780         trying to locate the ELF header.
89782 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89784         [BZ #11611]
89785         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89786         Mask out sign-bit copies when constructing f_fsid.
89788 2010-09-24  Petr Baudis <pasky@suse.cz>
89790         * debug/stack_chk_fail_local.c: Add missing licence exception.
89791         * debug/warning-nop.c: Likewise.
89793 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89795         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89796         implementing getdents64 using getdents syscall, set d_type if
89797         __ASSUME_GETDENTS32_D_TYPE.
89799 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89801         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89802         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89804 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89806         [BZ #12037]
89807         * posix/unistd.h: Undo change of feature selection for ftruncate from
89808         2010-01-11.
89810 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89812         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89813         detection.
89815 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89817         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89818         fanotify_mark.
89819         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89821 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89823         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89824         variables after CHECK_SP call.
89825         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89827 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89828             Ulrich Drepper  <drepper@redhat.com>
89830         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89831         re-relocationg ld.so.
89832         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89833         _dl_init_paths call.
89834         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89835         here anymore.
89837 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89839         * resolv/res_init.c (__res_vinit): Count the default server we added.
89841 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89842             Ulrich Drepper  <drepper@redhat.com>
89844         [BZ #11968]
89845         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89846         (____longjmp_chk): Use %ebx for saving value across system call.
89847         Add unwind info.
89849 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89851         * manual/Makefile: Don't mix pattern rules with normal rules.
89853 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89855         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89856         operation.
89857         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89858         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89859         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89860         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89862         Likewise.
89864 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89866         [BZ #11979]
89867         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89868         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89870 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89872         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89873         * sysdeps/x86_64/addmul_1.S: Likewise.
89874         * sysdeps/x86_64/lshift.S: Likewise.
89875         * sysdeps/x86_64/mul_1.S: Likewise.
89876         * sysdeps/x86_64/rshift.S: Likewise.
89877         * sysdeps/x86_64/sub_n.S: Likewise.
89878         * sysdeps/x86_64/submul_1.S: Likewise.
89880 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89882         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89883         Define __sched_param instead of SCHED_* and sched_param when
89884         <bits/sched.h> is included with __need_schedparam defined.
89885         * bits/sched.h [__need_schedparam]
89886         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89887         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89888         (__defined_schedparam): Define to 1.
89889         (__sched_param): New structure, identical to sched_param.
89890         (__need_schedparam): Undefine.
89892 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89894         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89895         (epoll_create1): Declare.
89897         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89899 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89901         [BZ #7066]
89902         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89903         shifting retval into place.
89905 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89907         * nis/rpcsvc/nis.h: Update copyright notice.
89908         * nis/rpcsvc/nis.x: Likewise.
89909         * nis/rpcsvc/nis_callback.h: Likewise.
89910         * nis/rpcsvc/nis_callback.x: Likewise.
89911         * nis/rpcsvc/nis_object.x: Likewise.
89912         * nis/rpcsvc/nis_tags.h: Likewise.
89913         * nis/rpcsvc/yp.h: Likewise.
89914         * nis/rpcsvc/yp.x: Likewise.
89915         * nis/rpcsvc/ypupd.h: Likewise.
89916         * nis/yp_xdr.c: Likewise.
89917         * nis/ypupdate_xdr.c: Likewise.
89919         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89920         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89921         (pmap_getport): Use __libc_rpc_getport.
89922         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89923         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89924         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89926 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89929         fanotify_mark.
89931 2010-08-27  Roland McGrath  <roland@redhat.com>
89933         * sysdeps/i386/i686/multiarch/Makefile
89934         (CFLAGS-varshift.c): New variable.
89936 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89938         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89939         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89941         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89943         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89945 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89947         * sysdeps/x86_64/strlen.S: Unroll the loop.
89948         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89949         strlen-sse2 strlen-sse2-bsf.
89950         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89951         __strlen_no_bsf if bit_Slow_BSF is set.
89952         (__strlen_sse42): Removed.
89953         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89954         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89956 2010-08-25  Roland McGrath  <roland@redhat.com>
89958         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89959         * sysdeps/x86_64/multiarch/varshift.c: New file.
89960         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89961         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89962         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89963         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89965 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89967         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89968         strlen-sse2 strlen-sse2-bsf.
89969         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89970         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89971         (__strlen_sse2): Removed.
89972         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89973         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89975         bit_Slow_BSF for Atom.
89976         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89977         (index_Slow_BSF): Define.
89978         (HAS_SLOW_BSF): Define.
89980 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89982         [BZ #10851]
89983         * resolv/res_init.c (__res_vinit): When no server address at all
89984         is given default to loopback.
89986 2010-08-24  Roland McGrath  <roland@redhat.com>
89988         * configure.in: Remove config-name.h generation.
89989         * configure: Regenerated.
89990         * config-name.in: File removed.
89991         * scripts/config-uname.sh: New file.
89992         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89993         ($(objdir)config-name.h): New target.
89995         * sunrpc/rpc_parse.h: Avoid nested comment.
89997 2010-08-24  Richard Henderson  <rth@redhat.com>
89998             Ulrich Drepper  <drepper@redhat.com>
89999             H.J. Lu  <hongjiu.lu@intel.com>
90001         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
90002         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
90003         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
90004         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
90005         _mm_alignr_epi8 with _mm_loadu_si128.
90006         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
90007         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
90008         (__m128i_shift_right): Removed.
90009         * sysdeps/i386/i686/multiarch/varshift.h: New file.
90010         * sysdeps/i386/i686/multiarch/varshift.S: New file.
90011         * sysdeps/x86_64/multiarch/varshift.h: New file.
90012         * sysdeps/x86_64/multiarch/varshift.S: New file.
90014 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
90016         * configure.in: Move assembler checks to before sysdep dir checking.
90018 2010-08-20  Petr Baudis  <pasky@suse.cz>
90020         * LICENSES: Sync the sunrpc license.
90022 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
90024         * sunrpc/auth_des.c: Update copyright notice once again.
90025         * sunrpc/auth_none.c: Likewise.
90026         * sunrpc/auth_unix.c: Likewise.
90027         * sunrpc/authdes_prot.c: Likewise.
90028         * sunrpc/authuxprot.c: Likewise.
90029         * sunrpc/bindrsvprt.c: Likewise.
90030         * sunrpc/clnt_gen.c: Likewise.
90031         * sunrpc/clnt_perr.c: Likewise.
90032         * sunrpc/clnt_raw.c: Likewise.
90033         * sunrpc/clnt_simp.c: Likewise.
90034         * sunrpc/clnt_tcp.c: Likewise.
90035         * sunrpc/clnt_udp.c: Likewise.
90036         * sunrpc/clnt_unix.c: Likewise.
90037         * sunrpc/des_crypt.c: Likewise.
90038         * sunrpc/des_soft.c: Likewise.
90039         * sunrpc/get_myaddr.c: Likewise.
90040         * sunrpc/getrpcport.c: Likewise.
90041         * sunrpc/key_call.c: Likewise.
90042         * sunrpc/key_prot.c: Likewise.
90043         * sunrpc/openchild.c: Likewise.
90044         * sunrpc/pm_getmaps.c: Likewise.
90045         * sunrpc/pm_getport.c: Likewise.
90046         * sunrpc/pmap_clnt.c: Likewise.
90047         * sunrpc/pmap_prot.c: Likewise.
90048         * sunrpc/pmap_prot2.c: Likewise.
90049         * sunrpc/pmap_rmt.c: Likewise.
90050         * sunrpc/rpc/auth.h: Likewise.
90051         * sunrpc/rpc/auth_unix.h: Likewise.
90052         * sunrpc/rpc/clnt.h: Likewise.
90053         * sunrpc/rpc/des_crypt.h: Likewise.
90054         * sunrpc/rpc/key_prot.h: Likewise.
90055         * sunrpc/rpc/netdb.h: Likewise.
90056         * sunrpc/rpc/pmap_clnt.h: Likewise.
90057         * sunrpc/rpc/pmap_prot.h: Likewise.
90058         * sunrpc/rpc/pmap_rmt.h: Likewise.
90059         * sunrpc/rpc/rpc.h: Likewise.
90060         * sunrpc/rpc/rpc_des.h: Likewise.
90061         * sunrpc/rpc/rpc_msg.h: Likewise.
90062         * sunrpc/rpc/svc.h: Likewise.
90063         * sunrpc/rpc/svc_auth.h: Likewise.
90064         * sunrpc/rpc/types.h: Likewise.
90065         * sunrpc/rpc/xdr.h: Likewise.
90066         * sunrpc/rpc_clntout.c: Likewise.
90067         * sunrpc/rpc_cmsg.c: Likewise.
90068         * sunrpc/rpc_common.c: Likewise.
90069         * sunrpc/rpc_cout.c: Likewise.
90070         * sunrpc/rpc_dtable.c: Likewise.
90071         * sunrpc/rpc_hout.c: Likewise.
90072         * sunrpc/rpc_main.c: Likewise.
90073         * sunrpc/rpc_parse.c: Likewise.
90074         * sunrpc/rpc_parse.h: Likewise.
90075         * sunrpc/rpc_prot.c: Likewise.
90076         * sunrpc/rpc_sample.c: Likewise.
90077         * sunrpc/rpc_scan.c: Likewise.
90078         * sunrpc/rpc_scan.h: Likewise.
90079         * sunrpc/rpc_svcout.c: Likewise.
90080         * sunrpc/rpc_tblout.c: Likewise.
90081         * sunrpc/rpc_util.c: Likewise.
90082         * sunrpc/rpc_util.h: Likewise.
90083         * sunrpc/rpcinfo.c: Likewise.
90084         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
90085         * sunrpc/rpcsvc/key_prot.x: Likewise.
90086         * sunrpc/rpcsvc/klm_prot.x: Likewise.
90087         * sunrpc/rpcsvc/mount.x: Likewise.
90088         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
90089         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
90090         * sunrpc/rpcsvc/rex.x: Likewise.
90091         * sunrpc/rpcsvc/rstat.x: Likewise.
90092         * sunrpc/rpcsvc/rusers.x: Likewise.
90093         * sunrpc/rpcsvc/sm_inter.x: Likewise.
90094         * sunrpc/rpcsvc/spray.x: Likewise.
90095         * sunrpc/rpcsvc/yppasswd.x: Likewise.
90096         * sunrpc/rtime.c: Likewise.
90097         * sunrpc/svc.c: Likewise.
90098         * sunrpc/svc_auth.c: Likewise.
90099         * sunrpc/svc_authux.c: Likewise.
90100         * sunrpc/svc_raw.c: Likewise.
90101         * sunrpc/svc_run.c: Likewise.
90102         * sunrpc/svc_simple.c: Likewise.
90103         * sunrpc/svc_tcp.c: Likewise.
90104         * sunrpc/svc_udp.c: Likewise.
90105         * sunrpc/svc_unix.c: Likewise.
90106         * sunrpc/svcauth_des.c: Likewise.
90107         * sunrpc/xcrypt.c: Likewise.
90108         * sunrpc/xdr.c: Likewise.
90109         * sunrpc/xdr_array.c: Likewise.
90110         * sunrpc/xdr_float.c: Likewise.
90111         * sunrpc/xdr_mem.c: Likewise.
90112         * sunrpc/xdr_rec.c: Likewise.
90113         * sunrpc/xdr_ref.c: Likewise.
90114         * sunrpc/xdr_sizeof.c: Likewise.
90115         * sunrpc/xdr_stdio.c: Likewise.
90117         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
90118         handling.
90120 2010-08-19  Andreas Schwab  <schwab@redhat.com>
90122         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
90124 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
90126         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
90127         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
90128         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
90129         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
90130         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
90131         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
90132         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
90133         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
90134         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
90135         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
90136         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
90137         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
90138         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
90139         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
90141 2010-07-26  Anton Blanchard  <anton@samba.org>
90143         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
90144         * malloc/arena.c (heap_trim): Likewise.
90146 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
90148         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
90149         here.  Not...
90150         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
90151         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
90153 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
90155         * sysdeps/i386/elf/Makefile: New file.
90157 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90159         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
90160         from fanotify_init.
90161         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
90162         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90164 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
90166         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
90167         of strncasecmp_l.
90168         * sysdeps/multiarch/strcmp.S: Likewise.
90170 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
90172         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90173         strncase_l-nonascii.
90174         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90175         Add strncase_l-ssse3.
90176         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
90177         * sysdeps/x86_64/strcmp.S: Likewise.
90178         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
90179         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
90180         * sysdeps/x86_64/strncase.S: New file.
90181         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
90182         * sysdeps/x86_64/strncase_l.S: New file.
90183         * string/Makefile (strop-tests): Add strncasecmp.
90184         * string/test-strncasecmp.c: New file.
90186         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
90187         warning.
90189         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
90190         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
90192 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90194         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
90196 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
90198         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
90199         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
90200         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
90202 2010-05-01  Alan Modra  <amodra@gmail.com>
90204         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
90205         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
90206         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
90207         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
90208         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
90209         tidying.  Don't tail-call __sigjmp_save for static lib.
90210         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
90211         save location.
90212         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
90213         (CALL_MCOUNT): Add eh info, and nop after bl.
90214         (TAIL_CALL_SYSCALL_ERROR): New macro.
90215         (PSEUDO_RET): Use it.
90216         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
90217         Correct save location of integer regs and cr.
90218         (_dl_profile_resolve): Correct cr save location.  Delete nops
90219         after bl when SHARED.  Reduce cfi size a little by better
90220         placement of cfi directives.
90221         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
90222         make a stack frame.  Instead use parm save area as a temp.
90223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
90224         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
90225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
90226         Don't make a stack frame for parent, use parm save area.
90227         Increase child stack frame to 112 bytes.  Don't save unused reg,
90228         and adjust reg usage.  Set up cfi on error recovery and
90229         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
90230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
90231         (__makecontext): Add dummy nop after jump to exit.
90232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
90233         Use correct parm save area and cr save, reduce stack frame.
90234         Correct cfi for possible PSEUDO_RET frame setup.
90235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
90236         Branch to local label emitted by PSEUDO_RET rather than
90237         __syscall_error.
90239 2010-08-12  Andreas Schwab  <schwab@redhat.com>
90241         [BZ #11904]
90242         * locale/programs/locale.c (print_assignment): New function.
90243         (show_locale_vars): Use it.
90245 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
90247         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
90248         field.
90249         (struct statfs64): Likewise.
90250         (_STATFS_F_FLAGS): Define.
90251         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
90252         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90253         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
90254         (ST_VALID): Define locally.
90255         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
90256         __statvfs_getflags, use the provided value.
90257         * sysdeps/unix/sysv/linux/kernel-features.h: Define
90258         __ASSUME_STATFS_F_FLAGS.
90260         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
90262         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
90263         Add sys/fanotify.h.
90264         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
90265         fanotify_mask for GLIBC_2.13.
90266         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
90267         fanotify_init and fanotify_mark.
90268         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90269         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
90271         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
90272         Add prlimit.
90273         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
90274         prlimit64 for GLIBC_2.13.
90275         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
90276         prlimit64.
90277         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
90278         syscall.
90279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
90280         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90281         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
90282         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
90283         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
90284         add prlimit alias.
90285         * sysdeps/unix/sysv/linux/prlimit.c: New file.
90287         [BZ #11903]
90288         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
90289         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
90291         * nss/Makefile: Add rules to build and run tst-nss-test1.
90292         * shlib-versions: Add entry for libnss_test1.
90293         * nss/nss_test1.c: New file.
90294         * nss/tst-nss-test1.c: New file.
90296         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90297         (__nss_configure_lookup): Set appropriate entry in
90298         __nss_configure_lookup to true.
90299         * nss/nsswitch.h: Define enum with indeces of databases in
90300         databases and __nss_database_custom arrays.  Declare
90301         __nss_database_custom.
90302         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90303         to avoid using nscd when custom rules are installed.
90304         * nss/getXXbyYY_r.c: Likewise.
90305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90307         * nss/nss_files/files-parse.c: Whitespace fixes.
90309 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90311         [BZ #11883]
90312         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90313         * posix/fnmatch_loop.c: Likewise.
90315 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90317         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90318         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90319         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90320         * Versions.def [GLIBC_2.13]: Add.
90322 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90324         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90325         Also fail if tpwd after pwuid call is NULL.
90327 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90329         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90330         when converting to ms.
90332 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90334         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90335         EOPNOTSUPP errors with ENOTTY.
90336         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90337         EOPNOTSUPP errors with ENOTTY.
90339 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90341         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90342         Add strcasecmp_l-ssse3.
90343         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90344         strcasecmp.
90345         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90346         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90347         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90349 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90351         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90353         * string/Makefile (strop-tests): Add strcasecmp.
90354         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90355         strcasecmp_l-nonascii.
90356         (gen-as-const-headers): Add locale-defines.sym.
90357         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90358         * sysdeps/x86_64/strcasecmp.S: New file.
90359         * sysdeps/x86_64/strcasecmp_l.S: New file.
90360         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90361         * sysdeps/x86_64/locale-defines.sym: New file.
90362         * string/test-strcasecmp.c: New file.
90364         * string/test-strcasestr.c: Test both ends of the range of characters.
90365         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90367 2010-07-29  Roland McGrath  <roland@redhat.com>
90369         [BZ #11856]
90370         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90372 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90374         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90375         for ld.so.
90377 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90379         * manual/memory.texi (Malloc Tunable Parameters): Document
90380         M_PERTURB.
90382 2010-07-26  Roland McGrath  <roland@redhat.com>
90384         [BZ #11840]
90385         * configure.in (-fgnu89-inline check): Set and substitute
90386         gnu89_inline, not libc_cv_gnu89_inline.
90387         * configure: Regenerated.
90388         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90390 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90392         * string/test-strnlen.c: New file.
90393         * string/Makefile (strop-tests): Add strnlen.
90394         * string/tester.c (test_strnlen): Add a few more test cases.
90395         * string/tst-strlen.c: Better error reporting.
90397         * sysdeps/x86_64/strnlen.S: New file.
90399 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90401         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90402         lower-latency instructions.
90404 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90406         * string/test-strcasestr.c: New file.
90407         * string/test-strstr.c: New file.
90408         * string/Makefile (strop-tests): Add strstr and strcasestr.
90409         * string/str-two-way.h: Don't undefine MAX.
90410         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90412 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90414         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90415         strcasestr-nonascii.
90416         (CFLAGS-strcasestr-nonascii.c): Define.
90417         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90418         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90419         Remove unused attribute.
90421 2010-07-20  Roland McGrath  <roland@redhat.com>
90423         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90424         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90425         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90426         like LD_HWCAP_MASK can disable hwcaps.
90428 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90430         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90432 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90434         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90435         call in strcasestr.
90436         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90437         __strcasestr_sse42_nonascii.
90438         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90439         strcasestr-nonascii.c.
90440         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90442 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90444         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90445         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90446         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90447         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90449 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90451         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90452         fcntl.
90454 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90456         [BZ #11577]
90457         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90458         dl_signal_cerror.
90460 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90462         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90463         _PC_PIPE_BUF using F_GETPIPE_SZ.
90465 2010-07-05  Roland McGrath  <roland@redhat.com>
90467         * manual/arith.texi (Rounding Functions): Fix rint description
90468         implicit in round description.
90470 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90472         * elf/Makefile: Fix linking for a few tests to make recent linker
90473         happy.
90475 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90477         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90478         $(common-objpfx)libc_nonshared.a.
90480 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90482         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90483         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90484         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90485         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90486         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90487         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90488         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90489         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90504         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90505         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90506         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90507         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90508         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90509         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90510         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90511         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90512         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90513         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90514         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90515         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90531 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90533         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90534         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90535         * string/memmove.c (memmove): Renamed to ...
90536         (MEMMOVE): ...this.  Default to memmove.
90537         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90538         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90539         (END_CHK): Define.
90540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90541         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90542         mempcpy-ssse3-back memmove-ssse3-back.
90543         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90544         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90545         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90546         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90547         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90548         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90549         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90550         * sysdeps/x86_64/multiarch/memmove.c: New file.
90551         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90552         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90553         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90554         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90555         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90556         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90557         Define.
90558         (index_Fast_Copy_Backward): Define.
90559         (HAS_ARCH_FEATURE): Define.
90560         (HAS_FAST_REP_STRING): Define.
90561         (HAS_FAST_COPY_BACKWARD): Define.
90563 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90565         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90566         Restore proper fallback handling.
90568 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90570         [BZ #11701]
90571         * posix/group_member.c (__group_member): Correct checking loop.
90573         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90574         OOM in getpwuid_r correctly.  Return error number when the caller
90575         should return, otherwise -1.
90576         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90577         call returning > 0 value.
90578         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90580 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90582         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90583         libc_nonshared.a from targets in modules-names.
90585 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90587         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90588         requires it.
90590 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90592         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90593         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90594         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90595         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90597 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90599         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90601 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90603         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90604         and F_GETPIPE_SZ.
90605         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90606         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90607         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90608         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90609         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90610         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90612 2010-06-14  Roland McGrath  <roland@redhat.com>
90614         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90616 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90618         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90619         __REDIRECT followed by __THROW.
90620         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90621         * posix/getopt.h (getopt): Likewise.
90623 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90625         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90626         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90627         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90628         in AT_FLAGS.
90629         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90630         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90632 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90634         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90636 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90638         [BZ #11640]
90639         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90640         Properly check family and model.
90642 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90644         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90646 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90648         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90650 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90652         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90653         symbol reference.
90655 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90657         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90658         symbol reference.
90660 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90662         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90663         and internal_recvmmsg.
90664         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90665         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90666         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90667         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90669         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90670         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90671         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90673 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90675         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90677 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90679         POWER7 optimizations.
90680         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90681         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90683 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90685         * version.h: Update for 2.13 development version.
90687 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90689         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90690         exceptions.  Return 0.
90692 2010-05-07  Roland McGrath  <roland@redhat.com>
90694         * elf/ldconfig.c (main): Add a const.
90696 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90698         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90699         (args_options): Add no-idn option.
90700         (ahosts_keys_int): Add idn_flags to ai_flags.
90701         (parse_option): Handle 'i' option to clear idn_flags.
90703         * malloc/malloc.c (_int_free): Possible race in the most recently
90704         added check.  Only act on the data if no current modification
90705         happened.
90707 See ChangeLog.17 for earlier changes.